@univerjs-pro/collaboration-client 0.5.0-alpha.0 → 0.5.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/config/config.d.ts +49 -0
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +23 -0
- package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +1 -0
- package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +1 -0
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +22 -0
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +38 -0
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +24 -0
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +3 -0
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +39 -0
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +21 -0
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +18 -0
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +4 -0
- package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
- package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +58 -0
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +91 -0
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +303 -0
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +24 -0
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +18 -0
- package/lib/types/controllers/collaboration/utils/empty.d.ts +2 -0
- package/lib/types/controllers/config.schema.d.ts +33 -0
- package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +1 -0
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +22 -0
- package/lib/types/controllers/file-name/file-name.controller.d.ts +12 -0
- package/lib/types/controllers/telemetry.d.ts +11 -0
- package/lib/types/index.d.ts +35 -890
- package/lib/types/locale/en-US.d.ts +3 -0
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +39 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/models/cursor.d.ts +30 -0
- package/lib/types/plugin.d.ts +18 -0
- package/lib/types/services/auth-server/auth-server.service.d.ts +10 -0
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +30 -0
- package/lib/types/services/auth-server/domain-request.service.d.ts +6 -0
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +59 -0
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +75 -0
- package/lib/types/services/color-assign/color-assign.service.d.ts +10 -0
- package/lib/types/services/comment/comment.service.d.ts +6 -0
- package/lib/types/services/image-remote/image-io.service.d.ts +34 -0
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +13 -0
- package/lib/types/services/local-cache/local-cache.service.d.ts +37 -0
- package/lib/types/services/member/member.service.d.ts +77 -0
- package/lib/types/services/permission/permission.service.d.ts +12 -0
- package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +13 -0
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +39 -0
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +21 -0
- package/lib/types/services/socket/collaboration-socket.service.d.ts +34 -0
- package/lib/types/services/socket/serialize.d.ts +3 -0
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +13 -0
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +8 -0
- package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +19 -0
- package/lib/types/services/url/url.service.d.ts +12 -0
- package/lib/types/services/url/web-url.service.d.ts +10 -0
- package/lib/types/views/components/CollabStatus.d.ts +10 -0
- package/lib/types/views/components/CollabStatus.stories.d.ts +8 -0
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +27 -0
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +27 -0
- package/lib/types/views/shapes/text-bubble.shape.d.ts +19 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +23 -24
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x5201(_0x5e7c1f,_0x268db3){const _0x4f955f=_0x4f95();return _0x5201=function(_0x5201b7,_0x31e041){_0x5201b7=_0x5201b7-0x13d;let _0x23ea87=_0x4f955f[_0x5201b7];return _0x23ea87;},_0x5201(_0x5e7c1f,_0x268db3);}(function(_0x44e55b,_0x275671){const _0x34c76d=_0x5201,_0x4b1e02=_0x44e55b();while(!![]){try{const _0x5abe83=parseInt(_0x34c76d(0x5fd))/0x1*(-parseInt(_0x34c76d(0x518))/0x2)+-parseInt(_0x34c76d(0x2cf))/0x3*(-parseInt(_0x34c76d(0x2bd))/0x4)+-parseInt(_0x34c76d(0x3ae))/0x5+-parseInt(_0x34c76d(0x5ce))/0x6*(parseInt(_0x34c76d(0x193))/0x7)+parseInt(_0x34c76d(0x487))/0x8*(-parseInt(_0x34c76d(0x56e))/0x9)+-parseInt(_0x34c76d(0x2a0))/0xa+parseInt(_0x34c76d(0x591))/0xb;if(_0x5abe83===_0x275671)break;else _0x4b1e02['push'](_0x4b1e02['shift']());}catch(_0x37f3a8){_0x4b1e02['push'](_0x4b1e02['shift']());}}}(_0x4f95,0x76944),function(_0x2907bf,_0x163025){const _0x31b328=_0x5201;typeof exports==_0x31b328(0x355)&&typeof module<'u'?_0x163025(exports,require('@univerjs/core'),require('rxjs'),require(_0x31b328(0x523)),require(_0x31b328(0x33d)),require(_0x31b328(0x2eb)),require('@univerjs/network'),require(_0x31b328(0x413)),require('@univerjs/telemetry'),require(_0x31b328(0x222)),require(_0x31b328(0x470)),require(_0x31b328(0x3b0)),require(_0x31b328(0x2ea)),require(_0x31b328(0x328)),require('@univerjs/engine-formula'),require(_0x31b328(0x2bb)),require(_0x31b328(0x169)),require(_0x31b328(0x32c))):typeof define==_0x31b328(0x172)&&define[_0x31b328(0x5e9)]?define([_0x31b328(0x29b),_0x31b328(0x248),'rxjs',_0x31b328(0x523),_0x31b328(0x33d),_0x31b328(0x2eb),_0x31b328(0x27d),'@univerjs-pro/collaboration','@univerjs/telemetry',_0x31b328(0x222),'@univerjs/sheets',_0x31b328(0x3b0),'@univerjs/docs',_0x31b328(0x328),'@univerjs/engine-formula',_0x31b328(0x2bb),_0x31b328(0x169),'@univerjs/rpc'],_0x163025):(_0x2907bf=typeof globalThis<'u'?globalThis:_0x2907bf||self,_0x163025(_0x2907bf[_0x31b328(0x4a9)]={},_0x2907bf['UniverCore'],_0x2907bf[_0x31b328(0x187)],_0x2907bf[_0x31b328(0x187)][_0x31b328(0x539)],_0x2907bf[_0x31b328(0x466)],_0x2907bf[_0x31b328(0x4d9)],_0x2907bf[_0x31b328(0x1b3)],_0x2907bf[_0x31b328(0x2a5)],_0x2907bf[_0x31b328(0x1d9)],_0x2907bf['UniverDocsUi'],_0x2907bf[_0x31b328(0x4ea)],_0x2907bf[_0x31b328(0x1af)],_0x2907bf['UniverDocs'],_0x2907bf['UniverDrawing'],_0x2907bf[_0x31b328(0x457)],_0x2907bf[_0x31b328(0x429)],_0x2907bf[_0x31b328(0x4fa)],_0x2907bf[_0x31b328(0x491)]));}(this,function(_0x24454f,_0x223914,_0x3fbd04,_0x4da2a9,_0x3fa11f,_0x405b11,_0x1ddba4,_0x9ea725,_0x1bec3e,_0x13e81e,_0x59e5a9,_0xdd060a,_0x4a2356,_0x5008e0,_0x2199c2,_0x133108,_0x220425,_0x193116){'use strict';const _0x3948cf=_0x5201;var _0x5c8b4b=Object['defineProperty'],_0x54276b=(_0x129fc8,_0x41cd30,_0x4c2844)=>_0x41cd30 in _0x129fc8?_0x5c8b4b(_0x129fc8,_0x41cd30,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c2844}):_0x129fc8[_0x41cd30]=_0x4c2844,_0xeb55cc=(_0x4eee83,_0x2cc8f8,_0x1db2e4)=>_0x54276b(_0x4eee83,typeof _0x2cc8f8!=_0x3948cf(0x606)?_0x2cc8f8+'':_0x2cc8f8,_0x1db2e4);const _0x454abe=_0x3948cf(0x198),_0x3dc583=_0x3948cf(0x502),_0x102c98=_0x3948cf(0x46d),_0x224844=_0x3948cf(0x5ad),_0x2c6078=_0x3948cf(0x218),_0x13b7a4='ws://127.0.0.1:8000/universer-api/comb/connect',_0x224248='HEARTBEAT_INTERVAL',_0x44eea9='HEARTBEAT_TIMEOUT',_0x5b3dc5=_0x3948cf(0x5da),_0x5e1c84=_0x3948cf(0x45e),_0x38f10d=_0x3948cf(0x33b),_0x1959f8=_0x3948cf(0x1ae),_0x5d6ffa=_0x3948cf(0x325),_0x446363='/universer-api/oidc/authpage';var _0x1a04e9=(_0x226860=>(_0x226860[_0x226860[_0x3948cf(0x19c)]=0x0]=_0x3948cf(0x19c),_0x226860[_0x226860['OK']=0x1]='OK',_0x226860[_0x226860['INTERNAL_ERROR']=0x2]=_0x3948cf(0x14f),_0x226860[_0x226860[_0x3948cf(0x29e)]=0x3]=_0x3948cf(0x29e),_0x226860[_0x226860[_0x3948cf(0x446)]=0x4]=_0x3948cf(0x446),_0x226860[_0x226860[_0x3948cf(0x5f7)]=0x5]='UNAUTHENTICATED',_0x226860[_0x226860[_0x3948cf(0x482)]=0x6]=_0x3948cf(0x482),_0x226860[_0x226860[_0x3948cf(0x419)]=0x7]=_0x3948cf(0x419),_0x226860[_0x226860[_0x3948cf(0x4de)]=0x8]='TOO_MANY_REQUESTS',_0x226860[_0x226860[_0x3948cf(0x13d)]=0x9]=_0x3948cf(0x13d),_0x226860[_0x226860['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x226860[_0x226860[_0x3948cf(0x5a7)]=0x1771]=_0x3948cf(0x5a7),_0x226860[_0x226860[_0x3948cf(0x1e4)]=0x1772]=_0x3948cf(0x1e4),_0x226860[_0x226860['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3948cf(0x568),_0x226860[_0x226860[_0x3948cf(0x1e5)]=0x1b59]=_0x3948cf(0x1e5),_0x226860[_0x226860[_0x3948cf(0x39a)]=0x1b5a]=_0x3948cf(0x39a),_0x226860[_0x226860['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3948cf(0x19d),_0x226860[_0x226860[_0x3948cf(0x5ec)]=0x1b5c]=_0x3948cf(0x5ec),_0x226860[_0x226860[_0x3948cf(0x454)]=0x1b5d]='APPLY_DUPLICATED',_0x226860[_0x226860[_0x3948cf(0x37a)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x226860[_0x226860[_0x3948cf(0x455)]=0x2329]=_0x3948cf(0x455),_0x226860[_0x226860['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x226860[_0x226860[_0x3948cf(0x533)]=0x232b]=_0x3948cf(0x533),_0x226860[_0x226860[_0x3948cf(0x15d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x226860[_0x226860[_0x3948cf(0x437)]=0x232d]=_0x3948cf(0x437),_0x226860[_0x226860[_0x3948cf(0x5db)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x226860[_0x226860[_0x3948cf(0x59a)]=0x2712]=_0x3948cf(0x59a),_0x226860[_0x226860[_0x3948cf(0x51a)]=0x2713]=_0x3948cf(0x51a),_0x226860[_0x226860[_0x3948cf(0x1fe)]=0x2714]=_0x3948cf(0x1fe),_0x226860[_0x226860[_0x3948cf(0x4c8)]=-0x1]='UNRECOGNIZED',_0x226860))(_0x1a04e9||{}),_0x50449d=(_0x28e85b=>(_0x28e85b[_0x28e85b[_0x3948cf(0x598)]=0x0]=_0x3948cf(0x598),_0x28e85b[_0x28e85b[_0x3948cf(0x30c)]=0x1]=_0x3948cf(0x30c),_0x28e85b[_0x28e85b[_0x3948cf(0x18d)]=0x2]='UNIVER_SHEET',_0x28e85b[_0x28e85b[_0x3948cf(0x548)]=0x3]=_0x3948cf(0x548),_0x28e85b[_0x28e85b[_0x3948cf(0x1a6)]=0x4]=_0x3948cf(0x1a6),_0x28e85b[_0x28e85b['UNRECOGNIZED']=-0x1]=_0x3948cf(0x4c8),_0x28e85b))(_0x50449d||{}),_0x5a968c=(_0x262881=>(_0x262881[_0x262881[_0x3948cf(0x535)]=0x0]=_0x3948cf(0x535),_0x262881[_0x262881[_0x3948cf(0x1ad)]=0x1]=_0x3948cf(0x1ad),_0x262881[_0x262881['JOIN']=0x2]='JOIN',_0x262881[_0x262881[_0x3948cf(0x3bc)]=0x3]=_0x3948cf(0x3bc),_0x262881[_0x262881['INGEST']=0x4]='INGEST',_0x262881[_0x262881['HEARTBEAT']=0x5]=_0x3948cf(0x32e),_0x262881[_0x262881[_0x3948cf(0x484)]=0x6]=_0x3948cf(0x484),_0x262881[_0x262881[_0x3948cf(0x4c8)]=-0x1]='UNRECOGNIZED',_0x262881))(_0x5a968c||{}),_0x38e304=(_0x8240dc=>(_0x8240dc[_0x8240dc[_0x3948cf(0x422)]=0x0]=_0x3948cf(0x422),_0x8240dc[_0x8240dc['OK']=0x1]='OK',_0x8240dc[_0x8240dc[_0x3948cf(0x414)]=0x2]=_0x3948cf(0x414),_0x8240dc[_0x8240dc[_0x3948cf(0x4c8)]=-0x1]=_0x3948cf(0x4c8),_0x8240dc))(_0x38e304||{}),_0x7e832b=(_0x1d92a1=>(_0x1d92a1[_0x1d92a1[_0x3948cf(0x582)]=0x0]=_0x3948cf(0x582),_0x1d92a1[_0x1d92a1['HttpImport']=0x1]=_0x3948cf(0x34f),_0x1d92a1[_0x1d92a1['HttpExport']=0x2]=_0x3948cf(0x24b),_0x1d92a1[_0x1d92a1[_0x3948cf(0x209)]=0x3]=_0x3948cf(0x209),_0x1d92a1[_0x1d92a1['UnitSnapshot']=0x4]=_0x3948cf(0x3af),_0x1d92a1[_0x1d92a1[_0x3948cf(0x4c8)]=-0x1]=_0x3948cf(0x4c8),_0x1d92a1))(_0x7e832b||{});const _0x59012f=_0x3948cf(0x247),_0x2741d3={};function _0x592c55(_0x5d9812){const _0x58f19d=_0x3948cf;var _0x412046,_0xab10d9,_0x1eb070,_0x8ba5b,_0x4f5951;const _0x288d39=_0x5d9812[_0x58f19d(0x390)],_0x278ceb=JSON['parse'](_0x288d39);switch(_0x278ceb[_0x58f19d(0x27e)]){case _0x5a968c[_0x58f19d(0x32e)]:case _0x5a968c[_0x58f19d(0x1ad)]:{const _0x18ac93=_0x278ceb[_0x58f19d(0x5c4)];return{..._0x278ceb,'data':_0x18ac93,'cmd':_0x278ceb[_0x58f19d(0x27e)]};}case _0x5a968c[_0x58f19d(0x28b)]:{const _0x15ebb2=_0x278ceb[_0x58f19d(0x299)];return{..._0x278ceb,'data':_0x15ebb2,'cmd':_0x278ceb['cmd']};}case _0x5a968c[_0x58f19d(0x484)]:{const _0x43d16a=_0x278ceb[_0x58f19d(0x504)];switch(_0x43d16a[_0x58f19d(0x5ea)]){case _0x9ea725['CollaborationEvent']['PERMISSION_REJ']:return{..._0x278ceb,'data':{..._0x43d16a,'data':(_0x412046=_0x43d16a['permissionRejEvent'])==null?void 0x0:_0x412046['cs']},'cmd':_0x278ceb[_0x58f19d(0x27e)]};case _0x9ea725['CollaborationEvent'][_0x58f19d(0x31c)]:return{..._0x278ceb,'data':{..._0x43d16a,'data':(_0xab10d9=_0x43d16a[_0x58f19d(0x34d)])==null?void 0x0:_0xab10d9['cs']},'cmd':_0x278ceb[_0x58f19d(0x27e)]};case _0x9ea725[_0x58f19d(0x140)][_0x58f19d(0x234)]:return{..._0x278ceb,'data':{..._0x43d16a,'data':(_0x1eb070=_0x43d16a[_0x58f19d(0x19e)])==null?void 0x0:_0x1eb070['cs']},'cmd':_0x278ceb[_0x58f19d(0x27e)]};case _0x9ea725[_0x58f19d(0x140)][_0x58f19d(0x2db)]:return{..._0x278ceb,'data':{..._0x43d16a,'data':(_0x8ba5b=_0x43d16a[_0x58f19d(0x5d2)])==null?void 0x0:_0x8ba5b['cs']},'cmd':_0x278ceb[_0x58f19d(0x27e)]};case _0x9ea725['CollaborationEvent'][_0x58f19d(0x5e5)]:return{..._0x278ceb,'data':{..._0x43d16a,'data':(_0x4f5951=_0x43d16a[_0x58f19d(0x5c7)])==null?void 0x0:_0x4f5951['cs']},'cmd':_0x278ceb['cmd']};case _0x9ea725[_0x58f19d(0x140)][_0x58f19d(0x48e)]:return{..._0x278ceb,'data':{..._0x43d16a,'data':_0x43d16a[_0x58f19d(0x3d9)]},'cmd':_0x278ceb[_0x58f19d(0x27e)]};case _0x9ea725[_0x58f19d(0x140)][_0x58f19d(0x329)]:return{..._0x278ceb,'data':{..._0x43d16a,'data':_0x43d16a[_0x58f19d(0x1bc)]},'cmd':_0x278ceb[_0x58f19d(0x27e)]};case _0x9ea725[_0x58f19d(0x140)][_0x58f19d(0x5a3)]:return{..._0x278ceb,'data':{..._0x43d16a,'data':_0x43d16a['leaveEvent']},'cmd':_0x278ceb['cmd']};case _0x9ea725['CollaborationEvent'][_0x58f19d(0x1ea)]:return{..._0x278ceb,'data':{..._0x43d16a,'data':_0x43d16a[_0x58f19d(0x5f1)]},'cmd':_0x278ceb[_0x58f19d(0x27e)]};case _0x9ea725['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case _0x9ea725[_0x58f19d(0x140)][_0x58f19d(0x369)]:return{..._0x278ceb,'data':{..._0x43d16a,'data':_0x43d16a[_0x58f19d(0x17b)]},'cmd':_0x278ceb['cmd']};case _0x9ea725[_0x58f19d(0x140)][_0x58f19d(0x3ab)]:return{..._0x278ceb,'data':{..._0x43d16a,'data':_0x43d16a['liveShareNewHost']},'cmd':_0x278ceb['cmd']};case _0x9ea725['CollaborationEvent'][_0x58f19d(0x3b2)]:return{..._0x278ceb,'data':_0x43d16a,'cmd':_0x278ceb[_0x58f19d(0x27e)]};case _0x9ea725[_0x58f19d(0x140)]['COMMENT_UPDATE']:return{..._0x278ceb,'data':{..._0x43d16a,'data':_0x43d16a[_0x58f19d(0x298)]},'cmd':_0x278ceb[_0x58f19d(0x27e)]};case _0x9ea725[_0x58f19d(0x140)]['UPDATE_PERMISSION_OBJ']:return{..._0x278ceb,'data':{..._0x43d16a,'data':_0x43d16a[_0x58f19d(0x501)]},'cmd':_0x278ceb[_0x58f19d(0x27e)]};case _0x9ea725[_0x58f19d(0x140)][_0x58f19d(0x59c)]:return{..._0x278ceb,'data':{..._0x43d16a,'data':_0x43d16a[_0x58f19d(0x2bf)]},'cmd':_0x278ceb[_0x58f19d(0x27e)]};default:return _0x278ceb;}}default:return _0x278ceb;}}function _0x2a8bc0(_0x5ccd34){const _0x1a7bd9=_0x3948cf;switch(_0x5ccd34['cmd']){case _0x5a968c[_0x1a7bd9(0x32e)]:case _0x5a968c[_0x1a7bd9(0x1ad)]:return JSON[_0x1a7bd9(0x2ec)]({'cmd':_0x5ccd34[_0x1a7bd9(0x27e)],'routeKey':_0x5ccd34[_0x1a7bd9(0x459)]});case _0x5a968c['INGEST']:{let _0x506de5;switch(_0x5ccd34[_0x1a7bd9(0x390)][_0x1a7bd9(0x5ea)]){case _0x9ea725[_0x1a7bd9(0x140)][_0x1a7bd9(0x48e)]:{_0x506de5={'eventID':_0x9ea725[_0x1a7bd9(0x140)][_0x1a7bd9(0x48e)],'updateCursorEvent':_0x5ccd34[_0x1a7bd9(0x390)][_0x1a7bd9(0x390)]};break;}case _0x9ea725[_0x1a7bd9(0x140)]['USERS_LEAVE']:{_0x506de5={'eventID':_0x9ea725[_0x1a7bd9(0x140)][_0x1a7bd9(0x5a3)],'leaveEvent':_0x5ccd34[_0x1a7bd9(0x390)]['data']};break;}case _0x9ea725[_0x1a7bd9(0x140)][_0x1a7bd9(0x329)]:{_0x506de5={'eventID':_0x9ea725['CollaborationEvent'][_0x1a7bd9(0x329)],'joinEvent':_0x5ccd34[_0x1a7bd9(0x390)]['data']};break;}case _0x9ea725[_0x1a7bd9(0x140)][_0x1a7bd9(0x1ea)]:{_0x506de5={'eventID':_0x9ea725[_0x1a7bd9(0x140)][_0x1a7bd9(0x1ea)],'liveShareNewHost':_0x5ccd34['data'][_0x1a7bd9(0x390)]};break;}case _0x9ea725[_0x1a7bd9(0x140)][_0x1a7bd9(0x369)]:{_0x506de5={'eventID':_0x9ea725['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x5ccd34[_0x1a7bd9(0x390)]['data']};break;}case _0x9ea725[_0x1a7bd9(0x140)][_0x1a7bd9(0x3ab)]:{_0x506de5={'eventID':_0x9ea725[_0x1a7bd9(0x140)][_0x1a7bd9(0x3ab)],'liveShareTerminate':_0x5ccd34[_0x1a7bd9(0x390)][_0x1a7bd9(0x390)]};break;}case _0x9ea725['CollaborationEvent'][_0x1a7bd9(0x1a7)]:{_0x506de5={'eventID':_0x9ea725[_0x1a7bd9(0x140)][_0x1a7bd9(0x1a7)],'liveShareRequestHost':_0x5ccd34[_0x1a7bd9(0x390)][_0x1a7bd9(0x390)]};break;}case _0x9ea725['CollaborationEvent'][_0x1a7bd9(0x2de)]:{_0x506de5={'eventID':_0x9ea725[_0x1a7bd9(0x140)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x506de5={'eventID':_0x5ccd34[_0x1a7bd9(0x390)]['eventID']};}return JSON[_0x1a7bd9(0x2ec)]({'cmd':_0x5ccd34[_0x1a7bd9(0x27e)],'routeKey':_0x5ccd34['routeKey'],'collaMsg':_0x506de5});}case _0x5a968c[_0x1a7bd9(0x28b)]:return JSON[_0x1a7bd9(0x2ec)]({'cmd':_0x5ccd34[_0x1a7bd9(0x27e)],'routeKey':_0x5ccd34[_0x1a7bd9(0x459)],'joinReq':_0x5ccd34[_0x1a7bd9(0x390)]});case _0x5a968c[_0x1a7bd9(0x3bc)]:return JSON[_0x1a7bd9(0x2ec)]({'cmd':_0x5ccd34[_0x1a7bd9(0x27e)],'routeKey':_0x5ccd34[_0x1a7bd9(0x459)],'leaveReq':_0x5ccd34[_0x1a7bd9(0x390)]});default:throw new Error(_0x1a7bd9(0x511));}}var _0x3d95e=Object[_0x3948cf(0x149)],_0x4757b3=Object[_0x3948cf(0x16b)],_0x108969=(_0x714797,_0x54edc0,_0x4bfec9,_0x4326af)=>{const _0x481c89=_0x3948cf;for(var _0xa0b6a1=_0x4326af>0x1?void 0x0:_0x4326af?_0x4757b3(_0x54edc0,_0x4bfec9):_0x54edc0,_0x3d5a19=_0x714797[_0x481c89(0x24c)]-0x1,_0x18ffb2;_0x3d5a19>=0x0;_0x3d5a19--)(_0x18ffb2=_0x714797[_0x3d5a19])&&(_0xa0b6a1=(_0x4326af?_0x18ffb2(_0x54edc0,_0x4bfec9,_0xa0b6a1):_0x18ffb2(_0xa0b6a1))||_0xa0b6a1);return _0x4326af&&_0xa0b6a1&&_0x3d95e(_0x54edc0,_0x4bfec9,_0xa0b6a1),_0xa0b6a1;},_0x1996f9=(_0x1b83b0,_0xdaa999)=>(_0x306c09,_0x51d453)=>_0xdaa999(_0x306c09,_0x51d453,_0x1b83b0);const _0x1a1032=_0x223914['createIdentifier'](_0x3948cf(0x2d0));function _0x4ea8a7(_0x32ede6,_0x5b0aa7,_0x2fa890){const _0x482656=_0x3948cf;return _0x32ede6+'/'+_0x5b0aa7+'/unit/'+_0x2fa890+_0x482656(0x1d8);}_0x24454f[_0x3948cf(0x5d7)]=class extends _0x223914[_0x3948cf(0x2aa)]{constructor(_0x5597c5,_0x6e6af1,_0x5bc6df,_0x5980f9,_0x161f8f){const _0x203f61=_0x3948cf;super(),this[_0x203f61(0x372)]=_0x5597c5,this[_0x203f61(0x423)]=_0x6e6af1,this[_0x203f61(0x164)]=_0x5bc6df,this['_logService']=_0x5980f9,this['_snapshotServerService']=_0x161f8f;}[_0x3948cf(0x145)](_0x3c6d0a){const _0xe3b783=_0x3948cf,_0x41676e=this[_0xe3b783(0x423)]['createSocket'](_0x3c6d0a);if(!_0x41676e)throw new Error(_0xe3b783(0x1f8));const _0x131c3b=new _0x223914['DisposableCollection'](),_0x22d37c=new _0x3fbd04[(_0xe3b783(0x1f4))]();_0x131c3b[_0xe3b783(0x240)](_0x41676e[_0xe3b783(0x4e3)][_0xe3b783(0x577)](_0x1119f8=>_0x22d37c['next'](_0x1119f8))),_0x131c3b[_0xe3b783(0x240)](_0x223914['toDisposable'](()=>_0x22d37c[_0xe3b783(0x14b)]()));const _0x1e3a4a=new _0x3fbd04[(_0xe3b783(0x1f4))]();_0x131c3b['add'](_0x41676e[_0xe3b783(0x602)][_0xe3b783(0x577)](_0x312994=>_0x1e3a4a['next'](_0x312994))),_0x131c3b[_0xe3b783(0x240)](_0x223914[_0xe3b783(0x238)](()=>_0x1e3a4a[_0xe3b783(0x14b)]()));const _0x157ea9=new _0x3fbd04[(_0xe3b783(0x1f4))]();_0x131c3b[_0xe3b783(0x240)](_0x41676e['message$'][_0xe3b783(0x577)](_0xdd778c=>{const _0x5744fc=_0xe3b783,_0x1efcea=_0x592c55(_0xdd778c);_0x157ea9[_0x5744fc(0x490)](_0x1efcea);})),_0x131c3b['add'](_0x223914[_0xe3b783(0x238)](()=>_0x157ea9['complete']()));let _0x51f4f0;const _0x17d2a5=()=>{const _0x142471=_0xe3b783;_0x1e3a4a[_0x142471(0x490)](new Event('connection\x20error')),_0x22d37c[_0x142471(0x490)](new CloseEvent(_0x142471(0x54a))),_0x51f4f0[_0x142471(0x1ef)]();};return _0x51f4f0={'memberID':'','close$':_0x22d37c['asObservable'](),'error$':_0x1e3a4a[_0xe3b783(0x29a)](),'open$':_0x41676e[_0xe3b783(0x30f)],'message$':_0x157ea9[_0xe3b783(0x29a)](),'send':_0x5602f7=>{const _0x5da22b=_0xe3b783;if(_0x5602f7[_0x5da22b(0x27e)]===_0x5a968c[_0x5da22b(0x508)]){if(_0x5602f7[_0x5da22b(0x390)]['eventID']===_0x9ea725[_0x5da22b(0x140)][_0x5da22b(0x506)]){this[_0x5da22b(0x556)](_0x51f4f0,_0x5602f7[_0x5da22b(0x390)])[_0x5da22b(0x400)](_0x2800f5=>{const _0x5f1128=_0x5da22b;this[_0x5f1128(0x3fb)][_0x5f1128(0x41b)](_0x2800f5),_0x17d2a5();});return;}if(_0x5602f7[_0x5da22b(0x390)][_0x5da22b(0x5ea)]===_0x9ea725[_0x5da22b(0x140)][_0x5da22b(0x17e)]){const _0x47fcbb=_0x5602f7[_0x5da22b(0x390)];this['_fetchMissChangesets'](_0x47fcbb)[_0x5da22b(0x1ed)](_0x38425c=>{const _0x6a63ea=_0x5da22b;_0x157ea9['next']({'cmd':_0x5a968c[_0x6a63ea(0x484)],'code':_0x38e304['OK'],'routeKey':_0x47fcbb['data'][_0x6a63ea(0x397)],'routeType':'','data':{'eventID':_0x9ea725[_0x6a63ea(0x140)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x38425c}}});})[_0x5da22b(0x400)](_0x3f027e=>{const _0x43181c=_0x5da22b;this[_0x43181c(0x3fb)]['error'](_0x3f027e),_0x17d2a5();});return;}}_0x41676e[_0x5da22b(0x28f)](_0x2a8bc0(_0x5602f7));},'close':()=>{const _0x2c59ba=_0xe3b783;_0x41676e[_0x2c59ba(0x1ef)](),_0x131c3b[_0x2c59ba(0x287)]();}},_0x51f4f0;}async[_0x3948cf(0x556)](_0x5e1105,_0x13163){const _0x2e127b=_0x3948cf;var _0x572e48,_0x495bc4;const {unitType:_0x358a3a,unitID:_0x15ced2,changeset:_0x58f99f}=_0x13163[_0x2e127b(0x390)],_0x30ef4a={'unitID':_0x15ced2,'memberID':_0x5e1105[_0x2e127b(0x3f3)],'type':_0x358a3a,'changeset':_0x9ea725[_0x2e127b(0x543)](_0x58f99f)},_0x23be62=this[_0x2e127b(0x164)][_0x2e127b(0x52b)](_0x38f10d),_0x75a091=this[_0x2e127b(0x164)][_0x2e127b(0x52b)](_0x59012f),_0x4106ed=_0x4ea8a7((_0x495bc4=(_0x572e48=_0x75a091==null?void 0x0:_0x75a091['collabSubmitChangesetUrl'])!=null?_0x572e48:_0x23be62)!=null?_0x495bc4:_0x1959f8,_0x358a3a,_0x15ced2);try{await this['_http'][_0x2e127b(0x39f)](_0x4106ed,{'body':_0x30ef4a});}catch(_0x5e1a82){throw this[_0x2e127b(0x3fb)][_0x2e127b(0x41b)](_0x2e127b(0x49d),_0x2e127b(0x17f)),_0x5e1a82;}}async[_0x3948cf(0x495)](_0x347d84){const _0x39471a=_0x3948cf,{unitID:_0x5dee8e,from:_0x350509,to:_0x58f4c0,unitType:_0x27948b}=_0x347d84[_0x39471a(0x390)];return(await this[_0x39471a(0x51e)][_0x39471a(0x5bf)]({'metadata':void 0x0},{'unitID':_0x5dee8e,'type':_0x27948b,'from':_0x350509,'to':_0x58f4c0}))['changesets'];}},_0x24454f[_0x3948cf(0x5d7)]=_0x108969([_0x1996f9(0x0,_0x223914[_0x3948cf(0x25f)](_0x1ddba4[_0x3948cf(0x171)])),_0x1996f9(0x1,_0x223914[_0x3948cf(0x25f)](_0x1ddba4[_0x3948cf(0x393)])),_0x1996f9(0x2,_0x223914['IConfigService']),_0x1996f9(0x3,_0x223914[_0x3948cf(0x5b0)]),_0x1996f9(0x4,_0x9ea725[_0x3948cf(0x58f)])],_0x24454f[_0x3948cf(0x5d7)]);const _0x118e81=_0x3948cf(0x47d);function _0x1a08d9(_0x5ea086){const _0x1c69f4=_0x3948cf;return JSON[_0x1c69f4(0x2ec)](_0x5ea086)['length'];}class _0x257017{constructor(){const _0x296d54=_0x3948cf;_0xeb55cc(this,'_commentUpdate$',new _0x3fbd04[(_0x296d54(0x1f4))]()),_0xeb55cc(this,_0x296d54(0x4f6),this[_0x296d54(0x5c9)][_0x296d54(0x29a)]());}[_0x3948cf(0x314)](_0x50b253){const _0x163d78=_0x3948cf;this[_0x163d78(0x5c9)][_0x163d78(0x490)](_0x50b253);}}var _0x2c9b70=Object[_0x3948cf(0x149)],_0x5b4c1b=Object['getOwnPropertyDescriptor'],_0x70672b=(_0x18057a,_0x206a56,_0x4ac5db,_0x3ba212)=>{const _0x49ff2f=_0x3948cf;for(var _0x35dc50=_0x3ba212>0x1?void 0x0:_0x3ba212?_0x5b4c1b(_0x206a56,_0x4ac5db):_0x206a56,_0x2744ca=_0x18057a[_0x49ff2f(0x24c)]-0x1,_0x4e8105;_0x2744ca>=0x0;_0x2744ca--)(_0x4e8105=_0x18057a[_0x2744ca])&&(_0x35dc50=(_0x3ba212?_0x4e8105(_0x206a56,_0x4ac5db,_0x35dc50):_0x4e8105(_0x35dc50))||_0x35dc50);return _0x3ba212&&_0x35dc50&&_0x2c9b70(_0x206a56,_0x4ac5db,_0x35dc50),_0x35dc50;},_0x5cc0d4=(_0xbcf946,_0x1211bf)=>(_0x4a9a9d,_0x55d020)=>_0x1211bf(_0x4a9a9d,_0x55d020,_0xbcf946);_0x24454f['MemberService']=class extends _0x223914[_0x3948cf(0x2aa)]{constructor(_0x34da1a,_0x42705e){const _0x3af82c=_0x3948cf;super(),_0xeb55cc(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x34da1a,this[_0x3af82c(0x224)]=_0x42705e,this[_0x3af82c(0x345)](_0x223914[_0x3af82c(0x238)](_0x3fbd04[_0x3af82c(0x54c)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x223914['UniverInstanceType']['UNIVER_SHEET'])[_0x3af82c(0x3c1)](_0x4da2a9[_0x3af82c(0x26b)](_0x388d4f=>_0x388d4f[_0x3af82c(0x38c)]())),this[_0x3af82c(0x4ba)]['getTypeOfUnitDisposed$'](_0x223914[_0x3af82c(0x53b)]['UNIVER_DOC'])[_0x3af82c(0x3c1)](_0x4da2a9[_0x3af82c(0x26b)](_0x5b2c71=>_0x5b2c71[_0x3af82c(0x38c)]())),this[_0x3af82c(0x4ba)][_0x3af82c(0x5ae)](_0x223914[_0x3af82c(0x53b)][_0x3af82c(0x548)])['pipe'](_0x4da2a9[_0x3af82c(0x26b)](_0x1bbd4e=>_0x1bbd4e[_0x3af82c(0x38c)]())))[_0x3af82c(0x577)](_0x7031cc=>this['_removeRoom'](_0x7031cc)))));}[_0x3948cf(0x3a7)](_0x4c682a){const _0x5ada0b=_0x3948cf;this[_0x5ada0b(0x224)][_0x5ada0b(0x3a7)](_0x4c682a);}['getCurrentUser'](){const _0x510700=_0x3948cf;return this[_0x510700(0x224)][_0x510700(0x1d5)]();}['updateMember'](_0x5eaf30,_0x5d91d3){const _0x2be521=_0x3948cf;let _0x257ada=this[_0x2be521(0x5e4)][_0x2be521(0x55a)](_0x5eaf30);_0x257ada||(_0x257ada=new _0x29cbaf(),this[_0x2be521(0x5e4)][_0x2be521(0x1f2)](_0x5eaf30,_0x257ada)),_0x257ada[_0x2be521(0x497)](_0x5d91d3);}[_0x3948cf(0x2fb)](_0x55e41e,_0x2d94c0){const _0x1b74b8=_0x3948cf,_0x1ccb6e=this[_0x1b74b8(0x5e4)][_0x1b74b8(0x55a)](_0x55e41e);_0x1ccb6e&&_0x1ccb6e[_0x1b74b8(0x2fb)](_0x2d94c0);}[_0x3948cf(0x14a)](_0x9dac21){const _0x16d775=_0x3948cf;return this[_0x16d775(0x5e4)][_0x16d775(0x55a)](_0x9dac21);}[_0x3948cf(0x1d0)](_0x59d893,_0x108c75){const _0x325180=_0x3948cf,_0x4dcd85=this['_roomMembers'][_0x325180(0x55a)](_0x59d893);if(_0x4dcd85)return _0x4dcd85[_0x325180(0x1d0)](_0x108c75);}['_removeRoom'](_0x50ea74){const _0x20ac44=_0x3948cf,_0x5a0727=this[_0x20ac44(0x5e4)][_0x20ac44(0x55a)](_0x50ea74);_0x5a0727&&(_0x5a0727[_0x20ac44(0x287)](),this['_roomMembers'][_0x20ac44(0x45a)](_0x50ea74));}[_0x3948cf(0x287)](){const _0xbbadda=_0x3948cf;this[_0xbbadda(0x5e4)][_0xbbadda(0x24f)](_0x22e66a=>_0x22e66a[_0xbbadda(0x287)]()),this[_0xbbadda(0x5e4)][_0xbbadda(0x2da)]();}},_0x24454f['MemberService']=_0x70672b([_0x5cc0d4(0x0,_0x223914[_0x3948cf(0x2dd)]),_0x5cc0d4(0x1,_0x223914['Inject'](_0x223914[_0x3948cf(0x445)]))],_0x24454f['MemberService']);class _0x29cbaf extends _0x223914[_0x3948cf(0x2aa)]{constructor(){const _0x1a967d=_0x3948cf;super(...arguments),_0xeb55cc(this,_0x1a967d(0x3bb),new Map());}[_0x3948cf(0x287)](){const _0x46f9bc=_0x3948cf;this['_members'][_0x46f9bc(0x2da)]();}[_0x3948cf(0x497)](_0x25632e){const _0x22748f=_0x3948cf;this[_0x22748f(0x3bb)][_0x22748f(0x1f2)](_0x25632e[_0x22748f(0x3f3)],_0x25632e);}[_0x3948cf(0x2fb)](_0xd6b865){const _0x2ab369=_0x3948cf;this[_0x2ab369(0x3bb)][_0x2ab369(0x45a)](_0xd6b865);}[_0x3948cf(0x1d0)](_0x3206cc){const _0x489d55=_0x3948cf;return this['_members'][_0x489d55(0x55a)](_0x3206cc);}[_0x3948cf(0x385)](){const _0x3096f8=_0x3948cf;return Array[_0x3096f8(0x275)](this['_members']['values']());}}var _0x33823e=Object['defineProperty'],_0x6ed4ad=Object[_0x3948cf(0x16b)],_0x237a59=(_0x24409c,_0x114a3f,_0x1c81ed,_0x466a34)=>{const _0x5b6134=_0x3948cf;for(var _0x2c3469=_0x466a34>0x1?void 0x0:_0x466a34?_0x6ed4ad(_0x114a3f,_0x1c81ed):_0x114a3f,_0x31c64c=_0x24409c[_0x5b6134(0x24c)]-0x1,_0xefbb8e;_0x31c64c>=0x0;_0x31c64c--)(_0xefbb8e=_0x24409c[_0x31c64c])&&(_0x2c3469=(_0x466a34?_0xefbb8e(_0x114a3f,_0x1c81ed,_0x2c3469):_0xefbb8e(_0x2c3469))||_0x2c3469);return _0x466a34&&_0x2c3469&&_0x33823e(_0x114a3f,_0x1c81ed,_0x2c3469),_0x2c3469;},_0x5671e0=(_0xa5e4a6,_0x44a0e9)=>(_0x1f241d,_0x3808bf)=>_0x44a0e9(_0x1f241d,_0x3808bf,_0xa5e4a6),_0x1efc5b=(_0x309613=>(_0x309613[_0x309613['IDLE']=0x0]='IDLE',_0x309613[_0x309613[_0x3948cf(0x5cb)]=0x1]=_0x3948cf(0x5cb),_0x309613[_0x309613['OFFLINE']=0x2]=_0x3948cf(0x239),_0x309613[_0x309613[_0x3948cf(0x3c6)]=0x3]=_0x3948cf(0x3c6),_0x309613))(_0x1efc5b||{});_0x24454f[_0x3948cf(0x436)]=class extends _0x223914[_0x3948cf(0x52f)]{constructor(_0x151338,_0x597168,_0x358aeb,_0x229c40,_0x237c99,_0x5b1c4a,_0x258b6f,_0x20a0f3,_0x4c6836,_0x21fafc){const _0x518047=_0x3948cf;super(),_0xeb55cc(this,'_sessionStatus$',new _0x3fbd04[(_0x518047(0x2e0))](0x0)),_0xeb55cc(this,'sessionStatus$',this['_sessionStatus$']['asObservable']()),_0xeb55cc(this,'_event$',new _0x3fbd04[(_0x518047(0x1f4))]()),_0xeb55cc(this,'event$',this['_event$']['asObservable']()),_0xeb55cc(this,_0x518047(0x52c)),_0xeb55cc(this,'_socketMessageSubscription'),_0xeb55cc(this,'_collaborationTimeoutTimer'),_0xeb55cc(this,_0x518047(0x1e7),!0x1),_0xeb55cc(this,_0x518047(0x2ad),null),(this[_0x518047(0x3fd)]=_0x151338,this[_0x518047(0x3fb)]=_0x358aeb,this[_0x518047(0x2c1)]=_0x229c40,this[_0x518047(0x14c)]=_0x237c99,this['_configService']=_0x5b1c4a,this[_0x518047(0x147)]=_0x258b6f,this['_memberService']=_0x20a0f3,this[_0x518047(0x560)]=_0x4c6836,this['_telemetryService']=_0x21fafc,this[_0x518047(0x1e7)]=!!this[_0x518047(0x41a)],_0x597168[_0x518047(0x3c1)](_0x3fbd04[_0x518047(0x233)](this[_0x518047(0x1a1)]))[_0x518047(0x577)](_0x5c54a8=>{const _0x3a8c31=_0x518047;var _0x295265;typeof _0x5c54a8>'u'||(this[_0x3a8c31(0x52c)]=_0x5c54a8,_0x5c54a8?(this[_0x3a8c31(0x17c)](_0x5c54a8),this[_0x3a8c31(0x407)]=_0x5c54a8[_0x3a8c31(0x1e8)]['subscribe'](_0x32f5ce=>{const _0x5452fe=_0x3a8c31;_0x32f5ce[_0x5452fe(0x459)]===this[_0x5452fe(0x3fd)]&&this['_onCombEvent'](_0x32f5ce);})):(this[_0x3a8c31(0x2d5)](),this[_0x3a8c31(0x33c)][_0x3a8c31(0x490)](0x2),(_0x295265=this['_socketMessageSubscription'])==null||_0x295265[_0x3a8c31(0x4b1)](),this['_socketMessageSubscription']=null));}),this[_0x518047(0x345)](this[_0x518047(0x2c1)][_0x518047(0x1d7)](()=>{const _0x3f0e00=_0x518047;var _0x3ac4fa;(_0x3ac4fa=this['_socket'])==null||_0x3ac4fa[_0x3f0e00(0x28f)]({'cmd':_0x5a968c[_0x3f0e00(0x3bc)],'data':{'roomID':this[_0x3f0e00(0x3fd)]}});})));}get[_0x3948cf(0x60f)](){const _0xae812d=_0x3948cf;return this[_0xae812d(0x33c)][_0xae812d(0x4ff)]();}[_0x3948cf(0x1d1)](){const _0x2e10cd=_0x3948cf;var _0x28565f,_0x4fe642;return(_0x4fe642=(_0x28565f=this['_socket'])==null?void 0x0:_0x28565f[_0x2e10cd(0x3f3)])!=null?_0x4fe642:null;}[_0x3948cf(0x287)](){const _0x1d9500=_0x3948cf;super[_0x1d9500(0x287)](),this[_0x1d9500(0x1a1)][_0x1d9500(0x490)](),this[_0x1d9500(0x1a1)][_0x1d9500(0x14b)]();}[_0x3948cf(0x1ef)](){const _0x337bdf=_0x3948cf;var _0x1ca4cc,_0x54ecfa;this[_0x337bdf(0x2d5)](),(_0x1ca4cc=this[_0x337bdf(0x52c)])==null||_0x1ca4cc[_0x337bdf(0x28f)]({'cmd':_0x5a968c[_0x337bdf(0x3bc)],'data':{'roomID':this['_unitID']}}),(_0x54ecfa=this['_socket'])==null||_0x54ecfa[_0x337bdf(0x1ef)](),this[_0x337bdf(0x44b)]['complete'](),this[_0x337bdf(0x33c)][_0x337bdf(0x14b)](),this[_0x337bdf(0x287)]();}[_0x3948cf(0x2cc)](_0x3b32ea){const _0x2eb2c3=_0x3948cf;_0x3b32ea[_0x2eb2c3(0x27e)]===_0x5a968c['JOIN']?this['_onJoinRoomEvent'](_0x3b32ea):_0x3b32ea[_0x2eb2c3(0x27e)]===_0x5a968c[_0x2eb2c3(0x484)]&&this[_0x2eb2c3(0x580)](_0x3b32ea);}['_joinRoom'](_0xfa5410){const _0xbd51a=_0x3948cf;this[_0xbd51a(0x33c)][_0xbd51a(0x490)](0x1),_0xfa5410[_0xbd51a(0x28f)]({'cmd':_0x5a968c[_0xbd51a(0x28b)],'routeKey':this[_0xbd51a(0x3fd)],'routeType':'','data':{'rooms':[{'roomID':this[_0xbd51a(0x3fd)]}]}});}[_0x3948cf(0x2ee)](_0x524e93){const _0xde538c=_0x3948cf;var _0x5a04a8;if(_0x524e93['code']===_0x38e304['FAIL']){this[_0xde538c(0x14c)][_0xde538c(0x46e)]({'type':_0x3fa11f['MessageType'][_0xde538c(0x143)],'content':this[_0xde538c(0x147)]['t'](_0xde538c(0x1a8))}),this[_0xde538c(0x33c)][_0xde538c(0x490)](0x2);return;}this[_0xde538c(0x33c)]['next'](0x3);const _0x47744b=(_0x5a04a8=_0x524e93[_0xde538c(0x390)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x5a04a8[_0xde538c(0x2b0)];_0x47744b&&_0x47744b[_0xde538c(0x24f)](_0x5a992d=>this[_0xde538c(0x438)][_0xde538c(0x497)](this['_unitID'],_0x5a992d));}[_0x3948cf(0x580)](_0x13065e){const _0x4fab37=_0x3948cf;try{const _0x42efcb=_0x13065e[_0x4fab37(0x390)];switch(_0x42efcb[_0x4fab37(0x5ea)]){case _0x9ea725[_0x4fab37(0x140)]['USERS_ENTER']:this['_onUserJoin'](_0x42efcb),this[_0x4fab37(0x44b)]['next'](_0x42efcb);break;case _0x9ea725['CollaborationEvent'][_0x4fab37(0x5a3)]:this[_0x4fab37(0x60b)](_0x42efcb),this[_0x4fab37(0x44b)][_0x4fab37(0x490)](_0x42efcb);break;case _0x9ea725[_0x4fab37(0x140)][_0x4fab37(0x31c)]:case _0x9ea725['CollaborationEvent'][_0x4fab37(0x5e5)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4fab37(0x5e6)](),this[_0x4fab37(0x44b)]['next'](_0x42efcb);break;case _0x9ea725['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x4fab37(0x3fb)][_0x4fab37(0x41b)](_0x4fab37(0x50c)+JSON['stringify'](_0x42efcb)),this['_event$'][_0x4fab37(0x490)](_0x42efcb);break;case _0x9ea725[_0x4fab37(0x140)][_0x4fab37(0x242)]:this['_commentService'][_0x4fab37(0x314)](_0x42efcb[_0x4fab37(0x390)]),this['_event$']['next'](_0x42efcb);break;default:this[_0x4fab37(0x44b)]['next'](_0x42efcb);}}catch(_0x1e6093){this['_logService'][_0x4fab37(0x41b)](_0x1e6093,_0x13065e);}}[_0x3948cf(0x1bf)](_0x46b5b1){const _0x56bb24=_0x3948cf;this[_0x56bb24(0x438)][_0x56bb24(0x497)](this['_unitID'],_0x46b5b1[_0x56bb24(0x390)]);}[_0x3948cf(0x60b)](_0x2a7f44){const _0x3f2914=_0x3948cf;this['_memberService']['removeMember'](this[_0x3f2914(0x3fd)],_0x2a7f44['data'][_0x3f2914(0x3f3)]);}async[_0x3948cf(0x28f)](_0x408a9f,_0x2cdf7a){const _0x4fd923=_0x3948cf;if(this[_0x4fd923(0x60f)]!==0x3||!this[_0x4fd923(0x52c)])throw new Error(_0x4fd923(0x532));try{_0x408a9f[_0x4fd923(0x5ea)]===_0x9ea725['CollaborationEvent'][_0x4fd923(0x506)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4fd923(0x37e)](_0x408a9f)),this['_socket']['send']({'cmd':_0x5a968c[_0x4fd923(0x508)],'routeKey':_0x2cdf7a,'routeType':'','data':_0x408a9f});}catch(_0x28eae4){this['_logService'][_0x4fd923(0x41b)](_0x28eae4);}}[_0x3948cf(0x176)](){const _0x2f4b0a=_0x3948cf;var _0x3878bf;this['_collaborationTimeoutTimer']=window[_0x2f4b0a(0x3da)](()=>{const _0xd7c76d=_0x2f4b0a;this[_0xd7c76d(0x2be)]=null,this[_0xd7c76d(0x14c)]['show']({'type':_0x3fa11f[_0xd7c76d(0x21a)][_0xd7c76d(0x3c3)],'content':this[_0xd7c76d(0x147)]['t']('session.collaboration-timeout')});},(_0x3878bf=this[_0x2f4b0a(0x164)][_0x2f4b0a(0x52b)](_0x44eea9))!=null?_0x3878bf:0x4e20);}[_0x3948cf(0x5e6)](){const _0x29ddb4=_0x3948cf;this[_0x29ddb4(0x2be)]&&(clearTimeout(this[_0x29ddb4(0x2be)]),this['_collaborationTimeoutTimer']=null);}[_0x3948cf(0x37e)](_0xfa12bf){const _0x31b7bb=_0x3948cf;if(!this['_shouldReportTelemetry'])return;const {data:_0x48b046}=_0xfa12bf,{unitID:_0x37fa69,changeset:_0x377cc1}=_0x48b046,{mutations:_0x4d7010,type:_0x4072ed}=_0x377cc1;this['_telemetryInfo']={'unitId':_0x37fa69,'type':_0x4072ed,'startTime':performance[_0x31b7bb(0x189)](),'stopTime':0x0,'duration':0x0,'size':_0x1a08d9(_0x4d7010)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x5ecec5=_0x3948cf;if(this[_0x5ecec5(0x1e7)]){if(!this[_0x5ecec5(0x2ad)]){this[_0x5ecec5(0x3fb)][_0x5ecec5(0x41b)](_0x5ecec5(0x49d),_0x5ecec5(0x479));return;}this['_telemetryInfo'][_0x5ecec5(0x2f3)]=performance[_0x5ecec5(0x189)](),this['_telemetryInfo']['duration']=this[_0x5ecec5(0x2ad)][_0x5ecec5(0x2f3)]-this[_0x5ecec5(0x2ad)][_0x5ecec5(0x31f)],this['_telemetryService'][_0x5ecec5(0x200)](_0x118e81,this[_0x5ecec5(0x2ad)]),this[_0x5ecec5(0x2ad)]=null;}}[_0x3948cf(0x2d5)](){const _0x1b39b1=_0x3948cf;this[_0x1b39b1(0x2ad)]=null;}},_0x24454f[_0x3948cf(0x436)]=_0x237a59([_0x5671e0(0x2,_0x223914['ILogService']),_0x5671e0(0x3,_0x405b11[_0x3948cf(0x3ea)]),_0x5671e0(0x4,_0x405b11[_0x3948cf(0x1cc)]),_0x5671e0(0x5,_0x223914[_0x3948cf(0x1ff)]),_0x5671e0(0x6,_0x223914['Inject'](_0x223914[_0x3948cf(0x570)])),_0x5671e0(0x7,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x48b)])),_0x5671e0(0x8,_0x223914[_0x3948cf(0x25f)](_0x257017)),_0x5671e0(0x9,_0x223914[_0x3948cf(0x2b9)](_0x1bec3e[_0x3948cf(0x420)]))],_0x24454f[_0x3948cf(0x436)]);var _0x5965b2=Object[_0x3948cf(0x149)],_0x25db7f=Object[_0x3948cf(0x16b)],_0x120013=(_0xee7178,_0xc686c8,_0x111234,_0x3bcb26)=>{for(var _0x31309f=_0x3bcb26>0x1?void 0x0:_0x3bcb26?_0x25db7f(_0xc686c8,_0x111234):_0xc686c8,_0x14ade7=_0xee7178['length']-0x1,_0x35d22f;_0x14ade7>=0x0;_0x14ade7--)(_0x35d22f=_0xee7178[_0x14ade7])&&(_0x31309f=(_0x3bcb26?_0x35d22f(_0xc686c8,_0x111234,_0x31309f):_0x35d22f(_0x31309f))||_0x31309f);return _0x3bcb26&&_0x31309f&&_0x5965b2(_0xc686c8,_0x111234,_0x31309f),_0x31309f;},_0x33de4d=(_0x1aacee,_0x1b2b6e)=>(_0x31c474,_0x10dd5f)=>_0x1b2b6e(_0x31c474,_0x10dd5f,_0x1aacee);_0x24454f[_0x3948cf(0x228)]=class extends _0x223914[_0x3948cf(0x2aa)]{constructor(_0x30c58f,_0xb75ba0,_0x39d051,_0x8186ce,_0x3e01a7,_0x5a1b43){const _0x185179=_0x3948cf;super(),_0xeb55cc(this,'_socket$',new _0x3fbd04[(_0x185179(0x2e0))](void 0x0)),_0xeb55cc(this,_0x185179(0x500),this[_0x185179(0x3a1)]['asObservable']()),_0xeb55cc(this,_0x185179(0x2c5),null),_0xeb55cc(this,_0x185179(0x430),new Map()),_0xeb55cc(this,_0x185179(0x19b),new _0x3fbd04[(_0x185179(0x2e0))](_0x1efc5b[_0x185179(0x401)])),_0xeb55cc(this,_0x185179(0x55f),this['_status$'][_0x185179(0x29a)]()),_0xeb55cc(this,_0x185179(0x1d6),!0x1),_0xeb55cc(this,'_retryConnectingTimer'),_0xeb55cc(this,_0x185179(0x2ce),0x0),_0xeb55cc(this,_0x185179(0x232)),_0xeb55cc(this,_0x185179(0x49c)),(this['_injector']=_0x30c58f,this['_localeService']=_0xb75ba0,this['_messageService']=_0x39d051,this[_0x185179(0x3fb)]=_0x8186ce,this[_0x185179(0x164)]=_0x3e01a7,this[_0x185179(0x498)]=_0x5a1b43,this['_initEventListeners']());}get[_0x3948cf(0x52c)](){return this['_socket$']['getValue']();}[_0x3948cf(0x46c)](){const _0xbd5c73=_0x3948cf;this[_0xbd5c73(0x4ed)](),this['_listenToOnlineEvent']();}['dispose'](){const _0x40ee94=_0x3948cf;super[_0x40ee94(0x287)](),this[_0x40ee94(0x430)]['forEach'](_0x15a511=>_0x15a511[_0x40ee94(0x287)]()),this['_sessions'][_0x40ee94(0x2da)](),this[_0x40ee94(0x19b)][_0x40ee94(0x14b)]();}async['requireSession'](_0x16ceef){const _0x45737c=_0x3948cf;if(this[_0x45737c(0x430)][_0x45737c(0x58e)](_0x16ceef))return this['_sessions'][_0x45737c(0x55a)](_0x16ceef);this['_tryEnsureSocket']();const _0x4bdd62=this[_0x45737c(0x488)]['createInstance'](_0x24454f[_0x45737c(0x436)],_0x16ceef,this[_0x45737c(0x3a1)][_0x45737c(0x29a)]());return this['_sessions']['set'](_0x16ceef,_0x4bdd62),_0x4bdd62;}[_0x3948cf(0x34a)](_0x3b49f3){const _0x3918ef=_0x3948cf;var _0x1554c9;const _0x40b0f2=this[_0x3918ef(0x430)][_0x3918ef(0x55a)](_0x3b49f3);_0x40b0f2&&(this['_sessions'][_0x3918ef(0x45a)](_0x3b49f3),_0x40b0f2['close']()),this['_sessions'][_0x3918ef(0x416)]||(_0x1554c9=this['_socket'])==null||_0x1554c9[_0x3918ef(0x1ef)]();}[_0x3948cf(0x1c3)](){const _0x401b3e=_0x3948cf;this[_0x401b3e(0x2ce)]=0x0,this[_0x401b3e(0x435)]!=null&&(clearTimeout(this[_0x401b3e(0x435)]),this[_0x401b3e(0x435)]=null),this[_0x401b3e(0x1b8)]();}[_0x3948cf(0x32b)](){const _0x3e3ba5=_0x3948cf;var _0x5f438e,_0x9042f4;const _0xea733=this[_0x3e3ba5(0x164)][_0x3e3ba5(0x52b)](_0x2c6078),_0x5862f6=this[_0x3e3ba5(0x164)][_0x3e3ba5(0x52b)](_0x59012f),_0x352e0c=(_0x9042f4=(_0x5f438e=_0x5862f6==null?void 0x0:_0x5862f6[_0x3e3ba5(0x468)])!=null?_0x5f438e:_0xea733)!=null?_0x9042f4:_0x13b7a4,_0x19bc69=this[_0x3e3ba5(0x498)]['createSocket'](_0x352e0c);return this[_0x3e3ba5(0x2c5)]=_0x19bc69,_0x19bc69;}[_0x3948cf(0x2e6)](){const _0x178ebf=_0x3948cf;var _0x224f83,_0x493247;try{const _0x3ca241=(_0x493247=(_0x224f83=this[_0x178ebf(0x52c)])!=null?_0x224f83:this[_0x178ebf(0x2c5)])!=null?_0x493247:this['_createSocket']();if(_0x3ca241){const _0x5ecfaf=_0x3ca241[_0x178ebf(0x28f)];_0x3ca241[_0x178ebf(0x28f)]=_0x2135e2=>(this['_rescheduleHeartbeat'](),_0x5ecfaf[_0x178ebf(0x476)](_0x3ca241,[_0x2135e2])),_0x3ca241[_0x178ebf(0x1e8)]['subscribe'](_0x4f095d=>this[_0x178ebf(0x569)](_0x3ca241,_0x4f095d)),_0x3ca241['error$'][_0x178ebf(0x3c1)](_0x4da2a9[_0x178ebf(0x2b5)](0x1))[_0x178ebf(0x577)](_0x40775b=>this[_0x178ebf(0x3fb)][_0x178ebf(0x41b)]('[CollaborationSessionService]:\x20socket\x20error',_0x40775b)),_0x3ca241[_0x178ebf(0x30f)][_0x178ebf(0x3c1)](_0x4da2a9[_0x178ebf(0x2b5)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x3ca241);}),_0x3ca241[_0x178ebf(0x4e3)][_0x178ebf(0x3c1)](_0x4da2a9[_0x178ebf(0x2b5)](0x1))[_0x178ebf(0x577)](_0x3e7c50=>{const _0xc2d40d=_0x178ebf;this['_logService'][_0xc2d40d(0x346)](_0xc2d40d(0x3ee),_0xc2d40d(0x415),_0x3e7c50),this[_0xc2d40d(0x5a4)]();});}}catch(_0x524318){this[_0x178ebf(0x3fb)][_0x178ebf(0x41b)](_0x524318),this['_onConnectionFailed']();}}[_0x3948cf(0x35e)](_0x5c1a23){const _0xa5f63e=_0x3948cf;this[_0xa5f63e(0x3fb)][_0xa5f63e(0x346)](_0xa5f63e(0x3ee),_0xa5f63e(0x221)),_0x5c1a23[_0xa5f63e(0x28f)]({'cmd':_0x5a968c['HELLO']}),this[_0xa5f63e(0x3f7)]();}[_0x3948cf(0x4ed)](){const _0x31ab00=_0x3948cf;window['addEventListener'](_0x31ab00(0x492),()=>this['_onOffline']());}['_onOffline'](){const _0x16da0d=_0x3948cf;this['_socketReady']=!0x1,this[_0x16da0d(0x2c5)]=null,this[_0x16da0d(0x19b)][_0x16da0d(0x490)](_0x1efc5b[_0x16da0d(0x239)]),this['_socket$'][_0x16da0d(0x490)](null),this[_0x16da0d(0x353)](),this[_0x16da0d(0x266)]();}[_0x3948cf(0x5a4)](){const _0x50a86a=_0x3948cf;var _0x312839;this['_onOffline'](),this['_retryCount']<((_0x312839=this[_0x50a86a(0x164)][_0x50a86a(0x52b)](_0x5b3dc5))!=null?_0x312839:0x3)?(this[_0x50a86a(0x14c)]['show']({'key':_0x50a86a(0x279),'type':_0x3fa11f[_0x50a86a(0x21a)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),this['_tryReconnect']()):this[_0x50a86a(0x14c)][_0x50a86a(0x46e)]({'key':'collaboration-session-retry','type':_0x3fa11f[_0x50a86a(0x21a)][_0x50a86a(0x3c3)],'content':this[_0x50a86a(0x147)]['t'](_0x50a86a(0x578))});}[_0x3948cf(0x25e)](){const _0x156c08=_0x3948cf,_0x47032f=()=>{const _0x1587c5=_0x5201;this[_0x1587c5(0x52c)]||this['reconnect']();},_0x156d5b=()=>{const _0x436660=_0x5201;this[_0x436660(0x52c)]||document[_0x436660(0x36e)]==='hidden'||this[_0x436660(0x1c3)]();};window[_0x156c08(0x1d2)]('online',_0x47032f),document[_0x156c08(0x1d2)](_0x156c08(0x5b5),_0x156d5b);}[_0x3948cf(0x1b8)](){const _0x1be8fe=_0x3948cf;var _0x43722f;const _0x266525=this['_retryCount'],_0xbe89ba=this[_0x1be8fe(0x164)][_0x1be8fe(0x52b)](_0x59012f),_0x48d5a3=_0x266525===0x0?0x0:((_0x43722f=_0xbe89ba==null?void 0x0:_0xbe89ba['retryConnectingInterval'])!=null?_0x43722f:0x4e20)*0x2**_0x266525;this[_0x1be8fe(0x435)]=window['setTimeout'](()=>{const _0x36113a=_0x1be8fe;clearTimeout(this['_retryConnectingTimer']),this[_0x36113a(0x435)]=null,this[_0x36113a(0x2e6)]();},_0x48d5a3),this['_retryCount']+=0x1;}[_0x3948cf(0x569)](_0x298a4a,_0x1f3070){const _0x572179=_0x3948cf,{cmd:_0x1420f0}=_0x1f3070;_0x1420f0===_0x5a968c[_0x572179(0x1ad)]&&!this[_0x572179(0x1d6)]&&(_0x298a4a[_0x572179(0x3f3)]=_0x1f3070[_0x572179(0x390)][_0x572179(0x3f3)],this[_0x572179(0x3a1)]['next'](_0x298a4a),this[_0x572179(0x19b)]['next'](_0x1efc5b[_0x572179(0x3c6)]),this[_0x572179(0x1d6)]=!0x0,this[_0x572179(0x2c5)]=null),_0x1420f0===_0x5a968c[_0x572179(0x32e)]&&this[_0x572179(0x353)](),this[_0x572179(0x3f7)]();}['_rescheduleHeartbeat'](){const _0x3eb351=_0x3948cf;var _0x5ba040;this[_0x3eb351(0x266)](),this[_0x3eb351(0x232)]=window[_0x3eb351(0x3da)](()=>this['_sendHeartbeat'](),(_0x5ba040=this[_0x3eb351(0x164)][_0x3eb351(0x52b)](_0x224248))!=null?_0x5ba040:0x7530);}['_sendHeartbeat'](){const _0x1f0459=_0x3948cf;this[_0x1f0459(0x52c)][_0x1f0459(0x28f)]({'cmd':_0x5a968c[_0x1f0459(0x32e)]}),this[_0x1f0459(0x20d)]();}['_waitForHeartbeatResponse'](){const _0x5b9fae=_0x3948cf;var _0x2ad273;this[_0x5b9fae(0x49c)]=window['setTimeout'](()=>this[_0x5b9fae(0x5a4)](),(_0x2ad273=this[_0x5b9fae(0x164)][_0x5b9fae(0x52b)](_0x44eea9))!=null?_0x2ad273:0x4e20);}[_0x3948cf(0x266)](){const _0x5b2b11=_0x3948cf;this[_0x5b2b11(0x232)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5b2b11(0x232)]=null);}[_0x3948cf(0x353)](){const _0x4274e2=_0x3948cf;this[_0x4274e2(0x49c)]!=null&&(clearTimeout(this[_0x4274e2(0x49c)]),this[_0x4274e2(0x49c)]=null);}},_0x24454f[_0x3948cf(0x228)]=_0x120013([_0x33de4d(0x0,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x33de4d(0x1,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x570)])),_0x33de4d(0x2,_0x405b11['IMessageService']),_0x33de4d(0x3,_0x223914[_0x3948cf(0x5b0)]),_0x33de4d(0x4,_0x223914[_0x3948cf(0x1ff)]),_0x33de4d(0x5,_0x1a1032)],_0x24454f[_0x3948cf(0x228)]);const _0x55bcfc=[];for(let _0x193332=0x0;_0x193332<0x100;++_0x193332)_0x55bcfc[_0x3948cf(0x4ef)]((_0x193332+0x100)[_0x3948cf(0x4ec)](0x10)['slice'](0x1));function _0x1b08e6(_0x328fcd,_0x270e0f=0x0){const _0x3d8913=_0x3948cf;return(_0x55bcfc[_0x328fcd[_0x270e0f+0x0]]+_0x55bcfc[_0x328fcd[_0x270e0f+0x1]]+_0x55bcfc[_0x328fcd[_0x270e0f+0x2]]+_0x55bcfc[_0x328fcd[_0x270e0f+0x3]]+'-'+_0x55bcfc[_0x328fcd[_0x270e0f+0x4]]+_0x55bcfc[_0x328fcd[_0x270e0f+0x5]]+'-'+_0x55bcfc[_0x328fcd[_0x270e0f+0x6]]+_0x55bcfc[_0x328fcd[_0x270e0f+0x7]]+'-'+_0x55bcfc[_0x328fcd[_0x270e0f+0x8]]+_0x55bcfc[_0x328fcd[_0x270e0f+0x9]]+'-'+_0x55bcfc[_0x328fcd[_0x270e0f+0xa]]+_0x55bcfc[_0x328fcd[_0x270e0f+0xb]]+_0x55bcfc[_0x328fcd[_0x270e0f+0xc]]+_0x55bcfc[_0x328fcd[_0x270e0f+0xd]]+_0x55bcfc[_0x328fcd[_0x270e0f+0xe]]+_0x55bcfc[_0x328fcd[_0x270e0f+0xf]])[_0x3d8913(0x151)]();}let _0x42f61d;const _0x2f1e00=new Uint8Array(0x10);function _0x5689d8(){const _0x4fbbca=_0x3948cf;if(!_0x42f61d){if(typeof crypto>'u'||!crypto[_0x4fbbca(0x60a)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x42f61d=crypto[_0x4fbbca(0x60a)][_0x4fbbca(0x27f)](crypto);}return _0x42f61d(_0x2f1e00);}const _0x307e43={'randomUUID':typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x3948cf(0x3d7)][_0x3948cf(0x27f)](crypto)};function _0x1a222b(_0x4a07df,_0xa0bc4a,_0x29b29b){const _0x18b955=_0x3948cf;if(_0x307e43[_0x18b955(0x3d7)]&&!_0xa0bc4a&&!_0x4a07df)return _0x307e43[_0x18b955(0x3d7)]();_0x4a07df=_0x4a07df||{};const _0x25f7b5=_0x4a07df[_0x18b955(0x589)]||(_0x4a07df[_0x18b955(0x2ae)]||_0x5689d8)();return _0x25f7b5[0x6]=_0x25f7b5[0x6]&0xf|0x40,_0x25f7b5[0x8]=_0x25f7b5[0x8]&0x3f|0x80,_0x1b08e6(_0x25f7b5);}var _0x3b8f16=Object[_0x3948cf(0x149)],_0x5a07fc=Object[_0x3948cf(0x16b)],_0x5e37e5=(_0x6356dd,_0x1af826,_0x355d8f,_0x2063fc)=>{const _0x4b7a33=_0x3948cf;for(var _0x2a2144=_0x2063fc>0x1?void 0x0:_0x2063fc?_0x5a07fc(_0x1af826,_0x355d8f):_0x1af826,_0x172c89=_0x6356dd[_0x4b7a33(0x24c)]-0x1,_0x5dc876;_0x172c89>=0x0;_0x172c89--)(_0x5dc876=_0x6356dd[_0x172c89])&&(_0x2a2144=(_0x2063fc?_0x5dc876(_0x1af826,_0x355d8f,_0x2a2144):_0x5dc876(_0x2a2144))||_0x2a2144);return _0x2063fc&&_0x2a2144&&_0x3b8f16(_0x1af826,_0x355d8f,_0x2a2144),_0x2a2144;},_0x102dce=(_0x443ad3,_0x5918dd)=>(_0x50c462,_0x3709cd)=>_0x5918dd(_0x50c462,_0x3709cd,_0x443ad3);let _0x2e6349=class{constructor(_0x5edbbf,_0x4212c9,_0x55370b){const _0x280551=_0x3948cf;this[_0x280551(0x488)]=_0x5edbbf,this['_transformService']=_0x4212c9,this[_0x280551(0x4c2)]=_0x55370b;}[_0x3948cf(0x549)](_0x494dfd){const _0x5cce35=_0x3948cf;this[_0x5cce35(0x3f2)](_0x494dfd),this[_0x5cce35(0x536)](_0x494dfd);}[_0x3948cf(0x5b4)](_0x104444){const _0xc9f43b=_0x3948cf,{unitID:_0x4c621e}=_0x104444,_0x59d89c=this[_0xc9f43b(0x4c2)][_0xc9f43b(0x214)](_0x4c621e)[_0xc9f43b(0x15e)](_0x13e81e[_0xc9f43b(0x5ba)]),{redoCache:_0x566edf}=_0x59d89c['getUndoRedoMutationParamsCache']();if(_0x566edf['length']===0x0)return _0x104444;let _0xee2204=_0x223914[_0xc9f43b(0x5af)]['deepClone'](_0x104444['mutations'][0x0]);for(let _0x24121f=0x0;_0x24121f<_0x566edf[_0xc9f43b(0x24c)];_0x24121f++){const _0x1d1717={'id':'doc.mutation.rich-text-editing','params':{..._0x566edf[_0x24121f]}},_0x4f145b=this[_0xc9f43b(0x42b)]['transformMutation'](_0xee2204,_0x1d1717,!0x1);if(_0x9ea725[_0xc9f43b(0x375)](_0x4f145b))throw _0x4f145b[_0xc9f43b(0x41b)];_0xee2204=_0x4f145b['m1Prime'];}return{..._0x223914[_0xc9f43b(0x5af)]['deepClone'](_0x104444),'mutations':[_0xee2204]};}[_0x3948cf(0x3f2)](_0x28fe4c){const _0x59ce83=_0x3948cf,{unitID:_0x4e4904}=_0x28fe4c,_0x15de8b=this[_0x59ce83(0x4c2)]['getRenderById'](_0x4e4904)[_0x59ce83(0x15e)](_0x13e81e[_0x59ce83(0x5ba)]),{undoCache:_0x3f6916,redoCache:_0x47ad78}=_0x15de8b[_0x59ce83(0x1b7)]();if(_0x3f6916['length']===0x0||_0x47ad78[_0x59ce83(0x24c)]===0x0)return;const _0x45ee1c=[],_0x114027=[];let _0xd770ec=_0x223914[_0x59ce83(0x5af)]['deepClone'](_0x28fe4c[_0x59ce83(0x53f)][0x0]),_0x371d09=_0x223914[_0x59ce83(0x5af)]['deepClone'](_0x28fe4c[_0x59ce83(0x53f)][0x0]);for(let _0xc3468a=_0x3f6916[_0x59ce83(0x24c)]-0x1;_0xc3468a>=0x0;_0xc3468a--){const _0x5da3be={'id':_0x59ce83(0x3d8),'params':{..._0x3f6916[_0xc3468a]}},_0x32a9cf={'id':'doc.mutation.rich-text-editing','params':{..._0x47ad78[_0xc3468a]}},_0x21a4b4=this[_0x59ce83(0x42b)][_0x59ce83(0x212)](_0xd770ec,_0x5da3be,!0x1),_0x32b514=this['_transformService']['transformMutation'](_0x371d09,_0x32a9cf,!0x1);if(_0x9ea725[_0x59ce83(0x375)](_0x21a4b4))throw _0x21a4b4['error'];if(_0x9ea725['isTransformMutationFailure'](_0x32b514))throw _0x32b514[_0x59ce83(0x41b)];_0x45ee1c[_0x59ce83(0x5ef)](_0x21a4b4[_0x59ce83(0x521)]['params']),_0x114027['unshift'](_0x32b514[_0x59ce83(0x521)][_0x59ce83(0x54d)]),_0xd770ec=_0x21a4b4[_0x59ce83(0x5d5)],_0x371d09=_0x32b514[_0x59ce83(0x5d5)];}_0x15de8b[_0x59ce83(0x21b)]({'undoCache':_0x45ee1c,'redoCache':_0x114027});}[_0x3948cf(0x536)](_0x42ee1b){const _0x182f37=_0x3948cf,{unitID:_0x5a6471}=_0x42ee1b,_0x2947b9=this['_renderManagerService'][_0x182f37(0x214)](_0x5a6471)[_0x182f37(0x15e)](_0x13e81e[_0x182f37(0x5ba)]),_0x15e4e5=_0x2947b9[_0x182f37(0x3f8)]();if(_0x15e4e5==null)return;const _0x3f2328=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42ee1b[_0x182f37(0x397)],'actions':null,'textRanges':[_0x15e4e5]}}],_0x8e0d3b=this['_transformService']['transformMutationsWithChangeset'](_0x42ee1b,_0x3f2328);if(!_0x9ea725['isTransformMutationsWithChangesetSuccess'](_0x8e0d3b))throw _0x8e0d3b[_0x182f37(0x41b)];const _0x516222=_0x8e0d3b['m2Prime'][0x0]['params'][_0x182f37(0x27b)];Array['isArray'](_0x516222)&&_0x516222['length']&&_0x2947b9[_0x182f37(0x252)](_0x516222[0x0]);}};_0x2e6349=_0x5e37e5([_0x102dce(0x0,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x102dce(0x1,_0x9ea725['ITransformService']),_0x102dce(0x2,_0xdd060a[_0x3948cf(0x349)])],_0x2e6349);var _0x323112=Object[_0x3948cf(0x149)],_0x1d0c5b=Object[_0x3948cf(0x16b)],_0x5f8f2d=(_0x12229d,_0x548a97,_0x288882,_0x4b95b3)=>{const _0x246c03=_0x3948cf;for(var _0x5d41cb=_0x4b95b3>0x1?void 0x0:_0x4b95b3?_0x1d0c5b(_0x548a97,_0x288882):_0x548a97,_0x5e26c7=_0x12229d[_0x246c03(0x24c)]-0x1,_0xf962f8;_0x5e26c7>=0x0;_0x5e26c7--)(_0xf962f8=_0x12229d[_0x5e26c7])&&(_0x5d41cb=(_0x4b95b3?_0xf962f8(_0x548a97,_0x288882,_0x5d41cb):_0xf962f8(_0x5d41cb))||_0x5d41cb);return _0x4b95b3&&_0x5d41cb&&_0x323112(_0x548a97,_0x288882,_0x5d41cb),_0x5d41cb;},_0x2c6869=(_0x375a36,_0x165d5a)=>(_0x894592,_0x4903b3)=>_0x165d5a(_0x894592,_0x4903b3,_0x375a36);_0x24454f[_0x3948cf(0x30e)]=class extends _0x223914[_0x3948cf(0x2aa)]{constructor(_0x11cfc9,_0x19410d,_0x5184a0,_0x4b546c,_0x548ec0){const _0x73071a=_0x3948cf;super(),_0xeb55cc(this,'_cachedData',new Map()),_0xeb55cc(this,_0x73071a(0x303),new Map()),_0xeb55cc(this,'_disabled',!0x1),(this['_configService']=_0x11cfc9,this[_0x73071a(0x3d5)]=_0x19410d,this[_0x73071a(0x2c1)]=_0x5184a0,this[_0x73071a(0x147)]=_0x4b546c,this[_0x73071a(0x14d)]=_0x548ec0,this['_setupBeforeClosingHandler']());}[_0x3948cf(0x1cb)](){const _0x11ec06=_0x3948cf;this[_0x11ec06(0x4f2)]=!0x0;}[_0x3948cf(0x40d)](){this['_disabled']=!0x1;}[_0x3948cf(0x287)](){const _0x1d25e5=_0x3948cf;this['exhaustSavingTask']()[_0x1d25e5(0x1ed)](()=>super[_0x1d25e5(0x287)]());}async[_0x3948cf(0x546)](_0x474258){const _0x5e234b=_0x3948cf;return this[_0x5e234b(0x4f2)]?null:this[_0x5e234b(0x3d5)][_0x5e234b(0x338)](_0x5d1ba4(_0x474258));}async['saveOfflineData'](_0x5ad52b,_0x4188e2){const _0x35d23d=_0x3948cf;return!!this[_0x35d23d(0x3d5)][_0x35d23d(0x1c8)](_0x5ad52b,_0x4188e2);}[_0x3948cf(0x223)](_0x2cfaa7,_0x544516,_0x41b1a7,_0x5fd6db){const _0x4d0d42=_0x3948cf,_0x3c89d2=this['_revisionService'][_0x4d0d42(0x356)](_0x2cfaa7);this[_0x4d0d42(0x449)][_0x4d0d42(0x1f2)](_0x2cfaa7,{'unitID':_0x2cfaa7,'type':_0x544516,'awaitingChangeset':_0x41b1a7,'mutations':_0x5fd6db,'rev':_0x3c89d2}),this[_0x4d0d42(0x303)][_0x4d0d42(0x58e)](_0x2cfaa7)||this[_0x4d0d42(0x45c)](_0x2cfaa7);}[_0x3948cf(0x45c)](_0x163afc){const _0x59f062=_0x3948cf,_0x4e5cea=this['_getSaveTimeout']();_0x4e5cea===0x0?this[_0x59f062(0x29f)](_0x163afc):this[_0x59f062(0x303)][_0x59f062(0x1f2)](_0x163afc,setTimeout(()=>this[_0x59f062(0x29f)](_0x163afc),_0x4e5cea));}[_0x3948cf(0x4a7)](){const _0x4fed7d=_0x3948cf;var _0x490404;return(_0x490404=this[_0x4fed7d(0x164)][_0x4fed7d(0x52b)](_0x5e1c84))!=null?_0x490404:0x3e8;}[_0x3948cf(0x29f)](_0xdf8b8a){const _0x1e0e31=_0x3948cf,_0xaf2da6=this[_0x1e0e31(0x303)][_0x1e0e31(0x55a)](_0xdf8b8a);return _0xaf2da6!==void 0x0&&window[_0x1e0e31(0x186)](_0xaf2da6),this[_0x1e0e31(0x3d5)]['setItem'](_0x5d1ba4(_0xdf8b8a),this['_cachedData']['get'](_0xdf8b8a))[_0x1e0e31(0x1ed)](()=>this[_0x1e0e31(0x303)][_0x1e0e31(0x45a)](_0xdf8b8a));}async[_0x3948cf(0x201)](){const _0x1e9b3a=_0x3948cf,_0x106790=[];this['_saveTaskMap'][_0x1e9b3a(0x24f)]((_0x28c280,_0x27fb56)=>{const _0x7adb2d=_0x1e9b3a;window[_0x7adb2d(0x186)](_0x28c280),_0x106790['push'](this[_0x7adb2d(0x29f)](_0x27fb56)[_0x7adb2d(0x1ed)](()=>{const _0x4cf14a=_0x7adb2d;this[_0x4cf14a(0x303)][_0x4cf14a(0x45a)](_0x27fb56);}));}),await Promise[_0x1e9b3a(0x1f9)](_0x106790);}[_0x3948cf(0x33e)](){const _0x493103=_0x3948cf;this[_0x493103(0x345)](this[_0x493103(0x2c1)][_0x493103(0x274)](()=>{const _0x56a8ee=_0x493103;if(this[_0x56a8ee(0x303)]['size'])return this[_0x56a8ee(0x147)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x24454f[_0x3948cf(0x30e)]=_0x5f8f2d([_0x2c6869(0x0,_0x223914['IConfigService']),_0x2c6869(0x1,_0x223914[_0x3948cf(0x1a3)]),_0x2c6869(0x2,_0x405b11[_0x3948cf(0x3ea)]),_0x2c6869(0x3,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x570)])),_0x2c6869(0x4,_0x223914[_0x3948cf(0x25f)](_0x9ea725['RevisionService']))],_0x24454f['LocalCacheService']);function _0x5d1ba4(_0x19f964){return'unit-cache-'+_0x19f964;}var _0x19ec2c=Object[_0x3948cf(0x149)],_0x14a1a3=Object['getOwnPropertyDescriptor'],_0x4bc135=(_0x56b7eb,_0xac656c,_0x5c0f5b,_0x4bef58)=>{const _0x58431d=_0x3948cf;for(var _0x504b2=_0x4bef58>0x1?void 0x0:_0x4bef58?_0x14a1a3(_0xac656c,_0x5c0f5b):_0xac656c,_0x22c509=_0x56b7eb[_0x58431d(0x24c)]-0x1,_0x53ea7c;_0x22c509>=0x0;_0x22c509--)(_0x53ea7c=_0x56b7eb[_0x22c509])&&(_0x504b2=(_0x4bef58?_0x53ea7c(_0xac656c,_0x5c0f5b,_0x504b2):_0x53ea7c(_0x504b2))||_0x504b2);return _0x4bef58&&_0x504b2&&_0x19ec2c(_0xac656c,_0x5c0f5b,_0x504b2),_0x504b2;},_0x499435=(_0x5c16cd,_0x1a8f32)=>(_0x155313,_0x2afbd7)=>_0x1a8f32(_0x155313,_0x2afbd7,_0x5c16cd);function _0x455370(_0x15d4f6){const _0x2aa89d=_0x3948cf,{unitID:_0x33a612,mutations:_0x2a193f}=_0x15d4f6;return{'unitId':_0x33a612,'subUnitId':_0x2a193f[0x0][_0x2aa89d(0x54d)][_0x2aa89d(0x1e6)]};}let _0x42d852=class{constructor(_0x536205,_0x410c8c,_0x55973c){const _0x576abc=_0x3948cf;this[_0x576abc(0x488)]=_0x536205,this['_transformService']=_0x410c8c,this[_0x576abc(0x294)]=_0x55973c;}[_0x3948cf(0x2e1)](_0x427528){const _0x93dc67=_0x3948cf;var _0x7cc070,_0x1e578b,_0x40fc69,_0x1d453a;const _0x4b38ba=this[_0x93dc67(0x488)][_0x93dc67(0x55a)](_0x59e5a9[_0x93dc67(0x30b)]),{unitId:_0x34be46,subUnitId:_0x431259}=_0x455370(_0x427528),_0x33899b=_0x4b38ba[_0x93dc67(0x453)](_0x34be46)['getCurrentSelections'](),_0x487ff8=(_0x1e578b=(_0x7cc070=this[_0x93dc67(0x294)][_0x93dc67(0x2cd)](_0x34be46))==null?void 0x0:_0x7cc070[_0x93dc67(0x3d2)]())==null?void 0x0:_0x1e578b[_0x93dc67(0x1b4)]();if(_0x33899b[_0x93dc67(0x24c)]===0x0||!_0x34be46||!_0x431259)return;const _0x36d7bf=[{'id':_0x59e5a9[_0x93dc67(0x25d)]['id'],'params':{'unitId':_0x34be46,'subUnitId':_0x487ff8,'selections':_0x223914['Tools'][_0x93dc67(0x566)](_0x33899b)}}],_0x2eabee=this[_0x93dc67(0x42b)][_0x93dc67(0x57d)](_0x427528,_0x36d7bf);if(!_0x9ea725[_0x93dc67(0x333)](_0x2eabee))throw _0x2eabee[_0x93dc67(0x41b)];const _0x420d99=(_0x1d453a=(_0x40fc69=_0x2eabee[_0x93dc67(0x521)][0x0])==null?void 0x0:_0x40fc69[_0x93dc67(0x54d)])==null?void 0x0:_0x1d453a[_0x93dc67(0x35b)];if(Array[_0x93dc67(0x462)](_0x420d99)&&_0x420d99[_0x93dc67(0x24c)]){if(_0x420d99['length']===_0x36d7bf[0x0]['params'][_0x93dc67(0x35b)][_0x93dc67(0x24c)]&&_0x420d99[_0x93dc67(0x374)]((_0x17c254,_0x480c3b)=>_0x223914['Rectangle'][_0x93dc67(0x360)](_0x17c254[_0x93dc67(0x3c0)],_0x36d7bf[0x0][_0x93dc67(0x54d)][_0x93dc67(0x35b)][_0x480c3b][_0x93dc67(0x3c0)])))return;this[_0x93dc67(0x488)][_0x93dc67(0x55a)](_0x223914[_0x93dc67(0x38e)])[_0x93dc67(0x3d0)](_0x59e5a9[_0x93dc67(0x25d)]['id'],{'unitId':_0x34be46,'subUnitId':_0x487ff8,'selections':_0x420d99});}}};_0x42d852=_0x4bc135([_0x499435(0x0,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x499435(0x1,_0x9ea725[_0x3948cf(0x1b6)]),_0x499435(0x2,_0x223914[_0x3948cf(0x2dd)])],_0x42d852);const _0x1b2f34=_0x223914['createIdentifier'](_0x3948cf(0x4e0));var _0x4ef9dc=(_0x32a7d7=>(_0x32a7d7[_0x32a7d7[_0x3948cf(0x1ec)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x32a7d7[_0x32a7d7[_0x3948cf(0x284)]=0x1]=_0x3948cf(0x284),_0x32a7d7))(_0x4ef9dc||{});const _0x289613=0x7530,_0x6fe964=_0x3948cf(0x259);class _0x4b8d7b extends _0x223914['Disposable']{constructor(){const _0x54d2c6=_0x3948cf;super(),_0xeb55cc(this,_0x54d2c6(0x2b3),_0x223914[_0x54d2c6(0x5af)]['generateRandomId']()),_0xeb55cc(this,_0x54d2c6(0x5a9),new Set()),_0xeb55cc(this,_0x54d2c6(0x405),new Map()),_0xeb55cc(this,_0x54d2c6(0x208),null),_0xeb55cc(this,_0x54d2c6(0x39e),new Map()),_0xeb55cc(this,_0x54d2c6(0x4b9),new Map()),this[_0x54d2c6(0x528)]();}[_0x3948cf(0x287)](){const _0x325944=_0x3948cf;super[_0x325944(0x287)](),this[_0x325944(0x39e)][_0x325944(0x24f)]((_0x507bbc,_0x4048f2)=>this['_removeClearOtherTimer'](_0x4048f2)),this[_0x325944(0x208)]&&window[_0x325944(0x3a2)](this['_heartbeatTimer']);}[_0x3948cf(0x373)](_0x2baa35){const _0x48be72=_0x3948cf;return this[_0x48be72(0x473)](_0x2baa35)[_0x48be72(0x3c1)](_0x3fbd04[_0x48be72(0x2c3)]());}[_0x3948cf(0x590)](_0xd11184){const _0x8108c=_0x3948cf;this['_selfUnitIDs']['size']===0x0&&this[_0x8108c(0x25c)](),this[_0x8108c(0x5a9)]['add'](_0xd11184),this[_0x8108c(0x5c3)]({'type':0x0,'memberID':this[_0x8108c(0x2b3)],'unitIDs':[_0xd11184],'isForwarded':!0x1});}['disposeUnit'](_0x1845b0){const _0x48ce99=_0x3948cf;this[_0x48ce99(0x5a9)][_0x48ce99(0x45a)](_0x1845b0),this['_selfUnitIDs'][_0x48ce99(0x416)]===0x0&&this[_0x48ce99(0x208)]&&window['clearInterval'](this[_0x48ce99(0x208)]);}['_init'](){const _0x207c93=_0x3948cf;this['disposeWithMe'](_0x223914[_0x207c93(0x238)](_0x3fbd04['fromEvent'](window,_0x207c93(0x178))['subscribe'](_0x48f3b5=>{const _0x1e5509=_0x207c93;if(_0x48f3b5[_0x1e5509(0x206)]!==_0x6fe964||!_0x48f3b5['newValue'])return;const _0x2b09fe=JSON[_0x1e5509(0x517)](_0x48f3b5['newValue']);this['_handleEvent'](_0x2b09fe);}))),window[_0x207c93(0x1d2)](_0x207c93(0x183),()=>this[_0x207c93(0x5c3)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x207c93(0x275)](this[_0x207c93(0x5a9)])}));}[_0x3948cf(0x5de)](_0x533512){const _0x297606=_0x3948cf;switch(_0x533512[_0x297606(0x181)]){case 0x0:this[_0x297606(0x5b1)](_0x533512);break;case 0x1:this[_0x297606(0x29d)](_0x533512);break;case 0x2:this['_handleHeartbeatEvent'](_0x533512);break;}}[_0x3948cf(0x5b1)](_0x43bebe){const _0x53d3f4=_0x3948cf,{unitIDs:_0x4d8b57,memberID:_0x3e9f03,isForwarded:_0x4f83c4}=_0x43bebe;_0x4d8b57[_0x53d3f4(0x24f)](_0x153041=>{const _0x376af0=_0x53d3f4;if(!_0x4f83c4&&this[_0x376af0(0x405)]['has'](_0x153041)&&this[_0x376af0(0x473)](_0x153041)['next'](0x1),!this[_0x376af0(0x405)][_0x376af0(0x58e)](_0x153041)||!this['_unitOnClients'][_0x376af0(0x55a)](_0x153041)['has'](_0x3e9f03)){const _0x19024a=this[_0x376af0(0x405)][_0x376af0(0x55a)](_0x153041)||new Set();_0x19024a[_0x376af0(0x240)](_0x3e9f03),this[_0x376af0(0x405)][_0x376af0(0x1f2)](_0x153041,_0x19024a),this['_scheduleClearOtherTimer'](_0x3e9f03);}}),_0x4f83c4||this[_0x53d3f4(0x5c3)]({'type':0x0,'memberID':this[_0x53d3f4(0x2b3)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3948cf(0x5be)](_0x2f9508){const _0x25ca27=_0x3948cf;this[_0x25ca27(0x371)](_0x2f9508);const _0x31c891=window[_0x25ca27(0x3da)](()=>{const _0x5349a2=_0x25ca27;this[_0x5349a2(0x405)][_0x5349a2(0x24f)](_0x4c7465=>{_0x4c7465['delete'](_0x2f9508);});},_0x289613*0x2);this[_0x25ca27(0x39e)][_0x25ca27(0x1f2)](_0x2f9508,_0x31c891);}['_removeClearOtherTimer'](_0x311d63){const _0x3e761e=_0x3948cf;if(this[_0x3e761e(0x39e)][_0x3e761e(0x58e)](_0x311d63)){const _0x23e92c=this[_0x3e761e(0x39e)]['get'](_0x311d63);_0x23e92c&&window['clearTimeout'](_0x23e92c),this[_0x3e761e(0x39e)]['set'](_0x311d63,null);}}[_0x3948cf(0x29d)](_0x140de9){const _0x59ce23=_0x3948cf,{memberID:_0x5c217a,unitIDs:_0x367fc1}=_0x140de9;_0x367fc1[_0x59ce23(0x24f)](_0x11d36f=>{const _0x223802=_0x59ce23;var _0x1c7aa0;const _0x1228c6=this[_0x223802(0x405)]['get'](_0x11d36f);_0x1228c6&&(_0x1228c6[_0x223802(0x45a)](_0x5c217a),(_0x1c7aa0=this[_0x223802(0x473)](_0x11d36f))==null||_0x1c7aa0['next'](_0x1228c6['size']===0x0?0x0:0x1));}),this[_0x59ce23(0x371)](_0x5c217a);}['_handleHeartbeatEvent'](_0x51a962){const _0x24ff6c=_0x3948cf;this[_0x24ff6c(0x5be)](_0x51a962[_0x24ff6c(0x3f3)]);}[_0x3948cf(0x5c3)](_0x27e34b){const _0x45cf23=_0x3948cf;localStorage['setItem'](_0x6fe964,JSON[_0x45cf23(0x2ec)](_0x27e34b));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x450136=_0x5201;this[_0x450136(0x5c3)]({'type':0x2,'memberID':this[_0x450136(0x2b3)]});},_0x289613);}[_0x3948cf(0x473)](_0x96da38){const _0x192c1d=_0x3948cf;return this[_0x192c1d(0x4b9)][_0x192c1d(0x58e)](_0x96da38)||this[_0x192c1d(0x4b9)][_0x192c1d(0x1f2)](_0x96da38,new _0x3fbd04[(_0x192c1d(0x2e0))](0x0)),this[_0x192c1d(0x4b9)][_0x192c1d(0x55a)](_0x96da38);}}var _0x4a0c7e=Object[_0x3948cf(0x149)],_0x550d9c=Object['getOwnPropertyDescriptor'],_0x37a445=(_0x30b39b,_0x39a399,_0x436c1e,_0x21cfb9)=>{const _0x5c3760=_0x3948cf;for(var _0x3fddb8=_0x21cfb9>0x1?void 0x0:_0x21cfb9?_0x550d9c(_0x39a399,_0x436c1e):_0x39a399,_0x1b7600=_0x30b39b[_0x5c3760(0x24c)]-0x1,_0x467cee;_0x1b7600>=0x0;_0x1b7600--)(_0x467cee=_0x30b39b[_0x1b7600])&&(_0x3fddb8=(_0x21cfb9?_0x467cee(_0x39a399,_0x436c1e,_0x3fddb8):_0x467cee(_0x3fddb8))||_0x3fddb8);return _0x21cfb9&&_0x3fddb8&&_0x4a0c7e(_0x39a399,_0x436c1e,_0x3fddb8),_0x3fddb8;},_0x593882=(_0x7c7feb,_0x33fb2e)=>(_0x7fea0,_0xfb5e0e)=>_0x33fb2e(_0x7fea0,_0xfb5e0e,_0x7c7feb);let _0x5cf7bf=class{constructor(_0x2ab9a7,_0x44d607,_0x3c2621){const _0x56e369=_0x3948cf;this[_0x56e369(0x488)]=_0x2ab9a7,this[_0x56e369(0x42b)]=_0x44d607,this['_docStateChangeManagerService']=_0x3c2621;}['transformStateCache'](_0x45c8c1){const _0x56ef6b=_0x3948cf;this[_0x56ef6b(0x342)](_0x45c8c1);}[_0x3948cf(0x5b4)](_0x193490){const _0x1aa5b7=_0x3948cf,{unitID:_0x2a52cf}=_0x193490,{collaboration:_0x3902f9}=this['_docStateChangeManagerService']['getStateCache'](_0x2a52cf);if(_0x3902f9[_0x1aa5b7(0x24c)]===0x0)return _0x193490;let _0x59248a=_0x223914[_0x1aa5b7(0x5af)][_0x1aa5b7(0x566)](_0x193490['mutations'][0x0]);for(let _0x4d4595=0x0;_0x4d4595<_0x3902f9[_0x1aa5b7(0x24c)];_0x4d4595++){const _0x3dc4d5={'id':_0x1aa5b7(0x3d8),'params':{'unitId':_0x3902f9[_0x4d4595][_0x1aa5b7(0x362)],..._0x3902f9[_0x4d4595]['redoState']}},_0xd21789=this['_transformService'][_0x1aa5b7(0x212)](_0x59248a,_0x3dc4d5,!0x1);if(_0x9ea725[_0x1aa5b7(0x375)](_0xd21789))throw _0xd21789[_0x1aa5b7(0x41b)];_0x59248a=_0xd21789[_0x1aa5b7(0x5d5)];}return{..._0x223914[_0x1aa5b7(0x5af)][_0x1aa5b7(0x566)](_0x193490),'mutations':[_0x59248a]};}[_0x3948cf(0x342)](_0x4b88b2){const _0x4c7ca0=_0x3948cf,{unitID:_0x2801fd}=_0x4b88b2,{history:_0x34f8f3,collaboration:_0x1e6be4}=this[_0x4c7ca0(0x5fc)][_0x4c7ca0(0x1d4)](_0x2801fd);if(_0x34f8f3['length']===0x0&&_0x1e6be4[_0x4c7ca0(0x24c)]===0x0)return;const _0x525987=[],_0x316b82=[];let _0x48252e=_0x223914[_0x4c7ca0(0x5af)]['deepClone'](_0x4b88b2[_0x4c7ca0(0x53f)][0x0]),_0x4c2251=_0x223914[_0x4c7ca0(0x5af)][_0x4c7ca0(0x566)](_0x4b88b2[_0x4c7ca0(0x53f)][0x0]);for(let _0x17e2f8=_0x34f8f3[_0x4c7ca0(0x24c)]-0x1;_0x17e2f8>=0x0;_0x17e2f8--){const _0x133f48={'id':_0x4c7ca0(0x3d8),'params':{'unitId':_0x34f8f3[_0x17e2f8][_0x4c7ca0(0x362)],..._0x34f8f3[_0x17e2f8][_0x4c7ca0(0x4fb)]}},_0x3705b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34f8f3[_0x17e2f8][_0x4c7ca0(0x362)],..._0x34f8f3[_0x17e2f8]['redoState']}},_0x1d0828=this[_0x4c7ca0(0x42b)][_0x4c7ca0(0x212)](_0x48252e,_0x133f48,!0x1),_0x22fe75=this[_0x4c7ca0(0x42b)]['transformMutation'](_0x4c2251,_0x3705b6,!0x1);if(_0x9ea725['isTransformMutationFailure'](_0x1d0828))throw _0x1d0828[_0x4c7ca0(0x41b)];if(_0x9ea725['isTransformMutationFailure'](_0x22fe75))throw _0x22fe75[_0x4c7ca0(0x41b)];_0x525987[_0x4c7ca0(0x5ef)]({..._0x34f8f3[_0x17e2f8],'undoState':_0x1d0828['m2Prime'][_0x4c7ca0(0x54d)],'redoState':_0x22fe75[_0x4c7ca0(0x521)][_0x4c7ca0(0x54d)]}),_0x48252e=_0x1d0828['m1Prime'],_0x4c2251=_0x22fe75[_0x4c7ca0(0x5d5)];}_0x48252e=_0x223914[_0x4c7ca0(0x5af)][_0x4c7ca0(0x566)](_0x4b88b2[_0x4c7ca0(0x53f)][0x0]),_0x4c2251=_0x223914[_0x4c7ca0(0x5af)]['deepClone'](_0x4b88b2['mutations'][0x0]);for(let _0x16a5ee=_0x1e6be4[_0x4c7ca0(0x24c)]-0x1;_0x16a5ee>=0x0;_0x16a5ee--){const _0x49e87b={'id':_0x4c7ca0(0x3d8),'params':{'unitId':_0x1e6be4[_0x16a5ee][_0x4c7ca0(0x362)],..._0x1e6be4[_0x16a5ee][_0x4c7ca0(0x4fb)]}},_0x56655e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e6be4[_0x16a5ee][_0x4c7ca0(0x362)],..._0x1e6be4[_0x16a5ee][_0x4c7ca0(0x334)]}},_0x4ae30b=this[_0x4c7ca0(0x42b)][_0x4c7ca0(0x212)](_0x48252e,_0x49e87b,!0x1),_0x2a224e=this[_0x4c7ca0(0x42b)][_0x4c7ca0(0x212)](_0x4c2251,_0x56655e,!0x1);if(_0x9ea725['isTransformMutationFailure'](_0x4ae30b))throw _0x4ae30b[_0x4c7ca0(0x41b)];if(_0x9ea725[_0x4c7ca0(0x375)](_0x2a224e))throw _0x2a224e[_0x4c7ca0(0x41b)];_0x316b82['unshift']({..._0x1e6be4[_0x16a5ee],'undoState':_0x4ae30b['m2Prime'][_0x4c7ca0(0x54d)],'redoState':_0x2a224e[_0x4c7ca0(0x521)][_0x4c7ca0(0x54d)]}),_0x48252e=_0x4ae30b[_0x4c7ca0(0x5d5)],_0x4c2251=_0x2a224e[_0x4c7ca0(0x5d5)];}this[_0x4c7ca0(0x5fc)][_0x4c7ca0(0x3a6)](_0x2801fd,{'history':_0x525987,'collaboration':_0x316b82});}};_0x5cf7bf=_0x37a445([_0x593882(0x0,_0x223914['Inject'](_0x223914[_0x3948cf(0x478)])),_0x593882(0x1,_0x9ea725[_0x3948cf(0x1b6)]),_0x593882(0x2,_0x223914[_0x3948cf(0x25f)](_0x13e81e[_0x3948cf(0x534)]))],_0x5cf7bf);function _0x1ccc89(_0x4f28e3){const _0x21b4ca=_0x3948cf;let _0x4bca3d='';for(const _0xd52e6 of _0x4f28e3){const {startOffset:_0x106a1c,endOffset:_0x567e5e,isActive:_0x544802,rangeType:_0x4ef395,segmentId:_0x71bffe,segmentPage:_0xb2cd59}=_0xd52e6;_0x4bca3d[_0x21b4ca(0x24c)]&&(_0x4bca3d+=','),_0x4bca3d+=_0x106a1c+':'+_0x567e5e+':'+(_0x544802?'1':'0')+':'+_0x4ef395+':'+_0x71bffe+':'+_0xb2cd59;}return _0x4bca3d;}function _0x1529db(_0x32ca3b){const _0xcf1ffd=_0x3948cf,_0x3723ea=_0x32ca3b[_0xcf1ffd(0x3ce)](','),_0x52bd15=[];for(const _0x3125f1 of _0x3723ea){const [_0x4e72a4,_0x34c2ea,_0xc938c5,_0xe9c91a,_0x3b3959,_0x3bec4c]=_0x3125f1[_0xcf1ffd(0x3ce)](':');_0x52bd15['push']({'startOffset':Number(_0x4e72a4),'endOffset':Number(_0x34c2ea),'collapsed':_0x4e72a4===_0x34c2ea,'isActive':_0xc938c5==='1','rangeType':_0xe9c91a===_0x223914[_0xcf1ffd(0x1ee)][_0xcf1ffd(0x154)]?_0x223914['DOC_RANGE_TYPE'][_0xcf1ffd(0x154)]:_0x223914[_0xcf1ffd(0x1ee)][_0xcf1ffd(0x38d)],'segmentId':typeof _0x3b3959==_0xcf1ffd(0x277)?String(_0x3b3959):'','segmentPage':Number(_0x3bec4c!=null?_0x3bec4c:-0x1)});}return _0x52bd15[_0xcf1ffd(0x26e)](_0x16db2f=>_0x16db2f[_0xcf1ffd(0x15c)])||(_0x52bd15[0x0]['isActive']=!0x0),_0x52bd15;}class _0x4de645 extends _0x223914[_0x3948cf(0x52f)]{constructor(){const _0x17903d=_0x3948cf;super(...arguments),_0xeb55cc(this,_0x17903d(0x58a),new _0x3fbd04[(_0x17903d(0x2e0))](null)),_0xeb55cc(this,_0x17903d(0x152),this['_collabCursorState$'][_0x17903d(0x29a)]());}[_0x3948cf(0x3bf)](_0x368357){const _0x5d30a7=_0x3948cf,{unitID:_0x21918c,memberID:_0x2109dd,textRanges:_0x4cf3b3}=_0x368357,_0x3789f8=_0x1ccc89(_0x4cf3b3);if(_0x3789f8==='')return;const _0x2458bf={'unitID':_0x21918c,'memberID':_0x2109dd,'selection':_0x3789f8};this[_0x5d30a7(0x58a)][_0x5d30a7(0x490)](_0x2458bf);}}var _0x127478=Object[_0x3948cf(0x149)],_0x1ee1a6=Object[_0x3948cf(0x16b)],_0x3feb8b=(_0x5bf66f,_0x122369,_0x420481,_0x323c01)=>{const _0x3620b2=_0x3948cf;for(var _0xc25856=_0x323c01>0x1?void 0x0:_0x323c01?_0x1ee1a6(_0x122369,_0x420481):_0x122369,_0x180949=_0x5bf66f[_0x3620b2(0x24c)]-0x1,_0x102df5;_0x180949>=0x0;_0x180949--)(_0x102df5=_0x5bf66f[_0x180949])&&(_0xc25856=(_0x323c01?_0x102df5(_0x122369,_0x420481,_0xc25856):_0x102df5(_0xc25856))||_0xc25856);return _0x323c01&&_0xc25856&&_0x127478(_0x122369,_0x420481,_0xc25856),_0xc25856;},_0x3ee9a2=(_0x6da0ce,_0x1bcaa5)=>(_0x325f4f,_0x9d4971)=>_0x1bcaa5(_0x325f4f,_0x9d4971,_0x6da0ce);let _0x5cbe2c=class{constructor(_0xc7d3f6,_0x4ba53e){const _0x148792=_0x3948cf;this[_0x148792(0x488)]=_0xc7d3f6,this[_0x148792(0x42b)]=_0x4ba53e;}[_0x3948cf(0x2e1)](_0x1a0503){const _0x1e4822=_0x3948cf;var _0x5a0e73;const _0x2c18d6=this[_0x1e4822(0x488)][_0x1e4822(0x55a)](_0x4a2356['DocSelectionManagerService']),_0x13a23e=(_0x5a0e73=_0x2c18d6[_0x1e4822(0x3b4)]())!=null?_0x5a0e73:[];if(_0x13a23e['length']===0x0)return;const _0x4f2d9=_0x1a0503[_0x1e4822(0x397)],_0x2d2841=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f2d9,'actions':null,'textRanges':_0x13a23e}}],_0x208104=this[_0x1e4822(0x42b)][_0x1e4822(0x57d)](_0x1a0503,_0x2d2841);if(!_0x9ea725['isTransformMutationsWithChangesetSuccess'](_0x208104))throw _0x208104[_0x1e4822(0x41b)];const _0xd80d75=_0x208104[_0x1e4822(0x521)][0x0][_0x1e4822(0x54d)][_0x1e4822(0x27b)];Array['isArray'](_0xd80d75)&&_0xd80d75['length']&&_0x2c18d6[_0x1e4822(0x18b)](_0xd80d75,{'unitId':_0x4f2d9,'subUnitId':_0x4f2d9},!0x1);}};_0x5cbe2c=_0x3feb8b([_0x3ee9a2(0x0,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x3ee9a2(0x1,_0x9ea725['ITransformService'])],_0x5cbe2c);const _0x15a7a1=new Set([_0x59e5a9[_0x3948cf(0x584)]['id']]);function _0x34c099(_0x186b4a,_0x4a4828,_0x4ffbb9,_0x4154d9,_0x33ae8d){const _0x59e96a=_0x3948cf;var _0x3f1365,_0x2b51b5,_0x44f77e,_0x576605;const _0x6b7d1a=[];for(const _0x1e3160 of _0x186b4a)if(_0x15a7a1[_0x59e96a(0x58e)](_0x1e3160['id'])){if(_0x6b7d1a['length']>0x0)break;_0x6b7d1a[_0x59e96a(0x4ef)](_0x1e3160);break;}else _0x6b7d1a[_0x59e96a(0x4ef)](_0x1e3160);const _0x5ed136=(_0x2b51b5=(_0x3f1365=_0x33ae8d['getCurrentUser']())==null?void 0x0:_0x3f1365['userID'])!=null?_0x2b51b5:'unknown',_0x47b348=(_0x576605=(_0x44f77e=_0x33ae8d['getCurrentUser']())==null?void 0x0:_0x44f77e[_0x59e96a(0x3f3)])!=null?_0x576605:'unknown';return{'changeset':{'unitID':_0x4a4828,'type':_0x9ea725[_0x59e96a(0x520)](_0x4ffbb9[_0x59e96a(0x47b)](_0x4a4828)),'baseRev':_0x4154d9['getCurrentRevOfUnit'](_0x4a4828),'revision':0x0,'userID':_0x5ed136,'memberID':_0x47b348,'mutations':_0x6b7d1a},'pendingMutations':_0x186b4a[_0x59e96a(0x26f)](_0x6b7d1a[_0x59e96a(0x24c)])};}function _0x13b41b(_0x3de4ed,_0x442711,_0x569b5e,_0x55b6b4,_0x5d154b){const _0x1c7a3e=_0x3948cf;var _0x2defdb,_0x25fe66,_0x1b01c8,_0x1c509e;const _0x5ee09f=[_0x3de4ed[_0x1c7a3e(0x421)]((_0x8d924b,_0x266f4b)=>{const _0x275b9a=_0x1c7a3e;var _0x5619e8;const {id:_0x1fd562}=_0x8d924b,{id:_0x316d77,type:_0x3214fe}=_0x266f4b,_0x553cdb=(_0x5619e8=_0x8d924b[_0x275b9a(0x54d)])!=null?_0x5619e8:{'actions':null},_0x4d2965=_0x266f4b[_0x275b9a(0x54d)];if(_0x1fd562&&_0x1fd562!==_0x316d77)throw new Error(_0x275b9a(0x18f)+_0x1fd562+_0x275b9a(0x5ac)+_0x316d77+'.');return{..._0x8d924b,'id':_0x316d77,'type':_0x3214fe,'params':{'unitId':_0x4d2965[_0x275b9a(0x362)],'textRanges':_0x4d2965[_0x275b9a(0x27b)],'actions':_0x223914[_0x275b9a(0x458)][_0x275b9a(0x331)](_0x553cdb[_0x275b9a(0x352)],_0x4d2965['actions'])}};},{})],_0x282351=(_0x25fe66=(_0x2defdb=_0x5d154b[_0x1c7a3e(0x1d5)]())==null?void 0x0:_0x2defdb[_0x1c7a3e(0x21c)])!=null?_0x25fe66:_0x1c7a3e(0x583),_0x4ff44a=(_0x1c509e=(_0x1b01c8=_0x5d154b['getCurrentUser']())==null?void 0x0:_0x1b01c8['memberID'])!=null?_0x1c509e:_0x1c7a3e(0x583);return{'changeset':{'unitID':_0x442711,'type':_0x9ea725['mapDocumentTypeToUniverType'](_0x569b5e[_0x1c7a3e(0x47b)](_0x442711)),'baseRev':_0x55b6b4['getCurrentRevOfUnit'](_0x442711),'revision':0x0,'userID':_0x282351,'memberID':_0x4ff44a,'mutations':_0x5ee09f},'pendingMutations':[]};}function _0x3f7431(_0x28683f,_0x25457c){const _0x454253=_0x3948cf,_0x1f019e=new _0x3fbd04[(_0x454253(0x402))](0x1);return setTimeout(()=>_0x1f019e['next'](_0x25457c),_0x28683f),_0x1f019e[_0x454253(0x29a)]()['pipe'](_0x3fbd04[_0x454253(0x2b5)](0x1));}const _0x2669ac={'id':_0x59e5a9['EmptyMutation']['id'],'type':_0x223914[_0x3948cf(0x203)][_0x3948cf(0x5c5)],'params':{}};var _0x416799=Object[_0x3948cf(0x149)],_0x26f092=Object[_0x3948cf(0x16b)],_0x348bbc=(_0x26440c,_0x35abb1,_0x4abb53,_0x2c4a55)=>{const _0x1e6b29=_0x3948cf;for(var _0x28dcb2=_0x2c4a55>0x1?void 0x0:_0x2c4a55?_0x26f092(_0x35abb1,_0x4abb53):_0x35abb1,_0x42a5f2=_0x26440c[_0x1e6b29(0x24c)]-0x1,_0x513c15;_0x42a5f2>=0x0;_0x42a5f2--)(_0x513c15=_0x26440c[_0x42a5f2])&&(_0x28dcb2=(_0x2c4a55?_0x513c15(_0x35abb1,_0x4abb53,_0x28dcb2):_0x513c15(_0x28dcb2))||_0x28dcb2);return _0x2c4a55&&_0x28dcb2&&_0x416799(_0x35abb1,_0x4abb53,_0x28dcb2),_0x28dcb2;},_0x6d8d82=(_0x550215,_0x4db97a)=>(_0x2b41bb,_0x368dfe)=>_0x4db97a(_0x2b41bb,_0x368dfe,_0x550215),_0x1de127=(_0x3a8c7c=>(_0x3a8c7c[_0x3948cf(0x344)]=_0x3948cf(0x3a5),_0x3a8c7c['SYNCED']=_0x3948cf(0x507),_0x3a8c7c[_0x3948cf(0x2e4)]=_0x3948cf(0x4af),_0x3a8c7c[_0x3948cf(0x3d3)]=_0x3948cf(0x47f),_0x3a8c7c['AWAITING_WITH_PENDING']=_0x3948cf(0x33a),_0x3a8c7c['FETCH_MISS']=_0x3948cf(0x1df),_0x3a8c7c[_0x3948cf(0x318)]='conflict',_0x3a8c7c[_0x3948cf(0x239)]='offline',_0x3a8c7c))(_0x1de127||{});const _0x123174=0xea60;class _0xb2b441{constructor(_0x2e5188,_0x28cb3d,_0x2438f9,_0x15ad27,_0xea0f31,_0x4e6d23,_0x3990ef,_0x2de1de,_0x3a6ffc){const _0x5f3de8=_0x3948cf;_0xeb55cc(this,_0x5f3de8(0x185),null),_0xeb55cc(this,'_pendingMutations',[]),(this['unitID']=_0x2e5188,this['type']=_0x28cb3d,this[_0x5f3de8(0x304)]=_0xea0f31,this[_0x5f3de8(0x1b9)]=_0x4e6d23,this[_0x5f3de8(0x2b7)]=_0x3990ef,this['_revisionService']=_0x2de1de,this[_0x5f3de8(0x337)]=_0x3a6ffc,this[_0x5f3de8(0x185)]=_0x2438f9,this[_0x5f3de8(0x48f)]=_0x15ad27);}[_0x3948cf(0x225)](_0x43016f){const _0x393988=_0x3948cf,_0x2ae06f=this['_revisionService'][_0x393988(0x356)](this[_0x393988(0x397)]);return _0x43016f[_0x393988(0x1fc)]>_0x2ae06f+0x1?(this[_0x393988(0x304)][_0x393988(0x36f)]({'from':_0x2ae06f,'to':_0x43016f[_0x393988(0x1fc)]-0x1}),!0x0):!0x1;}[_0x3948cf(0x5ff)](_0x359ed7){const _0x25de86=_0x3948cf;this[_0x25de86(0x2b7)]['transformUndoRedo'](this[_0x25de86(0x397)],_0x359ed7);}['_transformSelections'](_0x4c4a78){const _0x3aec8c=_0x3948cf;var _0x5d5f05,_0xaa38a4;(_0xaa38a4=(_0x5d5f05=this[_0x3aec8c(0x304)])[_0x3aec8c(0x2e7)])==null||_0xaa38a4['call'](_0x5d5f05,_0x4c4a78);}[_0x3948cf(0x158)](_0x3e1f80){const _0x16cc20=_0x3948cf;var _0x3162ae,_0x17f0ff;return(_0x17f0ff=(_0x3162ae=this[_0x16cc20(0x304)])[_0x16cc20(0x20a)])==null?void 0x0:_0x17f0ff[_0x16cc20(0x56a)](_0x3162ae,_0x3e1f80);}[_0x3948cf(0x49e)](_0x2381f0){const _0x3f8e8f=_0x3948cf;var _0x277044,_0x3d1471;return(_0x3d1471=(_0x277044=this[_0x3f8e8f(0x304)])['onTransformState'])==null?void 0x0:_0x3d1471['call'](_0x277044,_0x2381f0);}[_0x3948cf(0x45f)](_0x34df91){const _0xa0429e=_0x3948cf;var _0xa16d92,_0x5eb68e,_0x54e190;return(_0x54e190=(_0x5eb68e=(_0xa16d92=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5eb68e[_0xa0429e(0x56a)](_0xa16d92,_0x34df91))!=null?_0x54e190:_0x34df91;}[_0x3948cf(0x4ae)](_0x47a1c7){const _0x5bc02d=_0x3948cf;var _0x1f56c7,_0x506121,_0x285839;return(_0x285839=(_0x506121=(_0x1f56c7=this[_0x5bc02d(0x304)])[_0x5bc02d(0x5b7)])==null?void 0x0:_0x506121['call'](_0x1f56c7,_0x47a1c7))!=null?_0x285839:_0x47a1c7;}[_0x3948cf(0x3a4)](_0x48f63b){const _0x425fd5=_0x3948cf;var _0x886327,_0x3c520e;if(this['type']===_0x50449d[_0x425fd5(0x30c)]){const {unitID:_0x4a4e27,mutations:_0x8b0831,memberID:_0x1897b1}=_0x48f63b,_0x181156=_0x8b0831[0x0]['params'][_0x425fd5(0x27b)];Array['isArray'](_0x181156)&&_0x181156['length']>0x0&&((_0x3c520e=(_0x886327=this[_0x425fd5(0x304)])[_0x425fd5(0x388)])==null||_0x3c520e[_0x425fd5(0x56a)](_0x886327,{'unitID':_0x4a4e27,'memberID':_0x1897b1,'textRanges':_0x181156}));}}[_0x3948cf(0x4c3)](){const _0x4daeda=_0x3948cf;this[_0x4daeda(0x337)][_0x4daeda(0x223)](this[_0x4daeda(0x397)],this[_0x4daeda(0x181)],this[_0x4daeda(0x185)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x211269=_0x3948cf;return this[_0x211269(0x14d)]['getCurrentRevOfUnit'](this[_0x211269(0x397)]);}[_0x3948cf(0x251)](){const _0x1d2e35=_0x3948cf;this[_0x1d2e35(0x14d)][_0x1d2e35(0x1bb)](this[_0x1d2e35(0x397)]);}[_0x3948cf(0x561)](_0x5a4574){const _0x9acc8e=_0x3948cf;var _0x3566cf;let _0x3c7ec1=this[_0x9acc8e(0x45f)](_0x5a4574);_0x3c7ec1=this[_0x9acc8e(0x4ae)](_0x3c7ec1);const _0x5df24a=_0x223914[_0x9acc8e(0x469)](_0x3c7ec1['mutations'],this[_0x9acc8e(0x1b9)],{'fromCollab':!0x0});if(!_0x5df24a['result'])throw _0x5df24a[_0x9acc8e(0x41b)]instanceof Error?_0x5df24a[_0x9acc8e(0x41b)]:new Error((_0x3566cf=_0x5df24a[_0x9acc8e(0x41b)])!=null?_0x3566cf:'[CollaborationState]:\x20apply\x20error!');this[_0x9acc8e(0x158)](_0x3c7ec1),this[_0x9acc8e(0x49e)](_0x3c7ec1),this['_transformUndoredo'](_0x5a4574),this[_0x9acc8e(0x4fe)](_0x3c7ec1),this[_0x9acc8e(0x3a4)](_0x3c7ec1),this['_incrementRevisionNumber']();}}let _0x21ae29=class extends _0xb2b441{constructor(_0x7816cb,_0x2572f5,_0x1571eb,_0x46b947,_0x307293,_0x3df2f2,_0x4c2cb6,_0x3ff9fd,_0x52ee5e,_0x4d7a12){const _0x5eb063=_0x3948cf;super(_0x7816cb,_0x2572f5,null,[],_0x1571eb,_0x3ff9fd,_0x4c2cb6,_0x46b947,_0x307293),_0xeb55cc(this,_0x5eb063(0x5e2),_0x5eb063(0x507)),(this[_0x5eb063(0x488)]=_0x3df2f2,this[_0x5eb063(0x3fb)]=_0x52ee5e,this['_transformService']=_0x4d7a12);}[_0x3948cf(0x2e2)](_0x81261c){const _0x481262=_0x3948cf,_0x429f89=this['_injector']['createInstance'](_0x7c6960,this[_0x481262(0x397)],this[_0x481262(0x181)],[_0x81261c],this['_handler']);return _0x429f89['_schedule'](),_0x429f89[_0x481262(0x4c3)](),_0x429f89;}['onRemoteChangeset'](_0x3a01f4){const _0x362e89=_0x3948cf;if(this['_checkMissing'](_0x3a01f4))return this[_0x362e89(0x488)][_0x362e89(0x565)](_0x5e1d3d,this['unitID'],this[_0x362e89(0x181)],null,[],null,[_0x3a01f4],this[_0x362e89(0x304)]);try{const _0x5ddb1f=this[_0x362e89(0x42b)][_0x362e89(0x57d)](_0x3a01f4,[_0x2669ac]);if(_0x9ea725[_0x362e89(0x333)](_0x5ddb1f)){const {c1Prime:_0xd16170}=_0x5ddb1f;return this[_0x362e89(0x561)](_0xd16170),this;}throw _0x5ddb1f['error'];}catch(_0x1464c7){return this[_0x362e89(0x3fb)][_0x362e89(0x41b)](_0x1464c7),this[_0x362e89(0x408)](!0x1);}}['_onConflict'](_0x15d694){const _0x1abfc0=_0x3948cf;return this[_0x1abfc0(0x488)][_0x1abfc0(0x565)](_0x580845,this['unitID'],this['type'],null,[],this[_0x1abfc0(0x304)],_0x15d694);}[_0x3948cf(0x544)](){const _0x381c16=_0x3948cf;throw new Error(_0x381c16(0x1a9));}[_0x3948cf(0x327)](){const _0x4b5e46=_0x3948cf;throw new Error(_0x4b5e46(0x2e5));}[_0x3948cf(0x26c)](){return this;}[_0x3948cf(0x387)](){const _0x4b5e2d=_0x3948cf;return this[_0x4b5e2d(0x488)]['createInstance'](_0x3caa94,this[_0x4b5e2d(0x397)],this['type'],null,[],this[_0x4b5e2d(0x304)]);}[_0x3948cf(0x4b6)](){return this;}['resend'](){const _0x19d36f=_0x3948cf;throw new Error(_0x19d36f(0x1b1));}[_0x3948cf(0x463)](){const _0x422ae2=_0x3948cf,_0x4e5262=this['_revisionService'][_0x422ae2(0x356)](this[_0x422ae2(0x397)]);return this[_0x422ae2(0x304)][_0x422ae2(0x36f)]({'from':_0x4e5262,'to':0x0}),this['_injector'][_0x422ae2(0x565)](_0x5e1d3d,this[_0x422ae2(0x397)],this[_0x422ae2(0x181)],null,[],null,[],this['_handler']);}};_0x21ae29=_0x348bbc([_0x6d8d82(0x3,_0x223914[_0x3948cf(0x25f)](_0x9ea725[_0x3948cf(0x364)])),_0x6d8d82(0x4,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x30e)])),_0x6d8d82(0x5,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x6d8d82(0x6,_0x223914[_0x3948cf(0x4d1)]),_0x6d8d82(0x7,_0x223914[_0x3948cf(0x38e)]),_0x6d8d82(0x8,_0x223914[_0x3948cf(0x5b0)]),_0x6d8d82(0x9,_0x9ea725[_0x3948cf(0x1b6)])],_0x21ae29);let _0x7c6960=class extends _0xb2b441{constructor(_0x432c1c,_0x10e4ac,_0x3e0755,_0x4a8d86,_0x381e19,_0x3eb87b,_0x65e282,_0x41496d,_0xd7e151,_0x10e37b,_0x3e243a,_0x533297,_0x38e817,_0x2d1ee6){const _0x17bba9=_0x3948cf;super(_0x432c1c,_0x10e4ac,null,_0x3e0755,_0x4a8d86,_0x10e37b,_0x2d1ee6,_0x3eb87b,_0x65e282),_0xeb55cc(this,'status','pending'),_0xeb55cc(this,'_scheduleTimestamp',null),_0xeb55cc(this,_0x17bba9(0x199),null),(this[_0x17bba9(0x488)]=_0x381e19,this[_0x17bba9(0x438)]=_0x41496d,this['_logService']=_0xd7e151,this[_0x17bba9(0x164)]=_0x3e243a,this[_0x17bba9(0x42b)]=_0x533297,this['_univerInstanceService']=_0x38e817);}[_0x3948cf(0x2e2)](_0x4d4fd5){const _0x112447=_0x3948cf;return this[_0x112447(0x48f)][_0x112447(0x4ef)](_0x4d4fd5),this[_0x112447(0x4c3)](),this;}[_0x3948cf(0x5d8)](_0x29f491){const _0x5b7f47=_0x3948cf;if(this[_0x5b7f47(0x225)](_0x29f491))return this[_0x5b7f47(0x241)](),this[_0x5b7f47(0x488)][_0x5b7f47(0x565)](_0x5e1d3d,this[_0x5b7f47(0x397)],this[_0x5b7f47(0x181)],null,this[_0x5b7f47(0x48f)],null,[_0x29f491],this[_0x5b7f47(0x304)]);try{const _0xb81994=this[_0x5b7f47(0x42b)]['transformMutationsWithChangeset'](_0x29f491,this[_0x5b7f47(0x48f)]);if(_0x9ea725[_0x5b7f47(0x333)](_0xb81994)){const {c1Prime:_0x245315,m2Prime:_0x36b5a2}=_0xb81994;this[_0x5b7f47(0x561)](_0x245315);const _0x4c8684=this[_0x5b7f47(0x488)][_0x5b7f47(0x565)](_0x7c6960,this['unitID'],this['type'],_0x36b5a2,this['_handler']);return this[_0x5b7f47(0x241)](),_0x4c8684[_0x5b7f47(0x4ca)](this['_scheduleTimestamp']?Math[_0x5b7f47(0x4d5)](0x0,new Date()['getTime']()-this[_0x5b7f47(0x524)]):this['_getSendChangesetTimeout']()),_0x4c8684;}throw _0xb81994[_0x5b7f47(0x41b)];}catch(_0x479905){return this[_0x5b7f47(0x3fb)][_0x5b7f47(0x41b)](_0x479905),this[_0x5b7f47(0x408)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3948cf(0x327)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3948cf(0x26c)](){return this;}[_0x3948cf(0x387)](){const _0x2c06d6=_0x3948cf;return this[_0x2c06d6(0x241)](),this[_0x2c06d6(0x488)]['createInstance'](_0x3caa94,this[_0x2c06d6(0x397)],this[_0x2c06d6(0x181)],null,this[_0x2c06d6(0x48f)],this[_0x2c06d6(0x304)]);}[_0x3948cf(0x4b6)](){return this;}['_schedule'](_0xe609ef){const _0x3fcf2e=_0x3948cf,_0x24ac6c=_0xe609ef!=null?_0xe609ef:this[_0x3fcf2e(0x432)]();this[_0x3fcf2e(0x524)]=new Date()[_0x3fcf2e(0x230)](),this[_0x3fcf2e(0x199)]=window[_0x3fcf2e(0x3da)](()=>{const _0x467b7d=_0x3fcf2e;this['_clearScheduledTask']();let _0x297c99=null;switch(this[_0x467b7d(0x181)]){case _0x50449d['UNIVER_SHEET']:{_0x297c99=_0x34c099(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x467b7d(0x14d)],this[_0x467b7d(0x438)]);break;}case _0x50449d[_0x467b7d(0x30c)]:{this[_0x467b7d(0x48f)][_0x467b7d(0x374)](_0x33b735=>_0x33b735['id']===_0x4a2356['RichTextEditingMutation']['id'])?_0x297c99=_0x13b41b(this['_pendingMutations'],this[_0x467b7d(0x397)],this[_0x467b7d(0x4ba)],this[_0x467b7d(0x14d)],this['_memberService']):_0x297c99=_0x34c099(this['_pendingMutations'],this[_0x467b7d(0x397)],this[_0x467b7d(0x4ba)],this[_0x467b7d(0x14d)],this[_0x467b7d(0x438)]);break;}default:throw new Error(_0x467b7d(0x48d)+this[_0x467b7d(0x181)]+_0x467b7d(0x13f));}const {changeset:_0x335a67,pendingMutations:_0x52be7e}=_0x297c99;this['_handler'][_0x467b7d(0x4e1)](_0x335a67);const _0xb9e1d5=_0x52be7e[_0x467b7d(0x24c)]?this[_0x467b7d(0x488)][_0x467b7d(0x565)](_0x435bfd,this[_0x467b7d(0x397)],this[_0x467b7d(0x181)],_0x335a67,_0x52be7e,this[_0x467b7d(0x304)],void 0x0):this[_0x467b7d(0x488)]['createInstance'](_0x8286ca,this[_0x467b7d(0x397)],this[_0x467b7d(0x181)],_0x335a67,this[_0x467b7d(0x304)]);_0xb9e1d5[_0x467b7d(0x4c3)](),this[_0x467b7d(0x304)][_0x467b7d(0x249)](this,_0xb9e1d5);},_0x24ac6c);}[_0x3948cf(0x432)](){const _0xf4f718=_0x3948cf;var _0x391117;const _0x31e8f6=this[_0xf4f718(0x164)]['getConfig'](_0x59012f);return(_0x391117=_0x31e8f6==null?void 0x0:_0x31e8f6['sendChangesetTimeout'])!=null?_0x391117:0x7d0;}[_0x3948cf(0x486)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3948cf(0x241)](){const _0x239ee9=_0x3948cf;this[_0x239ee9(0x199)]!=null&&(clearTimeout(this[_0x239ee9(0x199)]),this['_sendingTimer']=null);}[_0x3948cf(0x408)](_0x5d80ac){const _0x415d49=_0x3948cf;return this[_0x415d49(0x241)](),this[_0x415d49(0x488)]['createInstance'](_0x580845,this[_0x415d49(0x397)],this['type'],null,this[_0x415d49(0x48f)],this[_0x415d49(0x304)],_0x5d80ac);}};_0x7c6960=_0x348bbc([_0x6d8d82(0x4,_0x223914[_0x3948cf(0x25f)](_0x223914['Injector'])),_0x6d8d82(0x5,_0x223914['Inject'](_0x9ea725[_0x3948cf(0x364)])),_0x6d8d82(0x6,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x30e)])),_0x6d8d82(0x7,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x48b)])),_0x6d8d82(0x8,_0x223914[_0x3948cf(0x5b0)]),_0x6d8d82(0x9,_0x223914[_0x3948cf(0x38e)]),_0x6d8d82(0xa,_0x223914[_0x3948cf(0x1ff)]),_0x6d8d82(0xb,_0x9ea725['ITransformService']),_0x6d8d82(0xc,_0x223914[_0x3948cf(0x2dd)]),_0x6d8d82(0xd,_0x223914[_0x3948cf(0x4d1)])],_0x7c6960);let _0x8286ca=class extends _0xb2b441{constructor(_0x488e38,_0x5d00d2,_0x2d775c,_0x4c1cde,_0x361e41,_0x2565e3,_0x21eab6,_0x339e55,_0xb7f4dc,_0x12bca1,_0x4c01ca){const _0x3ca637=_0x3948cf;super(_0x488e38,_0x5d00d2,_0x2d775c,[],_0x4c1cde,_0x339e55,_0x4c01ca,_0x2565e3,_0x21eab6),_0xeb55cc(this,_0x3ca637(0x5e2),'awaiting'),_0xeb55cc(this,_0x3ca637(0x53d),0x0),_0xeb55cc(this,_0x3ca637(0x3fe)),_0xeb55cc(this,'_sender'),(this[_0x3ca637(0x488)]=_0x361e41,this['_logService']=_0xb7f4dc,this[_0x3ca637(0x42b)]=_0x12bca1);}[_0x3948cf(0x2e2)](_0x2cd735){const _0x33c790=_0x3948cf;this[_0x33c790(0x241)]();const _0x25b2eb=this[_0x33c790(0x488)]['createInstance'](_0x435bfd,this[_0x33c790(0x397)],this[_0x33c790(0x181)],this[_0x33c790(0x185)],[_0x2cd735],this[_0x33c790(0x304)],this[_0x33c790(0x3fe)]);return _0x25b2eb['_updateLocalCache'](),_0x25b2eb;}['onRemoteChangeset'](_0x11fe5d){const _0x2597c4=_0x3948cf;if(this[_0x2597c4(0x225)](_0x11fe5d))return this[_0x2597c4(0x241)](),this[_0x2597c4(0x488)][_0x2597c4(0x565)](_0x5e1d3d,this[_0x2597c4(0x397)],this[_0x2597c4(0x181)],this[_0x2597c4(0x185)],[],null,[_0x11fe5d],this[_0x2597c4(0x304)]);try{const _0x1cd51d=this[_0x2597c4(0x42b)]['transformChangesets']([_0x11fe5d],[this['_awaitingChangeset']],!0x1);if(_0x9ea725[_0x2597c4(0x558)](_0x1cd51d)){const {c1Prime:_0x3651d8,c2Prime:_0x308ecd}=_0x1cd51d;this[_0x2597c4(0x561)](_0x3651d8[0x0]),_0x308ecd[0x0][_0x2597c4(0x3f0)]=this[_0x2597c4(0x3b5)](),this[_0x2597c4(0x241)]();const _0x367b4b=this[_0x2597c4(0x488)][_0x2597c4(0x565)](_0x8286ca,this[_0x2597c4(0x397)],this[_0x2597c4(0x181)],_0x308ecd[0x0],this['_handler']);return _0x367b4b[_0x2597c4(0x4c3)](),_0x367b4b;}return this[_0x2597c4(0x408)](!0x1);}catch(_0x34ba14){return this[_0x2597c4(0x3fb)][_0x2597c4(0x41b)](_0x34ba14),this[_0x2597c4(0x408)](!0x1);}}[_0x3948cf(0x544)](_0x1d2a80){const _0x1f8749=_0x3948cf;this[_0x1f8749(0x241)]();const _0x11def4=this[_0x1f8749(0x14d)][_0x1f8749(0x356)](this[_0x1f8749(0x397)]);if(_0x1d2a80['revision']<_0x11def4-0x1)return this;if(this[_0x1f8749(0x225)](_0x1d2a80))return this[_0x1f8749(0x488)]['createInstance'](_0x5e1d3d,this['unitID'],this[_0x1f8749(0x181)],null,[],this[_0x1f8749(0x185)],[],this[_0x1f8749(0x304)]);this[_0x1f8749(0x251)]();const _0x5961c6=this[_0x1f8749(0x488)][_0x1f8749(0x565)](_0x21ae29,this[_0x1f8749(0x397)],this[_0x1f8749(0x181)],this[_0x1f8749(0x304)]);return _0x5961c6[_0x1f8749(0x4c3)](),_0x5961c6;}[_0x3948cf(0x327)](_0x46fdef){const _0x62a896=_0x3948cf;return this[_0x62a896(0x408)](!!(_0x46fdef!=null&&_0x46fdef[_0x62a896(0x150)]));}['onRemoteRetry'](_0x18fccc){const _0x457c8c=_0x3948cf;return this['_resendTimeout']>_0x123174?this[_0x457c8c(0x387)]():(this['_resendTimer']=_0x3f7431(this[_0x457c8c(0x53d)],{'timeout':this[_0x457c8c(0x53d)],'reqId':_0x18fccc[_0x457c8c(0x46a)]}),this[_0x457c8c(0x5c2)]=this[_0x457c8c(0x3fe)][_0x457c8c(0x577)](({reqId:_0x3cdbd3,timeout:_0x3e498b})=>{const _0x31c057=_0x457c8c;this[_0x31c057(0x184)](_0x3cdbd3,_0x3e498b);}),this);}[_0x3948cf(0x387)](){const _0x34569b=_0x3948cf;return this['_clearScheduledTask'](),this[_0x34569b(0x488)]['createInstance'](_0x3caa94,this[_0x34569b(0x397)],this[_0x34569b(0x181)],this[_0x34569b(0x185)],[],this[_0x34569b(0x304)]);}[_0x3948cf(0x4b6)](){return this;}[_0x3948cf(0x486)](){const _0x3d470b=_0x3948cf;this['_handler'][_0x3d470b(0x4e1)](this[_0x3d470b(0x185)]);}['_onConflict'](_0x11394c){const _0x98f2a=_0x3948cf;return this['_clearScheduledTask'](),this['_injector'][_0x98f2a(0x565)](_0x580845,this[_0x98f2a(0x397)],this[_0x98f2a(0x181)],this[_0x98f2a(0x185)],[],this[_0x98f2a(0x304)],_0x11394c);}[_0x3948cf(0x184)](_0x1a0a93,_0x310c9c){const _0x4d7bfe=_0x3948cf;var _0x278e0e;_0x1a0a93===((_0x278e0e=this[_0x4d7bfe(0x185)])==null?void 0x0:_0x278e0e[_0x4d7bfe(0x46a)])&&(this[_0x4d7bfe(0x486)](),this[_0x4d7bfe(0x53d)]=_0x310c9c===0x0?0x3e8:_0x310c9c*0x2);}[_0x3948cf(0x241)](){const _0xf508a0=_0x3948cf;var _0x5a255f;(_0x5a255f=this[_0xf508a0(0x5c2)])==null||_0x5a255f[_0xf508a0(0x4b1)](),this[_0xf508a0(0x53d)]=0x0;}};_0x8286ca=_0x348bbc([_0x6d8d82(0x4,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x6d8d82(0x5,_0x223914['Inject'](_0x9ea725[_0x3948cf(0x364)])),_0x6d8d82(0x6,_0x223914[_0x3948cf(0x25f)](_0x24454f['LocalCacheService'])),_0x6d8d82(0x7,_0x223914[_0x3948cf(0x38e)]),_0x6d8d82(0x8,_0x223914[_0x3948cf(0x5b0)]),_0x6d8d82(0x9,_0x9ea725['ITransformService']),_0x6d8d82(0xa,_0x223914[_0x3948cf(0x4d1)])],_0x8286ca);let _0x435bfd=class extends _0xb2b441{constructor(_0x2f6483,_0x26a870,_0x1ce5b6,_0x4ad809,_0x251ac7,_0x5db8ae,_0x2f44a2,_0x4c7208,_0x3bb1f0,_0x1d4b90,_0x16be20,_0x230922,_0x1c960d){const _0x311f07=_0x3948cf;super(_0x2f6483,_0x26a870,_0x1ce5b6,_0x4ad809,_0x251ac7,_0x1d4b90,_0x1c960d,_0x4c7208,_0x3bb1f0),_0xeb55cc(this,_0x311f07(0x5e2),'awaiting_with_pending'),_0xeb55cc(this,'_resendTimeout',0x0),_0xeb55cc(this,_0x311f07(0x3fe)),_0xeb55cc(this,_0x311f07(0x5c2)),(this[_0x311f07(0x488)]=_0x2f44a2,this[_0x311f07(0x3fb)]=_0x16be20,this[_0x311f07(0x42b)]=_0x230922,_0x5db8ae&&(this[_0x311f07(0x3fe)]=_0x5db8ae,this[_0x311f07(0x5c2)]=this[_0x311f07(0x3fe)]['subscribe'](({reqId:_0x8cfc18,timeout:_0x28dff5})=>{const _0x33e1a3=_0x311f07;this[_0x33e1a3(0x184)](_0x8cfc18,_0x28dff5);})));}[_0x3948cf(0x2e2)](_0x198f52){const _0x576562=_0x3948cf;return this['_pendingMutations'][_0x576562(0x4ef)](_0x198f52),this;}[_0x3948cf(0x5d8)](_0x1f7105){const _0x427404=_0x3948cf;if(this[_0x427404(0x225)](_0x1f7105))return this[_0x427404(0x241)](),this['_injector'][_0x427404(0x565)](_0x5e1d3d,this['unitID'],this[_0x427404(0x181)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1f7105],this[_0x427404(0x304)]);try{const _0x431499=this[_0x427404(0x42b)][_0x427404(0x4dd)]([_0x1f7105],[this[_0x427404(0x185)]],!0x1);if(_0x9ea725['isTransformChangesetsSuccess'](_0x431499)){const {c1Prime:_0x7cd7c5,c2Prime:_0x44c676}=_0x431499,_0x144cf2=this['_transformService'][_0x427404(0x57d)](_0x7cd7c5[0x0],this[_0x427404(0x48f)]);if(_0x9ea725['isTransformMutationsWithChangesetSuccess'](_0x144cf2)){const {c1Prime:_0x935973,m2Prime:_0x28d595}=_0x144cf2;return this[_0x427404(0x561)](_0x935973),_0x44c676[0x0][_0x427404(0x3f0)]=this['_getCurrentRevision'](),this[_0x427404(0x241)](),this['_injector'][_0x427404(0x565)](_0x435bfd,this[_0x427404(0x397)],this[_0x427404(0x181)],_0x44c676[0x0],_0x28d595,this[_0x427404(0x304)],void 0x0);}throw _0x144cf2['error'];}throw _0x431499[_0x427404(0x41b)];}catch(_0x9bc52){return this[_0x427404(0x3fb)]['error'](_0x9bc52),this[_0x427404(0x408)](!0x1);}}['onRemoteAck'](_0xf21772){const _0x35d03c=_0x3948cf;if(this[_0x35d03c(0x241)](),this['_checkMissing'](_0xf21772))return this[_0x35d03c(0x488)]['createInstance'](_0x5e1d3d,this['unitID'],this['type'],null,this[_0x35d03c(0x48f)],this['_awaitingChangeset'],[],this[_0x35d03c(0x304)]);this[_0x35d03c(0x251)]();const _0x1e1aee=this['_injector'][_0x35d03c(0x565)](_0x7c6960,this[_0x35d03c(0x397)],this[_0x35d03c(0x181)],this[_0x35d03c(0x48f)],this[_0x35d03c(0x304)]);return _0x1e1aee[_0x35d03c(0x4ca)](),_0x1e1aee[_0x35d03c(0x4c3)](),_0x1e1aee;}[_0x3948cf(0x327)](_0x4fd2f8){const _0x1f52f0=_0x3948cf;return this['_onConflict'](!!(_0x4fd2f8!=null&&_0x4fd2f8[_0x1f52f0(0x150)]));}[_0x3948cf(0x26c)](_0x2e2a92){const _0x375509=_0x3948cf;return this[_0x375509(0x53d)]>_0x123174?this[_0x375509(0x387)]():(this[_0x375509(0x3fe)]=_0x3f7431(this[_0x375509(0x53d)],{'timeout':this[_0x375509(0x53d)],'reqId':_0x2e2a92['reqId']}),this[_0x375509(0x5c2)]=this[_0x375509(0x3fe)]['subscribe'](({reqId:_0x3898bb,timeout:_0xfec1b})=>{this['_resendWithTimeout'](_0x3898bb,_0xfec1b);}),this);}['toggleOffline'](){const _0x42d5f7=_0x3948cf;return this[_0x42d5f7(0x241)](),this[_0x42d5f7(0x488)][_0x42d5f7(0x565)](_0x3caa94,this[_0x42d5f7(0x397)],this['type'],this['_awaitingChangeset'],this[_0x42d5f7(0x48f)],this[_0x42d5f7(0x304)]);}['toggleOnline'](){return this;}[_0x3948cf(0x486)](){const _0x483f48=_0x3948cf;this[_0x483f48(0x304)][_0x483f48(0x4e1)](this[_0x483f48(0x185)]);}[_0x3948cf(0x408)](_0x330f06){const _0x422a74=_0x3948cf;return this['_clearScheduledTask'](),this[_0x422a74(0x488)][_0x422a74(0x565)](_0x580845,this[_0x422a74(0x397)],this[_0x422a74(0x181)],null,this['_pendingMutations'],this[_0x422a74(0x304)],_0x330f06);}[_0x3948cf(0x184)](_0x1ee5de,_0x269faf){const _0x45fca8=_0x3948cf;var _0x1c8531;_0x1ee5de===((_0x1c8531=this[_0x45fca8(0x185)])==null?void 0x0:_0x1c8531[_0x45fca8(0x46a)])&&(this[_0x45fca8(0x486)](),this[_0x45fca8(0x53d)]=_0x269faf===0x0?0x3e8:_0x269faf*0x2);}[_0x3948cf(0x241)](){const _0x3d4318=_0x3948cf;var _0x2cf96c;(_0x2cf96c=this[_0x3d4318(0x5c2)])==null||_0x2cf96c[_0x3d4318(0x4b1)](),this['_resendTimeout']=0x0;}};_0x435bfd=_0x348bbc([_0x6d8d82(0x6,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x6d8d82(0x7,_0x223914[_0x3948cf(0x25f)](_0x9ea725['RevisionService'])),_0x6d8d82(0x8,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x30e)])),_0x6d8d82(0x9,_0x223914[_0x3948cf(0x38e)]),_0x6d8d82(0xa,_0x223914[_0x3948cf(0x5b0)]),_0x6d8d82(0xb,_0x9ea725[_0x3948cf(0x1b6)]),_0x6d8d82(0xc,_0x223914['IUndoRedoService'])],_0x435bfd);let _0x580845=class extends _0xb2b441{constructor(_0x95c94c,_0x2ea2b7,_0x412d81,_0x7c022b,_0x5df9f9,_0x798054=!0x1,_0x47ccdf,_0x2fbecb,_0x54a3ce,_0x40c007,_0x29bef6,_0x181123,_0x30671c){const _0x589806=_0x3948cf;super(_0x95c94c,_0x2ea2b7,_0x412d81,_0x7c022b,_0x5df9f9,_0x2fbecb,_0x54a3ce,_0x29bef6,_0x40c007),_0xeb55cc(this,_0x589806(0x5e2),'conflict'),(this[_0x589806(0x4d4)]=_0x798054,this[_0x589806(0x1c5)]=_0x47ccdf,this[_0x589806(0x147)]=_0x181123,this[_0x589806(0x542)]=_0x30671c,this[_0x589806(0x610)](),this[_0x589806(0x174)](),this['_disableEditing']());}[_0x3948cf(0x2e2)](){return this;}['onRemoteChangeset'](){return this;}[_0x3948cf(0x544)](){return this;}[_0x3948cf(0x327)](){return this;}[_0x3948cf(0x26c)](){return this;}[_0x3948cf(0x387)](){return this;}['toggleOnline'](){return this;}[_0x3948cf(0x486)](){const _0x5c961b=_0x3948cf;throw new Error(_0x5c961b(0x425));}['_clearLocalCache'](){const _0x5de32e=_0x3948cf;this['_localCacheService'][_0x5de32e(0x223)](this['unitID'],this['type'],null,[]);}[_0x3948cf(0x610)](){const _0x1140db=_0x3948cf;this[_0x1140db(0x4d4)]?this[_0x1140db(0x542)]['show']({'title':this[_0x1140db(0x147)]['t'](_0x1140db(0x4f5)),'content':this[_0x1140db(0x147)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x1140db(0x542)][_0x1140db(0x46e)]({'title':this['_localeService']['t'](_0x1140db(0x3ba)),'content':this[_0x1140db(0x147)]['t'](_0x1140db(0x398)),'type':_0x1140db(0x41b),'duration':0x0});}['_disableEditing'](){const _0x4ba9a5=_0x3948cf;this['_permissionService'][_0x4ba9a5(0x18e)](new _0x59e5a9['WorkbookEditablePermission'](this[_0x4ba9a5(0x397)])['id'],!0x1);}};_0x580845=_0x348bbc([_0x6d8d82(0x6,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x1ac)])),_0x6d8d82(0x7,_0x223914[_0x3948cf(0x38e)]),_0x6d8d82(0x8,_0x223914[_0x3948cf(0x4d1)]),_0x6d8d82(0x9,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x30e)])),_0x6d8d82(0xa,_0x223914[_0x3948cf(0x25f)](_0x9ea725[_0x3948cf(0x364)])),_0x6d8d82(0xb,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x570)])),_0x6d8d82(0xc,_0x405b11['INotificationService'])],_0x580845);let _0x3caa94=class extends _0xb2b441{constructor(_0x454cb8,_0x42a577,_0x4b81ed,_0x5a012c,_0x1b2fd9,_0x61d8a8,_0x3df635,_0x3b2217,_0x5b4e8e,_0x291145){const _0x5364f9=_0x3948cf;super(_0x454cb8,_0x42a577,_0x4b81ed,_0x5a012c,_0x1b2fd9,_0x5b4e8e,_0x291145,_0x3df635,_0x3b2217),_0xeb55cc(this,_0x5364f9(0x5e2),'offline'),this[_0x5364f9(0x488)]=_0x61d8a8;}['appendMutation'](_0x28589b){const _0x30af65=_0x3948cf;return this['_pendingMutations']['push'](_0x28589b),this[_0x30af65(0x4c3)](),this;}[_0x3948cf(0x5d8)](_0x4812d8){const _0x67c638=_0x3948cf;throw new Error(_0x67c638(0x52a));}[_0x3948cf(0x544)](){const _0x50c4ea=_0x3948cf;throw new Error(_0x50c4ea(0x4a4));}[_0x3948cf(0x327)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3948cf(0x26c)](){return this;}[_0x3948cf(0x387)](){return this;}[_0x3948cf(0x4b6)](){const {_injector:_0x4c57ab,_pendingMutations:_0xb49d3a,_awaitingChangeset:_0x1da9d0,unitID:_0x599a31,_handler:_0x565105,type:_0x392f10}=this,_0x100d25=_0x246506(_0x4c57ab,_0x599a31,_0x392f10,_0x1da9d0,_0xb49d3a,_0x565105);return _0x100d25 instanceof _0x7c6960?_0x100d25['_schedule']():(_0x100d25 instanceof _0x435bfd||_0x100d25 instanceof _0x8286ca)&&_0x100d25['resend'](),_0x100d25;}[_0x3948cf(0x486)](){const _0x4a3ea2=_0x3948cf;throw new Error(_0x4a3ea2(0x215));}};_0x3caa94=_0x348bbc([_0x6d8d82(0x5,_0x223914['Inject'](_0x223914[_0x3948cf(0x478)])),_0x6d8d82(0x6,_0x223914[_0x3948cf(0x25f)](_0x9ea725[_0x3948cf(0x364)])),_0x6d8d82(0x7,_0x223914[_0x3948cf(0x25f)](_0x24454f['LocalCacheService'])),_0x6d8d82(0x8,_0x223914[_0x3948cf(0x38e)]),_0x6d8d82(0x9,_0x223914[_0x3948cf(0x4d1)])],_0x3caa94);let _0x5e1d3d=class extends _0xb2b441{constructor(_0xdcd87a,_0x3cbbd3,_0x5aa37c,_0x23d339,_0x3b64df,_0x368354,_0x3dd909,_0x3b1e44,_0x478cad,_0xadfc77,_0xb8a5ea,_0x2476e9,_0x1c739a,_0x20348e){const _0x56cf9a=_0x3948cf;super(_0xdcd87a,_0x3cbbd3,_0x5aa37c,_0x23d339,_0x3dd909,_0x2476e9,_0x1c739a,_0x478cad,_0xadfc77),_0xeb55cc(this,_0x56cf9a(0x5e2),_0x56cf9a(0x1df)),(this[_0x56cf9a(0x2ef)]=_0x3b64df,this[_0x56cf9a(0x2ac)]=_0x368354,this[_0x56cf9a(0x488)]=_0x3b1e44,this['_logService']=_0xb8a5ea,this[_0x56cf9a(0x42b)]=_0x20348e);}[_0x3948cf(0x550)](_0x69d640){const _0x5ec534=_0x3948cf;try{const _0xbabc3c=[..._0x69d640,...this[_0x5ec534(0x2ac)]],_0x53944e=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x5ec534(0x256)](_0x542757=>!!_0x542757);let _0x28a46d,_0x47af11;if(_0x53944e['length']){const _0x4a79a4=this[_0x5ec534(0x42b)]['transformChangesets'](_0xbabc3c,_0x53944e,!0x1);if(!_0x9ea725[_0x5ec534(0x558)](_0x4a79a4))throw _0x4a79a4[_0x5ec534(0x41b)];_0x28a46d=_0x4a79a4[_0x5ec534(0x257)],_0x47af11=_0x4a79a4[_0x5ec534(0x50d)];}else _0x28a46d=_0xbabc3c,_0x47af11=[];let _0x719499=this[_0x5ec534(0x48f)];_0x28a46d[_0x5ec534(0x24f)](_0x30738b=>{const _0x3c3b09=_0x5ec534;let _0x5a36fe;if(_0x719499['length']){const _0x19ac8f=this['_transformService'][_0x3c3b09(0x57d)](_0x30738b,_0x719499);if(!_0x9ea725[_0x3c3b09(0x333)](_0x19ac8f))throw _0x19ac8f[_0x3c3b09(0x41b)];_0x5a36fe=_0x19ac8f['c1Prime'],_0x719499=_0x19ac8f[_0x3c3b09(0x521)];}else _0x5a36fe=_0x30738b;this[_0x3c3b09(0x561)](_0x5a36fe);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5ec534(0x251)](),this[_0x5ec534(0x185)]&&_0x47af11[_0x5ec534(0x24c)]&&(_0x47af11[0x0][_0x5ec534(0x3f0)]=this[_0x5ec534(0x3b5)]());let _0x13ce86;if(this[_0x5ec534(0x185)]&&_0x719499[_0x5ec534(0x24c)]!==0x0)_0x13ce86=this[_0x5ec534(0x488)]['createInstance'](_0x435bfd,this[_0x5ec534(0x397)],this[_0x5ec534(0x181)],_0x47af11[0x0],_0x719499,this[_0x5ec534(0x304)],void 0x0);else{if(this[_0x5ec534(0x185)]&&_0x719499[_0x5ec534(0x24c)]===0x0)_0x47af11[0x0][_0x5ec534(0x3f0)]=this[_0x5ec534(0x3b5)](),_0x13ce86=this[_0x5ec534(0x488)]['createInstance'](_0x8286ca,this[_0x5ec534(0x397)],this[_0x5ec534(0x181)],_0x47af11[0x0],this[_0x5ec534(0x304)]);else{if(_0x719499['length']!==0x0){const _0x4cbc26=this[_0x5ec534(0x488)][_0x5ec534(0x565)](_0x7c6960,this['unitID'],this[_0x5ec534(0x181)],_0x719499,this[_0x5ec534(0x304)]);_0x4cbc26[_0x5ec534(0x4ca)](),_0x13ce86=_0x4cbc26;}else _0x13ce86=this['_injector'][_0x5ec534(0x565)](_0x21ae29,this[_0x5ec534(0x397)],this[_0x5ec534(0x181)],this[_0x5ec534(0x304)]);}}return _0x13ce86[_0x5ec534(0x4c3)](),_0x13ce86;}catch(_0x563be7){return this[_0x5ec534(0x3fb)][_0x5ec534(0x41b)](_0x5ec534(0x4e7),_0x5ec534(0x44d),_0x563be7),this[_0x5ec534(0x488)][_0x5ec534(0x565)](_0x580845,this[_0x5ec534(0x397)],this[_0x5ec534(0x181)],this[_0x5ec534(0x185)],this[_0x5ec534(0x48f)],this['_handler'],!0x1);}}[_0x3948cf(0x486)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3948cf(0x2e2)](_0x26c9a2){const _0xd397ff=_0x3948cf;return this[_0xd397ff(0x48f)]['push'](_0x26c9a2),this;}[_0x3948cf(0x5d8)](_0x55edcf){const _0x4b79bf=_0x3948cf;return this[_0x4b79bf(0x2ac)][_0x4b79bf(0x4ef)](_0x55edcf),this;}[_0x3948cf(0x544)](_0x4d331f){const _0x218b00=_0x3948cf;if(this[_0x218b00(0x185)])return this['_acknowledgedAwaitingChangeset']=this[_0x218b00(0x185)],this['_awaitingChangeset']=null,this;throw new Error(_0x218b00(0x1e2));}['onRemoteRej'](_0x543d9a){const _0x202c20=_0x3948cf;return this[_0x202c20(0x408)](!!(_0x543d9a!=null&&_0x543d9a[_0x202c20(0x150)]));}[_0x3948cf(0x26c)](){return this;}['toggleOffline'](){const _0x5c34be=_0x3948cf;return this[_0x5c34be(0x488)]['createInstance'](_0x3caa94,this[_0x5c34be(0x397)],this[_0x5c34be(0x181)],this[_0x5c34be(0x185)],this['_pendingMutations'],this[_0x5c34be(0x304)]);}[_0x3948cf(0x4b6)](){return this;}[_0x3948cf(0x408)](_0x672815){const _0x16026a=_0x3948cf;return this[_0x16026a(0x488)]['createInstance'](_0x580845,this[_0x16026a(0x397)],this[_0x16026a(0x181)],this[_0x16026a(0x185)],this[_0x16026a(0x48f)],this[_0x16026a(0x304)],_0x672815);}};_0x5e1d3d=_0x348bbc([_0x6d8d82(0x7,_0x223914[_0x3948cf(0x25f)](_0x223914['Injector'])),_0x6d8d82(0x8,_0x223914['Inject'](_0x9ea725[_0x3948cf(0x364)])),_0x6d8d82(0x9,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x30e)])),_0x6d8d82(0xa,_0x223914['ILogService']),_0x6d8d82(0xb,_0x223914['ICommandService']),_0x6d8d82(0xc,_0x223914[_0x3948cf(0x4d1)]),_0x6d8d82(0xd,_0x9ea725[_0x3948cf(0x1b6)])],_0x5e1d3d);function _0x246506(_0x37bdf5,_0x1dee9e,_0x40a3e5,_0x2fa199,_0x556819,_0x507529){const _0x10892f=_0x3948cf;return _0x2fa199&&_0x556819[_0x10892f(0x24c)]?_0x37bdf5[_0x10892f(0x565)](_0x435bfd,_0x1dee9e,_0x40a3e5,_0x2fa199,_0x556819,_0x507529,void 0x0):_0x2fa199?_0x37bdf5[_0x10892f(0x565)](_0x8286ca,_0x1dee9e,_0x40a3e5,_0x2fa199,_0x507529):_0x556819['length']?_0x37bdf5['createInstance'](_0x7c6960,_0x1dee9e,_0x40a3e5,_0x556819,_0x507529):_0x37bdf5[_0x10892f(0x565)](_0x21ae29,_0x1dee9e,_0x40a3e5,_0x507529);}var _0x109a62=Object[_0x3948cf(0x149)],_0xf02ee2=Object[_0x3948cf(0x16b)],_0x33de33=(_0x5ea1ba,_0x3525c1,_0x277d03,_0x41e19c)=>{for(var _0x25dff9=_0x41e19c>0x1?void 0x0:_0x41e19c?_0xf02ee2(_0x3525c1,_0x277d03):_0x3525c1,_0x3ab126=_0x5ea1ba['length']-0x1,_0x511e78;_0x3ab126>=0x0;_0x3ab126--)(_0x511e78=_0x5ea1ba[_0x3ab126])&&(_0x25dff9=(_0x41e19c?_0x511e78(_0x3525c1,_0x277d03,_0x25dff9):_0x511e78(_0x25dff9))||_0x25dff9);return _0x41e19c&&_0x25dff9&&_0x109a62(_0x3525c1,_0x277d03,_0x25dff9),_0x25dff9;},_0x15ab00=(_0x524d97,_0x1f5307)=>(_0x422be9,_0x550fc6)=>_0x1f5307(_0x422be9,_0x550fc6,_0x524d97);_0x24454f[_0x3948cf(0x40f)]=class extends _0x223914[_0x3948cf(0x52f)]{constructor(_0x29be48,_0x260b8c,_0x23f619,_0x2586c4,_0x3ccf06,_0x432823,_0x289fd1,_0xb54bab,_0x5cb39c,_0x180462,_0x885119,_0x9c7e28,_0x16a3a6){const _0x37331e=_0x3948cf;super(),_0xeb55cc(this,'_state$',new _0x3fbd04[(_0x37331e(0x2e0))](null)),_0xeb55cc(this,_0x37331e(0x3a9),this['_state$'][_0x37331e(0x29a)]()),_0xeb55cc(this,_0x37331e(0x379)),_0xeb55cc(this,_0x37331e(0x22f),!0x1),_0xeb55cc(this,_0x37331e(0x2c9),''),_0xeb55cc(this,_0x37331e(0x5c1),0x0),_0xeb55cc(this,_0x37331e(0x55f),this[_0x37331e(0x3a9)][_0x37331e(0x3c1)](_0x3fbd04[_0x37331e(0x26b)](_0x2591ab=>_0x2591ab?_0x2591ab[_0x37331e(0x5e2)]:_0x1de127[_0x37331e(0x239)]),_0x3fbd04[_0x37331e(0x410)](0x1))),_0xeb55cc(this,_0x37331e(0x42a),!0x1),_0xeb55cc(this,_0x37331e(0x5dd),[]),(this[_0x37331e(0x397)]=_0x29be48,this[_0x37331e(0x4d6)]=_0x260b8c,this[_0x37331e(0x5fb)]=_0x23f619,this[_0x37331e(0x488)]=_0x2586c4,this[_0x37331e(0x337)]=_0x3ccf06,this[_0x37331e(0x510)]=_0x432823,this[_0x37331e(0x147)]=_0x289fd1,this[_0x37331e(0x14d)]=_0xb54bab,this[_0x37331e(0x3fb)]=_0x5cb39c,this[_0x37331e(0x1b9)]=_0x180462,this['_messageService']=_0x885119,this[_0x37331e(0x1c5)]=_0x9c7e28,this['_singleActiveUnitService']=_0x16a3a6);}get['state'](){const _0x349a93=_0x3948cf;return this[_0x349a93(0x379)];}async[_0x3948cf(0x49a)](){const _0x580c5c=_0x3948cf;if(this[_0x580c5c(0x452)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x580c5c(0x528)]();}[_0x3948cf(0x563)](){const _0xacb21b=_0x3948cf;return this['_collaborationPaused']=!0x0,_0x223914[_0xacb21b(0x238)](()=>{const _0x329c06=_0xacb21b;this[_0x329c06(0x22f)]=!0x1,this[_0x329c06(0x57b)]();});}[_0x3948cf(0x319)](_0x1f395c){const _0x22fb88=_0x3948cf;this[_0x22fb88(0x379)]=_0x1f395c,this[_0x22fb88(0x41d)][_0x22fb88(0x490)](_0x1f395c);}async[_0x3948cf(0x528)](){const _0x72fe9e=_0x3948cf;var _0x2c4239;this[_0x72fe9e(0x319)](await this[_0x72fe9e(0x204)]()),this['_singleActiveUnitService']&&((_0x2c4239=this[_0x72fe9e(0x1bd)])==null||_0x2c4239[_0x72fe9e(0x590)](this[_0x72fe9e(0x397)]),this[_0x72fe9e(0x345)](this[_0x72fe9e(0x1bd)]['getUnitStatus$'](this[_0x72fe9e(0x397)])[_0x72fe9e(0x577)](_0x57c29b=>{const _0x224e00=_0x72fe9e;this[_0x224e00(0x3fb)][_0x224e00(0x346)]('[CollaborationEntity]',_0x224e00(0x32f),_0x57c29b),_0x57c29b===_0x4ef9dc['OTHER_CLIENTS_EDITING']?(this[_0x224e00(0x14c)][_0x224e00(0x46e)]({'content':this[_0x224e00(0x147)]['t'](_0x224e00(0x427)),'type':_0x3fa11f[_0x224e00(0x21a)][_0x224e00(0x143)]}),this[_0x224e00(0x1c5)][_0x224e00(0x18e)](new _0x59e5a9[(_0x224e00(0x263))](this[_0x224e00(0x397)])['id'],!0x1),this[_0x224e00(0x1c5)][_0x224e00(0x14e)](!0x1)):(this[_0x224e00(0x1c5)][_0x224e00(0x18e)](new _0x59e5a9['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this['_permissionService'][_0x224e00(0x14e)](!0x0));})));let _0x2825d7=!0x1;return this[_0x72fe9e(0x345)](this[_0x72fe9e(0x4d6)]['sessionStatus$']['subscribe'](_0x8db13c=>{const _0x522c55=_0x72fe9e;_0x8db13c===_0x1efc5b[_0x522c55(0x3c6)]?this[_0x522c55(0x25a)](_0x2825d7):_0x8db13c===_0x1efc5b[_0x522c55(0x239)]&&(_0x2825d7=!0x0,this[_0x522c55(0x196)]());})),this[_0x72fe9e(0x345)](this['session'][_0x72fe9e(0x581)][_0x72fe9e(0x577)](_0x526250=>{const _0x14f2b2=_0x72fe9e;try{switch(_0x526250[_0x14f2b2(0x5ea)]){case _0x9ea725[_0x14f2b2(0x140)][_0x14f2b2(0x234)]:{this['_onRemoteChangeset'](_0x9ea725[_0x14f2b2(0x1eb)](_0x526250['data']));break;}case _0x9ea725[_0x14f2b2(0x140)][_0x14f2b2(0x31c)]:{this[_0x14f2b2(0x5df)](_0x526250['data']);break;}case _0x9ea725[_0x14f2b2(0x140)]['CHANGESET_REJ']:{this[_0x14f2b2(0x1e9)]();break;}case _0x9ea725[_0x14f2b2(0x140)][_0x14f2b2(0x5e5)]:{this[_0x14f2b2(0x428)](_0x526250[_0x14f2b2(0x390)]);break;}case _0x9ea725[_0x14f2b2(0x140)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x14f2b2(0x553)](_0x526250['data'][_0x14f2b2(0x2d6)]['map'](_0x577047=>_0x9ea725[_0x14f2b2(0x1eb)](_0x577047)));break;}case _0x9ea725[_0x14f2b2(0x140)][_0x14f2b2(0x288)]:this[_0x14f2b2(0x1e9)]({'isPermissionRej':!0x0});}}catch(_0xe53bcd){throw console[_0x14f2b2(0x41b)](_0x14f2b2(0x572),_0xe53bcd),_0xe53bcd;}})),this[_0x72fe9e(0x379)];}[_0x3948cf(0x2ff)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x22ec04=_0x3948cf;if(this['_transitionLocked'])throw new Error(_0x22ec04(0x1de));this[_0x22ec04(0x42a)]=!0x0;}['_onLocalMutation'](_0xd3644){const _0x172d3a=_0x3948cf;this[_0x172d3a(0x1b0)](),this[_0x172d3a(0x319)](this[_0x172d3a(0x379)][_0x172d3a(0x2e2)](_0xd3644)),this['_unlockTransition']();}[_0x3948cf(0x273)](_0x3f9138){const _0xdbe2a7=_0x3948cf;if(!(_0x3f9138[_0xdbe2a7(0x1fc)]<=this['_revisionService'][_0xdbe2a7(0x356)](this[_0xdbe2a7(0x397)]))){if(this[_0xdbe2a7(0x22f)]){this[_0xdbe2a7(0x5dd)][_0xdbe2a7(0x4ef)](_0x3f9138);return;}this['_applyRemoteChangeset'](_0x3f9138);}}[_0x3948cf(0x57b)](){const _0x22f8f3=_0x3948cf;this['_remoteChangesetQueue'][_0x22f8f3(0x24f)](_0xc72c25=>this[_0x22f8f3(0x2f4)](_0xc72c25)),this[_0x22f8f3(0x5dd)]=[];}[_0x3948cf(0x2f4)](_0x9b8079){const _0x180011=_0x3948cf,_0x52ad8c=this[_0x180011(0x510)][_0x180011(0x4e9)]['fetchThroughInterceptors'](this[_0x180011(0x510)]['interceptor']['getInterceptPoints']()[_0x180011(0x148)])(_0x9b8079['mutations'],null)||_0x9b8079[_0x180011(0x53f)],_0x909732={..._0x9b8079,'mutations':_0x52ad8c};this[_0x180011(0x1b0)](),this[_0x180011(0x319)](this[_0x180011(0x379)][_0x180011(0x5d8)](_0x909732)),this[_0x180011(0x2ff)]();}['_onRemoteACK'](_0x14f405){const _0x31da55=_0x3948cf;this[_0x31da55(0x1b0)](),this['_updateState'](this[_0x31da55(0x379)]['onRemoteAck'](_0x14f405)),this[_0x31da55(0x2ff)]();}['_onRemoteRejected'](_0x2f0ba8){const _0x3a0ad0=_0x3948cf;this['_lockTransition'](),this[_0x3a0ad0(0x319)](this[_0x3a0ad0(0x379)]['onRemoteRej'](_0x2f0ba8)),this[_0x3a0ad0(0x2ff)]();}[_0x3948cf(0x428)](_0x1991ae){const _0x39af81=_0x3948cf;this['_lockTransition'](),this[_0x39af81(0x319)](this['_state'][_0x39af81(0x26c)](_0x1991ae)),this['_unlockTransition']();}[_0x3948cf(0x553)](_0x4a253b){const _0x47fc99=_0x3948cf;if(!(this[_0x47fc99(0x379)]instanceof _0x5e1d3d))throw new TypeError(_0x47fc99(0x4d0));const _0x3ccb5d=_0x4a253b[_0x47fc99(0x26b)](_0x596ec4=>{const _0x33e17b=_0x47fc99,_0x4f8a1e=this[_0x33e17b(0x510)][_0x33e17b(0x4e9)][_0x33e17b(0x5ca)](this[_0x33e17b(0x510)]['interceptor'][_0x33e17b(0x5b8)]()[_0x33e17b(0x148)])(_0x596ec4['mutations'],null)||_0x596ec4[_0x33e17b(0x53f)];return{..._0x596ec4,'mutations':_0x4f8a1e};});this[_0x47fc99(0x1b0)](),this[_0x47fc99(0x319)](this[_0x47fc99(0x379)][_0x47fc99(0x550)](_0x3ccb5d)),this[_0x47fc99(0x2ff)]();}['_toggleOffline'](){const _0x8a45f2=_0x3948cf;this['_lockTransition'](),this['_updateState'](this['_state']['toggleOffline']()),this[_0x8a45f2(0x2ff)]();}[_0x3948cf(0x25a)](_0x12a2fb=!0x1){const _0x324fac=_0x3948cf;this[_0x324fac(0x1b0)](),this['_updateState'](this[_0x324fac(0x379)][_0x324fac(0x4b6)]()),this[_0x324fac(0x2ff)]();const _0xdae838=this[_0x324fac(0x379)];_0x12a2fb&&_0xdae838 instanceof _0x21ae29&&(this[_0x324fac(0x1b0)](),this['_updateState'](_0xdae838['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x4c789c=>{const _0x50f050=_0x5201;this['session'][_0x50f050(0x343)]['pipe'](_0x3fbd04[_0x50f050(0x2b5)](0x1))[_0x50f050(0x577)](async _0x2fc7de=>{const _0xb3a784=_0x50f050;_0x4c789c(await this[_0xb3a784(0x2f8)](_0x2fc7de===_0x1efc5b[_0xb3a784(0x3c6)]));});});}[_0x3948cf(0x53e)](){const _0xd7bee0=_0x3948cf,_0x37b340=this[_0xd7bee0(0x397)];return{'onStateChange':(_0x5ee213,_0x4c0e0d)=>{const _0x5eeb10=_0xd7bee0;if(_0x5ee213!==this[_0x5eeb10(0x379)])throw new Error(_0x5eeb10(0x4f0)+_0x5ee213[_0x5eeb10(0x5e2)]+_0x5eeb10(0x34b)+_0x4c0e0d['status']+_0x5eeb10(0x4e2)+this[_0x5eeb10(0x379)][_0x5eeb10(0x5e2)]);this[_0x5eeb10(0x319)](_0x4c0e0d);},'onSendChangeset':_0x1850a4=>{const _0x131f39=_0xd7bee0;_0x1850a4['sid']||(_0x1850a4[_0x131f39(0x2a8)]=this[_0x131f39(0x2c9)],_0x1850a4[_0x131f39(0x46a)]=++this['_changesetReqId']);const _0x209aa7={'eventID':_0x9ea725[_0x131f39(0x140)][_0x131f39(0x506)],'data':{'unitID':_0x1850a4[_0x131f39(0x397)],'unitType':this[_0x131f39(0x5fb)],'changeset':_0x1850a4,'memberID':this[_0x131f39(0x4d6)][_0x131f39(0x1d1)]()}};this[_0x131f39(0x4d6)]['send'](_0x209aa7,this[_0x131f39(0x397)]);},'onMissingChangesets':({from:_0x14ac57,to:_0x2e99ae})=>{const _0x5ed0c0=_0xd7bee0;this['_logService'][_0x5ed0c0(0x346)](_0x5ed0c0(0x442),'fetching\x20missing\x20changesets\x20from\x20'+_0x14ac57+_0x5ed0c0(0x439)+_0x2e99ae);const _0x184e3e={'eventID':_0x9ea725[_0x5ed0c0(0x140)][_0x5ed0c0(0x17e)],'data':{'unitID':_0x37b340,'unitType':this[_0x5ed0c0(0x5fb)],'from':_0x14ac57,'to':_0x2e99ae}};this[_0x5ed0c0(0x4d6)][_0x5ed0c0(0x28f)](_0x184e3e,this[_0x5ed0c0(0x397)]);}};}async[_0x3948cf(0x2f8)](_0x34f27d){const _0x39f396=_0x3948cf;var _0x4e56f0,_0x123bcb;const _0xb88c81=await this['_localCacheService'][_0x39f396(0x546)](this[_0x39f396(0x397)]),_0x2ae731=(_0x4e56f0=_0xb88c81==null?void 0x0:_0xb88c81[_0x39f396(0x53f)])!=null?_0x4e56f0:[],_0x20d7ab=(_0x123bcb=_0xb88c81==null?void 0x0:_0xb88c81[_0x39f396(0x348)])!=null?_0x123bcb:null,_0x225730=!!(_0x20d7ab!=null&&_0x20d7ab[_0x39f396(0x2a8)])&&!!(_0x20d7ab!=null&&_0x20d7ab[_0x39f396(0x46a)]);this[_0x39f396(0x2c9)]=_0x225730?_0x20d7ab[_0x39f396(0x2a8)]:_0x1a222b(),this[_0x39f396(0x5c1)]=_0x225730?_0x20d7ab[_0x39f396(0x46a)]:0x0;const _0x53692b=this[_0x39f396(0x397)];try{this['_replayCachedMutations'](_0x20d7ab,_0x2ae731);}catch(_0x2dc79e){this[_0x39f396(0x3fb)]['error'](_0x2dc79e);}const _0x229c28=this['_createHandler']();if(_0x34f27d){const _0x3be8c9=_0x246506(this[_0x39f396(0x488)],_0x53692b,this[_0x39f396(0x5fb)],_0x20d7ab,_0x2ae731,_0x229c28);return _0x3be8c9 instanceof _0x7c6960?_0x3be8c9[_0x39f396(0x4ca)]():(_0x3be8c9 instanceof _0x435bfd||_0x3be8c9 instanceof _0x8286ca)&&_0x3be8c9['resend'](),_0x3be8c9;}return this[_0x39f396(0x488)]['createInstance'](_0x3caa94,_0x53692b,this[_0x39f396(0x5fb)],_0x20d7ab,_0x2ae731,_0x229c28);}[_0x3948cf(0x246)](_0x104bc4,_0x261c2c){const _0x11dfff=_0x3948cf;var _0x480965,_0x216a99;const _0x27a0fc=this[_0x11dfff(0x510)][_0x11dfff(0x4e9)][_0x11dfff(0x5ca)](this['_compressMutationService']['interceptor'][_0x11dfff(0x5b8)]()[_0x11dfff(0x148)]);(_0x480965=_0x27a0fc((_0x104bc4==null?void 0x0:_0x104bc4['mutations'])||[],null))==null||_0x480965[_0x11dfff(0x24f)](_0x18ea26=>this['_commandService'][_0x11dfff(0x3d0)](_0x18ea26['id'],_0x18ea26[_0x11dfff(0x54d)])),(_0x216a99=_0x27a0fc(_0x261c2c||[],null))==null||_0x216a99['forEach'](_0x397ca1=>this[_0x11dfff(0x1b9)][_0x11dfff(0x3d0)](_0x397ca1['id'],_0x397ca1[_0x11dfff(0x54d)]));}},_0x24454f[_0x3948cf(0x40f)]=_0x33de33([_0x15ab00(0x3,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x15ab00(0x4,_0x223914['Inject'](_0x24454f[_0x3948cf(0x30e)])),_0x15ab00(0x5,_0x223914[_0x3948cf(0x25f)](_0x9ea725['CompressMutationService'])),_0x15ab00(0x6,_0x223914['Inject'](_0x223914[_0x3948cf(0x570)])),_0x15ab00(0x7,_0x223914['Inject'](_0x9ea725['RevisionService'])),_0x15ab00(0x8,_0x223914[_0x3948cf(0x5b0)]),_0x15ab00(0x9,_0x223914['ICommandService']),_0x15ab00(0xa,_0x405b11[_0x3948cf(0x1cc)]),_0x15ab00(0xb,_0x223914[_0x3948cf(0x1ac)]),_0x15ab00(0xc,_0x223914[_0x3948cf(0x2b9)](_0x1b2f34))],_0x24454f['CollaborationEntity']),_0x24454f['DocCollaborationEntity']=class extends _0x24454f[_0x3948cf(0x40f)]{constructor(_0x2a077a,_0x996b05,_0x19cf81,_0x14b06a,_0x30739d,_0x584de9,_0x581449,_0x198b54,_0x5275ef,_0x41d984,_0x103417,_0xaa2a7d,_0x5778cc,_0x5463e8,_0x26d8cb,_0x12d2b0,_0x44cbc6,_0x202d71){const _0x10bff7=_0x3948cf;super(_0x2a077a,_0x19cf81,_0x996b05,_0x14b06a,_0x30739d,_0x584de9,_0x581449,_0x198b54,_0x5463e8,_0x26d8cb,_0x12d2b0,_0x44cbc6,_0x202d71),this[_0x10bff7(0x397)]=_0x2a077a,this[_0x10bff7(0x181)]=_0x996b05,this['_docStateChangeManagerService']=_0x5275ef,this[_0x10bff7(0x286)]=_0x41d984,this[_0x10bff7(0x359)]=_0x103417,this['_docTransformSelectionsService']=_0xaa2a7d,this['_docSyncEditingCollabCursorService']=_0x5778cc;}['_createHandler'](){const _0x5b4e5a=_0x3948cf,_0x27d3dd=super[_0x5b4e5a(0x53e)]();return _0x27d3dd[_0x5b4e5a(0x20a)]=_0x31f7b3=>this['_docTransformIMECacheService'][_0x5b4e5a(0x549)](_0x31f7b3),_0x27d3dd[_0x5b4e5a(0x322)]=_0x18a088=>this['_docTransformStateCacheService'][_0x5b4e5a(0x2c2)](_0x18a088),_0x27d3dd['onTransformSelections']=_0x9bffaf=>this['_docTransformSelectionsService']['transformSelections'](_0x9bffaf),_0x27d3dd[_0x5b4e5a(0x388)]=_0xf3801f=>this[_0x5b4e5a(0x531)][_0x5b4e5a(0x3bf)](_0xf3801f),_0x27d3dd[_0x5b4e5a(0x57e)]=_0x3aad3d=>this[_0x5b4e5a(0x286)][_0x5b4e5a(0x5b4)](_0x3aad3d),_0x27d3dd[_0x5b4e5a(0x5b7)]=_0x31ba24=>this['_docTransformStateCacheService'][_0x5b4e5a(0x5b4)](_0x31ba24),_0x27d3dd;}async[_0x3948cf(0x528)](){const _0x54bd44=_0x3948cf,_0x38861d=await super['_init']();return this['_docStateChangeManagerService'][_0x54bd44(0x608)][_0x54bd44(0x3c1)](_0x3fbd04[_0x54bd44(0x233)](this[_0x54bd44(0x1a1)]))[_0x54bd44(0x577)](_0x3eeef6=>{const _0x518c48=_0x54bd44;if(_0x3eeef6==null)return;const {unitId:_0xe16916,redoState:_0x56a9e4,commandId:_0x53000a}=_0x3eeef6;if(_0xe16916!==this['unitID'])return;const _0x2fab2a={'id':_0x53000a,'type':_0x223914[_0x518c48(0x203)][_0x518c48(0x5c5)],'params':{'unitId':_0xe16916,'actions':_0x56a9e4[_0x518c48(0x352)],'textRanges':null}};this['_onLocalMutation'](_0x2fab2a);}),_0x38861d;}},_0x24454f[_0x3948cf(0x19f)]=_0x33de33([_0x15ab00(0x3,_0x223914['Inject'](_0x223914[_0x3948cf(0x478)])),_0x15ab00(0x4,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x30e)])),_0x15ab00(0x5,_0x223914[_0x3948cf(0x25f)](_0x9ea725['CompressMutationService'])),_0x15ab00(0x6,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x570)])),_0x15ab00(0x7,_0x223914['Inject'](_0x9ea725[_0x3948cf(0x364)])),_0x15ab00(0x8,_0x223914[_0x3948cf(0x25f)](_0x13e81e[_0x3948cf(0x534)])),_0x15ab00(0x9,_0x223914[_0x3948cf(0x25f)](_0x2e6349)),_0x15ab00(0xa,_0x223914[_0x3948cf(0x25f)](_0x5cf7bf)),_0x15ab00(0xb,_0x223914[_0x3948cf(0x25f)](_0x5cbe2c)),_0x15ab00(0xc,_0x223914[_0x3948cf(0x25f)](_0x4de645)),_0x15ab00(0xd,_0x223914[_0x3948cf(0x5b0)]),_0x15ab00(0xe,_0x223914[_0x3948cf(0x38e)]),_0x15ab00(0xf,_0x405b11[_0x3948cf(0x1cc)]),_0x15ab00(0x10,_0x223914[_0x3948cf(0x1ac)]),_0x15ab00(0x11,_0x223914[_0x3948cf(0x2b9)](_0x1b2f34))],_0x24454f[_0x3948cf(0x19f)]),_0x24454f[_0x3948cf(0x4cc)]=class extends _0x24454f['CollaborationEntity']{constructor(_0x133968,_0x50e276,_0x51c256,_0x5da431,_0x2cfa65,_0x44df37,_0x2a8c6d,_0x39e7f2,_0x5d69db,_0x3a4780,_0x405665,_0x51ac95,_0xee6512,_0x4e752d){const _0x498120=_0x3948cf;super(_0x133968,_0x51c256,_0x50e276,_0x5da431,_0x2cfa65,_0x44df37,_0x2a8c6d,_0x39e7f2,_0x3a4780,_0x405665,_0x51ac95,_0xee6512,_0x4e752d),this[_0x498120(0x397)]=_0x133968,this['type']=_0x50e276,this[_0x498120(0x51b)]=_0x5d69db;}[_0x3948cf(0x53e)](){const _0x5dc575=_0x3948cf,_0x5c092a=super[_0x5dc575(0x53e)]();return _0x5c092a['onTransformSelections']=_0x2f2f36=>this[_0x5dc575(0x51b)][_0x5dc575(0x2e1)](_0x2f2f36),_0x5c092a;}async[_0x3948cf(0x528)](){const _0x238aa3=_0x3948cf,_0x547770=await super[_0x238aa3(0x528)]();return this[_0x238aa3(0x345)](this[_0x238aa3(0x1b9)][_0x238aa3(0x509)]((_0x1c3f00,_0x1837a9)=>{const _0x3ac587=_0x238aa3;if(_0x1c3f00['type']!==_0x223914[_0x3ac587(0x203)][_0x3ac587(0x5c5)]||_0x1837a9!=null&&_0x1837a9[_0x3ac587(0x5e8)]||_0x1837a9!=null&&_0x1837a9[_0x3ac587(0x585)])return;const _0x166d86=_0x1c3f00[_0x3ac587(0x54d)];if((_0x166d86==null?void 0x0:_0x166d86[_0x3ac587(0x362)])!==this['unitID'])return;const _0x4f3511=_0x1c3f00,_0x28bdbf=this[_0x3ac587(0x510)][_0x3ac587(0x4e9)]['fetchThroughInterceptors'](this[_0x3ac587(0x510)]['interceptor'][_0x3ac587(0x5b8)]()[_0x3ac587(0x40b)])([_0x4f3511],null)||[_0x4f3511];this[_0x3ac587(0x3cf)](_0x28bdbf[0x0]);})),_0x547770;}},_0x24454f['SheetCollaborationEntity']=_0x33de33([_0x15ab00(0x3,_0x223914['Inject'](_0x223914[_0x3948cf(0x478)])),_0x15ab00(0x4,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x30e)])),_0x15ab00(0x5,_0x223914['Inject'](_0x9ea725[_0x3948cf(0x494)])),_0x15ab00(0x6,_0x223914['Inject'](_0x223914[_0x3948cf(0x570)])),_0x15ab00(0x7,_0x223914['Inject'](_0x9ea725[_0x3948cf(0x364)])),_0x15ab00(0x8,_0x223914[_0x3948cf(0x25f)](_0x42d852)),_0x15ab00(0x9,_0x223914[_0x3948cf(0x5b0)]),_0x15ab00(0xa,_0x223914['ICommandService']),_0x15ab00(0xb,_0x405b11[_0x3948cf(0x1cc)]),_0x15ab00(0xc,_0x223914[_0x3948cf(0x1ac)]),_0x15ab00(0xd,_0x223914['Optional'](_0x1b2f34))],_0x24454f[_0x3948cf(0x4cc)]);var _0x5588a0=Object['defineProperty'],_0x217fe1=Object[_0x3948cf(0x16b)],_0x445b70=(_0x5e6a47,_0x5dcd5e,_0xb5f5d7,_0x5bbd94)=>{const _0x56bd4b=_0x3948cf;for(var _0x1be19c=_0x5bbd94>0x1?void 0x0:_0x5bbd94?_0x217fe1(_0x5dcd5e,_0xb5f5d7):_0x5dcd5e,_0x5f0cf2=_0x5e6a47[_0x56bd4b(0x24c)]-0x1,_0x4a811e;_0x5f0cf2>=0x0;_0x5f0cf2--)(_0x4a811e=_0x5e6a47[_0x5f0cf2])&&(_0x1be19c=(_0x5bbd94?_0x4a811e(_0x5dcd5e,_0xb5f5d7,_0x1be19c):_0x4a811e(_0x1be19c))||_0x1be19c);return _0x5bbd94&&_0x1be19c&&_0x5588a0(_0x5dcd5e,_0xb5f5d7,_0x1be19c),_0x1be19c;},_0xcfdc0e=(_0x3ef3bf,_0x2eb5ef)=>(_0x19de4e,_0x15f661)=>_0x2eb5ef(_0x19de4e,_0x15f661,_0x3ef3bf);_0x24454f[_0x3948cf(0x35c)]=class extends _0x223914[_0x3948cf(0x52f)]{constructor(_0x78a52b,_0x4bda22,_0x16a185){const _0x1a8f89=_0x3948cf;super(),_0xeb55cc(this,'_entities',new Map()),_0xeb55cc(this,_0x1a8f89(0x15f),new _0x3fbd04['Subject']()),(this[_0x1a8f89(0x488)]=_0x78a52b,this[_0x1a8f89(0x253)]=_0x4bda22,this[_0x1a8f89(0x4ba)]=_0x16a185,this[_0x1a8f89(0x528)]());}[_0x3948cf(0x287)](){const _0x3d15dc=_0x3948cf;super[_0x3d15dc(0x287)](),this[_0x3d15dc(0x599)]['forEach'](_0x1b7231=>_0x1b7231[_0x3d15dc(0x287)]()),this[_0x3d15dc(0x599)][_0x3d15dc(0x2da)]();}[_0x3948cf(0x159)](_0x187ef7){const _0x45931a=_0x3948cf;var _0x272521;return(_0x272521=this['_entities'][_0x45931a(0x55a)](_0x187ef7))!=null?_0x272521:null;}['getCollabEntity$'](_0xa24c05){const _0x407d03=_0x3948cf,_0x8a424f=this[_0x407d03(0x159)](_0xa24c05);return _0x8a424f?_0x3fbd04['of'](_0x8a424f):this[_0x407d03(0x15f)][_0x407d03(0x3c1)](_0x4da2a9[_0x407d03(0x256)](_0x595c47=>_0x595c47[_0x407d03(0x397)]===_0xa24c05));}[_0x3948cf(0x528)](){const _0x26eea5=_0x3948cf;this[_0x26eea5(0x4ba)][_0x26eea5(0x42e)](_0x223914['UniverInstanceType'][_0x26eea5(0x18d)])[_0x26eea5(0x3c1)](_0x3fbd04[_0x26eea5(0x233)](this['dispose$']),_0x4da2a9[_0x26eea5(0x301)](0x10))[_0x26eea5(0x577)](async _0x4a1c68=>{const _0x434ad2=_0x26eea5,_0x560210=_0x4a1c68[_0x434ad2(0x38c)](),_0x335385=await this['_startCollaboration'](_0x560210,_0x50449d[_0x434ad2(0x18d)]);this['_entities'][_0x434ad2(0x1f2)](_0x560210,_0x335385);}),this[_0x26eea5(0x4ba)][_0x26eea5(0x42e)](_0x223914[_0x26eea5(0x53b)][_0x26eea5(0x30c)])[_0x26eea5(0x3c1)](_0x3fbd04[_0x26eea5(0x233)](this[_0x26eea5(0x1a1)]),_0x4da2a9[_0x26eea5(0x301)](0x10))[_0x26eea5(0x3c1)](_0x4da2a9[_0x26eea5(0x256)](_0x45c7c4=>!_0x45c7c4[_0x26eea5(0x38c)]()[_0x26eea5(0x285)]('__')))['subscribe'](async _0x4f5f67=>{const _0x29a966=_0x26eea5,_0x459dba=_0x4f5f67['getUnitId'](),_0x30a3b4=await this[_0x29a966(0x324)](_0x459dba,_0x50449d[_0x29a966(0x30c)]);this[_0x29a966(0x599)]['set'](_0x459dba,_0x30a3b4);}),_0x3fbd04['merge'](this[_0x26eea5(0x4ba)][_0x26eea5(0x5ae)](_0x223914[_0x26eea5(0x53b)]['UNIVER_SHEET']),this[_0x26eea5(0x4ba)]['getTypeOfUnitDisposed$'](_0x223914['UniverInstanceType'][_0x26eea5(0x30c)]))[_0x26eea5(0x3c1)](_0x3fbd04['takeUntil'](this[_0x26eea5(0x1a1)]))[_0x26eea5(0x577)](_0x3d0ce4=>{const _0x4a1d0e=_0x26eea5,_0x3c34f9=_0x3d0ce4[_0x4a1d0e(0x38c)](),_0x528424=this['_entities'][_0x4a1d0e(0x55a)](_0x3c34f9);_0x528424&&(_0x528424[_0x4a1d0e(0x287)](),this['_entities']['delete'](_0x3c34f9));});}async['_startCollaboration'](_0x16df40,_0x44f24b){const _0x5a62fb=_0x3948cf,_0x25d4af=await this['_collabSessionService'][_0x5a62fb(0x4f3)](_0x16df40),_0xf77b96=this['_injector']['createInstance'](this[_0x5a62fb(0x403)](_0x44f24b),_0x16df40,_0x44f24b,_0x25d4af);return await _0xf77b96[_0x5a62fb(0x49a)](),this[_0x5a62fb(0x15f)][_0x5a62fb(0x490)](_0xf77b96),_0xf77b96;}[_0x3948cf(0x403)](_0x17114f){const _0xb02680=_0x3948cf;switch(_0x17114f){case _0x50449d[_0xb02680(0x30c)]:return _0x24454f[_0xb02680(0x19f)];case _0x50449d[_0xb02680(0x18d)]:return _0x24454f[_0xb02680(0x4cc)];default:throw new Error(_0xb02680(0x392)+_0x17114f);}}},_0x24454f[_0x3948cf(0x35c)]=_0x445b70([_0xcfdc0e(0x0,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0xcfdc0e(0x1,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x228)])),_0xcfdc0e(0x2,_0x223914[_0x3948cf(0x2dd)])],_0x24454f[_0x3948cf(0x35c)]);const _0x59ab9d=['purple300','jiqing500',_0x3948cf(0x576),_0x3948cf(0x551),_0x3948cf(0x4e6),_0x3948cf(0x282)];class _0x1f0109 extends _0x223914[_0x3948cf(0x2aa)]{constructor(){const _0x2272cb=_0x3948cf;super(...arguments),_0xeb55cc(this,_0x2272cb(0x37d),new Map()),_0xeb55cc(this,_0x2272cb(0x5b3),0x0);}[_0x3948cf(0x1b2)](_0x6d87d8){const _0x41143f=_0x3948cf;if(this[_0x41143f(0x37d)][_0x41143f(0x58e)](_0x6d87d8))return this[_0x41143f(0x37d)][_0x41143f(0x55a)](_0x6d87d8);const _0x31f3d9=_0x59ab9d[this['_colorIndex']];return this[_0x41143f(0x5b3)]=(this[_0x41143f(0x5b3)]+0x1)%_0x59ab9d['length'],this[_0x41143f(0x37d)][_0x41143f(0x1f2)](_0x6d87d8,_0x31f3d9),_0x31f3d9;}}var _0x19f6af=Object[_0x3948cf(0x149)],_0x3e994c=Object[_0x3948cf(0x16b)],_0x56b135=(_0x2e5591,_0x5c2194,_0x45ccd5,_0x12131d)=>{const _0x55c061=_0x3948cf;for(var _0x47eec8=_0x12131d>0x1?void 0x0:_0x12131d?_0x3e994c(_0x5c2194,_0x45ccd5):_0x5c2194,_0x2b7343=_0x2e5591[_0x55c061(0x24c)]-0x1,_0x3b502a;_0x2b7343>=0x0;_0x2b7343--)(_0x3b502a=_0x2e5591[_0x2b7343])&&(_0x47eec8=(_0x12131d?_0x3b502a(_0x5c2194,_0x45ccd5,_0x47eec8):_0x3b502a(_0x47eec8))||_0x47eec8);return _0x12131d&&_0x47eec8&&_0x19f6af(_0x5c2194,_0x45ccd5,_0x47eec8),_0x47eec8;},_0x5693ab=(_0x25729a,_0x5ca460)=>(_0x3cfe72,_0x53a69c)=>_0x5ca460(_0x3cfe72,_0x53a69c,_0x25729a);const _0x1a4e41=0x12c,_0x2bf579=0x64;let _0x3d9b3f=class extends _0x223914[_0x3948cf(0x52f)]{constructor(_0x1f9749,_0x3333bb,_0x36e642,_0x8f9026,_0x2373e3,_0x163e45,_0x35c35b,_0x2f3f22,_0x48078c){const _0x3f3e46=_0x3948cf;super(),_0xeb55cc(this,'_online',!0x1),_0xeb55cc(this,_0x3f3e46(0x528),!0x1),_0xeb55cc(this,_0x3f3e46(0x283),new _0x3fbd04[(_0x3f3e46(0x2e0))](new Map())),_0xeb55cc(this,_0x3f3e46(0x377),this['_cursorInfo$']['asObservable']()),_0xeb55cc(this,_0x3f3e46(0x1da),new _0x3fbd04[(_0x3f3e46(0x2e0))]([])),_0xeb55cc(this,_0x3f3e46(0x5b9),this['_roomMembers$'][_0x3f3e46(0x3c1)](_0x3fbd04[_0x3f3e46(0x42f)](_0x1a4e41))),_0xeb55cc(this,'_updateLocalCursor',_0x223914[_0x3f3e46(0x1aa)](_0x4c4605=>{const _0xff2a25=_0x3f3e46,_0x5e80c9={'eventID':_0x9ea725[_0xff2a25(0x140)][_0xff2a25(0x48e)],'data':{'unitID':this[_0xff2a25(0x397)],'memberID':this['_session'][_0xff2a25(0x1d1)](),'selection':_0x1ccc89(_0x4c4605)}};this[_0xff2a25(0x57c)]['send'](_0x5e80c9,this['unitID']);},_0x2bf579)),(this[_0x3f3e46(0x397)]=_0x1f9749,this['_session']=_0x3333bb,this[_0x3f3e46(0x488)]=_0x36e642,this[_0x3f3e46(0x4a5)]=_0x8f9026,this[_0x3f3e46(0x438)]=_0x2373e3,this[_0x3f3e46(0x3fa)]=_0x163e45,this[_0x3f3e46(0x42b)]=_0x35c35b,this[_0x3f3e46(0x4ba)]=_0x2f3f22,this[_0x3f3e46(0x1b9)]=_0x48078c);}get[_0x3948cf(0x2f5)](){const _0x7762e6=_0x3948cf;return this[_0x7762e6(0x283)][_0x7762e6(0x4ff)]();}get['roomMembers'](){const _0x535bf2=_0x3948cf;return this[_0x535bf2(0x1da)][_0x535bf2(0x4ff)]();}[_0x3948cf(0x287)](){const _0x4ff6da=_0x3948cf;super[_0x4ff6da(0x287)](),this[_0x4ff6da(0x283)][_0x4ff6da(0x490)](new Map()),this['_cursorInfo$'][_0x4ff6da(0x14b)](),this['_roomMembers$'][_0x4ff6da(0x490)]([]),this[_0x4ff6da(0x1da)][_0x4ff6da(0x14b)]();}['init'](){const _0x13c33e=_0x3948cf;this[_0x13c33e(0x528)]||(this['_init']=!0x0,this[_0x13c33e(0x57c)][_0x13c33e(0x343)]['pipe'](_0x3fbd04[_0x13c33e(0x233)](this[_0x13c33e(0x1a1)]))[_0x13c33e(0x577)](_0x3beebc=>{const _0x3d5501=_0x13c33e;_0x3beebc===_0x1efc5b[_0x3d5501(0x3c6)]?this[_0x3d5501(0x25a)]():this[_0x3d5501(0x196)]();}),this[_0x13c33e(0x57c)][_0x13c33e(0x581)][_0x13c33e(0x3c1)](_0x3fbd04['takeUntil'](this['dispose$']))[_0x13c33e(0x577)](_0x4b1134=>{const _0x180733=_0x13c33e,_0x33af4b=_0x4b1134[_0x180733(0x5ea)];_0x33af4b===_0x9ea725[_0x180733(0x140)][_0x180733(0x48e)]&&this[_0x180733(0x162)](_0x4b1134),_0x33af4b===_0x9ea725['CollaborationEvent'][_0x180733(0x5a3)]&&this[_0x180733(0x44a)](_0x4b1134);}),this[_0x13c33e(0x345)](this['_commandService'][_0x13c33e(0x509)](_0x251fa1=>{const _0x1fb37c=_0x13c33e,_0xb1b3a9=_0x251fa1[_0x1fb37c(0x54d)];_0xb1b3a9!=null&&this[_0x1fb37c(0x529)]&&_0x251fa1['id']===_0x4a2356['SetTextSelectionsOperation']['id']&&_0xb1b3a9['unitId']===this[_0x1fb37c(0x397)]&&_0xb1b3a9[_0x1fb37c(0x5e1)]===!0x1&&_0xb1b3a9['ranges'][_0x1fb37c(0x24c)]>0x0&&this[_0x1fb37c(0x28e)](_0xb1b3a9[_0x1fb37c(0x3e0)]);})),this[_0x13c33e(0x3fa)][_0x13c33e(0x152)][_0x13c33e(0x3c1)](_0x3fbd04[_0x13c33e(0x233)](this[_0x13c33e(0x1a1)]))['subscribe'](_0x35f688=>{const _0x16231c=_0x13c33e;if((_0x35f688==null?void 0x0:_0x35f688[_0x16231c(0x397)])!==this[_0x16231c(0x397)])return;const _0x4c513a={'eventID':_0x9ea725[_0x16231c(0x140)][_0x16231c(0x48e)],'data':_0x35f688};this[_0x16231c(0x162)](_0x4c513a);}),this[_0x13c33e(0x345)](this[_0x13c33e(0x1b9)][_0x13c33e(0x509)](_0x2b90e9=>{const _0x149ca6=_0x13c33e;if(_0x2b90e9[_0x149ca6(0x54d)]==null)return;const _0x20fe98=_0x2b90e9[_0x149ca6(0x54d)];if(_0x2b90e9['id']!==_0x4a2356['RichTextEditingMutation']['id']||_0x20fe98[_0x149ca6(0x362)]!==this['unitID'])return;const _0x5e3d7a={'id':'doc.mutation.rich-text-editing','params':_0x20fe98},_0x14a89e=this['cursorInfo'];for(const [_0x1eb3e6,_0x2446c8]of _0x14a89e){const _0x393477={'id':_0x149ca6(0x3d8),'params':{'unitId':this[_0x149ca6(0x397)],'actions':null,'textRanges':_0x2446c8[_0x149ca6(0x3e0)]}},_0x3c4772=this[_0x149ca6(0x42b)][_0x149ca6(0x212)](_0x5e3d7a,_0x393477,!0x1);if(_0x9ea725[_0x149ca6(0x375)](_0x3c4772))throw _0x3c4772['error'];_0x14a89e[_0x149ca6(0x1f2)](_0x1eb3e6,{..._0x2446c8,'ranges':_0x3c4772[_0x149ca6(0x521)][_0x149ca6(0x54d)][_0x149ca6(0x27b)]});}queueMicrotask(()=>{const _0x1012eb=_0x149ca6;this[_0x1012eb(0x283)][_0x1012eb(0x490)](_0x14a89e);});})));}[_0x3948cf(0x162)](_0xa61288){const _0x2dd09f=_0x3948cf;var _0x507f06,_0x3d35c9;const {memberID:_0x4cec20,selection:_0x49ac63}=_0xa61288[_0x2dd09f(0x390)],_0x515a13=_0x1529db(_0x49ac63),_0x1c1a77=(_0x3d35c9=(_0x507f06=this[_0x2dd09f(0x438)]['getMember'](this[_0x2dd09f(0x397)],_0x4cec20))==null?void 0x0:_0x507f06[_0x2dd09f(0x289)])!=null?_0x3d35c9:_0x2dd09f(0x4c0),_0x34c535={'color':this[_0x2dd09f(0x4a5)][_0x2dd09f(0x1b2)](_0x4cec20),'name':_0x1c1a77,'ranges':_0x515a13},_0x469f4a=this[_0x2dd09f(0x2f5)];_0x469f4a['set'](_0x4cec20,_0x34c535),this['_cursorInfo$'][_0x2dd09f(0x490)](_0x469f4a);}['_onCursorDelete'](_0x5a54f5){const _0x31a691=_0x3948cf,{memberID:_0x489092}=_0x5a54f5[_0x31a691(0x390)],_0xbe4b30=this[_0x31a691(0x2f5)];_0xbe4b30[_0x31a691(0x45a)](_0x489092),this[_0x31a691(0x283)][_0x31a691(0x490)](_0xbe4b30);}['_toggleOnline'](){const _0x6a2046=_0x3948cf;var _0x2da9fa;if(this[_0x6a2046(0x529)]=!0x0,((_0x2da9fa=this[_0x6a2046(0x4ba)][_0x6a2046(0x3ac)]())==null?void 0x0:_0x2da9fa[_0x6a2046(0x38c)]())!==this['unitID'])return;const _0x2b6133=this[_0x6a2046(0x488)]['get'](_0x4a2356[_0x6a2046(0x31a)])[_0x6a2046(0x3b4)]();Array[_0x6a2046(0x462)](_0x2b6133)&&_0x2b6133['length']>0x0&&this[_0x6a2046(0x28e)](_0x2b6133);}['_toggleOffline'](){const _0x4e1953=_0x3948cf;this[_0x4e1953(0x529)]=!0x1;}};_0x3d9b3f=_0x56b135([_0x5693ab(0x2,_0x223914[_0x3948cf(0x25f)](_0x223914['Injector'])),_0x5693ab(0x3,_0x223914['Inject'](_0x1f0109)),_0x5693ab(0x4,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x48b)])),_0x5693ab(0x5,_0x223914[_0x3948cf(0x25f)](_0x4de645)),_0x5693ab(0x6,_0x9ea725[_0x3948cf(0x1b6)]),_0x5693ab(0x7,_0x223914[_0x3948cf(0x2dd)]),_0x5693ab(0x8,_0x223914[_0x3948cf(0x38e)])],_0x3d9b3f);var _0x2f2742=Object['defineProperty'],_0x34c798=Object[_0x3948cf(0x16b)],_0x2f9bed=(_0x32a034,_0x24e73a,_0x2fd43c,_0x5d4c83)=>{const _0x541413=_0x3948cf;for(var _0x21be7c=_0x5d4c83>0x1?void 0x0:_0x5d4c83?_0x34c798(_0x24e73a,_0x2fd43c):_0x24e73a,_0x4ef739=_0x32a034[_0x541413(0x24c)]-0x1,_0x36edb5;_0x4ef739>=0x0;_0x4ef739--)(_0x36edb5=_0x32a034[_0x4ef739])&&(_0x21be7c=(_0x5d4c83?_0x36edb5(_0x24e73a,_0x2fd43c,_0x21be7c):_0x36edb5(_0x21be7c))||_0x21be7c);return _0x5d4c83&&_0x21be7c&&_0x2f2742(_0x24e73a,_0x2fd43c,_0x21be7c),_0x21be7c;},_0x18efa0=(_0x44eece,_0x34270f)=>(_0x107e97,_0x411556)=>_0x34270f(_0x107e97,_0x411556,_0x44eece);const _0x219894=0x12c,_0x4f2a6f=0x64,_0x236e6d=()=>{let _0x2a2153=[],_0x4ce0c7=!0x1;return _0x3c4316=>{const _0x3f5be6=_0x5201;_0x2a2153[_0x3f5be6(0x4ef)](_0x3c4316),_0x4ce0c7||(_0x4ce0c7=!0x0,setTimeout(()=>{const _0x45c3aa=_0x3f5be6;_0x2a2153[_0x45c3aa(0x24f)](_0x4a32ee=>_0x4a32ee()),_0x2a2153=[],_0x4ce0c7=!0x1;}));};};let _0x15bcb2=class extends _0x223914['RxDisposable']{constructor(_0x149632,_0x448861,_0x497356,_0x384729,_0x425f6d,_0x43e1ce,_0x217066,_0x3d038b){const _0x413e22=_0x3948cf;super(),_0xeb55cc(this,_0x413e22(0x529),!0x1),_0xeb55cc(this,'_init',!0x1),_0xeb55cc(this,_0x413e22(0x283),new _0x3fbd04['BehaviorSubject'](new Map())),_0xeb55cc(this,_0x413e22(0x377),this[_0x413e22(0x283)]['asObservable']()),_0xeb55cc(this,'_roomMembers$',new _0x3fbd04[(_0x413e22(0x2e0))]([])),_0xeb55cc(this,_0x413e22(0x5b9),this[_0x413e22(0x1da)][_0x413e22(0x3c1)](_0x3fbd04[_0x413e22(0x42f)](_0x219894))),_0xeb55cc(this,_0x413e22(0x28e),_0x223914[_0x413e22(0x1aa)]((_0x2d39a8,_0x15e9da)=>{const _0x9dbf9=_0x413e22,_0x31773e={'eventID':_0x9ea725[_0x9dbf9(0x140)][_0x9dbf9(0x48e)],'data':{'unitID':this[_0x9dbf9(0x397)],'memberID':this[_0x9dbf9(0x57c)][_0x9dbf9(0x1d1)](),'selection':_0x2199c2[_0x9dbf9(0x43d)](_0x2d39a8,_0x15e9da[_0x9dbf9(0x3c0)])}};this[_0x9dbf9(0x57c)][_0x9dbf9(0x28f)](_0x31773e,this[_0x9dbf9(0x397)]);},_0x4f2a6f)),(this[_0x413e22(0x397)]=_0x149632,this[_0x413e22(0x57c)]=_0x448861,this[_0x413e22(0x488)]=_0x497356,this[_0x413e22(0x4a5)]=_0x384729,this[_0x413e22(0x438)]=_0x425f6d,this[_0x413e22(0x4ba)]=_0x43e1ce,this[_0x413e22(0x1b9)]=_0x217066,this[_0x413e22(0x3b6)]=_0x3d038b);}get[_0x3948cf(0x2f5)](){const _0x1ec1b9=_0x3948cf;return this[_0x1ec1b9(0x283)][_0x1ec1b9(0x4ff)]();}get[_0x3948cf(0x412)](){const _0x380d84=_0x3948cf;return this[_0x380d84(0x1da)][_0x380d84(0x4ff)]();}[_0x3948cf(0x287)](){const _0xc4d20=_0x3948cf;super[_0xc4d20(0x287)](),this[_0xc4d20(0x283)]['next'](new Map()),this['_cursorInfo$'][_0xc4d20(0x14b)](),this['_roomMembers$'][_0xc4d20(0x490)]([]),this[_0xc4d20(0x1da)][_0xc4d20(0x14b)]();}[_0x3948cf(0x49a)](){const _0x9bd98e=_0x3948cf;this[_0x9bd98e(0x528)]||(this[_0x9bd98e(0x528)]=!0x0,this[_0x9bd98e(0x57c)][_0x9bd98e(0x343)][_0x9bd98e(0x3c1)](_0x3fbd04[_0x9bd98e(0x233)](this[_0x9bd98e(0x1a1)]))[_0x9bd98e(0x577)](_0x56724=>{const _0x3135c9=_0x9bd98e;_0x56724===_0x1efc5b['ONLINE']?this['_toggleOnline']():this[_0x3135c9(0x196)]();}),this[_0x9bd98e(0x57c)][_0x9bd98e(0x581)][_0x9bd98e(0x3c1)](_0x3fbd04[_0x9bd98e(0x233)](this[_0x9bd98e(0x1a1)]))[_0x9bd98e(0x577)](_0xc1e6ce=>{const _0x1c07e4=_0x9bd98e,_0x26d173=_0xc1e6ce['eventID'];_0x26d173===_0x9ea725[_0x1c07e4(0x140)]['UPDATE_CURSOR']&&this[_0x1c07e4(0x162)](_0xc1e6ce),_0x26d173===_0x9ea725[_0x1c07e4(0x140)][_0x1c07e4(0x5a3)]&&this[_0x1c07e4(0x44a)](_0xc1e6ce);}),this[_0x9bd98e(0x219)](),this[_0x9bd98e(0x345)](this[_0x9bd98e(0x1b9)][_0x9bd98e(0x509)](_0x4bda2a=>{const _0x22f963=_0x9bd98e;if(this[_0x22f963(0x529)]&&_0x4bda2a['id']===_0x59e5a9[_0x22f963(0x25d)]['id']&&_0x4bda2a['params']['unitId']===this['unitID']){const _0x405058=_0x4bda2a['params'];this[_0x22f963(0x28e)](_0x405058[_0x22f963(0x1e6)],_0x405058[_0x22f963(0x35b)][0x0]);}})));}['_onCursorUpdate'](_0xa0e18b){const _0x3b08d3=_0x3948cf;var _0x1edcc5,_0x3d02a8;const {memberID:_0x20b390,selection:_0x50cf27}=_0xa0e18b[_0x3b08d3(0x390)],{sheetName:_0x5abb65,range:_0x712ac8}=_0x2199c2[_0x3b08d3(0x20b)](_0x50cf27),_0x1c245c={'name':(_0x3d02a8=(_0x1edcc5=this[_0x3b08d3(0x438)][_0x3b08d3(0x1d0)](this[_0x3b08d3(0x397)],_0x20b390))==null?void 0x0:_0x1edcc5[_0x3b08d3(0x289)])!=null?_0x3d02a8:_0x3b08d3(0x4c0),'range':this['_getMergeRange'](_0x5abb65,_0x712ac8),'sheetID':_0x5abb65,'color':this[_0x3b08d3(0x4a5)][_0x3b08d3(0x1b2)](_0x20b390),'selection':_0x50cf27},_0xbf8729=this['cursorInfo'];_0xbf8729[_0x3b08d3(0x1f2)](_0x20b390,_0x1c245c),this[_0x3b08d3(0x283)]['next'](_0xbf8729);}['_onCursorDelete'](_0x200b3a){const _0x37290f=_0x3948cf,{memberID:_0x479f13}=_0x200b3a[_0x37290f(0x390)],_0x184e59=this['cursorInfo'];_0x184e59['delete'](_0x479f13),this[_0x37290f(0x283)][_0x37290f(0x490)](_0x184e59);}[_0x3948cf(0x16a)](_0xaf7f7d,_0x378012){const _0x123bb7=_0x3948cf;var _0xd6b8d2,_0x128663;const _0x1a73e9=(_0x128663=(_0xd6b8d2=this[_0x123bb7(0x4ba)][_0x123bb7(0x417)](this[_0x123bb7(0x397)]))==null?void 0x0:_0xd6b8d2[_0x123bb7(0x460)](_0xaf7f7d))==null?void 0x0:_0x128663[_0x123bb7(0x4c6)]();return(_0x1a73e9==null?void 0x0:_0x1a73e9[_0x123bb7(0x26d)](_0x778698=>_0x223914[_0x123bb7(0x461)][_0x123bb7(0x5aa)](_0x778698,_0x378012)))||_0x378012;}[_0x3948cf(0x219)](){const _0x5ebaff=_0x3948cf,_0x1aeffa=new _0x223914[(_0x5ebaff(0x382))](),_0x260890=_0x236e6d(),_0x56edf4=()=>{const _0x3ff71d=_0x5ebaff;_0x1aeffa[_0x3ff71d(0x287)]();const _0x3e966e=(_0x1378ec,_0x3d1167,_0x65f843,_0x35ce2c)=>{const _0x141ee2=_0x3ff71d;let _0x954bf6=[];switch(_0x1378ec['id']){case _0x59e5a9[_0x141ee2(0x317)][_0x141ee2(0x17a)]:{_0x954bf6=_0x59e5a9[_0x141ee2(0x4ad)](_0x1378ec,_0x35ce2c);break;}case _0x59e5a9['EffectRefRangId'][_0x141ee2(0x444)]:{_0x954bf6=_0x59e5a9[_0x141ee2(0x57a)](_0x1378ec,_0x35ce2c);break;}case _0x59e5a9[_0x141ee2(0x317)][_0x141ee2(0x465)]:{_0x954bf6=_0x59e5a9[_0x141ee2(0x573)](_0x1378ec,_0x35ce2c);break;}case _0x59e5a9[_0x141ee2(0x317)][_0x141ee2(0x1c2)]:{_0x954bf6=_0x59e5a9['handleInsertRangeMoveDown'](_0x1378ec,_0x35ce2c);break;}case _0x59e5a9['EffectRefRangId'][_0x141ee2(0x34c)]:{_0x954bf6=_0x59e5a9[_0x141ee2(0x202)](_0x1378ec,_0x35ce2c);break;}case _0x59e5a9['EffectRefRangId'][_0x141ee2(0x3a8)]:{_0x954bf6=_0x59e5a9[_0x141ee2(0x3c7)](_0x1378ec,_0x35ce2c);break;}case _0x59e5a9[_0x141ee2(0x317)][_0x141ee2(0x5f9)]:{_0x954bf6=_0x59e5a9[_0x141ee2(0x597)](_0x1378ec,_0x35ce2c);break;}case _0x59e5a9[_0x141ee2(0x317)][_0x141ee2(0x5e7)]:{_0x954bf6=_0x59e5a9[_0x141ee2(0x22b)](_0x1378ec,_0x35ce2c);break;}case _0x59e5a9['EffectRefRangId'][_0x141ee2(0x296)]:{_0x954bf6=_0x59e5a9[_0x141ee2(0x567)](_0x1378ec,_0x35ce2c);break;}}const _0x2da787=_0x59e5a9[_0x141ee2(0x4eb)](_0x954bf6,_0x35ce2c),_0x199be0=this[_0x141ee2(0x2f5)][_0x141ee2(0x55a)](_0x3d1167);if(_0x199be0&&_0x2da787){const _0x35737e={..._0x199be0,'range':_0x2da787};this['cursorInfo']['set'](_0x3d1167,_0x35737e),_0x260890(()=>{const _0x4421f4=_0x141ee2,_0x59f98d=this[_0x4421f4(0x3b6)][_0x4421f4(0x175)](_0x2da787,_0x3771b1=>(_0x59f98d['dispose'](),_0x3e966e(_0x3771b1,_0x3d1167,_0x65f843,_0x2da787)));_0x1aeffa[_0x4421f4(0x240)](_0x59f98d);});}return{'redos':[],'undos':[]};};this[_0x3ff71d(0x2f5)][_0x3ff71d(0x24f)]((_0xdc2308,_0x24d38b)=>{const _0x11f810=_0x3ff71d,{range:_0x3dcbfd,sheetID:_0x588629}=_0xdc2308,_0x1a98b2=this['_refRangeService'][_0x11f810(0x175)](_0x3dcbfd,_0x41fc09=>(_0x1a98b2[_0x11f810(0x287)](),_0x3e966e(_0x41fc09,_0x24d38b,_0x588629,_0x3dcbfd)));_0x1aeffa['add'](_0x1a98b2);});};this[_0x5ebaff(0x345)](_0x223914[_0x5ebaff(0x238)](this[_0x5ebaff(0x283)]['subscribe'](()=>{_0x56edf4();})));}[_0x3948cf(0x25a)](){const _0x5d5548=_0x3948cf;var _0x5c6ec6,_0x10645d;if(this[_0x5d5548(0x529)]=!0x0,((_0x5c6ec6=this[_0x5d5548(0x4ba)][_0x5d5548(0x3ac)]())==null?void 0x0:_0x5c6ec6[_0x5d5548(0x38c)]())!==this[_0x5d5548(0x397)])return;const _0x22b1a0=(_0x10645d=this['_injector'][_0x5d5548(0x55a)](_0x59e5a9['SheetsSelectionsService'])[_0x5d5548(0x21e)]())==null?void 0x0:_0x10645d[0x0],_0x10c48b=this['_univerInstanceService']['getCurrentUnitForType'](_0x223914[_0x5d5548(0x53b)]['UNIVER_SHEET'])[_0x5d5548(0x3d2)]();_0x22b1a0&&_0x10c48b&&this[_0x5d5548(0x28e)](_0x10c48b[_0x5d5548(0x1b4)](),_0x22b1a0);}[_0x3948cf(0x196)](){const _0x4df74a=_0x3948cf;this[_0x4df74a(0x529)]=!0x1;}};_0x15bcb2=_0x2f9bed([_0x18efa0(0x2,_0x223914[_0x3948cf(0x25f)](_0x223914['Injector'])),_0x18efa0(0x3,_0x223914['Inject'](_0x1f0109)),_0x18efa0(0x4,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x48b)])),_0x18efa0(0x5,_0x223914['IUniverInstanceService']),_0x18efa0(0x6,_0x223914[_0x3948cf(0x38e)]),_0x18efa0(0x7,_0x223914[_0x3948cf(0x25f)](_0x59e5a9[_0x3948cf(0x237)]))],_0x15bcb2);var _0xda7584=Object[_0x3948cf(0x149)],_0x9df8f7=Object[_0x3948cf(0x16b)],_0x522800=(_0x429296,_0x4f95ca,_0x1a05f0,_0x58e7c5)=>{const _0x2a0b66=_0x3948cf;for(var _0x3895f7=_0x58e7c5>0x1?void 0x0:_0x58e7c5?_0x9df8f7(_0x4f95ca,_0x1a05f0):_0x4f95ca,_0x4f7dd5=_0x429296[_0x2a0b66(0x24c)]-0x1,_0x5a6405;_0x4f7dd5>=0x0;_0x4f7dd5--)(_0x5a6405=_0x429296[_0x4f7dd5])&&(_0x3895f7=(_0x58e7c5?_0x5a6405(_0x4f95ca,_0x1a05f0,_0x3895f7):_0x5a6405(_0x3895f7))||_0x3895f7);return _0x58e7c5&&_0x3895f7&&_0xda7584(_0x4f95ca,_0x1a05f0,_0x3895f7),_0x3895f7;},_0x453710=(_0x4c6d30,_0x3945e3)=>(_0x301532,_0x1f857b)=>_0x3945e3(_0x301532,_0x1f857b,_0x4c6d30);let _0x167308=class extends _0x223914['RxDisposable']{constructor(_0x5dc582,_0x1b01fd,_0x2573b4){const _0x30782e=_0x3948cf;super(),_0xeb55cc(this,_0x30782e(0x599),new Map()),_0xeb55cc(this,_0x30782e(0x15f),new _0x3fbd04[(_0x30782e(0x1f4))]()),(this[_0x30782e(0x4ba)]=_0x5dc582,this[_0x30782e(0x488)]=_0x1b01fd,this[_0x30782e(0x253)]=_0x2573b4,this['_init']());}[_0x3948cf(0x287)](){const _0x17c5ee=_0x3948cf;super['dispose'](),this[_0x17c5ee(0x15f)][_0x17c5ee(0x14b)](),this['_entities'][_0x17c5ee(0x24f)](_0x3afef8=>_0x3afef8[_0x17c5ee(0x287)]());}['getCollabCursors$'](_0x12037c){const _0x314e42=_0x3948cf;return this[_0x314e42(0x599)][_0x314e42(0x58e)](_0x12037c)?this[_0x314e42(0x599)]['get'](_0x12037c)[_0x314e42(0x377)]:this[_0x314e42(0x15f)]['pipe'](_0x3fbd04[_0x314e42(0x256)](_0x475074=>_0x475074[_0x314e42(0x397)]===_0x12037c),_0x3fbd04['switchMap'](_0x251cdc=>_0x251cdc[_0x314e42(0x377)]));}[_0x3948cf(0x528)](){const _0x1089b2=_0x3948cf;this[_0x1089b2(0x4ba)][_0x1089b2(0x42e)](_0x223914[_0x1089b2(0x53b)][_0x1089b2(0x18d)])[_0x1089b2(0x3c1)](_0x3fbd04[_0x1089b2(0x233)](this[_0x1089b2(0x1a1)]))[_0x1089b2(0x577)](async _0x482f95=>{const _0x5d1f5a=_0x1089b2,_0x343357=_0x482f95['getUnitId'](),_0x22aa6e=await this[_0x5d1f5a(0x22a)](_0x343357);this['_entityInit$'][_0x5d1f5a(0x490)](_0x22aa6e),this[_0x5d1f5a(0x599)][_0x5d1f5a(0x1f2)](_0x343357,_0x22aa6e);}),this[_0x1089b2(0x4ba)][_0x1089b2(0x42e)](_0x223914[_0x1089b2(0x53b)]['UNIVER_DOC'])[_0x1089b2(0x3c1)](_0x3fbd04[_0x1089b2(0x233)](this[_0x1089b2(0x1a1)]))[_0x1089b2(0x3c1)](_0x3fbd04[_0x1089b2(0x256)](_0x5b44d5=>!_0x5b44d5[_0x1089b2(0x38c)]()[_0x1089b2(0x285)]('__')))[_0x1089b2(0x577)](async _0x539b13=>{const _0x5ef752=_0x1089b2,_0x43566f=_0x539b13[_0x5ef752(0x38c)](),_0x4cdb0a=await this[_0x5ef752(0x58c)](_0x43566f);this[_0x5ef752(0x15f)][_0x5ef752(0x490)](_0x4cdb0a),this[_0x5ef752(0x599)]['set'](_0x43566f,_0x4cdb0a);}),_0x3fbd04[_0x1089b2(0x54c)](this[_0x1089b2(0x4ba)]['getTypeOfUnitDisposed$'](_0x223914['UniverInstanceType'][_0x1089b2(0x30c)]),this[_0x1089b2(0x4ba)][_0x1089b2(0x5ae)](_0x223914['UniverInstanceType']['UNIVER_SHEET']))[_0x1089b2(0x3c1)](_0x3fbd04[_0x1089b2(0x233)](this[_0x1089b2(0x1a1)]))[_0x1089b2(0x577)](_0x578b12=>{const _0x4aec29=_0x1089b2,_0x2d5f3e=_0x578b12['getUnitId'](),_0x1a2d3e=this['_entities'][_0x4aec29(0x55a)](_0x2d5f3e);_0x1a2d3e&&(_0x1a2d3e[_0x4aec29(0x287)](),this[_0x4aec29(0x599)]['delete'](_0x2d5f3e));});}async['_startSheetCollabCursor'](_0xfafa97){const _0x290849=_0x3948cf,_0x395362=await this[_0x290849(0x253)][_0x290849(0x4f3)](_0xfafa97),_0x589cab=this[_0x290849(0x488)]['createInstance'](_0x15bcb2,_0xfafa97,_0x395362);return _0x589cab[_0x290849(0x49a)](),_0x589cab;}async[_0x3948cf(0x58c)](_0x34be28){const _0x119d91=_0x3948cf,_0x2ff56b=await this['_collabSessionService']['requireSession'](_0x34be28),_0xe388dd=this['_injector'][_0x119d91(0x565)](_0x3d9b3f,_0x34be28,_0x2ff56b);return _0xe388dd[_0x119d91(0x49a)](),_0xe388dd;}};_0x167308=_0x522800([_0x453710(0x0,_0x223914['IUniverInstanceService']),_0x453710(0x1,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x453710(0x2,_0x223914['Inject'](_0x24454f[_0x3948cf(0x228)]))],_0x167308);const _0x597808=0x14,_0x5d063d=0xc8,_0x3b9a40=0x4,_0x1a2fb2=0x5;function _0x12e8bf(_0x1f00e4,_0x418037){const _0x142797=_0x3948cf;let {radius:_0x4fd39f,width:_0x230b76,height:_0x185c4b}=_0x418037;_0x4fd39f=_0x4fd39f!=null?_0x4fd39f:0x0,_0x230b76=_0x230b76!=null?_0x230b76:0x1e,_0x185c4b=_0x185c4b!=null?_0x185c4b:0x1e;let _0x2e9b15=0x0,_0x56dc12=0x0,_0x198320=0x0;_0x2e9b15=_0x56dc12=_0x198320=Math['min'](_0x4fd39f,_0x230b76/0x2,_0x185c4b/0x2),_0x1f00e4[_0x142797(0x323)](),_0x1f00e4[_0x142797(0x4fc)](_0x2e9b15,0x0),_0x1f00e4['lineTo'](_0x230b76-_0x56dc12,0x0),_0x1f00e4[_0x142797(0x168)](_0x230b76-_0x56dc12,_0x56dc12,_0x56dc12,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f00e4[_0x142797(0x292)](_0x230b76,_0x185c4b-_0x198320),_0x1f00e4[_0x142797(0x168)](_0x230b76-_0x198320,_0x185c4b-_0x198320,_0x198320,0x0,Math['PI']/0x2,!0x1),_0x1f00e4[_0x142797(0x292)](0x0,_0x185c4b),_0x1f00e4[_0x142797(0x292)](0x0,_0x2e9b15),_0x1f00e4['arc'](_0x2e9b15,_0x2e9b15,_0x2e9b15,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f00e4[_0x142797(0x522)](),_0x418037[_0x142797(0x1c1)]&&(_0x1f00e4[_0x142797(0x4a1)](),_0x1f00e4[_0x142797(0x481)]=_0x418037[_0x142797(0x1c1)],_0x418037[_0x142797(0x5c8)]===_0x142797(0x418)?_0x1f00e4[_0x142797(0x1c1)]('evenodd'):_0x1f00e4[_0x142797(0x1c1)](),_0x1f00e4['restore']());}class _0x10e821 extends _0xdd060a[_0x3948cf(0x4c5)]{constructor(_0x4bdde4,_0x411705){const _0x1e8bde=_0x3948cf;super(_0x4bdde4,_0x411705),_0xeb55cc(this,'color'),_0xeb55cc(this,'text'),(this[_0x1e8bde(0x231)]=_0x411705==null?void 0x0:_0x411705[_0x1e8bde(0x231)],this['text']=_0x411705==null?void 0x0:_0x411705[_0x1e8bde(0x394)]);}static[_0x3948cf(0x3b1)](_0x3f3d52,_0x2744d4){const _0x493236=_0x3948cf,{text:_0x9b946b,color:_0x59cbcd}=_0x2744d4;_0x3f3d52[_0x493236(0x4a1)](),_0x3f3d52[_0x493236(0x2dc)]=_0x493236(0x3e2);const _0x3cfb9c=_0x3f3d52[_0x493236(0x58b)](_0x9b946b)[_0x493236(0x30d)],_0x31a5e1=Math['min'](_0x3cfb9c+0x2*_0x3b9a40,_0x5d063d);_0x12e8bf(_0x3f3d52,{'height':_0x597808,'radius':0x4,'width':_0x31a5e1,'fill':_0x59cbcd,'evented':!0x1}),_0x3f3d52[_0x493236(0x481)]=_0x493236(0x35a);const _0x910619=_0x3b9a40,_0x1a0e76=_0x597808-_0x1a2fb2,_0x42034f=_0x5d063d-0x2*_0x3b9a40;if(_0x3cfb9c>_0x42034f){let _0x1115d0='',_0x2b4cb2=0x0;for(const _0x171af9 of _0x9b946b){const _0x3febff=_0x3f3d52[_0x493236(0x58b)](_0x171af9)['width'];if(_0x2b4cb2+_0x3febff<=_0x42034f-_0x3f3d52[_0x493236(0x58b)](_0x493236(0x3dd))[_0x493236(0x30d)])_0x1115d0+=_0x171af9,_0x2b4cb2+=_0x3febff;else{_0x1115d0+='...';break;}}_0x3f3d52[_0x493236(0x433)](_0x1115d0,_0x910619,_0x1a0e76);}else _0x3f3d52[_0x493236(0x433)](_0x9b946b,_0x910619,_0x1a0e76);_0x3f3d52[_0x493236(0x167)]();}['_draw'](_0x32621a){const _0xfca496=_0x3948cf;_0x10e821[_0xfca496(0x3b1)](_0x32621a,this);}}const _0x2f2326=_0x3948cf(0x557),_0x3b532f=_0x3948cf(0x2a6),_0x51b801=_0x3948cf(0x4da),_0x44c31d=0x6,_0xa5f3f4=1.5,_0x28d53f=0x4,_0x1703df=1.5,_0x1b5fa4=_0x3948cf(0x5f0);class _0x3993da{constructor(_0x14d0bc,_0x5eba02,_0x4da2ac,_0x99a8d2){const _0x17e73d=_0x3948cf;_0xeb55cc(this,_0x17e73d(0x1a5),[]),_0xeb55cc(this,_0x17e73d(0x144),null),_0xeb55cc(this,_0x17e73d(0x5b6),null),_0xeb55cc(this,'_anchorDot',null),_0xeb55cc(this,_0x17e73d(0x36d),null),_0xeb55cc(this,_0x17e73d(0x4f9),null),(this[_0x17e73d(0x3be)]=_0x14d0bc,this['_scene']=_0x5eba02,this[_0x17e73d(0x596)]=_0x4da2ac,this['_document']=_0x99a8d2,this[_0x17e73d(0x499)]());}set['_hover'](_0x29318b){const _0xa56572=_0x3948cf;_0x29318b?(this[_0xa56572(0x16f)]&&this[_0xa56572(0x16f)]['hide'](),this[_0xa56572(0x5b6)]&&this[_0xa56572(0x5b6)][_0xa56572(0x46e)]()):(this[_0xa56572(0x16f)]&&this['_anchorDot'][_0xa56572(0x46e)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x3948cf(0x287)](){const _0x5e1844=_0x3948cf;for(const _0x4d4751 of this['_shapes'])_0x4d4751[_0x5e1844(0x287)]();this[_0x5e1844(0x5b6)]&&this[_0x5e1844(0x5b6)][_0x5e1844(0x287)](),this[_0x5e1844(0x16f)]&&this[_0x5e1844(0x16f)][_0x5e1844(0x287)](),this[_0x5e1844(0x144)]&&this['_anchor'][_0x5e1844(0x287)](),this[_0x5e1844(0x4f9)]&&this[_0x5e1844(0x4f9)]();}[_0x3948cf(0x499)](){const _0x1a5dfc=_0x3948cf;var _0x563ea9;const {_docSkeleton:_0x2d1c75,_document:_0x5cc7f0}=this,{color:_0x4b1193,name:_0xee1497,ranges:_0x2a093c}=this['_cursor'],_0xe691c=_0x5cc7f0[_0x1a5dfc(0x395)](),{docsLeft:_0x4fab0b,docsTop:_0x39e2b5}=_0xe691c,_0xca3b44=new _0x13e81e[(_0x1a5dfc(0x307))](_0xe691c,_0x2d1c75);for(const {startOffset:_0x4d6885,endOffset:_0x43279a,rangeType:_0x4fdd92,segmentId:_0x540dce,segmentPage:_0x216e16,collapsed:_0x223bf9,isActive:_0x10ce5f}of _0x2a093c){const _0x3d6932=_0x2d1c75[_0x1a5dfc(0x50b)](_0x4d6885,!0x0,_0x540dce,_0x216e16);let _0x1ed356=_0x2d1c75[_0x1a5dfc(0x50b)](_0x43279a,!0x0,_0x540dce,_0x216e16);if(_0x1ed356==null&&(_0x1ed356=_0x2d1c75[_0x1a5dfc(0x50b)](_0x43279a-0x1,!0x1,_0x540dce,_0x216e16)),_0x10ce5f){const {contentBoxPointGroup:_0x5de9d9}=_0xca3b44['getRangePointData'](_0x1ed356,_0x1ed356);if(_0x5de9d9[_0x1a5dfc(0x24c)]===0x0)continue;this[_0x1a5dfc(0x389)](_0x4b1193,_0x5de9d9,_0x4fab0b,_0x39e2b5,_0xee1497),this[_0x1a5dfc(0x4f9)]=this[_0x1a5dfc(0x173)]();}if(_0x3d6932&&_0x1ed356){if(_0x4fdd92===_0x223914[_0x1a5dfc(0x1ee)][_0x1a5dfc(0x38d)]){const _0x1f2fc4=new _0x13e81e['NodePositionConvertToRectRange'](_0xe691c,_0x2d1c75),{pointGroup:_0x388075}=(_0x563ea9=_0x1f2fc4[_0x1a5dfc(0x4bc)](_0x3d6932,_0x1ed356))!=null?_0x563ea9:{};if(_0x388075==null||_0x388075[_0x1a5dfc(0x24c)]===0x0)continue;this['_drawRectRange'](_0x4b1193,_0x388075,_0x4fab0b,_0x39e2b5);}else{if(!_0x223bf9){const {borderBoxPointGroup:_0x1e6030}=_0xca3b44[_0x1a5dfc(0x4bc)](_0x3d6932,_0x1ed356);if(_0x1e6030[_0x1a5dfc(0x24c)]===0x0)continue;this[_0x1a5dfc(0x56c)](_0x4b1193,_0x1e6030,_0x4fab0b,_0x39e2b5);}}}}}[_0x3948cf(0x389)](_0x473d04,_0x445d19,_0x276692,_0x340232,_0x2cf9b2){const _0x1b2a69=_0x3948cf,_0x5c4345=this[_0x1b2a69(0x1ce)](_0x445d19),{left:_0x1f0d29,top:_0x58bc93,height:_0x2123c6}=_0x5c4345,_0x302883=this[_0x1b2a69(0x2b4)](),_0xf5de28=_0x1703df/_0x302883,_0x565732=new _0xdd060a['Rect'](_0x2f2326+_0x223914[_0x1b2a69(0x5af)]['generateRandomId'](_0x44c31d),{'left':_0x1f0d29+_0x276692-_0xf5de28,'top':_0x58bc93+_0x340232,'height':_0x2123c6,'width':_0xa5f3f4,'fill':_0x473d04||_0xdd060a[_0x1b2a69(0x4bb)](_0x223914[_0x1b2a69(0x2a1)][_0x1b2a69(0x3e7)],0x0),'strokeWidth':_0xf5de28,'stroke':_0x1b5fa4,'evented':!0x0});this[_0x1b2a69(0x144)]=_0x565732,this['_scene'][_0x1b2a69(0x217)](_0x565732,_0x13e81e[_0x1b2a69(0x526)]);const _0x572965=new _0xdd060a[(_0x1b2a69(0x52e))](_0x2f2326+_0x223914[_0x1b2a69(0x5af)][_0x1b2a69(0x1fa)](_0x44c31d),{'left':_0x1f0d29+_0x276692-_0xf5de28,'top':_0x58bc93+_0x340232-_0x28d53f/0x2,'height':_0x28d53f,'width':_0x28d53f,'fill':_0x473d04||_0xdd060a[_0x1b2a69(0x4bb)](_0x223914[_0x1b2a69(0x2a1)][_0x1b2a69(0x3e7)],0x0),'strokeWidth':0x0,'stroke':_0x473d04||_0xdd060a['getColor'](_0x223914['COLORS'][_0x1b2a69(0x3e7)],0x0),'evented':!0x1});this[_0x1b2a69(0x16f)]=_0x572965,this['_scene'][_0x1b2a69(0x217)](_0x572965,_0x13e81e[_0x1b2a69(0x526)]);const _0x13e719=new _0x10e821(_0x2f2326+_0x223914[_0x1b2a69(0x5af)][_0x1b2a69(0x1fa)](_0x44c31d),{'left':_0x1f0d29+_0x276692-_0xf5de28,'top':_0x58bc93+_0x340232-_0x597808,'text':_0x2cf9b2,'color':_0x473d04});this[_0x1b2a69(0x5b6)]=_0x13e719,this['_scene'][_0x1b2a69(0x217)](_0x13e719,_0x13e81e[_0x1b2a69(0x526)]),this[_0x1b2a69(0x612)]=!0x1;}['_handleHover'](){const _0x4c5560=_0x3948cf,_0x363fbc=this['_anchor'][_0x4c5560(0x2fe)][_0x4c5560(0x56b)](()=>{const _0x18ef39=_0x4c5560;this[_0x18ef39(0x612)]=!0x0;}),_0x50c99d=this[_0x4c5560(0x144)][_0x4c5560(0x179)][_0x4c5560(0x56b)](()=>{const _0x57f2c7=_0x4c5560;this[_0x57f2c7(0x36d)]&&clearTimeout(this[_0x57f2c7(0x36d)]),this[_0x57f2c7(0x36d)]=setTimeout(()=>{const _0x41e11b=_0x57f2c7;this[_0x41e11b(0x612)]=!0x1;},0x7d0);});return()=>{_0x363fbc['unsubscribe'](),_0x50c99d['unsubscribe']();};}[_0x3948cf(0x56c)](_0x3eaa46,_0xf1f26,_0x475a04,_0x367879){const _0x1192f7=_0x3948cf,_0x530a72=new _0x223914[(_0x1192f7(0x48c))](_0x3eaa46)[_0x1192f7(0x156)](0.2)[_0x1192f7(0x365)](),_0x3e1199=new _0xdd060a[(_0x1192f7(0x2ca))](_0x3b532f+_0x223914['Tools'][_0x1192f7(0x1fa)](_0x44c31d),{'pointsGroup':_0xf1f26,'fill':_0x530a72||_0xdd060a[_0x1192f7(0x4bb)](_0x223914[_0x1192f7(0x2a1)][_0x1192f7(0x3e7)],0.2),'left':_0x475a04,'top':_0x367879,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1192f7(0x1a5)][_0x1192f7(0x4ef)](_0x3e1199),this['_scene'][_0x1192f7(0x217)](_0x3e1199,_0x13e81e[_0x1192f7(0x526)]);}[_0x3948cf(0x399)](_0x34d090,_0x23b1db,_0x4d27cf,_0x6a986c){const _0x1b6053=_0x3948cf,_0xd73506=new _0x223914['ColorKit'](_0x34d090)['setAlpha'](0.2)['toRgbString'](),_0x5bf5f2=new _0xdd060a['RegularPolygon'](_0x51b801+_0x223914[_0x1b6053(0x5af)]['generateRandomId'](_0x44c31d),{'pointsGroup':_0x23b1db,'fill':_0xd73506||_0xdd060a['getColor'](_0x223914[_0x1b6053(0x2a1)][_0x1b6053(0x3e7)],0.2),'left':_0x4d27cf,'top':_0x6a986c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b6053(0x1a5)][_0x1b6053(0x4ef)](_0x5bf5f2),this[_0x1b6053(0x44f)][_0x1b6053(0x217)](_0x5bf5f2,_0x13e81e[_0x1b6053(0x526)]);}[_0x3948cf(0x1ce)](_0x5f0599){const _0x47873d=_0x5f0599[0x0],_0x2b954c=_0x47873d[0x0],_0x468b1c=_0x47873d[0x2],{x:_0x3b0915,y:_0x242388}=_0x2b954c,{x:_0x57cd04,y:_0x215339}=_0x468b1c;return{'left':_0x3b0915,'top':_0x242388,'width':_0x57cd04-_0x3b0915,'height':_0x215339-_0x242388};}[_0x3948cf(0x2b4)](){const _0x10d527=_0x3948cf,{scaleX:_0x140b80,scaleY:_0x49f029}=this['_scene']['getAncestorScale']();return Math[_0x10d527(0x4d5)](_0x140b80,_0x49f029);}}var _0x43c241=Object[_0x3948cf(0x149)],_0x446b64=Object['getOwnPropertyDescriptor'],_0x3ad29d=(_0x466108,_0x2fbdeb,_0x1af7b6,_0x3b2181)=>{const _0x3015c8=_0x3948cf;for(var _0x46a77c=_0x3b2181>0x1?void 0x0:_0x3b2181?_0x446b64(_0x2fbdeb,_0x1af7b6):_0x2fbdeb,_0x341bb7=_0x466108[_0x3015c8(0x24c)]-0x1,_0x10fc84;_0x341bb7>=0x0;_0x341bb7--)(_0x10fc84=_0x466108[_0x341bb7])&&(_0x46a77c=(_0x3b2181?_0x10fc84(_0x2fbdeb,_0x1af7b6,_0x46a77c):_0x10fc84(_0x46a77c))||_0x46a77c);return _0x3b2181&&_0x46a77c&&_0x43c241(_0x2fbdeb,_0x1af7b6,_0x46a77c),_0x46a77c;},_0x59a716=(_0x226618,_0x4f2f53)=>(_0x58fff1,_0x18acf7)=>_0x4f2f53(_0x58fff1,_0x18acf7,_0x226618);let _0x4ea386=class extends _0x223914[_0x3948cf(0x52f)]{constructor(_0x46a6be,_0x273656,_0x2e134f,_0x57727a,_0x54ac52){const _0x89f343=_0x3948cf;super(),_0xeb55cc(this,_0x89f343(0x47e),[]),_0xeb55cc(this,'_cursors',[]),(this[_0x89f343(0x1ba)]=_0x46a6be,this[_0x89f343(0x4f7)]=_0x273656,this[_0x89f343(0x592)]=_0x2e134f,this[_0x89f343(0x1b9)]=_0x57727a,this[_0x89f343(0x515)]=_0x54ac52,this[_0x89f343(0x528)]());}[_0x3948cf(0x528)](){const _0x4d03d5=_0x3948cf,_0x3e4986=this[_0x4d03d5(0x1ba)][_0x4d03d5(0x362)],_0xaf77cb=this[_0x4d03d5(0x4f7)];this[_0x4d03d5(0x345)](_0x3fbd04[_0x4d03d5(0x3dc)]([this['_collabCursorController'][_0x4d03d5(0x351)](_0x3e4986),this[_0x4d03d5(0x515)][_0x4d03d5(0x43c)]])[_0x4d03d5(0x3c1)](_0x4da2a9['map'](([_0xb49f7d,_0xf42fe1])=>({'skeleton':_0xaf77cb[_0x4d03d5(0x3a3)](),'cursors':[..._0xb49f7d[_0x4d03d5(0x2f9)]()][_0x4d03d5(0x54e)](_0x45ca74=>({..._0x45ca74,'color':_0xf42fe1[_0x45ca74['color']]}))})))[_0x4d03d5(0x577)](_0x4a9fab=>{const _0x4f621=_0x4d03d5;if(this['_removeCollabCursors'](),_0x4a9fab){const {skeleton:_0x145849,cursors:_0x55f3b9}=_0x4a9fab;this[_0x4f621(0x42c)](_0x145849,_0x55f3b9);}})),this[_0x4d03d5(0x4cb)](),this['_initCommandExecutedListener']();}[_0x3948cf(0x42c)](_0x19df58,_0x33317b){const _0x51cc7a=_0x3948cf,{scene:_0x49d96a,mainComponent:_0x374b49}=this[_0x51cc7a(0x1ba)],_0x1f08d7=_0x33317b['map'](_0x20d800=>new _0x3993da(_0x20d800,_0x49d96a,_0x19df58,_0x374b49));this[_0x51cc7a(0x47e)]=_0x1f08d7,this['_cursors']=_0x33317b;}['_refreshCollabCursors'](){const _0x2fb0b9=_0x3948cf;this[_0x2fb0b9(0x404)]();const {scene:_0x5cf250,mainComponent:_0x1206ab}=this[_0x2fb0b9(0x1ba)],_0x24376e=this[_0x2fb0b9(0x4f7)][_0x2fb0b9(0x3a3)](),_0x207480=this[_0x2fb0b9(0x4a8)][_0x2fb0b9(0x26b)](_0x32e94d=>new _0x3993da(_0x32e94d,_0x5cf250,_0x24376e,_0x1206ab));this[_0x2fb0b9(0x47e)]=_0x207480;}[_0x3948cf(0x404)](){const _0x4892c1=_0x3948cf;this[_0x4892c1(0x47e)]['forEach'](_0x574e0a=>_0x574e0a['dispose']()),this[_0x4892c1(0x47e)]=[];}[_0x3948cf(0x180)](){const _0x47deea=_0x3948cf,_0x277f08=[_0x13e81e[_0x47deea(0x5d6)]['id']];this[_0x47deea(0x345)](this[_0x47deea(0x1b9)][_0x47deea(0x509)](_0x1c9463=>{const _0x3cc1a9=_0x47deea;_0x277f08[_0x3cc1a9(0x464)](_0x1c9463['id'])&&_0x1c9463[_0x3cc1a9(0x54d)]['unitId']===this[_0x3cc1a9(0x1ba)][_0x3cc1a9(0x362)]&&this['_refreshCollabCursors']();}));}[_0x3948cf(0x4cb)](){const _0x5bd757=_0x3948cf;this['disposeWithMe'](_0x223914[_0x5bd757(0x5e3)](this['_context']['engine'][_0x5bd757(0x31d)])[_0x5bd757(0x3c1)](_0x4da2a9[_0x5bd757(0x256)](_0x7dbcac=>_0x7dbcac[_0x5bd757(0x181)]===_0xdd060a[_0x5bd757(0x48a)]['resize']),_0x4da2a9['throttleTime'](0x10))[_0x5bd757(0x577)](()=>{const _0x33d99a=_0x5bd757;this[_0x33d99a(0x56d)]();}));}};_0x4ea386=_0x3ad29d([_0x59a716(0x1,_0x223914[_0x3948cf(0x25f)](_0x4a2356[_0x3948cf(0x276)])),_0x59a716(0x2,_0x223914[_0x3948cf(0x25f)](_0x167308)),_0x59a716(0x3,_0x223914[_0x3948cf(0x38e)]),_0x59a716(0x4,_0x223914[_0x3948cf(0x25f)](_0x223914['ThemeService']))],_0x4ea386);const _0x1148e0=0x1,_0x24a01e=1.5;class _0x4b8f9a extends _0xdd060a[_0x3948cf(0x4c5)]{constructor(_0x1b7ad6,_0x1cf706){const _0x44bdad=_0x3948cf;super(_0x1b7ad6,_0x1cf706),_0xeb55cc(this,'_color'),_0xeb55cc(this,_0x44bdad(0x358),!0x1),_0xeb55cc(this,_0x44bdad(0x3ca)),_0xeb55cc(this,_0x44bdad(0x611),''),_0xeb55cc(this,_0x44bdad(0x2ba),_0x44bdad(0x43b)),_0xeb55cc(this,'_backgroundColor'),(_0x1cf706&&this[_0x44bdad(0x43e)](_0x1cf706),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x44bdad(0x43e)]({'hovered':!0x0})),this['onPointerLeave$'][_0x44bdad(0x56b)](()=>this[_0x44bdad(0x43e)]({'hovered':!0x1})));}['setShapeProps'](_0x241dc2){const _0x220596=_0x3948cf;var _0xeaa28e,_0x4c431a,_0x52dc2a,_0x2457ab,_0x45f348,_0x5b3dea;this[_0x220596(0x293)]=(_0xeaa28e=_0x241dc2[_0x220596(0x231)])!=null?_0xeaa28e:this[_0x220596(0x293)],this[_0x220596(0x358)]=(_0x4c431a=_0x241dc2['hovered'])!=null?_0x4c431a:this['_hovered'],this[_0x220596(0x3ca)]=(_0x52dc2a=_0x241dc2[_0x220596(0x3c0)])!=null?_0x52dc2a:this[_0x220596(0x3ca)],this[_0x220596(0x611)]=(_0x2457ab=_0x241dc2[_0x220596(0x289)])!=null?_0x2457ab:this['_name'],this[_0x220596(0x2ba)]=(_0x45f348=_0x241dc2['labelPosition'])!=null?_0x45f348:this[_0x220596(0x2ba)],this['_backgroundColor']=(_0x5b3dea=_0x241dc2[_0x220596(0x5bb)])!=null?_0x5b3dea:this[_0x220596(0x310)],this['transformByState']({'width':_0x241dc2[_0x220596(0x30d)],'height':_0x241dc2[_0x220596(0x3ad)]});}[_0x3948cf(0x195)](_0x42cba5){const _0x42bb25=_0x3948cf,{row:_0x4d33d8,column:_0x292827}=_0x42cba5;if(_0x4d33d8>=this[_0x42bb25(0x3ca)][_0x42bb25(0x3db)]&&_0x4d33d8<=this[_0x42bb25(0x3ca)]['endRow']&&_0x292827>=this[_0x42bb25(0x3ca)][_0x42bb25(0x2d2)]&&_0x292827<=this[_0x42bb25(0x3ca)]['endColumn']){this[_0x42bb25(0x43e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3948cf(0x4d7)](_0x2195ae){return!0x1;}['_draw'](_0x55e3c2){const _0x47eea4=_0x3948cf;_0xdd060a[_0x47eea4(0x52e)]['drawWith'](_0x55e3c2,{'width':this['width'],'height':this[_0x47eea4(0x3ad)],'strokeWidth':_0x24a01e,'stroke':this[_0x47eea4(0x293)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x47eea4(0x358)]&&(_0x55e3c2[_0x47eea4(0x4a1)](),_0x55e3c2[_0x47eea4(0x5f6)](0x1,0x0,0x0,0x1,this[_0x47eea4(0x30d)],this[_0x47eea4(0x2ba)]==='bottom'?0x0:-_0x597808),_0x10e821[_0x47eea4(0x3b1)](_0x55e3c2,{'text':this[_0x47eea4(0x611)],'color':this[_0x47eea4(0x293)]}),_0x55e3c2['restore']());}}var _0x196297=Object[_0x3948cf(0x149)],_0x29f38e=Object[_0x3948cf(0x16b)],_0x53c59a=(_0x37aba9,_0x557a60,_0x17f4ec,_0x41fd92)=>{const _0x1ac6f3=_0x3948cf;for(var _0x2eef0a=_0x41fd92>0x1?void 0x0:_0x41fd92?_0x29f38e(_0x557a60,_0x17f4ec):_0x557a60,_0x1625b9=_0x37aba9[_0x1ac6f3(0x24c)]-0x1,_0x5481c9;_0x1625b9>=0x0;_0x1625b9--)(_0x5481c9=_0x37aba9[_0x1625b9])&&(_0x2eef0a=(_0x41fd92?_0x5481c9(_0x557a60,_0x17f4ec,_0x2eef0a):_0x5481c9(_0x2eef0a))||_0x2eef0a);return _0x41fd92&&_0x2eef0a&&_0x196297(_0x557a60,_0x17f4ec,_0x2eef0a),_0x2eef0a;},_0x28f19c=(_0x4e2c9b,_0x517743)=>(_0x4a3f53,_0x2346cc)=>_0x517743(_0x4a3f53,_0x2346cc,_0x4e2c9b);const _0x20dc8b=0x1389;let _0x3aba73=class extends _0x223914[_0x3948cf(0x52f)]{constructor(_0xa26d41,_0x2f4af0,_0x5e1049,_0x17e640){const _0x3effd7=_0x3948cf;super(),_0xeb55cc(this,_0x3effd7(0x4a8),new Set()),_0xeb55cc(this,_0x3effd7(0x32d),null),(this[_0x3effd7(0x1ba)]=_0xa26d41,this[_0x3effd7(0x23a)]=_0x2f4af0,this['_collabCursorController']=_0x5e1049,this[_0x3effd7(0x515)]=_0x17e640,this['_init']());}[_0x3948cf(0x528)](){const _0x59c38f=_0x3948cf;this[_0x59c38f(0x23a)][_0x59c38f(0x4b3)][_0x59c38f(0x3c1)](_0x4da2a9['takeUntil'](this[_0x59c38f(0x1a1)]),_0x4da2a9['switchMap'](_0x3ac9e3=>{const _0x3fb704=_0x59c38f;if(_0x3ac9e3){const _0x33a13e=_0x3ac9e3['sheetId'];return _0x3fbd04['combineLatest'](this[_0x3fb704(0x592)][_0x3fb704(0x351)](this[_0x3fb704(0x1ba)][_0x3fb704(0x362)]),this['_themeService'][_0x3fb704(0x43c)])['pipe'](_0x4da2a9[_0x3fb704(0x26b)](([_0x4c4777,_0x4eb0df])=>{const _0x78265=new Map();return _0x4c4777['forEach']((_0x16d9d6,_0x45b18e)=>{const _0xa8e415=_0x5201;if(_0x16d9d6['sheetID']===_0x33a13e){const _0x5c86a3={..._0x16d9d6};_0x5c86a3[_0xa8e415(0x231)]=_0x4eb0df[_0x16d9d6[_0xa8e415(0x231)]],_0x78265[_0xa8e415(0x1f2)](_0x45b18e,_0x5c86a3);}}),{'skeleton':_0x3ac9e3,'cursors':_0x78265};}));}return _0x3fbd04['of']({'skeleton':null,'cursors':new Map()});}))[_0x59c38f(0x577)](({skeleton:_0x4d80f7,cursors:_0x5ed77e})=>{const _0x1de73b=_0x59c38f;this[_0x1de73b(0x404)](),_0x4d80f7&&this[_0x1de73b(0x42c)](_0x4d80f7,_0x5ed77e);}),this[_0x59c38f(0x23a)][_0x59c38f(0x4b3)][_0x59c38f(0x577)](_0xf50358=>{const _0xcd95b9=_0x59c38f;if(_0xf50358==null)return;const {skeleton:_0x531a6c}=_0xf50358,{scene:_0x44279d}=this[_0xcd95b9(0x1ba)];_0x44279d[_0xcd95b9(0x52d)][_0xcd95b9(0x56b)](_0x223914[_0xcd95b9(0x1aa)](_0x4c9faf=>{const _0x58e00b=_0xcd95b9;var _0x4995a6,_0x17f358;const {offsetX:_0x5d88dd,offsetY:_0x4af3df}=_0x4c9faf,{x:_0x45a386,y:_0x40c34b}=_0x44279d[_0x58e00b(0x160)](_0xdd060a['Vector2'][_0x58e00b(0x55b)]([_0x5d88dd,_0x4af3df])),{scaleX:_0x565f28,scaleY:_0x416113}=_0x44279d[_0x58e00b(0x31e)](),_0x1e8e27=_0x44279d['getViewport'](_0x133108['VIEWPORT_KEY']['VIEW_MAIN']),_0x3e14e7=_0x44279d[_0x58e00b(0x604)](_0xdd060a[_0x58e00b(0x2b2)][_0x58e00b(0x55b)]([_0x45a386,_0x40c34b]),_0x1e8e27),_0x2d0005=_0x531a6c[_0x58e00b(0x49b)](_0x5d88dd,_0x4af3df,_0x565f28,_0x416113,_0x3e14e7);((_0x4995a6=this[_0x58e00b(0x32d)])==null?void 0x0:_0x4995a6[_0x58e00b(0x3e8)])===_0x2d0005[_0x58e00b(0x3e8)]&&((_0x17f358=this[_0x58e00b(0x32d)])==null?void 0x0:_0x17f358['row'])===_0x2d0005[_0x58e00b(0x182)]||this[_0x58e00b(0x4a8)][_0x58e00b(0x24f)](_0x42e61e=>{const _0x8aacd5=_0x58e00b;_0x42e61e[_0x8aacd5(0x195)](_0x2d0005);});},0x64));});}['_updateCollabCursors'](_0x579e23,_0x1740f1){const _0x16fbfa=_0x3948cf;var _0x2a2116;const _0x55439f=(_0x2a2116=this[_0x16fbfa(0x23a)]['getCurrent']())==null?void 0x0:_0x2a2116[_0x16fbfa(0x2fd)];if(!_0x55439f)return;const _0x5690f3=this[_0x16fbfa(0x493)]();if(!_0x5690f3)return;this['_cursors'][_0x16fbfa(0x24f)](_0x56c127=>{const _0xf893f6=_0x16fbfa;_0x56c127[_0xf893f6(0x30a)]();});const {scene:_0x21ddc4}=_0x5690f3,_0x539e30=_0xd50f36(Array['from'](_0x1740f1['values']()))[_0x16fbfa(0x26b)](_0x1bfa5a=>{const _0x444e8d=_0x16fbfa,{color:_0x9c1ae1,range:_0x55e552,name:_0x3c4315,selection:_0x2e3cec,sheetID:_0x4ab3fa}=_0x1bfa5a,{startColumn:_0x4793e5,startRow:_0x546df6,endColumn:_0x40d0e3,endRow:_0x14e82b}=_0x55e552,_0xb461a2=_0x133108[_0x444e8d(0x44c)](_0x546df6,_0x4793e5,_0x21ddc4,_0x55439f),_0x4eddb7=_0x133108[_0x444e8d(0x44c)](_0x14e82b,_0x40d0e3,_0x21ddc4,_0x55439f),{columnHeaderHeightAndMarginTop:_0x51941b}=_0x55439f,{startX:_0x51a114,startY:_0x3d8709}=_0xb461a2,{endX:_0x24a72c,endY:_0x3e5deb}=_0x4eddb7,_0x1cf632=_0x24a72c-_0x51a114,_0x19f72a=_0x3e5deb-_0x3d8709,_0x3d2a60={'labelPosition':_0x3d8709-_0x51941b>=_0x597808?_0x444e8d(0x43b):_0x444e8d(0x1a4),'sheetID':_0x4ab3fa,'range':_0x55e552,'color':_0x9c1ae1,'name':_0x3c4315,'selection':_0x2e3cec,'left':_0x51a114,'top':_0x3d8709,'width':_0x1cf632,'height':_0x19f72a,'evented':!0x1,'zIndex':_0x20dc8b};return new _0x4b8f9a(_0x3c4315,_0x3d2a60);});_0x21ddc4[_0x16fbfa(0x261)](_0x539e30,_0x1148e0),this[_0x16fbfa(0x4a8)]=new Set(_0x539e30);}[_0x3948cf(0x404)](){const _0x5de8e1=_0x3948cf;var _0xd4763a;(_0xd4763a=this[_0x5de8e1(0x4a8)])==null||_0xd4763a[_0x5de8e1(0x24f)](_0x5a8bc4=>_0x5a8bc4[_0x5de8e1(0x287)]());}[_0x3948cf(0x493)](){const _0x44bf2d=_0x3948cf;return _0x133108[_0x44bf2d(0x477)](this[_0x44bf2d(0x1ba)]['unit'],this[_0x44bf2d(0x1ba)]);}};_0x3aba73=_0x53c59a([_0x28f19c(0x1,_0x223914[_0x3948cf(0x25f)](_0x133108[_0x3948cf(0x56f)])),_0x28f19c(0x2,_0x223914[_0x3948cf(0x25f)](_0x167308)),_0x28f19c(0x3,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x59e)]))],_0x3aba73);function _0xd50f36(_0x5aad71){const _0x247eb2=_0x3948cf,_0x1f45a7=new Map();return _0x5aad71[_0x247eb2(0x24f)](_0x14fb85=>{const _0x5b0f7=_0x247eb2;if(_0x1f45a7[_0x5b0f7(0x58e)](_0x14fb85[_0x5b0f7(0x1f3)])){const _0x329f89=_0x1f45a7[_0x5b0f7(0x55a)](_0x14fb85[_0x5b0f7(0x1f3)]);_0x329f89[_0x5b0f7(0x289)]+=',\x20'+_0x14fb85[_0x5b0f7(0x289)];}else _0x1f45a7[_0x5b0f7(0x1f2)](_0x14fb85[_0x5b0f7(0x1f3)],_0x14fb85);}),Array['from'](_0x1f45a7[_0x247eb2(0x2f9)]());}var _0x22c069=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1715bf(_0x3684ec){const _0x21138a=_0x3948cf;return _0x3684ec&&_0x3684ec[_0x21138a(0x5d1)]&&Object[_0x21138a(0x3ff)]['hasOwnProperty'][_0x21138a(0x56a)](_0x3684ec,_0x21138a(0x1e0))?_0x3684ec[_0x21138a(0x1e0)]:_0x3684ec;}var _0x2d139d={'exports':{}},_0x33007c={},_0xc35e24=_0x220425,_0x48e7ab=Symbol[_0x3948cf(0x35f)](_0x3948cf(0x489)),_0x49af47=Symbol[_0x3948cf(0x35f)](_0x3948cf(0x386)),_0x5d3c91=Object[_0x3948cf(0x3ff)][_0x3948cf(0x188)],_0x5299ac=_0xc35e24[_0x3948cf(0x1c6)]['ReactCurrentOwner'],_0x965590={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x14cf37(_0x16002d,_0x27c170,_0x19644e){const _0x1d7453=_0x3948cf;var _0x6e91dc,_0x16253e={},_0x2c393b=null,_0x517d98=null;_0x19644e!==void 0x0&&(_0x2c393b=''+_0x19644e),_0x27c170[_0x1d7453(0x206)]!==void 0x0&&(_0x2c393b=''+_0x27c170['key']),_0x27c170[_0x1d7453(0x4b4)]!==void 0x0&&(_0x517d98=_0x27c170['ref']);for(_0x6e91dc in _0x27c170)_0x5d3c91[_0x1d7453(0x56a)](_0x27c170,_0x6e91dc)&&!_0x965590['hasOwnProperty'](_0x6e91dc)&&(_0x16253e[_0x6e91dc]=_0x27c170[_0x6e91dc]);if(_0x16002d&&_0x16002d[_0x1d7453(0x23b)]){for(_0x6e91dc in(_0x27c170=_0x16002d['defaultProps'],_0x27c170))_0x16253e[_0x6e91dc]===void 0x0&&(_0x16253e[_0x6e91dc]=_0x27c170[_0x6e91dc]);}return{'$$typeof':_0x48e7ab,'type':_0x16002d,'key':_0x2c393b,'ref':_0x517d98,'props':_0x16253e,'_owner':_0x5299ac[_0x1d7453(0x339)]};}_0x33007c['Fragment']=_0x49af47,_0x33007c[_0x3948cf(0x37f)]=_0x14cf37,_0x33007c[_0x3948cf(0x367)]=_0x14cf37,_0x2d139d[_0x3948cf(0x29b)]=_0x33007c;var _0x4fce2a=_0x2d139d[_0x3948cf(0x29b)],_0x30c364=function(){const _0x2f54ff=_0x3948cf;return _0x30c364=Object['assign']||function(_0x316650){const _0x51d200=_0x5201;for(var _0x248172,_0x287f7d=0x1,_0x3d3177=arguments[_0x51d200(0x24c)];_0x287f7d<_0x3d3177;_0x287f7d++){_0x248172=arguments[_0x287f7d];for(var _0x495f25 in _0x248172)Object[_0x51d200(0x3ff)][_0x51d200(0x188)]['call'](_0x248172,_0x495f25)&&(_0x316650[_0x495f25]=_0x248172[_0x495f25]);}return _0x316650;},_0x30c364[_0x2f54ff(0x476)](this,arguments);},_0x3ecef7=function(_0x3b8813,_0x3e94e2){const _0x4236df=_0x3948cf;var _0xabbfd2={};for(var _0x8f6317 in _0x3b8813)Object[_0x4236df(0x3ff)][_0x4236df(0x188)]['call'](_0x3b8813,_0x8f6317)&&_0x3e94e2[_0x4236df(0x46b)](_0x8f6317)<0x0&&(_0xabbfd2[_0x8f6317]=_0x3b8813[_0x8f6317]);if(_0x3b8813!=null&&typeof Object[_0x4236df(0x39d)]==_0x4236df(0x172)){for(var _0x5c359e=0x0,_0x8f6317=Object[_0x4236df(0x39d)](_0x3b8813);_0x5c359e<_0x8f6317['length'];_0x5c359e++)_0x3e94e2[_0x4236df(0x46b)](_0x8f6317[_0x5c359e])<0x0&&Object[_0x4236df(0x3ff)][_0x4236df(0x16d)][_0x4236df(0x56a)](_0x3b8813,_0x8f6317[_0x5c359e])&&(_0xabbfd2[_0x8f6317[_0x5c359e]]=_0x3b8813[_0x8f6317[_0x5c359e]]);}return _0xabbfd2;},_0x314cd0=_0x220425[_0x3948cf(0x141)](function(_0x74afb6,_0x37e991){const _0x3eb6fe=_0x3948cf;var _0x44c981=_0x74afb6['icon'],_0xc14c0d=_0x74afb6['id'],_0x560945=_0x74afb6['className'],_0x28ab85=_0x74afb6[_0x3eb6fe(0x601)],_0x356a31=_0x3ecef7(_0x74afb6,[_0x3eb6fe(0x600),'id',_0x3eb6fe(0x290),_0x3eb6fe(0x601)]),_0x2d297b=_0x3eb6fe(0x308)[_0x3eb6fe(0x38a)](_0xc14c0d,'\x20')[_0x3eb6fe(0x38a)](_0x560945||'')[_0x3eb6fe(0x54b)](),_0x4ce7f9=_0x220425[_0x3eb6fe(0x255)]('_'[_0x3eb6fe(0x38a)](_0x12b6a2()));return _0x148288(_0x44c981,''[_0x3eb6fe(0x38a)](_0xc14c0d),{'defIds':_0x44c981['defIds'],'idSuffix':_0x4ce7f9['current']},_0x30c364({'ref':_0x37e991,'className':_0x2d297b},_0x356a31),_0x28ab85);});function _0x148288(_0x42d75c,_0x223928,_0x110ce6,_0x11a472,_0x4c2fd2){const _0x3083b3=_0x3948cf;return _0x220425[_0x3083b3(0x564)](_0x42d75c[_0x3083b3(0x471)],_0x30c364(_0x30c364({'key':_0x223928},_0x171703(_0x42d75c,_0x110ce6,_0x4c2fd2)),_0x11a472),(_0x437e99(_0x42d75c,_0x110ce6)['children']||[])[_0x3083b3(0x26b)](function(_0x244e4f,_0x188433){const _0x14ab82=_0x3083b3;return _0x148288(_0x244e4f,''['concat'](_0x223928,'-')['concat'](_0x42d75c[_0x14ab82(0x471)],'-')['concat'](_0x188433),_0x110ce6,void 0x0,_0x4c2fd2);}));}function _0x171703(_0x1ee077,_0xdcca01,_0x17bc2){const _0x1b6465=_0x3948cf;var _0x1ed852=_0x30c364({},_0x1ee077[_0x1b6465(0x1c9)]);_0x17bc2!=null&&_0x17bc2['colorChannel1']&&_0x1ed852[_0x1b6465(0x1c1)]==='colorChannel1'&&(_0x1ed852['fill']=_0x17bc2[_0x1b6465(0x4ce)]);var _0x94f4bd=_0xdcca01[_0x1b6465(0x335)];return!_0x94f4bd||_0x94f4bd[_0x1b6465(0x24c)]===0x0||(_0x1ee077['tag']===_0x1b6465(0x5ee)&&_0x1ed852[_0x1b6465(0x28c)]&&(_0x1ed852[_0x1b6465(0x28c)]=_0x1ed852['xlink:href']+_0xdcca01['idSuffix']),Object[_0x1b6465(0x47c)](_0x1ed852)[_0x1b6465(0x24f)](function(_0x400993){const _0x3a3136=_0x1b6465;var _0x2507fe=_0x400993[0x0],_0x1ae8b2=_0x400993[0x1];typeof _0x1ae8b2==_0x3a3136(0x277)&&(_0x1ed852[_0x2507fe]=_0x1ae8b2[_0x3a3136(0x5fa)](/url\(#(.*)\)/,_0x3a3136(0x5cf)[_0x3a3136(0x38a)](_0xdcca01[_0x3a3136(0x1f1)],')')));})),_0x1ed852;}function _0x437e99(_0x56bd7e,_0x19e8f2){const _0x57e308=_0x3948cf;var _0x4e6902,_0x11dbda=_0x19e8f2['defIds'];return!_0x11dbda||_0x11dbda['length']===0x0?_0x56bd7e:_0x56bd7e[_0x57e308(0x471)]===_0x57e308(0x24a)&&(!((_0x4e6902=_0x56bd7e[_0x57e308(0x1c7)])===null||_0x4e6902===void 0x0)&&_0x4e6902['length'])?_0x30c364(_0x30c364({},_0x56bd7e),{'children':_0x56bd7e[_0x57e308(0x1c7)][_0x57e308(0x26b)](function(_0x2e4c79){const _0x296cf5=_0x57e308;return typeof _0x2e4c79['attrs']['id']=='string'&&_0x11dbda&&_0x11dbda['indexOf'](_0x2e4c79[_0x296cf5(0x1c9)]['id'])>-0x1?_0x30c364(_0x30c364({},_0x2e4c79),{'attrs':_0x30c364(_0x30c364({},_0x2e4c79[_0x296cf5(0x1c9)]),{'id':_0x2e4c79[_0x296cf5(0x1c9)]['id']+_0x19e8f2[_0x296cf5(0x1f1)]})}):_0x2e4c79;})}):_0x56bd7e;}function _0x12b6a2(){const _0xb71fc7=_0x3948cf;return Math[_0xb71fc7(0x589)]()[_0xb71fc7(0x4ec)](0x24)[_0xb71fc7(0x53c)](0x2,0x8);}_0x314cd0[_0x3948cf(0x29c)]=_0x3948cf(0x1be);var _0x5763a8={'tag':_0x3948cf(0x2d1),'attrs':{'fill':_0x3948cf(0x33f),'viewBox':_0x3948cf(0x3de),'width':_0x3948cf(0x177),'height':_0x3948cf(0x177)},'children':[{'tag':'g','attrs':{'clipPath':_0x3948cf(0x384)},'children':[{'tag':_0x3948cf(0x5f2),'attrs':{'stroke':_0x3948cf(0x236),'d':_0x3948cf(0x3a0),'strokeLinecap':'round','strokeLinejoin':_0x3948cf(0x3e3),'strokeWidth':1.2}}]},{'tag':_0x3948cf(0x24a),'attrs':{},'children':[{'tag':_0x3948cf(0x311),'attrs':{'id':_0x3948cf(0x552)},'children':[{'tag':_0x3948cf(0x5f2),'attrs':{'fill':_0x3948cf(0x2af),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3948cf(0x552)]},_0x510c36=_0x220425[_0x3948cf(0x141)](function(_0x1ed634,_0x10ebc2){const _0x164191=_0x3948cf;return _0x220425[_0x164191(0x564)](_0x314cd0,Object[_0x164191(0x39c)]({},_0x1ed634,{'id':'off-line-single','ref':_0x10ebc2,'icon':_0x5763a8}));});_0x510c36[_0x3948cf(0x29c)]=_0x3948cf(0x192);var _0x13d7c5={'tag':'svg','attrs':{'fill':_0x3948cf(0x33f),'viewBox':_0x3948cf(0x406),'width':'1em','height':_0x3948cf(0x177)},'children':[{'tag':'g','attrs':{'clipPath':_0x3948cf(0x244)},'children':[{'tag':_0x3948cf(0x5f2),'attrs':{'stroke':_0x3948cf(0x236),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x3948cf(0x3e3),'strokeLinejoin':_0x3948cf(0x3e3),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x3948cf(0x2af),'d':'M0\x200H16V16H0z','transform':_0x3948cf(0x51d)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x41c632=_0x220425['forwardRef'](function(_0x15ee33,_0x325734){const _0x324bdc=_0x3948cf;return _0x220425['createElement'](_0x314cd0,Object['assign']({},_0x15ee33,{'id':_0x324bdc(0x383),'ref':_0x325734,'icon':_0x13d7c5}));});_0x41c632['displayName']=_0x3948cf(0x50f);function _0x2d59fa(_0x120f59){const _0x52a477=_0x3948cf;var _0x2e56aa,_0x50c2ad,_0x1383c8='';if(typeof _0x120f59==_0x52a477(0x277)||typeof _0x120f59=='number')_0x1383c8+=_0x120f59;else{if(typeof _0x120f59=='object'){if(Array[_0x52a477(0x462)](_0x120f59)){var _0x499771=_0x120f59[_0x52a477(0x24c)];for(_0x2e56aa=0x0;_0x2e56aa<_0x499771;_0x2e56aa++)_0x120f59[_0x2e56aa]&&(_0x50c2ad=_0x2d59fa(_0x120f59[_0x2e56aa]))&&(_0x1383c8&&(_0x1383c8+='\x20'),_0x1383c8+=_0x50c2ad);}else{for(_0x50c2ad in _0x120f59)_0x120f59[_0x50c2ad]&&(_0x1383c8&&(_0x1383c8+='\x20'),_0x1383c8+=_0x50c2ad);}}}return _0x1383c8;}function _0x217999(){const _0x232cb0=_0x3948cf;for(var _0x278594,_0x2cd948,_0x45f7d4=0x0,_0x231722='',_0xab2095=arguments[_0x232cb0(0x24c)];_0x45f7d4<_0xab2095;_0x45f7d4++)(_0x278594=arguments[_0x45f7d4])&&(_0x2cd948=_0x2d59fa(_0x278594))&&(_0x231722&&(_0x231722+='\x20'),_0x231722+=_0x2cd948);return _0x231722;}const _0x31882d={'onlineStatusIcon':_0x3948cf(0x3e5),'onlineStatusTitle':'univer-online-status-title','onlineStatus':'univer-online-status','online':_0x3948cf(0x5a2),'offline':_0x3948cf(0x5c0)};function _0x13f3f0(_0xb78acd){const _0x48a715=_0x3948cf;switch(_0xb78acd){case _0x1de127[_0x48a715(0x239)]:return _0x48a715(0x53a);case _0x1de127['CONFLICT']:return _0x48a715(0x5a1);case _0x1de127[_0x48a715(0x28d)]:return _0x48a715(0x505);case _0x1de127['NOT_COLLAB']:return _0x48a715(0x574);case _0x1de127[_0x48a715(0x3d3)]:case _0x1de127[_0x48a715(0x519)]:return'collabStatus.syncing';case _0x1de127['SYNCED']:case _0x1de127[_0x48a715(0x2e4)]:return _0x48a715(0x5bc);}}function _0x409637(_0x19f7d8){const _0x1f494d=_0x3948cf,{status$:_0xfdb40a}=_0x19f7d8,_0x1e9800=_0x405b11[_0x1f494d(0x4c4)](_0xfdb40a,_0x1de127[_0x1f494d(0x344)]),_0x573efb=_0x223914['useDependency'](_0x223914['LocaleService']),_0x298ff7=_0x223914[_0x1f494d(0x291)](_0x24454f[_0x1f494d(0x228)]),_0x6e3dd6=_0x1e9800!==_0x1de127[_0x1f494d(0x239)],_0x3b2488=_0x573efb['t'](_0x13f3f0(_0x1e9800)),_0x54e062=_0x217999(_0x31882d[_0x1f494d(0x2f7)],{[_0x31882d[_0x1f494d(0x595)]]:_0x6e3dd6,[_0x31882d[_0x1f494d(0x492)]]:!_0x6e3dd6}),_0x30cadc=_0x6e3dd6?_0x4fce2a[_0x1f494d(0x37f)](_0x41c632,{}):_0x4fce2a['jsx'](_0x510c36,{}),_0x2721ba=_0x220425['useCallback'](()=>{const _0x450630=_0x1f494d;_0x6e3dd6||_0x298ff7[_0x450630(0x1c3)]();},[_0x6e3dd6,_0x298ff7]);function _0x3b8cb5(){const _0x375200=_0x1f494d;return _0x4fce2a[_0x375200(0x367)]('div',{'className':_0x54e062,'onClick':_0x2721ba,'children':[_0x4fce2a[_0x375200(0x37f)](_0x375200(0x3c4),{'className':_0x31882d[_0x375200(0x207)],'children':_0x30cadc}),_0x4fce2a[_0x375200(0x37f)](_0x375200(0x3c4),{'className':_0x31882d['onlineStatusTitle'],'children':_0x3b2488})]});}return _0x6e3dd6?_0x3b8cb5():_0x4fce2a['jsx'](_0x3fa11f[_0x1f494d(0x57f)],{'title':_0x573efb['t'](_0x1f494d(0x396)),'children':_0x3b8cb5()});}var _0x39e31f=Object[_0x3948cf(0x149)],_0x42ba1e=Object[_0x3948cf(0x16b)],_0x3916ab=(_0x2293e4,_0x4dca54,_0x2b75fa,_0x50acfc)=>{const _0x49a829=_0x3948cf;for(var _0x506022=_0x50acfc>0x1?void 0x0:_0x50acfc?_0x42ba1e(_0x4dca54,_0x2b75fa):_0x4dca54,_0x16c519=_0x2293e4[_0x49a829(0x24c)]-0x1,_0x3a2f1e;_0x16c519>=0x0;_0x16c519--)(_0x3a2f1e=_0x2293e4[_0x16c519])&&(_0x506022=(_0x50acfc?_0x3a2f1e(_0x4dca54,_0x2b75fa,_0x506022):_0x3a2f1e(_0x506022))||_0x506022);return _0x50acfc&&_0x506022&&_0x39e31f(_0x4dca54,_0x2b75fa,_0x506022),_0x506022;},_0x378ac3=(_0x1cdf19,_0x2c204c)=>(_0x4c5a88,_0xecb805)=>_0x2c204c(_0x4c5a88,_0xecb805,_0x1cdf19);_0x24454f[_0x3948cf(0x1c4)]=class extends _0x223914[_0x3948cf(0x2aa)]{constructor(_0x1b2e15,_0x462725,_0x2ab5ee,_0x13e342){const _0x59a8bf=_0x3948cf;super(),_0xeb55cc(this,_0x59a8bf(0x19b),new _0x3fbd04[(_0x59a8bf(0x2e0))](_0x1de127[_0x59a8bf(0x344)])),(this[_0x59a8bf(0x4ba)]=_0x1b2e15,this[_0x59a8bf(0x51f)]=_0x462725,this[_0x59a8bf(0x488)]=_0x2ab5ee,this[_0x59a8bf(0x3f1)]=_0x13e342,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x3948cf(0x278)](){const _0x35d1dd=_0x3948cf;this[_0x35d1dd(0x345)](this['_univerInstanceService']['focused$']['pipe'](_0x3fbd04['switchMap'](()=>{const _0x401fe6=_0x35d1dd,_0x52f6bc=this['_univerInstanceService'][_0x401fe6(0x3ac)]();return _0x52f6bc?this['_collaborationController'][_0x401fe6(0x3e1)](_0x52f6bc[_0x401fe6(0x38c)]()):_0x3fbd04['of'](null);}),_0x3fbd04[_0x35d1dd(0x4b0)](_0x49533c=>_0x49533c?_0x49533c['status$']:_0x3fbd04['of'](_0x1de127['NOT_COLLAB'])))['subscribe'](_0x49947e=>{const _0xafee4e=_0x35d1dd;this['_status$'][_0xafee4e(0x490)](_0x49947e);}));}[_0x3948cf(0x3e9)](){const _0x1c6a5d=_0x3948cf;this[_0x1c6a5d(0x345)](this[_0x1c6a5d(0x51f)][_0x1c6a5d(0x5a8)](_0x405b11[_0x1c6a5d(0x15b)][_0x1c6a5d(0x4b5)],()=>_0x223914[_0x1c6a5d(0x4fd)](_0x2baa5d({'status$':this[_0x1c6a5d(0x19b)][_0x1c6a5d(0x29a)]()}),this[_0x1c6a5d(0x488)])));}},_0x24454f['DesktopCollaborationStatusDisplayController']=_0x3916ab([_0x378ac3(0x0,_0x223914['IUniverInstanceService']),_0x378ac3(0x1,_0x405b11[_0x3948cf(0x312)]),_0x378ac3(0x2,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x378ac3(0x3,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x35c)]))],_0x24454f[_0x3948cf(0x1c4)]);function _0x2baa5d(_0x384212){const {status$:_0x216b25}=_0x384212;return function(){return _0x4fce2a['jsx'](_0x409637,{'status$':_0x216b25});};}const _0x22100a=_0x223914[_0x3948cf(0x32a)]('uni.network.url-service');var _0x5677b3=Object['defineProperty'],_0x5b73d6=Object[_0x3948cf(0x16b)],_0x27a5ab=(_0x3b8950,_0x5e797f,_0x4e169b,_0x39955b)=>{for(var _0x2655d7=_0x39955b>0x1?void 0x0:_0x39955b?_0x5b73d6(_0x5e797f,_0x4e169b):_0x5e797f,_0x109e63=_0x3b8950['length']-0x1,_0x19e87e;_0x109e63>=0x0;_0x109e63--)(_0x19e87e=_0x3b8950[_0x109e63])&&(_0x2655d7=(_0x39955b?_0x19e87e(_0x5e797f,_0x4e169b,_0x2655d7):_0x19e87e(_0x2655d7))||_0x2655d7);return _0x39955b&&_0x2655d7&&_0x5677b3(_0x5e797f,_0x4e169b,_0x2655d7),_0x2655d7;},_0x141d1c=(_0x5324f3,_0xf011c0)=>(_0x315496,_0x3bcf04)=>_0xf011c0(_0x315496,_0x3bcf04,_0x5324f3);_0x24454f['DataLoaderController']=class extends _0x223914[_0x3948cf(0x52f)]{constructor(_0x44e4a1,_0x3697fa,_0x4e3d09,_0x19c3e5,_0x39d6d9,_0x43b624){const _0x46982a=_0x3948cf;super(),this[_0x46982a(0x5ed)]=_0x44e4a1,this['_logService']=_0x3697fa,this[_0x46982a(0x1b9)]=_0x4e3d09,this[_0x46982a(0x337)]=_0x19c3e5,this[_0x46982a(0x211)]=_0x39d6d9,_0x43b624?_0x43b624==null||_0x43b624['whenReady']()['then'](()=>this['_init']()):(this[_0x46982a(0x3fb)]['debug'](_0x46982a(0x3c9),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x46982a(0x528)]());}async[_0x3948cf(0x528)](){const _0x3fedd8=_0x3948cf,_0x52a346=this[_0x3fedd8(0x5ed)][_0x3fedd8(0x18a)](_0x3fedd8(0x326)),_0x55fc71=this[_0x3fedd8(0x5ed)][_0x3fedd8(0x18a)]('type');if(!_0x52a346||!_0x55fc71){this[_0x3fedd8(0x3fb)][_0x3fedd8(0x346)](_0x3fedd8(0x3c9),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x55fc71)){case _0x50449d[_0x3fedd8(0x18d)]:{const _0x3e6bbf=await this[_0x3fedd8(0x4b2)](_0x52a346);this['_setupSubUnitSync'](_0x3e6bbf);break;}case _0x50449d[_0x3fedd8(0x30c)]:{await this[_0x3fedd8(0x15a)](_0x52a346);break;}default:{this[_0x3fedd8(0x3fb)]['error'](_0x3fedd8(0x3c9),_0x3fedd8(0x5f4));break;}}}async[_0x3948cf(0x295)](_0xc6ee61){const _0x1c16a8=_0x3948cf;await this[_0x1c16a8(0x38f)](_0xc6ee61),_0xc6ee61[_0x1c16a8(0x2fa)][_0x1c16a8(0x3c1)](_0x3fbd04[_0x1c16a8(0x233)](this[_0x1c16a8(0x1a1)]))[_0x1c16a8(0x577)](_0x994288=>{const _0x10f95e=_0x1c16a8;_0x994288&&this[_0x10f95e(0x2a4)](_0x994288);}),this[_0x1c16a8(0x5ed)][_0x1c16a8(0x297)][_0x1c16a8(0x3c1)](_0x3fbd04[_0x1c16a8(0x233)](this[_0x1c16a8(0x1a1)]))[_0x1c16a8(0x577)](()=>this[_0x1c16a8(0x38f)](_0xc6ee61));}[_0x3948cf(0x2a4)](_0x2c0530,_0x1ef97d=!0x1){const _0x549aed=_0x3948cf,_0x104fed=this[_0x549aed(0x5ed)][_0x549aed(0x18a)]('subunit');_0x2c0530[_0x549aed(0x1b4)]()!==_0x104fed&&this[_0x549aed(0x5ed)][_0x549aed(0x25b)](_0x549aed(0x4e8),_0x2c0530[_0x549aed(0x1b4)](),_0x1ef97d);}async[_0x3948cf(0x38f)](_0x1f3ff0){const _0x4d463e=_0x3948cf;var _0x5b6e17;const _0x1624cf=this['_urlService'][_0x4d463e(0x18a)](_0x4d463e(0x4e8));if(!_0x1624cf||!_0x1f3ff0[_0x4d463e(0x460)](_0x1624cf)){const _0x45a849=_0x1f3ff0[_0x4d463e(0x213)]()[0x0],_0x4945df=_0x1f3ff0[_0x4d463e(0x460)](_0x45a849);if(!_0x4945df)return;this[_0x4d463e(0x2a4)](_0x4945df,!0x0),await this[_0x4d463e(0x1b9)][_0x4d463e(0x3d0)](_0x59e5a9[_0x4d463e(0x197)]['id'],{'unitId':_0x1f3ff0[_0x4d463e(0x38c)](),'subUnitId':_0x45a849});return;}((_0x5b6e17=_0x1f3ff0[_0x4d463e(0x3d2)]())==null?void 0x0:_0x5b6e17[_0x4d463e(0x1b4)]())!==_0x1624cf&&await this[_0x4d463e(0x1b9)]['executeCommand'](_0x59e5a9[_0x4d463e(0x197)]['id'],{'unitId':_0x1f3ff0[_0x4d463e(0x38c)](),'subUnitId':_0x1624cf});}async[_0x3948cf(0x4b2)](_0x33e3b2){const _0x5c7f53=_0x3948cf;let _0x33d77e=0x0;const _0x404852=await this[_0x5c7f53(0x337)][_0x5c7f53(0x546)](_0x33e3b2);return _0x404852&&(_0x404852['awaitingChangeset']||_0x404852[_0x5c7f53(0x53f)][_0x5c7f53(0x24c)]!==0x0)&&(_0x33d77e=_0x404852[_0x5c7f53(0x1cf)]),_0x33d77e===0x0&&this[_0x5c7f53(0x3fb)][_0x5c7f53(0x346)]('[DataLoaderController]',_0x5c7f53(0x3df)),this['_snapshotService'][_0x5c7f53(0x3f4)](_0x33e3b2,_0x33d77e);}async[_0x3948cf(0x15a)](_0x22b71c){const _0x30527a=_0x3948cf;let _0x2bd5c0=0x0;const _0x436daf=await this[_0x30527a(0x337)][_0x30527a(0x546)](_0x22b71c);return _0x436daf&&(_0x436daf[_0x30527a(0x348)]||_0x436daf['mutations'][_0x30527a(0x24c)]!==0x0)&&(_0x2bd5c0=_0x436daf[_0x30527a(0x1cf)]),_0x2bd5c0===0x0&&this[_0x30527a(0x3fb)]['debug'](_0x30527a(0x3c9),_0x30527a(0x3df)),this[_0x30527a(0x211)][_0x30527a(0x270)](_0x22b71c,_0x2bd5c0);}},_0x24454f[_0x3948cf(0x2d9)]=_0x27a5ab([_0x141d1c(0x0,_0x22100a),_0x141d1c(0x1,_0x223914['ILogService']),_0x141d1c(0x2,_0x223914[_0x3948cf(0x38e)]),_0x141d1c(0x3,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x30e)])),_0x141d1c(0x4,_0x223914['Inject'](_0x9ea725[_0x3948cf(0x166)])),_0x141d1c(0x5,_0x223914[_0x3948cf(0x2b9)](_0x193116['IRemoteInstanceService']))],_0x24454f[_0x3948cf(0x2d9)]);var _0x230cd0=Object[_0x3948cf(0x149)],_0x29c39b=Object[_0x3948cf(0x16b)],_0x5c8d7d=(_0x4f91a4,_0x507ad7,_0x3b61f5,_0x21727c)=>{const _0x368031=_0x3948cf;for(var _0x5d18ea=_0x21727c>0x1?void 0x0:_0x21727c?_0x29c39b(_0x507ad7,_0x3b61f5):_0x507ad7,_0xec1ace=_0x4f91a4[_0x368031(0x24c)]-0x1,_0x1db86b;_0xec1ace>=0x0;_0xec1ace--)(_0x1db86b=_0x4f91a4[_0xec1ace])&&(_0x5d18ea=(_0x21727c?_0x1db86b(_0x507ad7,_0x3b61f5,_0x5d18ea):_0x1db86b(_0x5d18ea))||_0x5d18ea);return _0x21727c&&_0x5d18ea&&_0x230cd0(_0x507ad7,_0x3b61f5,_0x5d18ea),_0x5d18ea;},_0x39a67c=(_0x222fdb,_0x4d8332)=>(_0x136fc2,_0x3cf0a4)=>_0x4d8332(_0x136fc2,_0x3cf0a4,_0x222fdb);const _0x37f9ea=_0x3948cf(0x58d),_0x247082=_0x3948cf(0x447);let _0x5583a5=class extends _0x223914['Disposable']{constructor(_0x38358d,_0x4e33f3){const _0x58c985=_0x3948cf;super(),this[_0x58c985(0x4ba)]=_0x38358d,this[_0x58c985(0x164)]=_0x4e33f3,this[_0x58c985(0x528)]();}[_0x3948cf(0x528)](){const _0x493149=_0x3948cf;this[_0x493149(0x345)](this[_0x493149(0x4ba)][_0x493149(0x254)][_0x493149(0x577)](()=>{const _0x4b48f1=_0x493149;var _0x551888;const _0x3bf62c=this[_0x4b48f1(0x4ba)]['getFocusedUnit']();let _0x2b3364=(_0x551888=this[_0x4b48f1(0x164)][_0x4b48f1(0x52b)](_0x37f9ea))!=null?_0x551888:_0x247082;_0x3bf62c instanceof _0x223914['Workbook']&&(_0x2b3364=_0x3bf62c[_0x4b48f1(0x289)]),document[_0x4b48f1(0x40a)]=_0x2b3364;}));}};_0x5583a5=_0x5c8d7d([_0x39a67c(0x0,_0x223914[_0x3948cf(0x2dd)]),_0x39a67c(0x1,_0x223914[_0x3948cf(0x1ff)])],_0x5583a5);var _0x10aa4a=Object[_0x3948cf(0x149)],_0x23b22d=Object[_0x3948cf(0x16b)],_0x146522=(_0x1c9cb7,_0x3f619e,_0x253d81,_0x577a00)=>{const _0x12aac8=_0x3948cf;for(var _0x420f36=_0x577a00>0x1?void 0x0:_0x577a00?_0x23b22d(_0x3f619e,_0x253d81):_0x3f619e,_0x1b038b=_0x1c9cb7[_0x12aac8(0x24c)]-0x1,_0xd317b4;_0x1b038b>=0x0;_0x1b038b--)(_0xd317b4=_0x1c9cb7[_0x1b038b])&&(_0x420f36=(_0x577a00?_0xd317b4(_0x3f619e,_0x253d81,_0x420f36):_0xd317b4(_0x420f36))||_0x420f36);return _0x577a00&&_0x420f36&&_0x10aa4a(_0x3f619e,_0x253d81,_0x420f36),_0x420f36;},_0x5b6d74=(_0xb23dd4,_0x4d77e3)=>(_0x582131,_0x4f9967)=>_0x4d77e3(_0x582131,_0x4f9967,_0xb23dd4);let _0x27f981=class{constructor(_0x516d13,_0x273622,_0x7ebc16){const _0x53e6e8=_0x3948cf;this['_configService']=_0x516d13,this[_0x53e6e8(0x3cc)]=_0x273622,this['localeService']=_0x7ebc16,this[_0x53e6e8(0x49a)]();}[_0x3948cf(0x49a)](){const _0x52a50a=_0x3948cf;this[_0x52a50a(0x3cc)][_0x52a50a(0x3ec)]({'priority':0x1,'interceptor':(_0x1d018e,_0x27bc10)=>_0x27bc10(_0x1d018e)[_0x52a50a(0x3c1)](_0x3fbd04['concatMap'](async _0x3c1d31=>{const _0x2b6ad0=_0x52a50a,_0x517c7b=_0x3c1d31;if(_0x517c7b[_0x2b6ad0(0x5e2)]===0x191&&window[_0x2b6ad0(0x60d)](this[_0x2b6ad0(0x306)]['t'](_0x2b6ad0(0x28a)))){const _0x7ff3e7=window[_0x2b6ad0(0x2b1)](window['location'][_0x2b6ad0(0x4bf)]);window[_0x2b6ad0(0x2bc)][_0x2b6ad0(0x4bf)]=this['_getLoginPath']()+_0x2b6ad0(0x46f)+_0x7ff3e7;}return _0x517c7b;}))});}[_0x3948cf(0x26a)](){const _0x31fa77=_0x3948cf;var _0x4433e9,_0x17df6e;const _0x8c1cdf=this[_0x31fa77(0x164)][_0x31fa77(0x52b)](_0x5d6ffa),_0x496ea8=this['_configService'][_0x31fa77(0x52b)](_0x59012f);return(_0x17df6e=(_0x4433e9=_0x496ea8==null?void 0x0:_0x496ea8['loginUrlKey'])!=null?_0x4433e9:_0x8c1cdf)!=null?_0x17df6e:_0x446363;}};_0x27f981=_0x146522([_0x5b6d74(0x0,_0x223914[_0x3948cf(0x1ff)]),_0x5b6d74(0x1,_0x223914['Inject'](_0x1ddba4[_0x3948cf(0x171)])),_0x5b6d74(0x2,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x570)]))],_0x27f981);var _0x395dd1=Object[_0x3948cf(0x149)],_0x2bda7d=Object[_0x3948cf(0x16b)],_0x578ef8=(_0x5f3ffa,_0x110aa0,_0x5a49ab,_0x468e8a)=>{const _0x33c9e4=_0x3948cf;for(var _0x15744e=_0x468e8a>0x1?void 0x0:_0x468e8a?_0x2bda7d(_0x110aa0,_0x5a49ab):_0x110aa0,_0x4694d6=_0x5f3ffa[_0x33c9e4(0x24c)]-0x1,_0x34966d;_0x4694d6>=0x0;_0x4694d6--)(_0x34966d=_0x5f3ffa[_0x4694d6])&&(_0x15744e=(_0x468e8a?_0x34966d(_0x110aa0,_0x5a49ab,_0x15744e):_0x34966d(_0x15744e))||_0x15744e);return _0x468e8a&&_0x15744e&&_0x395dd1(_0x110aa0,_0x5a49ab,_0x15744e),_0x15744e;},_0x2ec122=(_0x4f6388,_0x12699a)=>(_0x2b8f5a,_0x5a12cf)=>_0x12699a(_0x2b8f5a,_0x5a12cf,_0x4f6388);const _0x45e840=_0x3948cf(0x485),_0x32e81f=_0x3948cf(0x142);_0x24454f[_0x3948cf(0x3d1)]=class extends _0x223914[_0x3948cf(0x2aa)]{constructor(_0x185d1c,_0x410709){const _0x1b3279=_0x3948cf;super(),this[_0x1b3279(0x190)]=_0x185d1c,this[_0x1b3279(0x164)]=_0x410709,this[_0x1b3279(0x313)]();}[_0x3948cf(0x313)](){const _0x17ebd0=_0x3948cf,_0x547023=this;this[_0x17ebd0(0x345)](this[_0x17ebd0(0x190)][_0x17ebd0(0x3ec)]({'priority':0x3e7,'interceptor':_0x1ddba4[_0x17ebd0(0x37c)]({'isMatch'(_0x3c5985){const _0x10d5e8=_0x17ebd0;var _0x4bac4f;if(_0x3c5985[_0x10d5e8(0x2f6)]===_0x10d5e8(0x2d3)&&((_0x4bac4f=_0x3c5985[_0x10d5e8(0x41c)])!=null&&_0x4bac4f[_0x10d5e8(0x579)])){const {objectID:_0x5423c4,objectType:_0xc570b5}=_0x3c5985[_0x10d5e8(0x41c)]['body']||{};if(!_0x5423c4||_0xc570b5===void 0x0)return!0x1;const _0x21693f=_0x547023[_0x10d5e8(0x55c)]()+'/'+_0xc570b5+_0x10d5e8(0x3f5)+_0x5423c4+'/allowed';if(_0x3c5985[_0x10d5e8(0x4be)]===_0x21693f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xd4ba66){const _0x5ec316=_0x17ebd0;var _0x42340d;return(_0x42340d=_0xd4ba66[_0x5ec316(0x41c)])==null?void 0x0:_0x42340d['body'];},'mergeParamsToRequest'(_0x5cd249,_0x2b3fec){const _0x3c4ce0=_0x17ebd0,_0x5e9172=_0x547023[_0x3c4ce0(0x55c)]()+_0x3c4ce0(0x2e3),_0x205fd9=_0x5cd249[_0x3c4ce0(0x421)]((_0x8bc89f,_0x4e4f50)=>{const _0x1b1ebe=_0x3c4ce0,{unitID:_0x32b2c0,objectID:_0x2032ae,objectType:_0x10ca71,actions:_0xc6fcfd}=_0x4e4f50;return _0x8bc89f[_0x32b2c0]||(_0x8bc89f[_0x32b2c0]={}),_0x8bc89f[_0x32b2c0][_0x2032ae]||(_0x8bc89f[_0x32b2c0][_0x2032ae]={'objectID':_0x2032ae,'objectType':_0x10ca71,'actions':[]}),_0x8bc89f[_0x32b2c0][_0x2032ae][_0x1b1ebe(0x352)][_0x1b1ebe(0x4ef)](..._0xc6fcfd),_0x8bc89f;},{}),_0x9444ba=[];for(const _0x5c1004 in _0x205fd9)for(const _0x104575 in _0x205fd9[_0x5c1004]){const {actions:_0x5d49c5,objectType:_0x3bb955}=_0x205fd9[_0x5c1004][_0x104575],_0x1af188=[...new Set(_0x5d49c5)];_0x9444ba['push']({'unitID':_0x5c1004,'objectID':_0x104575,'objectType':_0x3bb955,'actions':_0x1af188});}return new _0x1ddba4[(_0x3c4ce0(0x24e))](_0x3c4ce0(0x2d3),_0x5e9172,{'headers':_0x2b3fec[_0x3c4ce0(0x594)],'withCredentials':_0x2b3fec[_0x3c4ce0(0x4a0)],'responseType':_0x2b3fec['responseType'],'body':{'requests':_0x9444ba}});}},{'distributeResult'(_0x1b789f,_0x3c1697){const _0xab5e36=_0x17ebd0,{objectActions:_0x44c50f}=_0x1b789f;return _0x3c1697[_0xab5e36(0x26b)](_0x5ce545=>{const _0x4a4682=_0xab5e36,{unitID:_0x7b92ef,objectID:_0x5006f5,actions:_0x288c64}=_0x5ce545,_0x154cfa=_0x44c50f[_0x4a4682(0x26d)](_0x843541=>_0x843541[_0x4a4682(0x397)]===_0x7b92ef&&_0x843541[_0x4a4682(0x38b)]===_0x5006f5),_0x291ce2=_0x288c64['map'](_0xa6951f=>_0x154cfa==null?void 0x0:_0x154cfa[_0x4a4682(0x352)][_0x4a4682(0x26d)](_0x2f3762=>_0x2f3762[_0x4a4682(0x559)]===_0xa6951f))[_0x4a4682(0x256)](_0x4dade3=>!!_0x4dade3);return{'config':_0x5ce545,'result':{'actions':_0x291ce2,'error':_0x1b789f[_0x4a4682(0x41b)]}};});}})}));}[_0x3948cf(0x55c)](){const _0x49a5eb=_0x3948cf;var _0x1fe2cc,_0x14e212;const _0x51f166=this[_0x49a5eb(0x164)]['getConfig'](_0x45e840),_0x442226=this[_0x49a5eb(0x164)]['getConfig'](_0x59012f);return(_0x14e212=(_0x1fe2cc=_0x442226==null?void 0x0:_0x442226[_0x49a5eb(0x4a2)])!=null?_0x1fe2cc:_0x51f166)!=null?_0x14e212:_0x32e81f;}async[_0x3948cf(0x43f)](_0x547e18){const _0x4e7ea0=_0x3948cf,_0x1808c1=this[_0x4e7ea0(0x55c)]()+'/'+_0x547e18[_0x4e7ea0(0x1ab)]+_0x4e7ea0(0x4d3);return(await this[_0x4e7ea0(0x190)]['post'](_0x1808c1,{'body':_0x547e18}))[_0x4e7ea0(0x579)]['objectID']||'';}async['list'](_0x4c0d6b){const _0x431a55=_0x3948cf,_0x400aea=this[_0x431a55(0x55c)]()+_0x431a55(0x165);return(await this['_HTTPService'][_0x431a55(0x39f)](_0x400aea,{'body':_0x4c0d6b}))[_0x431a55(0x579)][_0x431a55(0x451)];}async[_0x3948cf(0x483)](_0x4d8dda){const _0x4d27b0=_0x3948cf,_0x10ada0=this[_0x4d27b0(0x55c)]()+'/'+_0x4d8dda['objectType']+_0x4d27b0(0x3f5)+_0x4d8dda[_0x4d27b0(0x38b)];await this[_0x4d27b0(0x190)]['put'](_0x10ada0,{'body':_0x4d8dda});}async['allowed'](_0x45098f){const _0x30aae6=_0x3948cf,_0xb4cef5=this[_0x30aae6(0x55c)]()+'/'+_0x45098f[_0x30aae6(0x1ab)]+_0x30aae6(0x3f5)+_0x45098f['objectID']+_0x30aae6(0x153);return(await this[_0x30aae6(0x190)][_0x30aae6(0x39f)](_0xb4cef5,{'body':_0x45098f}))[_0x30aae6(0x579)]['actions'];}async['batchAllowed'](_0x28b814){const _0x1ae795=_0x3948cf,_0x2a6dbe=this[_0x1ae795(0x55c)]()+_0x1ae795(0x2e3);return(await this[_0x1ae795(0x190)][_0x1ae795(0x39f)](_0x2a6dbe,{'body':{'requests':_0x28b814}}))[_0x1ae795(0x579)]['objectActions'];}async[_0x3948cf(0x514)](_0x280564){const _0x4bb4f9=_0x3948cf,_0x566693=this['_getAPIPrefixPath']()+'/'+_0x280564[_0x4bb4f9(0x1ab)]+_0x4bb4f9(0x50a),_0x42f40b=await this[_0x4bb4f9(0x190)]['post'](_0x566693,{'body':_0x280564});return{'roles':_0x42f40b[_0x4bb4f9(0x579)][_0x4bb4f9(0x1f5)],'actions':_0x42f40b['body']['actions']};}async[_0x3948cf(0x5cc)](_0x4889f9){const _0xb88c18=_0x3948cf,_0x37e019=this[_0xb88c18(0x55c)]()+_0xb88c18(0x1f7);await this[_0xb88c18(0x190)]['delete'](_0x37e019,{'params':{'collaboratorID':_0x4889f9[_0xb88c18(0x269)],'objectID':_0x4889f9['objectID'],'unitID':_0x4889f9[_0xb88c18(0x397)]}});}async['updateCollaborator'](_0x1bebd2){const _0x380d77=_0x3948cf,_0x22ef0c=this['_getAPIPrefixPath']()+_0x380d77(0x1f7);await this['_HTTPService'][_0x380d77(0x49f)](_0x22ef0c,{'body':_0x1bebd2});}async[_0x3948cf(0x411)](_0x530bcc){const _0xf23352=_0x3948cf,_0x37ccf5=this[_0xf23352(0x55c)]()+_0xf23352(0x1f7);await this[_0xf23352(0x190)][_0xf23352(0x39f)](_0x37ccf5,{'body':_0x530bcc});}async[_0x3948cf(0x5f5)](_0x1612b9){const _0x2a5404=_0x3948cf,_0x1a02ed=this[_0x2a5404(0x55c)]()+_0x2a5404(0x1f7);return(await this['_HTTPService'][_0x2a5404(0x55a)](_0x1a02ed,{'params':{'objectID':_0x1612b9[_0x2a5404(0x38b)],'unitID':_0x1612b9['unitID']}}))[_0x2a5404(0x579)][_0x2a5404(0x538)];}async[_0x3948cf(0x5dc)](_0x2ec1a6){const _0x12559b=_0x3948cf,_0x581185=this[_0x12559b(0x55c)]()+'/collaborator';await this['_HTTPService']['put'](_0x581185,{'body':_0x2ec1a6});}},_0x24454f[_0x3948cf(0x3d1)]=_0x578ef8([_0x2ec122(0x0,_0x223914[_0x3948cf(0x25f)](_0x1ddba4[_0x3948cf(0x171)])),_0x2ec122(0x1,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x1ff)]))],_0x24454f[_0x3948cf(0x3d1)]);var _0x1a04ba={'exports':{}};function _0x550236(_0x352438){const _0x314eb3=_0x3948cf;throw new Error(_0x314eb3(0x530)+_0x352438+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x29b6ad={'exports':{}},_0x4fa671;function _0x28c7fc(){const _0x26e137=_0x3948cf;return _0x4fa671||(_0x4fa671=0x1,function(_0xe3c68a,_0x46e002){(function(_0x2375ca,_0x53bab1){const _0x46ce04=_0x5201;_0xe3c68a[_0x46ce04(0x29b)]=_0x53bab1();}(_0x22c069,function(){var _0x2d550b=_0x2d550b||function(_0x271559,_0x3a22b5){const _0x3fb02f=_0x5201;var _0x7caa5e;if(typeof window<'u'&&window['crypto']&&(_0x7caa5e=window[_0x3fb02f(0x235)]),typeof self<'u'&&self[_0x3fb02f(0x235)]&&(_0x7caa5e=self[_0x3fb02f(0x235)]),typeof globalThis<'u'&&globalThis[_0x3fb02f(0x235)]&&(_0x7caa5e=globalThis['crypto']),!_0x7caa5e&&typeof window<'u'&&window[_0x3fb02f(0x607)]&&(_0x7caa5e=window[_0x3fb02f(0x607)]),!_0x7caa5e&&typeof _0x22c069<'u'&&_0x22c069[_0x3fb02f(0x235)]&&(_0x7caa5e=_0x22c069['crypto']),!_0x7caa5e&&typeof _0x550236=='function')try{_0x7caa5e=require(_0x3fb02f(0x235));}catch{}var _0x50e8ab=function(){const _0x1326b4=_0x3fb02f;if(_0x7caa5e){if(typeof _0x7caa5e['getRandomValues']==_0x1326b4(0x172))try{return _0x7caa5e[_0x1326b4(0x60a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x7caa5e[_0x1326b4(0x588)]==_0x1326b4(0x172))try{return _0x7caa5e[_0x1326b4(0x588)](0x4)[_0x1326b4(0x4ab)]();}catch{}}throw new Error(_0x1326b4(0x4a3));},_0x29c236=Object[_0x3fb02f(0x43f)]||(function(){function _0x311cd6(){}return function(_0x5f5a58){const _0x248a62=_0x5201;var _0x1f054a;return _0x311cd6[_0x248a62(0x3ff)]=_0x5f5a58,_0x1f054a=new _0x311cd6(),_0x311cd6[_0x248a62(0x3ff)]=null,_0x1f054a;};}()),_0x45b421={},_0x2e6c1a=_0x45b421[_0x3fb02f(0x4f8)]={},_0x447169=_0x2e6c1a[_0x3fb02f(0x4c1)]=(function(){return{'extend':function(_0x2308a0){const _0x4f697=_0x5201;var _0x42abaa=_0x29c236(this);return _0x2308a0&&_0x42abaa[_0x4f697(0x586)](_0x2308a0),(!_0x42abaa[_0x4f697(0x188)](_0x4f697(0x49a))||this[_0x4f697(0x49a)]===_0x42abaa['init'])&&(_0x42abaa[_0x4f697(0x49a)]=function(){const _0x33faff=_0x4f697;_0x42abaa[_0x33faff(0x5f8)]['init'][_0x33faff(0x476)](this,arguments);}),_0x42abaa[_0x4f697(0x49a)]['prototype']=_0x42abaa,_0x42abaa['$super']=this,_0x42abaa;},'create':function(){const _0x43bf73=_0x5201;var _0x1c86ce=this[_0x43bf73(0x601)]();return _0x1c86ce[_0x43bf73(0x49a)][_0x43bf73(0x476)](_0x1c86ce,arguments),_0x1c86ce;},'init':function(){},'mixIn':function(_0x2ddab8){const _0x286827=_0x5201;for(var _0x40684c in _0x2ddab8)_0x2ddab8['hasOwnProperty'](_0x40684c)&&(this[_0x40684c]=_0x2ddab8[_0x40684c]);_0x2ddab8['hasOwnProperty'](_0x286827(0x4ec))&&(this['toString']=_0x2ddab8[_0x286827(0x4ec)]);},'clone':function(){const _0x2fa177=_0x5201;return this[_0x2fa177(0x49a)][_0x2fa177(0x3ff)][_0x2fa177(0x601)](this);}};}()),_0xb96405=_0x2e6c1a[_0x3fb02f(0x281)]=_0x447169['extend']({'init':function(_0x203eb8,_0x571f6c){const _0x3354c2=_0x3fb02f;_0x203eb8=this[_0x3354c2(0x357)]=_0x203eb8||[],_0x571f6c!=_0x3a22b5?this['sigBytes']=_0x571f6c:this['sigBytes']=_0x203eb8['length']*0x4;},'toString':function(_0x46e709){const _0x5ba056=_0x3fb02f;return(_0x46e709||_0x2ac45d)[_0x5ba056(0x2ec)](this);},'concat':function(_0x599f5c){const _0x1a0a03=_0x3fb02f;var _0x4d925d=this[_0x1a0a03(0x357)],_0x39d709=_0x599f5c[_0x1a0a03(0x357)],_0x1ffc2a=this[_0x1a0a03(0x336)],_0x452ceb=_0x599f5c[_0x1a0a03(0x336)];if(this[_0x1a0a03(0x55d)](),_0x1ffc2a%0x4)for(var _0x40601e=0x0;_0x40601e<_0x452ceb;_0x40601e++){var _0x41daac=_0x39d709[_0x40601e>>>0x2]>>>0x18-_0x40601e%0x4*0x8&0xff;_0x4d925d[_0x1ffc2a+_0x40601e>>>0x2]|=_0x41daac<<0x18-(_0x1ffc2a+_0x40601e)%0x4*0x8;}else{for(var _0xfec016=0x0;_0xfec016<_0x452ceb;_0xfec016+=0x4)_0x4d925d[_0x1ffc2a+_0xfec016>>>0x2]=_0x39d709[_0xfec016>>>0x2];}return this[_0x1a0a03(0x336)]+=_0x452ceb,this;},'clamp':function(){const _0x434285=_0x3fb02f;var _0x165330=this[_0x434285(0x357)],_0x5e103b=this[_0x434285(0x336)];_0x165330[_0x5e103b>>>0x2]&=0xffffffff<<0x20-_0x5e103b%0x4*0x8,_0x165330[_0x434285(0x24c)]=_0x271559['ceil'](_0x5e103b/0x4);},'clone':function(){const _0x14af50=_0x3fb02f;var _0x25e0f8=_0x447169[_0x14af50(0x5a6)][_0x14af50(0x56a)](this);return _0x25e0f8['words']=this[_0x14af50(0x357)][_0x14af50(0x26f)](0x0),_0x25e0f8;},'random':function(_0x100092){const _0x5ba1ea=_0x3fb02f;for(var _0x4fa3c7=[],_0x11ae16=0x0;_0x11ae16<_0x100092;_0x11ae16+=0x4)_0x4fa3c7[_0x5ba1ea(0x4ef)](_0x50e8ab());return new _0xb96405[(_0x5ba1ea(0x49a))](_0x4fa3c7,_0x100092);}}),_0x4fb3b8=_0x45b421[_0x3fb02f(0x272)]={},_0x2ac45d=_0x4fb3b8['Hex']={'stringify':function(_0x3902cb){const _0x12689c=_0x3fb02f;for(var _0x309dad=_0x3902cb[_0x12689c(0x357)],_0x5af21f=_0x3902cb[_0x12689c(0x336)],_0x48d88f=[],_0x5d156d=0x0;_0x5d156d<_0x5af21f;_0x5d156d++){var _0x11dfa1=_0x309dad[_0x5d156d>>>0x2]>>>0x18-_0x5d156d%0x4*0x8&0xff;_0x48d88f[_0x12689c(0x4ef)]((_0x11dfa1>>>0x4)[_0x12689c(0x4ec)](0x10)),_0x48d88f[_0x12689c(0x4ef)]((_0x11dfa1&0xf)['toString'](0x10));}return _0x48d88f[_0x12689c(0x5d0)]('');},'parse':function(_0x2fdd21){const _0x38fe14=_0x3fb02f;for(var _0x42c506=_0x2fdd21['length'],_0x3e805c=[],_0x34f92b=0x0;_0x34f92b<_0x42c506;_0x34f92b+=0x2)_0x3e805c[_0x34f92b>>>0x3]|=parseInt(_0x2fdd21[_0x38fe14(0x1b5)](_0x34f92b,0x2),0x10)<<0x18-_0x34f92b%0x8*0x4;return new _0xb96405[(_0x38fe14(0x49a))](_0x3e805c,_0x42c506/0x2);}},_0x3ec7d0=_0x4fb3b8['Latin1']={'stringify':function(_0x270c18){const _0x19975d=_0x3fb02f;for(var _0x22cd03=_0x270c18[_0x19975d(0x357)],_0x44ba69=_0x270c18[_0x19975d(0x336)],_0x460976=[],_0xd14e54=0x0;_0xd14e54<_0x44ba69;_0xd14e54++){var _0x3934d9=_0x22cd03[_0xd14e54>>>0x2]>>>0x18-_0xd14e54%0x4*0x8&0xff;_0x460976[_0x19975d(0x4ef)](String[_0x19975d(0x361)](_0x3934d9));}return _0x460976[_0x19975d(0x5d0)]('');},'parse':function(_0x11e9ad){const _0x1a0836=_0x3fb02f;for(var _0x3cf021=_0x11e9ad[_0x1a0836(0x24c)],_0x13e987=[],_0x4bb3ad=0x0;_0x4bb3ad<_0x3cf021;_0x4bb3ad++)_0x13e987[_0x4bb3ad>>>0x2]|=(_0x11e9ad[_0x1a0836(0x163)](_0x4bb3ad)&0xff)<<0x18-_0x4bb3ad%0x4*0x8;return new _0xb96405[(_0x1a0836(0x49a))](_0x13e987,_0x3cf021);}},_0x580534=_0x4fb3b8[_0x3fb02f(0x5d4)]={'stringify':function(_0x51db67){const _0x8c9d75=_0x3fb02f;try{return decodeURIComponent(escape(_0x3ec7d0[_0x8c9d75(0x2ec)](_0x51db67)));}catch{throw new Error(_0x8c9d75(0x2ed));}},'parse':function(_0x5be4f1){return _0x3ec7d0['parse'](unescape(encodeURIComponent(_0x5be4f1)));}},_0x31ad10=_0x2e6c1a[_0x3fb02f(0x2fc)]=_0x447169[_0x3fb02f(0x601)]({'reset':function(){this['_data']=new _0xb96405['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x12b63b){const _0x500e7e=_0x3fb02f;typeof _0x12b63b==_0x500e7e(0x277)&&(_0x12b63b=_0x580534[_0x500e7e(0x517)](_0x12b63b)),this[_0x500e7e(0x264)]['concat'](_0x12b63b),this[_0x500e7e(0x155)]+=_0x12b63b[_0x500e7e(0x336)];},'_process':function(_0x196b7f){const _0x15fde4=_0x3fb02f;var _0xd3494f,_0x59dbf9=this['_data'],_0x28dd89=_0x59dbf9[_0x15fde4(0x357)],_0x535235=_0x59dbf9[_0x15fde4(0x336)],_0x4be289=this['blockSize'],_0x32e48c=_0x4be289*0x4,_0x29c622=_0x535235/_0x32e48c;_0x196b7f?_0x29c622=_0x271559['ceil'](_0x29c622):_0x29c622=_0x271559['max']((_0x29c622|0x0)-this[_0x15fde4(0x366)],0x0);var _0x70dbbf=_0x29c622*_0x4be289,_0x2d7174=_0x271559[_0x15fde4(0x496)](_0x70dbbf*0x4,_0x535235);if(_0x70dbbf){for(var _0x55899e=0x0;_0x55899e<_0x70dbbf;_0x55899e+=_0x4be289)this[_0x15fde4(0x3cd)](_0x28dd89,_0x55899e);_0xd3494f=_0x28dd89[_0x15fde4(0x5f3)](0x0,_0x70dbbf),_0x59dbf9['sigBytes']-=_0x2d7174;}return new _0xb96405[(_0x15fde4(0x49a))](_0xd3494f,_0x2d7174);},'clone':function(){const _0x4331bb=_0x3fb02f;var _0x220219=_0x447169[_0x4331bb(0x5a6)]['call'](this);return _0x220219[_0x4331bb(0x264)]=this[_0x4331bb(0x264)][_0x4331bb(0x5a6)](),_0x220219;},'_minBufferSize':0x0});_0x2e6c1a[_0x3fb02f(0x5c6)]=_0x31ad10['extend']({'cfg':_0x447169[_0x3fb02f(0x601)](),'init':function(_0x521478){const _0x2e867d=_0x3fb02f;this[_0x2e867d(0x516)]=this['cfg'][_0x2e867d(0x601)](_0x521478),this[_0x2e867d(0x37b)]();},'reset':function(){const _0x42892b=_0x3fb02f;_0x31ad10[_0x42892b(0x37b)]['call'](this),this[_0x42892b(0x170)]();},'update':function(_0x1bad10){const _0x5820b4=_0x3fb02f;return this[_0x5820b4(0x210)](_0x1bad10),this[_0x5820b4(0x1f0)](),this;},'finalize':function(_0x52ccf2){const _0x48c052=_0x3fb02f;_0x52ccf2&&this['_append'](_0x52ccf2);var _0x14bdac=this[_0x48c052(0x2c8)]();return _0x14bdac;},'blockSize':0x10,'_createHelper':function(_0x29674a){return function(_0x2f6fb7,_0x4ff1aa){const _0x5688d5=_0x5201;return new _0x29674a[(_0x5688d5(0x49a))](_0x4ff1aa)[_0x5688d5(0x3eb)](_0x2f6fb7);};},'_createHmacHelper':function(_0x567dce){return function(_0x511313,_0x25859e){return new _0x65f36c['HMAC']['init'](_0x567dce,_0x25859e)['finalize'](_0x511313);};}});var _0x65f36c=_0x45b421[_0x3fb02f(0x2c7)]={};return _0x45b421;}(Math);return _0x2d550b;}));}(_0x29b6ad)),_0x29b6ad[_0x26e137(0x29b)];}var _0x29cde7={'exports':{}},_0x43161a;function _0x624310(){const _0x145051=_0x3948cf;return _0x43161a||(_0x43161a=0x1,function(_0x402e53,_0x249a91){(function(_0x41e597,_0x228416){const _0x26a633=_0x5201;_0x402e53[_0x26a633(0x29b)]=_0x228416(_0x28c7fc());}(_0x22c069,function(_0x2a6196){const _0x57c583=_0x5201;return(function(){const _0x44ca90=_0x5201;var _0x64f47b=_0x2a6196,_0x52863c=_0x64f47b[_0x44ca90(0x4f8)],_0x2037dd=_0x52863c[_0x44ca90(0x281)],_0x1f5c9c=_0x64f47b[_0x44ca90(0x272)];_0x1f5c9c[_0x44ca90(0x354)]={'stringify':function(_0x3eecfb){const _0x24bcfb=_0x44ca90;var _0x2ce802=_0x3eecfb['words'],_0x117730=_0x3eecfb[_0x24bcfb(0x336)],_0x24a4c5=this[_0x24bcfb(0x467)];_0x3eecfb[_0x24bcfb(0x55d)]();for(var _0x3d6210=[],_0x160e4c=0x0;_0x160e4c<_0x117730;_0x160e4c+=0x3)for(var _0x29855d=_0x2ce802[_0x160e4c>>>0x2]>>>0x18-_0x160e4c%0x4*0x8&0xff,_0x523227=_0x2ce802[_0x160e4c+0x1>>>0x2]>>>0x18-(_0x160e4c+0x1)%0x4*0x8&0xff,_0x17da00=_0x2ce802[_0x160e4c+0x2>>>0x2]>>>0x18-(_0x160e4c+0x2)%0x4*0x8&0xff,_0x2fc4f0=_0x29855d<<0x10|_0x523227<<0x8|_0x17da00,_0x4e948a=0x0;_0x4e948a<0x4&&_0x160e4c+_0x4e948a*0.75<_0x117730;_0x4e948a++)_0x3d6210[_0x24bcfb(0x4ef)](_0x24a4c5[_0x24bcfb(0x3c5)](_0x2fc4f0>>>0x6*(0x3-_0x4e948a)&0x3f));var _0x5a2f86=_0x24a4c5[_0x24bcfb(0x3c5)](0x40);if(_0x5a2f86){for(;_0x3d6210['length']%0x4;)_0x3d6210[_0x24bcfb(0x4ef)](_0x5a2f86);}return _0x3d6210['join']('');},'parse':function(_0x291b51){const _0x4662a5=_0x44ca90;var _0x284a2e=_0x291b51['length'],_0xccb79b=this['_map'],_0x51f0a5=this[_0x4662a5(0x2c0)];if(!_0x51f0a5){_0x51f0a5=this[_0x4662a5(0x2c0)]=[];for(var _0x337c1a=0x0;_0x337c1a<_0xccb79b[_0x4662a5(0x24c)];_0x337c1a++)_0x51f0a5[_0xccb79b[_0x4662a5(0x163)](_0x337c1a)]=_0x337c1a;}var _0x497bb7=_0xccb79b[_0x4662a5(0x3c5)](0x40);if(_0x497bb7){var _0x454179=_0x291b51[_0x4662a5(0x46b)](_0x497bb7);_0x454179!==-0x1&&(_0x284a2e=_0x454179);}return _0x564bbe(_0x291b51,_0x284a2e,_0x51f0a5);},'_map':_0x44ca90(0x5e0)};function _0x564bbe(_0xb1a44f,_0x5b25d9,_0x11b37d){const _0x64c698=_0x44ca90;for(var _0x2a9c37=[],_0x101c7a=0x0,_0x223f6a=0x0;_0x223f6a<_0x5b25d9;_0x223f6a++)if(_0x223f6a%0x4){var _0x276cdc=_0x11b37d[_0xb1a44f['charCodeAt'](_0x223f6a-0x1)]<<_0x223f6a%0x4*0x2,_0x4c4c29=_0x11b37d[_0xb1a44f[_0x64c698(0x163)](_0x223f6a)]>>>0x6-_0x223f6a%0x4*0x2,_0x3352e7=_0x276cdc|_0x4c4c29;_0x2a9c37[_0x101c7a>>>0x2]|=_0x3352e7<<0x18-_0x101c7a%0x4*0x8,_0x101c7a++;}return _0x2037dd['create'](_0x2a9c37,_0x101c7a);}}()),_0x2a6196[_0x57c583(0x272)][_0x57c583(0x354)];}));}(_0x29cde7)),_0x29cde7[_0x145051(0x29b)];}var _0x40353e={'exports':{}},_0x352767;function _0x4e384c(){const _0x3c5342=_0x3948cf;return _0x352767||(_0x352767=0x1,function(_0x39f983,_0x5df705){(function(_0x3ed16d,_0x1d6a5b){const _0x20e7f6=_0x5201;_0x39f983[_0x20e7f6(0x29b)]=_0x1d6a5b(_0x28c7fc());}(_0x22c069,function(_0x56a773){const _0x4f11d4=_0x5201;return function(_0x14bafb){const _0x523b08=_0x5201;var _0x4c4085=_0x56a773,_0x2a0b2b=_0x4c4085[_0x523b08(0x4f8)],_0x397531=_0x2a0b2b[_0x523b08(0x281)],_0x28aed3=_0x2a0b2b['Hasher'],_0xe4576=_0x4c4085[_0x523b08(0x2c7)],_0x4f08d3=[];(function(){const _0x1048f2=_0x523b08;for(var _0x5ddca4=0x0;_0x5ddca4<0x40;_0x5ddca4++)_0x4f08d3[_0x5ddca4]=_0x14bafb[_0x1048f2(0x47a)](_0x14bafb[_0x1048f2(0x3c2)](_0x5ddca4+0x1))*0x100000000|0x0;}());var _0x5461c5=_0xe4576['MD5']=_0x28aed3[_0x523b08(0x601)]({'_doReset':function(){const _0x190758=_0x523b08;this['_hash']=new _0x397531[(_0x190758(0x49a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x184737,_0x3aff9f){const _0x302412=_0x523b08;for(var _0x38bc8d=0x0;_0x38bc8d<0x10;_0x38bc8d++){var _0x24dcbf=_0x3aff9f+_0x38bc8d,_0x26485d=_0x184737[_0x24dcbf];_0x184737[_0x24dcbf]=(_0x26485d<<0x8|_0x26485d>>>0x18)&0xff00ff|(_0x26485d<<0x18|_0x26485d>>>0x8)&0xff00ff00;}var _0x527edd=this['_hash'][_0x302412(0x357)],_0x22098f=_0x184737[_0x3aff9f+0x0],_0xb13954=_0x184737[_0x3aff9f+0x1],_0x475b6e=_0x184737[_0x3aff9f+0x2],_0x2d75ec=_0x184737[_0x3aff9f+0x3],_0x1e00af=_0x184737[_0x3aff9f+0x4],_0x33af4e=_0x184737[_0x3aff9f+0x5],_0x1b3008=_0x184737[_0x3aff9f+0x6],_0x47dfff=_0x184737[_0x3aff9f+0x7],_0x5cc5ce=_0x184737[_0x3aff9f+0x8],_0x3344eb=_0x184737[_0x3aff9f+0x9],_0xabbce6=_0x184737[_0x3aff9f+0xa],_0x29a54c=_0x184737[_0x3aff9f+0xb],_0x2dd79d=_0x184737[_0x3aff9f+0xc],_0x13b06a=_0x184737[_0x3aff9f+0xd],_0x1ecaba=_0x184737[_0x3aff9f+0xe],_0x17520a=_0x184737[_0x3aff9f+0xf],_0x3ff374=_0x527edd[0x0],_0x1e4416=_0x527edd[0x1],_0x2c1d70=_0x527edd[0x2],_0x79dbeb=_0x527edd[0x3];_0x3ff374=_0x12ca75(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x22098f,0x7,_0x4f08d3[0x0]),_0x79dbeb=_0x12ca75(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0xb13954,0xc,_0x4f08d3[0x1]),_0x2c1d70=_0x12ca75(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x475b6e,0x11,_0x4f08d3[0x2]),_0x1e4416=_0x12ca75(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x2d75ec,0x16,_0x4f08d3[0x3]),_0x3ff374=_0x12ca75(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x1e00af,0x7,_0x4f08d3[0x4]),_0x79dbeb=_0x12ca75(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x33af4e,0xc,_0x4f08d3[0x5]),_0x2c1d70=_0x12ca75(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x1b3008,0x11,_0x4f08d3[0x6]),_0x1e4416=_0x12ca75(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x47dfff,0x16,_0x4f08d3[0x7]),_0x3ff374=_0x12ca75(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x5cc5ce,0x7,_0x4f08d3[0x8]),_0x79dbeb=_0x12ca75(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x3344eb,0xc,_0x4f08d3[0x9]),_0x2c1d70=_0x12ca75(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0xabbce6,0x11,_0x4f08d3[0xa]),_0x1e4416=_0x12ca75(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x29a54c,0x16,_0x4f08d3[0xb]),_0x3ff374=_0x12ca75(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x2dd79d,0x7,_0x4f08d3[0xc]),_0x79dbeb=_0x12ca75(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x13b06a,0xc,_0x4f08d3[0xd]),_0x2c1d70=_0x12ca75(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x1ecaba,0x11,_0x4f08d3[0xe]),_0x1e4416=_0x12ca75(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x17520a,0x16,_0x4f08d3[0xf]),_0x3ff374=_0x5f1ff7(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0xb13954,0x5,_0x4f08d3[0x10]),_0x79dbeb=_0x5f1ff7(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x1b3008,0x9,_0x4f08d3[0x11]),_0x2c1d70=_0x5f1ff7(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x29a54c,0xe,_0x4f08d3[0x12]),_0x1e4416=_0x5f1ff7(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x22098f,0x14,_0x4f08d3[0x13]),_0x3ff374=_0x5f1ff7(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x33af4e,0x5,_0x4f08d3[0x14]),_0x79dbeb=_0x5f1ff7(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0xabbce6,0x9,_0x4f08d3[0x15]),_0x2c1d70=_0x5f1ff7(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x17520a,0xe,_0x4f08d3[0x16]),_0x1e4416=_0x5f1ff7(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e00af,0x14,_0x4f08d3[0x17]),_0x3ff374=_0x5f1ff7(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3344eb,0x5,_0x4f08d3[0x18]),_0x79dbeb=_0x5f1ff7(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x1ecaba,0x9,_0x4f08d3[0x19]),_0x2c1d70=_0x5f1ff7(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x2d75ec,0xe,_0x4f08d3[0x1a]),_0x1e4416=_0x5f1ff7(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x5cc5ce,0x14,_0x4f08d3[0x1b]),_0x3ff374=_0x5f1ff7(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x13b06a,0x5,_0x4f08d3[0x1c]),_0x79dbeb=_0x5f1ff7(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x475b6e,0x9,_0x4f08d3[0x1d]),_0x2c1d70=_0x5f1ff7(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x47dfff,0xe,_0x4f08d3[0x1e]),_0x1e4416=_0x5f1ff7(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x2dd79d,0x14,_0x4f08d3[0x1f]),_0x3ff374=_0xe9e70c(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x33af4e,0x4,_0x4f08d3[0x20]),_0x79dbeb=_0xe9e70c(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x5cc5ce,0xb,_0x4f08d3[0x21]),_0x2c1d70=_0xe9e70c(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x29a54c,0x10,_0x4f08d3[0x22]),_0x1e4416=_0xe9e70c(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1ecaba,0x17,_0x4f08d3[0x23]),_0x3ff374=_0xe9e70c(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0xb13954,0x4,_0x4f08d3[0x24]),_0x79dbeb=_0xe9e70c(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x1e00af,0xb,_0x4f08d3[0x25]),_0x2c1d70=_0xe9e70c(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x47dfff,0x10,_0x4f08d3[0x26]),_0x1e4416=_0xe9e70c(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0xabbce6,0x17,_0x4f08d3[0x27]),_0x3ff374=_0xe9e70c(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x13b06a,0x4,_0x4f08d3[0x28]),_0x79dbeb=_0xe9e70c(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x22098f,0xb,_0x4f08d3[0x29]),_0x2c1d70=_0xe9e70c(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x2d75ec,0x10,_0x4f08d3[0x2a]),_0x1e4416=_0xe9e70c(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1b3008,0x17,_0x4f08d3[0x2b]),_0x3ff374=_0xe9e70c(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3344eb,0x4,_0x4f08d3[0x2c]),_0x79dbeb=_0xe9e70c(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x2dd79d,0xb,_0x4f08d3[0x2d]),_0x2c1d70=_0xe9e70c(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x17520a,0x10,_0x4f08d3[0x2e]),_0x1e4416=_0xe9e70c(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x475b6e,0x17,_0x4f08d3[0x2f]),_0x3ff374=_0x42a592(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x22098f,0x6,_0x4f08d3[0x30]),_0x79dbeb=_0x42a592(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x47dfff,0xa,_0x4f08d3[0x31]),_0x2c1d70=_0x42a592(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x1ecaba,0xf,_0x4f08d3[0x32]),_0x1e4416=_0x42a592(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x33af4e,0x15,_0x4f08d3[0x33]),_0x3ff374=_0x42a592(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x2dd79d,0x6,_0x4f08d3[0x34]),_0x79dbeb=_0x42a592(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x2d75ec,0xa,_0x4f08d3[0x35]),_0x2c1d70=_0x42a592(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0xabbce6,0xf,_0x4f08d3[0x36]),_0x1e4416=_0x42a592(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0xb13954,0x15,_0x4f08d3[0x37]),_0x3ff374=_0x42a592(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x5cc5ce,0x6,_0x4f08d3[0x38]),_0x79dbeb=_0x42a592(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x17520a,0xa,_0x4f08d3[0x39]),_0x2c1d70=_0x42a592(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x1b3008,0xf,_0x4f08d3[0x3a]),_0x1e4416=_0x42a592(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x13b06a,0x15,_0x4f08d3[0x3b]),_0x3ff374=_0x42a592(_0x3ff374,_0x1e4416,_0x2c1d70,_0x79dbeb,_0x1e00af,0x6,_0x4f08d3[0x3c]),_0x79dbeb=_0x42a592(_0x79dbeb,_0x3ff374,_0x1e4416,_0x2c1d70,_0x29a54c,0xa,_0x4f08d3[0x3d]),_0x2c1d70=_0x42a592(_0x2c1d70,_0x79dbeb,_0x3ff374,_0x1e4416,_0x475b6e,0xf,_0x4f08d3[0x3e]),_0x1e4416=_0x42a592(_0x1e4416,_0x2c1d70,_0x79dbeb,_0x3ff374,_0x3344eb,0x15,_0x4f08d3[0x3f]),_0x527edd[0x0]=_0x527edd[0x0]+_0x3ff374|0x0,_0x527edd[0x1]=_0x527edd[0x1]+_0x1e4416|0x0,_0x527edd[0x2]=_0x527edd[0x2]+_0x2c1d70|0x0,_0x527edd[0x3]=_0x527edd[0x3]+_0x79dbeb|0x0;},'_doFinalize':function(){const _0xe149b8=_0x523b08;var _0xbcc117=this[_0xe149b8(0x264)],_0x3c751f=_0xbcc117[_0xe149b8(0x357)],_0x48d539=this[_0xe149b8(0x155)]*0x8,_0x5f1b3a=_0xbcc117[_0xe149b8(0x336)]*0x8;_0x3c751f[_0x5f1b3a>>>0x5]|=0x80<<0x18-_0x5f1b3a%0x20;var _0x55153b=_0x14bafb[_0xe149b8(0x3d6)](_0x48d539/0x100000000),_0x4db481=_0x48d539;_0x3c751f[(_0x5f1b3a+0x40>>>0x9<<0x4)+0xf]=(_0x55153b<<0x8|_0x55153b>>>0x18)&0xff00ff|(_0x55153b<<0x18|_0x55153b>>>0x8)&0xff00ff00,_0x3c751f[(_0x5f1b3a+0x40>>>0x9<<0x4)+0xe]=(_0x4db481<<0x8|_0x4db481>>>0x18)&0xff00ff|(_0x4db481<<0x18|_0x4db481>>>0x8)&0xff00ff00,_0xbcc117[_0xe149b8(0x336)]=(_0x3c751f[_0xe149b8(0x24c)]+0x1)*0x4,this[_0xe149b8(0x1f0)]();for(var _0x7dd0fe=this['_hash'],_0xd48c7=_0x7dd0fe[_0xe149b8(0x357)],_0x11d2b3=0x0;_0x11d2b3<0x4;_0x11d2b3++){var _0x49e364=_0xd48c7[_0x11d2b3];_0xd48c7[_0x11d2b3]=(_0x49e364<<0x8|_0x49e364>>>0x18)&0xff00ff|(_0x49e364<<0x18|_0x49e364>>>0x8)&0xff00ff00;}return _0x7dd0fe;},'clone':function(){const _0x89c87c=_0x523b08;var _0x501622=_0x28aed3[_0x89c87c(0x5a6)][_0x89c87c(0x56a)](this);return _0x501622[_0x89c87c(0x23f)]=this['_hash'][_0x89c87c(0x5a6)](),_0x501622;}});function _0x12ca75(_0x1d5ad9,_0x4375cd,_0x178f13,_0x20dc04,_0x583419,_0x181d3f,_0x3fa8c1){var _0x5b6761=_0x1d5ad9+(_0x4375cd&_0x178f13|~_0x4375cd&_0x20dc04)+_0x583419+_0x3fa8c1;return(_0x5b6761<<_0x181d3f|_0x5b6761>>>0x20-_0x181d3f)+_0x4375cd;}function _0x5f1ff7(_0x459830,_0x4cc46b,_0x5d2ca2,_0x2b9d3a,_0x436654,_0x408ce1,_0x3da94d){var _0x3b890b=_0x459830+(_0x4cc46b&_0x2b9d3a|_0x5d2ca2&~_0x2b9d3a)+_0x436654+_0x3da94d;return(_0x3b890b<<_0x408ce1|_0x3b890b>>>0x20-_0x408ce1)+_0x4cc46b;}function _0xe9e70c(_0x25945e,_0x4bb3e8,_0x199a57,_0x16402b,_0x4fd593,_0x3c22df,_0xe00ca7){var _0x1db341=_0x25945e+(_0x4bb3e8^_0x199a57^_0x16402b)+_0x4fd593+_0xe00ca7;return(_0x1db341<<_0x3c22df|_0x1db341>>>0x20-_0x3c22df)+_0x4bb3e8;}function _0x42a592(_0x29742f,_0x4b1d38,_0x314a20,_0x2d0db8,_0x468085,_0x2d3eaa,_0x32d46f){var _0x3fcc0d=_0x29742f+(_0x314a20^(_0x4b1d38|~_0x2d0db8))+_0x468085+_0x32d46f;return(_0x3fcc0d<<_0x2d3eaa|_0x3fcc0d>>>0x20-_0x2d3eaa)+_0x4b1d38;}_0x4c4085['MD5']=_0x28aed3[_0x523b08(0x431)](_0x5461c5),_0x4c4085[_0x523b08(0x60c)]=_0x28aed3[_0x523b08(0x4cd)](_0x5461c5);}(Math),_0x56a773[_0x4f11d4(0x1e3)];}));}(_0x40353e)),_0x40353e[_0x3c5342(0x29b)];}var _0x3cd628={'exports':{}},_0x502c8d={'exports':{}},_0x437d89;function _0x42cd84(){const _0x1f5cd0=_0x3948cf;return _0x437d89||(_0x437d89=0x1,function(_0x2c1ac3,_0x2c20eb){(function(_0x34280e,_0x1b9980){const _0x46f06d=_0x5201;_0x2c1ac3[_0x46f06d(0x29b)]=_0x1b9980(_0x28c7fc());}(_0x22c069,function(_0x41e0fd){const _0x2f678e=_0x5201;return(function(){const _0x342985=_0x5201;var _0x507556=_0x41e0fd,_0x24067e=_0x507556[_0x342985(0x4f8)],_0x46b981=_0x24067e[_0x342985(0x281)],_0x23eab2=_0x24067e['Hasher'],_0x1fde55=_0x507556[_0x342985(0x2c7)],_0x8efe27=[],_0x3df66b=_0x1fde55['SHA1']=_0x23eab2[_0x342985(0x601)]({'_doReset':function(){const _0x328cad=_0x342985;this[_0x328cad(0x23f)]=new _0x46b981[(_0x328cad(0x49a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x513517,_0x54b579){for(var _0x273068=this['_hash']['words'],_0x36f924=_0x273068[0x0],_0x34e85e=_0x273068[0x1],_0x12fbf6=_0x273068[0x2],_0x5afa2b=_0x273068[0x3],_0x5b4076=_0x273068[0x4],_0x4f2012=0x0;_0x4f2012<0x50;_0x4f2012++){if(_0x4f2012<0x10)_0x8efe27[_0x4f2012]=_0x513517[_0x54b579+_0x4f2012]|0x0;else{var _0x56a619=_0x8efe27[_0x4f2012-0x3]^_0x8efe27[_0x4f2012-0x8]^_0x8efe27[_0x4f2012-0xe]^_0x8efe27[_0x4f2012-0x10];_0x8efe27[_0x4f2012]=_0x56a619<<0x1|_0x56a619>>>0x1f;}var _0x443400=(_0x36f924<<0x5|_0x36f924>>>0x1b)+_0x5b4076+_0x8efe27[_0x4f2012];_0x4f2012<0x14?_0x443400+=(_0x34e85e&_0x12fbf6|~_0x34e85e&_0x5afa2b)+0x5a827999:_0x4f2012<0x28?_0x443400+=(_0x34e85e^_0x12fbf6^_0x5afa2b)+0x6ed9eba1:_0x4f2012<0x3c?_0x443400+=(_0x34e85e&_0x12fbf6|_0x34e85e&_0x5afa2b|_0x12fbf6&_0x5afa2b)-0x70e44324:_0x443400+=(_0x34e85e^_0x12fbf6^_0x5afa2b)-0x359d3e2a,_0x5b4076=_0x5afa2b,_0x5afa2b=_0x12fbf6,_0x12fbf6=_0x34e85e<<0x1e|_0x34e85e>>>0x2,_0x34e85e=_0x36f924,_0x36f924=_0x443400;}_0x273068[0x0]=_0x273068[0x0]+_0x36f924|0x0,_0x273068[0x1]=_0x273068[0x1]+_0x34e85e|0x0,_0x273068[0x2]=_0x273068[0x2]+_0x12fbf6|0x0,_0x273068[0x3]=_0x273068[0x3]+_0x5afa2b|0x0,_0x273068[0x4]=_0x273068[0x4]+_0x5b4076|0x0;},'_doFinalize':function(){const _0x5c8d96=_0x342985;var _0x33d643=this[_0x5c8d96(0x264)],_0x486f93=_0x33d643[_0x5c8d96(0x357)],_0x39ccba=this[_0x5c8d96(0x155)]*0x8,_0x27f803=_0x33d643[_0x5c8d96(0x336)]*0x8;return _0x486f93[_0x27f803>>>0x5]|=0x80<<0x18-_0x27f803%0x20,_0x486f93[(_0x27f803+0x40>>>0x9<<0x4)+0xe]=Math[_0x5c8d96(0x3d6)](_0x39ccba/0x100000000),_0x486f93[(_0x27f803+0x40>>>0x9<<0x4)+0xf]=_0x39ccba,_0x33d643[_0x5c8d96(0x336)]=_0x486f93[_0x5c8d96(0x24c)]*0x4,this['_process'](),this[_0x5c8d96(0x23f)];},'clone':function(){const _0x216a22=_0x342985;var _0x404e50=_0x23eab2[_0x216a22(0x5a6)][_0x216a22(0x56a)](this);return _0x404e50[_0x216a22(0x23f)]=this[_0x216a22(0x23f)]['clone'](),_0x404e50;}});_0x507556[_0x342985(0x3e6)]=_0x23eab2[_0x342985(0x431)](_0x3df66b),_0x507556[_0x342985(0x5bd)]=_0x23eab2['_createHmacHelper'](_0x3df66b);}()),_0x41e0fd[_0x2f678e(0x3e6)];}));}(_0x502c8d)),_0x502c8d[_0x1f5cd0(0x29b)];}var _0x54f66a={'exports':{}},_0x3447e0;function _0x6da63c(){const _0x5b9740=_0x3948cf;return _0x3447e0||(_0x3447e0=0x1,function(_0x201020,_0x384324){(function(_0x1f0d9c,_0x148ee4){const _0x311625=_0x5201;_0x201020[_0x311625(0x29b)]=_0x148ee4(_0x28c7fc());}(_0x22c069,function(_0x118d32){(function(){const _0x10fc6f=_0x5201;var _0x364f69=_0x118d32,_0x168ece=_0x364f69[_0x10fc6f(0x4f8)],_0x2cb76e=_0x168ece['Base'],_0x590c65=_0x364f69[_0x10fc6f(0x272)],_0x3e0709=_0x590c65[_0x10fc6f(0x5d4)],_0xe0b250=_0x364f69[_0x10fc6f(0x2c7)];_0xe0b250['HMAC']=_0x2cb76e[_0x10fc6f(0x601)]({'init':function(_0x2b130c,_0x411dc0){const _0x5f15ee=_0x10fc6f;_0x2b130c=this['_hasher']=new _0x2b130c['init'](),typeof _0x411dc0==_0x5f15ee(0x277)&&(_0x411dc0=_0x3e0709[_0x5f15ee(0x517)](_0x411dc0));var _0x2b3d7e=_0x2b130c[_0x5f15ee(0x44e)],_0x5ae132=_0x2b3d7e*0x4;_0x411dc0[_0x5f15ee(0x336)]>_0x5ae132&&(_0x411dc0=_0x2b130c[_0x5f15ee(0x3eb)](_0x411dc0)),_0x411dc0[_0x5f15ee(0x55d)]();for(var _0x34c9ff=this[_0x5f15ee(0x562)]=_0x411dc0[_0x5f15ee(0x5a6)](),_0x241f20=this[_0x5f15ee(0x40e)]=_0x411dc0['clone'](),_0x1d2c58=_0x34c9ff[_0x5f15ee(0x357)],_0x545898=_0x241f20['words'],_0x49d509=0x0;_0x49d509<_0x2b3d7e;_0x49d509++)_0x1d2c58[_0x49d509]^=0x5c5c5c5c,_0x545898[_0x49d509]^=0x36363636;_0x34c9ff[_0x5f15ee(0x336)]=_0x241f20[_0x5f15ee(0x336)]=_0x5ae132,this[_0x5f15ee(0x37b)]();},'reset':function(){const _0x452652=_0x10fc6f;var _0x541df2=this['_hasher'];_0x541df2[_0x452652(0x37b)](),_0x541df2[_0x452652(0x483)](this[_0x452652(0x40e)]);},'update':function(_0x1105ee){const _0x55866c=_0x10fc6f;return this[_0x55866c(0x2b6)][_0x55866c(0x483)](_0x1105ee),this;},'finalize':function(_0x232cf2){const _0x176e04=_0x10fc6f;var _0x6f92a=this[_0x176e04(0x2b6)],_0x31a74c=_0x6f92a['finalize'](_0x232cf2);_0x6f92a[_0x176e04(0x37b)]();var _0x3162b3=_0x6f92a[_0x176e04(0x3eb)](this[_0x176e04(0x562)][_0x176e04(0x5a6)]()['concat'](_0x31a74c));return _0x3162b3;}});}());}));}(_0x54f66a)),_0x54f66a[_0x5b9740(0x29b)];}var _0xbe969f;function _0x57ed33(){const _0x4081a9=_0x3948cf;return _0xbe969f||(_0xbe969f=0x1,function(_0x371055,_0x24a162){(function(_0x3dd7f4,_0x249eb5,_0x4ce107){_0x371055['exports']=_0x249eb5(_0x28c7fc(),_0x42cd84(),_0x6da63c());}(_0x22c069,function(_0x4e971c){const _0x15a651=_0x5201;return(function(){const _0x59b8a5=_0x5201;var _0x49cf7e=_0x4e971c,_0x2e876f=_0x49cf7e[_0x59b8a5(0x4f8)],_0xfb09c5=_0x2e876f[_0x59b8a5(0x4c1)],_0x11a0a1=_0x2e876f[_0x59b8a5(0x281)],_0x1f4ce3=_0x49cf7e[_0x59b8a5(0x2c7)],_0x17d149=_0x1f4ce3[_0x59b8a5(0x1e3)],_0x26649f=_0x1f4ce3['EvpKDF']=_0xfb09c5[_0x59b8a5(0x601)]({'cfg':_0xfb09c5['extend']({'keySize':0x80/0x20,'hasher':_0x17d149,'iterations':0x1}),'init':function(_0x2b751f){const _0x491da9=_0x59b8a5;this[_0x491da9(0x516)]=this[_0x491da9(0x516)]['extend'](_0x2b751f);},'compute':function(_0x4ecc5c,_0x11fa9c){const _0x3c4895=_0x59b8a5;for(var _0x4409f4,_0x165f79=this[_0x3c4895(0x516)],_0x16329c=_0x165f79['hasher'][_0x3c4895(0x43f)](),_0x2f0e8f=_0x11a0a1['create'](),_0x457c23=_0x2f0e8f[_0x3c4895(0x357)],_0x440013=_0x165f79[_0x3c4895(0x45b)],_0x40f296=_0x165f79['iterations'];_0x457c23[_0x3c4895(0x24c)]<_0x440013;){_0x4409f4&&_0x16329c[_0x3c4895(0x483)](_0x4409f4),_0x4409f4=_0x16329c[_0x3c4895(0x483)](_0x4ecc5c)[_0x3c4895(0x3eb)](_0x11fa9c),_0x16329c[_0x3c4895(0x37b)]();for(var _0x135336=0x1;_0x135336<_0x40f296;_0x135336++)_0x4409f4=_0x16329c['finalize'](_0x4409f4),_0x16329c[_0x3c4895(0x37b)]();_0x2f0e8f['concat'](_0x4409f4);}return _0x2f0e8f[_0x3c4895(0x336)]=_0x440013*0x4,_0x2f0e8f;}});_0x49cf7e[_0x59b8a5(0x3ef)]=function(_0x5cabaa,_0x3ef5f2,_0x322791){const _0x4e8383=_0x59b8a5;return _0x26649f[_0x4e8383(0x43f)](_0x322791)[_0x4e8383(0x3f6)](_0x5cabaa,_0x3ef5f2);};}()),_0x4e971c[_0x15a651(0x3ef)];}));}(_0x3cd628)),_0x3cd628[_0x4081a9(0x29b)];}var _0x588ad5={'exports':{}},_0x38c4bc;function _0x28b97f(){const _0xad37a6=_0x3948cf;return _0x38c4bc||(_0x38c4bc=0x1,function(_0x370c1e,_0x28be94){(function(_0x114043,_0x72e927,_0x28369e){const _0x51289a=_0x5201;_0x370c1e[_0x51289a(0x29b)]=_0x72e927(_0x28c7fc(),_0x57ed33());}(_0x22c069,function(_0x548db2){const _0x28f359=_0x5201;_0x548db2[_0x28f359(0x4f8)][_0x28f359(0x31b)]||function(_0x464521){const _0x56e3b2=_0x28f359;var _0x1dc763=_0x548db2,_0x436384=_0x1dc763[_0x56e3b2(0x4f8)],_0xc0d415=_0x436384[_0x56e3b2(0x4c1)],_0x185e1a=_0x436384[_0x56e3b2(0x281)],_0x11115f=_0x436384['BufferedBlockAlgorithm'],_0xf953cf=_0x1dc763['enc'];_0xf953cf['Utf8'];var _0x15fda3=_0xf953cf['Base64'],_0x578518=_0x1dc763['algo'],_0x4d65dc=_0x578518[_0x56e3b2(0x3ef)],_0x115313=_0x436384[_0x56e3b2(0x31b)]=_0x11115f[_0x56e3b2(0x601)]({'cfg':_0xc0d415[_0x56e3b2(0x601)](),'createEncryptor':function(_0x2805b6,_0x8131f0){const _0x3e5d76=_0x56e3b2;return this[_0x3e5d76(0x43f)](this[_0x3e5d76(0x245)],_0x2805b6,_0x8131f0);},'createDecryptor':function(_0x691c17,_0x22843a){const _0x224500=_0x56e3b2;return this['create'](this[_0x224500(0x593)],_0x691c17,_0x22843a);},'init':function(_0x22d575,_0x4569ab,_0x1cb03c){const _0x135105=_0x56e3b2;this[_0x135105(0x516)]=this['cfg'][_0x135105(0x601)](_0x1cb03c),this[_0x135105(0x60e)]=_0x22d575,this['_key']=_0x4569ab,this[_0x135105(0x37b)]();},'reset':function(){const _0x2c15e8=_0x56e3b2;_0x11115f[_0x2c15e8(0x37b)][_0x2c15e8(0x56a)](this),this[_0x2c15e8(0x170)]();},'process':function(_0x15d7b1){const _0x19bdd1=_0x56e3b2;return this[_0x19bdd1(0x210)](_0x15d7b1),this[_0x19bdd1(0x1f0)]();},'finalize':function(_0xddd385){const _0x50fe5a=_0x56e3b2;_0xddd385&&this[_0x50fe5a(0x210)](_0xddd385);var _0xcb1012=this['_doFinalize']();return _0xcb1012;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x571874(_0x40556e){const _0x148902=_0x5201;return typeof _0x40556e==_0x148902(0x277)?_0x293727:_0x104e97;}return function(_0x2ea191){return{'encrypt':function(_0x5a9ca8,_0xacd78c,_0x4796e9){const _0x182296=_0x5201;return _0x571874(_0xacd78c)[_0x182296(0x440)](_0x2ea191,_0x5a9ca8,_0xacd78c,_0x4796e9);},'decrypt':function(_0x27b6f6,_0x2fddb9,_0x5d97bf){const _0x3add32=_0x5201;return _0x571874(_0x2fddb9)[_0x3add32(0x587)](_0x2ea191,_0x27b6f6,_0x2fddb9,_0x5d97bf);}};};}())});_0x436384[_0x56e3b2(0x527)]=_0x115313['extend']({'_doFinalize':function(){var _0x3fdda8=this['_process'](!0x0);return _0x3fdda8;},'blockSize':0x1});var _0x45c14f=_0x1dc763[_0x56e3b2(0x434)]={},_0x2bd6de=_0x436384[_0x56e3b2(0x456)]=_0xc0d415[_0x56e3b2(0x601)]({'createEncryptor':function(_0xe09f5f,_0x29dc55){const _0x3d38f3=_0x56e3b2;return this[_0x3d38f3(0x23e)]['create'](_0xe09f5f,_0x29dc55);},'createDecryptor':function(_0x5050b6,_0x58270b){const _0x1673fe=_0x56e3b2;return this[_0x1673fe(0x1a2)][_0x1673fe(0x43f)](_0x5050b6,_0x58270b);},'init':function(_0x52d05b,_0x334352){const _0x287bfb=_0x56e3b2;this[_0x287bfb(0x3ed)]=_0x52d05b,this[_0x287bfb(0x340)]=_0x334352;}}),_0x394a02=_0x45c14f[_0x56e3b2(0x330)]=(function(){const _0x1873c3=_0x56e3b2;var _0x403686=_0x2bd6de[_0x1873c3(0x601)]();_0x403686[_0x1873c3(0x23e)]=_0x403686[_0x1873c3(0x601)]({'processBlock':function(_0x16e1db,_0x2ef115){const _0x4eb144=_0x1873c3;var _0x5cdbd4=this[_0x4eb144(0x3ed)],_0x1a9256=_0x5cdbd4['blockSize'];_0x5617be['call'](this,_0x16e1db,_0x2ef115,_0x1a9256),_0x5cdbd4[_0x4eb144(0x20f)](_0x16e1db,_0x2ef115),this['_prevBlock']=_0x16e1db[_0x4eb144(0x26f)](_0x2ef115,_0x2ef115+_0x1a9256);}}),_0x403686[_0x1873c3(0x1a2)]=_0x403686['extend']({'processBlock':function(_0x3c3b47,_0x4f24c3){const _0x4bcd6e=_0x1873c3;var _0x5b0790=this[_0x4bcd6e(0x3ed)],_0x3b5780=_0x5b0790[_0x4bcd6e(0x44e)],_0xa4ac39=_0x3c3b47[_0x4bcd6e(0x26f)](_0x4f24c3,_0x4f24c3+_0x3b5780);_0x5b0790[_0x4bcd6e(0x50e)](_0x3c3b47,_0x4f24c3),_0x5617be['call'](this,_0x3c3b47,_0x4f24c3,_0x3b5780),this['_prevBlock']=_0xa4ac39;}});function _0x5617be(_0x1a2d6f,_0xc746ad,_0x2ee7e4){const _0x18c36a=_0x1873c3;var _0x77cfa5,_0x3a4da4=this[_0x18c36a(0x340)];_0x3a4da4?(_0x77cfa5=_0x3a4da4,this['_iv']=_0x464521):_0x77cfa5=this[_0x18c36a(0x4ee)];for(var _0x4f3a29=0x0;_0x4f3a29<_0x2ee7e4;_0x4f3a29++)_0x1a2d6f[_0xc746ad+_0x4f3a29]^=_0x77cfa5[_0x4f3a29];}return _0x403686;}()),_0x2431ce=_0x1dc763[_0x56e3b2(0x4ac)]={},_0x54cf48=_0x2431ce['Pkcs7']={'pad':function(_0x739c6d,_0x146ace){const _0x57ce62=_0x56e3b2;for(var _0x45a97d=_0x146ace*0x4,_0x371df6=_0x45a97d-_0x739c6d['sigBytes']%_0x45a97d,_0x28f5e3=_0x371df6<<0x18|_0x371df6<<0x10|_0x371df6<<0x8|_0x371df6,_0x51af17=[],_0x4a8d67=0x0;_0x4a8d67<_0x371df6;_0x4a8d67+=0x4)_0x51af17['push'](_0x28f5e3);var _0xf58d84=_0x185e1a[_0x57ce62(0x43f)](_0x51af17,_0x371df6);_0x739c6d[_0x57ce62(0x38a)](_0xf58d84);},'unpad':function(_0x160bbc){const _0x2baf8d=_0x56e3b2;var _0x55e3aa=_0x160bbc[_0x2baf8d(0x357)][_0x160bbc['sigBytes']-0x1>>>0x2]&0xff;_0x160bbc[_0x2baf8d(0x336)]-=_0x55e3aa;}};_0x436384[_0x56e3b2(0x243)]=_0x115313[_0x56e3b2(0x601)]({'cfg':_0x115313[_0x56e3b2(0x516)]['extend']({'mode':_0x394a02,'padding':_0x54cf48}),'reset':function(){const _0x529b15=_0x56e3b2;var _0x497844;_0x115313['reset'][_0x529b15(0x56a)](this);var _0x57aaf6=this[_0x529b15(0x516)],_0x553c2e=_0x57aaf6['iv'],_0x41647f=_0x57aaf6[_0x529b15(0x434)];this[_0x529b15(0x60e)]==this['_ENC_XFORM_MODE']?_0x497844=_0x41647f[_0x529b15(0x227)]:(_0x497844=_0x41647f[_0x529b15(0x22d)],this[_0x529b15(0x366)]=0x1),this['_mode']&&this[_0x529b15(0x36c)]['__creator']==_0x497844?this[_0x529b15(0x36c)][_0x529b15(0x49a)](this,_0x553c2e&&_0x553c2e[_0x529b15(0x357)]):(this[_0x529b15(0x36c)]=_0x497844['call'](_0x41647f,this,_0x553c2e&&_0x553c2e[_0x529b15(0x357)]),this[_0x529b15(0x36c)][_0x529b15(0x146)]=_0x497844);},'_doProcessBlock':function(_0x529a75,_0x276ee4){this['_mode']['processBlock'](_0x529a75,_0x276ee4);},'_doFinalize':function(){const _0x2022d6=_0x56e3b2;var _0x48e949,_0x489c9f=this['cfg']['padding'];return this[_0x2022d6(0x60e)]==this[_0x2022d6(0x245)]?(_0x489c9f[_0x2022d6(0x4ac)](this[_0x2022d6(0x264)],this[_0x2022d6(0x44e)]),_0x48e949=this[_0x2022d6(0x1f0)](!0x0)):(_0x48e949=this['_process'](!0x0),_0x489c9f[_0x2022d6(0x1db)](_0x48e949)),_0x48e949;},'blockSize':0x80/0x20});var _0x3bfc0a=_0x436384[_0x56e3b2(0x480)]=_0xc0d415[_0x56e3b2(0x601)]({'init':function(_0x6e4092){const _0x1e3ffb=_0x56e3b2;this[_0x1e3ffb(0x586)](_0x6e4092);},'toString':function(_0x64e614){const _0x7fcbc0=_0x56e3b2;return(_0x64e614||this[_0x7fcbc0(0x305)])[_0x7fcbc0(0x2ec)](this);}}),_0x3e6b1a=_0x1dc763['format']={},_0x256add=_0x3e6b1a['OpenSSL']={'stringify':function(_0x564910){const _0x46c509=_0x56e3b2;var _0x1dc979,_0xd3b236=_0x564910['ciphertext'],_0x5f3fee=_0x564910[_0x46c509(0x554)];return _0x5f3fee?_0x1dc979=_0x185e1a['create']([0x53616c74,0x65645f5f])['concat'](_0x5f3fee)[_0x46c509(0x38a)](_0xd3b236):_0x1dc979=_0xd3b236,_0x1dc979[_0x46c509(0x4ec)](_0x15fda3);},'parse':function(_0x2892b3){const _0x6bbc7=_0x56e3b2;var _0x871b7,_0x5ad708=_0x15fda3[_0x6bbc7(0x517)](_0x2892b3),_0x36c8f5=_0x5ad708[_0x6bbc7(0x357)];return _0x36c8f5[0x0]==0x53616c74&&_0x36c8f5[0x1]==0x65645f5f&&(_0x871b7=_0x185e1a['create'](_0x36c8f5[_0x6bbc7(0x26f)](0x2,0x4)),_0x36c8f5[_0x6bbc7(0x5f3)](0x0,0x4),_0x5ad708[_0x6bbc7(0x336)]-=0x10),_0x3bfc0a[_0x6bbc7(0x43f)]({'ciphertext':_0x5ad708,'salt':_0x871b7});}},_0x104e97=_0x436384[_0x56e3b2(0x474)]=_0xc0d415[_0x56e3b2(0x601)]({'cfg':_0xc0d415[_0x56e3b2(0x601)]({'format':_0x256add}),'encrypt':function(_0x246831,_0x11c101,_0x678be6,_0x5bc79d){const _0x5d2288=_0x56e3b2;_0x5bc79d=this['cfg'][_0x5d2288(0x601)](_0x5bc79d);var _0x5f113e=_0x246831[_0x5d2288(0x227)](_0x678be6,_0x5bc79d),_0x43d4ad=_0x5f113e['finalize'](_0x11c101),_0x1a6554=_0x5f113e[_0x5d2288(0x516)];return _0x3bfc0a[_0x5d2288(0x43f)]({'ciphertext':_0x43d4ad,'key':_0x678be6,'iv':_0x1a6554['iv'],'algorithm':_0x246831,'mode':_0x1a6554[_0x5d2288(0x434)],'padding':_0x1a6554[_0x5d2288(0x571)],'blockSize':_0x246831['blockSize'],'formatter':_0x5bc79d['format']});},'decrypt':function(_0x125dbf,_0x1d6514,_0x4a150f,_0x360759){const _0x5bf375=_0x56e3b2;_0x360759=this[_0x5bf375(0x516)][_0x5bf375(0x601)](_0x360759),_0x1d6514=this['_parse'](_0x1d6514,_0x360759[_0x5bf375(0x39b)]);var _0x3054ef=_0x125dbf[_0x5bf375(0x22d)](_0x4a150f,_0x360759)[_0x5bf375(0x3eb)](_0x1d6514[_0x5bf375(0x191)]);return _0x3054ef;},'_parse':function(_0x163f2d,_0x5d0da5){const _0x59ef4a=_0x56e3b2;return typeof _0x163f2d==_0x59ef4a(0x277)?_0x5d0da5[_0x59ef4a(0x517)](_0x163f2d,this):_0x163f2d;}}),_0x574c4e=_0x1dc763[_0x56e3b2(0x363)]={},_0x40b8c7=_0x574c4e[_0x56e3b2(0x3b3)]={'execute':function(_0x40667e,_0x3c7a51,_0x40ba1f,_0xd36998,_0x307996){const _0x39ebf4=_0x56e3b2;if(_0xd36998||(_0xd36998=_0x185e1a[_0x39ebf4(0x589)](0x40/0x8)),_0x307996)var _0x3e3945=_0x4d65dc[_0x39ebf4(0x43f)]({'keySize':_0x3c7a51+_0x40ba1f,'hasher':_0x307996})[_0x39ebf4(0x3f6)](_0x40667e,_0xd36998);else var _0x3e3945=_0x4d65dc[_0x39ebf4(0x43f)]({'keySize':_0x3c7a51+_0x40ba1f})[_0x39ebf4(0x3f6)](_0x40667e,_0xd36998);var _0xe956e3=_0x185e1a[_0x39ebf4(0x43f)](_0x3e3945['words'][_0x39ebf4(0x26f)](_0x3c7a51),_0x40ba1f*0x4);return _0x3e3945[_0x39ebf4(0x336)]=_0x3c7a51*0x4,_0x3bfc0a['create']({'key':_0x3e3945,'iv':_0xe956e3,'salt':_0xd36998});}},_0x293727=_0x436384[_0x56e3b2(0x45d)]=_0x104e97[_0x56e3b2(0x601)]({'cfg':_0x104e97['cfg'][_0x56e3b2(0x601)]({'kdf':_0x40b8c7}),'encrypt':function(_0x470e3c,_0x51008b,_0x2db886,_0x427ba1){const _0x670db6=_0x56e3b2;_0x427ba1=this['cfg'][_0x670db6(0x601)](_0x427ba1);var _0x944331=_0x427ba1[_0x670db6(0x363)][_0x670db6(0x24d)](_0x2db886,_0x470e3c['keySize'],_0x470e3c['ivSize'],_0x427ba1['salt'],_0x427ba1['hasher']);_0x427ba1['iv']=_0x944331['iv'];var _0x353074=_0x104e97['encrypt'][_0x670db6(0x56a)](this,_0x470e3c,_0x51008b,_0x944331['key'],_0x427ba1);return _0x353074[_0x670db6(0x586)](_0x944331),_0x353074;},'decrypt':function(_0x5561cf,_0x533dbf,_0x321bf8,_0x38d19a){const _0x48852d=_0x56e3b2;_0x38d19a=this[_0x48852d(0x516)][_0x48852d(0x601)](_0x38d19a),_0x533dbf=this[_0x48852d(0x547)](_0x533dbf,_0x38d19a[_0x48852d(0x39b)]);var _0x21640e=_0x38d19a[_0x48852d(0x363)][_0x48852d(0x24d)](_0x321bf8,_0x5561cf[_0x48852d(0x45b)],_0x5561cf[_0x48852d(0x3bd)],_0x533dbf['salt'],_0x38d19a[_0x48852d(0x555)]);_0x38d19a['iv']=_0x21640e['iv'];var _0x42e9e8=_0x104e97[_0x48852d(0x587)]['call'](this,_0x5561cf,_0x533dbf,_0x21640e[_0x48852d(0x206)],_0x38d19a);return _0x42e9e8;}});}();}));}(_0x588ad5)),_0x588ad5[_0xad37a6(0x29b)];}(function(_0x494cc9,_0x1edfa1){(function(_0xef662e,_0xe1bb0e,_0x2a4417){const _0x4e3dbc=_0x5201;_0x494cc9[_0x4e3dbc(0x29b)]=_0xe1bb0e(_0x28c7fc(),_0x624310(),_0x4e384c(),_0x57ed33(),_0x28b97f());}(_0x22c069,function(_0x4e4303){const _0x3af351=_0x5201;return(function(){const _0x292bce=_0x5201;var _0x4d2374=_0x4e4303,_0x44a92e=_0x4d2374[_0x292bce(0x4f8)],_0x483327=_0x44a92e['BlockCipher'],_0x4a2194=_0x4d2374['algo'],_0x444c1e=[],_0x4add3d=[],_0x2d3590=[],_0x4f5920=[],_0x57839a=[],_0x4d8a86=[],_0x7e3f8=[],_0xbb05a1=[],_0x58c9ac=[],_0x27473a=[];(function(){for(var _0x1d351d=[],_0x40db3d=0x0;_0x40db3d<0x100;_0x40db3d++)_0x40db3d<0x80?_0x1d351d[_0x40db3d]=_0x40db3d<<0x1:_0x1d351d[_0x40db3d]=_0x40db3d<<0x1^0x11b;for(var _0x3b8a4e=0x0,_0x3721a8=0x0,_0x40db3d=0x0;_0x40db3d<0x100;_0x40db3d++){var _0x452ae8=_0x3721a8^_0x3721a8<<0x1^_0x3721a8<<0x2^_0x3721a8<<0x3^_0x3721a8<<0x4;_0x452ae8=_0x452ae8>>>0x8^_0x452ae8&0xff^0x63,_0x444c1e[_0x3b8a4e]=_0x452ae8,_0x4add3d[_0x452ae8]=_0x3b8a4e;var _0xc18cb8=_0x1d351d[_0x3b8a4e],_0x46b3dd=_0x1d351d[_0xc18cb8],_0x264db5=_0x1d351d[_0x46b3dd],_0x431bfc=_0x1d351d[_0x452ae8]*0x101^_0x452ae8*0x1010100;_0x2d3590[_0x3b8a4e]=_0x431bfc<<0x18|_0x431bfc>>>0x8,_0x4f5920[_0x3b8a4e]=_0x431bfc<<0x10|_0x431bfc>>>0x10,_0x57839a[_0x3b8a4e]=_0x431bfc<<0x8|_0x431bfc>>>0x18,_0x4d8a86[_0x3b8a4e]=_0x431bfc;var _0x431bfc=_0x264db5*0x1010101^_0x46b3dd*0x10001^_0xc18cb8*0x101^_0x3b8a4e*0x1010100;_0x7e3f8[_0x452ae8]=_0x431bfc<<0x18|_0x431bfc>>>0x8,_0xbb05a1[_0x452ae8]=_0x431bfc<<0x10|_0x431bfc>>>0x10,_0x58c9ac[_0x452ae8]=_0x431bfc<<0x8|_0x431bfc>>>0x18,_0x27473a[_0x452ae8]=_0x431bfc,_0x3b8a4e?(_0x3b8a4e=_0xc18cb8^_0x1d351d[_0x1d351d[_0x1d351d[_0x264db5^_0xc18cb8]]],_0x3721a8^=_0x1d351d[_0x1d351d[_0x3721a8]]):_0x3b8a4e=_0x3721a8=0x1;}}());var _0x34b5a9=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x365b13=_0x4a2194[_0x292bce(0x271)]=_0x483327[_0x292bce(0x601)]({'_doReset':function(){const _0x5501b9=_0x292bce;var _0x4e598e;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x5501b9(0x220)])){for(var _0x255776=this[_0x5501b9(0x43a)]=this[_0x5501b9(0x220)],_0x3b291f=_0x255776[_0x5501b9(0x357)],_0x5c1256=_0x255776[_0x5501b9(0x336)]/0x4,_0x165ba1=this[_0x5501b9(0x448)]=_0x5c1256+0x6,_0x57c0f3=(_0x165ba1+0x1)*0x4,_0x479111=this[_0x5501b9(0x302)]=[],_0x494417=0x0;_0x494417<_0x57c0f3;_0x494417++)_0x494417<_0x5c1256?_0x479111[_0x494417]=_0x3b291f[_0x494417]:(_0x4e598e=_0x479111[_0x494417-0x1],_0x494417%_0x5c1256?_0x5c1256>0x6&&_0x494417%_0x5c1256==0x4&&(_0x4e598e=_0x444c1e[_0x4e598e>>>0x18]<<0x18|_0x444c1e[_0x4e598e>>>0x10&0xff]<<0x10|_0x444c1e[_0x4e598e>>>0x8&0xff]<<0x8|_0x444c1e[_0x4e598e&0xff]):(_0x4e598e=_0x4e598e<<0x8|_0x4e598e>>>0x18,_0x4e598e=_0x444c1e[_0x4e598e>>>0x18]<<0x18|_0x444c1e[_0x4e598e>>>0x10&0xff]<<0x10|_0x444c1e[_0x4e598e>>>0x8&0xff]<<0x8|_0x444c1e[_0x4e598e&0xff],_0x4e598e^=_0x34b5a9[_0x494417/_0x5c1256|0x0]<<0x18),_0x479111[_0x494417]=_0x479111[_0x494417-_0x5c1256]^_0x4e598e);for(var _0x77fd48=this['_invKeySchedule']=[],_0x12d7e6=0x0;_0x12d7e6<_0x57c0f3;_0x12d7e6++){var _0x494417=_0x57c0f3-_0x12d7e6;if(_0x12d7e6%0x4)var _0x4e598e=_0x479111[_0x494417];else var _0x4e598e=_0x479111[_0x494417-0x4];_0x12d7e6<0x4||_0x494417<=0x4?_0x77fd48[_0x12d7e6]=_0x4e598e:_0x77fd48[_0x12d7e6]=_0x7e3f8[_0x444c1e[_0x4e598e>>>0x18]]^_0xbb05a1[_0x444c1e[_0x4e598e>>>0x10&0xff]]^_0x58c9ac[_0x444c1e[_0x4e598e>>>0x8&0xff]]^_0x27473a[_0x444c1e[_0x4e598e&0xff]];}}},'encryptBlock':function(_0x889867,_0x323530){const _0x210f2b=_0x292bce;this[_0x210f2b(0x605)](_0x889867,_0x323530,this[_0x210f2b(0x302)],_0x2d3590,_0x4f5920,_0x57839a,_0x4d8a86,_0x444c1e);},'decryptBlock':function(_0x3675e4,_0x29632a){const _0x21f134=_0x292bce;var _0x5ace92=_0x3675e4[_0x29632a+0x1];_0x3675e4[_0x29632a+0x1]=_0x3675e4[_0x29632a+0x3],_0x3675e4[_0x29632a+0x3]=_0x5ace92,this[_0x21f134(0x605)](_0x3675e4,_0x29632a,this['_invKeySchedule'],_0x7e3f8,_0xbb05a1,_0x58c9ac,_0x27473a,_0x4add3d);var _0x5ace92=_0x3675e4[_0x29632a+0x1];_0x3675e4[_0x29632a+0x1]=_0x3675e4[_0x29632a+0x3],_0x3675e4[_0x29632a+0x3]=_0x5ace92;},'_doCryptBlock':function(_0x5ed222,_0x47d580,_0x1f4878,_0x2ad524,_0x4f6ba0,_0x5c54c5,_0x326fcf,_0xb0468e){const _0x3f147c=_0x292bce;for(var _0x352671=this[_0x3f147c(0x448)],_0x1a4339=_0x5ed222[_0x47d580]^_0x1f4878[0x0],_0x12d807=_0x5ed222[_0x47d580+0x1]^_0x1f4878[0x1],_0x443476=_0x5ed222[_0x47d580+0x2]^_0x1f4878[0x2],_0x16ab9b=_0x5ed222[_0x47d580+0x3]^_0x1f4878[0x3],_0x13619b=0x4,_0x3627d8=0x1;_0x3627d8<_0x352671;_0x3627d8++){var _0x466324=_0x2ad524[_0x1a4339>>>0x18]^_0x4f6ba0[_0x12d807>>>0x10&0xff]^_0x5c54c5[_0x443476>>>0x8&0xff]^_0x326fcf[_0x16ab9b&0xff]^_0x1f4878[_0x13619b++],_0x361a75=_0x2ad524[_0x12d807>>>0x18]^_0x4f6ba0[_0x443476>>>0x10&0xff]^_0x5c54c5[_0x16ab9b>>>0x8&0xff]^_0x326fcf[_0x1a4339&0xff]^_0x1f4878[_0x13619b++],_0x3cce5d=_0x2ad524[_0x443476>>>0x18]^_0x4f6ba0[_0x16ab9b>>>0x10&0xff]^_0x5c54c5[_0x1a4339>>>0x8&0xff]^_0x326fcf[_0x12d807&0xff]^_0x1f4878[_0x13619b++],_0x288d05=_0x2ad524[_0x16ab9b>>>0x18]^_0x4f6ba0[_0x1a4339>>>0x10&0xff]^_0x5c54c5[_0x12d807>>>0x8&0xff]^_0x326fcf[_0x443476&0xff]^_0x1f4878[_0x13619b++];_0x1a4339=_0x466324,_0x12d807=_0x361a75,_0x443476=_0x3cce5d,_0x16ab9b=_0x288d05;}var _0x466324=(_0xb0468e[_0x1a4339>>>0x18]<<0x18|_0xb0468e[_0x12d807>>>0x10&0xff]<<0x10|_0xb0468e[_0x443476>>>0x8&0xff]<<0x8|_0xb0468e[_0x16ab9b&0xff])^_0x1f4878[_0x13619b++],_0x361a75=(_0xb0468e[_0x12d807>>>0x18]<<0x18|_0xb0468e[_0x443476>>>0x10&0xff]<<0x10|_0xb0468e[_0x16ab9b>>>0x8&0xff]<<0x8|_0xb0468e[_0x1a4339&0xff])^_0x1f4878[_0x13619b++],_0x3cce5d=(_0xb0468e[_0x443476>>>0x18]<<0x18|_0xb0468e[_0x16ab9b>>>0x10&0xff]<<0x10|_0xb0468e[_0x1a4339>>>0x8&0xff]<<0x8|_0xb0468e[_0x12d807&0xff])^_0x1f4878[_0x13619b++],_0x288d05=(_0xb0468e[_0x16ab9b>>>0x18]<<0x18|_0xb0468e[_0x1a4339>>>0x10&0xff]<<0x10|_0xb0468e[_0x12d807>>>0x8&0xff]<<0x8|_0xb0468e[_0x443476&0xff])^_0x1f4878[_0x13619b++];_0x5ed222[_0x47d580]=_0x466324,_0x5ed222[_0x47d580+0x1]=_0x361a75,_0x5ed222[_0x47d580+0x2]=_0x3cce5d,_0x5ed222[_0x47d580+0x3]=_0x288d05;},'keySize':0x100/0x20});_0x4d2374[_0x292bce(0x271)]=_0x483327[_0x292bce(0x431)](_0x365b13);}()),_0x4e4303[_0x3af351(0x271)];}));}(_0x1a04ba));var _0x4725bc=_0x1a04ba['exports'];const _0x5e12e5=_0x1715bf(_0x4725bc);var _0x4afe01=_0x624310();const _0x2cf63b=_0x1715bf(_0x4afe01);var _0x571f83={'exports':{}};(function(_0x269411,_0x394aa6){(function(_0x86b328,_0x3d296e){const _0x13c2ee=_0x5201;_0x269411[_0x13c2ee(0x29b)]=_0x3d296e(_0x28c7fc());}(_0x22c069,function(_0x33e420){const _0x2431dd=_0x5201;return _0x33e420[_0x2431dd(0x272)][_0x2431dd(0x5d4)];}));}(_0x571f83));var _0x2e7ff7=_0x571f83['exports'];const _0xcbd44=_0x1715bf(_0x2e7ff7);var _0x126521={'exports':{}};(function(_0x170aa6,_0x2f8dbb){(function(_0x1f5032,_0x2b342f){const _0x3d8dd1=_0x5201;_0x170aa6[_0x3d8dd1(0x29b)]=_0x2b342f(_0x28c7fc());}(_0x22c069,function(_0x1381d2){const _0x641f2=_0x5201;return(function(){const _0x2dbbc4=_0x5201;if(typeof ArrayBuffer==_0x2dbbc4(0x172)){var _0x34b954=_0x1381d2,_0x364894=_0x34b954[_0x2dbbc4(0x4f8)],_0x4a280d=_0x364894[_0x2dbbc4(0x281)],_0x307333=_0x4a280d[_0x2dbbc4(0x49a)],_0x59b9d2=_0x4a280d[_0x2dbbc4(0x49a)]=function(_0x4bf5c1){const _0x5f3ea8=_0x2dbbc4;if(_0x4bf5c1 instanceof ArrayBuffer&&(_0x4bf5c1=new Uint8Array(_0x4bf5c1)),(_0x4bf5c1 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4bf5c1 instanceof Uint8ClampedArray||_0x4bf5c1 instanceof Int16Array||_0x4bf5c1 instanceof Uint16Array||_0x4bf5c1 instanceof Int32Array||_0x4bf5c1 instanceof Uint32Array||_0x4bf5c1 instanceof Float32Array||_0x4bf5c1 instanceof Float64Array)&&(_0x4bf5c1=new Uint8Array(_0x4bf5c1['buffer'],_0x4bf5c1[_0x5f3ea8(0x2c4)],_0x4bf5c1['byteLength'])),_0x4bf5c1 instanceof Uint8Array){for(var _0xf38401=_0x4bf5c1[_0x5f3ea8(0x609)],_0x2f5f4e=[],_0x1e9b02=0x0;_0x1e9b02<_0xf38401;_0x1e9b02++)_0x2f5f4e[_0x1e9b02>>>0x2]|=_0x4bf5c1[_0x1e9b02]<<0x18-_0x1e9b02%0x4*0x8;_0x307333[_0x5f3ea8(0x56a)](this,_0x2f5f4e,_0xf38401);}else _0x307333[_0x5f3ea8(0x476)](this,arguments);};_0x59b9d2[_0x2dbbc4(0x3ff)]=_0x4a280d;}}()),_0x1381d2['lib'][_0x641f2(0x281)];}));}(_0x126521));var _0x1869c4=_0x126521[_0x3948cf(0x29b)];const _0x4323cb=_0x1715bf(_0x1869c4);var _0x48f5e4={'exports':{}};(function(_0x58c49d,_0x4dcb18){(function(_0x47997b,_0x4c0d36,_0x1d8644){_0x58c49d['exports']=_0x4c0d36(_0x28c7fc(),_0x28b97f());}(_0x22c069,function(_0xf4d382){const _0x381fba=_0x5201;return _0xf4d382[_0x381fba(0x4ac)][_0x381fba(0x4f4)]={'pad':function(){},'unpad':function(){}},_0xf4d382[_0x381fba(0x4ac)][_0x381fba(0x4f4)];}));}(_0x48f5e4));var _0x14137f=_0x48f5e4[_0x3948cf(0x29b)];const _0x3ed580=_0x1715bf(_0x14137f);function _0x5eaea1(_0x349db0,_0x492e95){const _0x544e65=_0x3948cf,_0x3b5717=_0x492e95-_0x349db0[_0x544e65(0x24c)]%_0x492e95,_0x445ee2=String['fromCharCode'](_0x3b5717)[_0x544e65(0x22c)](_0x3b5717);return _0x349db0+_0x445ee2;}function _0x3cdfd3(_0x34ce8d,_0x1e23bb){const _0x3172ac=_0x3948cf,_0x11c7f4=_0x4323cb[_0x3172ac(0x589)](0x10),_0x226ca4=_0x5eaea1(_0x34ce8d,0x10),_0x470ef4=_0x5e12e5[_0x3172ac(0x440)](_0xcbd44[_0x3172ac(0x517)](_0x226ca4),_0x2cf63b[_0x3172ac(0x517)](_0x1e23bb),{'iv':_0x11c7f4,'padding':_0x3ed580});return _0x11c7f4[_0x3172ac(0x38a)](_0x470ef4['ciphertext'])[_0x3172ac(0x4ec)](_0x2cf63b);}function _0x326a81(){const _0xa1dc92=_0x3948cf,_0x4fe518=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xa1dc92(0x260)];if(_0x4fe518){const _0x5e4d72={'time':Math[_0xa1dc92(0x3d6)](Date[_0xa1dc92(0x189)]()/0x3e8),'domain':location[_0xa1dc92(0x2cb)]};return _0x3cdfd3(JSON[_0xa1dc92(0x2ec)](_0x5e4d72),_0x4fe518);}}var _0x3dec4e=Object['defineProperty'],_0x7fb655=Object[_0x3948cf(0x16b)],_0x506bf7=(_0x35d70f,_0x344ea6,_0x37efd0,_0x401c4d)=>{const _0x35fc0e=_0x3948cf;for(var _0x12f131=_0x401c4d>0x1?void 0x0:_0x401c4d?_0x7fb655(_0x344ea6,_0x37efd0):_0x344ea6,_0x36b8bc=_0x35d70f[_0x35fc0e(0x24c)]-0x1,_0xa79d4a;_0x36b8bc>=0x0;_0x36b8bc--)(_0xa79d4a=_0x35d70f[_0x36b8bc])&&(_0x12f131=(_0x401c4d?_0xa79d4a(_0x344ea6,_0x37efd0,_0x12f131):_0xa79d4a(_0x12f131))||_0x12f131);return _0x401c4d&&_0x12f131&&_0x3dec4e(_0x344ea6,_0x37efd0,_0x12f131),_0x12f131;},_0x5eeb18=(_0x55b151,_0x5d3c06)=>(_0x545cb9,_0x3cb995)=>_0x5d3c06(_0x545cb9,_0x3cb995,_0x55b151);let _0x1daeed=class{constructor(_0x235667){this['_httpService']=_0x235667,this['_initRequestHeader']();}[_0x3948cf(0x161)](){const _0x3a5757=_0x3948cf;this[_0x3a5757(0x3cc)][_0x3a5757(0x3ec)]({'interceptor':(_0x1e4ed9,_0x251169)=>{const _0x138472=_0x3a5757,_0x52773c=_0x1e4ed9['headers'],_0x2deb5f=_0x326a81();return _0x2deb5f&&_0x52773c[_0x138472(0x1f2)]('x-univer-host',_0x2deb5f),_0x251169(_0x1e4ed9);}});}};_0x1daeed=_0x506bf7([_0x5eeb18(0x0,_0x223914[_0x3948cf(0x25f)](_0x1ddba4[_0x3948cf(0x171)]))],_0x1daeed);var _0x39a56f=Object[_0x3948cf(0x149)],_0x159d68=Object[_0x3948cf(0x16b)],_0x3fa273=(_0x3b77a4,_0x5c1316,_0x2a39eb,_0x2fe6ee)=>{const _0x2f30a7=_0x3948cf;for(var _0x84098b=_0x2fe6ee>0x1?void 0x0:_0x2fe6ee?_0x159d68(_0x5c1316,_0x2a39eb):_0x5c1316,_0x462169=_0x3b77a4[_0x2f30a7(0x24c)]-0x1,_0x1058dc;_0x462169>=0x0;_0x462169--)(_0x1058dc=_0x3b77a4[_0x462169])&&(_0x84098b=(_0x2fe6ee?_0x1058dc(_0x5c1316,_0x2a39eb,_0x84098b):_0x1058dc(_0x84098b))||_0x84098b);return _0x2fe6ee&&_0x84098b&&_0x39a56f(_0x5c1316,_0x2a39eb,_0x84098b),_0x84098b;},_0x5db238=(_0x193d2e,_0x26f7c7)=>(_0x404f4d,_0x4ff2bb)=>_0x26f7c7(_0x404f4d,_0x4ff2bb,_0x193d2e);const _0x300542=[_0x3948cf(0x41f),'image/jpeg',_0x3948cf(0x380),_0x3948cf(0x262),_0x3948cf(0x5eb)],_0x592f52=0x5*0x400*0x400,_0x809b70=_0x3948cf(0x2a2),_0x3946cd=_0x3948cf(0x4d8),_0x1dc2d9=_0x3948cf(0x22e),_0x2ce9a8='/universer-api/file/{fileID}/sign-url';_0x24454f[_0x3948cf(0x3b8)]=class{constructor(_0x4575e0,_0x2a7ae1,_0x56a057){const _0x43af51=_0x3948cf;_0xeb55cc(this,'_waitCount',0x0),_0xeb55cc(this,_0x43af51(0x341),new _0x3fbd04[(_0x43af51(0x1f4))]()),_0xeb55cc(this,_0x43af51(0x503),this[_0x43af51(0x341)]),_0xeb55cc(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x4575e0,this['_configService']=_0x2a7ae1,this[_0x43af51(0x4ba)]=_0x56a057);}[_0x3948cf(0x3d4)](_0x1e87ad){const _0x52c498=_0x3948cf;this[_0x52c498(0x4c7)]=_0x1e87ad,this[_0x52c498(0x341)]['next'](_0x1e87ad);}[_0x3948cf(0x4dc)](_0x6ce98f,_0x2f2a0a){const _0x4e627f=_0x3948cf;if(_0x2f2a0a===_0x5008e0[_0x4e627f(0x2f0)]['BASE64']){const _0x5a859f=new Image();return _0x5a859f['src']=_0x6ce98f,_0x5a859f;}return this[_0x4e627f(0x475)][_0x4e627f(0x55a)](_0x6ce98f);}[_0x3948cf(0x42d)](_0x3a2253,_0x638ae4,_0x40ff48){const _0xb17f5f=_0x3948cf;_0x638ae4===_0x5008e0[_0xb17f5f(0x2f0)][_0xb17f5f(0x315)]||_0x40ff48==null||this[_0xb17f5f(0x475)][_0xb17f5f(0x1f2)](_0x3a2253,_0x40ff48);}async['getImage'](_0x247a97){const _0x37fe66=_0x3948cf;try{const _0x6cb7d8=this[_0x37fe66(0x268)](this[_0x37fe66(0x300)](),''+_0x247a97),_0x3bbc70=(await this[_0x37fe66(0x3cc)]['get'](_0x6cb7d8))['body'];if(_0x3bbc70[_0x37fe66(0x41b)]&&_0x3bbc70['error'][_0x37fe66(0x347)]===_0x1a04e9['OK']){const _0xe26824=new URL(_0x3bbc70['url'],this[_0x37fe66(0x1d3)]())[_0x37fe66(0x4ec)]();return Promise[_0x37fe66(0x2a3)](_0xe26824);}return Promise[_0x37fe66(0x575)](_0x3bbc70[_0x37fe66(0x41b)]);}catch(_0x2347f6){return Promise[_0x37fe66(0x575)](_0x2347f6);}}async[_0x3948cf(0x540)](_0x39b811){const _0x8d2318=_0x3948cf;let _0x196a9b='';if(!_0x300542[_0x8d2318(0x464)](_0x39b811['type']))return this[_0x8d2318(0x409)](),Promise[_0x8d2318(0x575)](new Error(_0x5008e0[_0x8d2318(0x541)][_0x8d2318(0x378)]));if(_0x39b811[_0x8d2318(0x416)]>_0x592f52)return this[_0x8d2318(0x409)](),Promise[_0x8d2318(0x575)](new Error(_0x5008e0[_0x8d2318(0x541)][_0x8d2318(0x525)]));try{const _0x36b0bf=new FormData();_0x36b0bf[_0x8d2318(0x5d3)](_0x8d2318(0x391),_0x39b811);const _0x3c3ffd=this[_0x8d2318(0x4ba)][_0x8d2318(0x3ac)](),_0x3972db=_0x3c3ffd==null?void 0x0:_0x3c3ffd[_0x8d2318(0x38c)]();if(!_0x3972db)throw new Error(_0x8d2318(0x443));const _0x15f9c1=this[_0x8d2318(0x472)]()+'?size='+_0x39b811[_0x8d2318(0x416)][_0x8d2318(0x4ec)]()+_0x8d2318(0x2a9)+_0x7e832b[_0x8d2318(0x209)]+'&assign='+encodeURIComponent(_0x3972db),_0x2da687=await(await fetch(_0x15f9c1,{'method':_0x8d2318(0x2d3),'body':_0x36b0bf}))[_0x8d2318(0x4aa)]();if(typeof _0x2da687['FileId']!='string')return this[_0x8d2318(0x409)](),Promise[_0x8d2318(0x575)](new Error(_0x5008e0[_0x8d2318(0x541)]['ERROR_IMAGE']));_0x196a9b=_0x2da687['FileId'];}catch{return this[_0x8d2318(0x409)](),Promise[_0x8d2318(0x575)](new Error(_0x5008e0[_0x8d2318(0x541)][_0x8d2318(0x426)]));}return new Promise((_0xe5adba,_0x1ccdd5)=>{const _0x23b26e=_0x8d2318,_0x343bae=new FileReader();_0x343bae[_0x23b26e(0x3b7)](_0x39b811),_0x343bae[_0x23b26e(0x27a)]=_0xd37138=>{const _0x40bc57=_0x23b26e;var _0x599c1c;const _0x1270fe=(_0x599c1c=_0xd37138[_0x40bc57(0x537)])==null?void 0x0:_0x599c1c[_0x40bc57(0x2d8)];if(_0x1270fe==null){this[_0x40bc57(0x409)](),_0x1ccdd5(new Error(_0x5008e0[_0x40bc57(0x541)][_0x40bc57(0x426)]));return;}const _0x3e03d6=_0x223914[_0x40bc57(0x5af)]['generateRandomId'](0x6);_0xe5adba({'imageId':_0x3e03d6,'imageSourceType':_0x5008e0[_0x40bc57(0x2f0)][_0x40bc57(0x5cd)],'source':_0x196a9b,'base64Cache':_0x1270fe,'status':_0x5008e0[_0x40bc57(0x541)][_0x40bc57(0x1dd)]}),this[_0x40bc57(0x409)]();};});}[_0x3948cf(0x472)](){const _0x3fb732=_0x3948cf;var _0x4491fe,_0x430249;const _0x4af3d3=this['_configService']['getConfig'](_0x809b70),_0x5bfc36=this[_0x3fb732(0x164)][_0x3fb732(0x52b)](_0x59012f);return(_0x430249=(_0x4491fe=_0x5bfc36==null?void 0x0:_0x5bfc36[_0x3fb732(0x512)])!=null?_0x4491fe:_0x4af3d3)!=null?_0x430249:_0x3946cd;}[_0x3948cf(0x300)](){const _0x4c3803=_0x3948cf;var _0x141293,_0xe0764;const _0x2d8871=this[_0x4c3803(0x164)][_0x4c3803(0x52b)](_0x1dc2d9),_0x17a317=this[_0x4c3803(0x164)][_0x4c3803(0x52b)](_0x59012f);return(_0xe0764=(_0x141293=_0x17a317==null?void 0x0:_0x17a317[_0x4c3803(0x34e)])!=null?_0x141293:_0x2d8871)!=null?_0xe0764:_0x2ce9a8;}[_0x3948cf(0x1d3)](){const _0x47b6fc=_0x3948cf;var _0x1a54ab;const _0x2e117b=this[_0x47b6fc(0x164)][_0x47b6fc(0x52b)](_0x59012f);return(_0x1a54ab=_0x2e117b==null?void 0x0:_0x2e117b[_0x47b6fc(0x35d)])!=null?_0x1a54ab:location[_0x47b6fc(0x2d7)];}[_0x3948cf(0x268)](_0xf11abe,_0x1b0ae2){const _0x1de5e4=_0x3948cf;return _0xf11abe[_0x1de5e4(0x5fa)](_0x1de5e4(0x4bd),_0x1b0ae2);}[_0x3948cf(0x409)](){const _0x34a8dc=_0x3948cf;this['_waitCount']-=0x1,this[_0x34a8dc(0x341)][_0x34a8dc(0x490)](this['_waitCount']);}},_0x24454f[_0x3948cf(0x3b8)]=_0x3fa273([_0x5db238(0x0,_0x223914[_0x3948cf(0x25f)](_0x1ddba4[_0x3948cf(0x171)])),_0x5db238(0x1,_0x223914[_0x3948cf(0x1ff)]),_0x5db238(0x2,_0x223914['Inject'](_0x223914[_0x3948cf(0x2dd)]))],_0x24454f[_0x3948cf(0x3b8)]);var _0x4c82d2=Object[_0x3948cf(0x149)],_0x22e999=Object['getOwnPropertyDescriptor'],_0x57a417=(_0x5f1bf0,_0x4e4883,_0x5a1e7a,_0xa87501)=>{const _0x22ba22=_0x3948cf;for(var _0x1a0a98=_0xa87501>0x1?void 0x0:_0xa87501?_0x22e999(_0x4e4883,_0x5a1e7a):_0x4e4883,_0xb613e5=_0x5f1bf0[_0x22ba22(0x24c)]-0x1,_0xac692d;_0xb613e5>=0x0;_0xb613e5--)(_0xac692d=_0x5f1bf0[_0xb613e5])&&(_0x1a0a98=(_0xa87501?_0xac692d(_0x4e4883,_0x5a1e7a,_0x1a0a98):_0xac692d(_0x1a0a98))||_0x1a0a98);return _0xa87501&&_0x1a0a98&&_0x4c82d2(_0x4e4883,_0x5a1e7a,_0x1a0a98),_0x1a0a98;},_0x24a0bc=(_0x51065f,_0x5679da)=>(_0x1b7268,_0x142533)=>_0x5679da(_0x1b7268,_0x142533,_0x51065f);let _0x5459b7=class extends _0x223914['RxDisposable']{constructor(_0x37b4fd,_0x36aa91,_0xf17acd,_0x437744,_0x1f14d3){const _0x25dfd4=_0x3948cf;super(),this[_0x25dfd4(0x488)]=_0x37b4fd,this[_0x25dfd4(0x4ba)]=_0x36aa91,this[_0x25dfd4(0x1c5)]=_0xf17acd,this['_collaborationSessionService']=_0x437744,this[_0x25dfd4(0x147)]=_0x1f14d3,this[_0x25dfd4(0x5d9)](),this[_0x25dfd4(0x157)]();}[_0x3948cf(0x157)](){const _0x5ddce9=_0x3948cf,_0x5ab547=async _0x534d00=>{const _0x20aa30=_0x5201;(await this['_collaborationSessionService'][_0x20aa30(0x4f3)](_0x534d00))['event$'][_0x20aa30(0x3c1)](_0x4da2a9[_0x20aa30(0x256)](_0x402396=>_0x402396[_0x20aa30(0x5ea)]===_0x9ea725[_0x20aa30(0x140)]['SHOULD_CLOSE_CONN']),_0x4da2a9[_0x20aa30(0x233)](this[_0x20aa30(0x1a1)]))[_0x20aa30(0x577)](_0x23029f=>{const _0x48a095=_0x20aa30,_0x4c6e5a=_0x23029f,{reason:_0xf28e84}=_0x4c6e5a[_0x48a095(0x390)];this[_0x48a095(0x488)][_0x48a095(0x55a)](_0x405b11['IMessageService'])[_0x48a095(0x46e)]({'type':_0x3fa11f[_0x48a095(0x21a)][_0x48a095(0x3c3)],'content':this['_localeService']['t'](_0x48a095(0x1e1))+'('+_0xf28e84+')'}),this[_0x48a095(0x1c5)][_0x48a095(0x18e)](new _0x59e5a9['WorkbookEditablePermission'](_0x534d00)['id'],!0x1),this['_collaborationSessionService'][_0x48a095(0x34a)](_0x534d00);});};_0x3fbd04[_0x5ddce9(0x54c)](this[_0x5ddce9(0x4ba)][_0x5ddce9(0x42e)](_0x223914[_0x5ddce9(0x53b)][_0x5ddce9(0x18d)]),this['_univerInstanceService'][_0x5ddce9(0x42e)](_0x223914[_0x5ddce9(0x53b)]['UNIVER_DOC']))[_0x5ddce9(0x3c1)](_0x4da2a9['map'](_0x37b4ec=>_0x37b4ec['getUnitId']()),_0x4da2a9[_0x5ddce9(0x256)](_0x316a23=>!_0x223914[_0x5ddce9(0x2c6)](_0x316a23)),_0x4da2a9[_0x5ddce9(0x233)](this[_0x5ddce9(0x1a1)]))[_0x5ddce9(0x577)](_0x1d7edd=>{_0x5ab547(_0x1d7edd);});}[_0x3948cf(0x5d9)](){const _0x55bb43=_0x3948cf,_0x26e791=async _0x5f4790=>{const _0x407bfb=_0x5201;(await this[_0x407bfb(0x3b9)][_0x407bfb(0x4f3)](_0x5f4790))['event$'][_0x407bfb(0x3c1)](_0x4da2a9[_0x407bfb(0x256)](_0x577bab=>_0x577bab[_0x407bfb(0x5ea)]===_0x9ea725[_0x407bfb(0x140)]['UPDATE_PERMISSION_OBJ']),_0x4da2a9[_0x407bfb(0x233)](this['dispose$']))[_0x407bfb(0x577)](_0x5b5518=>{const _0x2e1c64=_0x407bfb,_0x4986ba=_0x5b5518,{objectId:_0x4da259}=_0x4986ba[_0x2e1c64(0x390)],_0x5a7317=this[_0x2e1c64(0x488)][_0x2e1c64(0x55a)](_0x133108[_0x2e1c64(0x258)]);_0x4da259===_0x5f4790?_0x5a7317[_0x2e1c64(0x368)](_0x5f4790):_0x5a7317[_0x2e1c64(0x350)](_0x5f4790,_0x4da259);});};_0x3fbd04[_0x55bb43(0x54c)](this[_0x55bb43(0x4ba)]['getTypeOfUnitAdded$'](_0x223914[_0x55bb43(0x53b)][_0x55bb43(0x18d)]),this['_univerInstanceService'][_0x55bb43(0x42e)](_0x223914[_0x55bb43(0x53b)][_0x55bb43(0x30c)]))[_0x55bb43(0x3c1)](_0x4da2a9[_0x55bb43(0x26b)](_0x10904d=>_0x10904d[_0x55bb43(0x38c)]()),_0x4da2a9[_0x55bb43(0x256)](_0x47601f=>!_0x223914['isInternalEditorID'](_0x47601f)),_0x4da2a9[_0x55bb43(0x233)](this[_0x55bb43(0x1a1)]))['subscribe'](_0x6403b0=>{_0x26e791(_0x6403b0);});}};_0x5459b7=_0x57a417([_0x24a0bc(0x0,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x24a0bc(0x1,_0x223914[_0x3948cf(0x2dd)]),_0x24a0bc(0x2,_0x223914[_0x3948cf(0x1ac)]),_0x24a0bc(0x3,_0x223914[_0x3948cf(0x25f)](_0x24454f[_0x3948cf(0x228)])),_0x24a0bc(0x4,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x570)]))],_0x5459b7);var _0xce62df=Object[_0x3948cf(0x149)],_0x45d032=Object[_0x3948cf(0x16b)],_0x128f2e=(_0x106cc4,_0x2db0b1,_0x436d81,_0x307628)=>{const _0x4df619=_0x3948cf;for(var _0x16189a=_0x307628>0x1?void 0x0:_0x307628?_0x45d032(_0x2db0b1,_0x436d81):_0x2db0b1,_0x2ded67=_0x106cc4[_0x4df619(0x24c)]-0x1,_0x5bbd5f;_0x2ded67>=0x0;_0x2ded67--)(_0x5bbd5f=_0x106cc4[_0x2ded67])&&(_0x16189a=(_0x307628?_0x5bbd5f(_0x2db0b1,_0x436d81,_0x16189a):_0x5bbd5f(_0x16189a))||_0x16189a);return _0x307628&&_0x16189a&&_0xce62df(_0x2db0b1,_0x436d81,_0x16189a),_0x16189a;},_0x486597=(_0x54f4e6,_0x5c3dc4)=>(_0x2859bb,_0x4c5b68)=>_0x5c3dc4(_0x2859bb,_0x4c5b68,_0x54f4e6);_0x24454f[_0x3948cf(0x5a5)]=class{constructor(_0x173064,_0x32b145){this['_configService']=_0x173064,this['_httpService']=_0x32b145;}async[_0x3948cf(0x1fd)](_0xcf6ebd,_0x2a0106){const _0x1db132=_0x3948cf;var _0x4f1f6a;const {unitID:_0x469217,type:_0x3cca0a,revision:_0x897d80=0x0}=_0x2a0106,_0x2ed337=this[_0x1db132(0x450)]()+'/'+_0x3cca0a+_0x1db132(0x1f6)+_0x469217+_0x1db132(0x2a7)+_0x897d80,_0xf0eca3=(await this['_httpService'][_0x1db132(0x55a)](_0x2ed337))[_0x1db132(0x579)],_0x9acb15=(_0x4f1f6a=_0xf0eca3[_0x1db132(0x1dc)])==null?void 0x0:_0x4f1f6a[_0x1db132(0x23c)];if(_0x9acb15){const _0x4ad4e5=_0x9acb15==null?void 0x0:_0x9acb15[_0x1db132(0x2ab)],_0x78952b=_0x9ea725[_0x1db132(0x250)][_0x1db132(0x1cd)](_0x9ea725[_0x1db132(0x424)](_0x4ad4e5));_0x9acb15[_0x1db132(0x2ab)]=_0x78952b,Object[_0x1db132(0x47c)](_0x9acb15[_0x1db132(0x5fe)])[_0x1db132(0x24f)](([,_0xc1dbe9])=>{const _0x3e4c8b=_0x1db132,_0x268682=_0xc1dbe9['originalMeta'],_0x109ee5=_0x9ea725[_0x3e4c8b(0x250)][_0x3e4c8b(0x1cd)](_0x9ea725[_0x3e4c8b(0x424)](_0x268682));_0xc1dbe9[_0x3e4c8b(0x2ab)]=_0x109ee5;});}return _0xf0eca3;}async['getSheetBlock'](_0x39d0fd,_0x41b60a){const _0x1cb2c5=_0x3948cf,{unitID:_0x21b554,type:_0x48abc3,blockID:_0x34621e}=_0x41b60a,_0x582d57=this[_0x1cb2c5(0x5b2)]()+'/'+_0x48abc3+_0x1cb2c5(0x1f6)+_0x21b554+_0x1cb2c5(0x376)+_0x34621e;return(await this[_0x1cb2c5(0x3cc)][_0x1cb2c5(0x55a)](_0x582d57))[_0x1cb2c5(0x579)];}async[_0x3948cf(0x40c)](_0x436b65,_0x21f74f){const _0x221d2b=_0x3948cf,{unitID:_0x2e6297,type:_0x2cde30,blockID:_0x2b237}=_0x21f74f,_0x473816=this[_0x221d2b(0x5b2)]()+_0x221d2b(0x376)+_0x2cde30+_0x221d2b(0x1f6)+_0x2e6297+_0x221d2b(0x376)+_0x2b237;return(await this[_0x221d2b(0x3cc)]['get'](_0x473816))[_0x221d2b(0x579)];}async[_0x3948cf(0x5bf)](_0x44e9a8,_0x2bd0b2){const _0x2b250b=_0x3948cf,{unitID:_0x1a6c29,type:_0x5d15fa,from:_0x22860b,to:_0x1ebee6}=_0x2bd0b2,_0x246c30=this['_getAPIPrefix']()+'/'+_0x5d15fa+'/unit/'+_0x1a6c29+_0x2b250b(0x1c0)+_0x22860b+_0x2b250b(0x2d4)+_0x1ebee6;return(await this[_0x2b250b(0x3cc)][_0x2b250b(0x55a)](_0x246c30))[_0x2b250b(0x579)];}[_0x3948cf(0x450)](){const _0x48325d=_0x3948cf;var _0x5e63f1;return(_0x5e63f1=this[_0x48325d(0x164)][_0x48325d(0x52b)](_0x102c98))!=null?_0x5e63f1:this[_0x48325d(0x5b2)]();}[_0x3948cf(0x5b2)](){const _0x55b92f=_0x3948cf;var _0x1d93d4,_0x2d664a;const _0x4e5d8d=this[_0x55b92f(0x164)][_0x55b92f(0x52b)](_0x454abe),_0x177971=this[_0x55b92f(0x164)][_0x55b92f(0x52b)](_0x59012f);return(_0x2d664a=(_0x1d93d4=_0x177971==null?void 0x0:_0x177971[_0x55b92f(0x5a0)])!=null?_0x1d93d4:_0x4e5d8d)!=null?_0x2d664a:_0x3dc583;}async[_0x3948cf(0x41e)](_0x308d4f,_0x345c0b){const _0x40b059=_0x3948cf,_0x3a0f86=_0x40b059(0x19a)+_0x345c0b[_0x40b059(0x181)]+_0x40b059(0x1f6)+_0x345c0b[_0x40b059(0x397)]+_0x40b059(0x3cb);return(await this[_0x40b059(0x3cc)]['get'](_0x3a0f86,{'params':{'resourceId':JSON[_0x40b059(0x2ec)](_0x345c0b[_0x40b059(0x59f)])}}))[_0x40b059(0x579)];}[_0x3948cf(0x51c)](){const _0x354e78=_0x3948cf;throw new Error(_0x354e78(0x513));}[_0x3948cf(0x18c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3948cf(0x5ab)](){const _0x35ee07=_0x3948cf;throw new Error(_0x35ee07(0x513));}[_0x3948cf(0x3e4)](){const _0x503575=_0x3948cf;throw new Error(_0x503575(0x513));}['getLatestCsReqIdBySid'](){const _0x5d89f3=_0x3948cf;throw new Error(_0x5d89f3(0x513));}},_0x24454f[_0x3948cf(0x5a5)]=_0x128f2e([_0x486597(0x0,_0x223914[_0x3948cf(0x1ff)]),_0x486597(0x1,_0x223914[_0x3948cf(0x25f)](_0x1ddba4['HTTPService']))],_0x24454f[_0x3948cf(0x5a5)]);var _0x211c4f=Object[_0x3948cf(0x149)],_0x4d6d5c=Object['getOwnPropertyDescriptor'],_0x416c0a=(_0x10775b,_0x59b4d1,_0x3facaa,_0x25968f)=>{const _0x5aaef1=_0x3948cf;for(var _0x5bc5e6=_0x25968f>0x1?void 0x0:_0x25968f?_0x4d6d5c(_0x59b4d1,_0x3facaa):_0x59b4d1,_0x2a3e27=_0x10775b[_0x5aaef1(0x24c)]-0x1,_0x518340;_0x2a3e27>=0x0;_0x2a3e27--)(_0x518340=_0x10775b[_0x2a3e27])&&(_0x5bc5e6=(_0x25968f?_0x518340(_0x59b4d1,_0x3facaa,_0x5bc5e6):_0x518340(_0x5bc5e6))||_0x5bc5e6);return _0x25968f&&_0x5bc5e6&&_0x211c4f(_0x59b4d1,_0x3facaa,_0x5bc5e6),_0x5bc5e6;},_0x42d6ad=(_0x309caf,_0x556e78)=>(_0x575691,_0x15b7c2)=>_0x556e78(_0x575691,_0x15b7c2,_0x309caf);let _0x160fe1=class extends _0x223914[_0x3948cf(0x4cf)]{constructor(_0x400737,_0x3aa5bd,_0x32f6e0,_0x1b1184,_0x4adcaf){const _0xc2614c=_0x3948cf;super(_0x400737,_0x3aa5bd,_0x32f6e0),this[_0xc2614c(0x42b)]=_0x1b1184,this[_0xc2614c(0x3fb)]=_0x4adcaf;}[_0x3948cf(0x4e4)](_0x47555d,_0x7b85fc){const _0xda3dff=_0x3948cf,_0x11c75e=this['_getUndoStack'](_0x47555d);if(_0x11c75e)try{const _0x19c768=this['_transformStack'](_0x11c75e,_0x7b85fc);this['_substituteUndoStack'](_0x47555d,_0x19c768);}catch(_0x8578d9){this['_logService']['error']('[CollaborationUndoRedoService]',_0x8578d9),this[_0xda3dff(0x370)](_0x47555d);}const _0x492952=this[_0xda3dff(0x603)](_0x47555d);if(_0x492952)try{const _0x13cd05=this[_0xda3dff(0x4b7)](_0x492952,_0x7b85fc);this[_0xda3dff(0x4db)](_0x47555d,_0x13cd05);}catch(_0x1580fc){this['_logService'][_0xda3dff(0x41b)](_0x1580fc),this[_0xda3dff(0x4c9)](_0x47555d);}}[_0x3948cf(0x370)](_0x42887b){const _0xdbe426=_0x3948cf,_0x4c87d6=this['_getUndoStack'](_0x42887b);_0x4c87d6&&(_0x4c87d6[_0xdbe426(0x24c)]=0x0,this[_0xdbe426(0x16c)]());}['_clearRedo'](_0x2916fc){const _0x2f59bd=_0x3948cf,_0x544544=this[_0x2f59bd(0x603)](_0x2916fc);_0x544544&&(_0x544544[_0x2f59bd(0x24c)]=0x0,this[_0x2f59bd(0x16c)]());}['_substituteUndoStack'](_0x2cc984,_0x2076d0){const _0x44d51f=_0x3948cf;this['_undoStacks'][_0x44d51f(0x1f2)](_0x2cc984,_0x2076d0),this[_0x44d51f(0x16c)]();}['_substituteRedoStack'](_0x3fc6a3,_0x3dfc5c){const _0x552aac=_0x3948cf;this[_0x552aac(0x2df)][_0x552aac(0x1f2)](_0x3fc6a3,_0x3dfc5c),this[_0x552aac(0x16c)]();}[_0x3948cf(0x4b7)](_0xf5136f,_0x4576b7){const _0x18790e=_0x3948cf,_0x278820=[];let _0x3d84c2=_0x4576b7,_0x258738=_0x4576b7;for(let _0x352c3a=_0xf5136f['length']-0x1;_0x352c3a>=0x0;_0x352c3a--){const {unitID:_0x8beb3d,undoMutations:_0x4d01f8,redoMutations:_0x171313}=_0xf5136f[_0x352c3a],_0x4fe598=this[_0x18790e(0x42b)][_0x18790e(0x57d)](_0x3d84c2,_0x4d01f8),_0x12ed01=this[_0x18790e(0x42b)]['transformMutationsWithChangeset'](_0x258738,_0x171313);if(_0x9ea725[_0x18790e(0x54f)](_0x4fe598)||_0x9ea725[_0x18790e(0x54f)](_0x12ed01)){this[_0x18790e(0x3fb)][_0x18790e(0x41b)](_0x18790e(0x226),_0x18790e(0x267),_0x4fe598,_0x12ed01);break;}_0x3d84c2=_0x4fe598['c1Prime'],_0x258738=_0x12ed01['c1Prime'],_0x278820[_0x18790e(0x4ef)]({'unitID':_0x8beb3d,'undoMutations':_0x4fe598[_0x18790e(0x521)],'redoMutations':_0x12ed01[_0x18790e(0x521)]});}return _0x278820[_0x18790e(0x229)]();}};_0x160fe1=_0x416c0a([_0x42d6ad(0x0,_0x223914[_0x3948cf(0x2dd)]),_0x42d6ad(0x1,_0x223914[_0x3948cf(0x38e)]),_0x42d6ad(0x2,_0x223914[_0x3948cf(0x4d2)]),_0x42d6ad(0x3,_0x9ea725[_0x3948cf(0x1b6)]),_0x42d6ad(0x4,_0x223914[_0x3948cf(0x5b0)])],_0x160fe1);class _0x1158f8 extends _0x223914[_0x3948cf(0x52f)]{constructor(){const _0x44dc2f=_0x3948cf;super(),_0xeb55cc(this,'urlChange$'),this[_0x44dc2f(0x297)]=_0x3fbd04['fromEvent'](window,_0x44dc2f(0x4df))[_0x44dc2f(0x3c1)](_0x3fbd04[_0x44dc2f(0x233)](this['dispose$']),_0x3fbd04[_0x44dc2f(0x410)](0x1),_0x3fbd04[_0x44dc2f(0x21f)](void 0x0));}[_0x3948cf(0x25b)](_0x1bf2bb,_0x3a17ee,_0x40c8d1=!0x1){const _0x301899=_0x3948cf,_0x4fb219=new URL(window['location'][_0x301899(0x4bf)]);_0x4fb219[_0x301899(0x4f1)][_0x301899(0x1f2)](_0x1bf2bb,_0x3a17ee),_0x40c8d1?window[_0x301899(0x441)][_0x301899(0x320)]('','',_0x4fb219[_0x301899(0x4ec)]()):window[_0x301899(0x441)][_0x301899(0x4e5)]('','',_0x4fb219[_0x301899(0x4ec)]());}['removeParam'](_0x1ef9f6,_0x4c7cc6=!0x1){const _0x14c19a=_0x3948cf,_0x5960a1=new URL(window[_0x14c19a(0x2bc)][_0x14c19a(0x4bf)]);_0x5960a1[_0x14c19a(0x4f1)][_0x14c19a(0x45a)](_0x1ef9f6),_0x4c7cc6?window[_0x14c19a(0x441)][_0x14c19a(0x320)]('','',_0x5960a1[_0x14c19a(0x4ec)]()):window[_0x14c19a(0x441)]['pushState']('','',_0x5960a1[_0x14c19a(0x4ec)]());}[_0x3948cf(0x18a)](_0xaaf4fc){const _0x281a30=_0x3948cf;var _0x209e4e;return(_0x209e4e=new URL(window[_0x281a30(0x2bc)][_0x281a30(0x4bf)])['searchParams'][_0x281a30(0x55a)](_0xaaf4fc))!=null?_0x209e4e:void 0x0;}}var _0x337363=Object[_0x3948cf(0x149)],_0x4c6dc8=Object[_0x3948cf(0x16b)],_0x2df55c=(_0x29d24e,_0x38eadb,_0x302ba9)=>_0x38eadb in _0x29d24e?_0x337363(_0x29d24e,_0x38eadb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x302ba9}):_0x29d24e[_0x38eadb]=_0x302ba9,_0x47fafc=(_0x434043,_0x1edcce,_0x67eb86,_0x386290)=>{for(var _0xbff8d=_0x386290>0x1?void 0x0:_0x386290?_0x4c6dc8(_0x1edcce,_0x67eb86):_0x1edcce,_0x5ec989=_0x434043['length']-0x1,_0x231ea1;_0x5ec989>=0x0;_0x5ec989--)(_0x231ea1=_0x434043[_0x5ec989])&&(_0xbff8d=(_0x386290?_0x231ea1(_0x1edcce,_0x67eb86,_0xbff8d):_0x231ea1(_0xbff8d))||_0xbff8d);return _0x386290&&_0xbff8d&&_0x337363(_0x1edcce,_0x67eb86,_0xbff8d),_0xbff8d;},_0x56052c=(_0x32703e,_0xd1157e)=>(_0x39f622,_0x19706c)=>_0xd1157e(_0x39f622,_0x19706c,_0x32703e),_0x21a2c1=(_0x16fff7,_0x97a6f6,_0x42129a)=>_0x2df55c(_0x16fff7,_0x97a6f6+'',_0x42129a);const _0xb65709=_0x3948cf(0x265);_0x24454f['UniverCollaborationClientPlugin']=class extends _0x223914['Plugin']{constructor(_0x52fd62=_0x2741d3,_0x134bd1,_0x1b3cca,_0x2732ae,_0xfa5015){const _0x3a5ca3=_0x3948cf;super(),this[_0x3a5ca3(0x332)]=_0x52fd62,this[_0x3a5ca3(0x3fb)]=_0x134bd1,this[_0x3a5ca3(0x4c2)]=_0x1b3cca,this['_injector']=_0x2732ae,this['_configService']=_0xfa5015;const {..._0x476b9f}=this[_0x3a5ca3(0x332)];this[_0x3a5ca3(0x164)][_0x3a5ca3(0x55e)](_0x59012f,_0x476b9f);}['onStarting'](){const _0x4c2e39=_0x3948cf;this[_0x4c2e39(0x216)](),this[_0x4c2e39(0x2f1)]();}[_0x3948cf(0x1fb)](){const _0x50110e=_0x3948cf;_0x223914[_0x50110e(0x17d)](this[_0x50110e(0x488)],[[_0x5583a5]]);}[_0x3948cf(0x36a)](){const _0xb21983=_0x3948cf;this[_0xb21983(0x2e9)]();}[_0x3948cf(0x216)](){const _0x42691a=_0x3948cf;var _0x2ce7fa,_0x445419,_0x1132e0,_0x62d8ec;this[_0x42691a(0x488)]['has'](_0x223914['IUndoRedoService'])&&this['_logService']['error'](_0x42691a(0x3c8),_0x42691a(0x36b));const _0x3b42d9=[[_0x223914['IUndoRedoService'],{'useClass':_0x160fe1}],[_0x24454f[_0x42691a(0x228)]],[_0x1f0109],[_0x22100a,{'useClass':_0x1158f8}],[_0x24454f[_0x42691a(0x48b)]],[_0x24454f[_0x42691a(0x30e)]],[_0x1ddba4[_0x42691a(0x393)]],[_0x42d852],[_0x5cbe2c],[_0x2e6349],[_0x5cf7bf],[_0x4de645],[_0x27f981],[_0x1daeed],[_0x257017],[_0x5459b7],[_0x1a1032,{'useClass':(_0x445419=(_0x2ce7fa=this[_0x42691a(0x332)])==null?void 0x0:_0x2ce7fa[_0x42691a(0x2f2)])!=null?_0x445419:_0x24454f[_0x42691a(0x5d7)]}],[_0x9ea725['ISnapshotServerService'],{'useClass':_0x24454f[_0x42691a(0x5a5)]}],[_0x223914[_0x42691a(0x309)],{'useClass':_0x24454f[_0x42691a(0x3d1)]}],[_0x5008e0[_0x42691a(0x2b8)],{'useClass':_0x24454f[_0x42691a(0x3b8)]}],[_0x24454f[_0x42691a(0x35c)]],[_0x24454f['DataLoaderController']],[_0x24454f[_0x42691a(0x1c4)]],[_0x5583a5],[_0x167308]];(_0x1132e0=this[_0x42691a(0x332)])!=null&&_0x1132e0[_0x42691a(0x545)]&&_0x3b42d9['push']([_0x1b2f34,{'useClass':_0x4b8d7b}]),_0x223914[_0x42691a(0x59b)](this[_0x42691a(0x488)],_0x223914[_0x42691a(0x2e8)](_0x3b42d9,(_0x62d8ec=this[_0x42691a(0x332)])==null?void 0x0:_0x62d8ec[_0x42691a(0x194)]));}[_0x3948cf(0x2e9)](){const _0x4b3ea6=_0x3948cf;this[_0x4b3ea6(0x345)](this[_0x4b3ea6(0x4c2)][_0x4b3ea6(0x316)](_0x223914[_0x4b3ea6(0x53b)][_0x4b3ea6(0x30c)],[_0x4ea386])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x223914[_0x4b3ea6(0x53b)][_0x4b3ea6(0x18d)],[_0x3aba73]));}[_0x3948cf(0x2f1)](){const _0x477a3c=_0x3948cf;var _0x4c49af,_0x558798;this['_injector']['get'](_0x1ddba4[_0x477a3c(0x171)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x1ddba4['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x4c49af=this[_0x477a3c(0x332)])!=null&&_0x4c49af[_0x477a3c(0x20e)]||this[_0x477a3c(0x488)][_0x477a3c(0x55a)](_0x24454f[_0x477a3c(0x30e)])['disableLocalCache'](),(_0x558798=this[_0x477a3c(0x332)])!=null&&_0x558798[_0x477a3c(0x4a6)]&&_0x223914[_0x477a3c(0x17d)](this[_0x477a3c(0x488)],[[_0x27f981]]),_0x223914[_0x477a3c(0x17d)](this[_0x477a3c(0x488)],[[_0x1daeed],[_0x167308],[_0x24454f[_0x477a3c(0x2d9)]],[_0x24454f['CollaborationController']],[_0x24454f['DesktopCollaborationStatusDisplayController']],[_0x5459b7]]);}},_0x21a2c1(_0x24454f['UniverCollaborationClientPlugin'],'pluginName',_0xb65709),_0x24454f[_0x3948cf(0x1a0)]=_0x47fafc([_0x223914['DependentOn'](_0x9ea725[_0x3948cf(0x4b8)],_0x1ddba4[_0x3948cf(0x20c)]),_0x56052c(0x1,_0x223914[_0x3948cf(0x5b0)]),_0x56052c(0x2,_0xdd060a[_0x3948cf(0x349)]),_0x56052c(0x3,_0x223914[_0x3948cf(0x25f)](_0x223914[_0x3948cf(0x478)])),_0x56052c(0x4,_0x223914[_0x3948cf(0x1ff)])],_0x24454f[_0x3948cf(0x1a0)]),_0x24454f['AUTHZ_URL_KEY']=_0x45e840,_0x24454f[_0x3948cf(0x23d)]=_0x38f10d,_0x24454f[_0x3948cf(0x3aa)]=_0x2c6078,_0x24454f[_0x3948cf(0x16e)]=_0x1de127,_0x24454f[_0x3948cf(0x59d)]=_0x409637,_0x24454f[_0x3948cf(0x205)]=_0x257017,_0x24454f[_0x3948cf(0x21d)]=_0x224248,_0x24454f[_0x3948cf(0x13e)]=_0x44eea9,_0x24454f[_0x3948cf(0x3fc)]=_0x1a1032,_0x24454f['IURLService']=_0x22100a,_0x24454f[_0x3948cf(0x3f9)]=_0x5e1c84,_0x24454f[_0x3948cf(0x325)]=_0x5d6ffa,_0x24454f['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x5b3dc5,_0x24454f[_0x3948cf(0x280)]=_0x224844,_0x24454f[_0x3948cf(0x198)]=_0x454abe,_0x24454f['SNAPSHOT_URL_KEY']=_0x102c98,_0x24454f[_0x3948cf(0x27c)]=_0x1efc5b,_0x24454f[_0x3948cf(0x381)]=_0x4b8f9a,_0x24454f[_0x3948cf(0x321)]=_0x1158f8,_0x24454f['deserializeToCombResponse']=_0x592c55,_0x24454f['serializeCombRequest']=_0x2a8bc0,Object['defineProperty'](_0x24454f,Symbol[_0x3948cf(0x1ca)],{'value':'Module'});}));function _0x4f95(){const _0x2b89d2=['_transformService','_updateCollabCursors','addImageSourceCache','getTypeOfUnitAdded$','debounceTime','_sessions','_createHelper','_getSendChangesetTimeout','fillText','mode','_retryConnectingTimer','CollaborationSession','LICENSE_DISTRO_REJECTED','_memberService','\x20to\x20','_keyPriorReset','top','currentTheme$','serializeRangeWithSheet','setShapeProps','create','encrypt','history','[CollaborationEntity]','unitId\x20is\x20not\x20found','DeleteRangeMoveUpCommandId','UserManagerService','NOT_FOUND','Univer','_nRounds','_cachedData','_onCursorDelete','_event$','getCoordByCell','failed\x20to\x20apply\x20missed\x20changesets!','blockSize','_scene','_getSnapshotAPIPrefix','objects','state','getWorkbookSelections','APPLY_DUPLICATED','LICENSE_MAX_UNITS_EXCEEDED','BlockCipherMode','UniverEngineFormula','JSONX','routeKey','delete','keySize','_scheduleSaving','PasswordBasedCipher','LOCAL_CACHE_INTERVAL','_transformRemoteChangesetByIMECache','getSheetBySheetId','Rectangle','isArray','fetchMiss','includes','InsertColCommandId','UniverDesign','_map','collabWebSocketUrl','sequenceExecute','reqId','indexOf','_initEventListeners','SNAPSHOT_URL_KEY','show','?url=','@univerjs/sheets','tag','_getUploadFileURL','_ensureSubject','SerializableCipher','_imageSourceCache','apply','getSheetObject','Injector','telemetry\x20info\x20is\x20not\x20initialized','abs','getUnitType','entries','collaboration_new_changeset','_cursorShapes','awaiting','CipherParams','fillStyle','ALREADY_EXISTS','update','RECV','AUTHZ_URL_KEY','resend','762296ITIDLH','_injector','react.element','TRANSFORM_CHANGE_OBSERVABLE_TYPE','MemberService','ColorKit','[PendingState]:\x20unhandled\x20univer\x20type:\x20','UPDATE_CURSOR','_pendingMutations','next','UniverRpc','offline','_getSheetObject','CompressMutationService','_fetchMissChangesets','min','updateMember','_socketService','_render','init','getCellPositionByOffset','_timeoutTimer','[CollaborationSession]','_transformStateCache','patch','withCredentials','save','authzUrl','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[OfflineState]:\x20received\x20acknowledgement.','_colorAssignService','enableAuthServer','_getSaveTimeout','_cursors','UniverCollaborationClient','json','readInt32LE','pad','handleDeleteRangeMoveLeft','_transformRemoteChangesetByStateCache','pending','switchMap','unsubscribe','_loadSheet','currentSkeleton$','ref','HEADER_MENU','toggleOnline','_transformStack','UniverCollaborationPlugin','_unitStatus','_univerInstanceService','getColor','getRangePointData','{fileID}','url','href','Unknown\x20user','Base','_renderManagerService','_updateLocalCache','useObservable','Shape','getMergeData','_waitCount','UNRECOGNIZED','_clearRedo','_schedule','_initResize','SheetCollaborationEntity','_createHmacHelper','colorChannel1','LocalUndoRedoService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','IUndoRedoService','IContextService','/object','_isPermissionRej','max','session','triggerDblclick','/universer-api/stream/file/upload','UniverUi','collab-rect-range-','_substituteRedoStack','getImageSourceCache','transformChangesets','TOO_MANY_REQUESTS','popstate','univer-pro.collaboration-client.single-active-unit-service','onSendChangeset','\x0aCurrent:\x20','close$','transformUndoRedo','pushState','blue400','[FetchMissState]','subunit','interceptor','UniverSheets','runRefRangeMutations','toString','_listenToOfflineEvent','_prevBlock','push','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','searchParams','_disabled','requireSession','NoPadding','permission.title','commentUpdate$','_docSkeletonManagerService','lib','_eventUnsubscribe','React','undoState','moveTo','connectInjector','_transformSelections','getValue','socket$','updatePermissionObjEvent','/universer-api/snapshot','change$','collaMsg','collabStatus.fetchMiss','SUBMIT_CHANGESET','synced','INGEST','onCommandExecuted','/role','findNodePositionByCharIndex','save\x20fail\x20reason\x20is\x20','c2Prime','decryptBlock','OnLineSingle','_compressMutationService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','uploadFileServerUrl','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','listRoles','_themeService','cfg','parse','2Intpgf','AWAITING_WITH_PENDING','YUUMI_RATE_OVER_LIMIT','_sheetTransformSelectionsService','saveSnapshot','translate(.97)','_snapshotServerService','_uiPartsService','mapDocumentTypeToUniverType','m2Prime','closePath','rxjs/operators','_scheduleTimestamp','ERROR_EXCEED_SIZE','TEXT_RANGE_LAYER_INDEX','StreamCipher','_init','_online','[OfflineState]:\x20received\x20changeset.','getConfig','_socket','onPointerMove$','Rect','RxDisposable','Could\x20not\x20dynamically\x20require\x20\x22','_docSyncEditingCollabCursorService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','LICENSE_IMPORT_SIZE_EXCEEDED','DocStateChangeManagerService','UNKNOWN_CMD','_transformPreviousActiveRange','target','collaborators','operators','collabStatus.offline','UniverInstanceType','substring','_resendTimeout','_createHandler','mutations','saveImage','ImageUploadStatusType','_notificationService','parseChangesetToProtocol','onRemoteAck','enableSingleActiveInstanceLock','loadOfflineData','_parse','UNIVER_SLIDE','transformIMECache','connection\x20error','trim','merge','params','flatMap','isTransformMutationsWithChangesetFailure','onMissedChangesetFetched','red300','off-line-single_clip0_910_343','_onFetchMissResult','salt','hasher','_submitChangeset','collab-text-anchor-','isTransformChangesetsSuccess','action','get','FromArray','_getAPIPrefixPath','clamp','setConfig','status$','_commentService','_executeRemoteChangeset','_oKey','pauseCollaboration','createElement','createInstance','deepClone','handleIRemoveRow','ENSURE_SNAPSHOT_EXECUTION','_onMessage','call','subscribeEvent','_drawTextRange','_refreshCollabCursors','9eKxuqC','SheetSkeletonManagerService','LocaleService','padding','Error\x20on\x20receiving\x20event','handleInsertCol','collabStatus.notCollab','reject','verdancy600','subscribe','session.connection-failed','body','handleDeleteRangeMoveUp','_exhaustRemoteChangesetQueue','_session','transformMutationsWithChangeset','onTransformRemoteChangesetByIMECache','Tooltip','_onRecvEvent','event$','Undefined','unknown','InsertSheetMutation','onlyLocal','mixIn','decrypt','randomBytes','random','_collabCursorState$','measureText','_startDocCollabCursor','DEFAULT_FILE_NAME','has','ISnapshotServerService','editingUnit','27627534DExNGP','_collabCursorController','_DEC_XFORM_MODE','headers','online','_docSkeleton','handleMoveRange','UNIVER_UNKNOWN','_entities','YUUMI_URL_COL_OUT_OF_RANGE','registerDependencies','SHOULD_CLOSE_CONN','CollaborationStatusDisplay','ThemeService','resourceIDs','snapshotServerUrl','collabStatus.conflict','univer-online','USERS_LEAVE','_onConnectionFailed','SnapshotServerOverHTTPService','clone','SNAPSHOT_INVALID_SNAPSHOT','registerComponent','_selfUnitIDs','contains','saveChangeset','\x20-\x20','SEND_CHANGESET_TIMEOUT','getTypeOfUnitDisposed$','Tools','ILogService','_handleJoinEvent','_getAPIPrefix','_colorIndex','transformRemoteChangeset','visibilitychange','_textBubble','onTransformRemoteChangesetByStateCache','getInterceptPoints','roomMembers$','DocIMEInputManagerService','backgroundColor','collabStatus.synced','HmacSHA1','_scheduleClearOtherTimer','fetchMissingChangesets','univer-offline','_changesetReqId','_sender','_send','infoRsp','MUTATION','Hasher','csShouldRetryEvent','fillRule','_commentUpdate$','fetchThroughInterceptors','JOINING','deleteCollaborator','UUID','6ohvgzX','url(#$1','join','__esModule','csRejEvent','append','Utf8','m1Prime','SetDocZoomRatioOperation','CollaborationSocketService','onRemoteChangeset','_initUnitPermissionChange','RETRY_CONNECTING_MAX_COUNT','YUUMI_UNABLE_LOAD_URL','putCollaborators','_remoteChangesetQueue','_handleEvent','_onRemoteACK','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','isEditing','status','fromEventSubject','_roomMembers','CHANGESET_SHOULD_RETRY','_clearCollaborationTimeoutTimer','RemoveColCommandId','fromCollab','amd','eventID','image/bmp','APPLY_PERMISSION_DENIED','_urlService','use','unshift','rgba(255,\x20255,\x20255,\x200.01)','liveShareNewHost','path','splice','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','listCollaborators','transform','UNAUTHENTICATED','$super','MoveRangeCommandId','replace','_type','_docStateChangeManagerService','780901jJLsLx','sheets','_transformUndoredo','icon','extend','error$','_getRedoStack','getVpScrollXYInfoByPosToVp','_doCryptBlock','symbol','msCrypto','docStateChange$','byteLength','getRandomValues','_onUserLeave','HmacMD5','confirm','_xformMode','sessionStatus','_showConflictNotification','_name','_hover','COMPLETION_FINISHED','HEARTBEAT_TIMEOUT_KEY','\x20in\x20_schedule.','CollaborationEvent','forwardRef','/universer-api/authz','Warning','_anchor','createSocket','__creator','_localeService','COMPRESS_MUTATION_APPLY','defineProperty','getRoom','complete','_messageService','_revisionService','setShowComponents','INTERNAL_ERROR','isPermissionRej','toLowerCase','collabCursorState$','/allowed','TEXT','_nDataBytes','setAlpha','_initCloseConn','_transformIMECache','getCollabEntity','_loadDoc','BuiltInUIPart','isActive','LICENSE_EXPORT_SIZE_EXCEEDED','with','_entityInit$','getRelativeToViewportCoord','_initRequestHeader','_onCursorUpdate','charCodeAt','_configService','/-/object/list','SnapshotService','restore','arc','react','_getMergeRange','getOwnPropertyDescriptor','_updateStatus','propertyIsEnumerable','CollaborationStatus','_anchorDot','_doReset','HTTPService','function','_handleHover','_clearLocalCache','registerRefRange','_scheduleCollaborationTimeoutTimer','1em','storage','onPointerLeave$','DeleteRangeMoveLeftCommandId','liveShareOperation','_joinRoom','touchDependencies','FETCH_MISSING','submit\x20changeset\x20error!','_initCommandExecutedListener','type','row','unload','_resendWithTimeout','_awaitingChangeset','clearTimeout','rxjs','hasOwnProperty','now','getParam','replaceDocRanges','saveSheetBlock','UNIVER_SHEET','updatePermissionPoint','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_HTTPService','ciphertext','OffLineSingle','4518549RlRrTF','override','onMouseMove','_toggleOffline','SetWorksheetActivateCommand','SNAPSHOT_SERVER_URL_KEY','_sendingTimer','/universer-api/snapshot/','_status$','UNDEFINED','APPLY_REVISION_CONFILICT','newCsEvent','DocCollaborationEntity','UniverCollaborationClientPlugin','dispose$','Decryptor','ILocalStorageService','bottom','_shapes','UNIVER_PROJECT','LIVESHARE_REQUEST_HOST','session.room-full','[SyncedState]:\x20received\x20acknowledgement.','debounce','objectType','IPermissionService','HELLO','/universer-api/comb','UniverEngineRender','_lockTransition','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','assignAColorForMemberID','UniverNetwork','getSheetId','substr','ITransformService','getUndoRedoMutationParamsCache','_tryReconnect','_commandService','_context','incrementRevOfUnit','joinEvent','_singleActiveUnitService','UniverIcon','_onUserJoin','/fetchmissing?from=','fill','InsertRangeMoveDownCommandId','reconnect','DesktopCollaborationStatusDisplayController','_permissionService','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','children','setItem','attrs','toStringTag','disableLocalCache','IMessageService','encode','_getAnchorBounding','rev','getMember','getMemberID','addEventListener','_getDownloadEndpointURL','getStateCache','getCurrentUser','_socketReady','registerOnClose','/new_changes','UniverTelemetry','_roomMembers$','unpad','snapshot','SUCCUSS','[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.','fetch_missing','default','collaboration.closeRoom','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','MD5','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_REJECT','subUnitId','_shouldReportTelemetry','message$','_onRemoteRejected','LIVESHARE_NEW_HOST','parseProtocolChangeset','NO_OTHER_CLIENTS_EDITING','then','DOC_RANGE_TYPE','close','_process','idSuffix','set','selection','Subject','roles','/unit/','/collaborator','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','all','generateRandomId','onReady','revision','getUnitOnRev','YUUMI_SUBSCRIPTION_NOT_FOUND','IConfigService','capture','exhaustSavingTask','handleInsertRangeMoveRight','CommandType','_createInitialState','CommentService','key','onlineStatusIcon','_heartbeatTimer','UnitEmbedded','onTransformIME','deserializeRangeWithSheet','UniverNetworkPlugin','_waitForHeartbeatResponse','enableOfflineEditing','encryptBlock','_append','_snapshotService','transformMutation','getUnhiddenWorksheets','getRenderById','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_registerDependencies','addObject','COLLAB_WEB_SOCKET_URL','_onRefRangeChange','MessageType','setUndoRedoMutationParamsCache','userID','HEARTBEAT_INTERVAL_KEY','getCurrentSelections','mapTo','_key','socket\x20open.','@univerjs/docs-ui','updateOfflineData','_userManagerService','_checkMissing','[CollaborationUndoRedoService]','createEncryptor','CollaborationSessionService','reverse','_startSheetCollabCursor','handleIRemoveCol','repeat','createDecryptor','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_collaborationPaused','getTime','color','_sendHeartbeatTimer','takeUntil','NEW_CHANGESETS','crypto','currentColor','RefRangeService','toDisposable','OFFLINE','_sheetSkeletonManagerService','defaultProps','workbook','COLLAB_SUBMIT_CHANGESET_URL_KEY','Encryptor','_hash','add','_clearScheduledTask','COMMENT_UPDATE','BlockCipher','url(#on-line-single_clip0_910_349)','_ENC_XFORM_MODE','_replayCachedMutations','collaboration-client.config','@univerjs/core','onStateChange','defs','HttpExport','length','execute','HTTPRequest','forEach','textEncoder','_incrementRevisionNumber','setActiveRange','_collabSessionService','focused$','useRef','filter','c1Prime','SheetPermissionInitController','ACTIVE_UNIT_EVENT_CHANNEL','_toggleOnline','setParam','_scheduleHeartbeat','SetSelectionsOperation','_listenToOnlineEvent','Inject','__Key__','addObjects','image/gif','WorkbookEditablePermission','_data','UNIVER_COLLABORATION_CLIENT_PLUGIN','_clearHeartbeatTimer','transformStack\x20failed!','_replaceFileID','collaboratorID','_getLoginPath','map','onRemoteRetry','find','some','slice','loadDoc','AES','enc','_onRemoteChangeset','registerBeforeClose','from','DocSkeletonManagerService','string','_initStatusListener','collaboration-session-retry','onload','textRanges','SessionStatus','@univerjs/network','cmd','bind','SEND_CHANGESET_TIMEOUT_KEY','WordArray','gold400','_cursorInfo$','OTHER_CLIENTS_EDITING','startsWith','_docTransformIMECacheService','dispose','PERMISSION_REJ','name','auth.needGotoLoginAlert','JOIN','xlink:href','FETCH_MISS','_updateLocalCursor','send','className','useDependency','lineTo','_color','_instanceService','_setupSubUnitSync','RemoveRowCommandId','urlChange$','commentUpdateEvent','joinRsp','asObservable','exports','displayName','_handleLeaveEvent','PERMISSION_DENIED','_saveCache','1668000jZUCtu','COLORS','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','resolve','_updateURLWithCurrentState','UniverCollaboration','collab-text-range-','/rev/','sid','&source=','Disposable','originalMeta','_queuedRemoteChangesets','_telemetryInfo','rng','#fff','members','encodeURIComponent','Vector2','_id','_getScale','take','_hasher','_undoRedoService','IImageIoService','Optional','_labelPosition','@univerjs/sheets-ui','location','84hhakAU','_collaborationTimeoutTimer','shouldCloseConn','_reverseMap','_beforeCloseService','transformStateCache','distinctUntilChanged','byteOffset','_candidateSocket','isInternalEditorID','algo','_doFinalize','_changesetSessionId','RegularPolygon','hostname','_onCombEvent','getUnit','_retryCount','89109qNHosF','univer-pro.collaboration-client-socket-service','svg','startColumn','POST','&to=','_throwTelemetryCollaborationNewChangeset','changesets','origin','result','DataLoaderController','clear','CHANGESET_REJ','font','IUniverInstanceService','LIVESHARE_FETCH_OPERATIONS','_redoStacks','BehaviorSubject','transformSelections','appendMutation','/-/object/-/batch_allowed','PENDING','[SyncedState]:\x20received\x20rejection.','_tryEnsureSocket','onTransformSelections','mergeOverrideWithDependencies','_registerRenderDependencies','@univerjs/docs','@univerjs/ui','stringify','Malformed\x20UTF-8\x20data','_onJoinRoomEvent','_acknowledgedAwaitingChangeset','ImageSourceType','_initDependencies','socketService','stopTime','_applyRemoteChangeset','cursorInfo','method','onlineStatus','_createInitialStateImpl','values','activeSheet$','removeMember','BufferedBlockAlgorithm','skeleton','onPointerEnter$','_unlockTransition','_getSignURL','delay','_keySchedule','_saveTaskMap','_handler','formatter','localeService','NodePositionConvertToCursor','univerjs-icon\x20univerjs-icon-','IAuthzIoService','makeDirty','SheetsSelectionsService','UNIVER_DOC','width','LocalCacheService','open$','_backgroundColor','clipPath','IUIPartsService','_initMergeInterceptor','onCommentUpdate','BASE64','registerRenderModule','EffectRefRangId','CONFLICT','_updateState','DocSelectionManagerService','Cipher','CHANGESET_ACK','onTransformChange$','getAncestorScale','startTime','replaceState','WebURLService','onTransformState','beginPath','_startCollaboration','LOGIN_URL_KEY','unit','onRemoteRej','@univerjs/drawing','USERS_ENTER','createIdentifier','_createSocket','@univerjs/rpc','_lastPointer','HEARTBEAT','editing\x20status\x20changed\x20to','CBC','compose','_config','isTransformMutationsWithChangesetSuccess','redoState','defIds','sigBytes','_localCacheService','getItem','current','awaiting_with_pending','COLLAB_SUBMIT_CHANGESET_URL','_sessionStatus$','@univerjs/design','_setupBeforeClosingHandler','none','_iv','_change$','_transformHistoryAndStateStack','sessionStatus$','NOT_COLLAB','disposeWithMe','debug','code','awaitingChangeset','IRenderManagerService','closeSession','\x0aAfter:\x20','InsertRangeMoveRightCommandId','csAckEvent','signUrlServerUrl','HttpImport','refreshPermission','getCollabCursors$','actions','_clearTimeoutTimer','Base64','object','getCurrentRevOfUnit','words','_hovered','_docTransformStateCacheService','#FFF','selections','CollaborationController','downloadEndpointUrl','_onConnectionOpen','for','equals','fromCharCode','unitId','kdf','RevisionService','toRgbString','_minBufferSize','jsxs','initWorkbookPermissionChange','LIVESHARE_OPERATION','onRendered','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_mode','_hideTimer','visibilityState','onMissingChangesets','_clearUndo','_removeClearOtherTimer','_http','getUnitStatus$','every','isTransformMutationFailure','/block/','cursorInfo$','ERROR_IMAGE_TYPE','_state','CONNECTOR_DATA_TOO_LARGE','reset','MergeInterceptorFactory','_assignedColors','_startTelemetryCollaborationNewChangeset','jsx','image/jpg','SheetCollabCursorShape','DisposableCollection','on-line-single','url(#off-line-single_clip0_910_343)','getAllMembers','react.fragment','toggleOffline','onSyncEditingCollabCursor','_drawAnchor','concat','objectID','getUnitId','RECT','ICommandService','_updateSubUnitFromURLParams','data','file','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','WebSocketService','text','getOffsetConfig','collab-client.tooltip.reconnect','unitID','conflict.content','_drawRectRange','APPLY_NON_SEQUENTIAL_REVISION','format','assign','getOwnPropertySymbols','_clearOtherTimers','post','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_socket$','clearInterval','getSkeleton','_syncEditingCollabCursor','not_collab','setStateCache','setCurrentUser','InsertRowCommandId','state$','COLLAB_WEB_SOCKET_URL_KEY','LIVESHARE_TERMINATE','getFocusedUnit','height','4805810JqzahF','UnitSnapshot','@univerjs/engine-render','drawWith','MSG_FOR_ERROR','OpenSSL','getDocRanges','_getCurrentRevision','_refRangeService','readAsDataURL','ImageIoService','_collaborationSessionService','conflict.title','_members','LEAVE','ivSize','_cursor','syncEditingCollabCursor','range','pipe','sin','Error','div','charAt','ONLINE','handleInsertRow','[UniverCollaborationClientPlugin]','[DataLoaderController]','_range','/resources','_httpService','_doProcessBlock','split','_onLocalMutation','executeCommand','AuthzIoHttpService','getActiveSheet','AWAITING','setWaitCount','_localStorageService','floor','randomUUID','doc.mutation.rich-text-editing','updateCursorEvent','setTimeout','startRow','combineLatest','...','0\x200\x2016\x2016','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ranges','getCollabEntity$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','round','copyFileMeta','univer-online-status-icon','SHA1','black','column','_initStatusComponent','IBeforeCloseService','finalize','registerHTTPInterceptor','_cipher','[CollaborationSessionService]','EvpKDF','baseRev','_collaborationController','_transformUndoRedoStack','memberID','loadSheet','/object/','compute','_rescheduleHeartbeat','getActiveRange','LOCAL_CACHE_INTERVAL_KEY','_syncEditingCollabCursorService','_logService','ICollaborationSocketService','_unitID','_resendTimer','prototype','catch','IDLE','ReplaySubject','_getCtorByUniverType','_removeCollabCursors','_unitOnClients','0\x200\x2017\x2016','_socketMessageSubscription','_onConflict','_decreaseWaiting','title','COMPRESS_MUTATION_SEND','getDeserializedSheetBlock','enableLocalCache','_iKey','CollaborationEntity','shareReplay','createCollaborator','roomMembers','@univerjs-pro/collaboration','FAIL','socket\x20close','size','getUniverSheetInstance','evenodd','INVALID_ARGUMENT','_telemetryService','error','requestParams','_state$','getResourcesRequest','image/png','ITelemetryService','reduce','UNKNOWN_CODE','_ws','b64DecodeUnicode','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','ERROR_IMAGE','collaboration.single-unit.warning','_onRemoteRetry','UniverSheetsUi','_transitionLocked'];_0x4f95=function(){return _0x2b89d2;};return _0x4f95();}
|
1
|
+
function _0x18cd(){const _0x22a4bc=['_updateLocalCursor','skeleton','CollaborationController','DocCollaborationEntity','for','[SyncedState]:\x20received\x20rejection.','call','_parse','getUnitType','fromEvent','off-line-single','setParam','charCodeAt','getActiveRange','registerHTTPInterceptor','_toggleOnline','SNAPSHOT_URL_KEY','onPointerLeave$','_permissionService','INVALID_ARGUMENT','Warning','awaitingChangeset','_transformIMECache','Encryptor','shouldCloseConn','InsertRangeMoveRightCommandId','LICENSE_EXPORT_SIZE_EXCEEDED','online','_setupSubUnitSync','\x20to\x20','onMissingChangesets','_createHelper','onStateChange','RECV','HEARTBEAT','_handleHover','addImageSourceCache','enc','_mode','_queuedRemoteChangesets','YUUMI_SUBSCRIPTION_NOT_FOUND','M0\x200H16V16H0z','APPLY_PERMISSION_DENIED','jsxs','DocSkeletonManagerService','sheets','executeCommand','getSkeleton','disposeWithMe','textRanges','setCurrentUser','incrementRevOfUnit','createIdentifier','encode','COMPRESS_MUTATION_APPLY','FileId','_initStatusComponent','getCollabEntity$','closePath','NodePositionConvertToRectRange','blue400','mixIn','responseType','stopTime','getUnitOnRev','push','equals','collab-text-anchor-','collabStatus.offline','liveShareNewHost','SheetCollaborationEntity','IRenderManagerService','PERMISSION_DENIED','_handleJoinEvent','@univerjs/telemetry','USERS_LEAVE','Disposable','COLLAB_SUBMIT_CHANGESET_URL','subunit','_doProcessBlock','delay','_setupBeforeClosingHandler','onTransformIME','_roomMembers','idSuffix','floor','_getScale','WordArray','ImageUploadStatusType','@univerjs/network','putCollaborators','list','override','INGEST','translate(.97)','result','EmptyMutation','_transitionLocked','_docTransformIMECacheService','collaboration.closeRoom','currentColor','handleIRemoveRow','_toggleOffline','concatMap','HTTPService','_transformSelections','transformStack\x20failed!','_docStateChangeManagerService','transform','c1Prime','ONLINE','pluginName','collaboration-client.config','enableOfflineEditing','textEncoder','NO_OTHER_CLIENTS_EDITING','@univerjs/core','toLowerCase','isTransformMutationsWithChangesetFailure','HmacSHA1','setUndoRedoMutationParamsCache','dispose','actions','activeSheet$','_event$','cursorInfo$','error','_getSendChangesetTimeout','getSheetObject','mergeOverrideWithDependencies','_memberService','NEW_CHANGESETS','_members','_socket$','registerRenderModule','unitID','/rev/','collabStatus.synced','removeParam','clone','\x20in\x20_schedule.','getCoordByCell','IImageIoService','_sender','_localStorageService','onRemoteRej','SheetSkeletonManagerService','SEND_CHANGESET_TIMEOUT_KEY','map','_transformStack','univerjs-icon\x20univerjs-icon-','refreshPermission','UniverRpc','_backgroundColor','0\x200\x2016\x2016','SEND_CHANGESET_TIMEOUT','listCollaborators','/allowed','replaceState','image/gif','Pkcs7','InsertRangeMoveDownCommandId','_handleLeaveEvent','drawWith','_getRedoStack','sigBytes','mutations','NoPadding','onlyLocal','fromCollab','HELLO','PSEUDO_FETCH_MISSING_RESULT','CHANGESET_REVISION_CONFILICT','height','onPointerEnter$','1em','COLLAB_WEB_SOCKET_URL_KEY','UniverSheets','onlineStatusTitle','@univerjs/engine-formula','socket$','arc','indexOf','AUTHZ_URL_KEY','color','0\x200\x2017\x2016','{fileID}','updateCollaborator','location','unpad','bottom','substr','sin','_drawAnchor','#fff','_retryConnectingTimer','measureText','has','addObject','UNIVER_COLLABORATION_CLIENT_PLUGIN','_transformPreviousActiveRange','_entities','SheetsSelectionsService','_localeService','format','getRelativeToViewportCoord','_handler','touchDependencies','_beforeCloseService','runRefRangeMutations','[CollaborationEntity]','localeService','saveChangeset','_disableEditing','_send','_scene','?size=','processBlock','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','registerRefRange','UniverInstanceType','sheetId','_onRemoteChangeset','_onLocalMutation','Tooltip','_schedule','_snapshotService','unshift','UPDATE_CURSOR','m1Prime','assign','open$','RxDisposable','setConfig','INTERNAL_ERROR','sequenceExecute','urlChange$','evenodd','subUnitId','_DEC_XFORM_MODE','reduce','_fetchMissChangesets','RETRY_CONNECTING_MAX_COUNT_KEY','TEXT_RANGE_LAYER_INDEX','_socketMessageSubscription','session.connection-failed','5MPfoMr','startRow','_shapes','debug','getRoom','status$','compose','c2Prime','InsertColCommandId','_getSessionTicket','div','MUTATION','?url=','IMessageService','abs','_decreaseWaiting','transformMutationsWithChangeset','[PendingState]:\x20received\x20acknowledgement.','LEAVE','@univerjs/design','enableLocalCache','conflict','close$','_clearRedo','getUnitStatus$','CollaborationSession','add','bind','ILogService','onTransformRemoteChangesetByStateCache','words','redoState','name','objectActions','currentTheme$','debounceTime','UNKNOWN_CMD','_minBufferSize','IDLE','ciphertext','_initEventListeners','_anchorDot','saveImage','enableAuthServer','range','Vector2','...','onRemoteRetry','&assign=','rng','_showConflictNotification','symbol','collabSubmitChangesetUrl','CollaborationEntity','on-line-single_clip0_910_349','next','lib','/role','getAncestorScale','clear','appendMutation','/object/','_docSyncEditingCollabCursorService','_imageSourceCache','isArray','reconnect','charAt','handleMoveRange','distinctUntilChanged','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_collaborationController','isTransformChangesetsSuccess','auth.needGotoLoginAlert','_init','status','_onUserLeave','LIVESHARE_REQUEST_HOST','liveShareOperation','replace','_executeRemoteChangeset','_exhaustRemoteChangesetQueue','substring','YUUMI_RATE_OVER_LIMIT','VIEWPORT_KEY','compute','visibilityState','encodeURIComponent','_process','SYNCED','_initStatusListener','originalMeta','MemberService','_commandService','UniverCollaborationPlugin','25281GgztGQ','docStateChange$','change$','getAllMembers','application/json','DisposableCollection','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ColorKit','action','onSyncEditingCollabCursor','_anchor','Inject','fetchMiss','string','className','headers','mapTo','getMemberID','attrs','__esModule','default','_waitForHeartbeatResponse','getImage','AWAITING_WITH_PENDING','_hovered','/universer-api/snapshot/','image/jpeg','Subject','3070sSTphe','_getAPIPrefix','SetSelectionsOperation','_getUploadFileURL','encryptBlock','eventID','collabCursorState$','SHA1','_waitCount','deserializeToCombResponse','UNIVER_SHEET','WorkbookEditablePermission','_commentUpdate$','IUIPartsService','_sendingTimer','getSheetBySheetId','_collaborationSessionService','createElement','_onRemoteRejected','_prevBlock','allowed','awaiting','throttleTime','_nDataBytes','getColor','Module','unit','7pMmOhC','clamp','_reverseMap','_uiPartsService','CollaborationStatus','_onCombEvent','_changesetReqId','COLLAB_SUBMIT_CHANGESET_URL_KEY','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CHANGESET_REJ','UNIVER_UNKNOWN','fillStyle','deepClone','APPLY_NON_SEQUENTIAL_REVISION','CommentService','setItem','ws://127.0.0.1:8000/universer-api/comb/connect','editing\x20status\x20changed\x20to','object','MessageType','__creator','[OfflineState]:\x20received\x20rejection.','collab-rect-range-','AES','merge','retryConnectingInterval','width','_getUndoStack','_onFetchMissResult','UniverDesign','hostname','_onRemoteACK','_scheduleTimestamp','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Hex','send','_docTransformSelectionsService','onload','_type','@univerjs/ui','extend','_startDocCollabCursor','getConfig','resize','socket\x20open.','Utf8','setShapeProps','transformMutation','connection\x20error','signUrlServerUrl','close','DataLoaderController','url(#off-line-single_clip0_910_343)','LIVESHARE_OPERATION','UNRECOGNIZED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getRenderById','univer-offline','popstate','3229072rmjvCV','rev','_getSaveTimeout','syncEditingCollabCursor','createCollaborator','InsertSheetMutation','OFFLINE','DocStateChangeManagerService','_httpService','target','_draw','pushState','reverse','useRef','_cipher','_snapshotServerService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_telemetryInfo','@univerjs/engine-render','resend','_oKey','forwardRef','getCurrentUser','/-/object/-/batch_allowed','OpenSSL','saveSheetBlock','_incrementRevisionNumber','_createHandler','_refRangeService','_transformUndoRedoStack','_commentService','title','_resendTimer','_cursorShapes','awaiting_with_pending','OffLineSingle','UNDEFINED','selections','isEditing','LICENSE_MAX_UNITS_EXCEEDED','_compressMutationService','some','append','cfg','_checkMissing','unsubscribe','create','getStateCache','body','getCurrent','165AMOQxK','/resources','createSocket','useDependency','startTime','isTransformMutationFailure','_sheetTransformSelectionsService','_config','PasswordBasedCipher','salt','ICollaborationSocketService','_getLoginPath','_onConnectionFailed','min','LOGIN_URL_KEY','/universer-api/comb','onStarting','LIVESHARE_FETCH_OPERATIONS','resolve','history','_configService','_onRefRangeChange','BuiltInUIPart','every','collabStatus.syncing','BlockCipher','_append','lineTo','_telemetryService','requestParams','_joinRoom','href','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','unknown','CollaborationSessionService','addEventListener','with','toRgbString','show','EvpKDF','fetchMissingChangesets','from','apply','handleInsertRow','algo','cursorInfo','/universer-api/snapshot','stringify','AuthzIoHttpService','file','_loadDoc','UPDATE_PERMISSION_OBJ','then','all','Univer','_clearTimeoutTimer','univer-online-status','catch','encrypt','LICENSE_IMPORT_SIZE_EXCEEDED','none','FAIL','ITelemetryService','2436666qmweLk','_transformRemoteChangesetByStateCache','DeleteRangeMoveLeftCommandId','getDocRanges','_scheduleSaving','post','mapDocumentTypeToUniverType','UserManagerService','_notificationService','joinEvent','POST','_colorAssignService','IRemoteInstanceService','setAlpha','workbook','conflict.title','Base64','_transformRemoteChangesetByIMECache','routeKey','hasher','getCurrentRevOfUnit','UniverDrawing','row','rgba(255,\x20255,\x20255,\x200.01)','transformChangesets','[CollaborationSessionService]:\x20socket\x20error','getUnitId','sessionStatus$','getDeserializedSheetBlock','_docSkeletonManagerService','transformStateCache','@univerjs-pro/collaboration','ImageSourceType','1195672UAdzTF','jsx','disableLocalCache','parseProtocolChangeset','InsertRowCommandId','_createInitialStateImpl','getCurrentSelections','_updateSubUnitFromURLParams','joinRsp','currentSkeleton$','crypto','_sendHeartbeatTimer','_collaborationPaused','_startSheetCollabCursor','onCommentUpdate','objects','getRandomValues','triggerDblclick','Malformed\x20UTF-8\x20data','_throwTelemetryCollaborationNewChangeset','_shouldReportTelemetry','purple300','_pendingMutations','selection','getRangePointData','HttpExport','_remoteChangesetQueue','capture','endRow','getSheetId','_range','#FFF','_initRequestHeader','getMember','_getAPIPrefixPath','/universer-api/stream/file/upload','_onOffline','DeleteRangeMoveUpCommandId','_getMergeRange','resourceIDs','focused$','ref','loadSheet','_getSignURL','mode','_singleActiveUnitService','defIds','loginUrlKey','_applyRemoteChangeset','interceptor','CollaborationStatusDisplay','_isPermissionRej','authzUrl','_cachedData','_initResize','_initCommandExecutedListener','[OfflineState]:\x20received\x20acknowledgement.','_collabSessionService','values','_cursors','_ensureSubject','defineProperty','CHANGESET_SHOULD_RETRY','_labelPosition','_context','BASE64','_onConnectionOpen','Plugin','Rectangle','_stopTelemetryCollaborationNewChangeset','duration','HmacMD5','slice','USERS_ENTER','\x0aAfter:\x20','roomMembers$','_onCursorDelete','UnitSnapshot','_nRounds','_document','_clearUndo','use','_sessions','save\x20fail\x20reason\x20is\x20','_clearLocalCache','_createInitialState','take','_sheetSkeletonManagerService','storage','text','_cursorInfo$','@univerjs/rpc','trim','[CollaborationState]:\x20apply\x20error!','randomUUID','_key','_id','ImageIoService','random','collabWebSocketUrl','Optional','_socketService','onReady','kdf','defs','_getSnapshotAPIPrefix','revision','_awaitingChangeset','userID','_clearCollaborationTimeoutTimer','OTHER_CLIENTS_EDITING','$super','includes','RETRY_CONNECTING_MAX_COUNT','_hash','PERMISSION_REJ','_saveTaskMap','BehaviorSubject','UniverUi','ILocalStorageService','subscribeEvent','transformRemoteChangeset','Cipher','univer-online-status-icon','_drawRectRange','JOIN_ROOM_FULL','CHANGESET_ACK','createDecryptor','generateRandomId','IUniverInstanceService','getImageSourceCache','JOINING','members','__Key__','toString','split','_scheduleClearOtherTimer','_initCloseConn','handleInsertCol','loadOfflineData','_state','deleteCollaborator','/-/object/list','closeSession','SnapshotService','_heartbeatTimer','splice','_listenToOfflineEvent','switchMap','DEFAULT_FILE_NAME','CBC','_session','delete','ticket','_onRemoteRetry','_sessionStatus$','_disabled','listRoles','Tools','_cursor','NOT_FOUND','event$','complete','rxjs','ISnapshotServerService','requireSession','clearTimeout','csRejEvent','padding','restore','COLLAB_WEB_SOCKET_URL','_candidateSocket','SnapshotServerOverHTTPService','decrypt','_saveCache','LocalCacheService','black','FromArray','UNIVER_PROJECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','update','DesktopCollaborationStatusDisplayController','origin','_renderManagerService','permission.content','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','blockSize','useObservable','RegularPolygon','_tryReconnect','_submitChangeset','SetDocZoomRatioOperation','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/object','_transformHistoryAndStateStack','ERROR_EXCEED_SIZE','COMPRESS_MUTATION_SEND','handleInsertRangeMoveRight','_replayCachedMutations','UniverIcon','type','startColumn','readAsDataURL','getParam','_initUnitPermissionChange','_entityInit$','getTime','displayName','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','transformIMECache','@univerjs/docs-ui','_unlockTransition','collaboration-session-retry','APPLY_REJECT','children','TOO_MANY_REQUESTS','xlink:href','collab-text-range-','onRemoteChangeset','_substituteRedoStack','tag','getWorkbookSelections','onPointerMove$','UniverEngineFormula','ENSURE_SNAPSHOT_EXECUTION','collaboratorID','_assignedColors','_change$','withCredentials','COMPLETION_FINISHED','state$','now','startsWith','UniverDocsUi','_substituteUndoStack','/new_changes','set','fillText','MergeInterceptorFactory','findNodePositionByCharIndex','UniverNetworkPlugin','_initDependencies','_iKey','_socket','Unknown\x20user','getCurrentUnitForType','_docTransformStateCacheService','toggleOffline','[SyncedState]:\x20received\x20acknowledgement.','_messageService','UniverCollaborationClientPlugin','_timeoutTimer','_logService','\x20-\x20','_textBubble','backgroundColor','debounce','pipe','&to=','conflict.content','url(#on-line-single_clip0_910_349)','createInstance','unit-cache-','_hover','saveOfflineData','_doFinalize','_unitOnClients','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','makeDirty','_onJoinRoomEvent','isTransformMutationsWithChangesetSuccess','round','_render','UNIVER_DOC','COMMENT_UPDATE','memberID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','code','_state$','rxjs/operators','_revisionService','_startTelemetryCollaborationNewChangeset','react.element','SerializableCipher','image/png','_collabCursorState$','setTimeout','_transformUndoredo','@univerjs/sheets-ui','createEncryptor','prototype','_getCurrentRevision','registerDependencies','_createSocketURL','_onConflict','put','_updateState','CollaborationSocketService','_clearScheduledTask','toDisposable','toStringTag','RefRangeService','collabStatus.notCollab','_removeRoom','editingUnit','_userManagerService','unload','Base','_instanceService','on-line-single','objectType','CommandType','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_localCacheService','shareReplay','RECT','COLORS','_online','IURLService','_keySchedule','_ws','toggleOnline','_onCursorUpdate','ERROR_IMAGE','snapshot','_http','getVpScrollXYInfoByPosToVp','@univerjs/docs','unitId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','updateMember','takeUntil','UUID','SetWorksheetActivateCommand','state','fromEventSubject','SheetPermissionInitController','JOIN','getLatestCsReqIdBySid','Undefined','cmd','collaborators','labelPosition','_color','hovered','NodePositionConvertToCursor','_createSocket','path','@univerjs/drawing','permission.title','combineLatest','collab-client.tooltip.reconnect','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_tryEnsureSocket','confirm','getItem','_iv','sendChangesetTimeout','DocSelectionManagerService','getResourcesRequest','_keyPriorReset','[OfflineState]:\x20received\x20changeset.','_syncEditingCollabCursor','undoState','image/bmp','ceil','\x0aCurrent:\x20','doc.mutation.rich-text-editing','TEXT','APPLY_DUPLICATED','_rescheduleHeartbeat','onRemoteAck','size','_lastPointer','red300','collaboration_new_changeset','_updateStatus','getTypeOfUnitDisposed$','setWaitCount','deserializeRangeWithSheet','clearInterval','MSG_FOR_ERROR','_collabCursorController','exports','_xformMode','onCommandExecuted','assignAColorForMemberID','onMouseMove','parseChangesetToProtocol','_resendTimeout','fetch_missing','getValue','_selfUnitIDs','IBeforeCloseService','readInt32LE','HTTPRequest','pending','getMergeData','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','asObservable','sid','WebSocketService','UniverNetwork','_drawTextRange','pad','ITransformService','getOwnPropertyDescriptor','copyFileMeta','removeMember','roomInfos','max','_map','RichTextEditingMutation','_changesetSessionId','top','_HTTPService','_getAnchorBounding','[FetchMissState]','_ENC_XFORM_MODE','772zIjtzE','React','params','registerOnClose','_hideTimer','_univerInstanceService','CollaborationEvent','_unitID','handleInsertRangeMoveDown','AWAITING','_scheduleHeartbeat','YUUMI_URL_COL_OUT_OF_RANGE','/universer-api/user/session-ticket','isActive','[CollaborationSession]','_transformStateCache','[DataLoaderController]','clipPath','changesets','_undoRedoService','finalize','sessionStatus','react','SUBMIT_CHANGESET','_onMessage','updateOfflineData','getTypeOfUnitAdded$','_retryCount','onlineStatusIcon','Injector','MD5','commentUpdateEvent','_unitStatus','ICommandService','updatePermissionPoint','collabStatus.fetchMiss','collabStatus.conflict','UnitEmbedded','_startCollaboration','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_themeService','getUndoRedoMutationParamsCache','DOC_RANGE_TYPE','_clearHeartbeatTimer','_loadSheet','message$','url','/block/','UNKNOWN_CODE','[CollaborationUndoRedoService]','StreamCipher','engine','hasOwnProperty','Decryptor','SHOULD_CLOSE_CONN','exhaustSavingTask','_doCryptBlock','data','APPLY_REVISION_CONFILICT','msCrypto','uploadFileServerUrl','LOCAL_CACHE_INTERVAL_KEY','b64DecodeUnicode','VIEW_MAIN','_onRecvEvent','forEach','_status$','/unit/','onTransformRemoteChangesetByIMECache','length','setActiveRange','RevisionService','reqId','_lockTransition','_resendWithTimeout','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_registerRenderDependencies','collaboration-client.offline-data-not-saved','infoRsp','[CollaborationSessionService]','_removeClearOtherTimer','EffectRefRangId','socket\x20close','_docSkeleton','HttpImport','_urlService','IConfigService','DependentOn','UniverDocs','beginPath','not_collab','react.fragment','HEADER_MENU','Error','_replaceFileID','_handleEvent','column','SNAPSHOT_HAS_BEEN_REMOVED','_initMergeInterceptor','RemoveRowCommandId','onMissedChangesetFetched','disposeUnit','isPermissionRej','svg','fill','UniverSheetsUi','CipherParams','UNAUTHENTICATED','randomBytes','filter','_eventUnsubscribe','newCsEvent','key','ThresholdInterceptorFactory','_scheduleCollaborationTimeoutTimer','_updateLocalCache','subscribe','getActiveSheet','roomMembers','pauseCollaboration','replaceDocRanges','ReactCurrentOwner','hide','transformSelections','concat','icon','FETCH_MISSING','objectID','JOIN_ROOM_NOT_ALLOWED','searchParams','entries','univer-online','_data','colorChannel1','getCollabEntity','_handleHeartbeatEvent','join','_roomMembers$','YUUMI_UNABLE_LOAD_URL','323301OQLNwA','[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.','SUCCUSS','OnLineSingle','getUnit','/collaborator','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','registerComponent','_getSheetObject','onSendChangeset','@univerjs/sheets','CompressMutationService','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_injector','IPermissionService','synced','SNAPSHOT_INVALID_SNAPSHOT','Hasher','ivSize','x-univer-host','_transformService','get','getCollabCursors$','defaultProps','_hasher','NOT_COLLAB','getFocusedUnit','LICENSE_DISTRO_REJECTED','onTransformChange$','sheetID','visibilitychange','find','_getDownloadEndpointURL','HMAC','SessionStatus','init','HEARTBEAT_INTERVAL','LIVESHARE_TERMINATE','setStateCache','sessionTicket','error$','SetTextSelectionsOperation','session','getInterceptPoints','_clearOtherTimers','_name','IUndoRedoService','SNAPSHOT_SERVER_URL_KEY','permissionRejEvent','Rect','m2Prime','onTransformState','collaMsg','reject','_updateCollabCursors','BlockCipherMode','baseRev','parse','verdancy600','save','LocaleService','updatePermissionObjEvent','_refreshCollabCursors','hidden','function','BufferedBlockAlgorithm','method','transformUndoRedo','reset','onTransformSelections','_syncEditingCollabCursorService','fetchThroughInterceptors','_colorIndex','keySize','Latin1','DocIMEInputManagerService','dispose$','offline','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_socketReady','_doReset','_removeCollabCursors','_collaborationTimeoutTimer','_acknowledgedAwaitingChangeset','6353040AuqoYv','byteOffset'];_0x18cd=function(){return _0x22a4bc;};return _0x18cd();}function _0x5a32(_0x1d5c53,_0x2cc919){const _0x18cdd9=_0x18cd();return _0x5a32=function(_0x5a323e,_0x25b290){_0x5a323e=_0x5a323e-0x1f3;let _0x1acad0=_0x18cdd9[_0x5a323e];return _0x1acad0;},_0x5a32(_0x1d5c53,_0x2cc919);}(function(_0x46f2ee,_0x5cd45b){const _0x268bae=_0x5a32,_0x19d6ea=_0x46f2ee();while(!![]){try{const _0x4a2c85=parseInt(_0x268bae(0x500))/0x1+parseInt(_0x268bae(0x475))/0x2*(parseInt(_0x268bae(0x272))/0x3)+-parseInt(_0x268bae(0x2d2))/0x4*(-parseInt(_0x268bae(0x64c))/0x5)+parseInt(_0x268bae(0x2b1))/0x6*(-parseInt(_0x268bae(0x204))/0x7)+parseInt(_0x268bae(0x554))/0x8+parseInt(_0x268bae(0x6aa))/0x9*(-parseInt(_0x268bae(0x6c6))/0xa)+parseInt(_0x268bae(0x240))/0xb;if(_0x4a2c85===_0x5cd45b)break;else _0x19d6ea['push'](_0x19d6ea['shift']());}catch(_0x9f2fbf){_0x19d6ea['push'](_0x19d6ea['shift']());}}}(_0x18cd,0x70f41),function(_0x59cfca,_0x42118e){const _0xad0ebf=_0x5a32;typeof exports==_0xad0ebf(0x216)&&typeof module<'u'?_0x42118e(exports,require(_0xad0ebf(0x5ca)),require(_0xad0ebf(0x375)),require(_0xad0ebf(0x3e9)),require(_0xad0ebf(0x65f)),require(_0xad0ebf(0x5af)),require(_0xad0ebf(0x22b)),require('@univerjs-pro/collaboration'),require('@univerjs/telemetry'),require(_0xad0ebf(0x3a4)),require(_0xad0ebf(0x50a)),require(_0xad0ebf(0x252)),require(_0xad0ebf(0x419)),require(_0xad0ebf(0x42e)),require(_0xad0ebf(0x609)),require(_0xad0ebf(0x3f2)),require(_0xad0ebf(0x48b)),require(_0xad0ebf(0x32d))):typeof define==_0xad0ebf(0x540)&&define['amd']?define(['exports',_0xad0ebf(0x5ca),'rxjs',_0xad0ebf(0x3e9),_0xad0ebf(0x65f),_0xad0ebf(0x5af),_0xad0ebf(0x22b),_0xad0ebf(0x2d0),_0xad0ebf(0x5a0),_0xad0ebf(0x3a4),_0xad0ebf(0x50a),'@univerjs/engine-render','@univerjs/docs','@univerjs/drawing','@univerjs/engine-formula',_0xad0ebf(0x3f2),'react',_0xad0ebf(0x32d)],_0x42118e):(_0x59cfca=typeof globalThis<'u'?globalThis:_0x59cfca||self,_0x42118e(_0x59cfca['UniverProCollaborationClient']={},_0x59cfca['UniverCore'],_0x59cfca['rxjs'],_0x59cfca[_0xad0ebf(0x375)]['operators'],_0x59cfca[_0xad0ebf(0x221)],_0x59cfca[_0xad0ebf(0x464)],_0x59cfca[_0xad0ebf(0x348)],_0x59cfca['UniverProCollaboration'],_0x59cfca['UniverTelemetry'],_0x59cfca[_0xad0ebf(0x3bb)],_0x59cfca[_0xad0ebf(0x607)],_0x59cfca['UniverEngineRender'],_0x59cfca[_0xad0ebf(0x4cd)],_0x59cfca[_0xad0ebf(0x2c6)],_0x59cfca[_0xad0ebf(0x3b1)],_0x59cfca[_0xad0ebf(0x4de)],_0x59cfca[_0xad0ebf(0x476)],_0x59cfca[_0xad0ebf(0x5ee)]));}(this,function(_0x5545bf,_0x4f08d1,_0x2b43af,_0x2a573e,_0x3c040d,_0x413477,_0x3f3b0b,_0x1b0275,_0x2eb416,_0x5626ef,_0x5acd2f,_0x1a2a90,_0x119b0c,_0xbade8d,_0x1dd931,_0x27f6cb,_0x21525c,_0x1df5e2){'use strict';const _0x399f16=_0x5a32;var _0x1f165c=Object[_0x399f16(0x30f)],_0x12ff0c=(_0x30d9f1,_0x110e30,_0xb4351)=>_0x110e30 in _0x30d9f1?_0x1f165c(_0x30d9f1,_0x110e30,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb4351}):_0x30d9f1[_0x110e30]=_0xb4351,_0x4185c3=(_0x1ca179,_0x20dbe2,_0x392a54)=>_0x12ff0c(_0x1ca179,typeof _0x20dbe2!=_0x399f16(0x67f)?_0x20dbe2+'':_0x20dbe2,_0x392a54);const _0x5307e6='SNAPSHOT_SERVER_URL_KEY',_0x3e7155=_0x399f16(0x2a0),_0x2fd39e=_0x399f16(0x566),_0x48d499=_0x399f16(0x5f1),_0x2f81c7=_0x399f16(0x37c),_0x4d65fc=_0x399f16(0x214),_0x482d95=_0x399f16(0x481),_0x26b1ca=_0x399f16(0x524),_0xd16f83='HEARTBEAT_TIMEOUT',_0x2dcaea=_0x399f16(0x343),_0x103d1f='LOCAL_CACHE_INTERVAL',_0x54c124=_0x399f16(0x5a3),_0x173d72=_0x399f16(0x281),_0xc1b4f2=_0x399f16(0x280),_0x2028b4='/universer-api/oidc/authpage';var _0x119e3c=(_0x2f056e=>(_0x2f056e[_0x2f056e[_0x399f16(0x264)]=0x0]=_0x399f16(0x264),_0x2f056e[_0x2f056e['OK']=0x1]='OK',_0x2f056e[_0x2f056e['INTERNAL_ERROR']=0x2]=_0x399f16(0x640),_0x2f056e[_0x2f056e[_0x399f16(0x59e)]=0x3]=_0x399f16(0x59e),_0x2f056e[_0x2f056e[_0x399f16(0x372)]=0x4]=_0x399f16(0x372),_0x2f056e[_0x2f056e[_0x399f16(0x4e0)]=0x5]=_0x399f16(0x4e0),_0x2f056e[_0x2f056e['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x2f056e[_0x2f056e['INVALID_ARGUMENT']=0x7]=_0x399f16(0x569),_0x2f056e[_0x2f056e[_0x399f16(0x3a9)]=0x8]=_0x399f16(0x3a9),_0x2f056e[_0x2f056e[_0x399f16(0x3b7)]=0x9]=_0x399f16(0x3b7),_0x2f056e[_0x2f056e[_0x399f16(0x602)]=0x1389]=_0x399f16(0x602),_0x2f056e[_0x2f056e[_0x399f16(0x510)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2f056e[_0x2f056e[_0x399f16(0x4d6)]=0x1772]=_0x399f16(0x4d6),_0x2f056e[_0x2f056e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x399f16(0x3b2),_0x2f056e[_0x2f056e[_0x399f16(0x3a7)]=0x1b59]='APPLY_REJECT',_0x2f056e[_0x2f056e[_0x399f16(0x211)]=0x1b5a]=_0x399f16(0x211),_0x2f056e[_0x2f056e[_0x399f16(0x4af)]=0x1b5b]=_0x399f16(0x4af),_0x2f056e[_0x2f056e[_0x399f16(0x580)]=0x1b5c]=_0x399f16(0x580),_0x2f056e[_0x2f056e['APPLY_DUPLICATED']=0x1b5d]=_0x399f16(0x443),_0x2f056e[_0x2f056e['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2f056e[_0x2f056e[_0x399f16(0x267)]=0x2329]=_0x399f16(0x267),_0x2f056e[_0x2f056e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x399f16(0x225),_0x2f056e[_0x2f056e[_0x399f16(0x2ad)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2f056e[_0x2f056e[_0x399f16(0x570)]=0x232c]=_0x399f16(0x570),_0x2f056e[_0x2f056e[_0x399f16(0x51b)]=0x232d]=_0x399f16(0x51b),_0x2f056e[_0x2f056e[_0x399f16(0x4ff)]=0x2711]=_0x399f16(0x4ff),_0x2f056e[_0x2f056e[_0x399f16(0x480)]=0x2712]=_0x399f16(0x480),_0x2f056e[_0x2f056e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x399f16(0x69e),_0x2f056e[_0x2f056e[_0x399f16(0x57e)]=0x2714]=_0x399f16(0x57e),_0x2f056e[_0x2f056e[_0x399f16(0x23a)]=-0x1]=_0x399f16(0x23a),_0x2f056e))(_0x119e3c||{}),_0x478433=(_0x528640=>(_0x528640[_0x528640[_0x399f16(0x20e)]=0x0]=_0x399f16(0x20e),_0x528640[_0x528640['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x528640[_0x528640[_0x399f16(0x1f3)]=0x2]=_0x399f16(0x1f3),_0x528640[_0x528640['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x528640[_0x528640[_0x399f16(0x384)]=0x4]=_0x399f16(0x384),_0x528640[_0x528640[_0x399f16(0x23a)]=-0x1]='UNRECOGNIZED',_0x528640))(_0x478433||{}),_0x26da26=(_0x2ce722=>(_0x2ce722[_0x2ce722[_0x399f16(0x670)]=0x0]=_0x399f16(0x670),_0x2ce722[_0x2ce722[_0x399f16(0x600)]=0x1]=_0x399f16(0x600),_0x2ce722[_0x2ce722[_0x399f16(0x423)]=0x2]='JOIN',_0x2ce722[_0x2ce722[_0x399f16(0x65e)]=0x3]=_0x399f16(0x65e),_0x2ce722[_0x2ce722[_0x399f16(0x5b3)]=0x4]=_0x399f16(0x5b3),_0x2ce722[_0x2ce722[_0x399f16(0x578)]=0x5]=_0x399f16(0x578),_0x2ce722[_0x2ce722[_0x399f16(0x577)]=0x6]=_0x399f16(0x577),_0x2ce722[_0x2ce722[_0x399f16(0x23a)]=-0x1]=_0x399f16(0x23a),_0x2ce722))(_0x26da26||{}),_0x315c34=(_0x2e61c7=>(_0x2e61c7[_0x2e61c7[_0x399f16(0x4a5)]=0x0]='UNKNOWN_CODE',_0x2e61c7[_0x2e61c7['OK']=0x1]='OK',_0x2e61c7[_0x2e61c7[_0x399f16(0x2af)]=0x2]=_0x399f16(0x2af),_0x2e61c7[_0x2e61c7['JOIN_ROOM_FULL']=0x3e9]=_0x399f16(0x34f),_0x2e61c7[_0x2e61c7[_0x399f16(0x4f5)]=0x3ea]=_0x399f16(0x4f5),_0x2e61c7[_0x2e61c7['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2e61c7))(_0x315c34||{}),_0x1c077a=(_0x58f64d=>(_0x58f64d[_0x58f64d['Undefined']=0x0]=_0x399f16(0x425),_0x58f64d[_0x58f64d[_0x399f16(0x4c9)]=0x1]=_0x399f16(0x4c9),_0x58f64d[_0x58f64d[_0x399f16(0x2eb)]=0x2]=_0x399f16(0x2eb),_0x58f64d[_0x58f64d[_0x399f16(0x49a)]=0x3]=_0x399f16(0x49a),_0x58f64d[_0x58f64d[_0x399f16(0x31f)]=0x4]=_0x399f16(0x31f),_0x58f64d[_0x58f64d[_0x399f16(0x23a)]=-0x1]=_0x399f16(0x23a),_0x58f64d))(_0x1c077a||{});const _0x2db08d=_0x399f16(0x5c6),_0x152464={};function _0xb199e1(_0x4ddaaa){const _0x3dbb1d=_0x399f16;var _0x27e178,_0x4710cc,_0x58f51c,_0x5d5465,_0x3cd0a3;const _0x54f2fa=_0x4ddaaa[_0x3dbb1d(0x4ae)],_0xae4b74=JSON[_0x3dbb1d(0x539)](_0x54f2fa);switch(_0xae4b74['cmd']){case _0x26da26[_0x3dbb1d(0x578)]:case _0x26da26[_0x3dbb1d(0x600)]:{const _0x30557d=_0xae4b74[_0x3dbb1d(0x4c3)];return{..._0xae4b74,'data':_0x30557d,'cmd':_0xae4b74['cmd']};}case _0x26da26['JOIN']:{const _0x502256=_0xae4b74[_0x3dbb1d(0x2da)];return{..._0xae4b74,'data':_0x502256,'cmd':_0xae4b74[_0x3dbb1d(0x426)]};}case _0x26da26[_0x3dbb1d(0x577)]:{const _0x92206=_0xae4b74[_0x3dbb1d(0x534)];switch(_0x92206['eventID']){case _0x1b0275[_0x3dbb1d(0x47b)][_0x3dbb1d(0x345)]:return{..._0xae4b74,'data':{..._0x92206,'data':(_0x27e178=_0x92206[_0x3dbb1d(0x530)])==null?void 0x0:_0x27e178['cs']},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275['CollaborationEvent'][_0x3dbb1d(0x350)]:return{..._0xae4b74,'data':{..._0x92206,'data':(_0x4710cc=_0x92206['csAckEvent'])==null?void 0x0:_0x4710cc['cs']},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275[_0x3dbb1d(0x47b)]['NEW_CHANGESETS']:return{..._0xae4b74,'data':{..._0x92206,'data':(_0x58f51c=_0x92206[_0x3dbb1d(0x4e4)])==null?void 0x0:_0x58f51c['cs']},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275[_0x3dbb1d(0x47b)][_0x3dbb1d(0x20d)]:return{..._0xae4b74,'data':{..._0x92206,'data':(_0x5d5465=_0x92206[_0x3dbb1d(0x379)])==null?void 0x0:_0x5d5465['cs']},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275[_0x3dbb1d(0x47b)][_0x3dbb1d(0x310)]:return{..._0xae4b74,'data':{..._0x92206,'data':(_0x3cd0a3=_0x92206['csShouldRetryEvent'])==null?void 0x0:_0x3cd0a3['cs']},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275['CollaborationEvent'][_0x3dbb1d(0x63a)]:return{..._0xae4b74,'data':{..._0x92206,'data':_0x92206['updateCursorEvent']},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275[_0x3dbb1d(0x47b)][_0x3dbb1d(0x31b)]:return{..._0xae4b74,'data':{..._0x92206,'data':_0x92206[_0x3dbb1d(0x2ba)]},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275[_0x3dbb1d(0x47b)]['USERS_LEAVE']:return{..._0xae4b74,'data':{..._0x92206,'data':_0x92206['leaveEvent']},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0xae4b74,'data':{..._0x92206,'data':_0x92206['liveShareNewHost']},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275[_0x3dbb1d(0x47b)][_0x3dbb1d(0x283)]:case _0x1b0275[_0x3dbb1d(0x47b)][_0x3dbb1d(0x239)]:return{..._0xae4b74,'data':{..._0x92206,'data':_0x92206[_0x3dbb1d(0x699)]},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0xae4b74,'data':{..._0x92206,'data':_0x92206[_0x3dbb1d(0x59b)]},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275[_0x3dbb1d(0x47b)][_0x3dbb1d(0x44f)]:return{..._0xae4b74,'data':_0x92206,'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275[_0x3dbb1d(0x47b)][_0x3dbb1d(0x3e4)]:return{..._0xae4b74,'data':{..._0x92206,'data':_0x92206[_0x3dbb1d(0x494)]},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275['CollaborationEvent'][_0x3dbb1d(0x2a5)]:return{..._0xae4b74,'data':{..._0x92206,'data':_0x92206[_0x3dbb1d(0x53d)]},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};case _0x1b0275[_0x3dbb1d(0x47b)]['SHOULD_CLOSE_CONN']:return{..._0xae4b74,'data':{..._0x92206,'data':_0x92206[_0x3dbb1d(0x56e)]},'cmd':_0xae4b74[_0x3dbb1d(0x426)]};default:return _0xae4b74;}}default:return _0xae4b74;}}function _0x3ae1e0(_0x24ef20){const _0xf24a8=_0x399f16;switch(_0x24ef20['cmd']){case _0x26da26[_0xf24a8(0x578)]:case _0x26da26[_0xf24a8(0x600)]:return JSON['stringify']({'cmd':_0x24ef20[_0xf24a8(0x426)],'routeKey':_0x24ef20[_0xf24a8(0x2c3)]});case _0x26da26['INGEST']:{let _0x28340a;switch(_0x24ef20[_0xf24a8(0x4ae)]['eventID']){case _0x1b0275[_0xf24a8(0x47b)][_0xf24a8(0x63a)]:{_0x28340a={'eventID':_0x1b0275[_0xf24a8(0x47b)][_0xf24a8(0x63a)],'updateCursorEvent':_0x24ef20[_0xf24a8(0x4ae)]['data']};break;}case _0x1b0275[_0xf24a8(0x47b)][_0xf24a8(0x5a1)]:{_0x28340a={'eventID':_0x1b0275['CollaborationEvent'][_0xf24a8(0x5a1)],'leaveEvent':_0x24ef20['data'][_0xf24a8(0x4ae)]};break;}case _0x1b0275[_0xf24a8(0x47b)][_0xf24a8(0x31b)]:{_0x28340a={'eventID':_0x1b0275['CollaborationEvent'][_0xf24a8(0x31b)],'joinEvent':_0x24ef20['data']['data']};break;}case _0x1b0275[_0xf24a8(0x47b)]['LIVESHARE_NEW_HOST']:{_0x28340a={'eventID':_0x1b0275[_0xf24a8(0x47b)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x24ef20[_0xf24a8(0x4ae)][_0xf24a8(0x4ae)]};break;}case _0x1b0275[_0xf24a8(0x47b)][_0xf24a8(0x239)]:{_0x28340a={'eventID':_0x1b0275[_0xf24a8(0x47b)][_0xf24a8(0x239)],'liveShareOperation':_0x24ef20['data'][_0xf24a8(0x4ae)]};break;}case _0x1b0275[_0xf24a8(0x47b)]['LIVESHARE_TERMINATE']:{_0x28340a={'eventID':_0x1b0275['CollaborationEvent'][_0xf24a8(0x525)],'liveShareTerminate':_0x24ef20[_0xf24a8(0x4ae)]['data']};break;}case _0x1b0275[_0xf24a8(0x47b)][_0xf24a8(0x698)]:{_0x28340a={'eventID':_0x1b0275['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x24ef20[_0xf24a8(0x4ae)][_0xf24a8(0x4ae)]};break;}case _0x1b0275[_0xf24a8(0x47b)][_0xf24a8(0x283)]:{_0x28340a={'eventID':_0x1b0275[_0xf24a8(0x47b)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x28340a={'eventID':_0x24ef20[_0xf24a8(0x4ae)]['eventID']};}return JSON[_0xf24a8(0x2a1)]({'cmd':_0x24ef20['cmd'],'routeKey':_0x24ef20['routeKey'],'collaMsg':_0x28340a});}case _0x26da26[_0xf24a8(0x423)]:return JSON[_0xf24a8(0x2a1)]({'cmd':_0x24ef20['cmd'],'routeKey':_0x24ef20[_0xf24a8(0x2c3)],'joinReq':_0x24ef20[_0xf24a8(0x4ae)]});case _0x26da26[_0xf24a8(0x65e)]:return JSON[_0xf24a8(0x2a1)]({'cmd':_0x24ef20['cmd'],'routeKey':_0x24ef20[_0xf24a8(0x2c3)],'leaveReq':_0x24ef20[_0xf24a8(0x4ae)]});default:throw new Error(_0xf24a8(0x506));}}var _0xe56bf=Object[_0x399f16(0x30f)],_0x5217cd=Object[_0x399f16(0x468)],_0x538750=(_0x2ad324,_0xe19f2b,_0x3d411a,_0x7e4b5c)=>{const _0x108a2f=_0x399f16;for(var _0x5995ef=_0x7e4b5c>0x1?void 0x0:_0x7e4b5c?_0x5217cd(_0xe19f2b,_0x3d411a):_0xe19f2b,_0x140841=_0x2ad324[_0x108a2f(0x4ba)]-0x1,_0x11c8ef;_0x140841>=0x0;_0x140841--)(_0x11c8ef=_0x2ad324[_0x140841])&&(_0x5995ef=(_0x7e4b5c?_0x11c8ef(_0xe19f2b,_0x3d411a,_0x5995ef):_0x11c8ef(_0x5995ef))||_0x5995ef);return _0x7e4b5c&&_0x5995ef&&_0xe56bf(_0xe19f2b,_0x3d411a,_0x5995ef),_0x5995ef;},_0x263cdc=(_0x50373b,_0x15e203)=>(_0xf9fb2f,_0x24e7a9)=>_0x15e203(_0xf9fb2f,_0x24e7a9,_0x50373b);const _0x5c61a9=_0x4f08d1[_0x399f16(0x58a)]('univer-pro.collaboration-client-socket-service');function _0x44c998(_0x14523a,_0x4dbe63,_0x491639){const _0x86304a=_0x399f16;return _0x14523a+'/'+_0x4dbe63+_0x86304a(0x4b8)+_0x491639+_0x86304a(0x3bd);}_0x5545bf[_0x399f16(0x3fb)]=class extends _0x4f08d1[_0x399f16(0x5a2)]{constructor(_0x50e942,_0x525fb0,_0x2f0c57,_0x4ba15b,_0x29f643){const _0x1b64b5=_0x399f16;super(),this[_0x1b64b5(0x417)]=_0x50e942,this[_0x1b64b5(0x412)]=_0x525fb0,this[_0x1b64b5(0x286)]=_0x2f0c57,this['_logService']=_0x4ba15b,this[_0x1b64b5(0x24f)]=_0x29f643;}[_0x399f16(0x274)](_0x219f6a){const _0x55acfa=_0x399f16,_0x1b3977=this[_0x55acfa(0x412)][_0x55acfa(0x274)](_0x219f6a);if(!_0x1b3977)throw new Error(_0x55acfa(0x292));const _0x2f1d08=new _0x4f08d1[(_0x55acfa(0x6af))](),_0x2dc1b5=new _0x2b43af[(_0x55acfa(0x6c5))]();_0x2f1d08[_0x55acfa(0x666)](_0x1b3977[_0x55acfa(0x662)][_0x55acfa(0x4e9)](_0x392fae=>_0x2dc1b5[_0x55acfa(0x683)](_0x392fae))),_0x2f1d08[_0x55acfa(0x666)](_0x4f08d1[_0x55acfa(0x3fd)](()=>_0x2dc1b5[_0x55acfa(0x374)]()));const _0x3251a4=new _0x2b43af[(_0x55acfa(0x6c5))]();_0x2f1d08['add'](_0x1b3977[_0x55acfa(0x528)][_0x55acfa(0x4e9)](_0x3103be=>_0x3251a4[_0x55acfa(0x683)](_0x3103be))),_0x2f1d08['add'](_0x4f08d1['toDisposable'](()=>_0x3251a4[_0x55acfa(0x374)]()));const _0x55d009=new _0x2b43af[(_0x55acfa(0x6c5))]();_0x2f1d08[_0x55acfa(0x666)](_0x1b3977['message$'][_0x55acfa(0x4e9)](_0x4c8d48=>{const _0x2efe44=_0x55acfa,_0xf0797a=_0xb199e1(_0x4c8d48);_0x55d009[_0x2efe44(0x683)](_0xf0797a);})),_0x2f1d08[_0x55acfa(0x666)](_0x4f08d1[_0x55acfa(0x3fd)](()=>_0x55d009['complete']()));let _0xcad74;const _0x1b9c62=()=>{const _0x5e89b5=_0x55acfa;_0x3251a4[_0x5e89b5(0x683)](new Event(_0x5e89b5(0x234))),_0x2dc1b5[_0x5e89b5(0x683)](new CloseEvent(_0x5e89b5(0x234))),_0xcad74[_0x5e89b5(0x236)]();};return _0xcad74={'memberID':'','close$':_0x2dc1b5[_0x55acfa(0x461)](),'error$':_0x3251a4[_0x55acfa(0x461)](),'open$':_0x1b3977[_0x55acfa(0x63d)],'message$':_0x55d009[_0x55acfa(0x461)](),'send':_0x54c74b=>{const _0x17c7c7=_0x55acfa;if(_0x54c74b[_0x17c7c7(0x426)]===_0x26da26[_0x17c7c7(0x5b3)]){if(_0x54c74b[_0x17c7c7(0x4ae)][_0x17c7c7(0x6cb)]===_0x1b0275[_0x17c7c7(0x47b)][_0x17c7c7(0x48c)]){this[_0x17c7c7(0x390)](_0xcad74,_0x54c74b[_0x17c7c7(0x4ae)])[_0x17c7c7(0x2ab)](_0xa3cce0=>{const _0x4dca69=_0x17c7c7;this[_0x4dca69(0x3ce)][_0x4dca69(0x5d4)](_0xa3cce0),_0x1b9c62();});return;}if(_0x54c74b[_0x17c7c7(0x4ae)][_0x17c7c7(0x6cb)]===_0x1b0275['CollaborationEvent'][_0x17c7c7(0x4f3)]){const _0x191028=_0x54c74b[_0x17c7c7(0x4ae)];this['_fetchMissChangesets'](_0x191028)[_0x17c7c7(0x2a6)](_0x279f6f=>{const _0x534f04=_0x17c7c7;_0x55d009['next']({'cmd':_0x26da26[_0x534f04(0x577)],'code':_0x315c34['OK'],'routeKey':_0x191028[_0x534f04(0x4ae)][_0x534f04(0x5dd)],'routeType':'','data':{'eventID':_0x1b0275['CollaborationEvent'][_0x534f04(0x601)],'data':{'changesets':_0x279f6f}}});})['catch'](_0x58f278=>{const _0x48c1e8=_0x17c7c7;this[_0x48c1e8(0x3ce)][_0x48c1e8(0x5d4)](_0x58f278),_0x1b9c62();});return;}}_0x1b3977[_0x17c7c7(0x227)](_0x3ae1e0(_0x54c74b));},'close':()=>{const _0x29e66c=_0x55acfa;_0x1b3977['close'](),_0x2f1d08[_0x29e66c(0x5cf)]();}},_0xcad74;}async[_0x399f16(0x390)](_0x5ddce6,_0x34f9bb){const _0x543e0b=_0x399f16;var _0x47eee5,_0x2c6ea3;const {unitType:_0x1ea445,unitID:_0x1eed99,changeset:_0xa9ac5d}=_0x34f9bb[_0x543e0b(0x4ae)],_0x5b3834={'unitID':_0x1eed99,'memberID':_0x5ddce6[_0x543e0b(0x3e5)],'type':_0x1ea445,'changeset':_0x1b0275[_0x543e0b(0x456)](_0xa9ac5d)},_0x34a2ad=this[_0x543e0b(0x286)][_0x543e0b(0x22e)](_0x54c124),_0x3594d8=this[_0x543e0b(0x286)][_0x543e0b(0x22e)](_0x2db08d),_0x37e75b=_0x44c998((_0x2c6ea3=(_0x47eee5=_0x3594d8==null?void 0x0:_0x3594d8[_0x543e0b(0x680)])!=null?_0x47eee5:_0x34a2ad)!=null?_0x2c6ea3:_0x173d72,_0x1ea445,_0x1eed99);try{await this[_0x543e0b(0x417)][_0x543e0b(0x2b6)](_0x37e75b,{'body':_0x5b3834});}catch(_0x2123c2){throw this['_logService'][_0x543e0b(0x5d4)](_0x543e0b(0x483),'submit\x20changeset\x20error!'),_0x2123c2;}}async[_0x399f16(0x647)](_0x4d7979){const _0x41dc02=_0x399f16,{unitID:_0x599d84,from:_0x5276ae,to:_0x33ed2a,unitType:_0x46a504}=_0x4d7979[_0x41dc02(0x4ae)];return(await this[_0x41dc02(0x24f)][_0x41dc02(0x29a)]({'metadata':void 0x0},{'unitID':_0x599d84,'type':_0x46a504,'from':_0x5276ae,'to':_0x33ed2a}))[_0x41dc02(0x487)];}},_0x5545bf[_0x399f16(0x3fb)]=_0x538750([_0x263cdc(0x0,_0x4f08d1[_0x399f16(0x6b5)](_0x413477['HTTPService'])),_0x263cdc(0x1,_0x4f08d1[_0x399f16(0x6b5)](_0x413477[_0x399f16(0x463)])),_0x263cdc(0x2,_0x4f08d1[_0x399f16(0x4cb)]),_0x263cdc(0x3,_0x4f08d1[_0x399f16(0x668)]),_0x263cdc(0x4,_0x1b0275['ISnapshotServerService'])],_0x5545bf[_0x399f16(0x3fb)]);const _0x1852ff=_0x399f16(0x449);function _0x9574a5(_0x4f80d2){const _0x41c5fd=_0x399f16;return JSON[_0x41c5fd(0x2a1)](_0x4f80d2)['length'];}class _0x218354{constructor(){const _0x2ef660=_0x399f16;_0x4185c3(this,'_commentUpdate$',new _0x2b43af[(_0x2ef660(0x6c5))]()),_0x4185c3(this,'commentUpdate$',this['_commentUpdate$'][_0x2ef660(0x461)]());}['onCommentUpdate'](_0x5ec642){const _0x3c66d5=_0x399f16;this[_0x3c66d5(0x1f5)][_0x3c66d5(0x683)](_0x5ec642);}}var _0x2afcc0=Object[_0x399f16(0x30f)],_0x8bcd54=Object['getOwnPropertyDescriptor'],_0x4b34eb=(_0x4e6b83,_0x36b15f,_0x12c245,_0x22796c)=>{for(var _0xb8faf8=_0x22796c>0x1?void 0x0:_0x22796c?_0x8bcd54(_0x36b15f,_0x12c245):_0x36b15f,_0x5bbe52=_0x4e6b83['length']-0x1,_0x91077;_0x5bbe52>=0x0;_0x5bbe52--)(_0x91077=_0x4e6b83[_0x5bbe52])&&(_0xb8faf8=(_0x22796c?_0x91077(_0x36b15f,_0x12c245,_0xb8faf8):_0x91077(_0xb8faf8))||_0xb8faf8);return _0x22796c&&_0xb8faf8&&_0x2afcc0(_0x36b15f,_0x12c245,_0xb8faf8),_0xb8faf8;},_0x4b50b9=(_0x5bbdb8,_0x4d395a)=>(_0x30e8b0,_0x325fc1)=>_0x4d395a(_0x30e8b0,_0x325fc1,_0x5bbdb8);_0x5545bf[_0x399f16(0x6a7)]=class extends _0x4f08d1[_0x399f16(0x5a2)]{constructor(_0x5584dd,_0x2f1479){const _0x253cd0=_0x399f16;super(),_0x4185c3(this,_0x253cd0(0x5a9),new Map()),(this[_0x253cd0(0x47a)]=_0x5584dd,this[_0x253cd0(0x403)]=_0x2f1479,this[_0x253cd0(0x586)](_0x4f08d1['toDisposable'](_0x2b43af[_0x253cd0(0x21c)](this[_0x253cd0(0x47a)]['getTypeOfUnitDisposed$'](_0x4f08d1[_0x253cd0(0x632)]['UNIVER_SHEET'])[_0x253cd0(0x3d3)](_0x2a573e[_0x253cd0(0x5ea)](_0x971806=>_0x971806[_0x253cd0(0x2cb)]())),this[_0x253cd0(0x47a)]['getTypeOfUnitDisposed$'](_0x4f08d1['UniverInstanceType'][_0x253cd0(0x3e3)])[_0x253cd0(0x3d3)](_0x2a573e[_0x253cd0(0x5ea)](_0x56dd42=>_0x56dd42[_0x253cd0(0x2cb)]())),this['_univerInstanceService'][_0x253cd0(0x44b)](_0x4f08d1['UniverInstanceType']['UNIVER_SLIDE'])[_0x253cd0(0x3d3)](_0x2a573e[_0x253cd0(0x5ea)](_0x37ee01=>_0x37ee01[_0x253cd0(0x2cb)]())))[_0x253cd0(0x4e9)](_0x5852a7=>this['_removeRoom'](_0x5852a7)))));}[_0x399f16(0x588)](_0x35304d){const _0x1fec37=_0x399f16;this[_0x1fec37(0x403)]['setCurrentUser'](_0x35304d);}['getCurrentUser'](){const _0x76812f=_0x399f16;return this[_0x76812f(0x403)][_0x76812f(0x256)]();}[_0x399f16(0x41c)](_0x139fbd,_0xa66057){const _0x48b988=_0x399f16;let _0x428210=this['_roomMembers'][_0x48b988(0x515)](_0x139fbd);_0x428210||(_0x428210=new _0x219e7a(),this[_0x48b988(0x5a9)][_0x48b988(0x3be)](_0x139fbd,_0x428210)),_0x428210[_0x48b988(0x41c)](_0xa66057);}[_0x399f16(0x46a)](_0x3b19aa,_0x10d1b4){const _0xd5c660=_0x399f16,_0x55f2e6=this['_roomMembers'][_0xd5c660(0x515)](_0x3b19aa);_0x55f2e6&&_0x55f2e6[_0xd5c660(0x46a)](_0x10d1b4);}[_0x399f16(0x650)](_0xaca344){const _0x4b3e76=_0x399f16;return this[_0x4b3e76(0x5a9)][_0x4b3e76(0x515)](_0xaca344);}[_0x399f16(0x2f3)](_0x1bb01c,_0x2064ec){const _0xc052d3=_0x399f16,_0x1f0f2a=this[_0xc052d3(0x5a9)][_0xc052d3(0x515)](_0x1bb01c);if(_0x1f0f2a)return _0x1f0f2a[_0xc052d3(0x2f3)](_0x2064ec);}[_0x399f16(0x401)](_0x2765a0){const _0x47bcb0=_0x399f16,_0xb6f71e=this[_0x47bcb0(0x5a9)][_0x47bcb0(0x515)](_0x2765a0);_0xb6f71e&&(_0xb6f71e['dispose'](),this[_0x47bcb0(0x5a9)][_0x47bcb0(0x36a)](_0x2765a0));}[_0x399f16(0x5cf)](){const _0x317ea7=_0x399f16;this[_0x317ea7(0x5a9)]['forEach'](_0x4d3303=>_0x4d3303[_0x317ea7(0x5cf)]()),this[_0x317ea7(0x5a9)]['clear']();}},_0x5545bf['MemberService']=_0x4b34eb([_0x4b50b9(0x0,_0x4f08d1[_0x399f16(0x353)]),_0x4b50b9(0x1,_0x4f08d1['Inject'](_0x4f08d1[_0x399f16(0x2b8)]))],_0x5545bf[_0x399f16(0x6a7)]);class _0x219e7a extends _0x4f08d1[_0x399f16(0x5a2)]{constructor(){const _0x238b72=_0x399f16;super(...arguments),_0x4185c3(this,_0x238b72(0x5da),new Map());}[_0x399f16(0x5cf)](){const _0xb09be2=_0x399f16;this[_0xb09be2(0x5da)][_0xb09be2(0x687)]();}[_0x399f16(0x41c)](_0x3be6d8){const _0x4d0aaf=_0x399f16;this['_members'][_0x4d0aaf(0x3be)](_0x3be6d8[_0x4d0aaf(0x3e5)],_0x3be6d8);}[_0x399f16(0x46a)](_0x1341d4){const _0x4103d5=_0x399f16;this[_0x4103d5(0x5da)][_0x4103d5(0x36a)](_0x1341d4);}['getMember'](_0x1c26ef){const _0x418130=_0x399f16;return this['_members'][_0x418130(0x515)](_0x1c26ef);}[_0x399f16(0x6ad)](){const _0x52eafc=_0x399f16;return Array[_0x52eafc(0x29b)](this[_0x52eafc(0x5da)][_0x52eafc(0x30c)]());}}var _0x2b9985=Object[_0x399f16(0x30f)],_0x441e5d=Object[_0x399f16(0x468)],_0x37be43=(_0xd5bde6,_0x24e01e,_0x2cb558,_0x578418)=>{for(var _0x5f4b34=_0x578418>0x1?void 0x0:_0x578418?_0x441e5d(_0x24e01e,_0x2cb558):_0x24e01e,_0x345b0b=_0xd5bde6['length']-0x1,_0x36e516;_0x345b0b>=0x0;_0x345b0b--)(_0x36e516=_0xd5bde6[_0x345b0b])&&(_0x5f4b34=(_0x578418?_0x36e516(_0x24e01e,_0x2cb558,_0x5f4b34):_0x36e516(_0x5f4b34))||_0x5f4b34);return _0x578418&&_0x5f4b34&&_0x2b9985(_0x24e01e,_0x2cb558,_0x5f4b34),_0x5f4b34;},_0x1bfb30=(_0x14950b,_0x346159)=>(_0x3fb8a6,_0x44ce10)=>_0x346159(_0x3fb8a6,_0x44ce10,_0x14950b),_0xc16e44=(_0x1f78ff=>(_0x1f78ff[_0x1f78ff[_0x399f16(0x672)]=0x0]='IDLE',_0x1f78ff[_0x1f78ff[_0x399f16(0x355)]=0x1]=_0x399f16(0x355),_0x1f78ff[_0x1f78ff[_0x399f16(0x246)]=0x2]=_0x399f16(0x246),_0x1f78ff[_0x1f78ff[_0x399f16(0x5c4)]=0x3]='ONLINE',_0x1f78ff))(_0xc16e44||{});_0x5545bf[_0x399f16(0x665)]=class extends _0x4f08d1[_0x399f16(0x63e)]{constructor(_0x5640e4,_0x2d3cea,_0x11c0cf,_0x267f3e,_0x3a62c4,_0x2f2d0c,_0x9e4ab2,_0x23cab9,_0x3394d7,_0x96e0d2){const _0x42220e=_0x399f16;super(),_0x4185c3(this,_0x42220e(0x36d),new _0x2b43af['BehaviorSubject'](0x0)),_0x4185c3(this,_0x42220e(0x2cc),this['_sessionStatus$'][_0x42220e(0x461)]()),_0x4185c3(this,_0x42220e(0x5d2),new _0x2b43af[(_0x42220e(0x6c5))]()),_0x4185c3(this,_0x42220e(0x373),this[_0x42220e(0x5d2)][_0x42220e(0x461)]()),_0x4185c3(this,'_socket'),_0x4185c3(this,_0x42220e(0x64a)),_0x4185c3(this,_0x42220e(0x552)),_0x4185c3(this,_0x42220e(0x2e6),!0x1),_0x4185c3(this,'_telemetryInfo',null),(this['_unitID']=_0x5640e4,this[_0x42220e(0x3ce)]=_0x11c0cf,this[_0x42220e(0x626)]=_0x267f3e,this[_0x42220e(0x3cb)]=_0x3a62c4,this['_configService']=_0x2f2d0c,this[_0x42220e(0x621)]=_0x9e4ab2,this['_memberService']=_0x23cab9,this['_commentService']=_0x3394d7,this[_0x42220e(0x28e)]=_0x96e0d2,this[_0x42220e(0x2e6)]=!!this[_0x42220e(0x28e)],_0x2d3cea[_0x42220e(0x3d3)](_0x2b43af[_0x42220e(0x41d)](this[_0x42220e(0x54c)]))['subscribe'](_0x2a7ebe=>{const _0x55d22d=_0x42220e;var _0xa54ddd;typeof _0x2a7ebe>'u'||(this[_0x55d22d(0x3c5)]=_0x2a7ebe,_0x2a7ebe?(this[_0x55d22d(0x290)](_0x2a7ebe),this['_socketMessageSubscription']=_0x2a7ebe[_0x55d22d(0x4a2)][_0x55d22d(0x4e9)](_0x445ed8=>{const _0x3aca17=_0x55d22d;_0x445ed8['routeKey']===this[_0x3aca17(0x47c)]&&this['_onCombEvent'](_0x445ed8);})):(this[_0x55d22d(0x2e5)](),this[_0x55d22d(0x36d)][_0x55d22d(0x683)](0x2),(_0xa54ddd=this['_socketMessageSubscription'])==null||_0xa54ddd[_0x55d22d(0x26d)](),this['_socketMessageSubscription']=null));}),this[_0x42220e(0x586)](this[_0x42220e(0x626)][_0x42220e(0x478)](()=>{const _0x8dfd9d=_0x42220e;var _0x97cc38;(_0x97cc38=this[_0x8dfd9d(0x3c5)])==null||_0x97cc38[_0x8dfd9d(0x227)]({'cmd':_0x26da26[_0x8dfd9d(0x65e)],'data':{'roomID':this[_0x8dfd9d(0x47c)]}});})));}get['sessionStatus'](){const _0x28d4df=_0x399f16;return this[_0x28d4df(0x36d)][_0x28d4df(0x459)]();}[_0x399f16(0x6bb)](){const _0x59c293=_0x399f16;var _0x434f61,_0x5cef2b;return(_0x5cef2b=(_0x434f61=this[_0x59c293(0x3c5)])==null?void 0x0:_0x434f61[_0x59c293(0x3e5)])!=null?_0x5cef2b:null;}['dispose'](){const _0x4334a1=_0x399f16;super[_0x4334a1(0x5cf)](),this['dispose$'][_0x4334a1(0x683)](),this[_0x4334a1(0x54c)]['complete']();}[_0x399f16(0x236)](){const _0x5d0725=_0x399f16;var _0x12a9dd,_0x38628d;this[_0x5d0725(0x2e5)](),(_0x12a9dd=this[_0x5d0725(0x3c5)])==null||_0x12a9dd[_0x5d0725(0x227)]({'cmd':_0x26da26[_0x5d0725(0x65e)],'data':{'roomID':this[_0x5d0725(0x47c)]}}),(_0x38628d=this[_0x5d0725(0x3c5)])==null||_0x38628d[_0x5d0725(0x236)](),this['_event$'][_0x5d0725(0x374)](),this['_sessionStatus$'][_0x5d0725(0x374)](),this[_0x5d0725(0x5cf)]();}[_0x399f16(0x209)](_0xdb6634){const _0x1e58ac=_0x399f16;_0xdb6634[_0x1e58ac(0x426)]===_0x26da26[_0x1e58ac(0x423)]?this[_0x1e58ac(0x3df)](_0xdb6634):_0xdb6634[_0x1e58ac(0x426)]===_0x26da26[_0x1e58ac(0x577)]&&this[_0x1e58ac(0x4b5)](_0xdb6634);}[_0x399f16(0x290)](_0x3317a2){const _0x1f04b2=_0x399f16;this[_0x1f04b2(0x36d)]['next'](0x1),_0x3317a2[_0x1f04b2(0x227)]({'cmd':_0x26da26[_0x1f04b2(0x423)],'routeKey':this[_0x1f04b2(0x47c)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1f04b2(0x47c)]}]}});}['_onJoinRoomEvent'](_0x51b20e){const _0x5aeed3=_0x399f16;var _0x458dea;if(_0x51b20e[_0x5aeed3(0x3e7)]===_0x315c34[_0x5aeed3(0x2af)]){this[_0x5aeed3(0x3cb)]['show']({'type':_0x3c040d[_0x5aeed3(0x217)][_0x5aeed3(0x56a)],'content':this[_0x5aeed3(0x621)]['t']('session.room-full')}),this[_0x5aeed3(0x36d)][_0x5aeed3(0x683)](0x2);return;}this[_0x5aeed3(0x36d)][_0x5aeed3(0x683)](0x3);const _0xf9f10c=(_0x458dea=_0x51b20e[_0x5aeed3(0x4ae)][_0x5aeed3(0x46b)][this[_0x5aeed3(0x47c)]])==null?void 0x0:_0x458dea[_0x5aeed3(0x356)];_0xf9f10c&&_0xf9f10c[_0x5aeed3(0x4b6)](_0x1eb0bb=>this[_0x5aeed3(0x5d8)][_0x5aeed3(0x41c)](this['_unitID'],_0x1eb0bb));}[_0x399f16(0x4b5)](_0x26f5d6){const _0x33a2c1=_0x399f16;try{const _0x2e4d6b=_0x26f5d6[_0x33a2c1(0x4ae)];switch(_0x2e4d6b[_0x33a2c1(0x6cb)]){case _0x1b0275[_0x33a2c1(0x47b)][_0x33a2c1(0x31b)]:this['_onUserJoin'](_0x2e4d6b),this['_event$'][_0x33a2c1(0x683)](_0x2e4d6b);break;case _0x1b0275['CollaborationEvent'][_0x33a2c1(0x5a1)]:this[_0x33a2c1(0x697)](_0x2e4d6b),this[_0x33a2c1(0x5d2)][_0x33a2c1(0x683)](_0x2e4d6b);break;case _0x1b0275['CollaborationEvent'][_0x33a2c1(0x350)]:case _0x1b0275[_0x33a2c1(0x47b)][_0x33a2c1(0x310)]:this[_0x33a2c1(0x317)](),this[_0x33a2c1(0x33f)](),this[_0x33a2c1(0x5d2)][_0x33a2c1(0x683)](_0x2e4d6b);break;case _0x1b0275[_0x33a2c1(0x47b)][_0x33a2c1(0x44f)]:this[_0x33a2c1(0x3ce)][_0x33a2c1(0x5d4)](_0x33a2c1(0x325)+JSON[_0x33a2c1(0x2a1)](_0x2e4d6b)),this[_0x33a2c1(0x5d2)][_0x33a2c1(0x683)](_0x2e4d6b);break;case _0x1b0275[_0x33a2c1(0x47b)][_0x33a2c1(0x3e4)]:this[_0x33a2c1(0x25e)][_0x33a2c1(0x2e0)](_0x2e4d6b[_0x33a2c1(0x4ae)]),this['_event$'][_0x33a2c1(0x683)](_0x2e4d6b);break;default:this['_event$'][_0x33a2c1(0x683)](_0x2e4d6b);}}catch(_0x4a1d0a){this[_0x33a2c1(0x3ce)][_0x33a2c1(0x5d4)](_0x4a1d0a,_0x26f5d6);}}['_onUserJoin'](_0x259236){const _0x2bbe0a=_0x399f16;this[_0x2bbe0a(0x5d8)]['updateMember'](this[_0x2bbe0a(0x47c)],_0x259236[_0x2bbe0a(0x4ae)]);}[_0x399f16(0x697)](_0x366246){const _0x3e9c47=_0x399f16;this[_0x3e9c47(0x5d8)][_0x3e9c47(0x46a)](this['_unitID'],_0x366246[_0x3e9c47(0x4ae)][_0x3e9c47(0x3e5)]);}async[_0x399f16(0x227)](_0x20f949,_0x4fec50){const _0x16765a=_0x399f16;if(this[_0x16765a(0x48a)]!==0x3||!this[_0x16765a(0x3c5)])throw new Error(_0x16765a(0x20c));try{_0x20f949['eventID']===_0x1b0275[_0x16765a(0x47b)][_0x16765a(0x48c)]&&(this[_0x16765a(0x4e7)](),this[_0x16765a(0x3eb)](_0x20f949)),this[_0x16765a(0x3c5)][_0x16765a(0x227)]({'cmd':_0x26da26[_0x16765a(0x5b3)],'routeKey':_0x4fec50,'routeType':'','data':_0x20f949});}catch(_0x4f4bcc){this[_0x16765a(0x3ce)][_0x16765a(0x5d4)](_0x4f4bcc);}}['_scheduleCollaborationTimeoutTimer'](){const _0x649fef=_0x399f16;var _0x383917;this[_0x649fef(0x552)]=window[_0x649fef(0x3f0)](()=>{const _0x2cc231=_0x649fef;this[_0x2cc231(0x552)]=null,this[_0x2cc231(0x3cb)][_0x2cc231(0x298)]({'type':_0x3c040d[_0x2cc231(0x217)][_0x2cc231(0x4d2)],'content':this[_0x2cc231(0x621)]['t']('session.collaboration-timeout')});},(_0x383917=this[_0x649fef(0x286)][_0x649fef(0x22e)](_0xd16f83))!=null?_0x383917:0x4e20);}['_clearCollaborationTimeoutTimer'](){const _0x9be375=_0x399f16;this[_0x9be375(0x552)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x9be375(0x552)]=null);}[_0x399f16(0x3eb)](_0x1ec6db){const _0x17a68b=_0x399f16;if(!this[_0x17a68b(0x2e6)])return;const {data:_0x3b1368}=_0x1ec6db,{unitID:_0x2e5c51,changeset:_0x2eb0a3}=_0x3b1368,{mutations:_0x20d1cd,type:_0x41abbd}=_0x2eb0a3;this[_0x17a68b(0x251)]={'unitId':_0x2e5c51,'type':_0x41abbd,'startTime':performance[_0x17a68b(0x3b9)](),'stopTime':0x0,'duration':0x0,'size':_0x9574a5(_0x20d1cd)};}[_0x399f16(0x317)](){const _0x31c496=_0x399f16;if(this[_0x31c496(0x2e6)]){if(!this[_0x31c496(0x251)]){this[_0x31c496(0x3ce)]['error'](_0x31c496(0x483),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x31c496(0x251)]['stopTime']=performance[_0x31c496(0x3b9)](),this[_0x31c496(0x251)][_0x31c496(0x318)]=this[_0x31c496(0x251)][_0x31c496(0x595)]-this['_telemetryInfo'][_0x31c496(0x276)],this[_0x31c496(0x28e)][_0x31c496(0x2ed)](_0x1852ff,this['_telemetryInfo']),this[_0x31c496(0x251)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x280179=_0x399f16;this[_0x280179(0x251)]=null;}},_0x5545bf['CollaborationSession']=_0x37be43([_0x1bfb30(0x2,_0x4f08d1[_0x399f16(0x668)]),_0x1bfb30(0x3,_0x3f3b0b['IBeforeCloseService']),_0x1bfb30(0x4,_0x3f3b0b[_0x399f16(0x659)]),_0x1bfb30(0x5,_0x4f08d1[_0x399f16(0x4cb)]),_0x1bfb30(0x6,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x53c)])),_0x1bfb30(0x7,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf[_0x399f16(0x6a7)])),_0x1bfb30(0x8,_0x4f08d1[_0x399f16(0x6b5)](_0x218354)),_0x1bfb30(0x9,_0x4f08d1[_0x399f16(0x336)](_0x2eb416[_0x399f16(0x2b0)]))],_0x5545bf[_0x399f16(0x665)]);var _0x192d67=Object[_0x399f16(0x30f)],_0x5d01fd=Object[_0x399f16(0x468)],_0x427a85=(_0x51b9fd,_0x11517f,_0x2f6c50,_0x1de8d2)=>{const _0x246a72=_0x399f16;for(var _0x25d5f7=_0x1de8d2>0x1?void 0x0:_0x1de8d2?_0x5d01fd(_0x11517f,_0x2f6c50):_0x11517f,_0x5aa6ba=_0x51b9fd[_0x246a72(0x4ba)]-0x1,_0xdcc776;_0x5aa6ba>=0x0;_0x5aa6ba--)(_0xdcc776=_0x51b9fd[_0x5aa6ba])&&(_0x25d5f7=(_0x1de8d2?_0xdcc776(_0x11517f,_0x2f6c50,_0x25d5f7):_0xdcc776(_0x25d5f7))||_0x25d5f7);return _0x1de8d2&&_0x25d5f7&&_0x192d67(_0x11517f,_0x2f6c50,_0x25d5f7),_0x25d5f7;},_0x419406=(_0x738d06,_0x355edb)=>(_0x4ae011,_0x1fef1)=>_0x355edb(_0x4ae011,_0x1fef1,_0x738d06);_0x5545bf[_0x399f16(0x294)]=class extends _0x4f08d1['Disposable']{constructor(_0x595056,_0x556f5c,_0x49daa9,_0x5720e2,_0x3a961e,_0x33d1ba,_0x4ce7f4){const _0x153bf7=_0x399f16;super(),_0x4185c3(this,'_socket$',new _0x2b43af[(_0x153bf7(0x347))](void 0x0)),_0x4185c3(this,_0x153bf7(0x60a),this[_0x153bf7(0x5db)][_0x153bf7(0x461)]()),_0x4185c3(this,_0x153bf7(0x37d),null),_0x4185c3(this,_0x153bf7(0x324),new Map()),_0x4185c3(this,_0x153bf7(0x4b7),new _0x2b43af['BehaviorSubject'](_0xc16e44[_0x153bf7(0x672)])),_0x4185c3(this,'status$',this[_0x153bf7(0x4b7)][_0x153bf7(0x461)]()),_0x4185c3(this,_0x153bf7(0x54f),!0x1),_0x4185c3(this,_0x153bf7(0x619)),_0x4185c3(this,_0x153bf7(0x490),0x0),_0x4185c3(this,_0x153bf7(0x2dd)),_0x4185c3(this,_0x153bf7(0x3cd)),(this[_0x153bf7(0x50d)]=_0x595056,this[_0x153bf7(0x621)]=_0x556f5c,this[_0x153bf7(0x3cb)]=_0x49daa9,this['_logService']=_0x5720e2,this[_0x153bf7(0x286)]=_0x3a961e,this[_0x153bf7(0x337)]=_0x33d1ba,this[_0x153bf7(0x248)]=_0x4ce7f4,this[_0x153bf7(0x674)]());}get[_0x399f16(0x3c5)](){const _0x3f0514=_0x399f16;return this[_0x3f0514(0x5db)]['getValue']();}[_0x399f16(0x674)](){const _0x44325a=_0x399f16;this[_0x44325a(0x365)](),this['_listenToOnlineEvent']();}[_0x399f16(0x5cf)](){const _0x48685d=_0x399f16;super[_0x48685d(0x5cf)](),this[_0x48685d(0x324)][_0x48685d(0x4b6)](_0x32567f=>_0x32567f['dispose']()),this[_0x48685d(0x324)][_0x48685d(0x687)](),this['_status$']['complete']();}async['requireSession'](_0x43f38e){const _0x4c9a48=_0x399f16;if(this['_sessions'][_0x4c9a48(0x61b)](_0x43f38e))return this[_0x4c9a48(0x324)]['get'](_0x43f38e);this[_0x4c9a48(0x433)]();const _0x53d417=this['_injector'][_0x4c9a48(0x3d7)](_0x5545bf[_0x4c9a48(0x665)],_0x43f38e,this[_0x4c9a48(0x5db)][_0x4c9a48(0x461)]());return this[_0x4c9a48(0x324)][_0x4c9a48(0x3be)](_0x43f38e,_0x53d417),_0x53d417;}[_0x399f16(0x361)](_0x4c66e7){const _0x282afe=_0x399f16;var _0x191c72;const _0x56eb0e=this[_0x282afe(0x324)]['get'](_0x4c66e7);_0x56eb0e&&(this['_sessions'][_0x282afe(0x36a)](_0x4c66e7),_0x56eb0e['close']()),this[_0x282afe(0x324)][_0x282afe(0x446)]||(_0x191c72=this[_0x282afe(0x3c5)])==null||_0x191c72[_0x282afe(0x236)]();}[_0x399f16(0x68d)](){const _0x8c8e76=_0x399f16;this[_0x8c8e76(0x490)]=0x0,this[_0x8c8e76(0x619)]!=null&&(clearTimeout(this[_0x8c8e76(0x619)]),this['_retryConnectingTimer']=null),this[_0x8c8e76(0x38f)]();}async['_getSessionTicket'](){const _0x5b622a=_0x399f16;var _0x3e7528,_0x261b43,_0x495f60;const _0x1098b=this[_0x5b622a(0x286)][_0x5b622a(0x22e)](_0x2db08d),_0xe3181c=(_0x3e7528=_0x1098b==null?void 0x0:_0x1098b['wsSessionTicketUrl'])!=null?_0x3e7528:_0x482d95;return(_0x495f60=(_0x261b43=(await this['_httpService'][_0x5b622a(0x515)](_0xe3181c,{'headers':{'Content-Type':_0x5b622a(0x6ae)}}))['body'])==null?void 0x0:_0x261b43[_0x5b622a(0x36b)])!=null?_0x495f60:'';}[_0x399f16(0x3f7)](_0x331ac0){const _0x399f31=_0x399f16;var _0x27f8ad,_0x13a1fd;const _0x3758e6=this[_0x399f31(0x286)]['getConfig'](_0x2f81c7),_0x318f36=this['_configService'][_0x399f31(0x22e)](_0x2db08d),_0x1709cb=(_0x13a1fd=(_0x27f8ad=_0x318f36==null?void 0x0:_0x318f36[_0x399f31(0x335)])!=null?_0x27f8ad:_0x3758e6)!=null?_0x13a1fd:_0x4d65fc,_0x11a7c5=new URL(_0x1709cb,window['location'][_0x399f31(0x388)]);return _0x11a7c5[_0x399f31(0x4f6)][_0x399f31(0x3be)](_0x399f31(0x527),_0x331ac0),_0x11a7c5['toString']();}async[_0x399f16(0x42c)](){const _0x2a05e6=_0x399f16,_0xb95f4d=await this[_0x2a05e6(0x655)](),_0x5bf372=this[_0x2a05e6(0x3f7)](_0xb95f4d),_0x4b9356=this[_0x2a05e6(0x337)]['createSocket'](_0x5bf372);return this[_0x2a05e6(0x37d)]=_0x4b9356,_0x4b9356;}async[_0x399f16(0x433)](){const _0x598525=_0x399f16;var _0x53d9dd,_0x99324d;try{const _0x2601da=(_0x99324d=(_0x53d9dd=this[_0x598525(0x3c5)])!=null?_0x53d9dd:this[_0x598525(0x37d)])!=null?_0x99324d:await this[_0x598525(0x42c)]();if(_0x2601da){const _0x26c2d4=_0x2601da[_0x598525(0x227)];_0x2601da[_0x598525(0x227)]=_0x3eb149=>(this['_rescheduleHeartbeat'](),_0x26c2d4['apply'](_0x2601da,[_0x3eb149])),_0x2601da['message$'][_0x598525(0x4e9)](_0x7cb0c7=>this[_0x598525(0x48d)](_0x2601da,_0x7cb0c7)),_0x2601da[_0x598525(0x528)][_0x598525(0x3d3)](_0x2a573e[_0x598525(0x328)](0x1))[_0x598525(0x4e9)](_0x2699b9=>this[_0x598525(0x3ce)][_0x598525(0x5d4)](_0x598525(0x2ca),_0x2699b9)),_0x2601da[_0x598525(0x63d)]['pipe'](_0x2a573e[_0x598525(0x328)](0x1))[_0x598525(0x4e9)](()=>{const _0xdcdee7=_0x598525;this[_0xdcdee7(0x314)](_0x2601da);}),_0x2601da['close$'][_0x598525(0x3d3)](_0x2a573e[_0x598525(0x328)](0x1))['subscribe'](_0x88fea4=>{const _0x20cb11=_0x598525;this[_0x20cb11(0x3ce)][_0x20cb11(0x64f)](_0x20cb11(0x4c4),_0x20cb11(0x4c7),_0x88fea4),this['_onConnectionFailed']();});}}catch(_0x57e4b1){this['_logService']['error'](_0x57e4b1),this[_0x598525(0x27e)]();}}[_0x399f16(0x314)](_0x1d66f6){const _0x386740=_0x399f16;this[_0x386740(0x3ce)]['debug'](_0x386740(0x4c4),_0x386740(0x230)),_0x1d66f6[_0x386740(0x227)]({'cmd':_0x26da26['HELLO']}),this[_0x386740(0x444)]();}[_0x399f16(0x365)](){const _0x42f190=_0x399f16;window[_0x42f190(0x295)]('offline',()=>this['_onOffline']());}[_0x399f16(0x2f6)](){const _0x39f123=_0x399f16;this[_0x39f123(0x54f)]=!0x1,this[_0x39f123(0x37d)]=null,this[_0x39f123(0x4b7)][_0x39f123(0x683)](_0xc16e44[_0x39f123(0x246)]),this[_0x39f123(0x5db)][_0x39f123(0x683)](null),this['_clearTimeoutTimer'](),this[_0x39f123(0x4a0)]();}[_0x399f16(0x27e)](){const _0x28b09b=_0x399f16;var _0x4dd463;this[_0x28b09b(0x2f6)](),this[_0x28b09b(0x490)]<((_0x4dd463=this[_0x28b09b(0x286)][_0x28b09b(0x22e)](_0x2dcaea))!=null?_0x4dd463:0x3)?(this[_0x28b09b(0x3cb)][_0x28b09b(0x298)]({'key':_0x28b09b(0x3a6),'type':_0x3c040d[_0x28b09b(0x217)][_0x28b09b(0x56a)],'content':this[_0x28b09b(0x621)]['t']('session.will-retry')}),this['_tryReconnect']()):this[_0x28b09b(0x3cb)][_0x28b09b(0x298)]({'key':'collaboration-session-retry','type':_0x3c040d['MessageType'][_0x28b09b(0x4d2)],'content':this[_0x28b09b(0x621)]['t'](_0x28b09b(0x64b))});}['_listenToOnlineEvent'](){const _0x23cecd=_0x399f16,_0x2aa57f=()=>{const _0x5e977f=_0x5a32;this[_0x5e977f(0x3c5)]||this[_0x5e977f(0x68d)]();},_0x1ad17a=()=>{const _0x95f651=_0x5a32;this[_0x95f651(0x3c5)]||document[_0x95f651(0x6a1)]===_0x95f651(0x53f)||this[_0x95f651(0x68d)]();};window[_0x23cecd(0x295)](_0x23cecd(0x571),_0x2aa57f),document[_0x23cecd(0x295)](_0x23cecd(0x51e),_0x1ad17a);}[_0x399f16(0x38f)](){const _0x2d78d8=_0x399f16;var _0x259348;const _0x46e74f=this[_0x2d78d8(0x490)],_0x1ad4b6=this['_configService'][_0x2d78d8(0x22e)](_0x2db08d),_0x5760ab=_0x46e74f===0x0?0x0:((_0x259348=_0x1ad4b6==null?void 0x0:_0x1ad4b6[_0x2d78d8(0x21d)])!=null?_0x259348:0x4e20)*0x2**_0x46e74f;this[_0x2d78d8(0x619)]=window[_0x2d78d8(0x3f0)](()=>{const _0x5c7b8f=_0x2d78d8;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x5c7b8f(0x433)]();},_0x5760ab),this[_0x2d78d8(0x490)]+=0x1;}['_onMessage'](_0x13876f,_0x92916a){const _0x58cbb9=_0x399f16,{cmd:_0x3bd861}=_0x92916a;_0x3bd861===_0x26da26[_0x58cbb9(0x600)]&&!this['_socketReady']&&(_0x13876f[_0x58cbb9(0x3e5)]=_0x92916a[_0x58cbb9(0x4ae)][_0x58cbb9(0x3e5)],this[_0x58cbb9(0x5db)][_0x58cbb9(0x683)](_0x13876f),this['_status$']['next'](_0xc16e44['ONLINE']),this['_socketReady']=!0x0,this[_0x58cbb9(0x37d)]=null),_0x3bd861===_0x26da26[_0x58cbb9(0x578)]&&this[_0x58cbb9(0x2a9)](),this['_rescheduleHeartbeat']();}[_0x399f16(0x444)](){const _0x75b1a6=_0x399f16;var _0x10c782;this[_0x75b1a6(0x4a0)](),this[_0x75b1a6(0x2dd)]=window['setTimeout'](()=>this['_sendHeartbeat'](),(_0x10c782=this['_configService'][_0x75b1a6(0x22e)](_0x26b1ca))!=null?_0x10c782:0x7530);}['_sendHeartbeat'](){const _0x3d204f=_0x399f16;this[_0x3d204f(0x3c5)][_0x3d204f(0x227)]({'cmd':_0x26da26[_0x3d204f(0x578)]}),this[_0x3d204f(0x6bf)]();}[_0x399f16(0x6bf)](){const _0x4a1c34=_0x399f16;var _0x57f57c;this[_0x4a1c34(0x3cd)]=window[_0x4a1c34(0x3f0)](()=>this['_onConnectionFailed'](),(_0x57f57c=this['_configService'][_0x4a1c34(0x22e)](_0xd16f83))!=null?_0x57f57c:0x4e20);}[_0x399f16(0x4a0)](){const _0x2ee321=_0x399f16;this[_0x2ee321(0x2dd)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x2ee321(0x2dd)]=null);}[_0x399f16(0x2a9)](){const _0x57171a=_0x399f16;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x57171a(0x3cd)]),this[_0x57171a(0x3cd)]=null);}},_0x5545bf[_0x399f16(0x294)]=_0x427a85([_0x419406(0x0,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x419406(0x1,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1['LocaleService'])),_0x419406(0x2,_0x3f3b0b[_0x399f16(0x659)]),_0x419406(0x3,_0x4f08d1[_0x399f16(0x668)]),_0x419406(0x4,_0x4f08d1[_0x399f16(0x4cb)]),_0x419406(0x5,_0x5c61a9),_0x419406(0x6,_0x4f08d1[_0x399f16(0x6b5)](_0x413477[_0x399f16(0x5be)]))],_0x5545bf[_0x399f16(0x294)]);const _0xa82fb0=[];for(let _0xdb43f1=0x0;_0xdb43f1<0x100;++_0xdb43f1)_0xa82fb0['push']((_0xdb43f1+0x100)[_0x399f16(0x358)](0x10)['slice'](0x1));function _0x1139da(_0x3adcec,_0x46d124=0x0){const _0x57b8dc=_0x399f16;return(_0xa82fb0[_0x3adcec[_0x46d124+0x0]]+_0xa82fb0[_0x3adcec[_0x46d124+0x1]]+_0xa82fb0[_0x3adcec[_0x46d124+0x2]]+_0xa82fb0[_0x3adcec[_0x46d124+0x3]]+'-'+_0xa82fb0[_0x3adcec[_0x46d124+0x4]]+_0xa82fb0[_0x3adcec[_0x46d124+0x5]]+'-'+_0xa82fb0[_0x3adcec[_0x46d124+0x6]]+_0xa82fb0[_0x3adcec[_0x46d124+0x7]]+'-'+_0xa82fb0[_0x3adcec[_0x46d124+0x8]]+_0xa82fb0[_0x3adcec[_0x46d124+0x9]]+'-'+_0xa82fb0[_0x3adcec[_0x46d124+0xa]]+_0xa82fb0[_0x3adcec[_0x46d124+0xb]]+_0xa82fb0[_0x3adcec[_0x46d124+0xc]]+_0xa82fb0[_0x3adcec[_0x46d124+0xd]]+_0xa82fb0[_0x3adcec[_0x46d124+0xe]]+_0xa82fb0[_0x3adcec[_0x46d124+0xf]])[_0x57b8dc(0x5cb)]();}let _0x3544fb;const _0x16d37e=new Uint8Array(0x10);function _0x31f027(){const _0x4b11d9=_0x399f16;if(!_0x3544fb){if(typeof crypto>'u'||!crypto[_0x4b11d9(0x2e2)])throw new Error(_0x4b11d9(0x432));_0x3544fb=crypto[_0x4b11d9(0x2e2)][_0x4b11d9(0x667)](crypto);}return _0x3544fb(_0x16d37e);}const _0x54b239={'randomUUID':typeof crypto<'u'&&crypto[_0x399f16(0x330)]&&crypto[_0x399f16(0x330)][_0x399f16(0x667)](crypto)};function _0x2a2091(_0x3bcaca,_0x1a20ff,_0x406b27){const _0x39e4e5=_0x399f16;if(_0x54b239[_0x39e4e5(0x330)]&&!_0x1a20ff&&!_0x3bcaca)return _0x54b239[_0x39e4e5(0x330)]();_0x3bcaca=_0x3bcaca||{};const _0xa22699=_0x3bcaca[_0x39e4e5(0x334)]||(_0x3bcaca[_0x39e4e5(0x67d)]||_0x31f027)();return _0xa22699[0x6]=_0xa22699[0x6]&0xf|0x40,_0xa22699[0x8]=_0xa22699[0x8]&0x3f|0x80,_0x1139da(_0xa22699);}var _0x38dd0d=Object[_0x399f16(0x30f)],_0x442e7f=Object[_0x399f16(0x468)],_0x4b10d4=(_0x772cc1,_0x5efe81,_0x37fe8a,_0x291b60)=>{const _0x4f7642=_0x399f16;for(var _0x2f0e48=_0x291b60>0x1?void 0x0:_0x291b60?_0x442e7f(_0x5efe81,_0x37fe8a):_0x5efe81,_0x1721e8=_0x772cc1[_0x4f7642(0x4ba)]-0x1,_0x5b64ee;_0x1721e8>=0x0;_0x1721e8--)(_0x5b64ee=_0x772cc1[_0x1721e8])&&(_0x2f0e48=(_0x291b60?_0x5b64ee(_0x5efe81,_0x37fe8a,_0x2f0e48):_0x5b64ee(_0x2f0e48))||_0x2f0e48);return _0x291b60&&_0x2f0e48&&_0x38dd0d(_0x5efe81,_0x37fe8a,_0x2f0e48),_0x2f0e48;},_0x5a5096=(_0x2cfcc8,_0x3ac9ea)=>(_0x43775b,_0x398e06)=>_0x3ac9ea(_0x43775b,_0x398e06,_0x2cfcc8);let _0x78955a=class{constructor(_0xcb78f2,_0x24b524,_0x34a085){const _0x19b29e=_0x399f16;this[_0x19b29e(0x50d)]=_0xcb78f2,this[_0x19b29e(0x514)]=_0x24b524,this[_0x19b29e(0x389)]=_0x34a085;}[_0x399f16(0x3a3)](_0x2063bf){const _0x3e0a1d=_0x399f16;this[_0x3e0a1d(0x25d)](_0x2063bf),this[_0x3e0a1d(0x61e)](_0x2063bf);}[_0x399f16(0x34b)](_0x371460){const _0x2a347a=_0x399f16,{unitID:_0x6a2a0e}=_0x371460,_0x118782=this[_0x2a347a(0x389)][_0x2a347a(0x23d)](_0x6a2a0e)['with'](_0x5626ef['DocIMEInputManagerService']),{redoCache:_0x13eae0}=_0x118782[_0x2a347a(0x49e)]();if(_0x13eae0['length']===0x0)return _0x371460;let _0x3716ee=_0x4f08d1['Tools'][_0x2a347a(0x210)](_0x371460['mutations'][0x0]);for(let _0x12379e=0x0;_0x12379e<_0x13eae0[_0x2a347a(0x4ba)];_0x12379e++){const _0x596bf2={'id':_0x2a347a(0x441),'params':{..._0x13eae0[_0x12379e]}},_0x2bbaf4=this[_0x2a347a(0x514)][_0x2a347a(0x233)](_0x3716ee,_0x596bf2,!0x1);if(_0x1b0275[_0x2a347a(0x277)](_0x2bbaf4))throw _0x2bbaf4[_0x2a347a(0x5d4)];_0x3716ee=_0x2bbaf4['m1Prime'];}return{..._0x4f08d1[_0x2a347a(0x370)]['deepClone'](_0x371460),'mutations':[_0x3716ee]};}[_0x399f16(0x25d)](_0xd781fc){const _0x2f2e33=_0x399f16,{unitID:_0xb7144f}=_0xd781fc,_0x4ede59=this[_0x2f2e33(0x389)][_0x2f2e33(0x23d)](_0xb7144f)[_0x2f2e33(0x296)](_0x5626ef[_0x2f2e33(0x54b)]),{undoCache:_0x4ba34e,redoCache:_0x3b4ee1}=_0x4ede59[_0x2f2e33(0x49e)]();if(_0x4ba34e[_0x2f2e33(0x4ba)]===0x0||_0x3b4ee1[_0x2f2e33(0x4ba)]===0x0)return;const _0x353d8a=[],_0x483f5f=[];let _0x1a1a62=_0x4f08d1[_0x2f2e33(0x370)][_0x2f2e33(0x210)](_0xd781fc[_0x2f2e33(0x5fc)][0x0]),_0x424216=_0x4f08d1[_0x2f2e33(0x370)][_0x2f2e33(0x210)](_0xd781fc['mutations'][0x0]);for(let _0x43e80f=_0x4ba34e[_0x2f2e33(0x4ba)]-0x1;_0x43e80f>=0x0;_0x43e80f--){const _0x27f8ec={'id':_0x2f2e33(0x441),'params':{..._0x4ba34e[_0x43e80f]}},_0x1cbc7d={'id':_0x2f2e33(0x441),'params':{..._0x3b4ee1[_0x43e80f]}},_0x1cabef=this[_0x2f2e33(0x514)][_0x2f2e33(0x233)](_0x1a1a62,_0x27f8ec,!0x1),_0x1ec40c=this[_0x2f2e33(0x514)][_0x2f2e33(0x233)](_0x424216,_0x1cbc7d,!0x1);if(_0x1b0275[_0x2f2e33(0x277)](_0x1cabef))throw _0x1cabef[_0x2f2e33(0x5d4)];if(_0x1b0275[_0x2f2e33(0x277)](_0x1ec40c))throw _0x1ec40c[_0x2f2e33(0x5d4)];_0x353d8a[_0x2f2e33(0x639)](_0x1cabef[_0x2f2e33(0x532)][_0x2f2e33(0x477)]),_0x483f5f['unshift'](_0x1ec40c[_0x2f2e33(0x532)][_0x2f2e33(0x477)]),_0x1a1a62=_0x1cabef['m1Prime'],_0x424216=_0x1ec40c[_0x2f2e33(0x63b)];}_0x4ede59[_0x2f2e33(0x5ce)]({'undoCache':_0x353d8a,'redoCache':_0x483f5f});}[_0x399f16(0x61e)](_0x3a40a5){const _0x1586c2=_0x399f16,{unitID:_0x3cfb9d}=_0x3a40a5,_0x50edd4=this[_0x1586c2(0x389)][_0x1586c2(0x23d)](_0x3cfb9d)[_0x1586c2(0x296)](_0x5626ef[_0x1586c2(0x54b)]),_0xf6dd95=_0x50edd4[_0x1586c2(0x563)]();if(_0xf6dd95==null)return;const _0x4dd669=[{'id':_0x1586c2(0x441),'params':{'unitId':_0x3a40a5[_0x1586c2(0x5dd)],'actions':null,'textRanges':[_0xf6dd95]}}],_0x4a9a40=this[_0x1586c2(0x514)][_0x1586c2(0x65c)](_0x3a40a5,_0x4dd669);if(!_0x1b0275[_0x1586c2(0x3e0)](_0x4a9a40))throw _0x4a9a40['error'];const _0x49fb6a=_0x4a9a40[_0x1586c2(0x532)][0x0][_0x1586c2(0x477)][_0x1586c2(0x587)];Array[_0x1586c2(0x68c)](_0x49fb6a)&&_0x49fb6a[_0x1586c2(0x4ba)]&&_0x50edd4[_0x1586c2(0x4bb)](_0x49fb6a[0x0]);}};_0x78955a=_0x4b10d4([_0x5a5096(0x0,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x5a5096(0x1,_0x1b0275['ITransformService']),_0x5a5096(0x2,_0x1a2a90[_0x399f16(0x59d)])],_0x78955a);var _0x27ac7e=Object[_0x399f16(0x30f)],_0x27577d=Object['getOwnPropertyDescriptor'],_0x39f068=(_0x37e419,_0x43c570,_0x31c9ca,_0x554f2e)=>{const _0x2cc4b8=_0x399f16;for(var _0x43c1d5=_0x554f2e>0x1?void 0x0:_0x554f2e?_0x27577d(_0x43c570,_0x31c9ca):_0x43c570,_0x22d0ca=_0x37e419[_0x2cc4b8(0x4ba)]-0x1,_0x3fb907;_0x22d0ca>=0x0;_0x22d0ca--)(_0x3fb907=_0x37e419[_0x22d0ca])&&(_0x43c1d5=(_0x554f2e?_0x3fb907(_0x43c570,_0x31c9ca,_0x43c1d5):_0x3fb907(_0x43c1d5))||_0x43c1d5);return _0x554f2e&&_0x43c1d5&&_0x27ac7e(_0x43c570,_0x31c9ca,_0x43c1d5),_0x43c1d5;},_0x18ae62=(_0x108124,_0x5c21e0)=>(_0x533218,_0x48cd5e)=>_0x5c21e0(_0x533218,_0x48cd5e,_0x108124);_0x5545bf[_0x399f16(0x381)]=class extends _0x4f08d1[_0x399f16(0x5a2)]{constructor(_0x52509f,_0x34f082,_0x300060,_0xf488fc,_0x89c199){const _0x5ed8e9=_0x399f16;super(),_0x4185c3(this,_0x5ed8e9(0x307),new Map()),_0x4185c3(this,_0x5ed8e9(0x346),new Map()),_0x4185c3(this,_0x5ed8e9(0x36e),!0x1),(this[_0x5ed8e9(0x286)]=_0x52509f,this[_0x5ed8e9(0x5e6)]=_0x34f082,this[_0x5ed8e9(0x626)]=_0x300060,this[_0x5ed8e9(0x621)]=_0xf488fc,this[_0x5ed8e9(0x3ea)]=_0x89c199,this[_0x5ed8e9(0x5a7)]());}[_0x399f16(0x2d4)](){const _0x549ac7=_0x399f16;this[_0x549ac7(0x36e)]=!0x0;}[_0x399f16(0x660)](){this['_disabled']=!0x1;}[_0x399f16(0x5cf)](){const _0x18116d=_0x399f16;this[_0x18116d(0x4ac)]()['then'](()=>super[_0x18116d(0x5cf)]());}async[_0x399f16(0x35d)](_0x3a31cf){const _0x4c897b=_0x399f16;return this[_0x4c897b(0x36e)]?null:this[_0x4c897b(0x5e6)][_0x4c897b(0x435)](_0x560dbe(_0x3a31cf));}async[_0x399f16(0x3da)](_0x29432d,_0x1c28b7){const _0x3c83f6=_0x399f16;return!!this[_0x3c83f6(0x5e6)][_0x3c83f6(0x213)](_0x29432d,_0x1c28b7);}[_0x399f16(0x48e)](_0x35f7ab,_0x16dff3,_0x220a1a,_0x45ebbf){const _0x22abbe=_0x399f16,_0x21f814=this[_0x22abbe(0x3ea)][_0x22abbe(0x2c5)](_0x35f7ab);this['_cachedData'][_0x22abbe(0x3be)](_0x35f7ab,{'unitID':_0x35f7ab,'type':_0x16dff3,'awaitingChangeset':_0x220a1a,'mutations':_0x45ebbf,'rev':_0x21f814}),this[_0x22abbe(0x346)][_0x22abbe(0x61b)](_0x35f7ab)||this['_scheduleSaving'](_0x35f7ab);}[_0x399f16(0x2b5)](_0x43f99b){const _0x1392d1=_0x399f16,_0x58e8d7=this[_0x1392d1(0x242)]();_0x58e8d7===0x0?this[_0x1392d1(0x380)](_0x43f99b):this['_saveTaskMap'][_0x1392d1(0x3be)](_0x43f99b,setTimeout(()=>this[_0x1392d1(0x380)](_0x43f99b),_0x58e8d7));}[_0x399f16(0x242)](){const _0x558d05=_0x399f16;var _0xfbd19d;return(_0xfbd19d=this[_0x558d05(0x286)][_0x558d05(0x22e)](_0x103d1f))!=null?_0xfbd19d:0x3e8;}[_0x399f16(0x380)](_0x4eb192){const _0xe962a9=_0x399f16,_0x3f6d61=this[_0xe962a9(0x346)][_0xe962a9(0x515)](_0x4eb192);return _0x3f6d61!==void 0x0&&window[_0xe962a9(0x378)](_0x3f6d61),this[_0xe962a9(0x5e6)][_0xe962a9(0x213)](_0x560dbe(_0x4eb192),this[_0xe962a9(0x307)][_0xe962a9(0x515)](_0x4eb192))[_0xe962a9(0x2a6)](()=>this[_0xe962a9(0x346)][_0xe962a9(0x36a)](_0x4eb192));}async[_0x399f16(0x4ac)](){const _0xe42694=_0x399f16,_0x13244e=[];this[_0xe42694(0x346)][_0xe42694(0x4b6)]((_0x1a5a69,_0xfb0768)=>{const _0x558970=_0xe42694;window[_0x558970(0x378)](_0x1a5a69),_0x13244e['push'](this[_0x558970(0x380)](_0xfb0768)['then'](()=>{const _0x34b02f=_0x558970;this[_0x34b02f(0x346)][_0x34b02f(0x36a)](_0xfb0768);}));}),await Promise[_0xe42694(0x2a7)](_0x13244e);}[_0x399f16(0x5a7)](){const _0x4149e3=_0x399f16;this['disposeWithMe'](this[_0x4149e3(0x626)]['registerBeforeClose'](()=>{const _0x4c17cb=_0x4149e3;if(this[_0x4c17cb(0x346)][_0x4c17cb(0x446)])return this[_0x4c17cb(0x621)]['t'](_0x4c17cb(0x4c2));}));}},_0x5545bf[_0x399f16(0x381)]=_0x39f068([_0x18ae62(0x0,_0x4f08d1['IConfigService']),_0x18ae62(0x1,_0x4f08d1[_0x399f16(0x349)]),_0x18ae62(0x2,_0x3f3b0b[_0x399f16(0x45b)]),_0x18ae62(0x3,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x53c)])),_0x18ae62(0x4,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275[_0x399f16(0x4bc)]))],_0x5545bf[_0x399f16(0x381)]);function _0x560dbe(_0x3169af){const _0x4dbd6a=_0x399f16;return _0x4dbd6a(0x3d8)+_0x3169af;}var _0x521d26=Object['defineProperty'],_0x571c22=Object[_0x399f16(0x468)],_0x2f6f8c=(_0x562e22,_0x2d05e2,_0x3a36e6,_0xc9365c)=>{for(var _0x3a8ea2=_0xc9365c>0x1?void 0x0:_0xc9365c?_0x571c22(_0x2d05e2,_0x3a36e6):_0x2d05e2,_0x20a1b6=_0x562e22['length']-0x1,_0x38381e;_0x20a1b6>=0x0;_0x20a1b6--)(_0x38381e=_0x562e22[_0x20a1b6])&&(_0x3a8ea2=(_0xc9365c?_0x38381e(_0x2d05e2,_0x3a36e6,_0x3a8ea2):_0x38381e(_0x3a8ea2))||_0x3a8ea2);return _0xc9365c&&_0x3a8ea2&&_0x521d26(_0x2d05e2,_0x3a36e6,_0x3a8ea2),_0x3a8ea2;},_0x32e931=(_0x8a341a,_0x4b18f5)=>(_0x10a650,_0x4a58dc)=>_0x4b18f5(_0x10a650,_0x4a58dc,_0x8a341a);function _0x509848(_0x12b07e){const _0x144776=_0x399f16,{unitID:_0x42e60d,mutations:_0x4a5dcb}=_0x12b07e;return{'unitId':_0x42e60d,'subUnitId':_0x4a5dcb[0x0][_0x144776(0x477)]['subUnitId']};}let _0x3e1169=class{constructor(_0x2a4302,_0x515395,_0x3346e3){const _0x5c39d4=_0x399f16;this[_0x5c39d4(0x50d)]=_0x2a4302,this[_0x5c39d4(0x514)]=_0x515395,this['_instanceService']=_0x3346e3;}[_0x399f16(0x4f0)](_0x43e2f8){const _0x2df6d7=_0x399f16;var _0x19429a,_0x861549,_0x213938,_0x1e55b1;const _0x21a1b0=this[_0x2df6d7(0x50d)][_0x2df6d7(0x515)](_0x5acd2f[_0x2df6d7(0x620)]),{unitId:_0x5e6f48,subUnitId:_0xcbf645}=_0x509848(_0x43e2f8),_0x575194=_0x21a1b0[_0x2df6d7(0x3af)](_0x5e6f48)[_0x2df6d7(0x2d8)](),_0x49cfd3=(_0x861549=(_0x19429a=this[_0x2df6d7(0x406)][_0x2df6d7(0x504)](_0x5e6f48))==null?void 0x0:_0x19429a[_0x2df6d7(0x4ea)]())==null?void 0x0:_0x861549[_0x2df6d7(0x2ef)]();if(_0x575194[_0x2df6d7(0x4ba)]===0x0||!_0x5e6f48||!_0xcbf645)return;const _0x35cce4=[{'id':_0x5acd2f[_0x2df6d7(0x6c8)]['id'],'params':{'unitId':_0x5e6f48,'subUnitId':_0x49cfd3,'selections':_0x4f08d1['Tools'][_0x2df6d7(0x210)](_0x575194)}}],_0xece9cd=this[_0x2df6d7(0x514)][_0x2df6d7(0x65c)](_0x43e2f8,_0x35cce4);if(!_0x1b0275[_0x2df6d7(0x3e0)](_0xece9cd))throw _0xece9cd[_0x2df6d7(0x5d4)];const _0x5eecee=(_0x1e55b1=(_0x213938=_0xece9cd['m2Prime'][0x0])==null?void 0x0:_0x213938[_0x2df6d7(0x477)])==null?void 0x0:_0x1e55b1[_0x2df6d7(0x265)];if(Array['isArray'](_0x5eecee)&&_0x5eecee[_0x2df6d7(0x4ba)]){if(_0x5eecee['length']===_0x35cce4[0x0][_0x2df6d7(0x477)][_0x2df6d7(0x265)]['length']&&_0x5eecee[_0x2df6d7(0x289)]((_0x3800d3,_0x2e3773)=>_0x4f08d1[_0x2df6d7(0x316)][_0x2df6d7(0x598)](_0x3800d3[_0x2df6d7(0x678)],_0x35cce4[0x0][_0x2df6d7(0x477)][_0x2df6d7(0x265)][_0x2e3773][_0x2df6d7(0x678)])))return;this[_0x2df6d7(0x50d)]['get'](_0x4f08d1['ICommandService'])[_0x2df6d7(0x584)](_0x5acd2f['SetSelectionsOperation']['id'],{'unitId':_0x5e6f48,'subUnitId':_0x49cfd3,'selections':_0x5eecee});}}};_0x3e1169=_0x2f6f8c([_0x32e931(0x0,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x32e931(0x1,_0x1b0275['ITransformService']),_0x32e931(0x2,_0x4f08d1['IUniverInstanceService'])],_0x3e1169);const _0x10b9a2=_0x4f08d1[_0x399f16(0x58a)]('univer-pro.collaboration-client.single-active-unit-service');var _0x1b9516=(_0x38e95d=>(_0x38e95d[_0x38e95d[_0x399f16(0x5c9)]=0x0]=_0x399f16(0x5c9),_0x38e95d[_0x38e95d[_0x399f16(0x340)]=0x1]=_0x399f16(0x340),_0x38e95d))(_0x1b9516||{});const _0x15d5ea=0x7530,_0x3f5599='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1bb3d6 extends _0x4f08d1['Disposable']{constructor(){const _0x5750cd=_0x399f16;super(),_0x4185c3(this,'_id',_0x4f08d1[_0x5750cd(0x370)][_0x5750cd(0x352)]()),_0x4185c3(this,_0x5750cd(0x45a),new Set()),_0x4185c3(this,'_unitOnClients',new Map()),_0x4185c3(this,_0x5750cd(0x363),null),_0x4185c3(this,_0x5750cd(0x52c),new Map()),_0x4185c3(this,_0x5750cd(0x495),new Map()),this[_0x5750cd(0x695)]();}[_0x399f16(0x5cf)](){const _0x10e03b=_0x399f16;super[_0x10e03b(0x5cf)](),this[_0x10e03b(0x52c)]['forEach']((_0x45bed1,_0x4247a0)=>this['_removeClearOtherTimer'](_0x4247a0)),this[_0x10e03b(0x363)]&&window['clearInterval'](this[_0x10e03b(0x363)]);}['getUnitStatus$'](_0x34b24d){const _0x3c83bf=_0x399f16;return this[_0x3c83bf(0x30e)](_0x34b24d)[_0x3c83bf(0x3d3)](_0x2b43af[_0x3c83bf(0x690)]());}[_0x399f16(0x402)](_0x5f3d3a){const _0x5a1c3b=_0x399f16;this['_selfUnitIDs'][_0x5a1c3b(0x446)]===0x0&&this[_0x5a1c3b(0x47f)](),this[_0x5a1c3b(0x45a)][_0x5a1c3b(0x666)](_0x5f3d3a),this[_0x5a1c3b(0x62c)]({'type':0x0,'memberID':this[_0x5a1c3b(0x332)],'unitIDs':[_0x5f3d3a],'isForwarded':!0x1});}[_0x399f16(0x4da)](_0x36d1b5){const _0x255055=_0x399f16;this[_0x255055(0x45a)][_0x255055(0x36a)](_0x36d1b5),this[_0x255055(0x45a)][_0x255055(0x446)]===0x0&&this[_0x255055(0x363)]&&window[_0x255055(0x44e)](this['_heartbeatTimer']);}['_init'](){const _0x391a6e=_0x399f16;this[_0x391a6e(0x586)](_0x4f08d1[_0x391a6e(0x3fd)](_0x2b43af['fromEvent'](window,_0x391a6e(0x32a))['subscribe'](_0x1afe63=>{const _0x4b89c2=_0x391a6e;if(_0x1afe63[_0x4b89c2(0x4e5)]!==_0x3f5599||!_0x1afe63['newValue'])return;const _0x40278f=JSON[_0x4b89c2(0x539)](_0x1afe63['newValue']);this[_0x4b89c2(0x4d4)](_0x40278f);}))),window[_0x391a6e(0x295)](_0x391a6e(0x404),()=>this[_0x391a6e(0x62c)]({'type':0x1,'memberID':this[_0x391a6e(0x332)],'unitIDs':Array[_0x391a6e(0x29b)](this[_0x391a6e(0x45a)])}));}['_handleEvent'](_0x5c7eb5){const _0x14c879=_0x399f16;switch(_0x5c7eb5[_0x14c879(0x39a)]){case 0x0:this[_0x14c879(0x59f)](_0x5c7eb5);break;case 0x1:this[_0x14c879(0x5f8)](_0x5c7eb5);break;case 0x2:this[_0x14c879(0x4fc)](_0x5c7eb5);break;}}['_handleJoinEvent'](_0x7e93be){const _0x3fddc9=_0x399f16,{unitIDs:_0x18a513,memberID:_0xb6ae1d,isForwarded:_0x396615}=_0x7e93be;_0x18a513[_0x3fddc9(0x4b6)](_0x4c8e77=>{const _0x6df45c=_0x3fddc9;if(!_0x396615&&this[_0x6df45c(0x3dc)]['has'](_0x4c8e77)&&this[_0x6df45c(0x30e)](_0x4c8e77)['next'](0x1),!this[_0x6df45c(0x3dc)][_0x6df45c(0x61b)](_0x4c8e77)||!this['_unitOnClients'][_0x6df45c(0x515)](_0x4c8e77)['has'](_0xb6ae1d)){const _0x2dc771=this[_0x6df45c(0x3dc)][_0x6df45c(0x515)](_0x4c8e77)||new Set();_0x2dc771[_0x6df45c(0x666)](_0xb6ae1d),this['_unitOnClients'][_0x6df45c(0x3be)](_0x4c8e77,_0x2dc771),this['_scheduleClearOtherTimer'](_0xb6ae1d);}}),_0x396615||this[_0x3fddc9(0x62c)]({'type':0x0,'memberID':this[_0x3fddc9(0x332)],'unitIDs':[...this[_0x3fddc9(0x45a)]],'isForwarded':!0x0});}[_0x399f16(0x35a)](_0x2e9de1){const _0x5c63c6=_0x399f16;this[_0x5c63c6(0x4c5)](_0x2e9de1);const _0x46b084=window['setTimeout'](()=>{const _0x4b90cf=_0x5c63c6;this[_0x4b90cf(0x3dc)]['forEach'](_0x46a5b2=>{_0x46a5b2['delete'](_0x2e9de1);});},_0x15d5ea*0x2);this[_0x5c63c6(0x52c)][_0x5c63c6(0x3be)](_0x2e9de1,_0x46b084);}[_0x399f16(0x4c5)](_0x2a84fe){const _0x23cbe3=_0x399f16;if(this[_0x23cbe3(0x52c)][_0x23cbe3(0x61b)](_0x2a84fe)){const _0x4c93e1=this[_0x23cbe3(0x52c)][_0x23cbe3(0x515)](_0x2a84fe);_0x4c93e1&&window[_0x23cbe3(0x378)](_0x4c93e1),this[_0x23cbe3(0x52c)][_0x23cbe3(0x3be)](_0x2a84fe,null);}}[_0x399f16(0x5f8)](_0x485d25){const _0x1d2a90=_0x399f16,{memberID:_0x17c3dc,unitIDs:_0x54e4a9}=_0x485d25;_0x54e4a9[_0x1d2a90(0x4b6)](_0x3db8bb=>{const _0x5d6bfd=_0x1d2a90;var _0x53d2bb;const _0x16836b=this[_0x5d6bfd(0x3dc)][_0x5d6bfd(0x515)](_0x3db8bb);_0x16836b&&(_0x16836b[_0x5d6bfd(0x36a)](_0x17c3dc),(_0x53d2bb=this[_0x5d6bfd(0x30e)](_0x3db8bb))==null||_0x53d2bb['next'](_0x16836b[_0x5d6bfd(0x446)]===0x0?0x0:0x1));}),this[_0x1d2a90(0x4c5)](_0x17c3dc);}[_0x399f16(0x4fc)](_0x59da92){const _0x967ec4=_0x399f16;this['_scheduleClearOtherTimer'](_0x59da92[_0x967ec4(0x3e5)]);}[_0x399f16(0x62c)](_0x3dfb93){const _0x59d728=_0x399f16;localStorage[_0x59d728(0x213)](_0x3f5599,JSON[_0x59d728(0x2a1)](_0x3dfb93));}[_0x399f16(0x47f)](){const _0x2088d3=_0x399f16;this[_0x2088d3(0x363)]=window['setInterval'](()=>{const _0xf36c4e=_0x2088d3;this['_send']({'type':0x2,'memberID':this[_0xf36c4e(0x332)]});},_0x15d5ea);}[_0x399f16(0x30e)](_0x4d31b8){const _0x107df8=_0x399f16;return this[_0x107df8(0x495)][_0x107df8(0x61b)](_0x4d31b8)||this[_0x107df8(0x495)][_0x107df8(0x3be)](_0x4d31b8,new _0x2b43af[(_0x107df8(0x347))](0x0)),this['_unitStatus'][_0x107df8(0x515)](_0x4d31b8);}}var _0x2f0f90=Object[_0x399f16(0x30f)],_0x41af52=Object[_0x399f16(0x468)],_0x43852f=(_0x2503a0,_0x36dba1,_0x3d46e8,_0x1f32b9)=>{const _0xe0b9bc=_0x399f16;for(var _0x3e3ff3=_0x1f32b9>0x1?void 0x0:_0x1f32b9?_0x41af52(_0x36dba1,_0x3d46e8):_0x36dba1,_0xf00ec7=_0x2503a0[_0xe0b9bc(0x4ba)]-0x1,_0xcc10d3;_0xf00ec7>=0x0;_0xf00ec7--)(_0xcc10d3=_0x2503a0[_0xf00ec7])&&(_0x3e3ff3=(_0x1f32b9?_0xcc10d3(_0x36dba1,_0x3d46e8,_0x3e3ff3):_0xcc10d3(_0x3e3ff3))||_0x3e3ff3);return _0x1f32b9&&_0x3e3ff3&&_0x2f0f90(_0x36dba1,_0x3d46e8,_0x3e3ff3),_0x3e3ff3;},_0x7692f8=(_0x2406bf,_0x74722b)=>(_0x43ac92,_0x309ef7)=>_0x74722b(_0x43ac92,_0x309ef7,_0x2406bf);let _0x39f959=class{constructor(_0x23c20c,_0x43e47b,_0x5348f2){const _0x3bce22=_0x399f16;this[_0x3bce22(0x50d)]=_0x23c20c,this[_0x3bce22(0x514)]=_0x43e47b,this['_docStateChangeManagerService']=_0x5348f2;}[_0x399f16(0x2cf)](_0xbc1154){this['_transformHistoryAndStateStack'](_0xbc1154);}[_0x399f16(0x34b)](_0x520df7){const _0x26d43e=_0x399f16,{unitID:_0x21d5f5}=_0x520df7,{collaboration:_0x110993}=this[_0x26d43e(0x5c1)][_0x26d43e(0x26f)](_0x21d5f5);if(_0x110993[_0x26d43e(0x4ba)]===0x0)return _0x520df7;let _0x5c5c6e=_0x4f08d1['Tools'][_0x26d43e(0x210)](_0x520df7['mutations'][0x0]);for(let _0x1bbcbe=0x0;_0x1bbcbe<_0x110993[_0x26d43e(0x4ba)];_0x1bbcbe++){const _0x587df7={'id':_0x26d43e(0x441),'params':{'unitId':_0x110993[_0x1bbcbe][_0x26d43e(0x41a)],..._0x110993[_0x1bbcbe]['redoState']}},_0x441b4c=this[_0x26d43e(0x514)][_0x26d43e(0x233)](_0x5c5c6e,_0x587df7,!0x1);if(_0x1b0275[_0x26d43e(0x277)](_0x441b4c))throw _0x441b4c[_0x26d43e(0x5d4)];_0x5c5c6e=_0x441b4c[_0x26d43e(0x63b)];}return{..._0x4f08d1[_0x26d43e(0x370)]['deepClone'](_0x520df7),'mutations':[_0x5c5c6e]};}[_0x399f16(0x394)](_0x49dd69){const _0x21458d=_0x399f16,{unitID:_0x1adcb8}=_0x49dd69,{history:_0x56f3e1,collaboration:_0x5b868f}=this[_0x21458d(0x5c1)][_0x21458d(0x26f)](_0x1adcb8);if(_0x56f3e1['length']===0x0&&_0x5b868f[_0x21458d(0x4ba)]===0x0)return;const _0x23b19d=[],_0x50de1a=[];let _0x5c5995=_0x4f08d1[_0x21458d(0x370)][_0x21458d(0x210)](_0x49dd69[_0x21458d(0x5fc)][0x0]),_0x462b06=_0x4f08d1[_0x21458d(0x370)][_0x21458d(0x210)](_0x49dd69['mutations'][0x0]);for(let _0x40fcc2=_0x56f3e1[_0x21458d(0x4ba)]-0x1;_0x40fcc2>=0x0;_0x40fcc2--){const _0x3a8059={'id':_0x21458d(0x441),'params':{'unitId':_0x56f3e1[_0x40fcc2][_0x21458d(0x41a)],..._0x56f3e1[_0x40fcc2][_0x21458d(0x43d)]}},_0x33f6d9={'id':_0x21458d(0x441),'params':{'unitId':_0x56f3e1[_0x40fcc2][_0x21458d(0x41a)],..._0x56f3e1[_0x40fcc2][_0x21458d(0x66b)]}},_0x9e6854=this[_0x21458d(0x514)]['transformMutation'](_0x5c5995,_0x3a8059,!0x1),_0x329d14=this[_0x21458d(0x514)]['transformMutation'](_0x462b06,_0x33f6d9,!0x1);if(_0x1b0275[_0x21458d(0x277)](_0x9e6854))throw _0x9e6854['error'];if(_0x1b0275[_0x21458d(0x277)](_0x329d14))throw _0x329d14[_0x21458d(0x5d4)];_0x23b19d[_0x21458d(0x639)]({..._0x56f3e1[_0x40fcc2],'undoState':_0x9e6854[_0x21458d(0x532)]['params'],'redoState':_0x329d14[_0x21458d(0x532)][_0x21458d(0x477)]}),_0x5c5995=_0x9e6854['m1Prime'],_0x462b06=_0x329d14[_0x21458d(0x63b)];}_0x5c5995=_0x4f08d1[_0x21458d(0x370)][_0x21458d(0x210)](_0x49dd69[_0x21458d(0x5fc)][0x0]),_0x462b06=_0x4f08d1['Tools']['deepClone'](_0x49dd69[_0x21458d(0x5fc)][0x0]);for(let _0x4ca174=_0x5b868f[_0x21458d(0x4ba)]-0x1;_0x4ca174>=0x0;_0x4ca174--){const _0x56d36a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5b868f[_0x4ca174][_0x21458d(0x41a)],..._0x5b868f[_0x4ca174][_0x21458d(0x43d)]}},_0x786a28={'id':_0x21458d(0x441),'params':{'unitId':_0x5b868f[_0x4ca174]['unitId'],..._0x5b868f[_0x4ca174]['redoState']}},_0x2c9255=this['_transformService'][_0x21458d(0x233)](_0x5c5995,_0x56d36a,!0x1),_0x3d481b=this[_0x21458d(0x514)][_0x21458d(0x233)](_0x462b06,_0x786a28,!0x1);if(_0x1b0275['isTransformMutationFailure'](_0x2c9255))throw _0x2c9255[_0x21458d(0x5d4)];if(_0x1b0275['isTransformMutationFailure'](_0x3d481b))throw _0x3d481b[_0x21458d(0x5d4)];_0x50de1a[_0x21458d(0x639)]({..._0x5b868f[_0x4ca174],'undoState':_0x2c9255[_0x21458d(0x532)][_0x21458d(0x477)],'redoState':_0x3d481b[_0x21458d(0x532)][_0x21458d(0x477)]}),_0x5c5995=_0x2c9255[_0x21458d(0x63b)],_0x462b06=_0x3d481b[_0x21458d(0x63b)];}this[_0x21458d(0x5c1)][_0x21458d(0x526)](_0x1adcb8,{'history':_0x23b19d,'collaboration':_0x50de1a});}};_0x39f959=_0x43852f([_0x7692f8(0x0,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x7692f8(0x1,_0x1b0275['ITransformService']),_0x7692f8(0x2,_0x4f08d1[_0x399f16(0x6b5)](_0x5626ef[_0x399f16(0x247)]))],_0x39f959);function _0x127a79(_0x36b6bc){const _0x4d676a=_0x399f16;let _0x2624ec='';for(const _0x450d20 of _0x36b6bc){const {startOffset:_0x133422,endOffset:_0x180504,isActive:_0x34f0bf,rangeType:_0x2d117e,segmentId:_0x3c9f63,segmentPage:_0x18b32e}=_0x450d20;_0x2624ec[_0x4d676a(0x4ba)]&&(_0x2624ec+=','),_0x2624ec+=_0x133422+':'+_0x180504+':'+(_0x34f0bf?'1':'0')+':'+_0x2d117e+':'+_0x3c9f63+':'+_0x18b32e;}return _0x2624ec;}function _0x8f0a88(_0x274a7c){const _0x57af25=_0x399f16,_0x32a1f2=_0x274a7c[_0x57af25(0x359)](','),_0x337c10=[];for(const _0x2aa27a of _0x32a1f2){const [_0x1cbc6a,_0x96201d,_0x129732,_0x2164de,_0x4782d9,_0x956766]=_0x2aa27a[_0x57af25(0x359)](':');_0x337c10['push']({'startOffset':Number(_0x1cbc6a),'endOffset':Number(_0x96201d),'collapsed':_0x1cbc6a===_0x96201d,'isActive':_0x129732==='1','rangeType':_0x2164de===_0x4f08d1[_0x57af25(0x49f)][_0x57af25(0x442)]?_0x4f08d1['DOC_RANGE_TYPE'][_0x57af25(0x442)]:_0x4f08d1[_0x57af25(0x49f)][_0x57af25(0x40d)],'segmentId':typeof _0x4782d9=='string'?String(_0x4782d9):'','segmentPage':Number(_0x956766!=null?_0x956766:-0x1)});}return _0x337c10[_0x57af25(0x269)](_0x1eb147=>_0x1eb147[_0x57af25(0x482)])||(_0x337c10[0x0][_0x57af25(0x482)]=!0x0),_0x337c10;}class _0xc3c881 extends _0x4f08d1['RxDisposable']{constructor(){const _0x52d616=_0x399f16;super(...arguments),_0x4185c3(this,_0x52d616(0x3ef),new _0x2b43af[(_0x52d616(0x347))](null)),_0x4185c3(this,_0x52d616(0x6cc),this[_0x52d616(0x3ef)][_0x52d616(0x461)]());}[_0x399f16(0x243)](_0x2e5b46){const _0x2101c3=_0x399f16,{unitID:_0x4f0ee7,memberID:_0x450815,textRanges:_0xa0f71e}=_0x2e5b46,_0x3a8a3b=_0x127a79(_0xa0f71e);if(_0x3a8a3b==='')return;const _0x5b9ddd={'unitID':_0x4f0ee7,'memberID':_0x450815,'selection':_0x3a8a3b};this['_collabCursorState$'][_0x2101c3(0x683)](_0x5b9ddd);}}var _0xe2b663=Object['defineProperty'],_0x1d707a=Object['getOwnPropertyDescriptor'],_0x5cf5ee=(_0x4ce703,_0x2763ff,_0x2b8d16,_0x53212e)=>{for(var _0x215de0=_0x53212e>0x1?void 0x0:_0x53212e?_0x1d707a(_0x2763ff,_0x2b8d16):_0x2763ff,_0x385f8e=_0x4ce703['length']-0x1,_0x27ffcb;_0x385f8e>=0x0;_0x385f8e--)(_0x27ffcb=_0x4ce703[_0x385f8e])&&(_0x215de0=(_0x53212e?_0x27ffcb(_0x2763ff,_0x2b8d16,_0x215de0):_0x27ffcb(_0x215de0))||_0x215de0);return _0x53212e&&_0x215de0&&_0xe2b663(_0x2763ff,_0x2b8d16,_0x215de0),_0x215de0;},_0x1cdc92=(_0x32b3e7,_0xa1b1e0)=>(_0x195028,_0x3be3df)=>_0xa1b1e0(_0x195028,_0x3be3df,_0x32b3e7);let _0x1377a5=class{constructor(_0x3eb341,_0x14045f){const _0x259134=_0x399f16;this[_0x259134(0x50d)]=_0x3eb341,this[_0x259134(0x514)]=_0x14045f;}['transformSelections'](_0x31835b){const _0x1b4fd7=_0x399f16;var _0x35b312;const _0x119e76=this[_0x1b4fd7(0x50d)]['get'](_0x119b0c[_0x1b4fd7(0x438)]),_0x438c19=(_0x35b312=_0x119e76['getDocRanges']())!=null?_0x35b312:[];if(_0x438c19[_0x1b4fd7(0x4ba)]===0x0)return;const _0x49f00d=_0x31835b[_0x1b4fd7(0x5dd)],_0x2fcce6=[{'id':_0x1b4fd7(0x441),'params':{'unitId':_0x49f00d,'actions':null,'textRanges':_0x438c19}}],_0xfb6cb4=this[_0x1b4fd7(0x514)][_0x1b4fd7(0x65c)](_0x31835b,_0x2fcce6);if(!_0x1b0275['isTransformMutationsWithChangesetSuccess'](_0xfb6cb4))throw _0xfb6cb4[_0x1b4fd7(0x5d4)];const _0x94ec62=_0xfb6cb4[_0x1b4fd7(0x532)][0x0][_0x1b4fd7(0x477)][_0x1b4fd7(0x587)];Array['isArray'](_0x94ec62)&&_0x94ec62['length']&&_0x119e76[_0x1b4fd7(0x4ed)](_0x94ec62,{'unitId':_0x49f00d,'subUnitId':_0x49f00d},!0x1);}};_0x1377a5=_0x5cf5ee([_0x1cdc92(0x0,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x1cdc92(0x1,_0x1b0275[_0x399f16(0x467)])],_0x1377a5);const _0x3a1966=new Set([_0x5acd2f[_0x399f16(0x245)]['id']]);function _0x29f979(_0x357521,_0x51da07,_0x15ee95,_0x2e0459,_0x24af47){const _0x1ff558=_0x399f16;var _0x410bd7,_0x121f5c,_0x149ee1,_0x7f58f2;const _0x3e100b=[];for(const _0x5f33fe of _0x357521)if(_0x3a1966['has'](_0x5f33fe['id'])){if(_0x3e100b[_0x1ff558(0x4ba)]>0x0)break;_0x3e100b[_0x1ff558(0x597)](_0x5f33fe);break;}else _0x3e100b[_0x1ff558(0x597)](_0x5f33fe);const _0x8d9056=(_0x121f5c=(_0x410bd7=_0x24af47[_0x1ff558(0x256)]())==null?void 0x0:_0x410bd7[_0x1ff558(0x33e)])!=null?_0x121f5c:_0x1ff558(0x293),_0x2076f7=(_0x7f58f2=(_0x149ee1=_0x24af47[_0x1ff558(0x256)]())==null?void 0x0:_0x149ee1[_0x1ff558(0x3e5)])!=null?_0x7f58f2:_0x1ff558(0x293);return{'changeset':{'unitID':_0x51da07,'type':_0x1b0275[_0x1ff558(0x2b7)](_0x15ee95[_0x1ff558(0x55e)](_0x51da07)),'baseRev':_0x2e0459[_0x1ff558(0x2c5)](_0x51da07),'revision':0x0,'userID':_0x8d9056,'memberID':_0x2076f7,'mutations':_0x3e100b},'pendingMutations':_0x357521[_0x1ff558(0x31a)](_0x3e100b[_0x1ff558(0x4ba)])};}function _0x438608(_0x3ed2f1,_0x3005dc,_0x127a25,_0x27ae27,_0x38fe15){const _0x5d67a7=_0x399f16;var _0x3fdd42,_0x360bdf,_0x3a1c38,_0x11bf98;const _0x151d66=[_0x3ed2f1['reduce']((_0x1edeca,_0x366526)=>{const _0x4f0798=_0x5a32;var _0x22cd55;const {id:_0x3a45b6}=_0x1edeca,{id:_0x50c7ed,type:_0x430022}=_0x366526,_0x4b948d=(_0x22cd55=_0x1edeca[_0x4f0798(0x477)])!=null?_0x22cd55:{'actions':null},_0x4769d1=_0x366526[_0x4f0798(0x477)];if(_0x3a45b6&&_0x3a45b6!==_0x50c7ed)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3a45b6+_0x4f0798(0x3cf)+_0x50c7ed+'.');return{..._0x1edeca,'id':_0x50c7ed,'type':_0x430022,'params':{'unitId':_0x4769d1[_0x4f0798(0x41a)],'textRanges':_0x4769d1[_0x4f0798(0x587)],'actions':_0x4f08d1['JSONX'][_0x4f0798(0x652)](_0x4b948d['actions'],_0x4769d1['actions'])}};},{})],_0x281084=(_0x360bdf=(_0x3fdd42=_0x38fe15['getCurrentUser']())==null?void 0x0:_0x3fdd42[_0x5d67a7(0x33e)])!=null?_0x360bdf:'unknown',_0x39e724=(_0x11bf98=(_0x3a1c38=_0x38fe15['getCurrentUser']())==null?void 0x0:_0x3a1c38[_0x5d67a7(0x3e5)])!=null?_0x11bf98:'unknown';return{'changeset':{'unitID':_0x3005dc,'type':_0x1b0275[_0x5d67a7(0x2b7)](_0x127a25[_0x5d67a7(0x55e)](_0x3005dc)),'baseRev':_0x27ae27[_0x5d67a7(0x2c5)](_0x3005dc),'revision':0x0,'userID':_0x281084,'memberID':_0x39e724,'mutations':_0x151d66},'pendingMutations':[]};}function _0x4c051d(_0x3aa4c4,_0x317608){const _0x24a3f2=_0x399f16,_0x1bcab4=new _0x2b43af['ReplaySubject'](0x1);return setTimeout(()=>_0x1bcab4['next'](_0x317608),_0x3aa4c4),_0x1bcab4[_0x24a3f2(0x461)]()[_0x24a3f2(0x3d3)](_0x2b43af['take'](0x1));}const _0x488d7c={'id':_0x5acd2f[_0x399f16(0x5b6)]['id'],'type':_0x4f08d1['CommandType'][_0x399f16(0x657)],'params':{}};var _0x5374fd=Object[_0x399f16(0x30f)],_0x3d6147=Object[_0x399f16(0x468)],_0x3c6c22=(_0x87a3a2,_0x1a8b41,_0x338aea,_0x4a9c98)=>{const _0x384e7a=_0x399f16;for(var _0x32623b=_0x4a9c98>0x1?void 0x0:_0x4a9c98?_0x3d6147(_0x1a8b41,_0x338aea):_0x1a8b41,_0x4d1201=_0x87a3a2[_0x384e7a(0x4ba)]-0x1,_0x50945f;_0x4d1201>=0x0;_0x4d1201--)(_0x50945f=_0x87a3a2[_0x4d1201])&&(_0x32623b=(_0x4a9c98?_0x50945f(_0x1a8b41,_0x338aea,_0x32623b):_0x50945f(_0x32623b))||_0x32623b);return _0x4a9c98&&_0x32623b&&_0x5374fd(_0x1a8b41,_0x338aea,_0x32623b),_0x32623b;},_0x44fd2b=(_0x257823,_0x3954a8)=>(_0x566f19,_0x5d60a1)=>_0x3954a8(_0x566f19,_0x5d60a1,_0x257823),_0x3fce9b=(_0xb66e8=>(_0xb66e8[_0x399f16(0x519)]=_0x399f16(0x4cf),_0xb66e8[_0x399f16(0x6a4)]=_0x399f16(0x50f),_0xb66e8['PENDING']=_0x399f16(0x45e),_0xb66e8[_0x399f16(0x47e)]=_0x399f16(0x1fe),_0xb66e8['AWAITING_WITH_PENDING']=_0x399f16(0x262),_0xb66e8['FETCH_MISS']=_0x399f16(0x458),_0xb66e8['CONFLICT']=_0x399f16(0x661),_0xb66e8[_0x399f16(0x246)]=_0x399f16(0x54d),_0xb66e8))(_0x3fce9b||{});const _0x3c3747=0xea60;class _0x3b6e73{constructor(_0x3516c1,_0x3c0305,_0x5077d0,_0x5bbd43,_0x5491e8,_0x2240f9,_0x508d98,_0x39238b,_0x43a39b){const _0x267fa8=_0x399f16;_0x4185c3(this,_0x267fa8(0x33d),null),_0x4185c3(this,'_pendingMutations',[]),(this[_0x267fa8(0x5dd)]=_0x3516c1,this[_0x267fa8(0x39a)]=_0x3c0305,this[_0x267fa8(0x624)]=_0x5491e8,this[_0x267fa8(0x6a8)]=_0x2240f9,this[_0x267fa8(0x488)]=_0x508d98,this[_0x267fa8(0x3ea)]=_0x39238b,this[_0x267fa8(0x40b)]=_0x43a39b,this[_0x267fa8(0x33d)]=_0x5077d0,this['_pendingMutations']=_0x5bbd43);}[_0x399f16(0x26c)](_0x3a6c39){const _0x2414fe=_0x399f16,_0x4c25e9=this[_0x2414fe(0x3ea)]['getCurrentRevOfUnit'](this[_0x2414fe(0x5dd)]);return _0x3a6c39[_0x2414fe(0x33c)]>_0x4c25e9+0x1?(this[_0x2414fe(0x624)]['onMissingChangesets']({'from':_0x4c25e9,'to':_0x3a6c39['revision']-0x1}),!0x0):!0x1;}[_0x399f16(0x3f1)](_0x1602bd){const _0x57abf0=_0x399f16;this[_0x57abf0(0x488)][_0x57abf0(0x543)](this[_0x57abf0(0x5dd)],_0x1602bd);}[_0x399f16(0x5bf)](_0x5c9085){const _0x492039=_0x399f16;var _0xdd602,_0x224eb9;(_0x224eb9=(_0xdd602=this['_handler'])[_0x492039(0x545)])==null||_0x224eb9[_0x492039(0x55c)](_0xdd602,_0x5c9085);}[_0x399f16(0x56c)](_0x40ee51){const _0x369a20=_0x399f16;var _0x49221e,_0x2b4edc;return(_0x2b4edc=(_0x49221e=this[_0x369a20(0x624)])[_0x369a20(0x5a8)])==null?void 0x0:_0x2b4edc[_0x369a20(0x55c)](_0x49221e,_0x40ee51);}[_0x399f16(0x484)](_0x5ea778){const _0x459fff=_0x399f16;var _0x59e020,_0xa0059;return(_0xa0059=(_0x59e020=this[_0x459fff(0x624)])[_0x459fff(0x533)])==null?void 0x0:_0xa0059[_0x459fff(0x55c)](_0x59e020,_0x5ea778);}[_0x399f16(0x2c2)](_0x4d46d3){const _0x5c3511=_0x399f16;var _0x47b66a,_0xdb5ee2,_0x125247;return(_0x125247=(_0xdb5ee2=(_0x47b66a=this['_handler'])[_0x5c3511(0x4b9)])==null?void 0x0:_0xdb5ee2[_0x5c3511(0x55c)](_0x47b66a,_0x4d46d3))!=null?_0x125247:_0x4d46d3;}['_transformRemoteChangesetByStateCache'](_0x3171d7){const _0x351660=_0x399f16;var _0x26ff26,_0x270821,_0x2204bc;return(_0x2204bc=(_0x270821=(_0x26ff26=this['_handler'])[_0x351660(0x669)])==null?void 0x0:_0x270821[_0x351660(0x55c)](_0x26ff26,_0x3171d7))!=null?_0x2204bc:_0x3171d7;}[_0x399f16(0x43c)](_0x5e8e92){const _0x4ab724=_0x399f16;var _0x43fefa,_0x4a3230;if(this[_0x4ab724(0x39a)]===_0x478433[_0x4ab724(0x3e3)]){const {unitID:_0x4f0665,mutations:_0x2363dd,memberID:_0x3fe3f0}=_0x5e8e92,_0x48ff06=_0x2363dd[0x0][_0x4ab724(0x477)]['textRanges'];Array['isArray'](_0x48ff06)&&_0x48ff06['length']>0x0&&((_0x4a3230=(_0x43fefa=this[_0x4ab724(0x624)])['onSyncEditingCollabCursor'])==null||_0x4a3230['call'](_0x43fefa,{'unitID':_0x4f0665,'memberID':_0x3fe3f0,'textRanges':_0x48ff06}));}}[_0x399f16(0x4e8)](){const _0x2a4259=_0x399f16;this[_0x2a4259(0x40b)][_0x2a4259(0x48e)](this[_0x2a4259(0x5dd)],this[_0x2a4259(0x39a)],this[_0x2a4259(0x33d)],this[_0x2a4259(0x2e8)]);}[_0x399f16(0x3f5)](){const _0x28e6d1=_0x399f16;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x28e6d1(0x5dd)]);}[_0x399f16(0x25a)](){const _0x275815=_0x399f16;this[_0x275815(0x3ea)][_0x275815(0x589)](this['unitID']);}[_0x399f16(0x69b)](_0x10cb99){const _0x49c1e0=_0x399f16;var _0x50ee0c;let _0xebe85b=this[_0x49c1e0(0x2c2)](_0x10cb99);_0xebe85b=this[_0x49c1e0(0x2b2)](_0xebe85b);const _0x589277=_0x4f08d1[_0x49c1e0(0x641)](_0xebe85b[_0x49c1e0(0x5fc)],this['_commandService'],{'fromCollab':!0x0});if(!_0x589277[_0x49c1e0(0x5b5)])throw _0x589277[_0x49c1e0(0x5d4)]instanceof Error?_0x589277[_0x49c1e0(0x5d4)]:new Error((_0x50ee0c=_0x589277[_0x49c1e0(0x5d4)])!=null?_0x50ee0c:_0x49c1e0(0x32f));this[_0x49c1e0(0x56c)](_0xebe85b),this[_0x49c1e0(0x484)](_0xebe85b),this[_0x49c1e0(0x3f1)](_0x10cb99),this[_0x49c1e0(0x5bf)](_0xebe85b),this['_syncEditingCollabCursor'](_0xebe85b),this[_0x49c1e0(0x25a)]();}}let _0x3b019d=class extends _0x3b6e73{constructor(_0x2be86d,_0x4b06a8,_0x7fe55c,_0x3aab65,_0x4068c5,_0x3ef213,_0x2f5960,_0xefe809,_0x24e3d9,_0x139f18){const _0x49b258=_0x399f16;super(_0x2be86d,_0x4b06a8,null,[],_0x7fe55c,_0xefe809,_0x2f5960,_0x3aab65,_0x4068c5),_0x4185c3(this,_0x49b258(0x696),'synced'),(this[_0x49b258(0x50d)]=_0x3ef213,this['_logService']=_0x24e3d9,this[_0x49b258(0x514)]=_0x139f18);}[_0x399f16(0x688)](_0x5e9883){const _0x5b9278=_0x399f16,_0x3f9dc2=this[_0x5b9278(0x50d)][_0x5b9278(0x3d7)](_0x53ec49,this[_0x5b9278(0x5dd)],this[_0x5b9278(0x39a)],[_0x5e9883],this[_0x5b9278(0x624)]);return _0x3f9dc2[_0x5b9278(0x637)](),_0x3f9dc2[_0x5b9278(0x4e8)](),_0x3f9dc2;}[_0x399f16(0x3ac)](_0x2345a9){const _0x35980a=_0x399f16;if(this[_0x35980a(0x26c)](_0x2345a9))return this['_injector'][_0x35980a(0x3d7)](_0x42ac2c,this[_0x35980a(0x5dd)],this[_0x35980a(0x39a)],null,[],null,[_0x2345a9],this[_0x35980a(0x624)]);try{const _0x45e596=this['_transformService'][_0x35980a(0x65c)](_0x2345a9,[_0x488d7c]);if(_0x1b0275['isTransformMutationsWithChangesetSuccess'](_0x45e596)){const {c1Prime:_0x120f65}=_0x45e596;return this[_0x35980a(0x69b)](_0x120f65),this;}throw _0x45e596[_0x35980a(0x5d4)];}catch(_0x483295){return this[_0x35980a(0x3ce)][_0x35980a(0x5d4)](_0x483295),this['_onConflict'](!0x1);}}['_onConflict'](_0x21e547){const _0xddd36a=_0x399f16;return this[_0xddd36a(0x50d)]['createInstance'](_0x20ab23,this[_0xddd36a(0x5dd)],this[_0xddd36a(0x39a)],null,[],this[_0xddd36a(0x624)],_0x21e547);}['onRemoteAck'](){const _0x29cd68=_0x399f16;throw new Error(_0x29cd68(0x3ca));}[_0x399f16(0x5e7)](){const _0x1d4235=_0x399f16;throw new Error(_0x1d4235(0x55b));}[_0x399f16(0x67b)](){return this;}['toggleOffline'](){const _0x51dfca=_0x399f16;return this['_injector'][_0x51dfca(0x3d7)](_0x5a34d9,this[_0x51dfca(0x5dd)],this[_0x51dfca(0x39a)],null,[],this['_handler']);}[_0x399f16(0x413)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x399f16(0x6b6)](){const _0x4d54a8=_0x399f16,_0x5eb739=this[_0x4d54a8(0x3ea)][_0x4d54a8(0x2c5)](this[_0x4d54a8(0x5dd)]);return this[_0x4d54a8(0x624)][_0x4d54a8(0x574)]({'from':_0x5eb739,'to':0x0}),this[_0x4d54a8(0x50d)][_0x4d54a8(0x3d7)](_0x42ac2c,this['unitID'],this[_0x4d54a8(0x39a)],null,[],null,[],this[_0x4d54a8(0x624)]);}};_0x3b019d=_0x3c6c22([_0x44fd2b(0x3,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275['RevisionService'])),_0x44fd2b(0x4,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf['LocalCacheService'])),_0x44fd2b(0x5,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x44fd2b(0x6,_0x4f08d1[_0x399f16(0x52e)]),_0x44fd2b(0x7,_0x4f08d1[_0x399f16(0x496)]),_0x44fd2b(0x8,_0x4f08d1[_0x399f16(0x668)]),_0x44fd2b(0x9,_0x1b0275[_0x399f16(0x467)])],_0x3b019d);let _0x53ec49=class extends _0x3b6e73{constructor(_0x3cfd9f,_0x19d093,_0x4c2195,_0x45c9d1,_0x312ebb,_0x329d76,_0x33b738,_0x5395e4,_0x31b8b6,_0x17f45c,_0x4791ae,_0x515914,_0x3f7e4f,_0x1c61b6){const _0x4517a4=_0x399f16;super(_0x3cfd9f,_0x19d093,null,_0x4c2195,_0x45c9d1,_0x17f45c,_0x1c61b6,_0x329d76,_0x33b738),_0x4185c3(this,'status',_0x4517a4(0x45e)),_0x4185c3(this,_0x4517a4(0x224),null),_0x4185c3(this,'_sendingTimer',null),(this['_injector']=_0x312ebb,this['_memberService']=_0x5395e4,this['_logService']=_0x31b8b6,this['_configService']=_0x4791ae,this[_0x4517a4(0x514)]=_0x515914,this[_0x4517a4(0x47a)]=_0x3f7e4f);}['appendMutation'](_0x65fa95){const _0x12b793=_0x399f16;return this[_0x12b793(0x2e8)][_0x12b793(0x597)](_0x65fa95),this[_0x12b793(0x4e8)](),this;}['onRemoteChangeset'](_0x2edfee){const _0x42e8a7=_0x399f16;if(this[_0x42e8a7(0x26c)](_0x2edfee))return this[_0x42e8a7(0x3fc)](),this[_0x42e8a7(0x50d)][_0x42e8a7(0x3d7)](_0x42ac2c,this[_0x42e8a7(0x5dd)],this[_0x42e8a7(0x39a)],null,this[_0x42e8a7(0x2e8)],null,[_0x2edfee],this[_0x42e8a7(0x624)]);try{const _0x1d53c0=this[_0x42e8a7(0x514)]['transformMutationsWithChangeset'](_0x2edfee,this[_0x42e8a7(0x2e8)]);if(_0x1b0275['isTransformMutationsWithChangesetSuccess'](_0x1d53c0)){const {c1Prime:_0x1328e0,m2Prime:_0x192415}=_0x1d53c0;this['_executeRemoteChangeset'](_0x1328e0);const _0x1ea2e1=this[_0x42e8a7(0x50d)][_0x42e8a7(0x3d7)](_0x53ec49,this['unitID'],this[_0x42e8a7(0x39a)],_0x192415,this['_handler']);return this['_clearScheduledTask'](),_0x1ea2e1[_0x42e8a7(0x637)](this[_0x42e8a7(0x224)]?Math[_0x42e8a7(0x46c)](0x0,new Date()[_0x42e8a7(0x3a0)]()-this[_0x42e8a7(0x224)]):this['_getSendChangesetTimeout']()),_0x1ea2e1;}throw _0x1d53c0[_0x42e8a7(0x5d4)];}catch(_0x575583){return this[_0x42e8a7(0x3ce)][_0x42e8a7(0x5d4)](_0x575583),this[_0x42e8a7(0x3f8)](!0x1);}}['onRemoteAck'](){const _0x44de37=_0x399f16;throw new Error(_0x44de37(0x65d));}[_0x399f16(0x5e7)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x399f16(0x67b)](){return this;}[_0x399f16(0x3c9)](){const _0xd16dc3=_0x399f16;return this[_0xd16dc3(0x3fc)](),this[_0xd16dc3(0x50d)][_0xd16dc3(0x3d7)](_0x5a34d9,this[_0xd16dc3(0x5dd)],this['type'],null,this['_pendingMutations'],this[_0xd16dc3(0x624)]);}[_0x399f16(0x413)](){return this;}['_schedule'](_0x4e000a){const _0x59c93e=_0x399f16,_0x160c6b=_0x4e000a!=null?_0x4e000a:this[_0x59c93e(0x5d5)]();this[_0x59c93e(0x224)]=new Date()[_0x59c93e(0x3a0)](),this[_0x59c93e(0x1f7)]=window[_0x59c93e(0x3f0)](()=>{const _0x3bb156=_0x59c93e;this[_0x3bb156(0x3fc)]();let _0x4299b2=null;switch(this[_0x3bb156(0x39a)]){case _0x478433['UNIVER_SHEET']:{_0x4299b2=_0x29f979(this[_0x3bb156(0x2e8)],this[_0x3bb156(0x5dd)],this[_0x3bb156(0x47a)],this[_0x3bb156(0x3ea)],this[_0x3bb156(0x5d8)]);break;}case _0x478433[_0x3bb156(0x3e3)]:{this[_0x3bb156(0x2e8)][_0x3bb156(0x289)](_0x379998=>_0x379998['id']===_0x119b0c[_0x3bb156(0x46e)]['id'])?_0x4299b2=_0x438608(this['_pendingMutations'],this['unitID'],this[_0x3bb156(0x47a)],this[_0x3bb156(0x3ea)],this[_0x3bb156(0x5d8)]):_0x4299b2=_0x29f979(this[_0x3bb156(0x2e8)],this[_0x3bb156(0x5dd)],this[_0x3bb156(0x47a)],this[_0x3bb156(0x3ea)],this[_0x3bb156(0x5d8)]);break;}default:throw new Error(_0x3bb156(0x250)+this[_0x3bb156(0x39a)]+_0x3bb156(0x5e2));}const {changeset:_0x6231ad,pendingMutations:_0x32127a}=_0x4299b2;this['_handler'][_0x3bb156(0x509)](_0x6231ad);const _0x2aef66=_0x32127a[_0x3bb156(0x4ba)]?this[_0x3bb156(0x50d)][_0x3bb156(0x3d7)](_0x4cf8d2,this[_0x3bb156(0x5dd)],this[_0x3bb156(0x39a)],_0x6231ad,_0x32127a,this[_0x3bb156(0x624)],void 0x0):this['_injector'][_0x3bb156(0x3d7)](_0x14721e,this['unitID'],this[_0x3bb156(0x39a)],_0x6231ad,this['_handler']);_0x2aef66[_0x3bb156(0x4e8)](),this[_0x3bb156(0x624)][_0x3bb156(0x576)](this,_0x2aef66);},_0x160c6b);}[_0x399f16(0x5d5)](){const _0x515763=_0x399f16;var _0x2dae2f;const _0xcba2df=this['_configService']['getConfig'](_0x2db08d);return(_0x2dae2f=_0xcba2df==null?void 0x0:_0xcba2df[_0x515763(0x437)])!=null?_0x2dae2f:0x7d0;}[_0x399f16(0x253)](){const _0x294578=_0x399f16;throw new Error(_0x294578(0x40a));}[_0x399f16(0x3fc)](){const _0x4c1129=_0x399f16;this[_0x4c1129(0x1f7)]!=null&&(clearTimeout(this[_0x4c1129(0x1f7)]),this[_0x4c1129(0x1f7)]=null);}[_0x399f16(0x3f8)](_0x28731f){const _0x5f3c91=_0x399f16;return this['_clearScheduledTask'](),this[_0x5f3c91(0x50d)][_0x5f3c91(0x3d7)](_0x20ab23,this[_0x5f3c91(0x5dd)],this['type'],null,this['_pendingMutations'],this[_0x5f3c91(0x624)],_0x28731f);}};_0x53ec49=_0x3c6c22([_0x44fd2b(0x4,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x44fd2b(0x5,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275[_0x399f16(0x4bc)])),_0x44fd2b(0x6,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf[_0x399f16(0x381)])),_0x44fd2b(0x7,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf['MemberService'])),_0x44fd2b(0x8,_0x4f08d1[_0x399f16(0x668)]),_0x44fd2b(0x9,_0x4f08d1[_0x399f16(0x496)]),_0x44fd2b(0xa,_0x4f08d1[_0x399f16(0x4cb)]),_0x44fd2b(0xb,_0x1b0275[_0x399f16(0x467)]),_0x44fd2b(0xc,_0x4f08d1[_0x399f16(0x353)]),_0x44fd2b(0xd,_0x4f08d1[_0x399f16(0x52e)])],_0x53ec49);let _0x14721e=class extends _0x3b6e73{constructor(_0x2e6e4b,_0x246198,_0x353c17,_0x12224b,_0x84b571,_0x18b509,_0x23dc85,_0x211b4d,_0x2717e0,_0x2a7cac,_0x17dea6){const _0x22f4fc=_0x399f16;super(_0x2e6e4b,_0x246198,_0x353c17,[],_0x12224b,_0x211b4d,_0x17dea6,_0x18b509,_0x23dc85),_0x4185c3(this,_0x22f4fc(0x696),_0x22f4fc(0x1fe)),_0x4185c3(this,_0x22f4fc(0x457),0x0),_0x4185c3(this,'_resendTimer'),_0x4185c3(this,_0x22f4fc(0x5e5)),(this[_0x22f4fc(0x50d)]=_0x84b571,this[_0x22f4fc(0x3ce)]=_0x2717e0,this[_0x22f4fc(0x514)]=_0x2a7cac);}[_0x399f16(0x688)](_0x122493){const _0x413750=_0x399f16;this['_clearScheduledTask']();const _0x2238af=this['_injector'][_0x413750(0x3d7)](_0x4cf8d2,this[_0x413750(0x5dd)],this[_0x413750(0x39a)],this['_awaitingChangeset'],[_0x122493],this[_0x413750(0x624)],this[_0x413750(0x260)]);return _0x2238af['_updateLocalCache'](),_0x2238af;}['onRemoteChangeset'](_0xa1f195){const _0x4c3209=_0x399f16;if(this[_0x4c3209(0x26c)](_0xa1f195))return this['_clearScheduledTask'](),this[_0x4c3209(0x50d)][_0x4c3209(0x3d7)](_0x42ac2c,this[_0x4c3209(0x5dd)],this[_0x4c3209(0x39a)],this[_0x4c3209(0x33d)],[],null,[_0xa1f195],this[_0x4c3209(0x624)]);try{const _0x2de49b=this[_0x4c3209(0x514)][_0x4c3209(0x2c9)]([_0xa1f195],[this['_awaitingChangeset']],!0x1);if(_0x1b0275[_0x4c3209(0x693)](_0x2de49b)){const {c1Prime:_0x3a4e96,c2Prime:_0x2357d5}=_0x2de49b;this[_0x4c3209(0x69b)](_0x3a4e96[0x0]),_0x2357d5[0x0][_0x4c3209(0x538)]=this[_0x4c3209(0x3f5)](),this[_0x4c3209(0x3fc)]();const _0x5882ba=this['_injector'][_0x4c3209(0x3d7)](_0x14721e,this[_0x4c3209(0x5dd)],this[_0x4c3209(0x39a)],_0x2357d5[0x0],this[_0x4c3209(0x624)]);return _0x5882ba[_0x4c3209(0x4e8)](),_0x5882ba;}return this[_0x4c3209(0x3f8)](!0x1);}catch(_0x43b5f3){return this[_0x4c3209(0x3ce)][_0x4c3209(0x5d4)](_0x43b5f3),this['_onConflict'](!0x1);}}[_0x399f16(0x445)](_0x11c04c){const _0x22f3be=_0x399f16;this[_0x22f3be(0x3fc)]();const _0x5081f3=this[_0x22f3be(0x3ea)]['getCurrentRevOfUnit'](this['unitID']);if(_0x11c04c[_0x22f3be(0x33c)]<_0x5081f3-0x1)return this;if(this[_0x22f3be(0x26c)](_0x11c04c))return this[_0x22f3be(0x50d)][_0x22f3be(0x3d7)](_0x42ac2c,this[_0x22f3be(0x5dd)],this[_0x22f3be(0x39a)],null,[],this[_0x22f3be(0x33d)],[],this[_0x22f3be(0x624)]);this[_0x22f3be(0x25a)]();const _0x1c6372=this[_0x22f3be(0x50d)][_0x22f3be(0x3d7)](_0x3b019d,this[_0x22f3be(0x5dd)],this['type'],this[_0x22f3be(0x624)]);return _0x1c6372[_0x22f3be(0x4e8)](),_0x1c6372;}[_0x399f16(0x5e7)](_0x1e4db0){const _0x1a5d4d=_0x399f16;return this['_onConflict'](!!(_0x1e4db0!=null&&_0x1e4db0[_0x1a5d4d(0x4db)]));}[_0x399f16(0x67b)](_0x312d4a){const _0x288eea=_0x399f16;return this['_resendTimeout']>_0x3c3747?this[_0x288eea(0x3c9)]():(this[_0x288eea(0x260)]=_0x4c051d(this['_resendTimeout'],{'timeout':this[_0x288eea(0x457)],'reqId':_0x312d4a[_0x288eea(0x4bd)]}),this[_0x288eea(0x5e5)]=this[_0x288eea(0x260)][_0x288eea(0x4e9)](({reqId:_0x5043ae,timeout:_0x2d4bc6})=>{const _0x29d4f8=_0x288eea;this[_0x29d4f8(0x4bf)](_0x5043ae,_0x2d4bc6);}),this);}[_0x399f16(0x3c9)](){const _0x179365=_0x399f16;return this[_0x179365(0x3fc)](),this['_injector'][_0x179365(0x3d7)](_0x5a34d9,this[_0x179365(0x5dd)],this[_0x179365(0x39a)],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x399f16(0x253)](){const _0x1cf70a=_0x399f16;this['_handler'][_0x1cf70a(0x509)](this[_0x1cf70a(0x33d)]);}[_0x399f16(0x3f8)](_0x5bf67a){const _0x4dad89=_0x399f16;return this[_0x4dad89(0x3fc)](),this['_injector'][_0x4dad89(0x3d7)](_0x20ab23,this[_0x4dad89(0x5dd)],this[_0x4dad89(0x39a)],this[_0x4dad89(0x33d)],[],this[_0x4dad89(0x624)],_0x5bf67a);}[_0x399f16(0x4bf)](_0x390f63,_0x2d4bb6){const _0x1c17f6=_0x399f16;var _0x2b0ca0;_0x390f63===((_0x2b0ca0=this['_awaitingChangeset'])==null?void 0x0:_0x2b0ca0[_0x1c17f6(0x4bd)])&&(this['resend'](),this[_0x1c17f6(0x457)]=_0x2d4bb6===0x0?0x3e8:_0x2d4bb6*0x2);}[_0x399f16(0x3fc)](){const _0x51934c=_0x399f16;var _0x3371c6;(_0x3371c6=this['_sender'])==null||_0x3371c6['unsubscribe'](),this[_0x51934c(0x457)]=0x0;}};_0x14721e=_0x3c6c22([_0x44fd2b(0x4,_0x4f08d1['Inject'](_0x4f08d1[_0x399f16(0x492)])),_0x44fd2b(0x5,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275[_0x399f16(0x4bc)])),_0x44fd2b(0x6,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf[_0x399f16(0x381)])),_0x44fd2b(0x7,_0x4f08d1['ICommandService']),_0x44fd2b(0x8,_0x4f08d1[_0x399f16(0x668)]),_0x44fd2b(0x9,_0x1b0275[_0x399f16(0x467)]),_0x44fd2b(0xa,_0x4f08d1[_0x399f16(0x52e)])],_0x14721e);let _0x4cf8d2=class extends _0x3b6e73{constructor(_0xc66070,_0x40c202,_0x350d2d,_0x2cf01c,_0x2bdd37,_0x22de92,_0x204ea2,_0x348ac2,_0x3a9cbb,_0x52d42a,_0x3eb75c,_0x3e39a7,_0x1bb9c4){const _0x371450=_0x399f16;super(_0xc66070,_0x40c202,_0x350d2d,_0x2cf01c,_0x2bdd37,_0x52d42a,_0x1bb9c4,_0x348ac2,_0x3a9cbb),_0x4185c3(this,_0x371450(0x696),'awaiting_with_pending'),_0x4185c3(this,_0x371450(0x457),0x0),_0x4185c3(this,_0x371450(0x260)),_0x4185c3(this,_0x371450(0x5e5)),(this['_injector']=_0x204ea2,this[_0x371450(0x3ce)]=_0x3eb75c,this[_0x371450(0x514)]=_0x3e39a7,_0x22de92&&(this[_0x371450(0x260)]=_0x22de92,this[_0x371450(0x5e5)]=this[_0x371450(0x260)]['subscribe'](({reqId:_0x21d2e4,timeout:_0x29e617})=>{const _0x1ab9a5=_0x371450;this[_0x1ab9a5(0x4bf)](_0x21d2e4,_0x29e617);})));}[_0x399f16(0x688)](_0x21b399){const _0x2423c5=_0x399f16;return this[_0x2423c5(0x2e8)][_0x2423c5(0x597)](_0x21b399),this;}[_0x399f16(0x3ac)](_0x4fb1e6){const _0x134a2c=_0x399f16;if(this[_0x134a2c(0x26c)](_0x4fb1e6))return this[_0x134a2c(0x3fc)](),this[_0x134a2c(0x50d)][_0x134a2c(0x3d7)](_0x42ac2c,this[_0x134a2c(0x5dd)],this['type'],this[_0x134a2c(0x33d)],this[_0x134a2c(0x2e8)],null,[_0x4fb1e6],this[_0x134a2c(0x624)]);try{const _0x395d09=this['_transformService'][_0x134a2c(0x2c9)]([_0x4fb1e6],[this[_0x134a2c(0x33d)]],!0x1);if(_0x1b0275['isTransformChangesetsSuccess'](_0x395d09)){const {c1Prime:_0x2ab431,c2Prime:_0x10be99}=_0x395d09,_0x7e4e54=this[_0x134a2c(0x514)][_0x134a2c(0x65c)](_0x2ab431[0x0],this['_pendingMutations']);if(_0x1b0275['isTransformMutationsWithChangesetSuccess'](_0x7e4e54)){const {c1Prime:_0x14f83b,m2Prime:_0x46ff87}=_0x7e4e54;return this[_0x134a2c(0x69b)](_0x14f83b),_0x10be99[0x0]['baseRev']=this[_0x134a2c(0x3f5)](),this[_0x134a2c(0x3fc)](),this['_injector'][_0x134a2c(0x3d7)](_0x4cf8d2,this[_0x134a2c(0x5dd)],this[_0x134a2c(0x39a)],_0x10be99[0x0],_0x46ff87,this[_0x134a2c(0x624)],void 0x0);}throw _0x7e4e54[_0x134a2c(0x5d4)];}throw _0x395d09[_0x134a2c(0x5d4)];}catch(_0x5f424c){return this[_0x134a2c(0x3ce)][_0x134a2c(0x5d4)](_0x5f424c),this['_onConflict'](!0x1);}}[_0x399f16(0x445)](_0x255631){const _0x3f5185=_0x399f16;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x255631))return this[_0x3f5185(0x50d)][_0x3f5185(0x3d7)](_0x42ac2c,this['unitID'],this[_0x3f5185(0x39a)],null,this[_0x3f5185(0x2e8)],this['_awaitingChangeset'],[],this[_0x3f5185(0x624)]);this[_0x3f5185(0x25a)]();const _0x3a848a=this['_injector']['createInstance'](_0x53ec49,this['unitID'],this[_0x3f5185(0x39a)],this[_0x3f5185(0x2e8)],this[_0x3f5185(0x624)]);return _0x3a848a['_schedule'](),_0x3a848a[_0x3f5185(0x4e8)](),_0x3a848a;}[_0x399f16(0x5e7)](_0x17d6ba){return this['_onConflict'](!!(_0x17d6ba!=null&&_0x17d6ba['isPermissionRej']));}['onRemoteRetry'](_0x36bf14){const _0x32ff45=_0x399f16;return this[_0x32ff45(0x457)]>_0x3c3747?this[_0x32ff45(0x3c9)]():(this[_0x32ff45(0x260)]=_0x4c051d(this[_0x32ff45(0x457)],{'timeout':this['_resendTimeout'],'reqId':_0x36bf14[_0x32ff45(0x4bd)]}),this[_0x32ff45(0x5e5)]=this[_0x32ff45(0x260)]['subscribe'](({reqId:_0x2eeec1,timeout:_0x5edf29})=>{const _0x50a61d=_0x32ff45;this[_0x50a61d(0x4bf)](_0x2eeec1,_0x5edf29);}),this);}[_0x399f16(0x3c9)](){const _0x384cc2=_0x399f16;return this['_clearScheduledTask'](),this['_injector'][_0x384cc2(0x3d7)](_0x5a34d9,this[_0x384cc2(0x5dd)],this[_0x384cc2(0x39a)],this[_0x384cc2(0x33d)],this['_pendingMutations'],this[_0x384cc2(0x624)]);}[_0x399f16(0x413)](){return this;}[_0x399f16(0x253)](){const _0x8f2199=_0x399f16;this[_0x8f2199(0x624)][_0x8f2199(0x509)](this[_0x8f2199(0x33d)]);}[_0x399f16(0x3f8)](_0x56a7bc){const _0x568e86=_0x399f16;return this[_0x568e86(0x3fc)](),this[_0x568e86(0x50d)][_0x568e86(0x3d7)](_0x20ab23,this[_0x568e86(0x5dd)],this[_0x568e86(0x39a)],null,this[_0x568e86(0x2e8)],this['_handler'],_0x56a7bc);}[_0x399f16(0x4bf)](_0x172a17,_0x5f1522){const _0x19ca76=_0x399f16;var _0x520848;_0x172a17===((_0x520848=this[_0x19ca76(0x33d)])==null?void 0x0:_0x520848[_0x19ca76(0x4bd)])&&(this[_0x19ca76(0x253)](),this['_resendTimeout']=_0x5f1522===0x0?0x3e8:_0x5f1522*0x2);}[_0x399f16(0x3fc)](){const _0xaefee3=_0x399f16;var _0xd065cd;(_0xd065cd=this[_0xaefee3(0x5e5)])==null||_0xd065cd['unsubscribe'](),this[_0xaefee3(0x457)]=0x0;}};_0x4cf8d2=_0x3c6c22([_0x44fd2b(0x6,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1['Injector'])),_0x44fd2b(0x7,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275[_0x399f16(0x4bc)])),_0x44fd2b(0x8,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf['LocalCacheService'])),_0x44fd2b(0x9,_0x4f08d1[_0x399f16(0x496)]),_0x44fd2b(0xa,_0x4f08d1[_0x399f16(0x668)]),_0x44fd2b(0xb,_0x1b0275[_0x399f16(0x467)]),_0x44fd2b(0xc,_0x4f08d1[_0x399f16(0x52e)])],_0x4cf8d2);let _0x20ab23=class extends _0x3b6e73{constructor(_0x4e8316,_0x1ad461,_0x1f61b3,_0x476c70,_0x223c05,_0x33f29f=!0x1,_0x1b35b2,_0x58b487,_0x5ac1ce,_0x57ee52,_0x14ab22,_0xe1bd57,_0x11c497){const _0x37153f=_0x399f16;super(_0x4e8316,_0x1ad461,_0x1f61b3,_0x476c70,_0x223c05,_0x58b487,_0x5ac1ce,_0x14ab22,_0x57ee52),_0x4185c3(this,'status',_0x37153f(0x661)),(this[_0x37153f(0x305)]=_0x33f29f,this['_permissionService']=_0x1b35b2,this[_0x37153f(0x621)]=_0xe1bd57,this['_notificationService']=_0x11c497,this[_0x37153f(0x67e)](),this[_0x37153f(0x326)](),this[_0x37153f(0x62b)]());}['appendMutation'](){return this;}[_0x399f16(0x3ac)](){return this;}[_0x399f16(0x445)](){return this;}[_0x399f16(0x5e7)](){return this;}[_0x399f16(0x67b)](){return this;}[_0x399f16(0x3c9)](){return this;}[_0x399f16(0x413)](){return this;}[_0x399f16(0x253)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x399f16(0x326)](){const _0x17cea8=_0x399f16;this['_localCacheService'][_0x17cea8(0x48e)](this[_0x17cea8(0x5dd)],this['type'],null,[]);}[_0x399f16(0x67e)](){const _0x205805=_0x399f16;this['_isPermissionRej']?this[_0x205805(0x2b9)][_0x205805(0x298)]({'title':this[_0x205805(0x621)]['t'](_0x205805(0x42f)),'content':this[_0x205805(0x621)]['t'](_0x205805(0x38a)),'type':_0x205805(0x5d4),'duration':0x0}):this[_0x205805(0x2b9)][_0x205805(0x298)]({'title':this[_0x205805(0x621)]['t'](_0x205805(0x2c0)),'content':this[_0x205805(0x621)]['t'](_0x205805(0x3d5)),'type':'error','duration':0x0});}[_0x399f16(0x62b)](){const _0xdab38e=_0x399f16;this[_0xdab38e(0x568)][_0xdab38e(0x497)](new _0x5acd2f[(_0xdab38e(0x1f4))](this[_0xdab38e(0x5dd)])['id'],!0x1);}};_0x20ab23=_0x3c6c22([_0x44fd2b(0x6,_0x4f08d1['Inject'](_0x4f08d1[_0x399f16(0x50e)])),_0x44fd2b(0x7,_0x4f08d1[_0x399f16(0x496)]),_0x44fd2b(0x8,_0x4f08d1[_0x399f16(0x52e)]),_0x44fd2b(0x9,_0x4f08d1['Inject'](_0x5545bf[_0x399f16(0x381)])),_0x44fd2b(0xa,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275['RevisionService'])),_0x44fd2b(0xb,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x53c)])),_0x44fd2b(0xc,_0x3f3b0b['INotificationService'])],_0x20ab23);let _0x5a34d9=class extends _0x3b6e73{constructor(_0x38cee6,_0x3c08b5,_0x27dea5,_0x410973,_0x5cfcad,_0x3992ce,_0x4e79cb,_0x39e860,_0x3b695e,_0x3aa486){const _0x46805d=_0x399f16;super(_0x38cee6,_0x3c08b5,_0x27dea5,_0x410973,_0x5cfcad,_0x3b695e,_0x3aa486,_0x4e79cb,_0x39e860),_0x4185c3(this,_0x46805d(0x696),_0x46805d(0x54d)),this[_0x46805d(0x50d)]=_0x3992ce;}[_0x399f16(0x688)](_0xa8d768){const _0x72bc28=_0x399f16;return this[_0x72bc28(0x2e8)]['push'](_0xa8d768),this[_0x72bc28(0x4e8)](),this;}['onRemoteChangeset'](_0x45570e){const _0x4d7beb=_0x399f16;throw new Error(_0x4d7beb(0x43b));}['onRemoteAck'](){const _0x4737c2=_0x399f16;throw new Error(_0x4737c2(0x30a));}['onRemoteRej'](){const _0x3da0aa=_0x399f16;throw new Error(_0x3da0aa(0x219));}['onRemoteRetry'](){return this;}[_0x399f16(0x3c9)](){return this;}[_0x399f16(0x413)](){const _0x143dc9=_0x399f16,{_injector:_0x1e07c1,_pendingMutations:_0x57045c,_awaitingChangeset:_0x5c35ea,unitID:_0x452357,_handler:_0x54533b,type:_0x1798f3}=this,_0x21a7de=_0x23631d(_0x1e07c1,_0x452357,_0x1798f3,_0x5c35ea,_0x57045c,_0x54533b);return _0x21a7de instanceof _0x53ec49?_0x21a7de[_0x143dc9(0x637)]():(_0x21a7de instanceof _0x4cf8d2||_0x21a7de instanceof _0x14721e)&&_0x21a7de[_0x143dc9(0x253)](),_0x21a7de;}[_0x399f16(0x253)](){const _0x5efd36=_0x399f16;throw new Error(_0x5efd36(0x49c));}};_0x5a34d9=_0x3c6c22([_0x44fd2b(0x5,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x44fd2b(0x6,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275[_0x399f16(0x4bc)])),_0x44fd2b(0x7,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf[_0x399f16(0x381)])),_0x44fd2b(0x8,_0x4f08d1[_0x399f16(0x496)]),_0x44fd2b(0x9,_0x4f08d1[_0x399f16(0x52e)])],_0x5a34d9);let _0x42ac2c=class extends _0x3b6e73{constructor(_0x108c88,_0x4200c5,_0xf7243d,_0xbb6e89,_0x3fc68c,_0x4f5f6c,_0xedf3f0,_0x346453,_0x14abaa,_0x2fad66,_0x4b5c0a,_0x466c7d,_0x26e4ac,_0x3f6499){const _0x4baa0a=_0x399f16;super(_0x108c88,_0x4200c5,_0xf7243d,_0xbb6e89,_0xedf3f0,_0x466c7d,_0x26e4ac,_0x14abaa,_0x2fad66),_0x4185c3(this,_0x4baa0a(0x696),_0x4baa0a(0x458)),(this[_0x4baa0a(0x553)]=_0x3fc68c,this[_0x4baa0a(0x57d)]=_0x4f5f6c,this[_0x4baa0a(0x50d)]=_0x346453,this[_0x4baa0a(0x3ce)]=_0x4b5c0a,this[_0x4baa0a(0x514)]=_0x3f6499);}[_0x399f16(0x4d9)](_0x59e39d){const _0x14ed76=_0x399f16;try{const _0x5bfd67=[..._0x59e39d,...this[_0x14ed76(0x57d)]],_0x449b21=[this[_0x14ed76(0x33d)]||this[_0x14ed76(0x553)]][_0x14ed76(0x4e2)](_0x2379a8=>!!_0x2379a8);let _0x1ed8d0,_0x574a7d;if(_0x449b21['length']){const _0x3a1b33=this[_0x14ed76(0x514)][_0x14ed76(0x2c9)](_0x5bfd67,_0x449b21,!0x1);if(!_0x1b0275[_0x14ed76(0x693)](_0x3a1b33))throw _0x3a1b33[_0x14ed76(0x5d4)];_0x1ed8d0=_0x3a1b33[_0x14ed76(0x5c3)],_0x574a7d=_0x3a1b33[_0x14ed76(0x653)];}else _0x1ed8d0=_0x5bfd67,_0x574a7d=[];let _0x32ace8=this[_0x14ed76(0x2e8)];_0x1ed8d0[_0x14ed76(0x4b6)](_0x4cf608=>{const _0x5883c9=_0x14ed76;let _0x5cf448;if(_0x32ace8[_0x5883c9(0x4ba)]){const _0x3b3777=this[_0x5883c9(0x514)]['transformMutationsWithChangeset'](_0x4cf608,_0x32ace8);if(!_0x1b0275[_0x5883c9(0x3e0)](_0x3b3777))throw _0x3b3777['error'];_0x5cf448=_0x3b3777[_0x5883c9(0x5c3)],_0x32ace8=_0x3b3777[_0x5883c9(0x532)];}else _0x5cf448=_0x4cf608;this[_0x5883c9(0x69b)](_0x5cf448);}),this[_0x14ed76(0x553)]&&this[_0x14ed76(0x25a)](),this[_0x14ed76(0x33d)]&&_0x574a7d[_0x14ed76(0x4ba)]&&(_0x574a7d[0x0][_0x14ed76(0x538)]=this['_getCurrentRevision']());let _0x506049;if(this[_0x14ed76(0x33d)]&&_0x32ace8[_0x14ed76(0x4ba)]!==0x0)_0x506049=this[_0x14ed76(0x50d)][_0x14ed76(0x3d7)](_0x4cf8d2,this['unitID'],this[_0x14ed76(0x39a)],_0x574a7d[0x0],_0x32ace8,this['_handler'],void 0x0);else{if(this[_0x14ed76(0x33d)]&&_0x32ace8[_0x14ed76(0x4ba)]===0x0)_0x574a7d[0x0][_0x14ed76(0x538)]=this['_getCurrentRevision'](),_0x506049=this['_injector'][_0x14ed76(0x3d7)](_0x14721e,this[_0x14ed76(0x5dd)],this['type'],_0x574a7d[0x0],this[_0x14ed76(0x624)]);else{if(_0x32ace8[_0x14ed76(0x4ba)]!==0x0){const _0x4a4a6b=this[_0x14ed76(0x50d)][_0x14ed76(0x3d7)](_0x53ec49,this['unitID'],this[_0x14ed76(0x39a)],_0x32ace8,this[_0x14ed76(0x624)]);_0x4a4a6b[_0x14ed76(0x637)](),_0x506049=_0x4a4a6b;}else _0x506049=this[_0x14ed76(0x50d)]['createInstance'](_0x3b019d,this[_0x14ed76(0x5dd)],this['type'],this[_0x14ed76(0x624)]);}}return _0x506049[_0x14ed76(0x4e8)](),_0x506049;}catch(_0x23675f){return this[_0x14ed76(0x3ce)][_0x14ed76(0x5d4)](_0x14ed76(0x473),'failed\x20to\x20apply\x20missed\x20changesets!',_0x23675f),this[_0x14ed76(0x50d)][_0x14ed76(0x3d7)](_0x20ab23,this[_0x14ed76(0x5dd)],this[_0x14ed76(0x39a)],this['_awaitingChangeset'],this[_0x14ed76(0x2e8)],this[_0x14ed76(0x624)],!0x1);}}[_0x399f16(0x253)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x460655){const _0x24c360=_0x399f16;return this[_0x24c360(0x2e8)][_0x24c360(0x597)](_0x460655),this;}['onRemoteChangeset'](_0x3dc7d6){const _0x28074a=_0x399f16;return this[_0x28074a(0x57d)]['push'](_0x3dc7d6),this;}[_0x399f16(0x445)](_0x12b270){const _0x2a0948=_0x399f16;if(this[_0x2a0948(0x33d)])return this[_0x2a0948(0x553)]=this[_0x2a0948(0x33d)],this['_awaitingChangeset']=null,this;throw new Error(_0x2a0948(0x392));}['onRemoteRej'](_0x5f4168){const _0x8aec2a=_0x399f16;return this[_0x8aec2a(0x3f8)](!!(_0x5f4168!=null&&_0x5f4168[_0x8aec2a(0x4db)]));}[_0x399f16(0x67b)](){return this;}[_0x399f16(0x3c9)](){const _0x24cc6d=_0x399f16;return this[_0x24cc6d(0x50d)][_0x24cc6d(0x3d7)](_0x5a34d9,this[_0x24cc6d(0x5dd)],this[_0x24cc6d(0x39a)],this[_0x24cc6d(0x33d)],this[_0x24cc6d(0x2e8)],this['_handler']);}[_0x399f16(0x413)](){return this;}['_onConflict'](_0x1dfd80){const _0x25af7f=_0x399f16;return this[_0x25af7f(0x50d)][_0x25af7f(0x3d7)](_0x20ab23,this[_0x25af7f(0x5dd)],this['type'],this['_awaitingChangeset'],this[_0x25af7f(0x2e8)],this[_0x25af7f(0x624)],_0x1dfd80);}};_0x42ac2c=_0x3c6c22([_0x44fd2b(0x7,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x44fd2b(0x8,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275[_0x399f16(0x4bc)])),_0x44fd2b(0x9,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf['LocalCacheService'])),_0x44fd2b(0xa,_0x4f08d1[_0x399f16(0x668)]),_0x44fd2b(0xb,_0x4f08d1[_0x399f16(0x496)]),_0x44fd2b(0xc,_0x4f08d1[_0x399f16(0x52e)]),_0x44fd2b(0xd,_0x1b0275[_0x399f16(0x467)])],_0x42ac2c);function _0x23631d(_0x35cfb9,_0x5d247c,_0x282b00,_0x4de530,_0x294591,_0x44dec6){const _0xc3ff2a=_0x399f16;return _0x4de530&&_0x294591[_0xc3ff2a(0x4ba)]?_0x35cfb9[_0xc3ff2a(0x3d7)](_0x4cf8d2,_0x5d247c,_0x282b00,_0x4de530,_0x294591,_0x44dec6,void 0x0):_0x4de530?_0x35cfb9[_0xc3ff2a(0x3d7)](_0x14721e,_0x5d247c,_0x282b00,_0x4de530,_0x44dec6):_0x294591['length']?_0x35cfb9[_0xc3ff2a(0x3d7)](_0x53ec49,_0x5d247c,_0x282b00,_0x294591,_0x44dec6):_0x35cfb9['createInstance'](_0x3b019d,_0x5d247c,_0x282b00,_0x44dec6);}var _0x1f791a=Object[_0x399f16(0x30f)],_0x16a1ad=Object['getOwnPropertyDescriptor'],_0x5e182e=(_0x191be9,_0x2224cd,_0x5df029,_0xe05ab1)=>{const _0x23e61f=_0x399f16;for(var _0x319c93=_0xe05ab1>0x1?void 0x0:_0xe05ab1?_0x16a1ad(_0x2224cd,_0x5df029):_0x2224cd,_0xca4436=_0x191be9[_0x23e61f(0x4ba)]-0x1,_0x41f259;_0xca4436>=0x0;_0xca4436--)(_0x41f259=_0x191be9[_0xca4436])&&(_0x319c93=(_0xe05ab1?_0x41f259(_0x2224cd,_0x5df029,_0x319c93):_0x41f259(_0x319c93))||_0x319c93);return _0xe05ab1&&_0x319c93&&_0x1f791a(_0x2224cd,_0x5df029,_0x319c93),_0x319c93;},_0x3d2ca8=(_0x397e1b,_0x5e9f91)=>(_0x3f8a3f,_0x23b76c)=>_0x5e9f91(_0x3f8a3f,_0x23b76c,_0x397e1b);_0x5545bf['CollaborationEntity']=class extends _0x4f08d1[_0x399f16(0x63e)]{constructor(_0x32dc7f,_0xa24b5f,_0x4d57bd,_0x356b03,_0x11155c,_0x21c18b,_0x217ead,_0x4b7ae2,_0x754914,_0x522994,_0x2a1a1e,_0x6b73cc,_0x2ee2c4){const _0xf1b70=_0x399f16;super(),_0x4185c3(this,_0xf1b70(0x3e8),new _0x2b43af['BehaviorSubject'](null)),_0x4185c3(this,_0xf1b70(0x3b8),this[_0xf1b70(0x3e8)][_0xf1b70(0x461)]()),_0x4185c3(this,'_state'),_0x4185c3(this,_0xf1b70(0x2de),!0x1),_0x4185c3(this,_0xf1b70(0x46f),''),_0x4185c3(this,'_changesetReqId',0x0),_0x4185c3(this,_0xf1b70(0x651),this['state$']['pipe'](_0x2b43af[_0xf1b70(0x5ea)](_0x442a78=>_0x442a78?_0x442a78[_0xf1b70(0x696)]:_0x3fce9b['OFFLINE']),_0x2b43af[_0xf1b70(0x40c)](0x1))),_0x4185c3(this,_0xf1b70(0x5b7),!0x1),_0x4185c3(this,'_remoteChangesetQueue',[]),(this[_0xf1b70(0x5dd)]=_0x32dc7f,this[_0xf1b70(0x52a)]=_0xa24b5f,this[_0xf1b70(0x22a)]=_0x4d57bd,this[_0xf1b70(0x50d)]=_0x356b03,this[_0xf1b70(0x40b)]=_0x11155c,this[_0xf1b70(0x268)]=_0x21c18b,this[_0xf1b70(0x621)]=_0x217ead,this[_0xf1b70(0x3ea)]=_0x4b7ae2,this['_logService']=_0x754914,this['_commandService']=_0x522994,this[_0xf1b70(0x3cb)]=_0x2a1a1e,this[_0xf1b70(0x568)]=_0x6b73cc,this[_0xf1b70(0x2ff)]=_0x2ee2c4);}get[_0x399f16(0x420)](){const _0x164daa=_0x399f16;return this[_0x164daa(0x35e)];}async[_0x399f16(0x523)](){const _0x49beec=_0x399f16;if(this[_0x49beec(0x420)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x49beec(0x695)]();}[_0x399f16(0x4ec)](){const _0x4661bb=_0x399f16;return this[_0x4661bb(0x2de)]=!0x0,_0x4f08d1[_0x4661bb(0x3fd)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x399f16(0x3fa)](_0x324143){const _0x15a28a=_0x399f16;this[_0x15a28a(0x35e)]=_0x324143,this[_0x15a28a(0x3e8)][_0x15a28a(0x683)](_0x324143);}async[_0x399f16(0x695)](){const _0x5c2a3b=_0x399f16;var _0x313d68;this[_0x5c2a3b(0x3fa)](await this[_0x5c2a3b(0x327)]()),this['_singleActiveUnitService']&&((_0x313d68=this['_singleActiveUnitService'])==null||_0x313d68['editingUnit'](this[_0x5c2a3b(0x5dd)]),this[_0x5c2a3b(0x586)](this[_0x5c2a3b(0x2ff)][_0x5c2a3b(0x664)](this[_0x5c2a3b(0x5dd)])[_0x5c2a3b(0x4e9)](_0x284865=>{const _0x1c76c2=_0x5c2a3b;this[_0x1c76c2(0x3ce)][_0x1c76c2(0x64f)](_0x1c76c2(0x628),_0x1c76c2(0x215),_0x284865),_0x284865===_0x1b9516[_0x1c76c2(0x340)]?(this['_messageService'][_0x1c76c2(0x298)]({'content':this['_localeService']['t']('collaboration.single-unit.warning'),'type':_0x3c040d[_0x1c76c2(0x217)]['Warning']}),this['_permissionService']['updatePermissionPoint'](new _0x5acd2f[(_0x1c76c2(0x1f4))](this[_0x1c76c2(0x5dd)])['id'],!0x1),this[_0x1c76c2(0x568)]['setShowComponents'](!0x1)):(this[_0x1c76c2(0x568)]['updatePermissionPoint'](new _0x5acd2f[(_0x1c76c2(0x1f4))](this[_0x1c76c2(0x5dd)])['id'],!0x0),this[_0x1c76c2(0x568)]['setShowComponents'](!0x0));})));let _0xd483f5=!0x1;return this[_0x5c2a3b(0x586)](this[_0x5c2a3b(0x52a)]['sessionStatus$'][_0x5c2a3b(0x4e9)](_0x158364=>{const _0x1a981c=_0x5c2a3b;_0x158364===_0xc16e44[_0x1a981c(0x5c4)]?this['_toggleOnline'](_0xd483f5):_0x158364===_0xc16e44[_0x1a981c(0x246)]&&(_0xd483f5=!0x0,this[_0x1a981c(0x5bc)]());})),this['disposeWithMe'](this[_0x5c2a3b(0x52a)][_0x5c2a3b(0x373)]['subscribe'](_0x530c77=>{const _0x29d641=_0x5c2a3b;try{switch(_0x530c77[_0x29d641(0x6cb)]){case _0x1b0275['CollaborationEvent'][_0x29d641(0x5d9)]:{this[_0x29d641(0x634)](_0x1b0275[_0x29d641(0x2d5)](_0x530c77[_0x29d641(0x4ae)]));break;}case _0x1b0275[_0x29d641(0x47b)]['CHANGESET_ACK']:{this[_0x29d641(0x223)](_0x530c77[_0x29d641(0x4ae)]);break;}case _0x1b0275[_0x29d641(0x47b)][_0x29d641(0x20d)]:{this[_0x29d641(0x1fb)]();break;}case _0x1b0275[_0x29d641(0x47b)]['CHANGESET_SHOULD_RETRY']:{this[_0x29d641(0x36c)](_0x530c77[_0x29d641(0x4ae)]);break;}case _0x1b0275[_0x29d641(0x47b)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x29d641(0x220)](_0x530c77[_0x29d641(0x4ae)][_0x29d641(0x487)][_0x29d641(0x5ea)](_0x494c4a=>_0x1b0275[_0x29d641(0x2d5)](_0x494c4a)));break;}case _0x1b0275[_0x29d641(0x47b)][_0x29d641(0x345)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x31328c){throw console[_0x29d641(0x5d4)]('Error\x20on\x20receiving\x20event',_0x31328c),_0x31328c;}})),this[_0x5c2a3b(0x35e)];}[_0x399f16(0x3a5)](){const _0x31d488=_0x399f16;this[_0x31d488(0x5b7)]=!0x1;}[_0x399f16(0x4be)](){const _0x3df602=_0x399f16;if(this[_0x3df602(0x5b7)])throw new Error(_0x3df602(0x501));this[_0x3df602(0x5b7)]=!0x0;}[_0x399f16(0x635)](_0x232356){const _0x1405fb=_0x399f16;this[_0x1405fb(0x4be)](),this[_0x1405fb(0x3fa)](this[_0x1405fb(0x35e)][_0x1405fb(0x688)](_0x232356)),this[_0x1405fb(0x3a5)]();}[_0x399f16(0x634)](_0x53453d){const _0x2f0203=_0x399f16;if(!(_0x53453d['revision']<=this[_0x2f0203(0x3ea)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x2f0203(0x2de)]){this[_0x2f0203(0x2ec)][_0x2f0203(0x597)](_0x53453d);return;}this['_applyRemoteChangeset'](_0x53453d);}}[_0x399f16(0x69c)](){const _0xd9b88f=_0x399f16;this[_0xd9b88f(0x2ec)][_0xd9b88f(0x4b6)](_0x545e1d=>this['_applyRemoteChangeset'](_0x545e1d)),this[_0xd9b88f(0x2ec)]=[];}[_0x399f16(0x302)](_0x366370){const _0x3a93cf=_0x399f16,_0x11626d=this[_0x3a93cf(0x268)][_0x3a93cf(0x303)][_0x3a93cf(0x547)](this[_0x3a93cf(0x268)][_0x3a93cf(0x303)][_0x3a93cf(0x52b)]()[_0x3a93cf(0x58c)])(_0x366370[_0x3a93cf(0x5fc)],null)||_0x366370[_0x3a93cf(0x5fc)],_0x4a6ec7={..._0x366370,'mutations':_0x11626d};this['_lockTransition'](),this[_0x3a93cf(0x3fa)](this[_0x3a93cf(0x35e)][_0x3a93cf(0x3ac)](_0x4a6ec7)),this['_unlockTransition']();}[_0x399f16(0x223)](_0x5a0084){const _0x58eff0=_0x399f16;this[_0x58eff0(0x4be)](),this[_0x58eff0(0x3fa)](this[_0x58eff0(0x35e)][_0x58eff0(0x445)](_0x5a0084)),this[_0x58eff0(0x3a5)]();}['_onRemoteRejected'](_0x4b6e60){const _0x218d25=_0x399f16;this[_0x218d25(0x4be)](),this[_0x218d25(0x3fa)](this[_0x218d25(0x35e)][_0x218d25(0x5e7)](_0x4b6e60)),this[_0x218d25(0x3a5)]();}[_0x399f16(0x36c)](_0x3ba44a){const _0x42d4cc=_0x399f16;this[_0x42d4cc(0x4be)](),this[_0x42d4cc(0x3fa)](this[_0x42d4cc(0x35e)][_0x42d4cc(0x67b)](_0x3ba44a)),this[_0x42d4cc(0x3a5)]();}[_0x399f16(0x220)](_0x207dc0){const _0x1e88b0=_0x399f16;if(!(this['_state']instanceof _0x42ac2c))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x578d8c=_0x207dc0[_0x1e88b0(0x5ea)](_0x4fdf37=>{const _0x3200a9=_0x1e88b0,_0x1a66b9=this[_0x3200a9(0x268)][_0x3200a9(0x303)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x3200a9(0x52b)]()[_0x3200a9(0x58c)])(_0x4fdf37[_0x3200a9(0x5fc)],null)||_0x4fdf37['mutations'];return{..._0x4fdf37,'mutations':_0x1a66b9};});this[_0x1e88b0(0x4be)](),this[_0x1e88b0(0x3fa)](this[_0x1e88b0(0x35e)][_0x1e88b0(0x4d9)](_0x578d8c)),this[_0x1e88b0(0x3a5)]();}[_0x399f16(0x5bc)](){const _0x475566=_0x399f16;this[_0x475566(0x4be)](),this[_0x475566(0x3fa)](this[_0x475566(0x35e)][_0x475566(0x3c9)]()),this[_0x475566(0x3a5)]();}[_0x399f16(0x565)](_0x2bd997=!0x1){const _0x183cd6=_0x399f16;this[_0x183cd6(0x4be)](),this[_0x183cd6(0x3fa)](this[_0x183cd6(0x35e)]['toggleOnline']()),this[_0x183cd6(0x3a5)]();const _0x453441=this['_state'];_0x2bd997&&_0x453441 instanceof _0x3b019d&&(this[_0x183cd6(0x4be)](),this[_0x183cd6(0x3fa)](_0x453441[_0x183cd6(0x6b6)]()),this[_0x183cd6(0x3a5)]());}async[_0x399f16(0x327)](){return new Promise(_0x4d6cdf=>{const _0x58e4c4=_0x5a32;this[_0x58e4c4(0x52a)][_0x58e4c4(0x2cc)][_0x58e4c4(0x3d3)](_0x2b43af[_0x58e4c4(0x328)](0x1))[_0x58e4c4(0x4e9)](async _0x35e663=>{const _0x17bade=_0x58e4c4;_0x4d6cdf(await this[_0x17bade(0x2d7)](_0x35e663===_0xc16e44[_0x17bade(0x5c4)]));});});}[_0x399f16(0x25b)](){const _0x149ab0=this['unitID'];return{'onStateChange':(_0x5890c0,_0x1b7a8d)=>{const _0x5021a2=_0x5a32;if(_0x5890c0!==this[_0x5021a2(0x35e)])throw new Error(_0x5021a2(0x23b)+_0x5890c0[_0x5021a2(0x696)]+_0x5021a2(0x31c)+_0x1b7a8d[_0x5021a2(0x696)]+_0x5021a2(0x440)+this[_0x5021a2(0x35e)]['status']);this[_0x5021a2(0x3fa)](_0x1b7a8d);},'onSendChangeset':_0x55643=>{const _0x253574=_0x5a32;_0x55643[_0x253574(0x462)]||(_0x55643['sid']=this[_0x253574(0x46f)],_0x55643[_0x253574(0x4bd)]=++this[_0x253574(0x20a)]);const _0x2b6d46={'eventID':_0x1b0275[_0x253574(0x47b)][_0x253574(0x48c)],'data':{'unitID':_0x55643[_0x253574(0x5dd)],'unitType':this[_0x253574(0x22a)],'changeset':_0x55643,'memberID':this[_0x253574(0x52a)]['getMemberID']()}};this[_0x253574(0x52a)][_0x253574(0x227)](_0x2b6d46,this[_0x253574(0x5dd)]);},'onMissingChangesets':({from:_0x38c43d,to:_0x2f89f8})=>{const _0x5051f1=_0x5a32;this[_0x5051f1(0x3ce)][_0x5051f1(0x64f)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x38c43d+_0x5051f1(0x573)+_0x2f89f8);const _0x122c14={'eventID':_0x1b0275[_0x5051f1(0x47b)][_0x5051f1(0x4f3)],'data':{'unitID':_0x149ab0,'unitType':this[_0x5051f1(0x22a)],'from':_0x38c43d,'to':_0x2f89f8}};this[_0x5051f1(0x52a)][_0x5051f1(0x227)](_0x122c14,this[_0x5051f1(0x5dd)]);}};}async[_0x399f16(0x2d7)](_0x201f7f){const _0x267098=_0x399f16;var _0x41b7fa,_0x1f4f3d;const _0x4159d8=await this[_0x267098(0x40b)]['loadOfflineData'](this['unitID']),_0x2e7419=(_0x41b7fa=_0x4159d8==null?void 0x0:_0x4159d8[_0x267098(0x5fc)])!=null?_0x41b7fa:[],_0x271dfe=(_0x1f4f3d=_0x4159d8==null?void 0x0:_0x4159d8[_0x267098(0x56b)])!=null?_0x1f4f3d:null,_0x550d59=!!(_0x271dfe!=null&&_0x271dfe[_0x267098(0x462)])&&!!(_0x271dfe!=null&&_0x271dfe[_0x267098(0x4bd)]);this[_0x267098(0x46f)]=_0x550d59?_0x271dfe[_0x267098(0x462)]:_0x2a2091(),this[_0x267098(0x20a)]=_0x550d59?_0x271dfe[_0x267098(0x4bd)]:0x0;const _0x5b2ebd=this[_0x267098(0x5dd)];try{this[_0x267098(0x398)](_0x271dfe,_0x2e7419);}catch(_0x2e9a5c){this[_0x267098(0x3ce)]['error'](_0x2e9a5c);}const _0xddfc98=this[_0x267098(0x25b)]();if(_0x201f7f){const _0x5d2fa3=_0x23631d(this[_0x267098(0x50d)],_0x5b2ebd,this[_0x267098(0x22a)],_0x271dfe,_0x2e7419,_0xddfc98);return _0x5d2fa3 instanceof _0x53ec49?_0x5d2fa3['_schedule']():(_0x5d2fa3 instanceof _0x4cf8d2||_0x5d2fa3 instanceof _0x14721e)&&_0x5d2fa3['resend'](),_0x5d2fa3;}return this[_0x267098(0x50d)][_0x267098(0x3d7)](_0x5a34d9,_0x5b2ebd,this['_type'],_0x271dfe,_0x2e7419,_0xddfc98);}[_0x399f16(0x398)](_0x3d575f,_0x510993){const _0x56dabc=_0x399f16;var _0x5f5278,_0x5d7598;const _0xc1e1f5=this['_compressMutationService'][_0x56dabc(0x303)][_0x56dabc(0x547)](this[_0x56dabc(0x268)][_0x56dabc(0x303)][_0x56dabc(0x52b)]()[_0x56dabc(0x58c)]);(_0x5f5278=_0xc1e1f5((_0x3d575f==null?void 0x0:_0x3d575f[_0x56dabc(0x5fc)])||[],null))==null||_0x5f5278[_0x56dabc(0x4b6)](_0x18470b=>this['_commandService'][_0x56dabc(0x584)](_0x18470b['id'],_0x18470b['params'])),(_0x5d7598=_0xc1e1f5(_0x510993||[],null))==null||_0x5d7598[_0x56dabc(0x4b6)](_0x1eafee=>this['_commandService'][_0x56dabc(0x584)](_0x1eafee['id'],_0x1eafee['params']));}},_0x5545bf[_0x399f16(0x681)]=_0x5e182e([_0x3d2ca8(0x3,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x3d2ca8(0x4,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf[_0x399f16(0x381)])),_0x3d2ca8(0x5,_0x4f08d1['Inject'](_0x1b0275[_0x399f16(0x50b)])),_0x3d2ca8(0x6,_0x4f08d1['Inject'](_0x4f08d1[_0x399f16(0x53c)])),_0x3d2ca8(0x7,_0x4f08d1['Inject'](_0x1b0275['RevisionService'])),_0x3d2ca8(0x8,_0x4f08d1[_0x399f16(0x668)]),_0x3d2ca8(0x9,_0x4f08d1['ICommandService']),_0x3d2ca8(0xa,_0x3f3b0b['IMessageService']),_0x3d2ca8(0xb,_0x4f08d1[_0x399f16(0x50e)]),_0x3d2ca8(0xc,_0x4f08d1[_0x399f16(0x336)](_0x10b9a2))],_0x5545bf[_0x399f16(0x681)]),_0x5545bf[_0x399f16(0x559)]=class extends _0x5545bf['CollaborationEntity']{constructor(_0x4ea1c6,_0x21de4f,_0x4a3388,_0x19c79a,_0x50c0f4,_0x3e305e,_0x45c0ad,_0x52efa7,_0x2da91d,_0x1ebc53,_0xb30ecf,_0x1d3580,_0x1c1ecb,_0x4f465f,_0x14e7e9,_0x3315dc,_0x2917a5,_0x5eba85){const _0x3f67c4=_0x399f16;super(_0x4ea1c6,_0x4a3388,_0x21de4f,_0x19c79a,_0x50c0f4,_0x3e305e,_0x45c0ad,_0x52efa7,_0x4f465f,_0x14e7e9,_0x3315dc,_0x2917a5,_0x5eba85),this[_0x3f67c4(0x5dd)]=_0x4ea1c6,this[_0x3f67c4(0x39a)]=_0x21de4f,this[_0x3f67c4(0x5c1)]=_0x2da91d,this['_docTransformIMECacheService']=_0x1ebc53,this[_0x3f67c4(0x3c8)]=_0xb30ecf,this[_0x3f67c4(0x228)]=_0x1d3580,this[_0x3f67c4(0x68a)]=_0x1c1ecb;}[_0x399f16(0x25b)](){const _0x394061=_0x399f16,_0x4b9ad4=super['_createHandler']();return _0x4b9ad4[_0x394061(0x5a8)]=_0x4ba70f=>this[_0x394061(0x5b8)][_0x394061(0x3a3)](_0x4ba70f),_0x4b9ad4[_0x394061(0x533)]=_0x32ecc3=>this[_0x394061(0x3c8)][_0x394061(0x2cf)](_0x32ecc3),_0x4b9ad4[_0x394061(0x545)]=_0x307f0c=>this[_0x394061(0x228)][_0x394061(0x4f0)](_0x307f0c),_0x4b9ad4[_0x394061(0x6b3)]=_0x51128f=>this['_docSyncEditingCollabCursorService'][_0x394061(0x243)](_0x51128f),_0x4b9ad4[_0x394061(0x4b9)]=_0x4404ab=>this[_0x394061(0x5b8)][_0x394061(0x34b)](_0x4404ab),_0x4b9ad4[_0x394061(0x669)]=_0x27f2f5=>this[_0x394061(0x3c8)][_0x394061(0x34b)](_0x27f2f5),_0x4b9ad4;}async[_0x399f16(0x695)](){const _0x4b03a4=_0x399f16,_0x39b08f=await super['_init']();return this['_docStateChangeManagerService'][_0x4b03a4(0x6ab)]['pipe'](_0x2b43af['takeUntil'](this['dispose$']))['subscribe'](_0x1623bd=>{const _0x4f21d4=_0x4b03a4;if(_0x1623bd==null)return;const {unitId:_0x5b2eae,redoState:_0x19079c,commandId:_0x73949}=_0x1623bd;if(_0x5b2eae!==this[_0x4f21d4(0x5dd)])return;const _0x1d6a1={'id':_0x73949,'type':_0x4f08d1[_0x4f21d4(0x409)][_0x4f21d4(0x657)],'params':{'unitId':_0x5b2eae,'actions':_0x19079c[_0x4f21d4(0x5d0)],'textRanges':null}};this['_onLocalMutation'](_0x1d6a1);}),_0x39b08f;}},_0x5545bf[_0x399f16(0x559)]=_0x5e182e([_0x3d2ca8(0x3,_0x4f08d1['Inject'](_0x4f08d1[_0x399f16(0x492)])),_0x3d2ca8(0x4,_0x4f08d1['Inject'](_0x5545bf[_0x399f16(0x381)])),_0x3d2ca8(0x5,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275[_0x399f16(0x50b)])),_0x3d2ca8(0x6,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x53c)])),_0x3d2ca8(0x7,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275[_0x399f16(0x4bc)])),_0x3d2ca8(0x8,_0x4f08d1[_0x399f16(0x6b5)](_0x5626ef[_0x399f16(0x247)])),_0x3d2ca8(0x9,_0x4f08d1[_0x399f16(0x6b5)](_0x78955a)),_0x3d2ca8(0xa,_0x4f08d1[_0x399f16(0x6b5)](_0x39f959)),_0x3d2ca8(0xb,_0x4f08d1[_0x399f16(0x6b5)](_0x1377a5)),_0x3d2ca8(0xc,_0x4f08d1['Inject'](_0xc3c881)),_0x3d2ca8(0xd,_0x4f08d1['ILogService']),_0x3d2ca8(0xe,_0x4f08d1['ICommandService']),_0x3d2ca8(0xf,_0x3f3b0b[_0x399f16(0x659)]),_0x3d2ca8(0x10,_0x4f08d1['IPermissionService']),_0x3d2ca8(0x11,_0x4f08d1[_0x399f16(0x336)](_0x10b9a2))],_0x5545bf['DocCollaborationEntity']),_0x5545bf[_0x399f16(0x59c)]=class extends _0x5545bf[_0x399f16(0x681)]{constructor(_0x206b48,_0x343283,_0x13cc7c,_0x2e2650,_0x2da12e,_0x325eac,_0x140b59,_0x281e8c,_0xc9ded5,_0x47c6dc,_0x4151a5,_0x29b1ae,_0x5c03b0,_0x4bc78c){const _0xa7a1cd=_0x399f16;super(_0x206b48,_0x13cc7c,_0x343283,_0x2e2650,_0x2da12e,_0x325eac,_0x140b59,_0x281e8c,_0x47c6dc,_0x4151a5,_0x29b1ae,_0x5c03b0,_0x4bc78c),this[_0xa7a1cd(0x5dd)]=_0x206b48,this[_0xa7a1cd(0x39a)]=_0x343283,this[_0xa7a1cd(0x278)]=_0xc9ded5;}[_0x399f16(0x25b)](){const _0x1f0c00=_0x399f16,_0x4c896b=super[_0x1f0c00(0x25b)]();return _0x4c896b[_0x1f0c00(0x545)]=_0x66503b=>this[_0x1f0c00(0x278)][_0x1f0c00(0x4f0)](_0x66503b),_0x4c896b;}async['_init'](){const _0x2c55ec=_0x399f16,_0x3d944b=await super[_0x2c55ec(0x695)]();return this[_0x2c55ec(0x586)](this[_0x2c55ec(0x6a8)][_0x2c55ec(0x453)]((_0x3a6ed4,_0x1b2ddc)=>{const _0x500c9f=_0x2c55ec;if(_0x3a6ed4[_0x500c9f(0x39a)]!==_0x4f08d1[_0x500c9f(0x409)][_0x500c9f(0x657)]||_0x1b2ddc!=null&&_0x1b2ddc[_0x500c9f(0x5ff)]||_0x1b2ddc!=null&&_0x1b2ddc[_0x500c9f(0x5fe)])return;const _0x541e33=_0x3a6ed4[_0x500c9f(0x477)];if((_0x541e33==null?void 0x0:_0x541e33[_0x500c9f(0x41a)])!==this[_0x500c9f(0x5dd)])return;const _0x2db51e=_0x3a6ed4,_0x447252=this['_compressMutationService'][_0x500c9f(0x303)][_0x500c9f(0x547)](this['_compressMutationService']['interceptor'][_0x500c9f(0x52b)]()[_0x500c9f(0x396)])([_0x2db51e],null)||[_0x2db51e];this['_onLocalMutation'](_0x447252[0x0]);})),_0x3d944b;}},_0x5545bf[_0x399f16(0x59c)]=_0x5e182e([_0x3d2ca8(0x3,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x3d2ca8(0x4,_0x4f08d1['Inject'](_0x5545bf['LocalCacheService'])),_0x3d2ca8(0x5,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275[_0x399f16(0x50b)])),_0x3d2ca8(0x6,_0x4f08d1['Inject'](_0x4f08d1[_0x399f16(0x53c)])),_0x3d2ca8(0x7,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275[_0x399f16(0x4bc)])),_0x3d2ca8(0x8,_0x4f08d1[_0x399f16(0x6b5)](_0x3e1169)),_0x3d2ca8(0x9,_0x4f08d1['ILogService']),_0x3d2ca8(0xa,_0x4f08d1['ICommandService']),_0x3d2ca8(0xb,_0x3f3b0b[_0x399f16(0x659)]),_0x3d2ca8(0xc,_0x4f08d1[_0x399f16(0x50e)]),_0x3d2ca8(0xd,_0x4f08d1[_0x399f16(0x336)](_0x10b9a2))],_0x5545bf[_0x399f16(0x59c)]);var _0xce3687=Object['defineProperty'],_0x5c1d8e=Object[_0x399f16(0x468)],_0x24b45f=(_0x5e5d40,_0x30c4c5,_0x11706a,_0x5c6327)=>{const _0x4e25c5=_0x399f16;for(var _0x3bd8f7=_0x5c6327>0x1?void 0x0:_0x5c6327?_0x5c1d8e(_0x30c4c5,_0x11706a):_0x30c4c5,_0x265243=_0x5e5d40[_0x4e25c5(0x4ba)]-0x1,_0x33880c;_0x265243>=0x0;_0x265243--)(_0x33880c=_0x5e5d40[_0x265243])&&(_0x3bd8f7=(_0x5c6327?_0x33880c(_0x30c4c5,_0x11706a,_0x3bd8f7):_0x33880c(_0x3bd8f7))||_0x3bd8f7);return _0x5c6327&&_0x3bd8f7&&_0xce3687(_0x30c4c5,_0x11706a,_0x3bd8f7),_0x3bd8f7;},_0x329189=(_0x37e3ba,_0x58c64d)=>(_0x21d35f,_0x3c6bfb)=>_0x58c64d(_0x21d35f,_0x3c6bfb,_0x37e3ba);_0x5545bf[_0x399f16(0x558)]=class extends _0x4f08d1[_0x399f16(0x63e)]{constructor(_0x105f29,_0x4d8703,_0x26c7eb){const _0x3f5989=_0x399f16;super(),_0x4185c3(this,'_entities',new Map()),_0x4185c3(this,'_entityInit$',new _0x2b43af[(_0x3f5989(0x6c5))]()),(this[_0x3f5989(0x50d)]=_0x105f29,this[_0x3f5989(0x30b)]=_0x4d8703,this['_univerInstanceService']=_0x26c7eb,this[_0x3f5989(0x695)]());}[_0x399f16(0x5cf)](){const _0x5779bd=_0x399f16;super[_0x5779bd(0x5cf)](),this[_0x5779bd(0x61f)][_0x5779bd(0x4b6)](_0x314cf5=>_0x314cf5[_0x5779bd(0x5cf)]()),this[_0x5779bd(0x61f)][_0x5779bd(0x687)]();}[_0x399f16(0x4fb)](_0x5d19f6){const _0x27b6d1=_0x399f16;var _0x402289;return(_0x402289=this['_entities'][_0x27b6d1(0x515)](_0x5d19f6))!=null?_0x402289:null;}[_0x399f16(0x58f)](_0x1f8eb4){const _0x22b807=_0x399f16,_0x51606e=this['getCollabEntity'](_0x1f8eb4);return _0x51606e?_0x2b43af['of'](_0x51606e):this[_0x22b807(0x39f)]['pipe'](_0x2a573e[_0x22b807(0x4e2)](_0x4950ec=>_0x4950ec[_0x22b807(0x5dd)]===_0x1f8eb4));}['_init'](){const _0x52e670=_0x399f16;this[_0x52e670(0x47a)][_0x52e670(0x48f)](_0x4f08d1[_0x52e670(0x632)][_0x52e670(0x1f3)])[_0x52e670(0x3d3)](_0x2b43af[_0x52e670(0x41d)](this[_0x52e670(0x54c)]),_0x2a573e[_0x52e670(0x5a6)](0x10))[_0x52e670(0x4e9)](async _0x1d721=>{const _0x290acc=_0x52e670,_0x3a2210=_0x1d721[_0x290acc(0x2cb)](),_0x433bc9=await this[_0x290acc(0x49b)](_0x3a2210,_0x478433[_0x290acc(0x1f3)]);this[_0x290acc(0x61f)][_0x290acc(0x3be)](_0x3a2210,_0x433bc9);}),this[_0x52e670(0x47a)][_0x52e670(0x48f)](_0x4f08d1[_0x52e670(0x632)]['UNIVER_DOC'])[_0x52e670(0x3d3)](_0x2b43af['takeUntil'](this[_0x52e670(0x54c)]),_0x2a573e[_0x52e670(0x5a6)](0x10))[_0x52e670(0x3d3)](_0x2a573e['filter'](_0x21cc9c=>!_0x21cc9c['getUnitId']()[_0x52e670(0x3ba)]('__')))[_0x52e670(0x4e9)](async _0x6b9fbb=>{const _0x5207ad=_0x52e670,_0x54d326=_0x6b9fbb[_0x5207ad(0x2cb)](),_0x3e53a1=await this[_0x5207ad(0x49b)](_0x54d326,_0x478433[_0x5207ad(0x3e3)]);this[_0x5207ad(0x61f)][_0x5207ad(0x3be)](_0x54d326,_0x3e53a1);}),_0x2b43af[_0x52e670(0x21c)](this[_0x52e670(0x47a)][_0x52e670(0x44b)](_0x4f08d1[_0x52e670(0x632)]['UNIVER_SHEET']),this[_0x52e670(0x47a)][_0x52e670(0x44b)](_0x4f08d1[_0x52e670(0x632)][_0x52e670(0x3e3)]))['pipe'](_0x2b43af['takeUntil'](this['dispose$']))[_0x52e670(0x4e9)](_0x5705a7=>{const _0x23b07e=_0x52e670,_0x394cab=_0x5705a7['getUnitId'](),_0x30d4f7=this[_0x23b07e(0x61f)][_0x23b07e(0x515)](_0x394cab);_0x30d4f7&&(_0x30d4f7[_0x23b07e(0x5cf)](),this[_0x23b07e(0x61f)][_0x23b07e(0x36a)](_0x394cab));});}async[_0x399f16(0x49b)](_0x531587,_0x52df5c){const _0x190657=_0x399f16,_0x3145f7=await this[_0x190657(0x30b)][_0x190657(0x377)](_0x531587),_0x1c1ebb=this[_0x190657(0x50d)][_0x190657(0x3d7)](this['_getCtorByUniverType'](_0x52df5c),_0x531587,_0x52df5c,_0x3145f7);return await _0x1c1ebb[_0x190657(0x523)](),this[_0x190657(0x39f)]['next'](_0x1c1ebb),_0x1c1ebb;}['_getCtorByUniverType'](_0x4efeef){const _0x3dc5b4=_0x399f16;switch(_0x4efeef){case _0x478433[_0x3dc5b4(0x3e3)]:return _0x5545bf[_0x3dc5b4(0x559)];case _0x478433[_0x3dc5b4(0x1f3)]:return _0x5545bf[_0x3dc5b4(0x59c)];default:throw new Error(_0x3dc5b4(0x630)+_0x4efeef);}}},_0x5545bf[_0x399f16(0x558)]=_0x24b45f([_0x329189(0x0,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x329189(0x1,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf['CollaborationSessionService'])),_0x329189(0x2,_0x4f08d1[_0x399f16(0x353)])],_0x5545bf[_0x399f16(0x558)]);const _0x4c8dd0=[_0x399f16(0x2e7),'jiqing500',_0x399f16(0x53a),_0x399f16(0x448),_0x399f16(0x592),'gold400'];class _0x4f7312 extends _0x4f08d1['Disposable']{constructor(){const _0x1ecc3f=_0x399f16;super(...arguments),_0x4185c3(this,'_assignedColors',new Map()),_0x4185c3(this,_0x1ecc3f(0x548),0x0);}[_0x399f16(0x454)](_0x3378fe){const _0x145e0d=_0x399f16;if(this[_0x145e0d(0x3b4)]['has'](_0x3378fe))return this[_0x145e0d(0x3b4)]['get'](_0x3378fe);const _0x471f32=_0x4c8dd0[this[_0x145e0d(0x548)]];return this[_0x145e0d(0x548)]=(this[_0x145e0d(0x548)]+0x1)%_0x4c8dd0['length'],this[_0x145e0d(0x3b4)][_0x145e0d(0x3be)](_0x3378fe,_0x471f32),_0x471f32;}}var _0x4aa8c2=Object[_0x399f16(0x30f)],_0x278ef4=Object[_0x399f16(0x468)],_0x1aef81=(_0x3892be,_0x38c17b,_0x4bd163,_0x541c3a)=>{const _0x15d81f=_0x399f16;for(var _0x35105f=_0x541c3a>0x1?void 0x0:_0x541c3a?_0x278ef4(_0x38c17b,_0x4bd163):_0x38c17b,_0x5ad07c=_0x3892be[_0x15d81f(0x4ba)]-0x1,_0xfc1d58;_0x5ad07c>=0x0;_0x5ad07c--)(_0xfc1d58=_0x3892be[_0x5ad07c])&&(_0x35105f=(_0x541c3a?_0xfc1d58(_0x38c17b,_0x4bd163,_0x35105f):_0xfc1d58(_0x35105f))||_0x35105f);return _0x541c3a&&_0x35105f&&_0x4aa8c2(_0x38c17b,_0x4bd163,_0x35105f),_0x35105f;},_0x5c64ce=(_0x50a75,_0x2450c1)=>(_0x44e419,_0x2e3839)=>_0x2450c1(_0x44e419,_0x2e3839,_0x50a75);const _0x16269b=0x12c,_0x5f5cfc=0x64;let _0x534987=class extends _0x4f08d1[_0x399f16(0x63e)]{constructor(_0x2d261c,_0x2e8599,_0x33d1bf,_0x3251dd,_0x11e9f0,_0x255213,_0x4d4973,_0x48b8bc,_0x27b329){const _0x4d8221=_0x399f16;super(),_0x4185c3(this,_0x4d8221(0x40f),!0x1),_0x4185c3(this,_0x4d8221(0x695),!0x1),_0x4185c3(this,_0x4d8221(0x32c),new _0x2b43af['BehaviorSubject'](new Map())),_0x4185c3(this,'cursorInfo$',this['_cursorInfo$'][_0x4d8221(0x461)]()),_0x4185c3(this,_0x4d8221(0x4fe),new _0x2b43af[(_0x4d8221(0x347))]([])),_0x4185c3(this,'roomMembers$',this[_0x4d8221(0x4fe)][_0x4d8221(0x3d3)](_0x2b43af[_0x4d8221(0x66f)](_0x16269b))),_0x4185c3(this,_0x4d8221(0x556),_0x4f08d1['debounce'](_0x245d14=>{const _0xf53726=_0x4d8221,_0x4374c7={'eventID':_0x1b0275[_0xf53726(0x47b)][_0xf53726(0x63a)],'data':{'unitID':this[_0xf53726(0x5dd)],'memberID':this[_0xf53726(0x369)][_0xf53726(0x6bb)](),'selection':_0x127a79(_0x245d14)}};this[_0xf53726(0x369)][_0xf53726(0x227)](_0x4374c7,this[_0xf53726(0x5dd)]);},_0x5f5cfc)),(this['unitID']=_0x2d261c,this[_0x4d8221(0x369)]=_0x2e8599,this[_0x4d8221(0x50d)]=_0x33d1bf,this[_0x4d8221(0x2bc)]=_0x3251dd,this[_0x4d8221(0x5d8)]=_0x11e9f0,this[_0x4d8221(0x546)]=_0x255213,this[_0x4d8221(0x514)]=_0x4d4973,this[_0x4d8221(0x47a)]=_0x48b8bc,this[_0x4d8221(0x6a8)]=_0x27b329);}get[_0x399f16(0x29f)](){const _0x31ddca=_0x399f16;return this['_cursorInfo$'][_0x31ddca(0x459)]();}get['roomMembers'](){const _0x366cf4=_0x399f16;return this[_0x366cf4(0x4fe)][_0x366cf4(0x459)]();}[_0x399f16(0x5cf)](){const _0x55d839=_0x399f16;super[_0x55d839(0x5cf)](),this[_0x55d839(0x32c)]['next'](new Map()),this[_0x55d839(0x32c)][_0x55d839(0x374)](),this[_0x55d839(0x4fe)]['next']([]),this[_0x55d839(0x4fe)][_0x55d839(0x374)]();}[_0x399f16(0x523)](){const _0x2c7f3e=_0x399f16;this[_0x2c7f3e(0x695)]||(this[_0x2c7f3e(0x695)]=!0x0,this['_session']['sessionStatus$'][_0x2c7f3e(0x3d3)](_0x2b43af[_0x2c7f3e(0x41d)](this['dispose$']))['subscribe'](_0xb0c3ab=>{const _0x11453c=_0x2c7f3e;_0xb0c3ab===_0xc16e44['ONLINE']?this['_toggleOnline']():this[_0x11453c(0x5bc)]();}),this[_0x2c7f3e(0x369)][_0x2c7f3e(0x373)][_0x2c7f3e(0x3d3)](_0x2b43af[_0x2c7f3e(0x41d)](this[_0x2c7f3e(0x54c)]))[_0x2c7f3e(0x4e9)](_0x538a2f=>{const _0x18e792=_0x2c7f3e,_0x154893=_0x538a2f[_0x18e792(0x6cb)];_0x154893===_0x1b0275[_0x18e792(0x47b)][_0x18e792(0x63a)]&&this[_0x18e792(0x414)](_0x538a2f),_0x154893===_0x1b0275['CollaborationEvent'][_0x18e792(0x5a1)]&&this[_0x18e792(0x31e)](_0x538a2f);}),this[_0x2c7f3e(0x586)](this[_0x2c7f3e(0x6a8)]['onCommandExecuted'](_0x26a2bc=>{const _0x3d65f1=_0x2c7f3e,_0x337e7f=_0x26a2bc['params'];_0x337e7f!=null&&this[_0x3d65f1(0x40f)]&&_0x26a2bc['id']===_0x119b0c[_0x3d65f1(0x529)]['id']&&_0x337e7f['unitId']===this[_0x3d65f1(0x5dd)]&&_0x337e7f[_0x3d65f1(0x266)]===!0x1&&_0x337e7f['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x337e7f['ranges']);})),this[_0x2c7f3e(0x546)][_0x2c7f3e(0x6cc)][_0x2c7f3e(0x3d3)](_0x2b43af[_0x2c7f3e(0x41d)](this['dispose$']))[_0x2c7f3e(0x4e9)](_0x1b00d8=>{const _0x5545d9=_0x2c7f3e;if((_0x1b00d8==null?void 0x0:_0x1b00d8[_0x5545d9(0x5dd)])!==this[_0x5545d9(0x5dd)])return;const _0x2173ad={'eventID':_0x1b0275[_0x5545d9(0x47b)][_0x5545d9(0x63a)],'data':_0x1b00d8};this[_0x5545d9(0x414)](_0x2173ad);}),this['disposeWithMe'](this['_commandService'][_0x2c7f3e(0x453)](_0x80af54=>{const _0x5f2690=_0x2c7f3e;if(_0x80af54[_0x5f2690(0x477)]==null)return;const _0x4ff447=_0x80af54[_0x5f2690(0x477)];if(_0x80af54['id']!==_0x119b0c[_0x5f2690(0x46e)]['id']||_0x4ff447['unitId']!==this['unitID'])return;const _0x7603f={'id':'doc.mutation.rich-text-editing','params':_0x4ff447},_0x1685fe=this[_0x5f2690(0x29f)];for(const [_0x179008,_0x193016]of _0x1685fe){const _0x577bc8={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5f2690(0x5dd)],'actions':null,'textRanges':_0x193016['ranges']}},_0x4cc70f=this[_0x5f2690(0x514)][_0x5f2690(0x233)](_0x7603f,_0x577bc8,!0x1);if(_0x1b0275['isTransformMutationFailure'](_0x4cc70f))throw _0x4cc70f[_0x5f2690(0x5d4)];_0x1685fe[_0x5f2690(0x3be)](_0x179008,{..._0x193016,'ranges':_0x4cc70f[_0x5f2690(0x532)][_0x5f2690(0x477)][_0x5f2690(0x587)]});}queueMicrotask(()=>{const _0x2c9c0a=_0x5f2690;this[_0x2c9c0a(0x32c)][_0x2c9c0a(0x683)](_0x1685fe);});})));}[_0x399f16(0x414)](_0x4222bb){const _0x2c24db=_0x399f16;var _0x230c10,_0x82747e;const {memberID:_0x53ff4e,selection:_0x3c8bed}=_0x4222bb[_0x2c24db(0x4ae)],_0x350fd8=_0x8f0a88(_0x3c8bed),_0x3def0e=(_0x82747e=(_0x230c10=this[_0x2c24db(0x5d8)][_0x2c24db(0x2f3)](this[_0x2c24db(0x5dd)],_0x53ff4e))==null?void 0x0:_0x230c10[_0x2c24db(0x66c)])!=null?_0x82747e:_0x2c24db(0x3c6),_0x368ff5={'color':this['_colorAssignService'][_0x2c24db(0x454)](_0x53ff4e),'name':_0x3def0e,'ranges':_0x350fd8},_0x48348d=this[_0x2c24db(0x29f)];_0x48348d[_0x2c24db(0x3be)](_0x53ff4e,_0x368ff5),this[_0x2c24db(0x32c)]['next'](_0x48348d);}[_0x399f16(0x31e)](_0x203bdd){const _0x46e468=_0x399f16,{memberID:_0x5f4082}=_0x203bdd[_0x46e468(0x4ae)],_0x4da583=this[_0x46e468(0x29f)];_0x4da583[_0x46e468(0x36a)](_0x5f4082),this[_0x46e468(0x32c)][_0x46e468(0x683)](_0x4da583);}[_0x399f16(0x565)](){const _0x1423ce=_0x399f16;var _0x275952;if(this[_0x1423ce(0x40f)]=!0x0,((_0x275952=this[_0x1423ce(0x47a)][_0x1423ce(0x51a)]())==null?void 0x0:_0x275952[_0x1423ce(0x2cb)]())!==this['unitID'])return;const _0x400e74=this[_0x1423ce(0x50d)]['get'](_0x119b0c[_0x1423ce(0x438)])[_0x1423ce(0x2b4)]();Array[_0x1423ce(0x68c)](_0x400e74)&&_0x400e74[_0x1423ce(0x4ba)]>0x0&&this[_0x1423ce(0x556)](_0x400e74);}[_0x399f16(0x5bc)](){const _0x3ecac9=_0x399f16;this[_0x3ecac9(0x40f)]=!0x1;}};_0x534987=_0x1aef81([_0x5c64ce(0x2,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x5c64ce(0x3,_0x4f08d1[_0x399f16(0x6b5)](_0x4f7312)),_0x5c64ce(0x4,_0x4f08d1['Inject'](_0x5545bf[_0x399f16(0x6a7)])),_0x5c64ce(0x5,_0x4f08d1[_0x399f16(0x6b5)](_0xc3c881)),_0x5c64ce(0x6,_0x1b0275[_0x399f16(0x467)]),_0x5c64ce(0x7,_0x4f08d1[_0x399f16(0x353)]),_0x5c64ce(0x8,_0x4f08d1[_0x399f16(0x496)])],_0x534987);var _0x2c59a3=Object[_0x399f16(0x30f)],_0x24277d=Object[_0x399f16(0x468)],_0x512129=(_0x403d9a,_0x13ad17,_0x233560,_0x49e592)=>{const _0x5ad3c6=_0x399f16;for(var _0x4fe335=_0x49e592>0x1?void 0x0:_0x49e592?_0x24277d(_0x13ad17,_0x233560):_0x13ad17,_0x1d5f12=_0x403d9a[_0x5ad3c6(0x4ba)]-0x1,_0x46216e;_0x1d5f12>=0x0;_0x1d5f12--)(_0x46216e=_0x403d9a[_0x1d5f12])&&(_0x4fe335=(_0x49e592?_0x46216e(_0x13ad17,_0x233560,_0x4fe335):_0x46216e(_0x4fe335))||_0x4fe335);return _0x49e592&&_0x4fe335&&_0x2c59a3(_0x13ad17,_0x233560,_0x4fe335),_0x4fe335;},_0x674625=(_0x54e4dd,_0x4943e9)=>(_0x405712,_0x168f39)=>_0x4943e9(_0x405712,_0x168f39,_0x54e4dd);const _0x59c892=0x12c,_0x15bfaf=0x64,_0x18fa1f=()=>{let _0xb02869=[],_0x156dae=!0x1;return _0x1c802b=>{const _0x126f51=_0x5a32;_0xb02869[_0x126f51(0x597)](_0x1c802b),_0x156dae||(_0x156dae=!0x0,setTimeout(()=>{const _0xa9c8f2=_0x126f51;_0xb02869[_0xa9c8f2(0x4b6)](_0x43ca86=>_0x43ca86()),_0xb02869=[],_0x156dae=!0x1;}));};};let _0x144fa9=class extends _0x4f08d1[_0x399f16(0x63e)]{constructor(_0x8cc27e,_0x329b1b,_0x318e45,_0x444cd6,_0x3858d2,_0x588150,_0x32a594,_0x43b95b){const _0x5036e4=_0x399f16;super(),_0x4185c3(this,_0x5036e4(0x40f),!0x1),_0x4185c3(this,_0x5036e4(0x695),!0x1),_0x4185c3(this,_0x5036e4(0x32c),new _0x2b43af[(_0x5036e4(0x347))](new Map())),_0x4185c3(this,_0x5036e4(0x5d3),this[_0x5036e4(0x32c)][_0x5036e4(0x461)]()),_0x4185c3(this,_0x5036e4(0x4fe),new _0x2b43af['BehaviorSubject']([])),_0x4185c3(this,_0x5036e4(0x31d),this[_0x5036e4(0x4fe)][_0x5036e4(0x3d3)](_0x2b43af['debounceTime'](_0x59c892))),_0x4185c3(this,'_updateLocalCursor',_0x4f08d1[_0x5036e4(0x3d2)]((_0x1ce030,_0x5ed311)=>{const _0x26338c=_0x5036e4,_0x8ff390={'eventID':_0x1b0275[_0x26338c(0x47b)][_0x26338c(0x63a)],'data':{'unitID':this['unitID'],'memberID':this[_0x26338c(0x369)]['getMemberID'](),'selection':_0x1dd931['serializeRangeWithSheet'](_0x1ce030,_0x5ed311['range'])}};this[_0x26338c(0x369)][_0x26338c(0x227)](_0x8ff390,this[_0x26338c(0x5dd)]);},_0x15bfaf)),(this[_0x5036e4(0x5dd)]=_0x8cc27e,this[_0x5036e4(0x369)]=_0x329b1b,this[_0x5036e4(0x50d)]=_0x318e45,this[_0x5036e4(0x2bc)]=_0x444cd6,this[_0x5036e4(0x5d8)]=_0x3858d2,this[_0x5036e4(0x47a)]=_0x588150,this[_0x5036e4(0x6a8)]=_0x32a594,this[_0x5036e4(0x25c)]=_0x43b95b);}get['cursorInfo'](){const _0x4fc858=_0x399f16;return this['_cursorInfo$'][_0x4fc858(0x459)]();}get[_0x399f16(0x4eb)](){const _0xf79644=_0x399f16;return this[_0xf79644(0x4fe)][_0xf79644(0x459)]();}[_0x399f16(0x5cf)](){const _0x1a8555=_0x399f16;super['dispose'](),this['_cursorInfo$'][_0x1a8555(0x683)](new Map()),this[_0x1a8555(0x32c)][_0x1a8555(0x374)](),this[_0x1a8555(0x4fe)]['next']([]),this[_0x1a8555(0x4fe)][_0x1a8555(0x374)]();}['init'](){const _0xab061d=_0x399f16;this[_0xab061d(0x695)]||(this[_0xab061d(0x695)]=!0x0,this[_0xab061d(0x369)][_0xab061d(0x2cc)][_0xab061d(0x3d3)](_0x2b43af[_0xab061d(0x41d)](this['dispose$']))['subscribe'](_0x2cac8a=>{const _0x38fa09=_0xab061d;_0x2cac8a===_0xc16e44[_0x38fa09(0x5c4)]?this[_0x38fa09(0x565)]():this[_0x38fa09(0x5bc)]();}),this[_0xab061d(0x369)]['event$']['pipe'](_0x2b43af[_0xab061d(0x41d)](this['dispose$']))['subscribe'](_0x20d1b=>{const _0xa02e09=_0xab061d,_0x1f7b8f=_0x20d1b[_0xa02e09(0x6cb)];_0x1f7b8f===_0x1b0275[_0xa02e09(0x47b)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x20d1b),_0x1f7b8f===_0x1b0275[_0xa02e09(0x47b)]['USERS_LEAVE']&&this[_0xa02e09(0x31e)](_0x20d1b);}),this['_onRefRangeChange'](),this[_0xab061d(0x586)](this[_0xab061d(0x6a8)][_0xab061d(0x453)](_0x4bd771=>{const _0x133b27=_0xab061d;if(this['_online']&&_0x4bd771['id']===_0x5acd2f[_0x133b27(0x6c8)]['id']&&_0x4bd771['params'][_0x133b27(0x41a)]===this[_0x133b27(0x5dd)]){const _0x464ba2=_0x4bd771[_0x133b27(0x477)];this['_updateLocalCursor'](_0x464ba2[_0x133b27(0x644)],_0x464ba2[_0x133b27(0x265)][0x0]);}})));}[_0x399f16(0x414)](_0x7f85c1){const _0x2c127a=_0x399f16;var _0x26a2eb,_0xbd9874;const {memberID:_0x4adb72,selection:_0x49ae48}=_0x7f85c1[_0x2c127a(0x4ae)],{sheetName:_0x2acd38,range:_0x2e76ed}=_0x1dd931[_0x2c127a(0x44d)](_0x49ae48),_0x42f5c3={'name':(_0xbd9874=(_0x26a2eb=this[_0x2c127a(0x5d8)][_0x2c127a(0x2f3)](this[_0x2c127a(0x5dd)],_0x4adb72))==null?void 0x0:_0x26a2eb[_0x2c127a(0x66c)])!=null?_0xbd9874:_0x2c127a(0x3c6),'range':this[_0x2c127a(0x2f8)](_0x2acd38,_0x2e76ed),'sheetID':_0x2acd38,'color':this['_colorAssignService'][_0x2c127a(0x454)](_0x4adb72),'selection':_0x49ae48},_0x414dde=this['cursorInfo'];_0x414dde[_0x2c127a(0x3be)](_0x4adb72,_0x42f5c3),this['_cursorInfo$']['next'](_0x414dde);}[_0x399f16(0x31e)](_0xa8202f){const _0xb1f555=_0x399f16,{memberID:_0x54c452}=_0xa8202f[_0xb1f555(0x4ae)],_0x2526f7=this[_0xb1f555(0x29f)];_0x2526f7[_0xb1f555(0x36a)](_0x54c452),this[_0xb1f555(0x32c)][_0xb1f555(0x683)](_0x2526f7);}[_0x399f16(0x2f8)](_0x2cd11b,_0x5ab588){const _0xeab3d1=_0x399f16;var _0x159040,_0x1f71a1;const _0x386909=(_0x1f71a1=(_0x159040=this['_univerInstanceService']['getUniverSheetInstance'](this[_0xeab3d1(0x5dd)]))==null?void 0x0:_0x159040[_0xeab3d1(0x1f8)](_0x2cd11b))==null?void 0x0:_0x1f71a1[_0xeab3d1(0x45f)]();return(_0x386909==null?void 0x0:_0x386909[_0xeab3d1(0x51f)](_0x1ed218=>_0x4f08d1[_0xeab3d1(0x316)]['contains'](_0x1ed218,_0x5ab588)))||_0x5ab588;}[_0x399f16(0x287)](){const _0x4c20d3=_0x399f16,_0x36364f=new _0x4f08d1[(_0x4c20d3(0x6af))](),_0x42f7c9=_0x18fa1f(),_0x2a06dc=()=>{const _0x1479a5=_0x4c20d3;_0x36364f[_0x1479a5(0x5cf)]();const _0x5ef647=(_0x1ab4a1,_0x401dce,_0x519e50,_0xddaa7b)=>{const _0x238434=_0x1479a5;let _0x39b52a=[];switch(_0x1ab4a1['id']){case _0x5acd2f[_0x238434(0x4c6)][_0x238434(0x2b3)]:{_0x39b52a=_0x5acd2f['handleDeleteRangeMoveLeft'](_0x1ab4a1,_0xddaa7b);break;}case _0x5acd2f[_0x238434(0x4c6)][_0x238434(0x2f7)]:{_0x39b52a=_0x5acd2f['handleDeleteRangeMoveUp'](_0x1ab4a1,_0xddaa7b);break;}case _0x5acd2f[_0x238434(0x4c6)][_0x238434(0x654)]:{_0x39b52a=_0x5acd2f[_0x238434(0x35c)](_0x1ab4a1,_0xddaa7b);break;}case _0x5acd2f[_0x238434(0x4c6)][_0x238434(0x5f7)]:{_0x39b52a=_0x5acd2f[_0x238434(0x47d)](_0x1ab4a1,_0xddaa7b);break;}case _0x5acd2f['EffectRefRangId'][_0x238434(0x56f)]:{_0x39b52a=_0x5acd2f[_0x238434(0x397)](_0x1ab4a1,_0xddaa7b);break;}case _0x5acd2f[_0x238434(0x4c6)][_0x238434(0x2d6)]:{_0x39b52a=_0x5acd2f[_0x238434(0x29d)](_0x1ab4a1,_0xddaa7b);break;}case _0x5acd2f[_0x238434(0x4c6)]['MoveRangeCommandId']:{_0x39b52a=_0x5acd2f[_0x238434(0x68f)](_0x1ab4a1,_0xddaa7b);break;}case _0x5acd2f[_0x238434(0x4c6)]['RemoveColCommandId']:{_0x39b52a=_0x5acd2f['handleIRemoveCol'](_0x1ab4a1,_0xddaa7b);break;}case _0x5acd2f[_0x238434(0x4c6)][_0x238434(0x4d8)]:{_0x39b52a=_0x5acd2f[_0x238434(0x5bb)](_0x1ab4a1,_0xddaa7b);break;}}const _0x500c10=_0x5acd2f[_0x238434(0x627)](_0x39b52a,_0xddaa7b),_0x37a04b=this[_0x238434(0x29f)][_0x238434(0x515)](_0x401dce);if(_0x37a04b&&_0x500c10){const _0x4e3225={..._0x37a04b,'range':_0x500c10};this[_0x238434(0x29f)]['set'](_0x401dce,_0x4e3225),_0x42f7c9(()=>{const _0x1e3b32=_0x238434,_0x41156e=this['_refRangeService'][_0x1e3b32(0x631)](_0x500c10,_0x1ec5fe=>(_0x41156e[_0x1e3b32(0x5cf)](),_0x5ef647(_0x1ec5fe,_0x401dce,_0x519e50,_0x500c10)));_0x36364f[_0x1e3b32(0x666)](_0x41156e);});}return{'redos':[],'undos':[]};};this[_0x1479a5(0x29f)]['forEach']((_0xf778b1,_0x3c104b)=>{const _0x125a60=_0x1479a5,{range:_0x3a0b1c,sheetID:_0x391731}=_0xf778b1,_0x7bc62f=this[_0x125a60(0x25c)][_0x125a60(0x631)](_0x3a0b1c,_0x115cdd=>(_0x7bc62f[_0x125a60(0x5cf)](),_0x5ef647(_0x115cdd,_0x3c104b,_0x391731,_0x3a0b1c)));_0x36364f[_0x125a60(0x666)](_0x7bc62f);});};this['disposeWithMe'](_0x4f08d1[_0x4c20d3(0x3fd)](this[_0x4c20d3(0x32c)][_0x4c20d3(0x4e9)](()=>{_0x2a06dc();})));}['_toggleOnline'](){const _0x5696b1=_0x399f16;var _0x176427,_0x41d59e;if(this[_0x5696b1(0x40f)]=!0x0,((_0x176427=this[_0x5696b1(0x47a)][_0x5696b1(0x51a)]())==null?void 0x0:_0x176427[_0x5696b1(0x2cb)]())!==this[_0x5696b1(0x5dd)])return;const _0x1ae351=(_0x41d59e=this['_injector']['get'](_0x5acd2f[_0x5696b1(0x620)])[_0x5696b1(0x2d8)]())==null?void 0x0:_0x41d59e[0x0],_0x12603c=this['_univerInstanceService'][_0x5696b1(0x3c7)](_0x4f08d1[_0x5696b1(0x632)][_0x5696b1(0x1f3)])[_0x5696b1(0x4ea)]();_0x1ae351&&_0x12603c&&this[_0x5696b1(0x556)](_0x12603c[_0x5696b1(0x2ef)](),_0x1ae351);}[_0x399f16(0x5bc)](){const _0x1ad2a7=_0x399f16;this[_0x1ad2a7(0x40f)]=!0x1;}};_0x144fa9=_0x512129([_0x674625(0x2,_0x4f08d1['Inject'](_0x4f08d1[_0x399f16(0x492)])),_0x674625(0x3,_0x4f08d1[_0x399f16(0x6b5)](_0x4f7312)),_0x674625(0x4,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf[_0x399f16(0x6a7)])),_0x674625(0x5,_0x4f08d1['IUniverInstanceService']),_0x674625(0x6,_0x4f08d1[_0x399f16(0x496)]),_0x674625(0x7,_0x4f08d1['Inject'](_0x5acd2f[_0x399f16(0x3ff)]))],_0x144fa9);var _0x44291c=Object['defineProperty'],_0x49a9c2=Object[_0x399f16(0x468)],_0x2c2fb7=(_0x2668e1,_0x5e6b33,_0x34c07a,_0x13d734)=>{const _0x1265a5=_0x399f16;for(var _0xd66929=_0x13d734>0x1?void 0x0:_0x13d734?_0x49a9c2(_0x5e6b33,_0x34c07a):_0x5e6b33,_0x8fd963=_0x2668e1[_0x1265a5(0x4ba)]-0x1,_0x2144cd;_0x8fd963>=0x0;_0x8fd963--)(_0x2144cd=_0x2668e1[_0x8fd963])&&(_0xd66929=(_0x13d734?_0x2144cd(_0x5e6b33,_0x34c07a,_0xd66929):_0x2144cd(_0xd66929))||_0xd66929);return _0x13d734&&_0xd66929&&_0x44291c(_0x5e6b33,_0x34c07a,_0xd66929),_0xd66929;},_0x433ee6=(_0x477c1,_0x31e349)=>(_0x3aaece,_0x44952f)=>_0x31e349(_0x3aaece,_0x44952f,_0x477c1);let _0x56fed2=class extends _0x4f08d1[_0x399f16(0x63e)]{constructor(_0x43d357,_0x2a0aba,_0x480ed7){const _0xa97e99=_0x399f16;super(),_0x4185c3(this,_0xa97e99(0x61f),new Map()),_0x4185c3(this,_0xa97e99(0x39f),new _0x2b43af[(_0xa97e99(0x6c5))]()),(this[_0xa97e99(0x47a)]=_0x43d357,this[_0xa97e99(0x50d)]=_0x2a0aba,this[_0xa97e99(0x30b)]=_0x480ed7,this[_0xa97e99(0x695)]());}[_0x399f16(0x5cf)](){const _0x5d078a=_0x399f16;super[_0x5d078a(0x5cf)](),this[_0x5d078a(0x39f)]['complete'](),this[_0x5d078a(0x61f)][_0x5d078a(0x4b6)](_0x1dcf85=>_0x1dcf85[_0x5d078a(0x5cf)]());}[_0x399f16(0x516)](_0x4c89fe){const _0x9c005b=_0x399f16;return this['_entities'][_0x9c005b(0x61b)](_0x4c89fe)?this[_0x9c005b(0x61f)][_0x9c005b(0x515)](_0x4c89fe)[_0x9c005b(0x5d3)]:this['_entityInit$']['pipe'](_0x2b43af[_0x9c005b(0x4e2)](_0x3dc7d3=>_0x3dc7d3[_0x9c005b(0x5dd)]===_0x4c89fe),_0x2b43af[_0x9c005b(0x366)](_0x995d82=>_0x995d82[_0x9c005b(0x5d3)]));}[_0x399f16(0x695)](){const _0x2416b2=_0x399f16;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4f08d1['UniverInstanceType'][_0x2416b2(0x1f3)])[_0x2416b2(0x3d3)](_0x2b43af[_0x2416b2(0x41d)](this[_0x2416b2(0x54c)]))[_0x2416b2(0x4e9)](async _0x5a1c95=>{const _0x138a6c=_0x2416b2,_0x18e1ad=_0x5a1c95[_0x138a6c(0x2cb)](),_0x3aa124=await this[_0x138a6c(0x2df)](_0x18e1ad);this[_0x138a6c(0x39f)][_0x138a6c(0x683)](_0x3aa124),this[_0x138a6c(0x61f)]['set'](_0x18e1ad,_0x3aa124);}),this[_0x2416b2(0x47a)]['getTypeOfUnitAdded$'](_0x4f08d1[_0x2416b2(0x632)][_0x2416b2(0x3e3)])['pipe'](_0x2b43af[_0x2416b2(0x41d)](this['dispose$']))['pipe'](_0x2b43af[_0x2416b2(0x4e2)](_0x481c93=>!_0x481c93[_0x2416b2(0x2cb)]()['startsWith']('__')))[_0x2416b2(0x4e9)](async _0x4719a1=>{const _0x593d28=_0x2416b2,_0x44cc14=_0x4719a1[_0x593d28(0x2cb)](),_0xbbcbfa=await this[_0x593d28(0x22d)](_0x44cc14);this[_0x593d28(0x39f)][_0x593d28(0x683)](_0xbbcbfa),this[_0x593d28(0x61f)][_0x593d28(0x3be)](_0x44cc14,_0xbbcbfa);}),_0x2b43af['merge'](this[_0x2416b2(0x47a)]['getTypeOfUnitDisposed$'](_0x4f08d1[_0x2416b2(0x632)]['UNIVER_DOC']),this[_0x2416b2(0x47a)][_0x2416b2(0x44b)](_0x4f08d1['UniverInstanceType'][_0x2416b2(0x1f3)]))[_0x2416b2(0x3d3)](_0x2b43af[_0x2416b2(0x41d)](this[_0x2416b2(0x54c)]))['subscribe'](_0x5dab63=>{const _0x22b487=_0x2416b2,_0x2bf2a2=_0x5dab63['getUnitId'](),_0x1b300c=this['_entities'][_0x22b487(0x515)](_0x2bf2a2);_0x1b300c&&(_0x1b300c[_0x22b487(0x5cf)](),this[_0x22b487(0x61f)][_0x22b487(0x36a)](_0x2bf2a2));});}async[_0x399f16(0x2df)](_0x5ed854){const _0x4670e0=_0x399f16,_0x3ad706=await this[_0x4670e0(0x30b)][_0x4670e0(0x377)](_0x5ed854),_0x20e4af=this['_injector']['createInstance'](_0x144fa9,_0x5ed854,_0x3ad706);return _0x20e4af[_0x4670e0(0x523)](),_0x20e4af;}async[_0x399f16(0x22d)](_0x4ac84d){const _0x9f4d63=_0x399f16,_0x2cc917=await this[_0x9f4d63(0x30b)][_0x9f4d63(0x377)](_0x4ac84d),_0x51a25c=this[_0x9f4d63(0x50d)][_0x9f4d63(0x3d7)](_0x534987,_0x4ac84d,_0x2cc917);return _0x51a25c[_0x9f4d63(0x523)](),_0x51a25c;}};_0x56fed2=_0x2c2fb7([_0x433ee6(0x0,_0x4f08d1[_0x399f16(0x353)]),_0x433ee6(0x1,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x433ee6(0x2,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf['CollaborationSessionService']))],_0x56fed2);const _0x1a4de9=0x14,_0x13f3ab=0xc8,_0x4da4a7=0x4,_0x369e36=0x5;function _0x437ea2(_0x5b9375,_0x2dc0f9){const _0x3df853=_0x399f16;let {radius:_0xd8100d,width:_0x19b353,height:_0x2d76c5}=_0x2dc0f9;_0xd8100d=_0xd8100d!=null?_0xd8100d:0x0,_0x19b353=_0x19b353!=null?_0x19b353:0x1e,_0x2d76c5=_0x2d76c5!=null?_0x2d76c5:0x1e;let _0x3dce50=0x0,_0x5d0c28=0x0,_0x3ebe73=0x0;_0x3dce50=_0x5d0c28=_0x3ebe73=Math[_0x3df853(0x27f)](_0xd8100d,_0x19b353/0x2,_0x2d76c5/0x2),_0x5b9375[_0x3df853(0x4ce)](),_0x5b9375['moveTo'](_0x3dce50,0x0),_0x5b9375[_0x3df853(0x28d)](_0x19b353-_0x5d0c28,0x0),_0x5b9375['arc'](_0x19b353-_0x5d0c28,_0x5d0c28,_0x5d0c28,Math['PI']*0x3/0x2,0x0,!0x1),_0x5b9375['lineTo'](_0x19b353,_0x2d76c5-_0x3ebe73),_0x5b9375[_0x3df853(0x60b)](_0x19b353-_0x3ebe73,_0x2d76c5-_0x3ebe73,_0x3ebe73,0x0,Math['PI']/0x2,!0x1),_0x5b9375['lineTo'](0x0,_0x2d76c5),_0x5b9375[_0x3df853(0x28d)](0x0,_0x3dce50),_0x5b9375[_0x3df853(0x60b)](_0x3dce50,_0x3dce50,_0x3dce50,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5b9375[_0x3df853(0x590)](),_0x2dc0f9[_0x3df853(0x4dd)]&&(_0x5b9375['save'](),_0x5b9375[_0x3df853(0x20f)]=_0x2dc0f9[_0x3df853(0x4dd)],_0x2dc0f9['fillRule']==='evenodd'?_0x5b9375[_0x3df853(0x4dd)](_0x3df853(0x643)):_0x5b9375['fill'](),_0x5b9375[_0x3df853(0x37b)]());}class _0x22b4a7 extends _0x1a2a90['Shape']{constructor(_0x3174fd,_0x5c2ae8){const _0x26c6e2=_0x399f16;super(_0x3174fd,_0x5c2ae8),_0x4185c3(this,'color'),_0x4185c3(this,'text'),(this[_0x26c6e2(0x60e)]=_0x5c2ae8==null?void 0x0:_0x5c2ae8[_0x26c6e2(0x60e)],this[_0x26c6e2(0x32b)]=_0x5c2ae8==null?void 0x0:_0x5c2ae8[_0x26c6e2(0x32b)]);}static['drawWith'](_0x5a4620,_0x1f15fd){const _0x53d38a=_0x399f16,{text:_0x4177eb,color:_0x5f2f21}=_0x1f15fd;_0x5a4620['save'](),_0x5a4620['font']=_0x53d38a(0x23c);const _0x221ddb=_0x5a4620['measureText'](_0x4177eb)['width'],_0x47a25=Math['min'](_0x221ddb+0x2*_0x4da4a7,_0x13f3ab);_0x437ea2(_0x5a4620,{'height':_0x1a4de9,'radius':0x4,'width':_0x47a25,'fill':_0x5f2f21,'evented':!0x1}),_0x5a4620[_0x53d38a(0x20f)]=_0x53d38a(0x2f1);const _0xb7d2b7=_0x4da4a7,_0x325b24=_0x1a4de9-_0x369e36,_0x4da42b=_0x13f3ab-0x2*_0x4da4a7;if(_0x221ddb>_0x4da42b){let _0x2a0d53='',_0x17b594=0x0;for(const _0x512332 of _0x4177eb){const _0x1a8256=_0x5a4620[_0x53d38a(0x61a)](_0x512332)[_0x53d38a(0x21e)];if(_0x17b594+_0x1a8256<=_0x4da42b-_0x5a4620[_0x53d38a(0x61a)]('...')[_0x53d38a(0x21e)])_0x2a0d53+=_0x512332,_0x17b594+=_0x1a8256;else{_0x2a0d53+=_0x53d38a(0x67a);break;}}_0x5a4620[_0x53d38a(0x3bf)](_0x2a0d53,_0xb7d2b7,_0x325b24);}else _0x5a4620[_0x53d38a(0x3bf)](_0x4177eb,_0xb7d2b7,_0x325b24);_0x5a4620[_0x53d38a(0x37b)]();}[_0x399f16(0x24a)](_0x4d136c){const _0x5202f1=_0x399f16;_0x22b4a7[_0x5202f1(0x5f9)](_0x4d136c,this);}}const _0x70df37=_0x399f16(0x599),_0x46c422=_0x399f16(0x3ab),_0x2a5dd8=_0x399f16(0x21a),_0x540bdc=0x6,_0x2366c1=1.5,_0x1e651b=0x4,_0xb2a56e=1.5,_0x33f141=_0x399f16(0x2c8);class _0xd80022{constructor(_0x34fe51,_0x4e8f6,_0x3b9fed,_0x99f84){const _0x43f4ac=_0x399f16;_0x4185c3(this,_0x43f4ac(0x64e),[]),_0x4185c3(this,'_anchor',null),_0x4185c3(this,'_textBubble',null),_0x4185c3(this,_0x43f4ac(0x675),null),_0x4185c3(this,_0x43f4ac(0x479),null),_0x4185c3(this,_0x43f4ac(0x4e3),null),(this[_0x43f4ac(0x371)]=_0x34fe51,this['_scene']=_0x4e8f6,this[_0x43f4ac(0x4c8)]=_0x3b9fed,this[_0x43f4ac(0x321)]=_0x99f84,this[_0x43f4ac(0x3e2)]());}set[_0x399f16(0x3d9)](_0x9516bf){const _0x47208f=_0x399f16;_0x9516bf?(this[_0x47208f(0x675)]&&this[_0x47208f(0x675)][_0x47208f(0x4ef)](),this[_0x47208f(0x3d0)]&&this[_0x47208f(0x3d0)][_0x47208f(0x298)]()):(this['_anchorDot']&&this['_anchorDot'][_0x47208f(0x298)](),this[_0x47208f(0x3d0)]&&this[_0x47208f(0x3d0)][_0x47208f(0x4ef)]());}['dispose'](){const _0x5e08b3=_0x399f16;for(const _0x5dfebb of this[_0x5e08b3(0x64e)])_0x5dfebb['dispose']();this[_0x5e08b3(0x3d0)]&&this[_0x5e08b3(0x3d0)][_0x5e08b3(0x5cf)](),this[_0x5e08b3(0x675)]&&this[_0x5e08b3(0x675)][_0x5e08b3(0x5cf)](),this[_0x5e08b3(0x6b4)]&&this[_0x5e08b3(0x6b4)]['dispose'](),this[_0x5e08b3(0x4e3)]&&this[_0x5e08b3(0x4e3)]();}[_0x399f16(0x3e2)](){const _0x512fa8=_0x399f16;var _0x3f0b6c;const {_docSkeleton:_0x5315fe,_document:_0x3a0d4c}=this,{color:_0x2c3d65,name:_0x2771dd,ranges:_0x467171}=this[_0x512fa8(0x371)],_0x542639=_0x3a0d4c['getOffsetConfig'](),{docsLeft:_0x12c618,docsTop:_0x3eb7a9}=_0x542639,_0x44ae7e=new _0x5626ef[(_0x512fa8(0x42b))](_0x542639,_0x5315fe);for(const {startOffset:_0xb2258a,endOffset:_0x1ff648,rangeType:_0x31415b,segmentId:_0x3e2bb3,segmentPage:_0x3dc09c,collapsed:_0x5ddba3,isActive:_0x2977ed}of _0x467171){const _0x27172f=_0x5315fe['findNodePositionByCharIndex'](_0xb2258a,!0x0,_0x3e2bb3,_0x3dc09c);let _0x19aa44=_0x5315fe[_0x512fa8(0x3c1)](_0x1ff648,!0x0,_0x3e2bb3,_0x3dc09c);if(_0x19aa44==null&&(_0x19aa44=_0x5315fe[_0x512fa8(0x3c1)](_0x1ff648-0x1,!0x1,_0x3e2bb3,_0x3dc09c)),_0x2977ed){const {contentBoxPointGroup:_0xa18e73}=_0x44ae7e[_0x512fa8(0x2ea)](_0x19aa44,_0x19aa44);if(_0xa18e73['length']===0x0)continue;this[_0x512fa8(0x617)](_0x2c3d65,_0xa18e73,_0x12c618,_0x3eb7a9,_0x2771dd),this['_eventUnsubscribe']=this[_0x512fa8(0x579)]();}if(_0x27172f&&_0x19aa44){if(_0x31415b===_0x4f08d1[_0x512fa8(0x49f)][_0x512fa8(0x40d)]){const _0x1804aa=new _0x5626ef[(_0x512fa8(0x591))](_0x542639,_0x5315fe),{pointGroup:_0x3c1adf}=(_0x3f0b6c=_0x1804aa[_0x512fa8(0x2ea)](_0x27172f,_0x19aa44))!=null?_0x3f0b6c:{};if(_0x3c1adf==null||_0x3c1adf['length']===0x0)continue;this[_0x512fa8(0x34e)](_0x2c3d65,_0x3c1adf,_0x12c618,_0x3eb7a9);}else{if(!_0x5ddba3){const {borderBoxPointGroup:_0x29a2bd}=_0x44ae7e['getRangePointData'](_0x27172f,_0x19aa44);if(_0x29a2bd[_0x512fa8(0x4ba)]===0x0)continue;this[_0x512fa8(0x465)](_0x2c3d65,_0x29a2bd,_0x12c618,_0x3eb7a9);}}}}}[_0x399f16(0x617)](_0x2c39d0,_0x42de69,_0x26192e,_0x5656e9,_0x4dd99d){const _0x4ffbd8=_0x399f16,_0x21816b=this[_0x4ffbd8(0x472)](_0x42de69),{left:_0x223775,top:_0x1f92d5,height:_0x4c5c9f}=_0x21816b,_0x279f04=this[_0x4ffbd8(0x5ac)](),_0x23411b=_0xb2a56e/_0x279f04,_0xa3d294=new _0x1a2a90[(_0x4ffbd8(0x531))](_0x70df37+_0x4f08d1[_0x4ffbd8(0x370)][_0x4ffbd8(0x352)](_0x540bdc),{'left':_0x223775+_0x26192e-_0x23411b,'top':_0x1f92d5+_0x5656e9,'height':_0x4c5c9f,'width':_0x2366c1,'fill':_0x2c39d0||_0x1a2a90['getColor'](_0x4f08d1[_0x4ffbd8(0x40e)][_0x4ffbd8(0x382)],0x0),'strokeWidth':_0x23411b,'stroke':_0x33f141,'evented':!0x0});this[_0x4ffbd8(0x6b4)]=_0xa3d294,this[_0x4ffbd8(0x62d)]['addObject'](_0xa3d294,_0x5626ef['TEXT_RANGE_LAYER_INDEX']);const _0x2e9df2=new _0x1a2a90[(_0x4ffbd8(0x531))](_0x70df37+_0x4f08d1[_0x4ffbd8(0x370)][_0x4ffbd8(0x352)](_0x540bdc),{'left':_0x223775+_0x26192e-_0x23411b,'top':_0x1f92d5+_0x5656e9-_0x1e651b/0x2,'height':_0x1e651b,'width':_0x1e651b,'fill':_0x2c39d0||_0x1a2a90[_0x4ffbd8(0x201)](_0x4f08d1['COLORS'][_0x4ffbd8(0x382)],0x0),'strokeWidth':0x0,'stroke':_0x2c39d0||_0x1a2a90['getColor'](_0x4f08d1[_0x4ffbd8(0x40e)][_0x4ffbd8(0x382)],0x0),'evented':!0x1});this['_anchorDot']=_0x2e9df2,this['_scene'][_0x4ffbd8(0x61c)](_0x2e9df2,_0x5626ef[_0x4ffbd8(0x649)]);const _0x1eca23=new _0x22b4a7(_0x70df37+_0x4f08d1[_0x4ffbd8(0x370)][_0x4ffbd8(0x352)](_0x540bdc),{'left':_0x223775+_0x26192e-_0x23411b,'top':_0x1f92d5+_0x5656e9-_0x1a4de9,'text':_0x4dd99d,'color':_0x2c39d0});this['_textBubble']=_0x1eca23,this['_scene'][_0x4ffbd8(0x61c)](_0x1eca23,_0x5626ef[_0x4ffbd8(0x649)]),this['_hover']=!0x1;}['_handleHover'](){const _0x7e230a=_0x399f16,_0x443395=this[_0x7e230a(0x6b4)][_0x7e230a(0x604)][_0x7e230a(0x34a)](()=>{this['_hover']=!0x0;}),_0x1fc956=this[_0x7e230a(0x6b4)][_0x7e230a(0x567)]['subscribeEvent'](()=>{const _0x119229=_0x7e230a;this[_0x119229(0x479)]&&clearTimeout(this[_0x119229(0x479)]),this[_0x119229(0x479)]=setTimeout(()=>{const _0x532a13=_0x119229;this[_0x532a13(0x3d9)]=!0x1;},0x7d0);});return()=>{const _0x1982a5=_0x7e230a;_0x443395[_0x1982a5(0x26d)](),_0x1fc956[_0x1982a5(0x26d)]();};}[_0x399f16(0x465)](_0x358fc8,_0x1e49f7,_0x2553b7,_0x614e69){const _0x534da5=_0x399f16,_0x30b895=new _0x4f08d1['ColorKit'](_0x358fc8)[_0x534da5(0x2be)](0.2)['toRgbString'](),_0x4337ed=new _0x1a2a90[(_0x534da5(0x38e))](_0x46c422+_0x4f08d1[_0x534da5(0x370)][_0x534da5(0x352)](_0x540bdc),{'pointsGroup':_0x1e49f7,'fill':_0x30b895||_0x1a2a90[_0x534da5(0x201)](_0x4f08d1[_0x534da5(0x40e)][_0x534da5(0x382)],0.2),'left':_0x2553b7,'top':_0x614e69,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x534da5(0x64e)]['push'](_0x4337ed),this[_0x534da5(0x62d)][_0x534da5(0x61c)](_0x4337ed,_0x5626ef[_0x534da5(0x649)]);}[_0x399f16(0x34e)](_0x285e1d,_0x5cb11c,_0x44e4e5,_0x161b87){const _0x38d237=_0x399f16,_0x191ecb=new _0x4f08d1[(_0x38d237(0x6b1))](_0x285e1d)[_0x38d237(0x2be)](0.2)[_0x38d237(0x297)](),_0x5685a4=new _0x1a2a90[(_0x38d237(0x38e))](_0x2a5dd8+_0x4f08d1[_0x38d237(0x370)][_0x38d237(0x352)](_0x540bdc),{'pointsGroup':_0x5cb11c,'fill':_0x191ecb||_0x1a2a90[_0x38d237(0x201)](_0x4f08d1[_0x38d237(0x40e)][_0x38d237(0x382)],0.2),'left':_0x44e4e5,'top':_0x161b87,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5685a4),this[_0x38d237(0x62d)][_0x38d237(0x61c)](_0x5685a4,_0x5626ef[_0x38d237(0x649)]);}[_0x399f16(0x472)](_0x80f07e){const _0x490d15=_0x80f07e[0x0],_0x5d5e20=_0x490d15[0x0],_0x58b539=_0x490d15[0x2],{x:_0x4890bd,y:_0x7a3aa6}=_0x5d5e20,{x:_0x579cee,y:_0x45a708}=_0x58b539;return{'left':_0x4890bd,'top':_0x7a3aa6,'width':_0x579cee-_0x4890bd,'height':_0x45a708-_0x7a3aa6};}[_0x399f16(0x5ac)](){const _0x1cf9eb=_0x399f16,{scaleX:_0xa90f7a,scaleY:_0x4a3a38}=this[_0x1cf9eb(0x62d)][_0x1cf9eb(0x686)]();return Math['max'](_0xa90f7a,_0x4a3a38);}}var _0x489de9=Object[_0x399f16(0x30f)],_0x401c51=Object['getOwnPropertyDescriptor'],_0xe26963=(_0x54f211,_0x32b246,_0x391e65,_0x5f495c)=>{const _0x51c9ab=_0x399f16;for(var _0x496057=_0x5f495c>0x1?void 0x0:_0x5f495c?_0x401c51(_0x32b246,_0x391e65):_0x32b246,_0x9d3ef5=_0x54f211[_0x51c9ab(0x4ba)]-0x1,_0x566478;_0x9d3ef5>=0x0;_0x9d3ef5--)(_0x566478=_0x54f211[_0x9d3ef5])&&(_0x496057=(_0x5f495c?_0x566478(_0x32b246,_0x391e65,_0x496057):_0x566478(_0x496057))||_0x496057);return _0x5f495c&&_0x496057&&_0x489de9(_0x32b246,_0x391e65,_0x496057),_0x496057;},_0x13b17f=(_0x1c22bf,_0x2b9376)=>(_0x30146a,_0x540c18)=>_0x2b9376(_0x30146a,_0x540c18,_0x1c22bf);let _0x43dcbc=class extends _0x4f08d1['RxDisposable']{constructor(_0x545db1,_0x9a34d,_0x1c7dbe,_0xeaefcc,_0x1090ea){const _0x375dbb=_0x399f16;super(),_0x4185c3(this,'_cursorShapes',[]),_0x4185c3(this,_0x375dbb(0x30d),[]),(this[_0x375dbb(0x312)]=_0x545db1,this[_0x375dbb(0x2ce)]=_0x9a34d,this[_0x375dbb(0x450)]=_0x1c7dbe,this['_commandService']=_0xeaefcc,this[_0x375dbb(0x49d)]=_0x1090ea,this[_0x375dbb(0x695)]());}['_init'](){const _0x1fcb32=_0x399f16,_0x162fd9=this[_0x1fcb32(0x312)][_0x1fcb32(0x41a)],_0x55da8e=this[_0x1fcb32(0x2ce)];this[_0x1fcb32(0x586)](_0x2b43af[_0x1fcb32(0x430)]([this['_collabCursorController'][_0x1fcb32(0x516)](_0x162fd9),this[_0x1fcb32(0x49d)][_0x1fcb32(0x66e)]])[_0x1fcb32(0x3d3)](_0x2a573e['map'](([_0x3c30f0,_0x293160])=>({'skeleton':_0x55da8e[_0x1fcb32(0x585)](),'cursors':[..._0x3c30f0[_0x1fcb32(0x30c)]()]['flatMap'](_0x43c1c2=>({..._0x43c1c2,'color':_0x293160[_0x43c1c2[_0x1fcb32(0x60e)]]}))})))['subscribe'](_0x23a437=>{const _0x100875=_0x1fcb32;if(this[_0x100875(0x551)](),_0x23a437){const {skeleton:_0x11023a,cursors:_0x5cd574}=_0x23a437;this[_0x100875(0x536)](_0x11023a,_0x5cd574);}})),this[_0x1fcb32(0x308)](),this[_0x1fcb32(0x309)]();}['_updateCollabCursors'](_0x42012b,_0x173e22){const _0x42374b=_0x399f16,{scene:_0x5a78bd,mainComponent:_0x14a02f}=this[_0x42374b(0x312)],_0x52170f=_0x173e22[_0x42374b(0x5ea)](_0x435e72=>new _0xd80022(_0x435e72,_0x5a78bd,_0x42012b,_0x14a02f));this['_cursorShapes']=_0x52170f,this['_cursors']=_0x173e22;}[_0x399f16(0x53e)](){const _0x4a64ab=_0x399f16;this['_removeCollabCursors']();const {scene:_0x50f9d9,mainComponent:_0x22b73d}=this[_0x4a64ab(0x312)],_0x373bf0=this[_0x4a64ab(0x2ce)]['getSkeleton'](),_0x4dc255=this[_0x4a64ab(0x30d)]['map'](_0xf3a2fe=>new _0xd80022(_0xf3a2fe,_0x50f9d9,_0x373bf0,_0x22b73d));this[_0x4a64ab(0x261)]=_0x4dc255;}[_0x399f16(0x551)](){const _0x32d51b=_0x399f16;this[_0x32d51b(0x261)][_0x32d51b(0x4b6)](_0x2b8c45=>_0x2b8c45['dispose']()),this['_cursorShapes']=[];}[_0x399f16(0x309)](){const _0xb8a3ba=_0x399f16,_0x2d40f8=[_0x5626ef[_0xb8a3ba(0x391)]['id']];this[_0xb8a3ba(0x586)](this['_commandService'][_0xb8a3ba(0x453)](_0x3e029b=>{const _0x3fc2ba=_0xb8a3ba;_0x2d40f8[_0x3fc2ba(0x342)](_0x3e029b['id'])&&_0x3e029b[_0x3fc2ba(0x477)][_0x3fc2ba(0x41a)]===this[_0x3fc2ba(0x312)][_0x3fc2ba(0x41a)]&&this[_0x3fc2ba(0x53e)]();}));}[_0x399f16(0x308)](){const _0x2ac148=_0x399f16;this['disposeWithMe'](_0x4f08d1[_0x2ac148(0x421)](this['_context'][_0x2ac148(0x4a8)][_0x2ac148(0x51c)])['pipe'](_0x2a573e['filter'](_0xdb6fdb=>_0xdb6fdb[_0x2ac148(0x39a)]===_0x1a2a90['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x2ac148(0x22f)]),_0x2a573e[_0x2ac148(0x1ff)](0x10))['subscribe'](()=>{const _0x599355=_0x2ac148;this[_0x599355(0x53e)]();}));}};_0x43dcbc=_0xe26963([_0x13b17f(0x1,_0x4f08d1[_0x399f16(0x6b5)](_0x119b0c[_0x399f16(0x582)])),_0x13b17f(0x2,_0x4f08d1[_0x399f16(0x6b5)](_0x56fed2)),_0x13b17f(0x3,_0x4f08d1[_0x399f16(0x496)]),_0x13b17f(0x4,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1['ThemeService']))],_0x43dcbc);const _0x5e604d=0x1,_0x1788ce=1.5;class _0x18d886 extends _0x1a2a90['Shape']{constructor(_0x16c57a,_0x5752e1){const _0x4707ed=_0x399f16;super(_0x16c57a,_0x5752e1),_0x4185c3(this,_0x4707ed(0x429)),_0x4185c3(this,_0x4707ed(0x6c2),!0x1),_0x4185c3(this,_0x4707ed(0x2f0)),_0x4185c3(this,'_name',''),_0x4185c3(this,_0x4707ed(0x311),_0x4707ed(0x470)),_0x4185c3(this,_0x4707ed(0x5ef)),(_0x5752e1&&this[_0x4707ed(0x232)](_0x5752e1),this['onPointerEnter$'][_0x4707ed(0x34a)](()=>this[_0x4707ed(0x232)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4707ed(0x34a)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x399f16(0x232)](_0x17e226){const _0x57d18b=_0x399f16;var _0x54c548,_0x235636,_0x42ef94,_0x272405,_0x2fa807,_0x51a6bc;this[_0x57d18b(0x429)]=(_0x54c548=_0x17e226[_0x57d18b(0x60e)])!=null?_0x54c548:this[_0x57d18b(0x429)],this['_hovered']=(_0x235636=_0x17e226[_0x57d18b(0x42a)])!=null?_0x235636:this['_hovered'],this['_range']=(_0x42ef94=_0x17e226[_0x57d18b(0x678)])!=null?_0x42ef94:this[_0x57d18b(0x2f0)],this[_0x57d18b(0x52d)]=(_0x272405=_0x17e226[_0x57d18b(0x66c)])!=null?_0x272405:this['_name'],this[_0x57d18b(0x311)]=(_0x2fa807=_0x17e226[_0x57d18b(0x428)])!=null?_0x2fa807:this[_0x57d18b(0x311)],this[_0x57d18b(0x5ef)]=(_0x51a6bc=_0x17e226[_0x57d18b(0x3d1)])!=null?_0x51a6bc:this[_0x57d18b(0x5ef)],this['transformByState']({'width':_0x17e226['width'],'height':_0x17e226[_0x57d18b(0x603)]});}['onMouseMove'](_0x36d51c){const _0x2f8771=_0x399f16,{row:_0x5af1d2,column:_0x56406d}=_0x36d51c;if(_0x5af1d2>=this[_0x2f8771(0x2f0)][_0x2f8771(0x64d)]&&_0x5af1d2<=this[_0x2f8771(0x2f0)][_0x2f8771(0x2ee)]&&_0x56406d>=this[_0x2f8771(0x2f0)][_0x2f8771(0x39b)]&&_0x56406d<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2f8771(0x232)]({'hovered':!0x1});}[_0x399f16(0x2e3)](_0x160d07){return!0x1;}['_draw'](_0x4b2a33){const _0x2bdad0=_0x399f16;_0x1a2a90[_0x2bdad0(0x531)][_0x2bdad0(0x5f9)](_0x4b2a33,{'width':this[_0x2bdad0(0x21e)],'height':this['height'],'strokeWidth':_0x1788ce,'stroke':this[_0x2bdad0(0x429)],'evented':!0x1,'fill':this[_0x2bdad0(0x5ef)]}),this['_hovered']&&(_0x4b2a33[_0x2bdad0(0x53b)](),_0x4b2a33[_0x2bdad0(0x5c2)](0x1,0x0,0x0,0x1,this[_0x2bdad0(0x21e)],this[_0x2bdad0(0x311)]===_0x2bdad0(0x614)?0x0:-_0x1a4de9),_0x22b4a7[_0x2bdad0(0x5f9)](_0x4b2a33,{'text':this['_name'],'color':this[_0x2bdad0(0x429)]}),_0x4b2a33[_0x2bdad0(0x37b)]());}}var _0x217261=Object[_0x399f16(0x30f)],_0x334807=Object[_0x399f16(0x468)],_0x1319ee=(_0x2c5fc5,_0x8fc4fe,_0x4ba66f,_0x24fb64)=>{const _0x34bbaf=_0x399f16;for(var _0x23f81a=_0x24fb64>0x1?void 0x0:_0x24fb64?_0x334807(_0x8fc4fe,_0x4ba66f):_0x8fc4fe,_0x1ed67e=_0x2c5fc5[_0x34bbaf(0x4ba)]-0x1,_0x27f6d7;_0x1ed67e>=0x0;_0x1ed67e--)(_0x27f6d7=_0x2c5fc5[_0x1ed67e])&&(_0x23f81a=(_0x24fb64?_0x27f6d7(_0x8fc4fe,_0x4ba66f,_0x23f81a):_0x27f6d7(_0x23f81a))||_0x23f81a);return _0x24fb64&&_0x23f81a&&_0x217261(_0x8fc4fe,_0x4ba66f,_0x23f81a),_0x23f81a;},_0x2a5dcb=(_0x3f491d,_0x3dc426)=>(_0x289e42,_0x3ba163)=>_0x3dc426(_0x289e42,_0x3ba163,_0x3f491d);const _0x3a7419=0x1389;let _0x11475f=class extends _0x4f08d1[_0x399f16(0x63e)]{constructor(_0x4fffb1,_0x17fa36,_0x6b48e9,_0x4d2e65){const _0x117d6f=_0x399f16;super(),_0x4185c3(this,'_cursors',new Set()),_0x4185c3(this,_0x117d6f(0x447),null),(this[_0x117d6f(0x312)]=_0x4fffb1,this[_0x117d6f(0x329)]=_0x17fa36,this[_0x117d6f(0x450)]=_0x6b48e9,this[_0x117d6f(0x49d)]=_0x4d2e65,this[_0x117d6f(0x695)]());}[_0x399f16(0x695)](){const _0x5ce03f=_0x399f16;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x2a573e[_0x5ce03f(0x41d)](this[_0x5ce03f(0x54c)]),_0x2a573e[_0x5ce03f(0x366)](_0x36f16e=>{const _0x2488a8=_0x5ce03f;if(_0x36f16e){const _0x5eeaeb=_0x36f16e[_0x2488a8(0x633)];return _0x2b43af[_0x2488a8(0x430)](this[_0x2488a8(0x450)][_0x2488a8(0x516)](this[_0x2488a8(0x312)][_0x2488a8(0x41a)]),this[_0x2488a8(0x49d)][_0x2488a8(0x66e)])['pipe'](_0x2a573e[_0x2488a8(0x5ea)](([_0x160932,_0x18aed1])=>{const _0x2268e8=_0x2488a8,_0x504070=new Map();return _0x160932[_0x2268e8(0x4b6)]((_0x1a184a,_0x45d336)=>{const _0xca71ad=_0x2268e8;if(_0x1a184a[_0xca71ad(0x51d)]===_0x5eeaeb){const _0x59eb89={..._0x1a184a};_0x59eb89[_0xca71ad(0x60e)]=_0x18aed1[_0x1a184a[_0xca71ad(0x60e)]],_0x504070[_0xca71ad(0x3be)](_0x45d336,_0x59eb89);}}),{'skeleton':_0x36f16e,'cursors':_0x504070};}));}return _0x2b43af['of']({'skeleton':null,'cursors':new Map()});}))[_0x5ce03f(0x4e9)](({skeleton:_0x573692,cursors:_0x29382f})=>{const _0xf0924b=_0x5ce03f;this[_0xf0924b(0x551)](),_0x573692&&this[_0xf0924b(0x536)](_0x573692,_0x29382f);}),this['_sheetSkeletonManagerService'][_0x5ce03f(0x2db)][_0x5ce03f(0x4e9)](_0x246844=>{const _0x10761d=_0x5ce03f;if(_0x246844==null)return;const {skeleton:_0x4768b0}=_0x246844,{scene:_0x372ca4}=this[_0x10761d(0x312)];_0x372ca4[_0x10761d(0x3b0)][_0x10761d(0x34a)](_0x4f08d1[_0x10761d(0x3d2)](_0x3771f6=>{const _0x378e9f=_0x10761d;var _0x2317aa,_0x5f17b3;const {offsetX:_0x5b9a2a,offsetY:_0x19d5c1}=_0x3771f6,{x:_0x24b4f0,y:_0x2f681a}=_0x372ca4[_0x378e9f(0x623)](_0x1a2a90['Vector2'][_0x378e9f(0x383)]([_0x5b9a2a,_0x19d5c1])),{scaleX:_0x2931de,scaleY:_0x34656b}=_0x372ca4[_0x378e9f(0x686)](),_0x1f37c8=_0x372ca4['getViewport'](_0x27f6cb[_0x378e9f(0x69f)][_0x378e9f(0x4b4)]),_0x150e86=_0x372ca4[_0x378e9f(0x418)](_0x1a2a90[_0x378e9f(0x679)]['FromArray']([_0x24b4f0,_0x2f681a]),_0x1f37c8),_0x1e0c59=_0x4768b0['getCellPositionByOffset'](_0x5b9a2a,_0x19d5c1,_0x2931de,_0x34656b,_0x150e86);((_0x2317aa=this[_0x378e9f(0x447)])==null?void 0x0:_0x2317aa['column'])===_0x1e0c59[_0x378e9f(0x4d5)]&&((_0x5f17b3=this[_0x378e9f(0x447)])==null?void 0x0:_0x5f17b3[_0x378e9f(0x2c7)])===_0x1e0c59[_0x378e9f(0x2c7)]||this['_cursors'][_0x378e9f(0x4b6)](_0x386194=>{const _0xc06f0b=_0x378e9f;_0x386194[_0xc06f0b(0x455)](_0x1e0c59);});},0x64));});}['_updateCollabCursors'](_0x2b6e94,_0x4beb52){const _0x2d4c10=_0x399f16;var _0x245ad5;const _0x380f75=(_0x245ad5=this['_sheetSkeletonManagerService'][_0x2d4c10(0x271)]())==null?void 0x0:_0x245ad5[_0x2d4c10(0x557)];if(!_0x380f75)return;const _0x2f0b3f=this['_getSheetObject']();if(!_0x2f0b3f)return;this[_0x2d4c10(0x30d)]['forEach'](_0x508e91=>{const _0x2e587f=_0x2d4c10;_0x508e91[_0x2e587f(0x3de)]();});const {scene:_0x4a2c38}=_0x2f0b3f,_0x4a4e2b=_0x19e737(Array[_0x2d4c10(0x29b)](_0x4beb52[_0x2d4c10(0x30c)]()))[_0x2d4c10(0x5ea)](_0x1531e5=>{const _0x1dcfec=_0x2d4c10,{color:_0x1fc8d9,range:_0x519f09,name:_0x57e13d,selection:_0x1bebe9,sheetID:_0x563185}=_0x1531e5,{startColumn:_0x124df8,startRow:_0x5458f5,endColumn:_0x56f97b,endRow:_0x5c3cc5}=_0x519f09,_0x570be0=_0x27f6cb[_0x1dcfec(0x5e3)](_0x5458f5,_0x124df8,_0x4a2c38,_0x380f75),_0x2cb9e5=_0x27f6cb['getCoordByCell'](_0x5c3cc5,_0x56f97b,_0x4a2c38,_0x380f75),{columnHeaderHeightAndMarginTop:_0x252b8a}=_0x380f75,{startX:_0x5c0e09,startY:_0x87eb44}=_0x570be0,{endX:_0x25a8e4,endY:_0x5e26b0}=_0x2cb9e5,_0x100958=_0x25a8e4-_0x5c0e09,_0x7bd469=_0x5e26b0-_0x87eb44,_0x212786={'labelPosition':_0x87eb44-_0x252b8a>=_0x1a4de9?'top':'bottom','sheetID':_0x563185,'range':_0x519f09,'color':_0x1fc8d9,'name':_0x57e13d,'selection':_0x1bebe9,'left':_0x5c0e09,'top':_0x87eb44,'width':_0x100958,'height':_0x7bd469,'evented':!0x1,'zIndex':_0x3a7419};return new _0x18d886(_0x57e13d,_0x212786);});_0x4a2c38['addObjects'](_0x4a4e2b,_0x5e604d),this[_0x2d4c10(0x30d)]=new Set(_0x4a4e2b);}[_0x399f16(0x551)](){const _0x455e32=_0x399f16;var _0x8abf7a;(_0x8abf7a=this[_0x455e32(0x30d)])==null||_0x8abf7a['forEach'](_0x1f24dd=>_0x1f24dd[_0x455e32(0x5cf)]());}[_0x399f16(0x508)](){const _0x585d35=_0x399f16;return _0x27f6cb[_0x585d35(0x5d6)](this[_0x585d35(0x312)][_0x585d35(0x203)],this[_0x585d35(0x312)]);}};_0x11475f=_0x1319ee([_0x2a5dcb(0x1,_0x4f08d1[_0x399f16(0x6b5)](_0x27f6cb[_0x399f16(0x5e8)])),_0x2a5dcb(0x2,_0x4f08d1[_0x399f16(0x6b5)](_0x56fed2)),_0x2a5dcb(0x3,_0x4f08d1['Inject'](_0x4f08d1['ThemeService']))],_0x11475f);function _0x19e737(_0x3ca109){const _0x3521ad=_0x399f16,_0x42424f=new Map();return _0x3ca109[_0x3521ad(0x4b6)](_0xeef72f=>{const _0x1d744c=_0x3521ad;if(_0x42424f[_0x1d744c(0x61b)](_0xeef72f[_0x1d744c(0x2e9)])){const _0x3d6dbb=_0x42424f[_0x1d744c(0x515)](_0xeef72f[_0x1d744c(0x2e9)]);_0x3d6dbb['name']+=',\x20'+_0xeef72f[_0x1d744c(0x66c)];}else _0x42424f['set'](_0xeef72f[_0x1d744c(0x2e9)],_0xeef72f);}),Array[_0x3521ad(0x29b)](_0x42424f[_0x3521ad(0x30c)]());}var _0x2784e0=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x48042e(_0x593e35){const _0x57da73=_0x399f16;return _0x593e35&&_0x593e35[_0x57da73(0x6bd)]&&Object['prototype']['hasOwnProperty'][_0x57da73(0x55c)](_0x593e35,_0x57da73(0x6be))?_0x593e35[_0x57da73(0x6be)]:_0x593e35;}var _0x4277e2={'exports':{}},_0x1ee35f={},_0x43ffcc=_0x21525c,_0x409ae0=Symbol[_0x399f16(0x55a)](_0x399f16(0x3ec)),_0x582f43=Symbol[_0x399f16(0x55a)](_0x399f16(0x4d0)),_0x20f91a=Object[_0x399f16(0x3f4)][_0x399f16(0x4a9)],_0x35763f=_0x43ffcc[_0x399f16(0x691)][_0x399f16(0x4ee)],_0x28ecc2={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x4bba5d(_0x4a45f7,_0x19b5a4,_0x29e457){const _0x34d679=_0x399f16;var _0x2f100b,_0x4fef84={},_0x374e01=null,_0x2587e4=null;_0x29e457!==void 0x0&&(_0x374e01=''+_0x29e457),_0x19b5a4['key']!==void 0x0&&(_0x374e01=''+_0x19b5a4[_0x34d679(0x4e5)]),_0x19b5a4[_0x34d679(0x2fb)]!==void 0x0&&(_0x2587e4=_0x19b5a4['ref']);for(_0x2f100b in _0x19b5a4)_0x20f91a[_0x34d679(0x55c)](_0x19b5a4,_0x2f100b)&&!_0x28ecc2[_0x34d679(0x4a9)](_0x2f100b)&&(_0x4fef84[_0x2f100b]=_0x19b5a4[_0x2f100b]);if(_0x4a45f7&&_0x4a45f7[_0x34d679(0x517)]){for(_0x2f100b in(_0x19b5a4=_0x4a45f7[_0x34d679(0x517)],_0x19b5a4))_0x4fef84[_0x2f100b]===void 0x0&&(_0x4fef84[_0x2f100b]=_0x19b5a4[_0x2f100b]);}return{'$$typeof':_0x409ae0,'type':_0x4a45f7,'key':_0x374e01,'ref':_0x2587e4,'props':_0x4fef84,'_owner':_0x35763f['current']};}_0x1ee35f['Fragment']=_0x582f43,_0x1ee35f['jsx']=_0x4bba5d,_0x1ee35f[_0x399f16(0x581)]=_0x4bba5d,_0x4277e2[_0x399f16(0x451)]=_0x1ee35f;var _0x55d5dd=_0x4277e2[_0x399f16(0x451)],_0x2d6f68=function(){const _0x41ce4c=_0x399f16;return _0x2d6f68=Object['assign']||function(_0x44968e){const _0x514c6b=_0x5a32;for(var _0x28747a,_0x56aae2=0x1,_0x2e81d4=arguments[_0x514c6b(0x4ba)];_0x56aae2<_0x2e81d4;_0x56aae2++){_0x28747a=arguments[_0x56aae2];for(var _0xe70266 in _0x28747a)Object[_0x514c6b(0x3f4)][_0x514c6b(0x4a9)][_0x514c6b(0x55c)](_0x28747a,_0xe70266)&&(_0x44968e[_0xe70266]=_0x28747a[_0xe70266]);}return _0x44968e;},_0x2d6f68[_0x41ce4c(0x29c)](this,arguments);},_0x37aa83=function(_0x6a7b39,_0x5bbbd0){const _0x3966c4=_0x399f16;var _0xfbdfb4={};for(var _0x550d46 in _0x6a7b39)Object[_0x3966c4(0x3f4)][_0x3966c4(0x4a9)]['call'](_0x6a7b39,_0x550d46)&&_0x5bbbd0[_0x3966c4(0x60c)](_0x550d46)<0x0&&(_0xfbdfb4[_0x550d46]=_0x6a7b39[_0x550d46]);if(_0x6a7b39!=null&&typeof Object['getOwnPropertySymbols']==_0x3966c4(0x540)){for(var _0x58ae86=0x0,_0x550d46=Object['getOwnPropertySymbols'](_0x6a7b39);_0x58ae86<_0x550d46[_0x3966c4(0x4ba)];_0x58ae86++)_0x5bbbd0['indexOf'](_0x550d46[_0x58ae86])<0x0&&Object[_0x3966c4(0x3f4)]['propertyIsEnumerable']['call'](_0x6a7b39,_0x550d46[_0x58ae86])&&(_0xfbdfb4[_0x550d46[_0x58ae86]]=_0x6a7b39[_0x550d46[_0x58ae86]]);}return _0xfbdfb4;},_0x3286c1=_0x21525c[_0x399f16(0x255)](function(_0x4e14f5,_0x1b0d96){const _0x1eb30f=_0x399f16;var _0x3d9907=_0x4e14f5[_0x1eb30f(0x4f2)],_0x41aa88=_0x4e14f5['id'],_0x3f5ba0=_0x4e14f5['className'],_0x4d8490=_0x4e14f5[_0x1eb30f(0x22c)],_0x3ab762=_0x37aa83(_0x4e14f5,[_0x1eb30f(0x4f2),'id',_0x1eb30f(0x6b8),_0x1eb30f(0x22c)]),_0x15f663=_0x1eb30f(0x5ec)[_0x1eb30f(0x4f1)](_0x41aa88,'\x20')[_0x1eb30f(0x4f1)](_0x3f5ba0||'')[_0x1eb30f(0x32e)](),_0x346a7f=_0x21525c[_0x1eb30f(0x24d)]('_'[_0x1eb30f(0x4f1)](_0x3016bc()));return _0x245e1d(_0x3d9907,''[_0x1eb30f(0x4f1)](_0x41aa88),{'defIds':_0x3d9907[_0x1eb30f(0x300)],'idSuffix':_0x346a7f['current']},_0x2d6f68({'ref':_0x1b0d96,'className':_0x15f663},_0x3ab762),_0x4d8490);});function _0x245e1d(_0x328574,_0x5ba583,_0x406cea,_0x376ed5,_0x4e4d67){const _0x3494dd=_0x399f16;return _0x21525c[_0x3494dd(0x1fa)](_0x328574['tag'],_0x2d6f68(_0x2d6f68({'key':_0x5ba583},_0x2073b5(_0x328574,_0x406cea,_0x4e4d67)),_0x376ed5),(_0x22bb13(_0x328574,_0x406cea)[_0x3494dd(0x3a8)]||[])[_0x3494dd(0x5ea)](function(_0x45c257,_0x3ac494){const _0x246f0a=_0x3494dd;return _0x245e1d(_0x45c257,''[_0x246f0a(0x4f1)](_0x5ba583,'-')['concat'](_0x328574[_0x246f0a(0x3ae)],'-')[_0x246f0a(0x4f1)](_0x3ac494),_0x406cea,void 0x0,_0x4e4d67);}));}function _0x2073b5(_0x348777,_0x3510a2,_0x3e7ffd){const _0x270a88=_0x399f16;var _0x4eccad=_0x2d6f68({},_0x348777[_0x270a88(0x6bc)]);_0x3e7ffd!=null&&_0x3e7ffd['colorChannel1']&&_0x4eccad[_0x270a88(0x4dd)]===_0x270a88(0x4fa)&&(_0x4eccad['fill']=_0x3e7ffd[_0x270a88(0x4fa)]);var _0x502070=_0x3510a2[_0x270a88(0x300)];return!_0x502070||_0x502070['length']===0x0||(_0x348777[_0x270a88(0x3ae)]===_0x270a88(0x323)&&_0x4eccad[_0x270a88(0x3aa)]&&(_0x4eccad[_0x270a88(0x3aa)]=_0x4eccad[_0x270a88(0x3aa)]+_0x3510a2['idSuffix']),Object[_0x270a88(0x4f7)](_0x4eccad)[_0x270a88(0x4b6)](function(_0x40786a){const _0x31285e=_0x270a88;var _0x28cce5=_0x40786a[0x0],_0x5932e6=_0x40786a[0x1];typeof _0x5932e6==_0x31285e(0x6b7)&&(_0x4eccad[_0x28cce5]=_0x5932e6['replace'](/url\(#(.*)\)/,'url(#$1'[_0x31285e(0x4f1)](_0x3510a2[_0x31285e(0x5aa)],')')));})),_0x4eccad;}function _0x22bb13(_0x512396,_0x325db2){const _0x453046=_0x399f16;var _0xf2baf2,_0x5dfd73=_0x325db2['defIds'];return!_0x5dfd73||_0x5dfd73[_0x453046(0x4ba)]===0x0?_0x512396:_0x512396['tag']===_0x453046(0x33a)&&(!((_0xf2baf2=_0x512396[_0x453046(0x3a8)])===null||_0xf2baf2===void 0x0)&&_0xf2baf2[_0x453046(0x4ba)])?_0x2d6f68(_0x2d6f68({},_0x512396),{'children':_0x512396[_0x453046(0x3a8)][_0x453046(0x5ea)](function(_0x165a41){const _0x141dc0=_0x453046;return typeof _0x165a41['attrs']['id']=='string'&&_0x5dfd73&&_0x5dfd73[_0x141dc0(0x60c)](_0x165a41[_0x141dc0(0x6bc)]['id'])>-0x1?_0x2d6f68(_0x2d6f68({},_0x165a41),{'attrs':_0x2d6f68(_0x2d6f68({},_0x165a41[_0x141dc0(0x6bc)]),{'id':_0x165a41[_0x141dc0(0x6bc)]['id']+_0x325db2['idSuffix']})}):_0x165a41;})}):_0x512396;}function _0x3016bc(){const _0x5c8fdc=_0x399f16;return Math[_0x5c8fdc(0x334)]()['toString'](0x24)[_0x5c8fdc(0x69d)](0x2,0x8);}_0x3286c1[_0x399f16(0x3a1)]=_0x399f16(0x399);var _0x3a089f={'tag':_0x399f16(0x4dc),'attrs':{'fill':_0x399f16(0x2ae),'viewBox':_0x399f16(0x5f0),'width':_0x399f16(0x605),'height':_0x399f16(0x605)},'children':[{'tag':'g','attrs':{'clipPath':_0x399f16(0x238)},'children':[{'tag':_0x399f16(0x42d),'attrs':{'stroke':_0x399f16(0x5ba),'d':_0x399f16(0x3dd),'strokeLinecap':_0x399f16(0x3e1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x399f16(0x33a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x399f16(0x618),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x223ece=_0x21525c[_0x399f16(0x255)](function(_0x4028d8,_0x25ca5a){const _0x420823=_0x399f16;return _0x21525c[_0x420823(0x1fa)](_0x3286c1,Object[_0x420823(0x63c)]({},_0x4028d8,{'id':_0x420823(0x560),'ref':_0x25ca5a,'icon':_0x3a089f}));});_0x223ece['displayName']=_0x399f16(0x263);var _0x5bde86={'tag':_0x399f16(0x4dc),'attrs':{'fill':'none','viewBox':_0x399f16(0x60f),'width':'1em','height':_0x399f16(0x605)},'children':[{'tag':'g','attrs':{'clipPath':_0x399f16(0x3d6)},'children':[{'tag':'path','attrs':{'stroke':_0x399f16(0x5ba),'d':_0x399f16(0x50c),'strokeLinecap':'round','strokeLinejoin':_0x399f16(0x3e1),'strokeWidth':1.2}}]},{'tag':_0x399f16(0x33a),'attrs':{},'children':[{'tag':_0x399f16(0x486),'attrs':{'id':_0x399f16(0x682)},'children':[{'tag':_0x399f16(0x42d),'attrs':{'fill':_0x399f16(0x618),'d':_0x399f16(0x57f),'transform':_0x399f16(0x5b4)}}]}]}],'defIds':[_0x399f16(0x682)]},_0x356cda=_0x21525c[_0x399f16(0x255)](function(_0x135065,_0xa7f076){const _0xdef210=_0x399f16;return _0x21525c['createElement'](_0x3286c1,Object[_0xdef210(0x63c)]({},_0x135065,{'id':_0xdef210(0x407),'ref':_0xa7f076,'icon':_0x5bde86}));});_0x356cda[_0x399f16(0x3a1)]=_0x399f16(0x503);function _0x2a2c91(_0x241648){const _0x31a6d9=_0x399f16;var _0x38882e,_0x9f9d3f,_0xdbcef7='';if(typeof _0x241648=='string'||typeof _0x241648=='number')_0xdbcef7+=_0x241648;else{if(typeof _0x241648==_0x31a6d9(0x216)){if(Array[_0x31a6d9(0x68c)](_0x241648)){var _0x263a43=_0x241648[_0x31a6d9(0x4ba)];for(_0x38882e=0x0;_0x38882e<_0x263a43;_0x38882e++)_0x241648[_0x38882e]&&(_0x9f9d3f=_0x2a2c91(_0x241648[_0x38882e]))&&(_0xdbcef7&&(_0xdbcef7+='\x20'),_0xdbcef7+=_0x9f9d3f);}else{for(_0x9f9d3f in _0x241648)_0x241648[_0x9f9d3f]&&(_0xdbcef7&&(_0xdbcef7+='\x20'),_0xdbcef7+=_0x9f9d3f);}}}return _0xdbcef7;}function _0x1dd66e(){const _0x13a65a=_0x399f16;for(var _0x26d68b,_0x52d131,_0x2df84c=0x0,_0x248d09='',_0x3fa886=arguments[_0x13a65a(0x4ba)];_0x2df84c<_0x3fa886;_0x2df84c++)(_0x26d68b=arguments[_0x2df84c])&&(_0x52d131=_0x2a2c91(_0x26d68b))&&(_0x248d09&&(_0x248d09+='\x20'),_0x248d09+=_0x52d131);return _0x248d09;}const _0x439edf={'onlineStatusIcon':_0x399f16(0x34d),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x399f16(0x2aa),'online':_0x399f16(0x4f8),'offline':_0x399f16(0x23e)};function _0x1d9070(_0x359c4e){const _0x404e7e=_0x399f16;switch(_0x359c4e){case _0x3fce9b[_0x404e7e(0x246)]:return _0x404e7e(0x59a);case _0x3fce9b['CONFLICT']:return _0x404e7e(0x499);case _0x3fce9b['FETCH_MISS']:return _0x404e7e(0x498);case _0x3fce9b[_0x404e7e(0x519)]:return _0x404e7e(0x400);case _0x3fce9b[_0x404e7e(0x47e)]:case _0x3fce9b[_0x404e7e(0x6c1)]:return _0x404e7e(0x28a);case _0x3fce9b[_0x404e7e(0x6a4)]:case _0x3fce9b['PENDING']:return _0x404e7e(0x5df);}}function _0x44c9b0(_0x56bf81){const _0x198825=_0x399f16,{status$:_0x4ebdd6}=_0x56bf81,_0x3e5f93=_0x3f3b0b[_0x198825(0x38d)](_0x4ebdd6,_0x3fce9b[_0x198825(0x519)]),_0x1c08a8=_0x4f08d1[_0x198825(0x275)](_0x4f08d1['LocaleService']),_0x467b3b=_0x4f08d1[_0x198825(0x275)](_0x5545bf[_0x198825(0x294)]),_0x4932a9=_0x3e5f93!==_0x3fce9b[_0x198825(0x246)],_0x3d7331=_0x1c08a8['t'](_0x1d9070(_0x3e5f93)),_0xff73eb=_0x1dd66e(_0x439edf['onlineStatus'],{[_0x439edf[_0x198825(0x571)]]:_0x4932a9,[_0x439edf['offline']]:!_0x4932a9}),_0x252a05=_0x4932a9?_0x55d5dd[_0x198825(0x2d3)](_0x356cda,{}):_0x55d5dd[_0x198825(0x2d3)](_0x223ece,{}),_0x27be78=_0x21525c['useCallback'](()=>{const _0x44bc28=_0x198825;_0x4932a9||_0x467b3b[_0x44bc28(0x68d)]();},[_0x4932a9,_0x467b3b]);function _0x57c215(){const _0x4f0951=_0x198825;return _0x55d5dd[_0x4f0951(0x581)]('div',{'className':_0xff73eb,'onClick':_0x27be78,'children':[_0x55d5dd['jsx'](_0x4f0951(0x656),{'className':_0x439edf[_0x4f0951(0x491)],'children':_0x252a05}),_0x55d5dd[_0x4f0951(0x2d3)](_0x4f0951(0x656),{'className':_0x439edf[_0x4f0951(0x608)],'children':_0x3d7331})]});}return _0x4932a9?_0x57c215():_0x55d5dd['jsx'](_0x3c040d[_0x198825(0x636)],{'title':_0x1c08a8['t'](_0x198825(0x431)),'children':_0x57c215()});}var _0x56351b=Object[_0x399f16(0x30f)],_0x1486ff=Object[_0x399f16(0x468)],_0x370e6f=(_0x426535,_0x34d32e,_0x42f2d5,_0x287265)=>{const _0x2e7e80=_0x399f16;for(var _0x15eaa7=_0x287265>0x1?void 0x0:_0x287265?_0x1486ff(_0x34d32e,_0x42f2d5):_0x34d32e,_0x7da371=_0x426535[_0x2e7e80(0x4ba)]-0x1,_0x50555b;_0x7da371>=0x0;_0x7da371--)(_0x50555b=_0x426535[_0x7da371])&&(_0x15eaa7=(_0x287265?_0x50555b(_0x34d32e,_0x42f2d5,_0x15eaa7):_0x50555b(_0x15eaa7))||_0x15eaa7);return _0x287265&&_0x15eaa7&&_0x56351b(_0x34d32e,_0x42f2d5,_0x15eaa7),_0x15eaa7;},_0x5c5460=(_0x162900,_0x4edfa7)=>(_0x2d2265,_0xc6a92)=>_0x4edfa7(_0x2d2265,_0xc6a92,_0x162900);_0x5545bf[_0x399f16(0x387)]=class extends _0x4f08d1[_0x399f16(0x5a2)]{constructor(_0x223054,_0x17b4b0,_0x5c1f3e,_0x6e090d){const _0x2dedfa=_0x399f16;super(),_0x4185c3(this,'_status$',new _0x2b43af[(_0x2dedfa(0x347))](_0x3fce9b['NOT_COLLAB'])),(this[_0x2dedfa(0x47a)]=_0x223054,this[_0x2dedfa(0x207)]=_0x17b4b0,this['_injector']=_0x5c1f3e,this[_0x2dedfa(0x692)]=_0x6e090d,this[_0x2dedfa(0x58e)](),this[_0x2dedfa(0x6a5)]());}[_0x399f16(0x6a5)](){const _0x58ea2d=_0x399f16;this[_0x58ea2d(0x586)](this[_0x58ea2d(0x47a)][_0x58ea2d(0x2fa)][_0x58ea2d(0x3d3)](_0x2b43af[_0x58ea2d(0x366)](()=>{const _0xfb5239=_0x58ea2d,_0x3db673=this[_0xfb5239(0x47a)]['getFocusedUnit']();return _0x3db673?this['_collaborationController'][_0xfb5239(0x58f)](_0x3db673[_0xfb5239(0x2cb)]()):_0x2b43af['of'](null);}),_0x2b43af[_0x58ea2d(0x366)](_0x10b9b5=>_0x10b9b5?_0x10b9b5[_0x58ea2d(0x651)]:_0x2b43af['of'](_0x3fce9b[_0x58ea2d(0x519)])))[_0x58ea2d(0x4e9)](_0x297e22=>{const _0x2d1980=_0x58ea2d;this['_status$'][_0x2d1980(0x683)](_0x297e22);}));}['_initStatusComponent'](){const _0x40883d=_0x399f16;this[_0x40883d(0x586)](this['_uiPartsService'][_0x40883d(0x507)](_0x3f3b0b[_0x40883d(0x288)][_0x40883d(0x4d1)],()=>_0x4f08d1['connectInjector'](_0x5d2d4c({'status$':this[_0x40883d(0x4b7)][_0x40883d(0x461)]()}),this['_injector'])));}},_0x5545bf[_0x399f16(0x387)]=_0x370e6f([_0x5c5460(0x0,_0x4f08d1[_0x399f16(0x353)]),_0x5c5460(0x1,_0x3f3b0b[_0x399f16(0x1f6)]),_0x5c5460(0x2,_0x4f08d1['Inject'](_0x4f08d1[_0x399f16(0x492)])),_0x5c5460(0x3,_0x4f08d1['Inject'](_0x5545bf[_0x399f16(0x558)]))],_0x5545bf[_0x399f16(0x387)]);function _0x5d2d4c(_0x28b8e8){const {status$:_0xe1e3e5}=_0x28b8e8;return function(){const _0x2e3588=_0x5a32;return _0x55d5dd[_0x2e3588(0x2d3)](_0x44c9b0,{'status$':_0xe1e3e5});};}const _0x4ab4bf=_0x4f08d1['createIdentifier']('uni.network.url-service');var _0x205687=Object[_0x399f16(0x30f)],_0x3276d5=Object[_0x399f16(0x468)],_0x414a8e=(_0x48ce1a,_0x43244c,_0x227551,_0xae02fd)=>{const _0x57f409=_0x399f16;for(var _0x2be2dd=_0xae02fd>0x1?void 0x0:_0xae02fd?_0x3276d5(_0x43244c,_0x227551):_0x43244c,_0x7b4da3=_0x48ce1a[_0x57f409(0x4ba)]-0x1,_0x4e90f5;_0x7b4da3>=0x0;_0x7b4da3--)(_0x4e90f5=_0x48ce1a[_0x7b4da3])&&(_0x2be2dd=(_0xae02fd?_0x4e90f5(_0x43244c,_0x227551,_0x2be2dd):_0x4e90f5(_0x2be2dd))||_0x2be2dd);return _0xae02fd&&_0x2be2dd&&_0x205687(_0x43244c,_0x227551,_0x2be2dd),_0x2be2dd;},_0x225fae=(_0x35a8a0,_0x2c7d7a)=>(_0x21bed5,_0x28545c)=>_0x2c7d7a(_0x21bed5,_0x28545c,_0x35a8a0);_0x5545bf[_0x399f16(0x237)]=class extends _0x4f08d1[_0x399f16(0x63e)]{constructor(_0x47fcfb,_0x5aa67b,_0xccca45,_0x506c10,_0x4c25d7,_0xb497ae){const _0x2c16ef=_0x399f16;super(),this['_urlService']=_0x47fcfb,this[_0x2c16ef(0x3ce)]=_0x5aa67b,this[_0x2c16ef(0x6a8)]=_0xccca45,this['_localCacheService']=_0x506c10,this[_0x2c16ef(0x638)]=_0x4c25d7,_0xb497ae?_0xb497ae==null||_0xb497ae['whenReady']()[_0x2c16ef(0x2a6)](()=>this['_init']()):(this['_logService'][_0x2c16ef(0x64f)](_0x2c16ef(0x485),_0x2c16ef(0x41b)),this[_0x2c16ef(0x695)]());}async['_init'](){const _0x411c95=_0x399f16,_0x434b46=this[_0x411c95(0x4ca)][_0x411c95(0x39d)]('unit'),_0x4f0c09=this[_0x411c95(0x4ca)][_0x411c95(0x39d)](_0x411c95(0x39a));if(!_0x434b46||!_0x4f0c09){this[_0x411c95(0x3ce)][_0x411c95(0x64f)](_0x411c95(0x485),_0x411c95(0x385));return;}switch(Number(_0x4f0c09)){case _0x478433[_0x411c95(0x1f3)]:{const _0x10fa26=await this[_0x411c95(0x4a1)](_0x434b46);this[_0x411c95(0x572)](_0x10fa26);break;}case _0x478433[_0x411c95(0x3e3)]:{await this[_0x411c95(0x2a4)](_0x434b46);break;}default:{this[_0x411c95(0x3ce)][_0x411c95(0x5d4)](_0x411c95(0x485),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x399f16(0x572)](_0x2e932a){const _0x260dd9=_0x399f16;await this[_0x260dd9(0x2d9)](_0x2e932a),_0x2e932a[_0x260dd9(0x5d1)][_0x260dd9(0x3d3)](_0x2b43af[_0x260dd9(0x41d)](this['dispose$']))[_0x260dd9(0x4e9)](_0x26faa2=>{_0x26faa2&&this['_updateURLWithCurrentState'](_0x26faa2);}),this[_0x260dd9(0x4ca)]['urlChange$']['pipe'](_0x2b43af[_0x260dd9(0x41d)](this[_0x260dd9(0x54c)]))[_0x260dd9(0x4e9)](()=>this['_updateSubUnitFromURLParams'](_0x2e932a));}['_updateURLWithCurrentState'](_0xa154a2,_0x2ad588=!0x1){const _0x5e7a4b=_0x399f16,_0x527bef=this[_0x5e7a4b(0x4ca)][_0x5e7a4b(0x39d)](_0x5e7a4b(0x5a4));_0xa154a2[_0x5e7a4b(0x2ef)]()!==_0x527bef&&this[_0x5e7a4b(0x4ca)][_0x5e7a4b(0x561)](_0x5e7a4b(0x5a4),_0xa154a2[_0x5e7a4b(0x2ef)](),_0x2ad588);}async[_0x399f16(0x2d9)](_0x26302b){const _0x4ba7b7=_0x399f16;var _0x2feeb7;const _0x1c3c0c=this[_0x4ba7b7(0x4ca)][_0x4ba7b7(0x39d)](_0x4ba7b7(0x5a4));if(!_0x1c3c0c||!_0x26302b[_0x4ba7b7(0x1f8)](_0x1c3c0c)){const _0x1ee5b7=_0x26302b['getUnhiddenWorksheets']()[0x0],_0x25d43d=_0x26302b[_0x4ba7b7(0x1f8)](_0x1ee5b7);if(!_0x25d43d)return;this['_updateURLWithCurrentState'](_0x25d43d,!0x0),await this[_0x4ba7b7(0x6a8)][_0x4ba7b7(0x584)](_0x5acd2f[_0x4ba7b7(0x41f)]['id'],{'unitId':_0x26302b[_0x4ba7b7(0x2cb)](),'subUnitId':_0x1ee5b7});return;}((_0x2feeb7=_0x26302b[_0x4ba7b7(0x4ea)]())==null?void 0x0:_0x2feeb7['getSheetId']())!==_0x1c3c0c&&await this[_0x4ba7b7(0x6a8)]['executeCommand'](_0x5acd2f[_0x4ba7b7(0x41f)]['id'],{'unitId':_0x26302b[_0x4ba7b7(0x2cb)](),'subUnitId':_0x1c3c0c});}async['_loadSheet'](_0x23a8aa){const _0x4cd7ff=_0x399f16;let _0x6b2de5=0x0;const _0x153407=await this[_0x4cd7ff(0x40b)]['loadOfflineData'](_0x23a8aa);return _0x153407&&(_0x153407['awaitingChangeset']||_0x153407[_0x4cd7ff(0x5fc)][_0x4cd7ff(0x4ba)]!==0x0)&&(_0x6b2de5=_0x153407['rev']),_0x6b2de5===0x0&&this[_0x4cd7ff(0x3ce)][_0x4cd7ff(0x64f)](_0x4cd7ff(0x485),_0x4cd7ff(0x3e6)),this[_0x4cd7ff(0x638)][_0x4cd7ff(0x2fc)](_0x23a8aa,_0x6b2de5);}async[_0x399f16(0x2a4)](_0x57d989){const _0x91f89d=_0x399f16;let _0x108984=0x0;const _0x177c65=await this[_0x91f89d(0x40b)][_0x91f89d(0x35d)](_0x57d989);return _0x177c65&&(_0x177c65[_0x91f89d(0x56b)]||_0x177c65[_0x91f89d(0x5fc)][_0x91f89d(0x4ba)]!==0x0)&&(_0x108984=_0x177c65[_0x91f89d(0x241)]),_0x108984===0x0&&this[_0x91f89d(0x3ce)][_0x91f89d(0x64f)]('[DataLoaderController]',_0x91f89d(0x3e6)),this[_0x91f89d(0x638)]['loadDoc'](_0x57d989,_0x108984);}},_0x5545bf['DataLoaderController']=_0x414a8e([_0x225fae(0x0,_0x4ab4bf),_0x225fae(0x1,_0x4f08d1[_0x399f16(0x668)]),_0x225fae(0x2,_0x4f08d1[_0x399f16(0x496)]),_0x225fae(0x3,_0x4f08d1[_0x399f16(0x6b5)](_0x5545bf[_0x399f16(0x381)])),_0x225fae(0x4,_0x4f08d1[_0x399f16(0x6b5)](_0x1b0275[_0x399f16(0x362)])),_0x225fae(0x5,_0x4f08d1['Optional'](_0x1df5e2[_0x399f16(0x2bd)]))],_0x5545bf['DataLoaderController']);var _0x8de998=Object[_0x399f16(0x30f)],_0x4dc354=Object[_0x399f16(0x468)],_0x61aaa=(_0x50330e,_0x13647d,_0x14ad45,_0x128c5c)=>{const _0x1bccad=_0x399f16;for(var _0x5c6855=_0x128c5c>0x1?void 0x0:_0x128c5c?_0x4dc354(_0x13647d,_0x14ad45):_0x13647d,_0xac9f74=_0x50330e[_0x1bccad(0x4ba)]-0x1,_0xc9be53;_0xac9f74>=0x0;_0xac9f74--)(_0xc9be53=_0x50330e[_0xac9f74])&&(_0x5c6855=(_0x128c5c?_0xc9be53(_0x13647d,_0x14ad45,_0x5c6855):_0xc9be53(_0x5c6855))||_0x5c6855);return _0x128c5c&&_0x5c6855&&_0x8de998(_0x13647d,_0x14ad45,_0x5c6855),_0x5c6855;},_0x183d45=(_0x3a8868,_0x4584a1)=>(_0x45469d,_0x20b9f0)=>_0x4584a1(_0x45469d,_0x20b9f0,_0x3a8868);const _0x33fba0=_0x399f16(0x367),_0x335613=_0x399f16(0x2a8);let _0x2e96b=class extends _0x4f08d1[_0x399f16(0x5a2)]{constructor(_0x2b0ba8,_0x3a42ab){const _0x2f0795=_0x399f16;super(),this[_0x2f0795(0x47a)]=_0x2b0ba8,this[_0x2f0795(0x286)]=_0x3a42ab,this[_0x2f0795(0x695)]();}[_0x399f16(0x695)](){const _0x47352a=_0x399f16;this[_0x47352a(0x586)](this['_univerInstanceService'][_0x47352a(0x2fa)][_0x47352a(0x4e9)](()=>{const _0x5d7bee=_0x47352a;var _0x6dcc93;const _0x86cbf9=this[_0x5d7bee(0x47a)][_0x5d7bee(0x51a)]();let _0x59e7aa=(_0x6dcc93=this[_0x5d7bee(0x286)][_0x5d7bee(0x22e)](_0x33fba0))!=null?_0x6dcc93:_0x335613;_0x86cbf9 instanceof _0x4f08d1['Workbook']&&(_0x59e7aa=_0x86cbf9[_0x5d7bee(0x66c)]),document[_0x5d7bee(0x25f)]=_0x59e7aa;}));}};_0x2e96b=_0x61aaa([_0x183d45(0x0,_0x4f08d1[_0x399f16(0x353)]),_0x183d45(0x1,_0x4f08d1[_0x399f16(0x4cb)])],_0x2e96b);var _0x16d3a1=Object[_0x399f16(0x30f)],_0x1a2093=Object[_0x399f16(0x468)],_0x311675=(_0x3d8960,_0x102b44,_0x298896,_0x1f48f8)=>{const _0x1171a1=_0x399f16;for(var _0x2f8e6b=_0x1f48f8>0x1?void 0x0:_0x1f48f8?_0x1a2093(_0x102b44,_0x298896):_0x102b44,_0x3f1a5b=_0x3d8960[_0x1171a1(0x4ba)]-0x1,_0x5a8b95;_0x3f1a5b>=0x0;_0x3f1a5b--)(_0x5a8b95=_0x3d8960[_0x3f1a5b])&&(_0x2f8e6b=(_0x1f48f8?_0x5a8b95(_0x102b44,_0x298896,_0x2f8e6b):_0x5a8b95(_0x2f8e6b))||_0x2f8e6b);return _0x1f48f8&&_0x2f8e6b&&_0x16d3a1(_0x102b44,_0x298896,_0x2f8e6b),_0x2f8e6b;},_0x39b794=(_0x2cf6c5,_0x5233b2)=>(_0x431195,_0x4260da)=>_0x5233b2(_0x431195,_0x4260da,_0x2cf6c5);let _0x15b92c=class{constructor(_0x37fb78,_0x4b04d4,_0x213e42){const _0xbb0b86=_0x399f16;this[_0xbb0b86(0x286)]=_0x37fb78,this[_0xbb0b86(0x248)]=_0x4b04d4,this['localeService']=_0x213e42,this['init']();}[_0x399f16(0x523)](){const _0x29dbce=_0x399f16;this[_0x29dbce(0x248)][_0x29dbce(0x564)]({'priority':0x1,'interceptor':(_0x1701d0,_0xea1cde)=>_0xea1cde(_0x1701d0)[_0x29dbce(0x3d3)](_0x2b43af[_0x29dbce(0x5bd)](async _0x55b644=>{const _0x3ebcac=_0x29dbce,_0x1be61c=_0x55b644;if(_0x1be61c[_0x3ebcac(0x696)]===0x191&&window[_0x3ebcac(0x434)](this[_0x3ebcac(0x629)]['t'](_0x3ebcac(0x694)))){const _0xdce1d9=window[_0x3ebcac(0x6a2)](window['location'][_0x3ebcac(0x291)]);window[_0x3ebcac(0x612)][_0x3ebcac(0x291)]=this[_0x3ebcac(0x27d)]()+_0x3ebcac(0x658)+_0xdce1d9;}return _0x1be61c;}))});}['_getLoginPath'](){const _0x5a9865=_0x399f16;var _0x44290a,_0x1c7c8a;const _0x53784b=this[_0x5a9865(0x286)]['getConfig'](_0xc1b4f2),_0x6a34e5=this[_0x5a9865(0x286)][_0x5a9865(0x22e)](_0x2db08d);return(_0x1c7c8a=(_0x44290a=_0x6a34e5==null?void 0x0:_0x6a34e5[_0x5a9865(0x301)])!=null?_0x44290a:_0x53784b)!=null?_0x1c7c8a:_0x2028b4;}};_0x15b92c=_0x311675([_0x39b794(0x0,_0x4f08d1['IConfigService']),_0x39b794(0x1,_0x4f08d1[_0x399f16(0x6b5)](_0x413477[_0x399f16(0x5be)])),_0x39b794(0x2,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x53c)]))],_0x15b92c);var _0x42c8b8=Object[_0x399f16(0x30f)],_0x34d9ac=Object[_0x399f16(0x468)],_0x358976=(_0x33b534,_0x5db749,_0x733313,_0x16931f)=>{for(var _0x1a40b9=_0x16931f>0x1?void 0x0:_0x16931f?_0x34d9ac(_0x5db749,_0x733313):_0x5db749,_0x1ee8ce=_0x33b534['length']-0x1,_0x441526;_0x1ee8ce>=0x0;_0x1ee8ce--)(_0x441526=_0x33b534[_0x1ee8ce])&&(_0x1a40b9=(_0x16931f?_0x441526(_0x5db749,_0x733313,_0x1a40b9):_0x441526(_0x1a40b9))||_0x1a40b9);return _0x16931f&&_0x1a40b9&&_0x42c8b8(_0x5db749,_0x733313,_0x1a40b9),_0x1a40b9;},_0xcb60fa=(_0x2c5208,_0x1ad5a2)=>(_0x4f5636,_0x31f286)=>_0x1ad5a2(_0x4f5636,_0x31f286,_0x2c5208);const _0xe5bc59=_0x399f16(0x60d),_0x525d91='/universer-api/authz';_0x5545bf['AuthzIoHttpService']=class extends _0x4f08d1['Disposable']{constructor(_0x18c672,_0x205a4e){const _0x28f740=_0x399f16;super(),this[_0x28f740(0x471)]=_0x18c672,this['_configService']=_0x205a4e,this[_0x28f740(0x4d7)]();}[_0x399f16(0x4d7)](){const _0x2968d1=_0x399f16,_0x48eeae=this;this[_0x2968d1(0x586)](this[_0x2968d1(0x471)][_0x2968d1(0x564)]({'priority':0x3e7,'interceptor':_0x413477[_0x2968d1(0x3c0)]({'isMatch'(_0x354d02){const _0x48e4e2=_0x2968d1;var _0x4300cd;if(_0x354d02[_0x48e4e2(0x542)]===_0x48e4e2(0x2bb)&&((_0x4300cd=_0x354d02['requestParams'])!=null&&_0x4300cd[_0x48e4e2(0x270)])){const {objectID:_0x456dcb,objectType:_0x11031c}=_0x354d02[_0x48e4e2(0x28f)]['body']||{};if(!_0x456dcb||_0x11031c===void 0x0)return!0x1;const _0x2fbe0d=_0x48eeae['_getAPIPrefixPath']()+'/'+_0x11031c+_0x48e4e2(0x689)+_0x456dcb+'/allowed';if(_0x354d02[_0x48e4e2(0x4a3)]===_0x2fbe0d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4f06f4){var _0x1f483a;return(_0x1f483a=_0x4f06f4['requestParams'])==null?void 0x0:_0x1f483a['body'];},'mergeParamsToRequest'(_0x460341,_0x29affb){const _0x55875b=_0x2968d1,_0xbc8d8=_0x48eeae[_0x55875b(0x2f4)]()+_0x55875b(0x257),_0x294eb0=_0x460341[_0x55875b(0x646)]((_0xf846b1,_0x1d7ad3)=>{const _0x2ba910=_0x55875b,{unitID:_0x2a6f32,objectID:_0x34569f,objectType:_0x1bce88,actions:_0x574ea8}=_0x1d7ad3;return _0xf846b1[_0x2a6f32]||(_0xf846b1[_0x2a6f32]={}),_0xf846b1[_0x2a6f32][_0x34569f]||(_0xf846b1[_0x2a6f32][_0x34569f]={'objectID':_0x34569f,'objectType':_0x1bce88,'actions':[]}),_0xf846b1[_0x2a6f32][_0x34569f][_0x2ba910(0x5d0)][_0x2ba910(0x597)](..._0x574ea8),_0xf846b1;},{}),_0x4c3d35=[];for(const _0x26b337 in _0x294eb0)for(const _0x281167 in _0x294eb0[_0x26b337]){const {actions:_0x1ec4d5,objectType:_0x585d24}=_0x294eb0[_0x26b337][_0x281167],_0x157a3b=[...new Set(_0x1ec4d5)];_0x4c3d35[_0x55875b(0x597)]({'unitID':_0x26b337,'objectID':_0x281167,'objectType':_0x585d24,'actions':_0x157a3b});}return new _0x413477[(_0x55875b(0x45d))](_0x55875b(0x2bb),_0xbc8d8,{'headers':_0x29affb[_0x55875b(0x6b9)],'withCredentials':_0x29affb[_0x55875b(0x3b6)],'responseType':_0x29affb[_0x55875b(0x594)],'body':{'requests':_0x4c3d35}});}},{'distributeResult'(_0x45ec24,_0x1ee155){const _0x1caa6b=_0x2968d1,{objectActions:_0xde00d}=_0x45ec24;return _0x1ee155[_0x1caa6b(0x5ea)](_0x3c6afe=>{const _0x22d3df=_0x1caa6b,{unitID:_0x1abd34,objectID:_0x15ed17,actions:_0x394101}=_0x3c6afe,_0x5af6bd=_0xde00d[_0x22d3df(0x51f)](_0x4079f7=>_0x4079f7[_0x22d3df(0x5dd)]===_0x1abd34&&_0x4079f7['objectID']===_0x15ed17),_0x10d7b2=_0x394101[_0x22d3df(0x5ea)](_0x2cfeef=>_0x5af6bd==null?void 0x0:_0x5af6bd[_0x22d3df(0x5d0)][_0x22d3df(0x51f)](_0x4fc1f2=>_0x4fc1f2[_0x22d3df(0x6b2)]===_0x2cfeef))[_0x22d3df(0x4e2)](_0x2c6cf0=>!!_0x2c6cf0);return{'config':_0x3c6afe,'result':{'actions':_0x10d7b2,'error':_0x45ec24[_0x22d3df(0x5d4)]}};});}})}));}[_0x399f16(0x2f4)](){const _0x440e11=_0x399f16;var _0x2eabd3,_0x3e8bc7;const _0x19e8ce=this[_0x440e11(0x286)]['getConfig'](_0xe5bc59),_0x56e5d9=this[_0x440e11(0x286)][_0x440e11(0x22e)](_0x2db08d);return(_0x3e8bc7=(_0x2eabd3=_0x56e5d9==null?void 0x0:_0x56e5d9[_0x440e11(0x306)])!=null?_0x2eabd3:_0x19e8ce)!=null?_0x3e8bc7:_0x525d91;}async[_0x399f16(0x26e)](_0x278725){const _0x385c8f=_0x399f16,_0x2cbbe6=this[_0x385c8f(0x2f4)]()+'/'+_0x278725[_0x385c8f(0x408)]+_0x385c8f(0x393);return(await this[_0x385c8f(0x471)][_0x385c8f(0x2b6)](_0x2cbbe6,{'body':_0x278725}))[_0x385c8f(0x270)]['objectID']||'';}async[_0x399f16(0x5b1)](_0x56656a){const _0x3ab2b4=_0x399f16,_0x4f285a=this[_0x3ab2b4(0x2f4)]()+_0x3ab2b4(0x360);return(await this[_0x3ab2b4(0x471)][_0x3ab2b4(0x2b6)](_0x4f285a,{'body':_0x56656a}))[_0x3ab2b4(0x270)][_0x3ab2b4(0x2e1)];}async[_0x399f16(0x386)](_0x17b62f){const _0x6a469b=_0x399f16,_0x580c8f=this[_0x6a469b(0x2f4)]()+'/'+_0x17b62f[_0x6a469b(0x408)]+_0x6a469b(0x689)+_0x17b62f[_0x6a469b(0x4f4)];await this['_HTTPService'][_0x6a469b(0x3f9)](_0x580c8f,{'body':_0x17b62f});}async[_0x399f16(0x1fd)](_0x17494a){const _0x13ccfb=_0x399f16,_0x4efe0c=this['_getAPIPrefixPath']()+'/'+_0x17494a[_0x13ccfb(0x408)]+_0x13ccfb(0x689)+_0x17494a[_0x13ccfb(0x4f4)]+_0x13ccfb(0x5f3);return(await this[_0x13ccfb(0x471)][_0x13ccfb(0x2b6)](_0x4efe0c,{'body':_0x17494a}))[_0x13ccfb(0x270)][_0x13ccfb(0x5d0)];}async['batchAllowed'](_0x10d1ca){const _0x478895=_0x399f16,_0x441346=this[_0x478895(0x2f4)]()+_0x478895(0x257);return(await this[_0x478895(0x471)][_0x478895(0x2b6)](_0x441346,{'body':{'requests':_0x10d1ca}}))['body'][_0x478895(0x66d)];}async[_0x399f16(0x36f)](_0x15c76d){const _0x36eae3=_0x399f16,_0x4fd1c8=this['_getAPIPrefixPath']()+'/'+_0x15c76d[_0x36eae3(0x408)]+_0x36eae3(0x685),_0x17c319=await this[_0x36eae3(0x471)]['post'](_0x4fd1c8,{'body':_0x15c76d});return{'roles':_0x17c319[_0x36eae3(0x270)]['roles'],'actions':_0x17c319['body'][_0x36eae3(0x5d0)]};}async[_0x399f16(0x35f)](_0x4ca585){const _0x289aee=_0x399f16,_0xd6aff1=this[_0x289aee(0x2f4)]()+_0x289aee(0x505);await this[_0x289aee(0x471)][_0x289aee(0x36a)](_0xd6aff1,{'params':{'collaboratorID':_0x4ca585[_0x289aee(0x3b3)],'objectID':_0x4ca585[_0x289aee(0x4f4)],'unitID':_0x4ca585[_0x289aee(0x5dd)]}});}async[_0x399f16(0x611)](_0x567574){const _0x7efaf6=_0x399f16,_0x57779c=this[_0x7efaf6(0x2f4)]()+_0x7efaf6(0x505);await this['_HTTPService']['patch'](_0x57779c,{'body':_0x567574});}async[_0x399f16(0x244)](_0x16ca27){const _0x4a0f02=_0x399f16,_0x15a91b=this[_0x4a0f02(0x2f4)]()+'/collaborator';await this[_0x4a0f02(0x471)][_0x4a0f02(0x2b6)](_0x15a91b,{'body':_0x16ca27});}async[_0x399f16(0x5f2)](_0x1baf09){const _0x18b960=_0x399f16,_0x41b925=this['_getAPIPrefixPath']()+_0x18b960(0x505);return(await this[_0x18b960(0x471)]['get'](_0x41b925,{'params':{'objectID':_0x1baf09[_0x18b960(0x4f4)],'unitID':_0x1baf09[_0x18b960(0x5dd)]}}))[_0x18b960(0x270)][_0x18b960(0x427)];}async[_0x399f16(0x5b0)](_0x5f02e0){const _0x47b5cf=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService']['put'](_0x47b5cf,{'body':_0x5f02e0});}},_0x5545bf[_0x399f16(0x2a2)]=_0x358976([_0xcb60fa(0x0,_0x4f08d1[_0x399f16(0x6b5)](_0x413477[_0x399f16(0x5be)])),_0xcb60fa(0x1,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x4cb)]))],_0x5545bf[_0x399f16(0x2a2)]);var _0x2d270c={'exports':{}};function _0x2eb397(_0x55e8ad){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x55e8ad+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x24c42e={'exports':{}},_0xcede4;function _0x32c6d7(){return _0xcede4||(_0xcede4=0x1,function(_0x1a5fab,_0x2a4a26){(function(_0x49f970,_0x123495){_0x1a5fab['exports']=_0x123495();}(_0x2784e0,function(){var _0x5422c9=_0x5422c9||function(_0x40c02f,_0x3c4bb6){const _0x4b512c=_0x5a32;var _0x2c1bf8;if(typeof window<'u'&&window[_0x4b512c(0x2dc)]&&(_0x2c1bf8=window[_0x4b512c(0x2dc)]),typeof self<'u'&&self[_0x4b512c(0x2dc)]&&(_0x2c1bf8=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4b512c(0x2dc)]&&(_0x2c1bf8=globalThis['crypto']),!_0x2c1bf8&&typeof window<'u'&&window[_0x4b512c(0x4b0)]&&(_0x2c1bf8=window[_0x4b512c(0x4b0)]),!_0x2c1bf8&&typeof _0x2784e0<'u'&&_0x2784e0['crypto']&&(_0x2c1bf8=_0x2784e0[_0x4b512c(0x2dc)]),!_0x2c1bf8&&typeof _0x2eb397==_0x4b512c(0x540))try{_0x2c1bf8=require(_0x4b512c(0x2dc));}catch{}var _0x3f2338=function(){const _0x2ed388=_0x4b512c;if(_0x2c1bf8){if(typeof _0x2c1bf8[_0x2ed388(0x2e2)]==_0x2ed388(0x540))try{return _0x2c1bf8[_0x2ed388(0x2e2)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2c1bf8[_0x2ed388(0x4e1)]==_0x2ed388(0x540))try{return _0x2c1bf8[_0x2ed388(0x4e1)](0x4)[_0x2ed388(0x45c)]();}catch{}}throw new Error(_0x2ed388(0x6b0));},_0x2f1708=Object[_0x4b512c(0x26e)]||(function(){function _0x496c45(){}return function(_0x12cbfd){const _0x1aae1d=_0x5a32;var _0x91535e;return _0x496c45[_0x1aae1d(0x3f4)]=_0x12cbfd,_0x91535e=new _0x496c45(),_0x496c45[_0x1aae1d(0x3f4)]=null,_0x91535e;};}()),_0x50ca99={},_0x106519=_0x50ca99['lib']={},_0x3d22ee=_0x106519[_0x4b512c(0x405)]=(function(){return{'extend':function(_0x1e48b2){const _0x2a6379=_0x5a32;var _0x502438=_0x2f1708(this);return _0x1e48b2&&_0x502438[_0x2a6379(0x593)](_0x1e48b2),(!_0x502438['hasOwnProperty']('init')||this[_0x2a6379(0x523)]===_0x502438[_0x2a6379(0x523)])&&(_0x502438[_0x2a6379(0x523)]=function(){const _0x285c43=_0x2a6379;_0x502438[_0x285c43(0x341)]['init'][_0x285c43(0x29c)](this,arguments);}),_0x502438[_0x2a6379(0x523)][_0x2a6379(0x3f4)]=_0x502438,_0x502438[_0x2a6379(0x341)]=this,_0x502438;},'create':function(){const _0x45c9fe=_0x5a32;var _0x54960b=this[_0x45c9fe(0x22c)]();return _0x54960b['init']['apply'](_0x54960b,arguments),_0x54960b;},'init':function(){},'mixIn':function(_0x640417){const _0x540af4=_0x5a32;for(var _0x521af7 in _0x640417)_0x640417['hasOwnProperty'](_0x521af7)&&(this[_0x521af7]=_0x640417[_0x521af7]);_0x640417[_0x540af4(0x4a9)](_0x540af4(0x358))&&(this[_0x540af4(0x358)]=_0x640417['toString']);},'clone':function(){const _0x31228c=_0x5a32;return this[_0x31228c(0x523)][_0x31228c(0x3f4)]['extend'](this);}};}()),_0x1eca70=_0x106519['WordArray']=_0x3d22ee[_0x4b512c(0x22c)]({'init':function(_0x2d2138,_0x2ff00c){const _0x77866d=_0x4b512c;_0x2d2138=this[_0x77866d(0x66a)]=_0x2d2138||[],_0x2ff00c!=_0x3c4bb6?this['sigBytes']=_0x2ff00c:this['sigBytes']=_0x2d2138[_0x77866d(0x4ba)]*0x4;},'toString':function(_0x444af0){const _0x37a4b8=_0x4b512c;return(_0x444af0||_0x5ca98c)[_0x37a4b8(0x2a1)](this);},'concat':function(_0x4891c2){const _0x3220db=_0x4b512c;var _0x2881e2=this[_0x3220db(0x66a)],_0x234e26=_0x4891c2[_0x3220db(0x66a)],_0x272288=this[_0x3220db(0x5fb)],_0x41f19b=_0x4891c2[_0x3220db(0x5fb)];if(this[_0x3220db(0x205)](),_0x272288%0x4)for(var _0x517008=0x0;_0x517008<_0x41f19b;_0x517008++){var _0x3c516c=_0x234e26[_0x517008>>>0x2]>>>0x18-_0x517008%0x4*0x8&0xff;_0x2881e2[_0x272288+_0x517008>>>0x2]|=_0x3c516c<<0x18-(_0x272288+_0x517008)%0x4*0x8;}else{for(var _0x2ae04d=0x0;_0x2ae04d<_0x41f19b;_0x2ae04d+=0x4)_0x2881e2[_0x272288+_0x2ae04d>>>0x2]=_0x234e26[_0x2ae04d>>>0x2];}return this[_0x3220db(0x5fb)]+=_0x41f19b,this;},'clamp':function(){const _0x21b969=_0x4b512c;var _0x2ba039=this['words'],_0x136b4f=this[_0x21b969(0x5fb)];_0x2ba039[_0x136b4f>>>0x2]&=0xffffffff<<0x20-_0x136b4f%0x4*0x8,_0x2ba039['length']=_0x40c02f[_0x21b969(0x43f)](_0x136b4f/0x4);},'clone':function(){const _0x201c25=_0x4b512c;var _0x25fde8=_0x3d22ee[_0x201c25(0x5e1)][_0x201c25(0x55c)](this);return _0x25fde8[_0x201c25(0x66a)]=this['words']['slice'](0x0),_0x25fde8;},'random':function(_0x2668b5){const _0x4af0ab=_0x4b512c;for(var _0x3cfef2=[],_0x4291d8=0x0;_0x4291d8<_0x2668b5;_0x4291d8+=0x4)_0x3cfef2[_0x4af0ab(0x597)](_0x3f2338());return new _0x1eca70[(_0x4af0ab(0x523))](_0x3cfef2,_0x2668b5);}}),_0x5398a5=_0x50ca99[_0x4b512c(0x57b)]={},_0x5ca98c=_0x5398a5[_0x4b512c(0x226)]={'stringify':function(_0x2f961e){const _0x658c6c=_0x4b512c;for(var _0x2a29e1=_0x2f961e[_0x658c6c(0x66a)],_0x370000=_0x2f961e['sigBytes'],_0x3e6891=[],_0x24f096=0x0;_0x24f096<_0x370000;_0x24f096++){var _0x230d1b=_0x2a29e1[_0x24f096>>>0x2]>>>0x18-_0x24f096%0x4*0x8&0xff;_0x3e6891['push']((_0x230d1b>>>0x4)[_0x658c6c(0x358)](0x10)),_0x3e6891[_0x658c6c(0x597)]((_0x230d1b&0xf)['toString'](0x10));}return _0x3e6891[_0x658c6c(0x4fd)]('');},'parse':function(_0xd7a283){const _0xf971a3=_0x4b512c;for(var _0x4c869c=_0xd7a283[_0xf971a3(0x4ba)],_0x2f6db1=[],_0x2b5070=0x0;_0x2b5070<_0x4c869c;_0x2b5070+=0x2)_0x2f6db1[_0x2b5070>>>0x3]|=parseInt(_0xd7a283[_0xf971a3(0x615)](_0x2b5070,0x2),0x10)<<0x18-_0x2b5070%0x8*0x4;return new _0x1eca70[(_0xf971a3(0x523))](_0x2f6db1,_0x4c869c/0x2);}},_0x9069d4=_0x5398a5[_0x4b512c(0x54a)]={'stringify':function(_0x5130b8){const _0x55eee7=_0x4b512c;for(var _0x56235f=_0x5130b8[_0x55eee7(0x66a)],_0xc6aa23=_0x5130b8[_0x55eee7(0x5fb)],_0x34aaf3=[],_0x1ed500=0x0;_0x1ed500<_0xc6aa23;_0x1ed500++){var _0x24a70c=_0x56235f[_0x1ed500>>>0x2]>>>0x18-_0x1ed500%0x4*0x8&0xff;_0x34aaf3['push'](String['fromCharCode'](_0x24a70c));}return _0x34aaf3[_0x55eee7(0x4fd)]('');},'parse':function(_0x2214a5){const _0x336f55=_0x4b512c;for(var _0x5b7692=_0x2214a5['length'],_0x3bc695=[],_0x527cb0=0x0;_0x527cb0<_0x5b7692;_0x527cb0++)_0x3bc695[_0x527cb0>>>0x2]|=(_0x2214a5[_0x336f55(0x562)](_0x527cb0)&0xff)<<0x18-_0x527cb0%0x4*0x8;return new _0x1eca70[(_0x336f55(0x523))](_0x3bc695,_0x5b7692);}},_0x6a20bb=_0x5398a5[_0x4b512c(0x231)]={'stringify':function(_0xfd66e0){const _0x40909f=_0x4b512c;try{return decodeURIComponent(escape(_0x9069d4[_0x40909f(0x2a1)](_0xfd66e0)));}catch{throw new Error(_0x40909f(0x2e4));}},'parse':function(_0x10343c){const _0x1b0a8b=_0x4b512c;return _0x9069d4[_0x1b0a8b(0x539)](unescape(encodeURIComponent(_0x10343c)));}},_0x45df1c=_0x106519[_0x4b512c(0x541)]=_0x3d22ee[_0x4b512c(0x22c)]({'reset':function(){const _0x546917=_0x4b512c;this[_0x546917(0x4f9)]=new _0x1eca70[(_0x546917(0x523))](),this[_0x546917(0x200)]=0x0;},'_append':function(_0xa491d0){const _0x3811aa=_0x4b512c;typeof _0xa491d0=='string'&&(_0xa491d0=_0x6a20bb[_0x3811aa(0x539)](_0xa491d0)),this['_data']['concat'](_0xa491d0),this[_0x3811aa(0x200)]+=_0xa491d0[_0x3811aa(0x5fb)];},'_process':function(_0x1e1030){const _0x3c634f=_0x4b512c;var _0xdb753d,_0x4f1b57=this['_data'],_0x5edbf8=_0x4f1b57[_0x3c634f(0x66a)],_0x5176c7=_0x4f1b57[_0x3c634f(0x5fb)],_0x159cdc=this['blockSize'],_0x4fac68=_0x159cdc*0x4,_0x1fdbd6=_0x5176c7/_0x4fac68;_0x1e1030?_0x1fdbd6=_0x40c02f[_0x3c634f(0x43f)](_0x1fdbd6):_0x1fdbd6=_0x40c02f[_0x3c634f(0x46c)]((_0x1fdbd6|0x0)-this['_minBufferSize'],0x0);var _0x182c42=_0x1fdbd6*_0x159cdc,_0x7cb1dd=_0x40c02f['min'](_0x182c42*0x4,_0x5176c7);if(_0x182c42){for(var _0x500e22=0x0;_0x500e22<_0x182c42;_0x500e22+=_0x159cdc)this[_0x3c634f(0x5a5)](_0x5edbf8,_0x500e22);_0xdb753d=_0x5edbf8[_0x3c634f(0x364)](0x0,_0x182c42),_0x4f1b57[_0x3c634f(0x5fb)]-=_0x7cb1dd;}return new _0x1eca70[(_0x3c634f(0x523))](_0xdb753d,_0x7cb1dd);},'clone':function(){const _0xd24dbb=_0x4b512c;var _0xd42273=_0x3d22ee['clone'][_0xd24dbb(0x55c)](this);return _0xd42273['_data']=this[_0xd24dbb(0x4f9)][_0xd24dbb(0x5e1)](),_0xd42273;},'_minBufferSize':0x0});_0x106519[_0x4b512c(0x511)]=_0x45df1c['extend']({'cfg':_0x3d22ee[_0x4b512c(0x22c)](),'init':function(_0x4748ad){const _0x1b82c7=_0x4b512c;this[_0x1b82c7(0x26b)]=this[_0x1b82c7(0x26b)]['extend'](_0x4748ad),this[_0x1b82c7(0x544)]();},'reset':function(){const _0x82cb47=_0x4b512c;_0x45df1c['reset'][_0x82cb47(0x55c)](this),this[_0x82cb47(0x550)]();},'update':function(_0x2f22f0){const _0x429101=_0x4b512c;return this[_0x429101(0x28c)](_0x2f22f0),this['_process'](),this;},'finalize':function(_0x21b0f0){const _0x41d290=_0x4b512c;_0x21b0f0&&this[_0x41d290(0x28c)](_0x21b0f0);var _0x505653=this[_0x41d290(0x3db)]();return _0x505653;},'blockSize':0x10,'_createHelper':function(_0x333620){return function(_0x370986,_0x908ffb){const _0x5b98d6=_0x5a32;return new _0x333620[(_0x5b98d6(0x523))](_0x908ffb)[_0x5b98d6(0x489)](_0x370986);};},'_createHmacHelper':function(_0x2681dc){return function(_0x2f111e,_0x363026){const _0x199349=_0x5a32;return new _0x2870d4[(_0x199349(0x521))][(_0x199349(0x523))](_0x2681dc,_0x363026)[_0x199349(0x489)](_0x2f111e);};}});var _0x2870d4=_0x50ca99[_0x4b512c(0x29e)]={};return _0x50ca99;}(Math);return _0x5422c9;}));}(_0x24c42e)),_0x24c42e['exports'];}var _0x52f18c={'exports':{}},_0x33982a;function _0x1203fa(){const _0x4d507f=_0x399f16;return _0x33982a||(_0x33982a=0x1,function(_0x357342,_0x3e43){(function(_0x1c3504,_0x3537c3){const _0x42b419=_0x5a32;_0x357342[_0x42b419(0x451)]=_0x3537c3(_0x32c6d7());}(_0x2784e0,function(_0x1741d8){const _0x3daf55=_0x5a32;return(function(){const _0x56d127=_0x5a32;var _0x1ee5fa=_0x1741d8,_0x1d4698=_0x1ee5fa['lib'],_0x5825bd=_0x1d4698[_0x56d127(0x5ad)],_0x3e2deb=_0x1ee5fa[_0x56d127(0x57b)];_0x3e2deb[_0x56d127(0x2c1)]={'stringify':function(_0x1d36f9){const _0x4ddb6d=_0x56d127;var _0x17b3e0=_0x1d36f9['words'],_0x382c4f=_0x1d36f9[_0x4ddb6d(0x5fb)],_0x2166e4=this['_map'];_0x1d36f9['clamp']();for(var _0x4a23a4=[],_0x199889=0x0;_0x199889<_0x382c4f;_0x199889+=0x3)for(var _0x1d98cb=_0x17b3e0[_0x199889>>>0x2]>>>0x18-_0x199889%0x4*0x8&0xff,_0x3b8812=_0x17b3e0[_0x199889+0x1>>>0x2]>>>0x18-(_0x199889+0x1)%0x4*0x8&0xff,_0x794267=_0x17b3e0[_0x199889+0x2>>>0x2]>>>0x18-(_0x199889+0x2)%0x4*0x8&0xff,_0x2a6837=_0x1d98cb<<0x10|_0x3b8812<<0x8|_0x794267,_0x2053ae=0x0;_0x2053ae<0x4&&_0x199889+_0x2053ae*0.75<_0x382c4f;_0x2053ae++)_0x4a23a4[_0x4ddb6d(0x597)](_0x2166e4['charAt'](_0x2a6837>>>0x6*(0x3-_0x2053ae)&0x3f));var _0x157949=_0x2166e4[_0x4ddb6d(0x68e)](0x40);if(_0x157949){for(;_0x4a23a4['length']%0x4;)_0x4a23a4['push'](_0x157949);}return _0x4a23a4[_0x4ddb6d(0x4fd)]('');},'parse':function(_0x5b3b38){const _0x4e4302=_0x56d127;var _0x156146=_0x5b3b38['length'],_0x411ba9=this[_0x4e4302(0x46d)],_0x51407f=this[_0x4e4302(0x206)];if(!_0x51407f){_0x51407f=this[_0x4e4302(0x206)]=[];for(var _0x37e144=0x0;_0x37e144<_0x411ba9[_0x4e4302(0x4ba)];_0x37e144++)_0x51407f[_0x411ba9[_0x4e4302(0x562)](_0x37e144)]=_0x37e144;}var _0x286c4f=_0x411ba9['charAt'](0x40);if(_0x286c4f){var _0x6cfb71=_0x5b3b38[_0x4e4302(0x60c)](_0x286c4f);_0x6cfb71!==-0x1&&(_0x156146=_0x6cfb71);}return _0xf7a8ee(_0x5b3b38,_0x156146,_0x51407f);},'_map':_0x56d127(0x3a2)};function _0xf7a8ee(_0x5cc9b1,_0x1fdf29,_0x36b07d){const _0x58409f=_0x56d127;for(var _0x4b6d4f=[],_0x5d5009=0x0,_0x28296a=0x0;_0x28296a<_0x1fdf29;_0x28296a++)if(_0x28296a%0x4){var _0x2c9241=_0x36b07d[_0x5cc9b1['charCodeAt'](_0x28296a-0x1)]<<_0x28296a%0x4*0x2,_0x51b697=_0x36b07d[_0x5cc9b1[_0x58409f(0x562)](_0x28296a)]>>>0x6-_0x28296a%0x4*0x2,_0x390606=_0x2c9241|_0x51b697;_0x4b6d4f[_0x5d5009>>>0x2]|=_0x390606<<0x18-_0x5d5009%0x4*0x8,_0x5d5009++;}return _0x5825bd[_0x58409f(0x26e)](_0x4b6d4f,_0x5d5009);}}()),_0x1741d8[_0x3daf55(0x57b)][_0x3daf55(0x2c1)];}));}(_0x52f18c)),_0x52f18c[_0x4d507f(0x451)];}var _0x451f7b={'exports':{}},_0x18819d;function _0x5982e4(){const _0x5aab7a=_0x399f16;return _0x18819d||(_0x18819d=0x1,function(_0x1f18ba,_0x3cbe06){(function(_0x2d046d,_0xca9f47){const _0x34b8ad=_0x5a32;_0x1f18ba[_0x34b8ad(0x451)]=_0xca9f47(_0x32c6d7());}(_0x2784e0,function(_0x1509b2){const _0x3f1dc8=_0x5a32;return function(_0x2841c9){const _0x640011=_0x5a32;var _0x262acc=_0x1509b2,_0x1f1c21=_0x262acc[_0x640011(0x684)],_0x1c42da=_0x1f1c21[_0x640011(0x5ad)],_0x314162=_0x1f1c21[_0x640011(0x511)],_0x1373e8=_0x262acc['algo'],_0x4822aa=[];(function(){const _0x46aee9=_0x640011;for(var _0x40705c=0x0;_0x40705c<0x40;_0x40705c++)_0x4822aa[_0x40705c]=_0x2841c9[_0x46aee9(0x65a)](_0x2841c9[_0x46aee9(0x616)](_0x40705c+0x1))*0x100000000|0x0;}());var _0x2d7040=_0x1373e8[_0x640011(0x493)]=_0x314162['extend']({'_doReset':function(){const _0x2db100=_0x640011;this[_0x2db100(0x344)]=new _0x1c42da[(_0x2db100(0x523))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1c566f,_0x3630fa){const _0x24ee44=_0x640011;for(var _0x442ffb=0x0;_0x442ffb<0x10;_0x442ffb++){var _0x4434b4=_0x3630fa+_0x442ffb,_0x43e38c=_0x1c566f[_0x4434b4];_0x1c566f[_0x4434b4]=(_0x43e38c<<0x8|_0x43e38c>>>0x18)&0xff00ff|(_0x43e38c<<0x18|_0x43e38c>>>0x8)&0xff00ff00;}var _0x349f6b=this[_0x24ee44(0x344)][_0x24ee44(0x66a)],_0x184a2d=_0x1c566f[_0x3630fa+0x0],_0x55e717=_0x1c566f[_0x3630fa+0x1],_0x5b573d=_0x1c566f[_0x3630fa+0x2],_0x2aae85=_0x1c566f[_0x3630fa+0x3],_0x23987b=_0x1c566f[_0x3630fa+0x4],_0x112938=_0x1c566f[_0x3630fa+0x5],_0x4c37b0=_0x1c566f[_0x3630fa+0x6],_0x4339d5=_0x1c566f[_0x3630fa+0x7],_0x135667=_0x1c566f[_0x3630fa+0x8],_0x204bb4=_0x1c566f[_0x3630fa+0x9],_0x2f54d4=_0x1c566f[_0x3630fa+0xa],_0x33517f=_0x1c566f[_0x3630fa+0xb],_0x1c17be=_0x1c566f[_0x3630fa+0xc],_0xfc319f=_0x1c566f[_0x3630fa+0xd],_0x5f4825=_0x1c566f[_0x3630fa+0xe],_0x143c6f=_0x1c566f[_0x3630fa+0xf],_0x4b0a8b=_0x349f6b[0x0],_0x444b94=_0x349f6b[0x1],_0x2ff9ac=_0x349f6b[0x2],_0x38022d=_0x349f6b[0x3];_0x4b0a8b=_0xf5a9f6(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x184a2d,0x7,_0x4822aa[0x0]),_0x38022d=_0xf5a9f6(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x55e717,0xc,_0x4822aa[0x1]),_0x2ff9ac=_0xf5a9f6(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x5b573d,0x11,_0x4822aa[0x2]),_0x444b94=_0xf5a9f6(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x2aae85,0x16,_0x4822aa[0x3]),_0x4b0a8b=_0xf5a9f6(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x23987b,0x7,_0x4822aa[0x4]),_0x38022d=_0xf5a9f6(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x112938,0xc,_0x4822aa[0x5]),_0x2ff9ac=_0xf5a9f6(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x4c37b0,0x11,_0x4822aa[0x6]),_0x444b94=_0xf5a9f6(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x4339d5,0x16,_0x4822aa[0x7]),_0x4b0a8b=_0xf5a9f6(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x135667,0x7,_0x4822aa[0x8]),_0x38022d=_0xf5a9f6(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x204bb4,0xc,_0x4822aa[0x9]),_0x2ff9ac=_0xf5a9f6(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x2f54d4,0x11,_0x4822aa[0xa]),_0x444b94=_0xf5a9f6(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x33517f,0x16,_0x4822aa[0xb]),_0x4b0a8b=_0xf5a9f6(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x1c17be,0x7,_0x4822aa[0xc]),_0x38022d=_0xf5a9f6(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0xfc319f,0xc,_0x4822aa[0xd]),_0x2ff9ac=_0xf5a9f6(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x5f4825,0x11,_0x4822aa[0xe]),_0x444b94=_0xf5a9f6(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x143c6f,0x16,_0x4822aa[0xf]),_0x4b0a8b=_0x175f93(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x55e717,0x5,_0x4822aa[0x10]),_0x38022d=_0x175f93(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x4c37b0,0x9,_0x4822aa[0x11]),_0x2ff9ac=_0x175f93(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x33517f,0xe,_0x4822aa[0x12]),_0x444b94=_0x175f93(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x184a2d,0x14,_0x4822aa[0x13]),_0x4b0a8b=_0x175f93(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x112938,0x5,_0x4822aa[0x14]),_0x38022d=_0x175f93(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x2f54d4,0x9,_0x4822aa[0x15]),_0x2ff9ac=_0x175f93(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x143c6f,0xe,_0x4822aa[0x16]),_0x444b94=_0x175f93(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x23987b,0x14,_0x4822aa[0x17]),_0x4b0a8b=_0x175f93(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x204bb4,0x5,_0x4822aa[0x18]),_0x38022d=_0x175f93(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x5f4825,0x9,_0x4822aa[0x19]),_0x2ff9ac=_0x175f93(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x2aae85,0xe,_0x4822aa[0x1a]),_0x444b94=_0x175f93(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x135667,0x14,_0x4822aa[0x1b]),_0x4b0a8b=_0x175f93(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0xfc319f,0x5,_0x4822aa[0x1c]),_0x38022d=_0x175f93(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x5b573d,0x9,_0x4822aa[0x1d]),_0x2ff9ac=_0x175f93(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x4339d5,0xe,_0x4822aa[0x1e]),_0x444b94=_0x175f93(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x1c17be,0x14,_0x4822aa[0x1f]),_0x4b0a8b=_0x3ed5b9(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x112938,0x4,_0x4822aa[0x20]),_0x38022d=_0x3ed5b9(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x135667,0xb,_0x4822aa[0x21]),_0x2ff9ac=_0x3ed5b9(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x33517f,0x10,_0x4822aa[0x22]),_0x444b94=_0x3ed5b9(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x5f4825,0x17,_0x4822aa[0x23]),_0x4b0a8b=_0x3ed5b9(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x55e717,0x4,_0x4822aa[0x24]),_0x38022d=_0x3ed5b9(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x23987b,0xb,_0x4822aa[0x25]),_0x2ff9ac=_0x3ed5b9(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x4339d5,0x10,_0x4822aa[0x26]),_0x444b94=_0x3ed5b9(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x2f54d4,0x17,_0x4822aa[0x27]),_0x4b0a8b=_0x3ed5b9(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0xfc319f,0x4,_0x4822aa[0x28]),_0x38022d=_0x3ed5b9(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x184a2d,0xb,_0x4822aa[0x29]),_0x2ff9ac=_0x3ed5b9(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x2aae85,0x10,_0x4822aa[0x2a]),_0x444b94=_0x3ed5b9(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x4c37b0,0x17,_0x4822aa[0x2b]),_0x4b0a8b=_0x3ed5b9(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x204bb4,0x4,_0x4822aa[0x2c]),_0x38022d=_0x3ed5b9(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x1c17be,0xb,_0x4822aa[0x2d]),_0x2ff9ac=_0x3ed5b9(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x143c6f,0x10,_0x4822aa[0x2e]),_0x444b94=_0x3ed5b9(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x5b573d,0x17,_0x4822aa[0x2f]),_0x4b0a8b=_0x52a99e(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x184a2d,0x6,_0x4822aa[0x30]),_0x38022d=_0x52a99e(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x4339d5,0xa,_0x4822aa[0x31]),_0x2ff9ac=_0x52a99e(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x5f4825,0xf,_0x4822aa[0x32]),_0x444b94=_0x52a99e(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x112938,0x15,_0x4822aa[0x33]),_0x4b0a8b=_0x52a99e(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x1c17be,0x6,_0x4822aa[0x34]),_0x38022d=_0x52a99e(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x2aae85,0xa,_0x4822aa[0x35]),_0x2ff9ac=_0x52a99e(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x2f54d4,0xf,_0x4822aa[0x36]),_0x444b94=_0x52a99e(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x55e717,0x15,_0x4822aa[0x37]),_0x4b0a8b=_0x52a99e(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x135667,0x6,_0x4822aa[0x38]),_0x38022d=_0x52a99e(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x143c6f,0xa,_0x4822aa[0x39]),_0x2ff9ac=_0x52a99e(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x4c37b0,0xf,_0x4822aa[0x3a]),_0x444b94=_0x52a99e(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0xfc319f,0x15,_0x4822aa[0x3b]),_0x4b0a8b=_0x52a99e(_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x38022d,_0x23987b,0x6,_0x4822aa[0x3c]),_0x38022d=_0x52a99e(_0x38022d,_0x4b0a8b,_0x444b94,_0x2ff9ac,_0x33517f,0xa,_0x4822aa[0x3d]),_0x2ff9ac=_0x52a99e(_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x444b94,_0x5b573d,0xf,_0x4822aa[0x3e]),_0x444b94=_0x52a99e(_0x444b94,_0x2ff9ac,_0x38022d,_0x4b0a8b,_0x204bb4,0x15,_0x4822aa[0x3f]),_0x349f6b[0x0]=_0x349f6b[0x0]+_0x4b0a8b|0x0,_0x349f6b[0x1]=_0x349f6b[0x1]+_0x444b94|0x0,_0x349f6b[0x2]=_0x349f6b[0x2]+_0x2ff9ac|0x0,_0x349f6b[0x3]=_0x349f6b[0x3]+_0x38022d|0x0;},'_doFinalize':function(){const _0x1f5cad=_0x640011;var _0x28b49d=this[_0x1f5cad(0x4f9)],_0x336c05=_0x28b49d['words'],_0x25eaa9=this[_0x1f5cad(0x200)]*0x8,_0x4e139e=_0x28b49d['sigBytes']*0x8;_0x336c05[_0x4e139e>>>0x5]|=0x80<<0x18-_0x4e139e%0x20;var _0x194995=_0x2841c9['floor'](_0x25eaa9/0x100000000),_0x1973db=_0x25eaa9;_0x336c05[(_0x4e139e+0x40>>>0x9<<0x4)+0xf]=(_0x194995<<0x8|_0x194995>>>0x18)&0xff00ff|(_0x194995<<0x18|_0x194995>>>0x8)&0xff00ff00,_0x336c05[(_0x4e139e+0x40>>>0x9<<0x4)+0xe]=(_0x1973db<<0x8|_0x1973db>>>0x18)&0xff00ff|(_0x1973db<<0x18|_0x1973db>>>0x8)&0xff00ff00,_0x28b49d[_0x1f5cad(0x5fb)]=(_0x336c05[_0x1f5cad(0x4ba)]+0x1)*0x4,this[_0x1f5cad(0x6a3)]();for(var _0x4239af=this['_hash'],_0x57225c=_0x4239af['words'],_0x3add0f=0x0;_0x3add0f<0x4;_0x3add0f++){var _0x1677f0=_0x57225c[_0x3add0f];_0x57225c[_0x3add0f]=(_0x1677f0<<0x8|_0x1677f0>>>0x18)&0xff00ff|(_0x1677f0<<0x18|_0x1677f0>>>0x8)&0xff00ff00;}return _0x4239af;},'clone':function(){const _0x18997c=_0x640011;var _0x2671c5=_0x314162['clone'][_0x18997c(0x55c)](this);return _0x2671c5[_0x18997c(0x344)]=this[_0x18997c(0x344)][_0x18997c(0x5e1)](),_0x2671c5;}});function _0xf5a9f6(_0xdfeb78,_0x104868,_0x252ba9,_0x1ff624,_0x50c78d,_0x55f7ba,_0x568a67){var _0x502cb0=_0xdfeb78+(_0x104868&_0x252ba9|~_0x104868&_0x1ff624)+_0x50c78d+_0x568a67;return(_0x502cb0<<_0x55f7ba|_0x502cb0>>>0x20-_0x55f7ba)+_0x104868;}function _0x175f93(_0x1a502e,_0x304520,_0xf29f49,_0x7476b2,_0x365946,_0x345853,_0x229b3d){var _0xb46e7e=_0x1a502e+(_0x304520&_0x7476b2|_0xf29f49&~_0x7476b2)+_0x365946+_0x229b3d;return(_0xb46e7e<<_0x345853|_0xb46e7e>>>0x20-_0x345853)+_0x304520;}function _0x3ed5b9(_0x27d041,_0x55554c,_0x2e67b1,_0x2d1f48,_0xcab852,_0x29aac4,_0xf29ef9){var _0x18db4b=_0x27d041+(_0x55554c^_0x2e67b1^_0x2d1f48)+_0xcab852+_0xf29ef9;return(_0x18db4b<<_0x29aac4|_0x18db4b>>>0x20-_0x29aac4)+_0x55554c;}function _0x52a99e(_0x18b493,_0x1a8797,_0x4c938c,_0x5315db,_0xd65d3a,_0x319c24,_0x3f64c1){var _0x3a5e60=_0x18b493+(_0x4c938c^(_0x1a8797|~_0x5315db))+_0xd65d3a+_0x3f64c1;return(_0x3a5e60<<_0x319c24|_0x3a5e60>>>0x20-_0x319c24)+_0x1a8797;}_0x262acc[_0x640011(0x493)]=_0x314162[_0x640011(0x575)](_0x2d7040),_0x262acc[_0x640011(0x319)]=_0x314162['_createHmacHelper'](_0x2d7040);}(Math),_0x1509b2[_0x3f1dc8(0x493)];}));}(_0x451f7b)),_0x451f7b[_0x5aab7a(0x451)];}var _0x2ed7cc={'exports':{}},_0x5ec1c4={'exports':{}},_0x1b212e;function _0x494d71(){const _0x2dba18=_0x399f16;return _0x1b212e||(_0x1b212e=0x1,function(_0x1ebd5d,_0x152f03){(function(_0x544bb8,_0x26dc18){const _0x52a1d2=_0x5a32;_0x1ebd5d[_0x52a1d2(0x451)]=_0x26dc18(_0x32c6d7());}(_0x2784e0,function(_0x17df16){return(function(){const _0xc79934=_0x5a32;var _0x17ee1a=_0x17df16,_0x116f97=_0x17ee1a[_0xc79934(0x684)],_0x430a43=_0x116f97[_0xc79934(0x5ad)],_0x17f5d1=_0x116f97[_0xc79934(0x511)],_0x3545f2=_0x17ee1a[_0xc79934(0x29e)],_0x1b7b73=[],_0x244c06=_0x3545f2[_0xc79934(0x6cd)]=_0x17f5d1[_0xc79934(0x22c)]({'_doReset':function(){const _0x433d30=_0xc79934;this[_0x433d30(0x344)]=new _0x430a43['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5e9d0c,_0x3395e4){const _0x38c1cc=_0xc79934;for(var _0x5e9941=this['_hash'][_0x38c1cc(0x66a)],_0x1d5cbf=_0x5e9941[0x0],_0xb533e1=_0x5e9941[0x1],_0x4caa40=_0x5e9941[0x2],_0x2ec845=_0x5e9941[0x3],_0x48b8e1=_0x5e9941[0x4],_0x302904=0x0;_0x302904<0x50;_0x302904++){if(_0x302904<0x10)_0x1b7b73[_0x302904]=_0x5e9d0c[_0x3395e4+_0x302904]|0x0;else{var _0x2276e7=_0x1b7b73[_0x302904-0x3]^_0x1b7b73[_0x302904-0x8]^_0x1b7b73[_0x302904-0xe]^_0x1b7b73[_0x302904-0x10];_0x1b7b73[_0x302904]=_0x2276e7<<0x1|_0x2276e7>>>0x1f;}var _0xdbc94d=(_0x1d5cbf<<0x5|_0x1d5cbf>>>0x1b)+_0x48b8e1+_0x1b7b73[_0x302904];_0x302904<0x14?_0xdbc94d+=(_0xb533e1&_0x4caa40|~_0xb533e1&_0x2ec845)+0x5a827999:_0x302904<0x28?_0xdbc94d+=(_0xb533e1^_0x4caa40^_0x2ec845)+0x6ed9eba1:_0x302904<0x3c?_0xdbc94d+=(_0xb533e1&_0x4caa40|_0xb533e1&_0x2ec845|_0x4caa40&_0x2ec845)-0x70e44324:_0xdbc94d+=(_0xb533e1^_0x4caa40^_0x2ec845)-0x359d3e2a,_0x48b8e1=_0x2ec845,_0x2ec845=_0x4caa40,_0x4caa40=_0xb533e1<<0x1e|_0xb533e1>>>0x2,_0xb533e1=_0x1d5cbf,_0x1d5cbf=_0xdbc94d;}_0x5e9941[0x0]=_0x5e9941[0x0]+_0x1d5cbf|0x0,_0x5e9941[0x1]=_0x5e9941[0x1]+_0xb533e1|0x0,_0x5e9941[0x2]=_0x5e9941[0x2]+_0x4caa40|0x0,_0x5e9941[0x3]=_0x5e9941[0x3]+_0x2ec845|0x0,_0x5e9941[0x4]=_0x5e9941[0x4]+_0x48b8e1|0x0;},'_doFinalize':function(){const _0x3340cf=_0xc79934;var _0x257319=this[_0x3340cf(0x4f9)],_0x39f1ab=_0x257319[_0x3340cf(0x66a)],_0x3a7fff=this[_0x3340cf(0x200)]*0x8,_0x1a3c85=_0x257319[_0x3340cf(0x5fb)]*0x8;return _0x39f1ab[_0x1a3c85>>>0x5]|=0x80<<0x18-_0x1a3c85%0x20,_0x39f1ab[(_0x1a3c85+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3a7fff/0x100000000),_0x39f1ab[(_0x1a3c85+0x40>>>0x9<<0x4)+0xf]=_0x3a7fff,_0x257319['sigBytes']=_0x39f1ab[_0x3340cf(0x4ba)]*0x4,this[_0x3340cf(0x6a3)](),this[_0x3340cf(0x344)];},'clone':function(){const _0x3d426f=_0xc79934;var _0x4098a9=_0x17f5d1[_0x3d426f(0x5e1)][_0x3d426f(0x55c)](this);return _0x4098a9[_0x3d426f(0x344)]=this[_0x3d426f(0x344)]['clone'](),_0x4098a9;}});_0x17ee1a['SHA1']=_0x17f5d1[_0xc79934(0x575)](_0x244c06),_0x17ee1a[_0xc79934(0x5cd)]=_0x17f5d1['_createHmacHelper'](_0x244c06);}()),_0x17df16['SHA1'];}));}(_0x5ec1c4)),_0x5ec1c4[_0x2dba18(0x451)];}var _0x501650={'exports':{}},_0x1e5866;function _0x223b2b(){return _0x1e5866||(_0x1e5866=0x1,function(_0x20b69b,_0x57e975){(function(_0xfb13b8,_0x1869c1){const _0x4a40da=_0x5a32;_0x20b69b[_0x4a40da(0x451)]=_0x1869c1(_0x32c6d7());}(_0x2784e0,function(_0x489fee){(function(){const _0xc4726c=_0x5a32;var _0xc2e8c4=_0x489fee,_0x89ac83=_0xc2e8c4[_0xc4726c(0x684)],_0x5d3545=_0x89ac83[_0xc4726c(0x405)],_0x2279c3=_0xc2e8c4[_0xc4726c(0x57b)],_0x49505f=_0x2279c3[_0xc4726c(0x231)],_0x114586=_0xc2e8c4[_0xc4726c(0x29e)];_0x114586[_0xc4726c(0x521)]=_0x5d3545['extend']({'init':function(_0x2b5a5b,_0x3332f0){const _0x2d2e99=_0xc4726c;_0x2b5a5b=this[_0x2d2e99(0x518)]=new _0x2b5a5b[(_0x2d2e99(0x523))](),typeof _0x3332f0==_0x2d2e99(0x6b7)&&(_0x3332f0=_0x49505f[_0x2d2e99(0x539)](_0x3332f0));var _0x39b01b=_0x2b5a5b[_0x2d2e99(0x38c)],_0x47ac92=_0x39b01b*0x4;_0x3332f0[_0x2d2e99(0x5fb)]>_0x47ac92&&(_0x3332f0=_0x2b5a5b['finalize'](_0x3332f0)),_0x3332f0[_0x2d2e99(0x205)]();for(var _0x16716b=this['_oKey']=_0x3332f0[_0x2d2e99(0x5e1)](),_0x1f840b=this[_0x2d2e99(0x3c4)]=_0x3332f0[_0x2d2e99(0x5e1)](),_0x42d756=_0x16716b[_0x2d2e99(0x66a)],_0x1bcf5b=_0x1f840b[_0x2d2e99(0x66a)],_0x256e83=0x0;_0x256e83<_0x39b01b;_0x256e83++)_0x42d756[_0x256e83]^=0x5c5c5c5c,_0x1bcf5b[_0x256e83]^=0x36363636;_0x16716b[_0x2d2e99(0x5fb)]=_0x1f840b[_0x2d2e99(0x5fb)]=_0x47ac92,this[_0x2d2e99(0x544)]();},'reset':function(){const _0x42c181=_0xc4726c;var _0xa597ea=this[_0x42c181(0x518)];_0xa597ea['reset'](),_0xa597ea[_0x42c181(0x386)](this['_iKey']);},'update':function(_0x28d33e){const _0x51f229=_0xc4726c;return this['_hasher'][_0x51f229(0x386)](_0x28d33e),this;},'finalize':function(_0x1e5272){const _0x33e98c=_0xc4726c;var _0x2969e0=this['_hasher'],_0xe8f191=_0x2969e0[_0x33e98c(0x489)](_0x1e5272);_0x2969e0['reset']();var _0x4332b7=_0x2969e0['finalize'](this[_0x33e98c(0x254)][_0x33e98c(0x5e1)]()[_0x33e98c(0x4f1)](_0xe8f191));return _0x4332b7;}});}());}));}(_0x501650)),_0x501650['exports'];}var _0x40a1f0;function _0x1ef989(){const _0x38304e=_0x399f16;return _0x40a1f0||(_0x40a1f0=0x1,function(_0x40e5cd,_0x9e437b){(function(_0x195b9b,_0xeae6a8,_0x381ed3){const _0x35d6a4=_0x5a32;_0x40e5cd[_0x35d6a4(0x451)]=_0xeae6a8(_0x32c6d7(),_0x494d71(),_0x223b2b());}(_0x2784e0,function(_0x9086d5){const _0xc7576c=_0x5a32;return(function(){const _0x5aab43=_0x5a32;var _0x4b2158=_0x9086d5,_0x357257=_0x4b2158[_0x5aab43(0x684)],_0x4302cd=_0x357257[_0x5aab43(0x405)],_0xcbca3e=_0x357257[_0x5aab43(0x5ad)],_0x397866=_0x4b2158['algo'],_0x4a090e=_0x397866['MD5'],_0x2d9441=_0x397866[_0x5aab43(0x299)]=_0x4302cd[_0x5aab43(0x22c)]({'cfg':_0x4302cd['extend']({'keySize':0x80/0x20,'hasher':_0x4a090e,'iterations':0x1}),'init':function(_0x5acc57){const _0x571c1f=_0x5aab43;this[_0x571c1f(0x26b)]=this['cfg'][_0x571c1f(0x22c)](_0x5acc57);},'compute':function(_0x21754d,_0x228a68){const _0x7004dc=_0x5aab43;for(var _0x968bd7,_0x1220ed=this[_0x7004dc(0x26b)],_0x1b9093=_0x1220ed[_0x7004dc(0x2c4)][_0x7004dc(0x26e)](),_0x3bb98e=_0xcbca3e[_0x7004dc(0x26e)](),_0x553181=_0x3bb98e[_0x7004dc(0x66a)],_0x184fe8=_0x1220ed[_0x7004dc(0x549)],_0x20f561=_0x1220ed['iterations'];_0x553181[_0x7004dc(0x4ba)]<_0x184fe8;){_0x968bd7&&_0x1b9093[_0x7004dc(0x386)](_0x968bd7),_0x968bd7=_0x1b9093[_0x7004dc(0x386)](_0x21754d)[_0x7004dc(0x489)](_0x228a68),_0x1b9093[_0x7004dc(0x544)]();for(var _0x2f64c9=0x1;_0x2f64c9<_0x20f561;_0x2f64c9++)_0x968bd7=_0x1b9093[_0x7004dc(0x489)](_0x968bd7),_0x1b9093[_0x7004dc(0x544)]();_0x3bb98e['concat'](_0x968bd7);}return _0x3bb98e[_0x7004dc(0x5fb)]=_0x184fe8*0x4,_0x3bb98e;}});_0x4b2158['EvpKDF']=function(_0x40fd4e,_0xdd74dc,_0x1798e8){const _0xa669e9=_0x5aab43;return _0x2d9441['create'](_0x1798e8)[_0xa669e9(0x6a0)](_0x40fd4e,_0xdd74dc);};}()),_0x9086d5[_0xc7576c(0x299)];}));}(_0x2ed7cc)),_0x2ed7cc[_0x38304e(0x451)];}var _0x3b978f={'exports':{}},_0x135223;function _0x561cae(){const _0x4d2ded=_0x399f16;return _0x135223||(_0x135223=0x1,function(_0x17ece8,_0x5197d0){(function(_0x7b3be5,_0x8e2c9f,_0x540298){const _0x7ddddd=_0x5a32;_0x17ece8[_0x7ddddd(0x451)]=_0x8e2c9f(_0x32c6d7(),_0x1ef989());}(_0x2784e0,function(_0xa51071){const _0x42650f=_0x5a32;_0xa51071[_0x42650f(0x684)][_0x42650f(0x34c)]||function(_0x4292bc){const _0x533c12=_0x42650f;var _0x5d2ba5=_0xa51071,_0x2f40=_0x5d2ba5['lib'],_0x26ebdd=_0x2f40['Base'],_0x514fe2=_0x2f40[_0x533c12(0x5ad)],_0x3371d1=_0x2f40[_0x533c12(0x541)],_0x40d106=_0x5d2ba5[_0x533c12(0x57b)];_0x40d106['Utf8'];var _0x41be76=_0x40d106['Base64'],_0x2e49a0=_0x5d2ba5['algo'],_0x230abf=_0x2e49a0[_0x533c12(0x299)],_0x11457a=_0x2f40[_0x533c12(0x34c)]=_0x3371d1[_0x533c12(0x22c)]({'cfg':_0x26ebdd[_0x533c12(0x22c)](),'createEncryptor':function(_0x248d67,_0x56f0cd){const _0x5cc4a6=_0x533c12;return this[_0x5cc4a6(0x26e)](this[_0x5cc4a6(0x474)],_0x248d67,_0x56f0cd);},'createDecryptor':function(_0x18b378,_0x22066e){const _0x8649d8=_0x533c12;return this[_0x8649d8(0x26e)](this[_0x8649d8(0x645)],_0x18b378,_0x22066e);},'init':function(_0x5d6c7d,_0x429c0e,_0x2a99ec){const _0x4d930e=_0x533c12;this[_0x4d930e(0x26b)]=this[_0x4d930e(0x26b)][_0x4d930e(0x22c)](_0x2a99ec),this[_0x4d930e(0x452)]=_0x5d6c7d,this[_0x4d930e(0x331)]=_0x429c0e,this[_0x4d930e(0x544)]();},'reset':function(){const _0x333318=_0x533c12;_0x3371d1[_0x333318(0x544)]['call'](this),this[_0x333318(0x550)]();},'process':function(_0x17acef){const _0xe1d09c=_0x533c12;return this[_0xe1d09c(0x28c)](_0x17acef),this[_0xe1d09c(0x6a3)]();},'finalize':function(_0x53b7a9){const _0xaf944d=_0x533c12;_0x53b7a9&&this[_0xaf944d(0x28c)](_0x53b7a9);var _0x22ab5e=this[_0xaf944d(0x3db)]();return _0x22ab5e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x45a8d0(_0x387739){const _0x58dedc=_0x5a32;return typeof _0x387739==_0x58dedc(0x6b7)?_0x50b556:_0x4e0590;}return function(_0x1ef601){return{'encrypt':function(_0x5eab55,_0x1d5fff,_0x1e55f1){const _0x3d3c51=_0x5a32;return _0x45a8d0(_0x1d5fff)[_0x3d3c51(0x2ac)](_0x1ef601,_0x5eab55,_0x1d5fff,_0x1e55f1);},'decrypt':function(_0x295316,_0x731539,_0x39f208){const _0x121fd0=_0x5a32;return _0x45a8d0(_0x731539)[_0x121fd0(0x37f)](_0x1ef601,_0x295316,_0x731539,_0x39f208);}};};}())});_0x2f40[_0x533c12(0x4a7)]=_0x11457a[_0x533c12(0x22c)]({'_doFinalize':function(){var _0x1d0ca6=this['_process'](!0x0);return _0x1d0ca6;},'blockSize':0x1});var _0x382127=_0x5d2ba5['mode']={},_0x246733=_0x2f40[_0x533c12(0x537)]=_0x26ebdd[_0x533c12(0x22c)]({'createEncryptor':function(_0x4c5aba,_0x41c79e){const _0x2239bb=_0x533c12;return this[_0x2239bb(0x56d)]['create'](_0x4c5aba,_0x41c79e);},'createDecryptor':function(_0x3ec81e,_0x5bf4f4){return this['Decryptor']['create'](_0x3ec81e,_0x5bf4f4);},'init':function(_0x511288,_0x290e10){const _0x247218=_0x533c12;this[_0x247218(0x24e)]=_0x511288,this[_0x247218(0x436)]=_0x290e10;}}),_0x3ac8a5=_0x382127[_0x533c12(0x368)]=(function(){const _0x1a9948=_0x533c12;var _0x1439d2=_0x246733[_0x1a9948(0x22c)]();_0x1439d2[_0x1a9948(0x56d)]=_0x1439d2[_0x1a9948(0x22c)]({'processBlock':function(_0x4386db,_0x537626){const _0x5743ec=_0x1a9948;var _0x50cefb=this[_0x5743ec(0x24e)],_0x49307b=_0x50cefb[_0x5743ec(0x38c)];_0x4f23cb['call'](this,_0x4386db,_0x537626,_0x49307b),_0x50cefb[_0x5743ec(0x6ca)](_0x4386db,_0x537626),this[_0x5743ec(0x1fc)]=_0x4386db['slice'](_0x537626,_0x537626+_0x49307b);}}),_0x1439d2[_0x1a9948(0x4aa)]=_0x1439d2[_0x1a9948(0x22c)]({'processBlock':function(_0x236605,_0x1ee74b){const _0xdc821=_0x1a9948;var _0x426a7e=this[_0xdc821(0x24e)],_0x52c167=_0x426a7e[_0xdc821(0x38c)],_0x2a8839=_0x236605[_0xdc821(0x31a)](_0x1ee74b,_0x1ee74b+_0x52c167);_0x426a7e['decryptBlock'](_0x236605,_0x1ee74b),_0x4f23cb['call'](this,_0x236605,_0x1ee74b,_0x52c167),this[_0xdc821(0x1fc)]=_0x2a8839;}});function _0x4f23cb(_0x3db394,_0x4cc5ff,_0x384360){const _0x5f584d=_0x1a9948;var _0x353f36,_0x518741=this[_0x5f584d(0x436)];_0x518741?(_0x353f36=_0x518741,this['_iv']=_0x4292bc):_0x353f36=this[_0x5f584d(0x1fc)];for(var _0x2ebeb0=0x0;_0x2ebeb0<_0x384360;_0x2ebeb0++)_0x3db394[_0x4cc5ff+_0x2ebeb0]^=_0x353f36[_0x2ebeb0];}return _0x1439d2;}()),_0x515ace=_0x5d2ba5[_0x533c12(0x466)]={},_0x5c345c=_0x515ace[_0x533c12(0x5f6)]={'pad':function(_0x3541d7,_0x126751){const _0x1917f0=_0x533c12;for(var _0x194994=_0x126751*0x4,_0x55c911=_0x194994-_0x3541d7[_0x1917f0(0x5fb)]%_0x194994,_0xb2026e=_0x55c911<<0x18|_0x55c911<<0x10|_0x55c911<<0x8|_0x55c911,_0x353d2d=[],_0x52cf02=0x0;_0x52cf02<_0x55c911;_0x52cf02+=0x4)_0x353d2d[_0x1917f0(0x597)](_0xb2026e);var _0x21f4dd=_0x514fe2[_0x1917f0(0x26e)](_0x353d2d,_0x55c911);_0x3541d7[_0x1917f0(0x4f1)](_0x21f4dd);},'unpad':function(_0x2c606d){const _0x3a8334=_0x533c12;var _0x9903c4=_0x2c606d[_0x3a8334(0x66a)][_0x2c606d['sigBytes']-0x1>>>0x2]&0xff;_0x2c606d[_0x3a8334(0x5fb)]-=_0x9903c4;}};_0x2f40[_0x533c12(0x28b)]=_0x11457a['extend']({'cfg':_0x11457a[_0x533c12(0x26b)][_0x533c12(0x22c)]({'mode':_0x3ac8a5,'padding':_0x5c345c}),'reset':function(){const _0x20fbce=_0x533c12;var _0x11b10e;_0x11457a[_0x20fbce(0x544)][_0x20fbce(0x55c)](this);var _0x2eee71=this[_0x20fbce(0x26b)],_0x4af444=_0x2eee71['iv'],_0x515525=_0x2eee71[_0x20fbce(0x2fe)];this[_0x20fbce(0x452)]==this[_0x20fbce(0x474)]?_0x11b10e=_0x515525[_0x20fbce(0x3f3)]:(_0x11b10e=_0x515525[_0x20fbce(0x351)],this[_0x20fbce(0x671)]=0x1),this['_mode']&&this[_0x20fbce(0x57c)][_0x20fbce(0x218)]==_0x11b10e?this[_0x20fbce(0x57c)][_0x20fbce(0x523)](this,_0x4af444&&_0x4af444['words']):(this[_0x20fbce(0x57c)]=_0x11b10e[_0x20fbce(0x55c)](_0x515525,this,_0x4af444&&_0x4af444['words']),this[_0x20fbce(0x57c)][_0x20fbce(0x218)]=_0x11b10e);},'_doProcessBlock':function(_0x5c62bd,_0xe09965){const _0x454454=_0x533c12;this[_0x454454(0x57c)][_0x454454(0x62f)](_0x5c62bd,_0xe09965);},'_doFinalize':function(){const _0x53fab7=_0x533c12;var _0x467619,_0x22803a=this['cfg'][_0x53fab7(0x37a)];return this[_0x53fab7(0x452)]==this[_0x53fab7(0x474)]?(_0x22803a[_0x53fab7(0x466)](this[_0x53fab7(0x4f9)],this[_0x53fab7(0x38c)]),_0x467619=this[_0x53fab7(0x6a3)](!0x0)):(_0x467619=this[_0x53fab7(0x6a3)](!0x0),_0x22803a[_0x53fab7(0x613)](_0x467619)),_0x467619;},'blockSize':0x80/0x20});var _0x37d09c=_0x2f40[_0x533c12(0x4df)]=_0x26ebdd[_0x533c12(0x22c)]({'init':function(_0xa42871){const _0x571f6d=_0x533c12;this[_0x571f6d(0x593)](_0xa42871);},'toString':function(_0x6a7144){return(_0x6a7144||this['formatter'])['stringify'](this);}}),_0x1e7c10=_0x5d2ba5[_0x533c12(0x622)]={},_0x4a3c71=_0x1e7c10[_0x533c12(0x258)]={'stringify':function(_0x1292c4){const _0x276b5c=_0x533c12;var _0x4cb5c8,_0x272a26=_0x1292c4['ciphertext'],_0x406c99=_0x1292c4[_0x276b5c(0x27b)];return _0x406c99?_0x4cb5c8=_0x514fe2[_0x276b5c(0x26e)]([0x53616c74,0x65645f5f])['concat'](_0x406c99)['concat'](_0x272a26):_0x4cb5c8=_0x272a26,_0x4cb5c8[_0x276b5c(0x358)](_0x41be76);},'parse':function(_0xec602d){const _0x56b059=_0x533c12;var _0x4b31d3,_0x57f027=_0x41be76[_0x56b059(0x539)](_0xec602d),_0x2414b6=_0x57f027[_0x56b059(0x66a)];return _0x2414b6[0x0]==0x53616c74&&_0x2414b6[0x1]==0x65645f5f&&(_0x4b31d3=_0x514fe2['create'](_0x2414b6['slice'](0x2,0x4)),_0x2414b6['splice'](0x0,0x4),_0x57f027[_0x56b059(0x5fb)]-=0x10),_0x37d09c[_0x56b059(0x26e)]({'ciphertext':_0x57f027,'salt':_0x4b31d3});}},_0x4e0590=_0x2f40[_0x533c12(0x3ed)]=_0x26ebdd['extend']({'cfg':_0x26ebdd[_0x533c12(0x22c)]({'format':_0x4a3c71}),'encrypt':function(_0x1a0a10,_0x1f8919,_0x20b545,_0x36ab5a){const _0x293709=_0x533c12;_0x36ab5a=this[_0x293709(0x26b)][_0x293709(0x22c)](_0x36ab5a);var _0x56e55a=_0x1a0a10[_0x293709(0x3f3)](_0x20b545,_0x36ab5a),_0x1679cc=_0x56e55a[_0x293709(0x489)](_0x1f8919),_0x996c89=_0x56e55a[_0x293709(0x26b)];return _0x37d09c[_0x293709(0x26e)]({'ciphertext':_0x1679cc,'key':_0x20b545,'iv':_0x996c89['iv'],'algorithm':_0x1a0a10,'mode':_0x996c89['mode'],'padding':_0x996c89['padding'],'blockSize':_0x1a0a10[_0x293709(0x38c)],'formatter':_0x36ab5a[_0x293709(0x622)]});},'decrypt':function(_0x2c19a0,_0x57aa77,_0x540eb8,_0x1aefd1){const _0x5c50f6=_0x533c12;_0x1aefd1=this[_0x5c50f6(0x26b)][_0x5c50f6(0x22c)](_0x1aefd1),_0x57aa77=this[_0x5c50f6(0x55d)](_0x57aa77,_0x1aefd1[_0x5c50f6(0x622)]);var _0x519c0c=_0x2c19a0[_0x5c50f6(0x351)](_0x540eb8,_0x1aefd1)[_0x5c50f6(0x489)](_0x57aa77[_0x5c50f6(0x673)]);return _0x519c0c;},'_parse':function(_0x813a5,_0x495f76){const _0x83168f=_0x533c12;return typeof _0x813a5==_0x83168f(0x6b7)?_0x495f76[_0x83168f(0x539)](_0x813a5,this):_0x813a5;}}),_0x42498e=_0x5d2ba5[_0x533c12(0x339)]={},_0x3d590a=_0x42498e[_0x533c12(0x258)]={'execute':function(_0x112dde,_0x44460e,_0x2c8b15,_0x1857c8,_0x13fb23){const _0x2a1c14=_0x533c12;if(_0x1857c8||(_0x1857c8=_0x514fe2[_0x2a1c14(0x334)](0x40/0x8)),_0x13fb23)var _0xd9acae=_0x230abf[_0x2a1c14(0x26e)]({'keySize':_0x44460e+_0x2c8b15,'hasher':_0x13fb23})[_0x2a1c14(0x6a0)](_0x112dde,_0x1857c8);else var _0xd9acae=_0x230abf[_0x2a1c14(0x26e)]({'keySize':_0x44460e+_0x2c8b15})['compute'](_0x112dde,_0x1857c8);var _0x3c2758=_0x514fe2['create'](_0xd9acae['words'][_0x2a1c14(0x31a)](_0x44460e),_0x2c8b15*0x4);return _0xd9acae[_0x2a1c14(0x5fb)]=_0x44460e*0x4,_0x37d09c[_0x2a1c14(0x26e)]({'key':_0xd9acae,'iv':_0x3c2758,'salt':_0x1857c8});}},_0x50b556=_0x2f40[_0x533c12(0x27a)]=_0x4e0590['extend']({'cfg':_0x4e0590[_0x533c12(0x26b)]['extend']({'kdf':_0x3d590a}),'encrypt':function(_0x224188,_0x2c2d29,_0xf1f28,_0x415634){const _0x95c862=_0x533c12;_0x415634=this[_0x95c862(0x26b)][_0x95c862(0x22c)](_0x415634);var _0x1640cf=_0x415634[_0x95c862(0x339)]['execute'](_0xf1f28,_0x224188['keySize'],_0x224188[_0x95c862(0x512)],_0x415634[_0x95c862(0x27b)],_0x415634[_0x95c862(0x2c4)]);_0x415634['iv']=_0x1640cf['iv'];var _0x16f22b=_0x4e0590[_0x95c862(0x2ac)][_0x95c862(0x55c)](this,_0x224188,_0x2c2d29,_0x1640cf[_0x95c862(0x4e5)],_0x415634);return _0x16f22b[_0x95c862(0x593)](_0x1640cf),_0x16f22b;},'decrypt':function(_0x1737dc,_0x5cbdc8,_0x1c6013,_0x25dcf0){const _0xfe2822=_0x533c12;_0x25dcf0=this[_0xfe2822(0x26b)][_0xfe2822(0x22c)](_0x25dcf0),_0x5cbdc8=this[_0xfe2822(0x55d)](_0x5cbdc8,_0x25dcf0[_0xfe2822(0x622)]);var _0x2806b1=_0x25dcf0[_0xfe2822(0x339)]['execute'](_0x1c6013,_0x1737dc[_0xfe2822(0x549)],_0x1737dc[_0xfe2822(0x512)],_0x5cbdc8[_0xfe2822(0x27b)],_0x25dcf0[_0xfe2822(0x2c4)]);_0x25dcf0['iv']=_0x2806b1['iv'];var _0x291c8a=_0x4e0590[_0xfe2822(0x37f)][_0xfe2822(0x55c)](this,_0x1737dc,_0x5cbdc8,_0x2806b1[_0xfe2822(0x4e5)],_0x25dcf0);return _0x291c8a;}});}();}));}(_0x3b978f)),_0x3b978f[_0x4d2ded(0x451)];}(function(_0x41c33b,_0x1c7806){(function(_0xcc0cf0,_0x3bea74,_0x239c63){_0x41c33b['exports']=_0x3bea74(_0x32c6d7(),_0x1203fa(),_0x5982e4(),_0x1ef989(),_0x561cae());}(_0x2784e0,function(_0x18fcb6){const _0x238c16=_0x5a32;return(function(){const _0x4ecf71=_0x5a32;var _0x32ca8a=_0x18fcb6,_0x135f53=_0x32ca8a['lib'],_0x1ff679=_0x135f53[_0x4ecf71(0x28b)],_0x3a437c=_0x32ca8a[_0x4ecf71(0x29e)],_0x2a52f2=[],_0x19291b=[],_0x20dcfe=[],_0x4b6fd1=[],_0x37c259=[],_0x527880=[],_0x41d196=[],_0x28a669=[],_0x417430=[],_0x19bda6=[];(function(){for(var _0x5b7c6f=[],_0xb993da=0x0;_0xb993da<0x100;_0xb993da++)_0xb993da<0x80?_0x5b7c6f[_0xb993da]=_0xb993da<<0x1:_0x5b7c6f[_0xb993da]=_0xb993da<<0x1^0x11b;for(var _0xed497c=0x0,_0x541f4c=0x0,_0xb993da=0x0;_0xb993da<0x100;_0xb993da++){var _0x2382f7=_0x541f4c^_0x541f4c<<0x1^_0x541f4c<<0x2^_0x541f4c<<0x3^_0x541f4c<<0x4;_0x2382f7=_0x2382f7>>>0x8^_0x2382f7&0xff^0x63,_0x2a52f2[_0xed497c]=_0x2382f7,_0x19291b[_0x2382f7]=_0xed497c;var _0x3006cc=_0x5b7c6f[_0xed497c],_0x46d980=_0x5b7c6f[_0x3006cc],_0x300f7e=_0x5b7c6f[_0x46d980],_0x497cc9=_0x5b7c6f[_0x2382f7]*0x101^_0x2382f7*0x1010100;_0x20dcfe[_0xed497c]=_0x497cc9<<0x18|_0x497cc9>>>0x8,_0x4b6fd1[_0xed497c]=_0x497cc9<<0x10|_0x497cc9>>>0x10,_0x37c259[_0xed497c]=_0x497cc9<<0x8|_0x497cc9>>>0x18,_0x527880[_0xed497c]=_0x497cc9;var _0x497cc9=_0x300f7e*0x1010101^_0x46d980*0x10001^_0x3006cc*0x101^_0xed497c*0x1010100;_0x41d196[_0x2382f7]=_0x497cc9<<0x18|_0x497cc9>>>0x8,_0x28a669[_0x2382f7]=_0x497cc9<<0x10|_0x497cc9>>>0x10,_0x417430[_0x2382f7]=_0x497cc9<<0x8|_0x497cc9>>>0x18,_0x19bda6[_0x2382f7]=_0x497cc9,_0xed497c?(_0xed497c=_0x3006cc^_0x5b7c6f[_0x5b7c6f[_0x5b7c6f[_0x300f7e^_0x3006cc]]],_0x541f4c^=_0x5b7c6f[_0x5b7c6f[_0x541f4c]]):_0xed497c=_0x541f4c=0x1;}}());var _0x47bc48=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x210387=_0x3a437c[_0x4ecf71(0x21b)]=_0x1ff679['extend']({'_doReset':function(){const _0x5e8a57=_0x4ecf71;var _0x5b1b26;if(!(this[_0x5e8a57(0x320)]&&this[_0x5e8a57(0x43a)]===this['_key'])){for(var _0x4dd60d=this[_0x5e8a57(0x43a)]=this['_key'],_0x5c22d6=_0x4dd60d[_0x5e8a57(0x66a)],_0x27f5f0=_0x4dd60d[_0x5e8a57(0x5fb)]/0x4,_0x748901=this['_nRounds']=_0x27f5f0+0x6,_0x25f160=(_0x748901+0x1)*0x4,_0x72f906=this[_0x5e8a57(0x411)]=[],_0x341c9f=0x0;_0x341c9f<_0x25f160;_0x341c9f++)_0x341c9f<_0x27f5f0?_0x72f906[_0x341c9f]=_0x5c22d6[_0x341c9f]:(_0x5b1b26=_0x72f906[_0x341c9f-0x1],_0x341c9f%_0x27f5f0?_0x27f5f0>0x6&&_0x341c9f%_0x27f5f0==0x4&&(_0x5b1b26=_0x2a52f2[_0x5b1b26>>>0x18]<<0x18|_0x2a52f2[_0x5b1b26>>>0x10&0xff]<<0x10|_0x2a52f2[_0x5b1b26>>>0x8&0xff]<<0x8|_0x2a52f2[_0x5b1b26&0xff]):(_0x5b1b26=_0x5b1b26<<0x8|_0x5b1b26>>>0x18,_0x5b1b26=_0x2a52f2[_0x5b1b26>>>0x18]<<0x18|_0x2a52f2[_0x5b1b26>>>0x10&0xff]<<0x10|_0x2a52f2[_0x5b1b26>>>0x8&0xff]<<0x8|_0x2a52f2[_0x5b1b26&0xff],_0x5b1b26^=_0x47bc48[_0x341c9f/_0x27f5f0|0x0]<<0x18),_0x72f906[_0x341c9f]=_0x72f906[_0x341c9f-_0x27f5f0]^_0x5b1b26);for(var _0x10cfb7=this['_invKeySchedule']=[],_0x72753b=0x0;_0x72753b<_0x25f160;_0x72753b++){var _0x341c9f=_0x25f160-_0x72753b;if(_0x72753b%0x4)var _0x5b1b26=_0x72f906[_0x341c9f];else var _0x5b1b26=_0x72f906[_0x341c9f-0x4];_0x72753b<0x4||_0x341c9f<=0x4?_0x10cfb7[_0x72753b]=_0x5b1b26:_0x10cfb7[_0x72753b]=_0x41d196[_0x2a52f2[_0x5b1b26>>>0x18]]^_0x28a669[_0x2a52f2[_0x5b1b26>>>0x10&0xff]]^_0x417430[_0x2a52f2[_0x5b1b26>>>0x8&0xff]]^_0x19bda6[_0x2a52f2[_0x5b1b26&0xff]];}}},'encryptBlock':function(_0x16109a,_0x5b17a2){const _0x2b065a=_0x4ecf71;this[_0x2b065a(0x4ad)](_0x16109a,_0x5b17a2,this[_0x2b065a(0x411)],_0x20dcfe,_0x4b6fd1,_0x37c259,_0x527880,_0x2a52f2);},'decryptBlock':function(_0xe951e5,_0x2f2de3){const _0x3f3887=_0x4ecf71;var _0x3a1e64=_0xe951e5[_0x2f2de3+0x1];_0xe951e5[_0x2f2de3+0x1]=_0xe951e5[_0x2f2de3+0x3],_0xe951e5[_0x2f2de3+0x3]=_0x3a1e64,this[_0x3f3887(0x4ad)](_0xe951e5,_0x2f2de3,this['_invKeySchedule'],_0x41d196,_0x28a669,_0x417430,_0x19bda6,_0x19291b);var _0x3a1e64=_0xe951e5[_0x2f2de3+0x1];_0xe951e5[_0x2f2de3+0x1]=_0xe951e5[_0x2f2de3+0x3],_0xe951e5[_0x2f2de3+0x3]=_0x3a1e64;},'_doCryptBlock':function(_0x271d42,_0x17616e,_0x19a3f6,_0x36529b,_0x5964ee,_0x4646d0,_0x33dec6,_0x24e1c8){const _0x5023a2=_0x4ecf71;for(var _0x456a56=this[_0x5023a2(0x320)],_0x4d9a48=_0x271d42[_0x17616e]^_0x19a3f6[0x0],_0x30bad2=_0x271d42[_0x17616e+0x1]^_0x19a3f6[0x1],_0x5c30f9=_0x271d42[_0x17616e+0x2]^_0x19a3f6[0x2],_0x178842=_0x271d42[_0x17616e+0x3]^_0x19a3f6[0x3],_0x4ba629=0x4,_0x26ad81=0x1;_0x26ad81<_0x456a56;_0x26ad81++){var _0x16e76c=_0x36529b[_0x4d9a48>>>0x18]^_0x5964ee[_0x30bad2>>>0x10&0xff]^_0x4646d0[_0x5c30f9>>>0x8&0xff]^_0x33dec6[_0x178842&0xff]^_0x19a3f6[_0x4ba629++],_0x11c685=_0x36529b[_0x30bad2>>>0x18]^_0x5964ee[_0x5c30f9>>>0x10&0xff]^_0x4646d0[_0x178842>>>0x8&0xff]^_0x33dec6[_0x4d9a48&0xff]^_0x19a3f6[_0x4ba629++],_0x464124=_0x36529b[_0x5c30f9>>>0x18]^_0x5964ee[_0x178842>>>0x10&0xff]^_0x4646d0[_0x4d9a48>>>0x8&0xff]^_0x33dec6[_0x30bad2&0xff]^_0x19a3f6[_0x4ba629++],_0x3b334b=_0x36529b[_0x178842>>>0x18]^_0x5964ee[_0x4d9a48>>>0x10&0xff]^_0x4646d0[_0x30bad2>>>0x8&0xff]^_0x33dec6[_0x5c30f9&0xff]^_0x19a3f6[_0x4ba629++];_0x4d9a48=_0x16e76c,_0x30bad2=_0x11c685,_0x5c30f9=_0x464124,_0x178842=_0x3b334b;}var _0x16e76c=(_0x24e1c8[_0x4d9a48>>>0x18]<<0x18|_0x24e1c8[_0x30bad2>>>0x10&0xff]<<0x10|_0x24e1c8[_0x5c30f9>>>0x8&0xff]<<0x8|_0x24e1c8[_0x178842&0xff])^_0x19a3f6[_0x4ba629++],_0x11c685=(_0x24e1c8[_0x30bad2>>>0x18]<<0x18|_0x24e1c8[_0x5c30f9>>>0x10&0xff]<<0x10|_0x24e1c8[_0x178842>>>0x8&0xff]<<0x8|_0x24e1c8[_0x4d9a48&0xff])^_0x19a3f6[_0x4ba629++],_0x464124=(_0x24e1c8[_0x5c30f9>>>0x18]<<0x18|_0x24e1c8[_0x178842>>>0x10&0xff]<<0x10|_0x24e1c8[_0x4d9a48>>>0x8&0xff]<<0x8|_0x24e1c8[_0x30bad2&0xff])^_0x19a3f6[_0x4ba629++],_0x3b334b=(_0x24e1c8[_0x178842>>>0x18]<<0x18|_0x24e1c8[_0x4d9a48>>>0x10&0xff]<<0x10|_0x24e1c8[_0x30bad2>>>0x8&0xff]<<0x8|_0x24e1c8[_0x5c30f9&0xff])^_0x19a3f6[_0x4ba629++];_0x271d42[_0x17616e]=_0x16e76c,_0x271d42[_0x17616e+0x1]=_0x11c685,_0x271d42[_0x17616e+0x2]=_0x464124,_0x271d42[_0x17616e+0x3]=_0x3b334b;},'keySize':0x100/0x20});_0x32ca8a[_0x4ecf71(0x21b)]=_0x1ff679[_0x4ecf71(0x575)](_0x210387);}()),_0x18fcb6[_0x238c16(0x21b)];}));}(_0x2d270c));var _0x1c110a=_0x2d270c[_0x399f16(0x451)];const _0x367144=_0x48042e(_0x1c110a);var _0x1b2eb1=_0x1203fa();const _0x53785a=_0x48042e(_0x1b2eb1);var _0x269190={'exports':{}};(function(_0x3ad981,_0x1ec924){(function(_0xdd8fe8,_0x16eed9){const _0xaa6f29=_0x5a32;_0x3ad981[_0xaa6f29(0x451)]=_0x16eed9(_0x32c6d7());}(_0x2784e0,function(_0x2c46db){const _0x367f39=_0x5a32;return _0x2c46db[_0x367f39(0x57b)]['Utf8'];}));}(_0x269190));var _0x3dc43a=_0x269190['exports'];const _0x51e980=_0x48042e(_0x3dc43a);var _0x50019b={'exports':{}};(function(_0x51a970,_0x3a5b12){(function(_0x6f5d4d,_0x48289a){const _0xb195ee=_0x5a32;_0x51a970[_0xb195ee(0x451)]=_0x48289a(_0x32c6d7());}(_0x2784e0,function(_0x254918){const _0x5ea4eb=_0x5a32;return(function(){const _0x44fc4f=_0x5a32;if(typeof ArrayBuffer==_0x44fc4f(0x540)){var _0x56e731=_0x254918,_0x59c8de=_0x56e731[_0x44fc4f(0x684)],_0x3a8ed3=_0x59c8de[_0x44fc4f(0x5ad)],_0xeafd3=_0x3a8ed3[_0x44fc4f(0x523)],_0x3f666b=_0x3a8ed3[_0x44fc4f(0x523)]=function(_0x394528){const _0x4cf71b=_0x44fc4f;if(_0x394528 instanceof ArrayBuffer&&(_0x394528=new Uint8Array(_0x394528)),(_0x394528 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x394528 instanceof Uint8ClampedArray||_0x394528 instanceof Int16Array||_0x394528 instanceof Uint16Array||_0x394528 instanceof Int32Array||_0x394528 instanceof Uint32Array||_0x394528 instanceof Float32Array||_0x394528 instanceof Float64Array)&&(_0x394528=new Uint8Array(_0x394528['buffer'],_0x394528[_0x4cf71b(0x555)],_0x394528['byteLength'])),_0x394528 instanceof Uint8Array){for(var _0x335596=_0x394528['byteLength'],_0x1a968d=[],_0x5f423f=0x0;_0x5f423f<_0x335596;_0x5f423f++)_0x1a968d[_0x5f423f>>>0x2]|=_0x394528[_0x5f423f]<<0x18-_0x5f423f%0x4*0x8;_0xeafd3[_0x4cf71b(0x55c)](this,_0x1a968d,_0x335596);}else _0xeafd3['apply'](this,arguments);};_0x3f666b[_0x44fc4f(0x3f4)]=_0x3a8ed3;}}()),_0x254918[_0x5ea4eb(0x684)][_0x5ea4eb(0x5ad)];}));}(_0x50019b));var _0x32ae9b=_0x50019b['exports'];const _0x2b5cb9=_0x48042e(_0x32ae9b);var _0x4c2284={'exports':{}};(function(_0x4f133b,_0x1fdba8){(function(_0x3b419d,_0x4b8a4e,_0x3a2640){const _0x177761=_0x5a32;_0x4f133b[_0x177761(0x451)]=_0x4b8a4e(_0x32c6d7(),_0x561cae());}(_0x2784e0,function(_0x5e2b33){const _0x57fd7b=_0x5a32;return _0x5e2b33[_0x57fd7b(0x466)][_0x57fd7b(0x5fd)]={'pad':function(){},'unpad':function(){}},_0x5e2b33[_0x57fd7b(0x466)][_0x57fd7b(0x5fd)];}));}(_0x4c2284));var _0x51c39a=_0x4c2284[_0x399f16(0x451)];const _0x322783=_0x48042e(_0x51c39a);function _0x6c3b3a(_0x2f5afc,_0x49783f){const _0x1c8ccf=_0x399f16,_0x58aa08=_0x49783f-_0x2f5afc[_0x1c8ccf(0x4ba)]%_0x49783f,_0x134476=String['fromCharCode'](_0x58aa08)['repeat'](_0x58aa08);return _0x2f5afc+_0x134476;}function _0x3a510c(_0x23ea79,_0x2078df){const _0x5eee1e=_0x399f16,_0x19f4bc=_0x2b5cb9[_0x5eee1e(0x334)](0x10),_0x3fa376=_0x6c3b3a(_0x23ea79,0x10),_0x549dde=_0x367144[_0x5eee1e(0x2ac)](_0x51e980[_0x5eee1e(0x539)](_0x3fa376),_0x53785a[_0x5eee1e(0x539)](_0x2078df),{'iv':_0x19f4bc,'padding':_0x322783});return _0x19f4bc['concat'](_0x549dde[_0x5eee1e(0x673)])[_0x5eee1e(0x358)](_0x53785a);}function _0xd1383d(){const _0x1b8bf0=_0x399f16,_0x4f4af7=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x1b8bf0(0x357)];if(_0x4f4af7){const _0x475f33={'time':Math[_0x1b8bf0(0x5ab)](Date['now']()/0x3e8),'domain':location[_0x1b8bf0(0x222)]};return _0x3a510c(JSON[_0x1b8bf0(0x2a1)](_0x475f33),_0x4f4af7);}}var _0x3e8a35=Object[_0x399f16(0x30f)],_0x5d2712=Object['getOwnPropertyDescriptor'],_0x2d3f59=(_0x5119b0,_0x27c257,_0x15f696,_0x33a5d4)=>{const _0x3696e0=_0x399f16;for(var _0x1f5601=_0x33a5d4>0x1?void 0x0:_0x33a5d4?_0x5d2712(_0x27c257,_0x15f696):_0x27c257,_0x28aed7=_0x5119b0[_0x3696e0(0x4ba)]-0x1,_0x28f1d0;_0x28aed7>=0x0;_0x28aed7--)(_0x28f1d0=_0x5119b0[_0x28aed7])&&(_0x1f5601=(_0x33a5d4?_0x28f1d0(_0x27c257,_0x15f696,_0x1f5601):_0x28f1d0(_0x1f5601))||_0x1f5601);return _0x33a5d4&&_0x1f5601&&_0x3e8a35(_0x27c257,_0x15f696,_0x1f5601),_0x1f5601;},_0x3e1734=(_0x5c8e17,_0x3a28cb)=>(_0x563152,_0x2fc67f)=>_0x3a28cb(_0x563152,_0x2fc67f,_0x5c8e17);let _0x3f5665=class{constructor(_0x4c477a){const _0x2e229c=_0x399f16;this['_httpService']=_0x4c477a,this[_0x2e229c(0x2f2)]();}[_0x399f16(0x2f2)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x55d609,_0x79d730)=>{const _0x5e5cd6=_0x5a32,_0x269d90=_0x55d609[_0x5e5cd6(0x6b9)],_0x388cb9=_0xd1383d();return _0x388cb9&&_0x269d90['set'](_0x5e5cd6(0x513),_0x388cb9),_0x79d730(_0x55d609);}});}};_0x3f5665=_0x2d3f59([_0x3e1734(0x0,_0x4f08d1[_0x399f16(0x6b5)](_0x413477[_0x399f16(0x5be)]))],_0x3f5665);var _0x470019=Object[_0x399f16(0x30f)],_0x38db29=Object[_0x399f16(0x468)],_0x2d0207=(_0x5af12b,_0x2a3848,_0xcff4b6,_0x5ec4d5)=>{const _0x9b43c3=_0x399f16;for(var _0x46a210=_0x5ec4d5>0x1?void 0x0:_0x5ec4d5?_0x38db29(_0x2a3848,_0xcff4b6):_0x2a3848,_0x43bd66=_0x5af12b[_0x9b43c3(0x4ba)]-0x1,_0x341f0e;_0x43bd66>=0x0;_0x43bd66--)(_0x341f0e=_0x5af12b[_0x43bd66])&&(_0x46a210=(_0x5ec4d5?_0x341f0e(_0x2a3848,_0xcff4b6,_0x46a210):_0x341f0e(_0x46a210))||_0x46a210);return _0x5ec4d5&&_0x46a210&&_0x470019(_0x2a3848,_0xcff4b6,_0x46a210),_0x46a210;},_0x5b5169=(_0x1f8bfa,_0x2888cd)=>(_0x1abcb7,_0x1e0343)=>_0x2888cd(_0x1abcb7,_0x1e0343,_0x1f8bfa);const _0xeb765c=[_0x399f16(0x3ee),_0x399f16(0x6c4),'image/jpg',_0x399f16(0x5f5),_0x399f16(0x43e)],_0x422e69=0x5*0x400*0x400,_0xb22374=_0x399f16(0x460),_0x16b2d3=_0x399f16(0x2f5),_0x5d0965=_0x399f16(0x4c0),_0x287cc4='/universer-api/file/{fileID}/sign-url';_0x5545bf['ImageIoService']=class{constructor(_0x5313b3,_0x5ad3a2,_0x2a193a){const _0x18bc44=_0x399f16;_0x4185c3(this,_0x18bc44(0x6ce),0x0),_0x4185c3(this,_0x18bc44(0x3b5),new _0x2b43af[(_0x18bc44(0x6c5))]()),_0x4185c3(this,_0x18bc44(0x6ac),this['_change$']),_0x4185c3(this,_0x18bc44(0x68b),new Map()),(this['_httpService']=_0x5313b3,this[_0x18bc44(0x286)]=_0x5ad3a2,this['_univerInstanceService']=_0x2a193a);}[_0x399f16(0x44c)](_0x3b655d){const _0x3fa2a3=_0x399f16;this[_0x3fa2a3(0x6ce)]=_0x3b655d,this[_0x3fa2a3(0x3b5)]['next'](_0x3b655d);}[_0x399f16(0x354)](_0xdad741,_0x20a924){const _0x3cee9e=_0x399f16;if(_0x20a924===_0xbade8d[_0x3cee9e(0x2d1)][_0x3cee9e(0x313)]){const _0x5b3164=new Image();return _0x5b3164['src']=_0xdad741,_0x5b3164;}return this[_0x3cee9e(0x68b)][_0x3cee9e(0x515)](_0xdad741);}[_0x399f16(0x57a)](_0x1d409e,_0x4e89d8,_0x3475f5){const _0x4e676c=_0x399f16;_0x4e89d8===_0xbade8d['ImageSourceType'][_0x4e676c(0x313)]||_0x3475f5==null||this['_imageSourceCache']['set'](_0x1d409e,_0x3475f5);}async[_0x399f16(0x6c0)](_0x1bd9ca){const _0x36aa01=_0x399f16;try{const _0x5eed8b=this[_0x36aa01(0x4d3)](this[_0x36aa01(0x2fd)](),''+_0x1bd9ca),_0x41f0e3=(await this[_0x36aa01(0x248)][_0x36aa01(0x515)](_0x5eed8b))[_0x36aa01(0x270)];if(_0x41f0e3[_0x36aa01(0x5d4)]&&_0x41f0e3[_0x36aa01(0x5d4)][_0x36aa01(0x3e7)]===_0x119e3c['OK']){const _0x3af7b4=new URL(_0x41f0e3['url'],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x36aa01(0x284)](_0x3af7b4);}return Promise['reject'](_0x41f0e3[_0x36aa01(0x5d4)]);}catch(_0x5e78ab){return Promise[_0x36aa01(0x535)](_0x5e78ab);}}async[_0x399f16(0x676)](_0x56f44e){const _0x45e546=_0x399f16;let _0x34445d='';if(!_0xeb765c[_0x45e546(0x342)](_0x56f44e['type']))return this[_0x45e546(0x65b)](),Promise[_0x45e546(0x535)](new Error(_0xbade8d['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x56f44e[_0x45e546(0x446)]>_0x422e69)return this[_0x45e546(0x65b)](),Promise[_0x45e546(0x535)](new Error(_0xbade8d[_0x45e546(0x5ae)][_0x45e546(0x395)]));try{const _0xb571f3=new FormData();_0xb571f3[_0x45e546(0x26a)](_0x45e546(0x2a3),_0x56f44e);const _0x2eb356=this['_univerInstanceService'][_0x45e546(0x51a)](),_0x20072b=_0x2eb356==null?void 0x0:_0x2eb356['getUnitId']();if(!_0x20072b)throw new Error('unitId\x20is\x20not\x20found');const _0xf175e8=this[_0x45e546(0x6c9)]()+_0x45e546(0x62e)+_0x56f44e[_0x45e546(0x446)][_0x45e546(0x358)]()+'&source='+_0x1c077a['UnitEmbedded']+_0x45e546(0x67c)+encodeURIComponent(_0x20072b),_0x4080cb=await(await fetch(_0xf175e8,{'method':_0x45e546(0x2bb),'body':_0xb571f3}))['json']();if(typeof _0x4080cb[_0x45e546(0x58d)]!='string')return this[_0x45e546(0x65b)](),Promise['reject'](new Error(_0xbade8d['ImageUploadStatusType'][_0x45e546(0x415)]));_0x34445d=_0x4080cb[_0x45e546(0x58d)];}catch{return this[_0x45e546(0x65b)](),Promise[_0x45e546(0x535)](new Error(_0xbade8d[_0x45e546(0x5ae)][_0x45e546(0x415)]));}return new Promise((_0xef8fe7,_0x58c471)=>{const _0x3b9458=_0x45e546,_0x3dbd88=new FileReader();_0x3dbd88[_0x3b9458(0x39c)](_0x56f44e),_0x3dbd88[_0x3b9458(0x229)]=_0x533ca7=>{const _0x4d4e5c=_0x3b9458;var _0x1dd84d;const _0x512e4e=(_0x1dd84d=_0x533ca7[_0x4d4e5c(0x249)])==null?void 0x0:_0x1dd84d[_0x4d4e5c(0x5b5)];if(_0x512e4e==null){this[_0x4d4e5c(0x65b)](),_0x58c471(new Error(_0xbade8d[_0x4d4e5c(0x5ae)][_0x4d4e5c(0x415)]));return;}const _0x4082e1=_0x4f08d1[_0x4d4e5c(0x370)][_0x4d4e5c(0x352)](0x6);_0xef8fe7({'imageId':_0x4082e1,'imageSourceType':_0xbade8d[_0x4d4e5c(0x2d1)][_0x4d4e5c(0x41e)],'source':_0x34445d,'base64Cache':_0x512e4e,'status':_0xbade8d[_0x4d4e5c(0x5ae)][_0x4d4e5c(0x502)]}),this[_0x4d4e5c(0x65b)]();};});}['_getUploadFileURL'](){const _0x2cd957=_0x399f16;var _0x224504,_0x50fa1a;const _0x3fc1f3=this[_0x2cd957(0x286)]['getConfig'](_0xb22374),_0x785c0a=this[_0x2cd957(0x286)][_0x2cd957(0x22e)](_0x2db08d);return(_0x50fa1a=(_0x224504=_0x785c0a==null?void 0x0:_0x785c0a[_0x2cd957(0x4b1)])!=null?_0x224504:_0x3fc1f3)!=null?_0x50fa1a:_0x16b2d3;}[_0x399f16(0x2fd)](){const _0x4918ff=_0x399f16;var _0x4949d8,_0x3a62bd;const _0x25d8ab=this[_0x4918ff(0x286)][_0x4918ff(0x22e)](_0x5d0965),_0x46433d=this[_0x4918ff(0x286)]['getConfig'](_0x2db08d);return(_0x3a62bd=(_0x4949d8=_0x46433d==null?void 0x0:_0x46433d[_0x4918ff(0x235)])!=null?_0x4949d8:_0x25d8ab)!=null?_0x3a62bd:_0x287cc4;}[_0x399f16(0x520)](){const _0x1b6598=_0x399f16;var _0x16556b;const _0x4f6b7d=this[_0x1b6598(0x286)][_0x1b6598(0x22e)](_0x2db08d);return(_0x16556b=_0x4f6b7d==null?void 0x0:_0x4f6b7d['downloadEndpointUrl'])!=null?_0x16556b:location['origin'];}[_0x399f16(0x4d3)](_0x47d956,_0x1fa9d3){const _0x57393c=_0x399f16;return _0x47d956[_0x57393c(0x69a)](_0x57393c(0x610),_0x1fa9d3);}[_0x399f16(0x65b)](){const _0x4e8f89=_0x399f16;this[_0x4e8f89(0x6ce)]-=0x1,this[_0x4e8f89(0x3b5)]['next'](this[_0x4e8f89(0x6ce)]);}},_0x5545bf[_0x399f16(0x333)]=_0x2d0207([_0x5b5169(0x0,_0x4f08d1[_0x399f16(0x6b5)](_0x413477[_0x399f16(0x5be)])),_0x5b5169(0x1,_0x4f08d1[_0x399f16(0x4cb)]),_0x5b5169(0x2,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x353)]))],_0x5545bf[_0x399f16(0x333)]);var _0x7e888e=Object[_0x399f16(0x30f)],_0x585019=Object[_0x399f16(0x468)],_0x113bda=(_0x3be2dc,_0x533439,_0x3c0afd,_0x2cc35d)=>{const _0x4f3077=_0x399f16;for(var _0x45dc1a=_0x2cc35d>0x1?void 0x0:_0x2cc35d?_0x585019(_0x533439,_0x3c0afd):_0x533439,_0xb4d9db=_0x3be2dc[_0x4f3077(0x4ba)]-0x1,_0x1552b3;_0xb4d9db>=0x0;_0xb4d9db--)(_0x1552b3=_0x3be2dc[_0xb4d9db])&&(_0x45dc1a=(_0x2cc35d?_0x1552b3(_0x533439,_0x3c0afd,_0x45dc1a):_0x1552b3(_0x45dc1a))||_0x45dc1a);return _0x2cc35d&&_0x45dc1a&&_0x7e888e(_0x533439,_0x3c0afd,_0x45dc1a),_0x45dc1a;},_0x396082=(_0x43183e,_0x18849a)=>(_0x1fc568,_0x106b41)=>_0x18849a(_0x1fc568,_0x106b41,_0x43183e);let _0x19fb85=class extends _0x4f08d1[_0x399f16(0x63e)]{constructor(_0x525c71,_0x2c8caf,_0x14d372,_0x166808,_0x2d384c){const _0x2ad0cf=_0x399f16;super(),this[_0x2ad0cf(0x50d)]=_0x525c71,this[_0x2ad0cf(0x47a)]=_0x2c8caf,this['_permissionService']=_0x14d372,this[_0x2ad0cf(0x1f9)]=_0x166808,this[_0x2ad0cf(0x621)]=_0x2d384c,this[_0x2ad0cf(0x39e)](),this[_0x2ad0cf(0x35b)]();}[_0x399f16(0x35b)](){const _0x53913a=_0x399f16,_0x14619d=async _0x57f9f6=>{const _0xc76451=_0x5a32;(await this[_0xc76451(0x1f9)][_0xc76451(0x377)](_0x57f9f6))['event$'][_0xc76451(0x3d3)](_0x2a573e[_0xc76451(0x4e2)](_0x5c1987=>_0x5c1987[_0xc76451(0x6cb)]===_0x1b0275['CollaborationEvent'][_0xc76451(0x4ab)]),_0x2a573e[_0xc76451(0x41d)](this['dispose$']))[_0xc76451(0x4e9)](_0x33f945=>{const _0x4d74dd=_0xc76451,_0x7a5565=_0x33f945,{reason:_0x283740}=_0x7a5565['data'];this[_0x4d74dd(0x50d)][_0x4d74dd(0x515)](_0x3f3b0b[_0x4d74dd(0x659)])[_0x4d74dd(0x298)]({'type':_0x3c040d[_0x4d74dd(0x217)][_0x4d74dd(0x4d2)],'content':this[_0x4d74dd(0x621)]['t'](_0x4d74dd(0x5b9))+'('+_0x283740+')'}),this[_0x4d74dd(0x568)]['updatePermissionPoint'](new _0x5acd2f[(_0x4d74dd(0x1f4))](_0x57f9f6)['id'],!0x1),this[_0x4d74dd(0x1f9)][_0x4d74dd(0x361)](_0x57f9f6);});};_0x2b43af[_0x53913a(0x21c)](this[_0x53913a(0x47a)]['getTypeOfUnitAdded$'](_0x4f08d1[_0x53913a(0x632)][_0x53913a(0x1f3)]),this[_0x53913a(0x47a)]['getTypeOfUnitAdded$'](_0x4f08d1[_0x53913a(0x632)]['UNIVER_DOC']))[_0x53913a(0x3d3)](_0x2a573e['map'](_0x4822b9=>_0x4822b9[_0x53913a(0x2cb)]()),_0x2a573e[_0x53913a(0x4e2)](_0x47b237=>!_0x4f08d1['isInternalEditorID'](_0x47b237)),_0x2a573e[_0x53913a(0x41d)](this[_0x53913a(0x54c)]))[_0x53913a(0x4e9)](_0x16e57b=>{_0x14619d(_0x16e57b);});}[_0x399f16(0x39e)](){const _0x39f810=_0x399f16,_0x41d367=async _0x476b07=>{const _0x1a70b9=_0x5a32;(await this[_0x1a70b9(0x1f9)]['requireSession'](_0x476b07))[_0x1a70b9(0x373)][_0x1a70b9(0x3d3)](_0x2a573e['filter'](_0x51aab4=>_0x51aab4[_0x1a70b9(0x6cb)]===_0x1b0275[_0x1a70b9(0x47b)]['UPDATE_PERMISSION_OBJ']),_0x2a573e[_0x1a70b9(0x41d)](this[_0x1a70b9(0x54c)]))['subscribe'](_0x37dc15=>{const _0x184a45=_0x1a70b9,_0x459b24=_0x37dc15,{objectId:_0x1b1117}=_0x459b24[_0x184a45(0x4ae)],_0x349796=this['_injector'][_0x184a45(0x515)](_0x27f6cb[_0x184a45(0x422)]);_0x1b1117===_0x476b07?_0x349796['initWorkbookPermissionChange'](_0x476b07):_0x349796[_0x184a45(0x5ed)](_0x476b07,_0x1b1117);});};_0x2b43af[_0x39f810(0x21c)](this['_univerInstanceService'][_0x39f810(0x48f)](_0x4f08d1[_0x39f810(0x632)][_0x39f810(0x1f3)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4f08d1[_0x39f810(0x632)][_0x39f810(0x3e3)]))['pipe'](_0x2a573e['map'](_0x11a012=>_0x11a012[_0x39f810(0x2cb)]()),_0x2a573e[_0x39f810(0x4e2)](_0x3de9bb=>!_0x4f08d1['isInternalEditorID'](_0x3de9bb)),_0x2a573e[_0x39f810(0x41d)](this[_0x39f810(0x54c)]))[_0x39f810(0x4e9)](_0x3724be=>{_0x41d367(_0x3724be);});}};_0x19fb85=_0x113bda([_0x396082(0x0,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x492)])),_0x396082(0x1,_0x4f08d1[_0x399f16(0x353)]),_0x396082(0x2,_0x4f08d1[_0x399f16(0x50e)]),_0x396082(0x3,_0x4f08d1['Inject'](_0x5545bf[_0x399f16(0x294)])),_0x396082(0x4,_0x4f08d1[_0x399f16(0x6b5)](_0x4f08d1[_0x399f16(0x53c)]))],_0x19fb85);var _0x2bf0b6=Object[_0x399f16(0x30f)],_0x159777=Object['getOwnPropertyDescriptor'],_0x5129ef=(_0x42ee7e,_0x131af9,_0x348439,_0x3ef789)=>{const _0x1e14f7=_0x399f16;for(var _0x3ccfa0=_0x3ef789>0x1?void 0x0:_0x3ef789?_0x159777(_0x131af9,_0x348439):_0x131af9,_0x1b00d1=_0x42ee7e[_0x1e14f7(0x4ba)]-0x1,_0x48ca05;_0x1b00d1>=0x0;_0x1b00d1--)(_0x48ca05=_0x42ee7e[_0x1b00d1])&&(_0x3ccfa0=(_0x3ef789?_0x48ca05(_0x131af9,_0x348439,_0x3ccfa0):_0x48ca05(_0x3ccfa0))||_0x3ccfa0);return _0x3ef789&&_0x3ccfa0&&_0x2bf0b6(_0x131af9,_0x348439,_0x3ccfa0),_0x3ccfa0;},_0x2d5285=(_0x257c82,_0x4d7886)=>(_0x2758d9,_0x2ae164)=>_0x4d7886(_0x2758d9,_0x2ae164,_0x257c82);_0x5545bf[_0x399f16(0x37e)]=class{constructor(_0x35f3ca,_0x459171){const _0x3dfa82=_0x399f16;this[_0x3dfa82(0x286)]=_0x35f3ca,this[_0x3dfa82(0x248)]=_0x459171;}async[_0x399f16(0x596)](_0x7dcfbb,_0x2a7b2e){const _0x5f5cc0=_0x399f16;var _0x246857;const {unitID:_0x2c8d44,type:_0x3d401c,revision:_0x948f0=0x0}=_0x2a7b2e,_0x2ffa67=this['_getSnapshotAPIPrefix']()+'/'+_0x3d401c+_0x5f5cc0(0x4b8)+_0x2c8d44+_0x5f5cc0(0x5de)+_0x948f0,_0x3c0103=(await this[_0x5f5cc0(0x248)][_0x5f5cc0(0x515)](_0x2ffa67))[_0x5f5cc0(0x270)],_0x3e03c3=(_0x246857=_0x3c0103[_0x5f5cc0(0x416)])==null?void 0x0:_0x246857[_0x5f5cc0(0x2bf)];if(_0x3e03c3){const _0x55ddad=_0x3e03c3==null?void 0x0:_0x3e03c3[_0x5f5cc0(0x6a6)],_0x51a659=_0x1b0275[_0x5f5cc0(0x5c8)][_0x5f5cc0(0x58b)](_0x1b0275[_0x5f5cc0(0x4b3)](_0x55ddad));_0x3e03c3[_0x5f5cc0(0x6a6)]=_0x51a659,Object[_0x5f5cc0(0x4f7)](_0x3e03c3[_0x5f5cc0(0x583)])[_0x5f5cc0(0x4b6)](([,_0x1dba0e])=>{const _0x2d801d=_0x5f5cc0,_0x1deb5f=_0x1dba0e[_0x2d801d(0x6a6)],_0x36dcea=_0x1b0275[_0x2d801d(0x5c8)][_0x2d801d(0x58b)](_0x1b0275[_0x2d801d(0x4b3)](_0x1deb5f));_0x1dba0e[_0x2d801d(0x6a6)]=_0x36dcea;});}return _0x3c0103;}async['getSheetBlock'](_0x30c1e8,_0xfc936c){const _0x332da5=_0x399f16,{unitID:_0x5196bd,type:_0x10205a,blockID:_0x384063}=_0xfc936c,_0x53707b=this[_0x332da5(0x6c7)]()+'/'+_0x10205a+_0x332da5(0x4b8)+_0x5196bd+_0x332da5(0x4a4)+_0x384063;return(await this[_0x332da5(0x248)][_0x332da5(0x515)](_0x53707b))[_0x332da5(0x270)];}async[_0x399f16(0x2cd)](_0x56ce22,_0x1b42ab){const _0x4859ba=_0x399f16,{unitID:_0x517aef,type:_0x2dcdb0,blockID:_0x3ee855}=_0x1b42ab,_0x43097c=this['_getAPIPrefix']()+_0x4859ba(0x4a4)+_0x2dcdb0+'/unit/'+_0x517aef+_0x4859ba(0x4a4)+_0x3ee855;return(await this[_0x4859ba(0x248)]['get'](_0x43097c))[_0x4859ba(0x270)];}async[_0x399f16(0x29a)](_0x2aae70,_0x56eee6){const _0x5bd2ee=_0x399f16,{unitID:_0x917b61,type:_0x49c392,from:_0x135a8c,to:_0x4a34dd}=_0x56eee6,_0x37ba35=this['_getAPIPrefix']()+'/'+_0x49c392+'/unit/'+_0x917b61+'/fetchmissing?from='+_0x135a8c+_0x5bd2ee(0x3d4)+_0x4a34dd;return(await this[_0x5bd2ee(0x248)][_0x5bd2ee(0x515)](_0x37ba35))[_0x5bd2ee(0x270)];}[_0x399f16(0x33b)](){const _0x42b926=_0x399f16;var _0x4ef4b8;return(_0x4ef4b8=this['_configService']['getConfig'](_0x2fd39e))!=null?_0x4ef4b8:this[_0x42b926(0x6c7)]();}['_getAPIPrefix'](){const _0x1aa066=_0x399f16;var _0x31311d,_0x10f2e6;const _0x5a795f=this[_0x1aa066(0x286)][_0x1aa066(0x22e)](_0x5307e6),_0x302399=this[_0x1aa066(0x286)][_0x1aa066(0x22e)](_0x2db08d);return(_0x10f2e6=(_0x31311d=_0x302399==null?void 0x0:_0x302399['snapshotServerUrl'])!=null?_0x31311d:_0x5a795f)!=null?_0x10f2e6:_0x3e7155;}async[_0x399f16(0x439)](_0x18edcb,_0x26fd13){const _0x2546cd=_0x399f16,_0x4449a6=_0x2546cd(0x6c3)+_0x26fd13[_0x2546cd(0x39a)]+_0x2546cd(0x4b8)+_0x26fd13[_0x2546cd(0x5dd)]+_0x2546cd(0x273);return(await this[_0x2546cd(0x248)][_0x2546cd(0x515)](_0x4449a6,{'params':{'resourceId':JSON['stringify'](_0x26fd13[_0x2546cd(0x2f9)])}}))[_0x2546cd(0x270)];}['saveSnapshot'](){const _0x5014c0=_0x399f16;throw new Error(_0x5014c0(0x38b));}[_0x399f16(0x259)](){const _0x299937=_0x399f16;throw new Error(_0x299937(0x38b));}[_0x399f16(0x62a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x399f16(0x469)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x399f16(0x424)](){const _0x108328=_0x399f16;throw new Error(_0x108328(0x38b));}},_0x5545bf[_0x399f16(0x37e)]=_0x5129ef([_0x2d5285(0x0,_0x4f08d1['IConfigService']),_0x2d5285(0x1,_0x4f08d1[_0x399f16(0x6b5)](_0x413477[_0x399f16(0x5be)]))],_0x5545bf[_0x399f16(0x37e)]);var _0x399cf8=Object[_0x399f16(0x30f)],_0x5d7398=Object[_0x399f16(0x468)],_0x1247ba=(_0x3f2f3c,_0xeb2685,_0x5c11f6,_0x11dab7)=>{const _0x3ae5a9=_0x399f16;for(var _0x277631=_0x11dab7>0x1?void 0x0:_0x11dab7?_0x5d7398(_0xeb2685,_0x5c11f6):_0xeb2685,_0x1eff02=_0x3f2f3c[_0x3ae5a9(0x4ba)]-0x1,_0x3f2ee9;_0x1eff02>=0x0;_0x1eff02--)(_0x3f2ee9=_0x3f2f3c[_0x1eff02])&&(_0x277631=(_0x11dab7?_0x3f2ee9(_0xeb2685,_0x5c11f6,_0x277631):_0x3f2ee9(_0x277631))||_0x277631);return _0x11dab7&&_0x277631&&_0x399cf8(_0xeb2685,_0x5c11f6,_0x277631),_0x277631;},_0x1f3db3=(_0x212646,_0x3f548b)=>(_0x33f94c,_0x14c842)=>_0x3f548b(_0x33f94c,_0x14c842,_0x212646);let _0x2e043c=class extends _0x4f08d1['LocalUndoRedoService']{constructor(_0x38e8f0,_0x179e3c,_0x54beb1,_0x508845,_0x186783){const _0x432ef3=_0x399f16;super(_0x38e8f0,_0x179e3c,_0x54beb1),this[_0x432ef3(0x514)]=_0x508845,this[_0x432ef3(0x3ce)]=_0x186783;}[_0x399f16(0x543)](_0x363f23,_0x1def46){const _0x58de96=_0x399f16,_0x3242af=this[_0x58de96(0x21f)](_0x363f23);if(_0x3242af)try{const _0x5cfed5=this[_0x58de96(0x5eb)](_0x3242af,_0x1def46);this[_0x58de96(0x3bc)](_0x363f23,_0x5cfed5);}catch(_0x48e70c){this[_0x58de96(0x3ce)][_0x58de96(0x5d4)](_0x58de96(0x4a6),_0x48e70c),this[_0x58de96(0x322)](_0x363f23);}const _0x27f8df=this[_0x58de96(0x5fa)](_0x363f23);if(_0x27f8df)try{const _0x485c56=this[_0x58de96(0x5eb)](_0x27f8df,_0x1def46);this[_0x58de96(0x3ad)](_0x363f23,_0x485c56);}catch(_0x1f5854){this[_0x58de96(0x3ce)][_0x58de96(0x5d4)](_0x1f5854),this['_clearRedo'](_0x363f23);}}['_clearUndo'](_0x121674){const _0x44fd48=_0x399f16,_0x4c70d8=this['_getUndoStack'](_0x121674);_0x4c70d8&&(_0x4c70d8[_0x44fd48(0x4ba)]=0x0,this['_updateStatus']());}[_0x399f16(0x663)](_0x27d489){const _0x40d769=_0x399f16,_0x4934b3=this[_0x40d769(0x5fa)](_0x27d489);_0x4934b3&&(_0x4934b3['length']=0x0,this[_0x40d769(0x44a)]());}[_0x399f16(0x3bc)](_0x37ef50,_0x586430){const _0x1623b4=_0x399f16;this['_undoStacks'][_0x1623b4(0x3be)](_0x37ef50,_0x586430),this[_0x1623b4(0x44a)]();}[_0x399f16(0x3ad)](_0x48a411,_0x5f01bf){const _0xf07313=_0x399f16;this['_redoStacks'][_0xf07313(0x3be)](_0x48a411,_0x5f01bf),this[_0xf07313(0x44a)]();}[_0x399f16(0x5eb)](_0x262886,_0xe1ebf6){const _0x117a68=_0x399f16,_0x3e5c74=[];let _0x4aeab8=_0xe1ebf6,_0x2afacd=_0xe1ebf6;for(let _0x2f7a81=_0x262886[_0x117a68(0x4ba)]-0x1;_0x2f7a81>=0x0;_0x2f7a81--){const {unitID:_0x1370a8,undoMutations:_0x2f74bd,redoMutations:_0x3fc1fc}=_0x262886[_0x2f7a81],_0x4d4fd3=this[_0x117a68(0x514)][_0x117a68(0x65c)](_0x4aeab8,_0x2f74bd),_0x31c3b2=this[_0x117a68(0x514)][_0x117a68(0x65c)](_0x2afacd,_0x3fc1fc);if(_0x1b0275['isTransformMutationsWithChangesetFailure'](_0x4d4fd3)||_0x1b0275[_0x117a68(0x5cc)](_0x31c3b2)){this['_logService'][_0x117a68(0x5d4)](_0x117a68(0x4a6),_0x117a68(0x5c0),_0x4d4fd3,_0x31c3b2);break;}_0x4aeab8=_0x4d4fd3[_0x117a68(0x5c3)],_0x2afacd=_0x31c3b2[_0x117a68(0x5c3)],_0x3e5c74[_0x117a68(0x597)]({'unitID':_0x1370a8,'undoMutations':_0x4d4fd3[_0x117a68(0x532)],'redoMutations':_0x31c3b2[_0x117a68(0x532)]});}return _0x3e5c74[_0x117a68(0x24c)]();}};_0x2e043c=_0x1247ba([_0x1f3db3(0x0,_0x4f08d1['IUniverInstanceService']),_0x1f3db3(0x1,_0x4f08d1[_0x399f16(0x496)]),_0x1f3db3(0x2,_0x4f08d1['IContextService']),_0x1f3db3(0x3,_0x1b0275[_0x399f16(0x467)]),_0x1f3db3(0x4,_0x4f08d1['ILogService'])],_0x2e043c);class _0x298d98 extends _0x4f08d1[_0x399f16(0x63e)]{constructor(){const _0x70ad59=_0x399f16;super(),_0x4185c3(this,'urlChange$'),this[_0x70ad59(0x642)]=_0x2b43af[_0x70ad59(0x55f)](window,_0x70ad59(0x23f))[_0x70ad59(0x3d3)](_0x2b43af[_0x70ad59(0x41d)](this[_0x70ad59(0x54c)]),_0x2b43af[_0x70ad59(0x40c)](0x1),_0x2b43af[_0x70ad59(0x6ba)](void 0x0));}[_0x399f16(0x561)](_0x14bcef,_0x4bf395,_0x3a17ff=!0x1){const _0x1a908b=_0x399f16,_0x12fe14=new URL(window[_0x1a908b(0x612)][_0x1a908b(0x291)]);_0x12fe14[_0x1a908b(0x4f6)][_0x1a908b(0x3be)](_0x14bcef,_0x4bf395),_0x3a17ff?window[_0x1a908b(0x285)][_0x1a908b(0x5f4)]('','',_0x12fe14['toString']()):window['history'][_0x1a908b(0x24b)]('','',_0x12fe14[_0x1a908b(0x358)]());}[_0x399f16(0x5e0)](_0x2de69a,_0x17bbc0=!0x1){const _0x22dc0e=_0x399f16,_0x10d347=new URL(window[_0x22dc0e(0x612)][_0x22dc0e(0x291)]);_0x10d347[_0x22dc0e(0x4f6)][_0x22dc0e(0x36a)](_0x2de69a),_0x17bbc0?window[_0x22dc0e(0x285)][_0x22dc0e(0x5f4)]('','',_0x10d347[_0x22dc0e(0x358)]()):window['history'][_0x22dc0e(0x24b)]('','',_0x10d347[_0x22dc0e(0x358)]());}[_0x399f16(0x39d)](_0x536e3c){const _0x52f582=_0x399f16;var _0x188c68;return(_0x188c68=new URL(window[_0x52f582(0x612)][_0x52f582(0x291)])[_0x52f582(0x4f6)]['get'](_0x536e3c))!=null?_0x188c68:void 0x0;}}var _0x14ef59=Object[_0x399f16(0x30f)],_0x2e1294=Object[_0x399f16(0x468)],_0x4187fa=(_0x4ea034,_0xfb97ce,_0x5ee07d)=>_0xfb97ce in _0x4ea034?_0x14ef59(_0x4ea034,_0xfb97ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ee07d}):_0x4ea034[_0xfb97ce]=_0x5ee07d,_0x29fd44=(_0x519c9c,_0x25c801,_0x223181,_0x1b95cf)=>{for(var _0x2234cc=_0x1b95cf>0x1?void 0x0:_0x1b95cf?_0x2e1294(_0x25c801,_0x223181):_0x25c801,_0x352b91=_0x519c9c['length']-0x1,_0x16ea58;_0x352b91>=0x0;_0x352b91--)(_0x16ea58=_0x519c9c[_0x352b91])&&(_0x2234cc=(_0x1b95cf?_0x16ea58(_0x25c801,_0x223181,_0x2234cc):_0x16ea58(_0x2234cc))||_0x2234cc);return _0x1b95cf&&_0x2234cc&&_0x14ef59(_0x25c801,_0x223181,_0x2234cc),_0x2234cc;},_0x4d2d73=(_0x41b54d,_0xe438f1)=>(_0x1bdf66,_0x2649a3)=>_0xe438f1(_0x1bdf66,_0x2649a3,_0x41b54d),_0x261886=(_0x199bf2,_0x14b63e,_0x45f6b4)=>_0x4187fa(_0x199bf2,_0x14b63e+'',_0x45f6b4);const _0x28304d=_0x399f16(0x61d);_0x5545bf[_0x399f16(0x3cc)]=class extends _0x4f08d1[_0x399f16(0x315)]{constructor(_0x553ddb=_0x152464,_0x400c61,_0x393f25,_0x3899c2,_0x52504b){const _0x1e584b=_0x399f16;super(),this['_config']=_0x553ddb,this[_0x1e584b(0x3ce)]=_0x400c61,this[_0x1e584b(0x389)]=_0x393f25,this[_0x1e584b(0x50d)]=_0x3899c2,this[_0x1e584b(0x286)]=_0x52504b;const {..._0xd11e62}=this[_0x1e584b(0x279)];this[_0x1e584b(0x286)][_0x1e584b(0x63f)](_0x2db08d,_0xd11e62);}[_0x399f16(0x282)](){const _0x4cbb37=_0x399f16;this['_registerDependencies'](),this[_0x4cbb37(0x3c3)]();}[_0x399f16(0x338)](){const _0x231e2f=_0x399f16;_0x4f08d1[_0x231e2f(0x625)](this[_0x231e2f(0x50d)],[[_0x2e96b]]);}['onRendered'](){const _0x5e2d83=_0x399f16;this[_0x5e2d83(0x4c1)]();}['_registerDependencies'](){const _0x55814e=_0x399f16;var _0x138a1b,_0x4a320c,_0xc6af92,_0x47b3b4;this[_0x55814e(0x50d)]['has'](_0x4f08d1['IUndoRedoService'])&&this[_0x55814e(0x3ce)]['error']('[UniverCollaborationClientPlugin]',_0x55814e(0x54e));const _0x2befec=[[_0x4f08d1['IUndoRedoService'],{'useClass':_0x2e043c}],[_0x5545bf[_0x55814e(0x294)]],[_0x4f7312],[_0x4ab4bf,{'useClass':_0x298d98}],[_0x5545bf['MemberService']],[_0x5545bf['LocalCacheService']],[_0x413477[_0x55814e(0x463)]],[_0x3e1169],[_0x1377a5],[_0x78955a],[_0x39f959],[_0xc3c881],[_0x15b92c],[_0x3f5665],[_0x218354],[_0x19fb85],[_0x5c61a9,{'useClass':(_0x4a320c=(_0x138a1b=this[_0x55814e(0x279)])==null?void 0x0:_0x138a1b['socketService'])!=null?_0x4a320c:_0x5545bf[_0x55814e(0x3fb)]}],[_0x1b0275[_0x55814e(0x376)],{'useClass':_0x5545bf[_0x55814e(0x37e)]}],[_0x4f08d1['IAuthzIoService'],{'useClass':_0x5545bf[_0x55814e(0x2a2)]}],[_0xbade8d[_0x55814e(0x5e4)],{'useClass':_0x5545bf[_0x55814e(0x333)]}],[_0x5545bf[_0x55814e(0x558)]],[_0x5545bf[_0x55814e(0x237)]],[_0x5545bf[_0x55814e(0x387)]],[_0x2e96b],[_0x56fed2]];(_0xc6af92=this[_0x55814e(0x279)])!=null&&_0xc6af92['enableSingleActiveInstanceLock']&&_0x2befec[_0x55814e(0x597)]([_0x10b9a2,{'useClass':_0x1bb3d6}]),_0x4f08d1[_0x55814e(0x3f6)](this[_0x55814e(0x50d)],_0x4f08d1[_0x55814e(0x5d7)](_0x2befec,(_0x47b3b4=this[_0x55814e(0x279)])==null?void 0x0:_0x47b3b4[_0x55814e(0x5b2)]));}[_0x399f16(0x4c1)](){const _0x5da3c9=_0x399f16;this[_0x5da3c9(0x586)](this[_0x5da3c9(0x389)][_0x5da3c9(0x5dc)](_0x4f08d1['UniverInstanceType'][_0x5da3c9(0x3e3)],[_0x43dcbc])),this[_0x5da3c9(0x586)](this[_0x5da3c9(0x389)]['registerRenderModule'](_0x4f08d1[_0x5da3c9(0x632)]['UNIVER_SHEET'],[_0x11475f]));}[_0x399f16(0x3c3)](){const _0x3e6d9f=_0x399f16;var _0x1bca81,_0x28bdd6;this[_0x3e6d9f(0x50d)][_0x3e6d9f(0x515)](_0x413477[_0x3e6d9f(0x5be)])[_0x3e6d9f(0x564)]({'priority':0x14,'interceptor':_0x413477[_0x3e6d9f(0x4e6)]({'maxParallel':0x6})}),(_0x1bca81=this[_0x3e6d9f(0x279)])!=null&&_0x1bca81[_0x3e6d9f(0x5c7)]||this[_0x3e6d9f(0x50d)][_0x3e6d9f(0x515)](_0x5545bf[_0x3e6d9f(0x381)])[_0x3e6d9f(0x2d4)](),(_0x28bdd6=this[_0x3e6d9f(0x279)])!=null&&_0x28bdd6[_0x3e6d9f(0x677)]&&_0x4f08d1[_0x3e6d9f(0x625)](this[_0x3e6d9f(0x50d)],[[_0x15b92c]]),_0x4f08d1[_0x3e6d9f(0x625)](this[_0x3e6d9f(0x50d)],[[_0x3f5665],[_0x56fed2],[_0x5545bf[_0x3e6d9f(0x237)]],[_0x5545bf[_0x3e6d9f(0x558)]],[_0x5545bf[_0x3e6d9f(0x387)]],[_0x19fb85]]);}},_0x261886(_0x5545bf[_0x399f16(0x3cc)],_0x399f16(0x5c5),_0x28304d),_0x5545bf[_0x399f16(0x3cc)]=_0x29fd44([_0x4f08d1[_0x399f16(0x4cc)](_0x1b0275[_0x399f16(0x6a9)],_0x413477[_0x399f16(0x3c2)]),_0x4d2d73(0x1,_0x4f08d1[_0x399f16(0x668)]),_0x4d2d73(0x2,_0x1a2a90['IRenderManagerService']),_0x4d2d73(0x3,_0x4f08d1['Inject'](_0x4f08d1[_0x399f16(0x492)])),_0x4d2d73(0x4,_0x4f08d1[_0x399f16(0x4cb)])],_0x5545bf[_0x399f16(0x3cc)]),_0x5545bf[_0x399f16(0x60d)]=_0xe5bc59,_0x5545bf[_0x399f16(0x20b)]=_0x54c124,_0x5545bf[_0x399f16(0x606)]=_0x2f81c7,_0x5545bf[_0x399f16(0x208)]=_0x3fce9b,_0x5545bf[_0x399f16(0x304)]=_0x44c9b0,_0x5545bf[_0x399f16(0x212)]=_0x218354,_0x5545bf['HEARTBEAT_INTERVAL_KEY']=_0x26b1ca,_0x5545bf['HEARTBEAT_TIMEOUT_KEY']=_0xd16f83,_0x5545bf[_0x399f16(0x27c)]=_0x5c61a9,_0x5545bf[_0x399f16(0x410)]=_0x4ab4bf,_0x5545bf[_0x399f16(0x4b2)]=_0x103d1f,_0x5545bf[_0x399f16(0x280)]=_0xc1b4f2,_0x5545bf[_0x399f16(0x648)]=_0x2dcaea,_0x5545bf[_0x399f16(0x5e9)]=_0x48d499,_0x5545bf[_0x399f16(0x52f)]=_0x5307e6,_0x5545bf[_0x399f16(0x566)]=_0x2fd39e,_0x5545bf[_0x399f16(0x522)]=_0xc16e44,_0x5545bf['SheetCollabCursorShape']=_0x18d886,_0x5545bf['WebURLService']=_0x298d98,_0x5545bf[_0x399f16(0x6cf)]=_0xb199e1,_0x5545bf['serializeCombRequest']=_0x3ae1e0,Object[_0x399f16(0x30f)](_0x5545bf,Symbol[_0x399f16(0x3fe)],{'value':_0x399f16(0x202)});}));
|