@univerjs-pro/collaboration-client 0.4.2-nightly.202411071606 → 0.4.2-nightly.202411091134
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 -0
- package/lib/cjs/locale/en-US.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -0
- package/lib/cjs/locale/vi-VN.js +1 -0
- package/lib/cjs/locale/zh-CN.js +1 -0
- package/lib/cjs/locale/zh-TW.js +1 -0
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/vi-VN.js +1 -0
- package/lib/es/locale/zh-CN.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/types/index.d.ts +890 -35
- 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 +31 -25
- package/lib/locale/en-US.js +0 -1
- package/lib/locale/fa-IR.js +0 -1
- package/lib/locale/ru-RU.js +0 -1
- package/lib/locale/vi-VN.js +0 -1
- package/lib/locale/zh-CN.js +0 -1
- package/lib/locale/zh-TW.js +0 -1
- package/lib/types/config/config.d.ts +0 -48
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
- package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
- 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 +0 -54
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +0 -91
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +0 -303
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +0 -24
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +0 -18
- package/lib/types/controllers/collaboration/utils/empty.d.ts +0 -2
- package/lib/types/controllers/config.schema.d.ts +0 -29
- package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
- package/lib/types/controllers/file-name/file-name.controller.d.ts +0 -12
- package/lib/types/controllers/telemetry.d.ts +0 -11
- package/lib/types/locale/en-US.d.ts +0 -3
- package/lib/types/locale/fa-IR.d.ts +0 -3
- package/lib/types/locale/ru-RU.d.ts +0 -3
- package/lib/types/locale/vi-VN.d.ts +0 -3
- package/lib/types/locale/zh-CN.d.ts +0 -39
- package/lib/types/locale/zh-TW.d.ts +0 -3
- package/lib/types/models/cursor.d.ts +0 -30
- package/lib/types/plugin.d.ts +0 -18
- package/lib/types/services/auth-server/auth-server.service.d.ts +0 -10
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -30
- package/lib/types/services/auth-server/domain-request.service.d.ts +0 -6
- package/lib/types/services/auth-server/util.d.ts +0 -1
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +0 -59
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +0 -61
- package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
- package/lib/types/services/comment/comment.service.d.ts +0 -6
- package/lib/types/services/image-remote/image-io.service.d.ts +0 -34
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
- package/lib/types/services/local-cache/local-cache.service.d.ts +0 -37
- package/lib/types/services/member/member.service.d.ts +0 -77
- package/lib/types/services/permission/permission.service.d.ts +0 -12
- package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +0 -13
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -39
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +0 -21
- package/lib/types/services/socket/collaboration-socket.service.d.ts +0 -34
- package/lib/types/services/socket/serialize.d.ts +0 -3
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
- package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +0 -19
- package/lib/types/services/url/url.service.d.ts +0 -12
- package/lib/types/services/url/web-url.service.d.ts +0 -10
- package/lib/types/views/components/CollabStatus.d.ts +0 -10
- package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
- package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
package/lib/cjs/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
'use strict';const _0x454d83=_0x4cad;(function(_0xc2b9a0,_0x2967e3){const _0x34506a=_0x4cad,_0x1272aa=_0xc2b9a0();while(!![]){try{const _0x43a6c0=parseInt(_0x34506a(0x5ce))/0x1*(parseInt(_0x34506a(0x62b))/0x2)+parseInt(_0x34506a(0x3ae))/0x3+parseInt(_0x34506a(0x3af))/0x4+parseInt(_0x34506a(0x24b))/0x5*(parseInt(_0x34506a(0x1b4))/0x6)+-parseInt(_0x34506a(0x4df))/0x7*(-parseInt(_0x34506a(0x645))/0x8)+-parseInt(_0x34506a(0x4e9))/0x9*(parseInt(_0x34506a(0x285))/0xa)+-parseInt(_0x34506a(0x398))/0xb*(parseInt(_0x34506a(0x515))/0xc);if(_0x43a6c0===_0x2967e3)break;else _0x1272aa['push'](_0x1272aa['shift']());}catch(_0xc2f0d9){_0x1272aa['push'](_0x1272aa['shift']());}}}(_0x36ec,0x25bb5));var Nn=Object[_0x454d83(0x276)],Ln=(_0x18e6e4,_0x52e1a4,_0x4f9962)=>_0x52e1a4 in _0x18e6e4?Nn(_0x18e6e4,_0x52e1a4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f9962}):_0x18e6e4[_0x52e1a4]=_0x4f9962,I=(_0x3c594f,_0x1cbb57,_0x38a0bb)=>Ln(_0x3c594f,typeof _0x1cbb57!=_0x454d83(0x19a)?_0x1cbb57+'':_0x1cbb57,_0x38a0bb);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x454d83(0x491)});const a=require(_0x454d83(0x3db)),A=require('rxjs'),V=require('rxjs/operators'),ge=require(_0x454d83(0x47a)),ee=require(_0x454d83(0x509)),Z=require(_0x454d83(0x3cc)),S=require(_0x454d83(0x1f5)),xn=require(_0x454d83(0x5b3)),J=require(_0x454d83(0x3c6)),k=require('@univerjs/sheets'),K=require(_0x454d83(0x5e2)),ye=require('@univerjs/docs'),ne=require(_0x454d83(0x5e8)),wt=require(_0x454d83(0x2f8)),Re=require(_0x454d83(0x51e)),ae=require('react'),jn=require(_0x454d83(0x539)),Xt=_0x454d83(0x5ad),$n=_0x454d83(0x40a),Jt=_0x454d83(0x574),Hn=_0x454d83(0x518),Bn=0x7d0,Zt=_0x454d83(0x384),kn=_0x454d83(0x3a5),Qt=_0x454d83(0x60b),Wn=0x7530,It=_0x454d83(0x1ad),en=0x4e20,Fn=0x4e20,tn=_0x454d83(0x5ec),Vn=0x3,nn=_0x454d83(0x5f5),Gn=0x3e8,sn=_0x454d83(0x54d),Yn=_0x454d83(0x23b),rn='LOGIN_URL_KEY',Kn=_0x454d83(0x372);var on=(_0x38f978=>(_0x38f978[_0x38f978[_0x454d83(0x377)]=0x0]='UNDEFINED',_0x38f978[_0x38f978['OK']=0x1]='OK',_0x38f978[_0x38f978[_0x454d83(0x2d5)]=0x2]=_0x454d83(0x2d5),_0x38f978[_0x38f978[_0x454d83(0x340)]=0x3]='PERMISSION_DENIED',_0x38f978[_0x38f978['NOT_FOUND']=0x4]='NOT_FOUND',_0x38f978[_0x38f978['UNAUTHENTICATED']=0x5]=_0x454d83(0x583),_0x38f978[_0x38f978[_0x454d83(0x4af)]=0x6]=_0x454d83(0x4af),_0x38f978[_0x38f978[_0x454d83(0x620)]=0x7]=_0x454d83(0x620),_0x38f978[_0x38f978[_0x454d83(0x3bc)]=0x8]=_0x454d83(0x3bc),_0x38f978[_0x38f978[_0x454d83(0x3df)]=0x9]=_0x454d83(0x3df),_0x38f978[_0x38f978[_0x454d83(0x4c8)]=0x1389]=_0x454d83(0x4c8),_0x38f978[_0x38f978[_0x454d83(0x424)]=0x1771]=_0x454d83(0x424),_0x38f978[_0x38f978[_0x454d83(0x624)]=0x1772]=_0x454d83(0x624),_0x38f978[_0x38f978['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x454d83(0x368),_0x38f978[_0x38f978[_0x454d83(0x5f4)]=0x1b59]=_0x454d83(0x5f4),_0x38f978[_0x38f978['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x454d83(0x339),_0x38f978[_0x38f978['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x454d83(0x587),_0x38f978[_0x38f978['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x454d83(0x4db),_0x38f978[_0x38f978['APPLY_DUPLICATED']=0x1b5d]=_0x454d83(0x63b),_0x38f978[_0x38f978[_0x454d83(0x62c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x38f978[_0x38f978[_0x454d83(0x4be)]=0x2329]=_0x454d83(0x4be),_0x38f978[_0x38f978[_0x454d83(0x220)]=0x232a]=_0x454d83(0x220),_0x38f978[_0x38f978[_0x454d83(0x31b)]=0x232b]=_0x454d83(0x31b),_0x38f978[_0x38f978['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x454d83(0x318),_0x38f978[_0x38f978['LICENSE_DISTRO_REJECTED']=0x232d]=_0x454d83(0x35e),_0x38f978[_0x38f978[_0x454d83(0x458)]=0x2711]=_0x454d83(0x458),_0x38f978[_0x38f978['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x454d83(0x2fb),_0x38f978[_0x38f978[_0x454d83(0x5f3)]=0x2713]=_0x454d83(0x5f3),_0x38f978[_0x38f978[_0x454d83(0x2b1)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x38f978[_0x38f978[_0x454d83(0x1bd)]=-0x1]=_0x454d83(0x1bd),_0x38f978))(on||{}),ie=(_0x31a1d2=>(_0x31a1d2[_0x31a1d2['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x31a1d2[_0x31a1d2['UNIVER_DOC']=0x1]=_0x454d83(0x55f),_0x31a1d2[_0x31a1d2[_0x454d83(0x351)]=0x2]='UNIVER_SHEET',_0x31a1d2[_0x31a1d2[_0x454d83(0x57d)]=0x3]=_0x454d83(0x57d),_0x31a1d2[_0x31a1d2[_0x454d83(0x353)]=0x4]='UNIVER_PROJECT',_0x31a1d2[_0x31a1d2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x31a1d2))(ie||{}),G=(_0x5202e1=>(_0x5202e1[_0x5202e1['UNKNOWN_CMD']=0x0]=_0x454d83(0x632),_0x5202e1[_0x5202e1[_0x454d83(0x2f6)]=0x1]=_0x454d83(0x2f6),_0x5202e1[_0x5202e1[_0x454d83(0x25e)]=0x2]=_0x454d83(0x25e),_0x5202e1[_0x5202e1['LEAVE']=0x3]=_0x454d83(0x370),_0x5202e1[_0x5202e1[_0x454d83(0x1f6)]=0x4]=_0x454d83(0x1f6),_0x5202e1[_0x5202e1[_0x454d83(0x538)]=0x5]=_0x454d83(0x538),_0x5202e1[_0x5202e1['RECV']=0x6]=_0x454d83(0x4a5),_0x5202e1[_0x5202e1[_0x454d83(0x1bd)]=-0x1]=_0x454d83(0x1bd),_0x5202e1))(G||{}),Ct=(_0x287c29=>(_0x287c29[_0x287c29[_0x454d83(0x4b9)]=0x0]=_0x454d83(0x4b9),_0x287c29[_0x287c29['OK']=0x1]='OK',_0x287c29[_0x287c29['FAIL']=0x2]=_0x454d83(0x1d9),_0x287c29[_0x287c29[_0x454d83(0x1bd)]=-0x1]='UNRECOGNIZED',_0x287c29))(Ct||{}),an=(_0x22a098=>(_0x22a098[_0x22a098[_0x454d83(0x5f2)]=0x0]=_0x454d83(0x5f2),_0x22a098[_0x22a098[_0x454d83(0x3ef)]=0x1]=_0x454d83(0x3ef),_0x22a098[_0x22a098[_0x454d83(0x1b6)]=0x2]=_0x454d83(0x1b6),_0x22a098[_0x22a098[_0x454d83(0x2d2)]=0x3]='UnitEmbedded',_0x22a098[_0x22a098[_0x454d83(0x5e6)]=0x4]=_0x454d83(0x5e6),_0x22a098[_0x22a098[_0x454d83(0x1bd)]=-0x1]=_0x454d83(0x1bd),_0x22a098))(an||{});const te=_0x454d83(0x2b3),qn={};function cn(_0x1dad61){const _0x33497e=_0x454d83;var _0xf61020,_0x23bcae,_0x4915f7,_0x28c7a5,_0x2dd85a;const _0x5daa91=_0x1dad61['data'],_0x58d891=JSON[_0x33497e(0x5d9)](_0x5daa91);switch(_0x58d891['cmd']){case G['HEARTBEAT']:case G[_0x33497e(0x2f6)]:{const _0x3a73ef=_0x58d891[_0x33497e(0x394)];return{..._0x58d891,'data':_0x3a73ef,'cmd':_0x58d891['cmd']};}case G[_0x33497e(0x25e)]:{const _0x1858b3=_0x58d891['joinRsp'];return{..._0x58d891,'data':_0x1858b3,'cmd':_0x58d891[_0x33497e(0x37f)]};}case G[_0x33497e(0x4a5)]:{const _0xa5da56=_0x58d891[_0x33497e(0x463)];switch(_0xa5da56['eventID']){case S[_0x33497e(0x2c7)]['PERMISSION_REJ']:return{..._0x58d891,'data':{..._0xa5da56,'data':(_0xf61020=_0xa5da56['permissionRejEvent'])==null?void 0x0:_0xf61020['cs']},'cmd':_0x58d891[_0x33497e(0x37f)]};case S[_0x33497e(0x2c7)][_0x33497e(0x415)]:return{..._0x58d891,'data':{..._0xa5da56,'data':(_0x23bcae=_0xa5da56[_0x33497e(0x513)])==null?void 0x0:_0x23bcae['cs']},'cmd':_0x58d891[_0x33497e(0x37f)]};case S['CollaborationEvent'][_0x33497e(0x244)]:return{..._0x58d891,'data':{..._0xa5da56,'data':(_0x4915f7=_0xa5da56['newCsEvent'])==null?void 0x0:_0x4915f7['cs']},'cmd':_0x58d891[_0x33497e(0x37f)]};case S[_0x33497e(0x2c7)][_0x33497e(0x365)]:return{..._0x58d891,'data':{..._0xa5da56,'data':(_0x28c7a5=_0xa5da56[_0x33497e(0x52d)])==null?void 0x0:_0x28c7a5['cs']},'cmd':_0x58d891[_0x33497e(0x37f)]};case S[_0x33497e(0x2c7)][_0x33497e(0x4ce)]:return{..._0x58d891,'data':{..._0xa5da56,'data':(_0x2dd85a=_0xa5da56['csShouldRetryEvent'])==null?void 0x0:_0x2dd85a['cs']},'cmd':_0x58d891[_0x33497e(0x37f)]};case S[_0x33497e(0x2c7)]['UPDATE_CURSOR']:return{..._0x58d891,'data':{..._0xa5da56,'data':_0xa5da56[_0x33497e(0x493)]},'cmd':_0x58d891[_0x33497e(0x37f)]};case S['CollaborationEvent'][_0x33497e(0x52c)]:return{..._0x58d891,'data':{..._0xa5da56,'data':_0xa5da56['joinEvent']},'cmd':_0x58d891['cmd']};case S[_0x33497e(0x2c7)][_0x33497e(0x3eb)]:return{..._0x58d891,'data':{..._0xa5da56,'data':_0xa5da56[_0x33497e(0x517)]},'cmd':_0x58d891[_0x33497e(0x37f)]};case S[_0x33497e(0x2c7)]['LIVESHARE_NEW_HOST']:return{..._0x58d891,'data':{..._0xa5da56,'data':_0xa5da56[_0x33497e(0x2c4)]},'cmd':_0x58d891[_0x33497e(0x37f)]};case S['CollaborationEvent'][_0x33497e(0x33d)]:case S['CollaborationEvent'][_0x33497e(0x558)]:return{..._0x58d891,'data':{..._0xa5da56,'data':_0xa5da56[_0x33497e(0x23e)]},'cmd':_0x58d891[_0x33497e(0x37f)]};case S[_0x33497e(0x2c7)][_0x33497e(0x479)]:return{..._0x58d891,'data':{..._0xa5da56,'data':_0xa5da56[_0x33497e(0x2c4)]},'cmd':_0x58d891[_0x33497e(0x37f)]};case S[_0x33497e(0x2c7)][_0x33497e(0x4c1)]:return{..._0x58d891,'data':_0xa5da56,'cmd':_0x58d891[_0x33497e(0x37f)]};case S[_0x33497e(0x2c7)][_0x33497e(0x59f)]:return{..._0x58d891,'data':{..._0xa5da56,'data':_0xa5da56[_0x33497e(0x3ad)]},'cmd':_0x58d891[_0x33497e(0x37f)]};case S[_0x33497e(0x2c7)]['UPDATE_PERMISSION_OBJ']:return{..._0x58d891,'data':{..._0xa5da56,'data':_0xa5da56['updatePermissionObjEvent']},'cmd':_0x58d891[_0x33497e(0x37f)]};case S['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x58d891,'data':{..._0xa5da56,'data':_0xa5da56[_0x33497e(0x47b)]},'cmd':_0x58d891['cmd']};default:return _0x58d891;}}default:return _0x58d891;}}function ln(_0x347ee1){const _0x1cbd4e=_0x454d83;switch(_0x347ee1['cmd']){case G[_0x1cbd4e(0x538)]:case G[_0x1cbd4e(0x2f6)]:return JSON['stringify']({'cmd':_0x347ee1[_0x1cbd4e(0x37f)],'routeKey':_0x347ee1['routeKey']});case G[_0x1cbd4e(0x1f6)]:{let _0x3c319b;switch(_0x347ee1[_0x1cbd4e(0x347)]['eventID']){case S[_0x1cbd4e(0x2c7)][_0x1cbd4e(0x2e3)]:{_0x3c319b={'eventID':S['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x347ee1[_0x1cbd4e(0x347)]['data']};break;}case S['CollaborationEvent'][_0x1cbd4e(0x3eb)]:{_0x3c319b={'eventID':S[_0x1cbd4e(0x2c7)]['USERS_LEAVE'],'leaveEvent':_0x347ee1[_0x1cbd4e(0x347)][_0x1cbd4e(0x347)]};break;}case S['CollaborationEvent'][_0x1cbd4e(0x52c)]:{_0x3c319b={'eventID':S['CollaborationEvent'][_0x1cbd4e(0x52c)],'joinEvent':_0x347ee1[_0x1cbd4e(0x347)][_0x1cbd4e(0x347)]};break;}case S[_0x1cbd4e(0x2c7)][_0x1cbd4e(0x412)]:{_0x3c319b={'eventID':S[_0x1cbd4e(0x2c7)][_0x1cbd4e(0x412)],'liveShareNewHost':_0x347ee1[_0x1cbd4e(0x347)][_0x1cbd4e(0x347)]};break;}case S[_0x1cbd4e(0x2c7)][_0x1cbd4e(0x558)]:{_0x3c319b={'eventID':S['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x347ee1[_0x1cbd4e(0x347)][_0x1cbd4e(0x347)]};break;}case S[_0x1cbd4e(0x2c7)]['LIVESHARE_TERMINATE']:{_0x3c319b={'eventID':S[_0x1cbd4e(0x2c7)][_0x1cbd4e(0x479)],'liveShareTerminate':_0x347ee1[_0x1cbd4e(0x347)]['data']};break;}case S[_0x1cbd4e(0x2c7)][_0x1cbd4e(0x1bc)]:{_0x3c319b={'eventID':S[_0x1cbd4e(0x2c7)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x347ee1[_0x1cbd4e(0x347)]['data']};break;}case S[_0x1cbd4e(0x2c7)]['LIVESHARE_FETCH_OPERATIONS']:{_0x3c319b={'eventID':S[_0x1cbd4e(0x2c7)][_0x1cbd4e(0x33d)]};break;}default:_0x3c319b={'eventID':_0x347ee1[_0x1cbd4e(0x347)][_0x1cbd4e(0x5ed)]};}return JSON[_0x1cbd4e(0x427)]({'cmd':_0x347ee1['cmd'],'routeKey':_0x347ee1[_0x1cbd4e(0x256)],'collaMsg':_0x3c319b});}case G[_0x1cbd4e(0x25e)]:return JSON['stringify']({'cmd':_0x347ee1['cmd'],'routeKey':_0x347ee1['routeKey'],'joinReq':_0x347ee1[_0x1cbd4e(0x347)]});case G[_0x1cbd4e(0x370)]:return JSON['stringify']({'cmd':_0x347ee1[_0x1cbd4e(0x37f)],'routeKey':_0x347ee1[_0x1cbd4e(0x256)],'leaveReq':_0x347ee1[_0x1cbd4e(0x347)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var zn=Object['defineProperty'],Xn=Object[_0x454d83(0x3ec)],Jn=(_0x3a91f2,_0x12dbe8,_0x324a55,_0x5c2b27)=>{for(var _0x13c79e=_0x5c2b27>0x1?void 0x0:_0x5c2b27?Xn(_0x12dbe8,_0x324a55):_0x12dbe8,_0x89d212=_0x3a91f2['length']-0x1,_0x19a313;_0x89d212>=0x0;_0x89d212--)(_0x19a313=_0x3a91f2[_0x89d212])&&(_0x13c79e=(_0x5c2b27?_0x19a313(_0x12dbe8,_0x324a55,_0x13c79e):_0x19a313(_0x13c79e))||_0x13c79e);return _0x5c2b27&&_0x13c79e&&zn(_0x12dbe8,_0x324a55,_0x13c79e),_0x13c79e;},we=(_0x33fb69,_0x5f0f18)=>(_0x52b83f,_0x40de93)=>_0x5f0f18(_0x52b83f,_0x40de93,_0x33fb69);const Et=a[_0x454d83(0x246)](_0x454d83(0x405));function Zn(_0x3189e4,_0x5f343c,_0x45b89a){const _0x35c3b0=_0x454d83;return _0x3189e4+'/'+_0x5f343c+_0x35c3b0(0x39c)+_0x45b89a+_0x35c3b0(0x378);}exports[_0x454d83(0x3ed)]=class extends a[_0x454d83(0x4d4)]{constructor(_0x3c2325,_0x380e94,_0x4fbd93,_0x155d50,_0xe26360){const _0x160853=_0x454d83;super(),this[_0x160853(0x1a4)]=_0x3c2325,this[_0x160853(0x41e)]=_0x380e94,this[_0x160853(0x54e)]=_0x4fbd93,this['_logService']=_0x155d50,this[_0x160853(0x5b4)]=_0xe26360;}[_0x454d83(0x5c8)](_0x12774b){const _0x51e957=_0x454d83,_0x25b372=this[_0x51e957(0x41e)][_0x51e957(0x5c8)](_0x12774b);if(!_0x25b372)throw new Error(_0x51e957(0x290));const _0x582d76=new a[(_0x51e957(0x56e))](),_0x2be808=new A[(_0x51e957(0x3ce))]();_0x582d76[_0x51e957(0x284)](_0x25b372[_0x51e957(0x576)][_0x51e957(0x487)](_0x3ba560=>_0x2be808[_0x51e957(0x40e)](_0x3ba560))),_0x582d76['add'](a[_0x51e957(0x52e)](()=>_0x2be808[_0x51e957(0x2a6)]()));const _0x177193=new A[(_0x51e957(0x3ce))]();_0x582d76[_0x51e957(0x284)](_0x25b372['error$'][_0x51e957(0x487)](_0x50af04=>_0x177193[_0x51e957(0x40e)](_0x50af04))),_0x582d76['add'](a['toDisposable'](()=>_0x177193[_0x51e957(0x2a6)]()));const _0x3901f7=new A[(_0x51e957(0x3ce))]();_0x582d76['add'](_0x25b372['message$'][_0x51e957(0x487)](_0x35bb7d=>{const _0x3f4bdd=_0x51e957,_0x214760=cn(_0x35bb7d);_0x3901f7[_0x3f4bdd(0x40e)](_0x214760);})),_0x582d76[_0x51e957(0x284)](a[_0x51e957(0x52e)](()=>_0x3901f7['complete']()));let _0x5c19a6;const _0x2bc820=()=>{const _0x3613e8=_0x51e957;_0x177193[_0x3613e8(0x40e)](new Event(_0x3613e8(0x49c))),_0x2be808[_0x3613e8(0x40e)](new CloseEvent('connection\x20error')),_0x5c19a6['close']();};return _0x5c19a6={'memberID':'','close$':_0x2be808[_0x51e957(0x443)](),'error$':_0x177193[_0x51e957(0x443)](),'open$':_0x25b372['open$'],'message$':_0x3901f7[_0x51e957(0x443)](),'send':_0x76c91e=>{const _0x3e7d19=_0x51e957;if(_0x76c91e[_0x3e7d19(0x37f)]===G[_0x3e7d19(0x1f6)]){if(_0x76c91e[_0x3e7d19(0x347)][_0x3e7d19(0x5ed)]===S['CollaborationEvent'][_0x3e7d19(0x5c9)]){this[_0x3e7d19(0x44f)](_0x5c19a6,_0x76c91e['data'])[_0x3e7d19(0x39f)](_0x2de601=>{const _0x42b381=_0x3e7d19;this[_0x42b381(0x25f)][_0x42b381(0x362)](_0x2de601),_0x2bc820();});return;}if(_0x76c91e['data'][_0x3e7d19(0x5ed)]===S[_0x3e7d19(0x2c7)][_0x3e7d19(0x352)]){const _0x239aaa=_0x76c91e['data'];this['_fetchMissChangesets'](_0x239aaa)[_0x3e7d19(0x506)](_0x13d4b6=>{const _0x2d5972=_0x3e7d19;_0x3901f7[_0x2d5972(0x40e)]({'cmd':G[_0x2d5972(0x4a5)],'code':Ct['OK'],'routeKey':_0x239aaa['data'][_0x2d5972(0x42f)],'routeType':'','data':{'eventID':S[_0x2d5972(0x2c7)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x13d4b6}}});})[_0x3e7d19(0x39f)](_0x55e1f8=>{this['_logService']['error'](_0x55e1f8),_0x2bc820();});return;}}_0x25b372['send'](ln(_0x76c91e));},'close':()=>{const _0x17b64f=_0x51e957;_0x25b372[_0x17b64f(0x5bd)](),_0x582d76[_0x17b64f(0x19b)]();}},_0x5c19a6;}async[_0x454d83(0x44f)](_0x2f88eb,_0x30e6e3){const _0x3ec712=_0x454d83;var _0x576d64,_0x156ffc;const {unitType:_0x2fcf84,unitID:_0x36f075,changeset:_0x35e927}=_0x30e6e3['data'],_0x4aa68a={'unitID':_0x36f075,'memberID':_0x2f88eb[_0x3ec712(0x32b)],'type':_0x2fcf84,'changeset':S['parseChangesetToProtocol'](_0x35e927)},_0x3630f1=this[_0x3ec712(0x54e)][_0x3ec712(0x2ec)](sn),_0x1f80f9=this[_0x3ec712(0x54e)][_0x3ec712(0x2ec)](te),_0x39d7a0=Zn((_0x156ffc=(_0x576d64=_0x1f80f9==null?void 0x0:_0x1f80f9[_0x3ec712(0x480)])!=null?_0x576d64:_0x3630f1)!=null?_0x156ffc:Yn,_0x2fcf84,_0x36f075);try{await this[_0x3ec712(0x1a4)][_0x3ec712(0x3c0)](_0x39d7a0,{'body':_0x4aa68a});}catch(_0x4a4e79){throw this[_0x3ec712(0x25f)][_0x3ec712(0x362)](_0x3ec712(0x5e0),_0x3ec712(0x2d9)),_0x4a4e79;}}async['_fetchMissChangesets'](_0x3ffa8b){const _0x6fc14f=_0x454d83,{unitID:_0x25fefd,from:_0x23841e,to:_0x17dc30,unitType:_0x9898cc}=_0x3ffa8b[_0x6fc14f(0x347)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x25fefd,'type':_0x9898cc,'from':_0x23841e,'to':_0x17dc30}))['changesets'];}},exports[_0x454d83(0x3ed)]=Jn([we(0x0,a[_0x454d83(0x271)](Z[_0x454d83(0x272)])),we(0x1,a[_0x454d83(0x271)](Z[_0x454d83(0x306)])),we(0x2,a[_0x454d83(0x48e)]),we(0x3,a[_0x454d83(0x1c6)]),we(0x4,S['ISnapshotServerService'])],exports[_0x454d83(0x3ed)]);const Qn='collaboration_new_changeset';function ei(_0x6fc8c4){const _0x2fa0f9=_0x454d83;return JSON['stringify'](_0x6fc8c4)[_0x2fa0f9(0x216)];}class bt{constructor(){const _0x5f19a6=_0x454d83;I(this,'_commentUpdate$',new A[(_0x5f19a6(0x3ce))]()),I(this,_0x5f19a6(0x426),this[_0x5f19a6(0x62f)][_0x5f19a6(0x443)]());}[_0x454d83(0x2dc)](_0x39a9ef){const _0x32728d=_0x454d83;this[_0x32728d(0x62f)][_0x32728d(0x40e)](_0x39a9ef);}}var ti=Object[_0x454d83(0x276)],ni=Object[_0x454d83(0x3ec)],ii=(_0x33f63f,_0x4789d5,_0x2a1bd8,_0x555a86)=>{const _0x1cc6a3=_0x454d83;for(var _0x5945f4=_0x555a86>0x1?void 0x0:_0x555a86?ni(_0x4789d5,_0x2a1bd8):_0x4789d5,_0x4df70c=_0x33f63f[_0x1cc6a3(0x216)]-0x1,_0x1f52e6;_0x4df70c>=0x0;_0x4df70c--)(_0x1f52e6=_0x33f63f[_0x4df70c])&&(_0x5945f4=(_0x555a86?_0x1f52e6(_0x4789d5,_0x2a1bd8,_0x5945f4):_0x1f52e6(_0x5945f4))||_0x5945f4);return _0x555a86&&_0x5945f4&&ti(_0x4789d5,_0x2a1bd8,_0x5945f4),_0x5945f4;},Pt=(_0x25a243,_0x1b2bac)=>(_0x4fe25e,_0x4f9937)=>_0x1b2bac(_0x4fe25e,_0x4f9937,_0x25a243);exports[_0x454d83(0x254)]=class extends a['Disposable']{constructor(_0x1c239c,_0x387a9b){const _0x4bcf65=_0x454d83;super(),I(this,_0x4bcf65(0x4ef),new Map()),(this[_0x4bcf65(0x29b)]=_0x1c239c,this[_0x4bcf65(0x326)]=_0x387a9b,this[_0x4bcf65(0x421)](a['toDisposable'](A[_0x4bcf65(0x465)](this[_0x4bcf65(0x29b)][_0x4bcf65(0x633)](a['UniverInstanceType'][_0x4bcf65(0x351)])[_0x4bcf65(0x358)](V['map'](_0x5e54f6=>_0x5e54f6['getUnitId']())),this[_0x4bcf65(0x29b)][_0x4bcf65(0x633)](a[_0x4bcf65(0x5d3)]['UNIVER_DOC'])[_0x4bcf65(0x358)](V[_0x4bcf65(0x52f)](_0x57acd8=>_0x57acd8[_0x4bcf65(0x4f9)]())),this[_0x4bcf65(0x29b)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x4bcf65(0x57d)])['pipe'](V[_0x4bcf65(0x52f)](_0x293f5c=>_0x293f5c[_0x4bcf65(0x4f9)]())))[_0x4bcf65(0x487)](_0x41dfef=>this[_0x4bcf65(0x53e)](_0x41dfef)))));}['setCurrentUser'](_0x389c2e){const _0x55bfce=_0x454d83;this['_userManagerService'][_0x55bfce(0x49e)](_0x389c2e);}[_0x454d83(0x22a)](){return this['_userManagerService']['getCurrentUser']();}[_0x454d83(0x47e)](_0x2dcd45,_0x1e01d1){const _0x408a8c=_0x454d83;let _0x113da6=this['_roomMembers'][_0x408a8c(0x572)](_0x2dcd45);_0x113da6||(_0x113da6=new si(),this[_0x408a8c(0x4ef)][_0x408a8c(0x43f)](_0x2dcd45,_0x113da6)),_0x113da6['updateMember'](_0x1e01d1);}[_0x454d83(0x312)](_0x19e575,_0x27e6f6){const _0x18d796=_0x454d83,_0x1c7324=this['_roomMembers']['get'](_0x19e575);_0x1c7324&&_0x1c7324[_0x18d796(0x312)](_0x27e6f6);}[_0x454d83(0x40f)](_0x33376d){const _0x43382e=_0x454d83;return this['_roomMembers'][_0x43382e(0x572)](_0x33376d);}['getMember'](_0x4dd6c5,_0x14334e){const _0x12c210=_0x454d83,_0x1cbbc9=this[_0x12c210(0x4ef)]['get'](_0x4dd6c5);if(_0x1cbbc9)return _0x1cbbc9['getMember'](_0x14334e);}[_0x454d83(0x53e)](_0x936ccc){const _0x1a85a5=_0x454d83,_0x30fc60=this['_roomMembers']['get'](_0x936ccc);_0x30fc60&&(_0x30fc60[_0x1a85a5(0x19b)](),this[_0x1a85a5(0x4ef)][_0x1a85a5(0x2e9)](_0x936ccc));}[_0x454d83(0x19b)](){const _0x74a1a8=_0x454d83;this['_roomMembers']['forEach'](_0x27b308=>_0x27b308[_0x74a1a8(0x19b)]()),this[_0x74a1a8(0x4ef)]['clear']();}},exports['MemberService']=ii([Pt(0x0,a['IUniverInstanceService']),Pt(0x1,a[_0x454d83(0x271)](a[_0x454d83(0x498)]))],exports[_0x454d83(0x254)]);function _0x4cad(_0x4b5f7d,_0x114784){const _0x36ecef=_0x36ec();return _0x4cad=function(_0x4cad5a,_0x4f886f){_0x4cad5a=_0x4cad5a-0x190;let _0x1b76c9=_0x36ecef[_0x4cad5a];return _0x1b76c9;},_0x4cad(_0x4b5f7d,_0x114784);}class si extends a[_0x454d83(0x4d4)]{constructor(){const _0x4bd732=_0x454d83;super(...arguments),I(this,_0x4bd732(0x5c3),new Map());}[_0x454d83(0x19b)](){const _0x46ccd3=_0x454d83;this['_members'][_0x46ccd3(0x5c4)]();}['updateMember'](_0x259bc4){const _0xe629ba=_0x454d83;this[_0xe629ba(0x5c3)][_0xe629ba(0x43f)](_0x259bc4['memberID'],_0x259bc4);}[_0x454d83(0x312)](_0x733593){const _0x13905f=_0x454d83;this[_0x13905f(0x5c3)][_0x13905f(0x2e9)](_0x733593);}[_0x454d83(0x566)](_0x325fe4){const _0x5028df=_0x454d83;return this[_0x5028df(0x5c3)]['get'](_0x325fe4);}[_0x454d83(0x1ea)](){const _0x434d5b=_0x454d83;return Array[_0x434d5b(0x1b5)](this['_members'][_0x434d5b(0x626)]());}}var ri=Object[_0x454d83(0x276)],oi=Object[_0x454d83(0x3ec)],ai=(_0x1ac9dd,_0x3857b5,_0x1d6db5,_0x1baf3f)=>{const _0x4a6aef=_0x454d83;for(var _0x5615e5=_0x1baf3f>0x1?void 0x0:_0x1baf3f?oi(_0x3857b5,_0x1d6db5):_0x3857b5,_0x24223a=_0x1ac9dd[_0x4a6aef(0x216)]-0x1,_0x25b096;_0x24223a>=0x0;_0x24223a--)(_0x25b096=_0x1ac9dd[_0x24223a])&&(_0x5615e5=(_0x1baf3f?_0x25b096(_0x3857b5,_0x1d6db5,_0x5615e5):_0x25b096(_0x5615e5))||_0x5615e5);return _0x1baf3f&&_0x5615e5&&ri(_0x3857b5,_0x1d6db5,_0x5615e5),_0x5615e5;},de=(_0x522acd,_0x3cb6b4)=>(_0x43d16f,_0x13f3ef)=>_0x3cb6b4(_0x43d16f,_0x13f3ef,_0x522acd),se=(_0x58e636=>(_0x58e636[_0x58e636[_0x454d83(0x586)]=0x0]=_0x454d83(0x586),_0x58e636[_0x58e636[_0x454d83(0x646)]=0x1]='JOINING',_0x58e636[_0x58e636[_0x454d83(0x2e1)]=0x2]=_0x454d83(0x2e1),_0x58e636[_0x58e636[_0x454d83(0x3e5)]=0x3]=_0x454d83(0x3e5),_0x58e636))(se||{});exports[_0x454d83(0x1cf)]=class extends a[_0x454d83(0x28b)]{constructor(_0x7eab62,_0x2c1347,_0x53279c,_0x1ab091,_0x36b353,_0x2da28b,_0x50b7ac,_0x5ece8d,_0x13043c,_0x8a0a5){const _0x370cfd=_0x454d83;super(),I(this,_0x370cfd(0x348),new A[(_0x370cfd(0x50c))](0x0)),I(this,'sessionStatus$',this[_0x370cfd(0x348)][_0x370cfd(0x443)]()),I(this,_0x370cfd(0x601),new A[(_0x370cfd(0x3ce))]()),I(this,_0x370cfd(0x385),this[_0x370cfd(0x601)][_0x370cfd(0x443)]()),I(this,_0x370cfd(0x56a)),I(this,_0x370cfd(0x488)),I(this,_0x370cfd(0x3a7)),I(this,_0x370cfd(0x3f4),!0x1),I(this,_0x370cfd(0x5b8),null),(this['_unitID']=_0x7eab62,this[_0x370cfd(0x25f)]=_0x53279c,this[_0x370cfd(0x4fe)]=_0x1ab091,this[_0x370cfd(0x4b6)]=_0x36b353,this[_0x370cfd(0x54e)]=_0x2da28b,this[_0x370cfd(0x5ee)]=_0x50b7ac,this[_0x370cfd(0x535)]=_0x5ece8d,this[_0x370cfd(0x29f)]=_0x13043c,this[_0x370cfd(0x258)]=_0x8a0a5,this[_0x370cfd(0x3f4)]=!!this[_0x370cfd(0x258)],_0x2c1347[_0x370cfd(0x358)](A['takeUntil'](this[_0x370cfd(0x2d7)]))[_0x370cfd(0x487)](_0x1d3782=>{const _0x3877f1=_0x370cfd;var _0x5a96e6;typeof _0x1d3782>'u'||(this[_0x3877f1(0x56a)]=_0x1d3782,_0x1d3782?(this[_0x3877f1(0x1d2)](_0x1d3782),this['_socketMessageSubscription']=_0x1d3782[_0x3877f1(0x3be)][_0x3877f1(0x487)](_0x36c8e9=>{const _0x70eda6=_0x3877f1;_0x36c8e9[_0x70eda6(0x256)]===this['_unitID']&&this[_0x70eda6(0x4a7)](_0x36c8e9);})):(this[_0x3877f1(0x26a)](),this[_0x3877f1(0x348)][_0x3877f1(0x40e)](0x2),(_0x5a96e6=this[_0x3877f1(0x488)])==null||_0x5a96e6['unsubscribe'](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x370cfd(0x4fe)][_0x370cfd(0x5a1)](()=>{const _0x133b0d=_0x370cfd;var _0x5cf4fb;(_0x5cf4fb=this[_0x133b0d(0x56a)])==null||_0x5cf4fb[_0x133b0d(0x541)]({'cmd':G[_0x133b0d(0x370)],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0xf94eec=_0x454d83;return this[_0xf94eec(0x348)][_0xf94eec(0x30c)]();}[_0x454d83(0x3ab)](){var _0x5a635a,_0x338fc4;return(_0x338fc4=(_0x5a635a=this['_socket'])==null?void 0x0:_0x5a635a['memberID'])!=null?_0x338fc4:null;}[_0x454d83(0x19b)](){const _0x32c6bc=_0x454d83;super[_0x32c6bc(0x19b)](),this['dispose$'][_0x32c6bc(0x40e)](),this[_0x32c6bc(0x2d7)]['complete']();}[_0x454d83(0x5bd)](){const _0x4f1dff=_0x454d83;var _0x2ffd3d,_0x3f8f41;this['_throwTelemetryCollaborationNewChangeset'](),(_0x2ffd3d=this[_0x4f1dff(0x56a)])==null||_0x2ffd3d[_0x4f1dff(0x541)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x4f1dff(0x22d)]}}),(_0x3f8f41=this[_0x4f1dff(0x56a)])==null||_0x3f8f41[_0x4f1dff(0x5bd)](),this['_event$'][_0x4f1dff(0x2a6)](),this[_0x4f1dff(0x348)][_0x4f1dff(0x2a6)](),this['dispose']();}[_0x454d83(0x4a7)](_0x50cbca){const _0x4e11c7=_0x454d83;_0x50cbca[_0x4e11c7(0x37f)]===G[_0x4e11c7(0x25e)]?this[_0x4e11c7(0x3a3)](_0x50cbca):_0x50cbca['cmd']===G['RECV']&&this[_0x4e11c7(0x268)](_0x50cbca);}[_0x454d83(0x1d2)](_0x495498){const _0x56454c=_0x454d83;this[_0x56454c(0x348)]['next'](0x1),_0x495498[_0x56454c(0x541)]({'cmd':G[_0x56454c(0x25e)],'routeKey':this[_0x56454c(0x22d)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x779bef){const _0xf77822=_0x454d83;var _0x5bea7f;if(_0x779bef[_0xf77822(0x63f)]===Ct['FAIL']){this[_0xf77822(0x4b6)][_0xf77822(0x2c3)]({'type':ge[_0xf77822(0x22b)][_0xf77822(0x497)],'content':this[_0xf77822(0x5ee)]['t']('session.room-full')}),this['_sessionStatus$']['next'](0x2);return;}this[_0xf77822(0x348)][_0xf77822(0x40e)](0x3);const _0x34a997=(_0x5bea7f=_0x779bef[_0xf77822(0x347)]['roomInfos'][this[_0xf77822(0x22d)]])==null?void 0x0:_0x5bea7f[_0xf77822(0x525)];_0x34a997&&_0x34a997[_0xf77822(0x46e)](_0x3b1771=>this['_memberService'][_0xf77822(0x47e)](this['_unitID'],_0x3b1771));}[_0x454d83(0x268)](_0xc89513){const _0x31869b=_0x454d83;try{const _0xcbdafe=_0xc89513[_0x31869b(0x347)];switch(_0xcbdafe[_0x31869b(0x5ed)]){case S[_0x31869b(0x2c7)][_0x31869b(0x52c)]:this[_0x31869b(0x47c)](_0xcbdafe),this[_0x31869b(0x601)][_0x31869b(0x40e)](_0xcbdafe);break;case S['CollaborationEvent'][_0x31869b(0x3eb)]:this[_0x31869b(0x4a6)](_0xcbdafe),this[_0x31869b(0x601)][_0x31869b(0x40e)](_0xcbdafe);break;case S[_0x31869b(0x2c7)][_0x31869b(0x415)]:case S[_0x31869b(0x2c7)][_0x31869b(0x4ce)]:this[_0x31869b(0x59d)](),this[_0x31869b(0x311)](),this[_0x31869b(0x601)][_0x31869b(0x40e)](_0xcbdafe);break;case S[_0x31869b(0x2c7)][_0x31869b(0x4c1)]:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x31869b(0x427)](_0xcbdafe)),this[_0x31869b(0x601)][_0x31869b(0x40e)](_0xcbdafe);break;case S['CollaborationEvent']['COMMENT_UPDATE']:this[_0x31869b(0x29f)][_0x31869b(0x2dc)](_0xcbdafe[_0x31869b(0x347)]),this[_0x31869b(0x601)]['next'](_0xcbdafe);break;default:this[_0x31869b(0x601)]['next'](_0xcbdafe);}}catch(_0x3388f4){this[_0x31869b(0x25f)][_0x31869b(0x362)](_0x3388f4,_0xc89513);}}[_0x454d83(0x47c)](_0x1907f3){const _0x1cc028=_0x454d83;this[_0x1cc028(0x535)][_0x1cc028(0x47e)](this['_unitID'],_0x1907f3['data']);}[_0x454d83(0x4a6)](_0x28660e){const _0x8f0597=_0x454d83;this['_memberService'][_0x8f0597(0x312)](this[_0x8f0597(0x22d)],_0x28660e[_0x8f0597(0x347)]['memberID']);}async[_0x454d83(0x541)](_0x9f0608,_0x142197){const _0x195f4c=_0x454d83;if(this[_0x195f4c(0x299)]!==0x3||!this['_socket'])throw new Error(_0x195f4c(0x407));try{_0x9f0608[_0x195f4c(0x5ed)]===S[_0x195f4c(0x2c7)][_0x195f4c(0x5c9)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x195f4c(0x48b)](_0x9f0608)),this[_0x195f4c(0x56a)]['send']({'cmd':G[_0x195f4c(0x1f6)],'routeKey':_0x142197,'routeType':'','data':_0x9f0608});}catch(_0x4f1a86){this['_logService'][_0x195f4c(0x362)](_0x4f1a86);}}[_0x454d83(0x28f)](){const _0x3548aa=_0x454d83;var _0x53c000;this['_collaborationTimeoutTimer']=window['setTimeout'](()=>{const _0x2a7083=_0x4cad;this[_0x2a7083(0x3a7)]=null,this[_0x2a7083(0x4b6)]['show']({'type':ge[_0x2a7083(0x22b)]['Error'],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x53c000=this[_0x3548aa(0x54e)][_0x3548aa(0x2ec)](It))!=null?_0x53c000:en);}[_0x454d83(0x311)](){const _0x1a44a7=_0x454d83;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1a44a7(0x3a7)]),this[_0x1a44a7(0x3a7)]=null);}[_0x454d83(0x48b)](_0x4817bc){const _0x4d0aee=_0x454d83;if(!this['_shouldReportTelemetry'])return;const {data:_0x557c8a}=_0x4817bc,{unitID:_0x32f783,changeset:_0x21c235}=_0x557c8a,{mutations:_0x54ba26,type:_0x4b0090}=_0x21c235;this[_0x4d0aee(0x5b8)]={'unitId':_0x32f783,'type':_0x4b0090,'startTime':performance[_0x4d0aee(0x5dd)](),'stopTime':0x0,'duration':0x0,'size':ei(_0x54ba26)};}[_0x454d83(0x59d)](){const _0x4c5231=_0x454d83;if(this[_0x4c5231(0x3f4)]){if(!this[_0x4c5231(0x5b8)]){this[_0x4c5231(0x25f)][_0x4c5231(0x362)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4c5231(0x5b8)][_0x4c5231(0x350)]=performance[_0x4c5231(0x5dd)](),this[_0x4c5231(0x5b8)][_0x4c5231(0x524)]=this['_telemetryInfo'][_0x4c5231(0x350)]-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x4c5231(0x28c)](Qn,this[_0x4c5231(0x5b8)]),this[_0x4c5231(0x5b8)]=null;}}[_0x454d83(0x26a)](){const _0x147719=_0x454d83;this[_0x147719(0x5b8)]=null;}},exports[_0x454d83(0x1cf)]=ai([de(0x2,a['ILogService']),de(0x3,ee['IBeforeCloseService']),de(0x4,ee[_0x454d83(0x293)]),de(0x5,a['IConfigService']),de(0x6,a[_0x454d83(0x271)](a['LocaleService'])),de(0x7,a[_0x454d83(0x271)](exports[_0x454d83(0x254)])),de(0x8,a[_0x454d83(0x271)](bt)),de(0x9,a[_0x454d83(0x43d)](xn[_0x454d83(0x639)]))],exports[_0x454d83(0x1cf)]);var ci=Object['defineProperty'],li=Object['getOwnPropertyDescriptor'],hi=(_0x59f5fd,_0xac2ee3,_0x35f103,_0x2990f3)=>{const _0xc74b5e=_0x454d83;for(var _0x3b538d=_0x2990f3>0x1?void 0x0:_0x2990f3?li(_0xac2ee3,_0x35f103):_0xac2ee3,_0x16b323=_0x59f5fd[_0xc74b5e(0x216)]-0x1,_0x2e9f70;_0x16b323>=0x0;_0x16b323--)(_0x2e9f70=_0x59f5fd[_0x16b323])&&(_0x3b538d=(_0x2990f3?_0x2e9f70(_0xac2ee3,_0x35f103,_0x3b538d):_0x2e9f70(_0x3b538d))||_0x3b538d);return _0x2990f3&&_0x3b538d&&ci(_0xac2ee3,_0x35f103,_0x3b538d),_0x3b538d;},Ee=(_0x34496a,_0x251d27)=>(_0x41273f,_0x55a5db)=>_0x251d27(_0x41273f,_0x55a5db,_0x34496a);exports[_0x454d83(0x4d6)]=class extends a['Disposable']{constructor(_0x3ed834,_0x15c775,_0x5e4e0d,_0x55f3fa,_0x359069,_0x2b0512){const _0x58be55=_0x454d83;super(),I(this,_0x58be55(0x382),new A[(_0x58be55(0x50c))](void 0x0)),I(this,_0x58be55(0x2f4),this[_0x58be55(0x382)][_0x58be55(0x443)]()),I(this,'_candidateSocket',null),I(this,_0x58be55(0x2df),new Map()),I(this,'_status$',new A['BehaviorSubject'](se[_0x58be55(0x586)])),I(this,'status$',this['_status$'][_0x58be55(0x443)]()),I(this,_0x58be55(0x313),!0x1),I(this,_0x58be55(0x4e5)),I(this,_0x58be55(0x516),0x0),I(this,_0x58be55(0x59a)),I(this,_0x58be55(0x2b7)),(this[_0x58be55(0x1ac)]=_0x3ed834,this['_localeService']=_0x15c775,this['_messageService']=_0x5e4e0d,this['_logService']=_0x55f3fa,this['_configService']=_0x359069,this[_0x58be55(0x452)]=_0x2b0512,this[_0x58be55(0x375)]());}get['_socket'](){const _0x243cbd=_0x454d83;return this[_0x243cbd(0x382)][_0x243cbd(0x30c)]();}[_0x454d83(0x375)](){const _0x27bb94=_0x454d83;this['_listenToOfflineEvent'](),this[_0x27bb94(0x34d)]();}[_0x454d83(0x19b)](){const _0x3bc8bb=_0x454d83;super[_0x3bc8bb(0x19b)](),this[_0x3bc8bb(0x2df)][_0x3bc8bb(0x46e)](_0xfe3d3d=>_0xfe3d3d[_0x3bc8bb(0x19b)]()),this[_0x3bc8bb(0x2df)][_0x3bc8bb(0x5c4)](),this[_0x3bc8bb(0x214)][_0x3bc8bb(0x2a6)]();}async['requireSession'](_0x3aba15){const _0x23d6fd=_0x454d83;if(this[_0x23d6fd(0x2df)]['has'](_0x3aba15))return this[_0x23d6fd(0x2df)]['get'](_0x3aba15);this[_0x23d6fd(0x5ef)]();const _0x2dd205=this[_0x23d6fd(0x1ac)][_0x23d6fd(0x2fa)](exports[_0x23d6fd(0x1cf)],_0x3aba15,this[_0x23d6fd(0x382)][_0x23d6fd(0x443)]());return this['_sessions'][_0x23d6fd(0x43f)](_0x3aba15,_0x2dd205),_0x2dd205;}['closeSession'](_0x2ead15){const _0xc84c12=_0x454d83;var _0x4efa8c;const _0x2d92b6=this[_0xc84c12(0x2df)][_0xc84c12(0x572)](_0x2ead15);_0x2d92b6&&(this[_0xc84c12(0x2df)][_0xc84c12(0x2e9)](_0x2ead15),_0x2d92b6['close']()),this[_0xc84c12(0x2df)][_0xc84c12(0x5e3)]||(_0x4efa8c=this[_0xc84c12(0x56a)])==null||_0x4efa8c[_0xc84c12(0x5bd)]();}['reconnect'](){const _0x3a5350=_0x454d83;this[_0x3a5350(0x516)]=0x0,this[_0x3a5350(0x4e5)]!=null&&(clearTimeout(this[_0x3a5350(0x4e5)]),this[_0x3a5350(0x4e5)]=null),this[_0x3a5350(0x1fb)]();}['_createSocket'](){const _0x98723=_0x454d83;var _0x4d90a0,_0x21597f;const _0x1dc514=this[_0x98723(0x54e)][_0x98723(0x2ec)](Zt),_0x4c5dd1=this[_0x98723(0x54e)][_0x98723(0x2ec)](te),_0x1d2fd1=(_0x21597f=(_0x4d90a0=_0x4c5dd1==null?void 0x0:_0x4c5dd1[_0x98723(0x53f)])!=null?_0x4d90a0:_0x1dc514)!=null?_0x21597f:kn,_0x38d53d=this['_socketService'][_0x98723(0x5c8)](_0x1d2fd1);return this[_0x98723(0x4a3)]=_0x38d53d,_0x38d53d;}[_0x454d83(0x5ef)](){const _0x4a9411=_0x454d83;var _0x12673c,_0x1c2044;try{const _0x1e0130=(_0x1c2044=(_0x12673c=this[_0x4a9411(0x56a)])!=null?_0x12673c:this[_0x4a9411(0x4a3)])!=null?_0x1c2044:this[_0x4a9411(0x504)]();if(_0x1e0130){const _0x2cfb32=_0x1e0130['send'];_0x1e0130[_0x4a9411(0x541)]=_0x560dbb=>(this['_rescheduleHeartbeat'](),_0x2cfb32[_0x4a9411(0x5fa)](_0x1e0130,[_0x560dbb])),_0x1e0130[_0x4a9411(0x3be)][_0x4a9411(0x487)](_0x5cbc99=>this['_onMessage'](_0x1e0130,_0x5cbc99)),_0x1e0130['error$'][_0x4a9411(0x358)](V['take'](0x1))[_0x4a9411(0x487)](_0x55b95f=>this[_0x4a9411(0x25f)][_0x4a9411(0x362)](_0x4a9411(0x38b),_0x55b95f)),_0x1e0130[_0x4a9411(0x31c)]['pipe'](V[_0x4a9411(0x5fe)](0x1))[_0x4a9411(0x487)](()=>{const _0x3820e0=_0x4a9411;this[_0x3820e0(0x20a)](_0x1e0130);}),_0x1e0130[_0x4a9411(0x576)][_0x4a9411(0x358)](V[_0x4a9411(0x5fe)](0x1))[_0x4a9411(0x487)](_0x3fd3f4=>{const _0x2a9b6f=_0x4a9411;this[_0x2a9b6f(0x25f)][_0x2a9b6f(0x379)](_0x2a9b6f(0x282),'socket\x20close',_0x3fd3f4),this[_0x2a9b6f(0x231)]();});}}catch(_0x16027c){this['_logService'][_0x4a9411(0x362)](_0x16027c),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x55037b){const _0xf40ad8=_0x454d83;this[_0xf40ad8(0x25f)][_0xf40ad8(0x379)](_0xf40ad8(0x282),'socket\x20open.'),_0x55037b[_0xf40ad8(0x541)]({'cmd':G['HELLO']}),this['_rescheduleHeartbeat']();}['_listenToOfflineEvent'](){const _0x96436=_0x454d83;window[_0x96436(0x1ce)](_0x96436(0x193),()=>this[_0x96436(0x3d3)]());}[_0x454d83(0x3d3)](){const _0x59540b=_0x454d83;this[_0x59540b(0x313)]=!0x1,this[_0x59540b(0x4a3)]=null,this['_status$'][_0x59540b(0x40e)](se['OFFLINE']),this['_socket$'][_0x59540b(0x40e)](null),this[_0x59540b(0x3cf)](),this[_0x59540b(0x232)]();}[_0x454d83(0x231)](){const _0x5986ec=_0x454d83;var _0x52a784;this[_0x5986ec(0x3d3)](),this[_0x5986ec(0x516)]<((_0x52a784=this[_0x5986ec(0x54e)]['getConfig'](tn))!=null?_0x52a784:Vn)?(this['_messageService'][_0x5986ec(0x2c3)]({'key':_0x5986ec(0x36a),'type':ge[_0x5986ec(0x22b)]['Warning'],'content':this['_localeService']['t'](_0x5986ec(0x267))}),this[_0x5986ec(0x1fb)]()):this[_0x5986ec(0x4b6)][_0x5986ec(0x2c3)]({'key':_0x5986ec(0x36a),'type':ge[_0x5986ec(0x22b)][_0x5986ec(0x355)],'content':this[_0x5986ec(0x5ee)]['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x5412a3=_0x454d83,_0x54fff0=()=>{const _0x28639c=_0x4cad;this['_socket']||this[_0x28639c(0x549)]();},_0x28a851=()=>{const _0x38eb89=_0x4cad;this[_0x38eb89(0x56a)]||document['visibilityState']===_0x38eb89(0x3ea)||this['reconnect']();};window[_0x5412a3(0x1ce)](_0x5412a3(0x242),_0x54fff0),document[_0x5412a3(0x1ce)](_0x5412a3(0x58a),_0x28a851);}[_0x454d83(0x1fb)](){const _0x1cc3c3=_0x454d83;var _0x34debd;const _0x42e11b=this[_0x1cc3c3(0x516)],_0x3ae995=this['_configService'][_0x1cc3c3(0x2ec)](te),_0x120e1e=_0x42e11b===0x0?0x0:((_0x34debd=_0x3ae995==null?void 0x0:_0x3ae995[_0x1cc3c3(0x570)])!=null?_0x34debd:Fn)*0x2**_0x42e11b;this[_0x1cc3c3(0x4e5)]=window[_0x1cc3c3(0x1b7)](()=>{const _0x3b7331=_0x1cc3c3;clearTimeout(this[_0x3b7331(0x4e5)]),this[_0x3b7331(0x4e5)]=null,this['_tryEnsureSocket']();},_0x120e1e),this[_0x1cc3c3(0x516)]+=0x1;}[_0x454d83(0x31a)](_0x2ed50f,_0x53b1e9){const _0x1ca6e2=_0x454d83,{cmd:_0x5aca1d}=_0x53b1e9;_0x5aca1d===G['HELLO']&&!this[_0x1ca6e2(0x313)]&&(_0x2ed50f['memberID']=_0x53b1e9[_0x1ca6e2(0x347)][_0x1ca6e2(0x32b)],this[_0x1ca6e2(0x382)]['next'](_0x2ed50f),this[_0x1ca6e2(0x214)][_0x1ca6e2(0x40e)](se[_0x1ca6e2(0x3e5)]),this[_0x1ca6e2(0x313)]=!0x0,this[_0x1ca6e2(0x4a3)]=null),_0x5aca1d===G[_0x1ca6e2(0x538)]&&this['_clearTimeoutTimer'](),this[_0x1ca6e2(0x203)]();}[_0x454d83(0x203)](){const _0x17ffcd=_0x454d83;var _0x48b0b3;this[_0x17ffcd(0x232)](),this[_0x17ffcd(0x59a)]=window[_0x17ffcd(0x1b7)](()=>this[_0x17ffcd(0x27b)](),(_0x48b0b3=this[_0x17ffcd(0x54e)][_0x17ffcd(0x2ec)](Qt))!=null?_0x48b0b3:Wn);}[_0x454d83(0x27b)](){const _0x302de1=_0x454d83;this[_0x302de1(0x56a)][_0x302de1(0x541)]({'cmd':G[_0x302de1(0x538)]}),this[_0x302de1(0x2fe)]();}['_waitForHeartbeatResponse'](){const _0x500c6d=_0x454d83;var _0x2d80bc;this['_timeoutTimer']=window['setTimeout'](()=>this[_0x500c6d(0x231)](),(_0x2d80bc=this[_0x500c6d(0x54e)][_0x500c6d(0x2ec)](It))!=null?_0x2d80bc:en);}['_clearHeartbeatTimer'](){const _0x3881ba=_0x454d83;this[_0x3881ba(0x59a)]!=null&&(clearTimeout(this[_0x3881ba(0x59a)]),this[_0x3881ba(0x59a)]=null);}[_0x454d83(0x3cf)](){const _0x1f1813=_0x454d83;this[_0x1f1813(0x2b7)]!=null&&(clearTimeout(this[_0x1f1813(0x2b7)]),this[_0x1f1813(0x2b7)]=null);}},exports[_0x454d83(0x4d6)]=hi([Ee(0x0,a[_0x454d83(0x271)](a[_0x454d83(0x41c)])),Ee(0x1,a[_0x454d83(0x271)](a['LocaleService'])),Ee(0x2,ee[_0x454d83(0x293)]),Ee(0x3,a[_0x454d83(0x1c6)]),Ee(0x4,a['IConfigService']),Ee(0x5,Et)],exports[_0x454d83(0x4d6)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x454d83(0x54c)]((s+0x100)['toString'](0x10)[_0x454d83(0x5df)](0x1));function _i(_0x4a11bb,_0x55052a=0x0){const _0x2049bb=_0x454d83;return(Y[_0x4a11bb[_0x55052a+0x0]]+Y[_0x4a11bb[_0x55052a+0x1]]+Y[_0x4a11bb[_0x55052a+0x2]]+Y[_0x4a11bb[_0x55052a+0x3]]+'-'+Y[_0x4a11bb[_0x55052a+0x4]]+Y[_0x4a11bb[_0x55052a+0x5]]+'-'+Y[_0x4a11bb[_0x55052a+0x6]]+Y[_0x4a11bb[_0x55052a+0x7]]+'-'+Y[_0x4a11bb[_0x55052a+0x8]]+Y[_0x4a11bb[_0x55052a+0x9]]+'-'+Y[_0x4a11bb[_0x55052a+0xa]]+Y[_0x4a11bb[_0x55052a+0xb]]+Y[_0x4a11bb[_0x55052a+0xc]]+Y[_0x4a11bb[_0x55052a+0xd]]+Y[_0x4a11bb[_0x55052a+0xe]]+Y[_0x4a11bb[_0x55052a+0xf]])[_0x2049bb(0x29d)]();}let Je;const ui=new Uint8Array(0x10);function di(){const _0x2642d0=_0x454d83;if(!Je){if(typeof crypto>'u'||!crypto[_0x2642d0(0x3bd)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Je=crypto['getRandomValues'][_0x2642d0(0x1c7)](crypto);}return Je(ui);}const fi=typeof crypto<'u'&&crypto[_0x454d83(0x540)]&&crypto[_0x454d83(0x540)]['bind'](crypto),Ut={'randomUUID':fi};function vi(_0x24c363,_0x1fa747,_0x2260cf){const _0xbef034=_0x454d83;if(Ut[_0xbef034(0x540)]&&!_0x1fa747&&!_0x24c363)return Ut[_0xbef034(0x540)]();_0x24c363=_0x24c363||{};const _0x529cc5=_0x24c363[_0xbef034(0x4e8)]||(_0x24c363[_0xbef034(0x5bf)]||di)();return _0x529cc5[0x6]=_0x529cc5[0x6]&0xf|0x40,_0x529cc5[0x8]=_0x529cc5[0x8]&0x3f|0x80,_i(_0x529cc5);}var mi=Object[_0x454d83(0x276)],Si=Object[_0x454d83(0x3ec)],pi=(_0x1349f9,_0x222f83,_0x3ee34d,_0x2d19ed)=>{for(var _0x722031=_0x2d19ed>0x1?void 0x0:_0x2d19ed?Si(_0x222f83,_0x3ee34d):_0x222f83,_0x55c969=_0x1349f9['length']-0x1,_0x8a0f6b;_0x55c969>=0x0;_0x55c969--)(_0x8a0f6b=_0x1349f9[_0x55c969])&&(_0x722031=(_0x2d19ed?_0x8a0f6b(_0x222f83,_0x3ee34d,_0x722031):_0x8a0f6b(_0x722031))||_0x722031);return _0x2d19ed&&_0x722031&&mi(_0x222f83,_0x3ee34d,_0x722031),_0x722031;},Ze=(_0x2cc441,_0xa9130e)=>(_0x4a5784,_0x513ecc)=>_0xa9130e(_0x4a5784,_0x513ecc,_0x2cc441);let Be=class{constructor(_0xa137cf,_0x2cb540,_0x5d05cd){const _0x517ed4=_0x454d83;this[_0x517ed4(0x1ac)]=_0xa137cf,this[_0x517ed4(0x22c)]=_0x2cb540,this[_0x517ed4(0x27c)]=_0x5d05cd;}[_0x454d83(0x422)](_0x232883){const _0x4361c3=_0x454d83;this[_0x4361c3(0x3e3)](_0x232883),this['_transformPreviousActiveRange'](_0x232883);}[_0x454d83(0x2ac)](_0x1333ff){const _0x1ab7cd=_0x454d83,{unitID:_0x4cc745}=_0x1333ff,_0x1d07ac=this['_renderManagerService']['getRenderById'](_0x4cc745)['with'](J[_0x1ab7cd(0x40c)]),{redoCache:_0xb6cc0b}=_0x1d07ac['getUndoRedoMutationParamsCache']();if(_0xb6cc0b[_0x1ab7cd(0x216)]===0x0)return _0x1333ff;let _0x362e5e=a['Tools'][_0x1ab7cd(0x5b2)](_0x1333ff[_0x1ab7cd(0x2a1)][0x0]);for(let _0x5d25e8=0x0;_0x5d25e8<_0xb6cc0b[_0x1ab7cd(0x216)];_0x5d25e8++){const _0x579680={'id':_0x1ab7cd(0x453),'params':{..._0xb6cc0b[_0x5d25e8]}},_0x5ec14f=this[_0x1ab7cd(0x22c)][_0x1ab7cd(0x60c)](_0x362e5e,_0x579680,!0x1);if(S[_0x1ab7cd(0x495)](_0x5ec14f))throw _0x5ec14f[_0x1ab7cd(0x362)];_0x362e5e=_0x5ec14f['m1Prime'];}return{...a[_0x1ab7cd(0x457)][_0x1ab7cd(0x5b2)](_0x1333ff),'mutations':[_0x362e5e]};}[_0x454d83(0x3e3)](_0x18c17c){const _0x177ac5=_0x454d83,{unitID:_0x1ab500}=_0x18c17c,_0x1bce3d=this['_renderManagerService'][_0x177ac5(0x527)](_0x1ab500)['with'](J['DocIMEInputManagerService']),{undoCache:_0x54ce01,redoCache:_0x5bf4cb}=_0x1bce3d[_0x177ac5(0x5a4)]();if(_0x54ce01[_0x177ac5(0x216)]===0x0||_0x5bf4cb[_0x177ac5(0x216)]===0x0)return;const _0x25577c=[],_0x264a60=[];let _0x8e2180=a[_0x177ac5(0x457)][_0x177ac5(0x5b2)](_0x18c17c[_0x177ac5(0x2a1)][0x0]),_0x30c5e2=a[_0x177ac5(0x457)][_0x177ac5(0x5b2)](_0x18c17c['mutations'][0x0]);for(let _0x3249fd=_0x54ce01[_0x177ac5(0x216)]-0x1;_0x3249fd>=0x0;_0x3249fd--){const _0x41d057={'id':_0x177ac5(0x453),'params':{..._0x54ce01[_0x3249fd]}},_0x2910d1={'id':_0x177ac5(0x453),'params':{..._0x5bf4cb[_0x3249fd]}},_0x250cd2=this[_0x177ac5(0x22c)][_0x177ac5(0x60c)](_0x8e2180,_0x41d057,!0x1),_0x119828=this[_0x177ac5(0x22c)][_0x177ac5(0x60c)](_0x30c5e2,_0x2910d1,!0x1);if(S['isTransformMutationFailure'](_0x250cd2))throw _0x250cd2[_0x177ac5(0x362)];if(S[_0x177ac5(0x495)](_0x119828))throw _0x119828[_0x177ac5(0x362)];_0x25577c[_0x177ac5(0x1a1)](_0x250cd2[_0x177ac5(0x322)]['params']),_0x264a60[_0x177ac5(0x1a1)](_0x119828['m2Prime'][_0x177ac5(0x2a7)]),_0x8e2180=_0x250cd2[_0x177ac5(0x3b8)],_0x30c5e2=_0x119828['m1Prime'];}_0x1bce3d[_0x177ac5(0x38f)]({'undoCache':_0x25577c,'redoCache':_0x264a60});}['_transformPreviousActiveRange'](_0x4d406b){const _0x3321eb=_0x454d83,{unitID:_0x1f7bd1}=_0x4d406b,_0x36f33b=this[_0x3321eb(0x27c)][_0x3321eb(0x527)](_0x1f7bd1)[_0x3321eb(0x30f)](J[_0x3321eb(0x40c)]),_0x2b7c75=_0x36f33b[_0x3321eb(0x24d)]();if(_0x2b7c75==null)return;const _0x53db0d=[{'id':_0x3321eb(0x453),'params':{'unitId':_0x4d406b[_0x3321eb(0x42f)],'actions':null,'textRanges':[_0x2b7c75]}}],_0x2d8a5=this[_0x3321eb(0x22c)][_0x3321eb(0x472)](_0x4d406b,_0x53db0d);if(!S[_0x3321eb(0x556)](_0x2d8a5))throw _0x2d8a5[_0x3321eb(0x362)];const _0x1bea96=_0x2d8a5[_0x3321eb(0x322)][0x0]['params'][_0x3321eb(0x5b1)];Array['isArray'](_0x1bea96)&&_0x1bea96[_0x3321eb(0x216)]&&_0x36f33b[_0x3321eb(0x1be)](_0x1bea96[0x0]);}};Be=pi([Ze(0x0,a['Inject'](a[_0x454d83(0x41c)])),Ze(0x1,S[_0x454d83(0x395)]),Ze(0x2,K[_0x454d83(0x5f1)])],Be);var gi=Object[_0x454d83(0x276)],Ii=Object[_0x454d83(0x3ec)],Ci=(_0x33d94c,_0x375897,_0x12e7cf,_0x3c459a)=>{for(var _0x501a87=_0x3c459a>0x1?void 0x0:_0x3c459a?Ii(_0x375897,_0x12e7cf):_0x375897,_0x16b3f9=_0x33d94c['length']-0x1,_0x1ac21e;_0x16b3f9>=0x0;_0x16b3f9--)(_0x1ac21e=_0x33d94c[_0x16b3f9])&&(_0x501a87=(_0x3c459a?_0x1ac21e(_0x375897,_0x12e7cf,_0x501a87):_0x1ac21e(_0x501a87))||_0x501a87);return _0x3c459a&&_0x501a87&&gi(_0x375897,_0x12e7cf,_0x501a87),_0x501a87;},Pe=(_0xc43c8a,_0x20ff27)=>(_0x231a57,_0x50751d)=>_0x20ff27(_0x231a57,_0x50751d,_0xc43c8a);exports[_0x454d83(0x37c)]=class extends a[_0x454d83(0x4d4)]{constructor(_0x4740a9,_0x1efd69,_0x42290b,_0x315605,_0x534b21){const _0x24a5b5=_0x454d83;super(),I(this,'_cachedData',new Map()),I(this,_0x24a5b5(0x32a),new Map()),I(this,_0x24a5b5(0x51a),!0x1),(this[_0x24a5b5(0x54e)]=_0x4740a9,this[_0x24a5b5(0x571)]=_0x1efd69,this['_beforeCloseService']=_0x42290b,this[_0x24a5b5(0x5ee)]=_0x315605,this[_0x24a5b5(0x27a)]=_0x534b21,this[_0x24a5b5(0x56f)]());}[_0x454d83(0x2e2)](){const _0x215c70=_0x454d83;this[_0x215c70(0x51a)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x454d83(0x19b)](){const _0x3c2663=_0x454d83;this[_0x3c2663(0x5f0)]()[_0x3c2663(0x506)](()=>super['dispose']());}async['loadOfflineData'](_0x92590c){const _0x37abf1=_0x454d83;return this[_0x37abf1(0x51a)]?null:this['_localStorageService'][_0x37abf1(0x584)](Mt(_0x92590c));}async[_0x454d83(0x3cd)](_0x2849d3,_0x1106c7){const _0x144493=_0x454d83;return!!this['_localStorageService'][_0x144493(0x34f)](_0x2849d3,_0x1106c7);}[_0x454d83(0x592)](_0x34d160,_0x3e5e7b,_0x136de8,_0x44c9a2){const _0x45d99c=_0x454d83,_0xd726b6=this[_0x45d99c(0x27a)][_0x45d99c(0x346)](_0x34d160);this['_cachedData'][_0x45d99c(0x43f)](_0x34d160,{'unitID':_0x34d160,'type':_0x3e5e7b,'awaitingChangeset':_0x136de8,'mutations':_0x44c9a2,'rev':_0xd726b6}),this['_saveTaskMap'][_0x45d99c(0x44a)](_0x34d160)||this['_scheduleSaving'](_0x34d160);}[_0x454d83(0x48c)](_0x473d28){const _0x27c1d8=_0x454d83,_0x80e4e6=this[_0x27c1d8(0x5a5)]();_0x80e4e6===0x0?this[_0x27c1d8(0x223)](_0x473d28):this[_0x27c1d8(0x32a)][_0x27c1d8(0x43f)](_0x473d28,setTimeout(()=>this[_0x27c1d8(0x223)](_0x473d28),_0x80e4e6));}['_getSaveTimeout'](){const _0x54e7cb=_0x454d83;var _0x23e91b;return(_0x23e91b=this[_0x54e7cb(0x54e)]['getConfig'](nn))!=null?_0x23e91b:Gn;}[_0x454d83(0x223)](_0x31be84){const _0x5f42a2=_0x454d83,_0x3137cb=this['_saveTaskMap'][_0x5f42a2(0x572)](_0x31be84);return _0x3137cb!==void 0x0&&window[_0x5f42a2(0x1cd)](_0x3137cb),this[_0x5f42a2(0x571)][_0x5f42a2(0x34f)](Mt(_0x31be84),this[_0x5f42a2(0x1ee)][_0x5f42a2(0x572)](_0x31be84))[_0x5f42a2(0x506)](()=>this[_0x5f42a2(0x32a)][_0x5f42a2(0x2e9)](_0x31be84));}async['exhaustSavingTask'](){const _0x71c631=_0x454d83,_0x270b2b=[];this['_saveTaskMap'][_0x71c631(0x46e)]((_0x97099a,_0x220834)=>{const _0x2afb05=_0x71c631;window[_0x2afb05(0x1cd)](_0x97099a),_0x270b2b[_0x2afb05(0x54c)](this['_saveCache'](_0x220834)[_0x2afb05(0x506)](()=>{const _0x2144f1=_0x2afb05;this[_0x2144f1(0x32a)][_0x2144f1(0x2e9)](_0x220834);}));}),await Promise[_0x71c631(0x245)](_0x270b2b);}[_0x454d83(0x56f)](){const _0x34750a=_0x454d83;this['disposeWithMe'](this[_0x34750a(0x4fe)][_0x34750a(0x26d)](()=>{const _0x1b8630=_0x34750a;if(this[_0x1b8630(0x32a)][_0x1b8630(0x5e3)])return this[_0x1b8630(0x5ee)]['t'](_0x1b8630(0x4bd));}));}},exports[_0x454d83(0x37c)]=Ci([Pe(0x0,a[_0x454d83(0x48e)]),Pe(0x1,a[_0x454d83(0x35f)]),Pe(0x2,ee['IBeforeCloseService']),Pe(0x3,a[_0x454d83(0x271)](a[_0x454d83(0x4ab)])),Pe(0x4,a[_0x454d83(0x271)](S[_0x454d83(0x255)]))],exports['LocalCacheService']);function Mt(_0x5ddc30){const _0x30aa58=_0x454d83;return _0x30aa58(0x386)+_0x5ddc30;}var Ei=Object[_0x454d83(0x276)],bi=Object[_0x454d83(0x3ec)],Ti=(_0x257ad9,_0x1001a5,_0x51d499,_0x5d86ec)=>{const _0x22916d=_0x454d83;for(var _0x58dcde=_0x5d86ec>0x1?void 0x0:_0x5d86ec?bi(_0x1001a5,_0x51d499):_0x1001a5,_0x2f0f9a=_0x257ad9[_0x22916d(0x216)]-0x1,_0x16b3fd;_0x2f0f9a>=0x0;_0x2f0f9a--)(_0x16b3fd=_0x257ad9[_0x2f0f9a])&&(_0x58dcde=(_0x5d86ec?_0x16b3fd(_0x1001a5,_0x51d499,_0x58dcde):_0x16b3fd(_0x58dcde))||_0x58dcde);return _0x5d86ec&&_0x58dcde&&Ei(_0x1001a5,_0x51d499,_0x58dcde),_0x58dcde;},Qe=(_0x30f571,_0x278450)=>(_0x1b5fdb,_0x5957ad)=>_0x278450(_0x1b5fdb,_0x5957ad,_0x30f571);function Ri(_0x2bc8e0){const _0x4d0714=_0x454d83,{unitID:_0x19cf77,mutations:_0x216eff}=_0x2bc8e0;return{'unitId':_0x19cf77,'subUnitId':_0x216eff[0x0][_0x4d0714(0x2a7)][_0x4d0714(0x2d4)]};}let ke=class{constructor(_0x28b105,_0x2c2d23,_0x2ae64d){const _0x3a6301=_0x454d83;this[_0x3a6301(0x1ac)]=_0x28b105,this['_transformService']=_0x2c2d23,this[_0x3a6301(0x36c)]=_0x2ae64d;}[_0x454d83(0x4d5)](_0x3d9cc1){const _0x46363c=_0x454d83;var _0x58748a,_0x17ae84,_0xbdff87,_0x196131;const _0xd452dd=this[_0x46363c(0x1ac)][_0x46363c(0x572)](k['SheetsSelectionsService']),{unitId:_0x1d92c6,subUnitId:_0x4c5593}=Ri(_0x3d9cc1),_0x3c203f=_0xd452dd['getWorkbookSelections'](_0x1d92c6)[_0x46363c(0x4c3)](),_0x5ae4e4=(_0x17ae84=(_0x58748a=this['_instanceService'][_0x46363c(0x1f7)](_0x1d92c6))==null?void 0x0:_0x58748a[_0x46363c(0x239)]())==null?void 0x0:_0x17ae84[_0x46363c(0x3d2)]();if(_0x3c203f[_0x46363c(0x216)]===0x0||!_0x1d92c6||!_0x4c5593)return;const _0x29141b=[{'id':k[_0x46363c(0x5d4)]['id'],'params':{'unitId':_0x1d92c6,'subUnitId':_0x5ae4e4,'selections':a['Tools']['deepClone'](_0x3c203f)}}],_0x32d03a=this[_0x46363c(0x22c)][_0x46363c(0x472)](_0x3d9cc1,_0x29141b);if(!S[_0x46363c(0x556)](_0x32d03a))throw _0x32d03a[_0x46363c(0x362)];const _0xd3dfce=(_0x196131=(_0xbdff87=_0x32d03a[_0x46363c(0x322)][0x0])==null?void 0x0:_0xbdff87[_0x46363c(0x2a7)])==null?void 0x0:_0x196131[_0x46363c(0x5e7)];if(Array[_0x46363c(0x196)](_0xd3dfce)&&_0xd3dfce[_0x46363c(0x216)]){if(_0xd3dfce['length']===_0x29141b[0x0][_0x46363c(0x2a7)]['selections'][_0x46363c(0x216)]&&_0xd3dfce[_0x46363c(0x5aa)]((_0x4b944c,_0x58f9fc)=>a[_0x46363c(0x200)]['equals'](_0x4b944c['range'],_0x29141b[0x0][_0x46363c(0x2a7)][_0x46363c(0x5e7)][_0x58f9fc][_0x46363c(0x43e)])))return;this[_0x46363c(0x1ac)][_0x46363c(0x572)](a[_0x46363c(0x462)])[_0x46363c(0x38c)](k['SetSelectionsOperation']['id'],{'unitId':_0x1d92c6,'subUnitId':_0x5ae4e4,'selections':_0xd3dfce});}}};ke=Ti([Qe(0x0,a[_0x454d83(0x271)](a[_0x454d83(0x41c)])),Qe(0x1,S[_0x454d83(0x395)]),Qe(0x2,a[_0x454d83(0x2ed)])],ke);const qe=a[_0x454d83(0x246)]('univer-pro.collaboration-client.single-active-unit-service');var hn=(_0x2c5c48=>(_0x2c5c48[_0x2c5c48[_0x454d83(0x2ae)]=0x0]=_0x454d83(0x2ae),_0x2c5c48[_0x2c5c48[_0x454d83(0x553)]=0x1]='OTHER_CLIENTS_EDITING',_0x2c5c48))(hn||{});const At=0x7530,Nt=_0x454d83(0x4c4);class yi extends a[_0x454d83(0x4d4)]{constructor(){const _0x33cf99=_0x454d83;super(),I(this,'_id',a[_0x33cf99(0x457)]['generateRandomId']()),I(this,'_selfUnitIDs',new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x33cf99(0x51d),null),I(this,_0x33cf99(0x57e),new Map()),I(this,_0x33cf99(0x3bb),new Map()),this[_0x33cf99(0x238)]();}[_0x454d83(0x19b)](){const _0x4e4f9d=_0x454d83;super[_0x4e4f9d(0x19b)](),this['_clearOtherTimers'][_0x4e4f9d(0x46e)]((_0x26858b,_0x2a13ad)=>this['_removeClearOtherTimer'](_0x2a13ad)),this['_heartbeatTimer']&&window[_0x4e4f9d(0x37b)](this['_heartbeatTimer']);}[_0x454d83(0x24a)](_0x461389){const _0x6f3d82=_0x454d83;return this['_ensureSubject'](_0x461389)['pipe'](A[_0x6f3d82(0x402)]());}['editingUnit'](_0xe61ead){const _0x792a15=_0x454d83;this[_0x792a15(0x2f0)][_0x792a15(0x5e3)]===0x0&&this['_scheduleHeartbeat'](),this[_0x792a15(0x2f0)][_0x792a15(0x284)](_0xe61ead),this[_0x792a15(0x4bc)]({'type':0x0,'memberID':this[_0x792a15(0x373)],'unitIDs':[_0xe61ead],'isForwarded':!0x1});}['disposeUnit'](_0x4443f7){const _0xd1294a=_0x454d83;this[_0xd1294a(0x2f0)][_0xd1294a(0x2e9)](_0x4443f7),this['_selfUnitIDs']['size']===0x0&&this[_0xd1294a(0x51d)]&&window['clearInterval'](this[_0xd1294a(0x51d)]);}[_0x454d83(0x238)](){const _0x13664f=_0x454d83;this[_0x13664f(0x421)](a['toDisposable'](A[_0x13664f(0x357)](window,_0x13664f(0x241))['subscribe'](_0x1520e1=>{const _0x3bbe26=_0x13664f;if(_0x1520e1[_0x3bbe26(0x514)]!==Nt||!_0x1520e1[_0x3bbe26(0x5cb)])return;const _0x4355bd=JSON[_0x3bbe26(0x5d9)](_0x1520e1['newValue']);this[_0x3bbe26(0x3b4)](_0x4355bd);}))),window[_0x13664f(0x1ce)](_0x13664f(0x521),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x13664f(0x1b5)](this['_selfUnitIDs'])}));}[_0x454d83(0x3b4)](_0x515d5b){const _0x1c9728=_0x454d83;switch(_0x515d5b[_0x1c9728(0x573)]){case 0x0:this[_0x1c9728(0x24f)](_0x515d5b);break;case 0x1:this[_0x1c9728(0x270)](_0x515d5b);break;case 0x2:this[_0x1c9728(0x447)](_0x515d5b);break;}}[_0x454d83(0x24f)](_0x2f16fe){const _0x5ec8d7=_0x454d83,{unitIDs:_0x49675b,memberID:_0xa848ac,isForwarded:_0x223e72}=_0x2f16fe;_0x49675b[_0x5ec8d7(0x46e)](_0x35905c=>{const _0x5f51bc=_0x5ec8d7;if(!_0x223e72&&this['_unitOnClients'][_0x5f51bc(0x44a)](_0x35905c)&&this[_0x5f51bc(0x1fd)](_0x35905c)[_0x5f51bc(0x40e)](0x1),!this['_unitOnClients']['has'](_0x35905c)||!this['_unitOnClients'][_0x5f51bc(0x572)](_0x35905c)[_0x5f51bc(0x44a)](_0xa848ac)){const _0x34517a=this['_unitOnClients'][_0x5f51bc(0x572)](_0x35905c)||new Set();_0x34517a['add'](_0xa848ac),this[_0x5f51bc(0x364)][_0x5f51bc(0x43f)](_0x35905c,_0x34517a),this['_scheduleClearOtherTimer'](_0xa848ac);}}),_0x223e72||this[_0x5ec8d7(0x4bc)]({'type':0x0,'memberID':this[_0x5ec8d7(0x373)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x454d83(0x4ad)](_0x2db247){const _0x275878=_0x454d83;this[_0x275878(0x29c)](_0x2db247);const _0x4b1160=window[_0x275878(0x1b7)](()=>{const _0x581f30=_0x275878;this[_0x581f30(0x364)][_0x581f30(0x46e)](_0x26fa9b=>{_0x26fa9b['delete'](_0x2db247);});},At*0x2);this[_0x275878(0x57e)]['set'](_0x2db247,_0x4b1160);}['_removeClearOtherTimer'](_0x357f61){const _0x2b3c18=_0x454d83;if(this[_0x2b3c18(0x57e)][_0x2b3c18(0x44a)](_0x357f61)){const _0x361540=this[_0x2b3c18(0x57e)][_0x2b3c18(0x572)](_0x357f61);_0x361540&&window[_0x2b3c18(0x1cd)](_0x361540),this[_0x2b3c18(0x57e)][_0x2b3c18(0x43f)](_0x357f61,null);}}[_0x454d83(0x270)](_0x5ddca7){const _0x776794=_0x454d83,{memberID:_0x14759a,unitIDs:_0xfed74a}=_0x5ddca7;_0xfed74a['forEach'](_0x331716=>{const _0x7704ae=_0x4cad;var _0x25b159;const _0x37028f=this[_0x7704ae(0x364)]['get'](_0x331716);_0x37028f&&(_0x37028f[_0x7704ae(0x2e9)](_0x14759a),(_0x25b159=this[_0x7704ae(0x1fd)](_0x331716))==null||_0x25b159['next'](_0x37028f[_0x7704ae(0x5e3)]===0x0?0x0:0x1));}),this[_0x776794(0x29c)](_0x14759a);}['_handleHeartbeatEvent'](_0x1b4547){const _0x55d67e=_0x454d83;this['_scheduleClearOtherTimer'](_0x1b4547[_0x55d67e(0x32b)]);}['_send'](_0xc3ec2d){const _0x37bd1f=_0x454d83;localStorage[_0x37bd1f(0x34f)](Nt,JSON['stringify'](_0xc3ec2d));}[_0x454d83(0x45a)](){const _0x4290c9=_0x454d83;this[_0x4290c9(0x51d)]=window[_0x4290c9(0x2b0)](()=>{const _0x157ff8=_0x4290c9;this[_0x157ff8(0x4bc)]({'type':0x2,'memberID':this[_0x157ff8(0x373)]});},At);}[_0x454d83(0x1fd)](_0x1688d3){const _0x2aa190=_0x454d83;return this[_0x2aa190(0x3bb)][_0x2aa190(0x44a)](_0x1688d3)||this['_unitStatus'][_0x2aa190(0x43f)](_0x1688d3,new A[(_0x2aa190(0x50c))](0x0)),this[_0x2aa190(0x3bb)][_0x2aa190(0x572)](_0x1688d3);}}var Oi=Object['defineProperty'],Di=Object[_0x454d83(0x3ec)],wi=(_0x16e3b0,_0x404dde,_0x537649,_0x14f4f9)=>{const _0x53b53e=_0x454d83;for(var _0x7646b4=_0x14f4f9>0x1?void 0x0:_0x14f4f9?Di(_0x404dde,_0x537649):_0x404dde,_0x241f6e=_0x16e3b0[_0x53b53e(0x216)]-0x1,_0x47f8fa;_0x241f6e>=0x0;_0x241f6e--)(_0x47f8fa=_0x16e3b0[_0x241f6e])&&(_0x7646b4=(_0x14f4f9?_0x47f8fa(_0x404dde,_0x537649,_0x7646b4):_0x47f8fa(_0x7646b4))||_0x7646b4);return _0x14f4f9&&_0x7646b4&&Oi(_0x404dde,_0x537649,_0x7646b4),_0x7646b4;},et=(_0x5b9f64,_0x2c8bbf)=>(_0x5b211d,_0x550383)=>_0x2c8bbf(_0x5b211d,_0x550383,_0x5b9f64);let We=class{constructor(_0x374818,_0x3b85c3,_0x15ae00){const _0x43a7d9=_0x454d83;this[_0x43a7d9(0x1ac)]=_0x374818,this[_0x43a7d9(0x22c)]=_0x3b85c3,this[_0x43a7d9(0x502)]=_0x15ae00;}[_0x454d83(0x590)](_0x59dfdc){this['_transformHistoryAndStateStack'](_0x59dfdc);}[_0x454d83(0x2ac)](_0x412473){const _0x5846fb=_0x454d83,{unitID:_0x22eb9d}=_0x412473,{collaboration:_0x1f3f36}=this['_docStateChangeManagerService'][_0x5846fb(0x416)](_0x22eb9d);if(_0x1f3f36[_0x5846fb(0x216)]===0x0)return _0x412473;let _0x5bf47e=a[_0x5846fb(0x457)][_0x5846fb(0x5b2)](_0x412473['mutations'][0x0]);for(let _0xa9ccc7=0x0;_0xa9ccc7<_0x1f3f36['length'];_0xa9ccc7++){const _0x51d139={'id':_0x5846fb(0x453),'params':{'unitId':_0x1f3f36[_0xa9ccc7][_0x5846fb(0x26c)],..._0x1f3f36[_0xa9ccc7][_0x5846fb(0x1d7)]}},_0x83e279=this['_transformService'][_0x5846fb(0x60c)](_0x5bf47e,_0x51d139,!0x1);if(S[_0x5846fb(0x495)](_0x83e279))throw _0x83e279[_0x5846fb(0x362)];_0x5bf47e=_0x83e279[_0x5846fb(0x3b8)];}return{...a['Tools'][_0x5846fb(0x5b2)](_0x412473),'mutations':[_0x5bf47e]};}[_0x454d83(0x33a)](_0x3f854e){const _0x25e337=_0x454d83,{unitID:_0x83f4bf}=_0x3f854e,{history:_0x158ab7,collaboration:_0x277ee9}=this[_0x25e337(0x502)][_0x25e337(0x416)](_0x83f4bf);if(_0x158ab7[_0x25e337(0x216)]===0x0&&_0x277ee9[_0x25e337(0x216)]===0x0)return;const _0x19a08a=[],_0x1df595=[];let _0x2192b2=a['Tools'][_0x25e337(0x5b2)](_0x3f854e[_0x25e337(0x2a1)][0x0]),_0x3ad737=a[_0x25e337(0x457)][_0x25e337(0x5b2)](_0x3f854e[_0x25e337(0x2a1)][0x0]);for(let _0x38ae0b=_0x158ab7[_0x25e337(0x216)]-0x1;_0x38ae0b>=0x0;_0x38ae0b--){const _0x557fa0={'id':_0x25e337(0x453),'params':{'unitId':_0x158ab7[_0x38ae0b]['unitId'],..._0x158ab7[_0x38ae0b][_0x25e337(0x1a2)]}},_0x4a99a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x158ab7[_0x38ae0b][_0x25e337(0x26c)],..._0x158ab7[_0x38ae0b]['redoState']}},_0x4d27a0=this[_0x25e337(0x22c)]['transformMutation'](_0x2192b2,_0x557fa0,!0x1),_0xb2dcaf=this[_0x25e337(0x22c)][_0x25e337(0x60c)](_0x3ad737,_0x4a99a5,!0x1);if(S[_0x25e337(0x495)](_0x4d27a0))throw _0x4d27a0['error'];if(S[_0x25e337(0x495)](_0xb2dcaf))throw _0xb2dcaf['error'];_0x19a08a['unshift']({..._0x158ab7[_0x38ae0b],'undoState':_0x4d27a0[_0x25e337(0x322)][_0x25e337(0x2a7)],'redoState':_0xb2dcaf[_0x25e337(0x322)][_0x25e337(0x2a7)]}),_0x2192b2=_0x4d27a0['m1Prime'],_0x3ad737=_0xb2dcaf[_0x25e337(0x3b8)];}_0x2192b2=a[_0x25e337(0x457)]['deepClone'](_0x3f854e[_0x25e337(0x2a1)][0x0]),_0x3ad737=a[_0x25e337(0x457)][_0x25e337(0x5b2)](_0x3f854e[_0x25e337(0x2a1)][0x0]);for(let _0xa1dd71=_0x277ee9[_0x25e337(0x216)]-0x1;_0xa1dd71>=0x0;_0xa1dd71--){const _0x3f6b04={'id':_0x25e337(0x453),'params':{'unitId':_0x277ee9[_0xa1dd71]['unitId'],..._0x277ee9[_0xa1dd71]['undoState']}},_0x1b98c6={'id':_0x25e337(0x453),'params':{'unitId':_0x277ee9[_0xa1dd71]['unitId'],..._0x277ee9[_0xa1dd71][_0x25e337(0x1d7)]}},_0x4ab7ed=this[_0x25e337(0x22c)][_0x25e337(0x60c)](_0x2192b2,_0x3f6b04,!0x1),_0x36db9e=this[_0x25e337(0x22c)]['transformMutation'](_0x3ad737,_0x1b98c6,!0x1);if(S[_0x25e337(0x495)](_0x4ab7ed))throw _0x4ab7ed[_0x25e337(0x362)];if(S[_0x25e337(0x495)](_0x36db9e))throw _0x36db9e[_0x25e337(0x362)];_0x1df595['unshift']({..._0x277ee9[_0xa1dd71],'undoState':_0x4ab7ed[_0x25e337(0x322)][_0x25e337(0x2a7)],'redoState':_0x36db9e[_0x25e337(0x322)]['params']}),_0x2192b2=_0x4ab7ed['m1Prime'],_0x3ad737=_0x36db9e['m1Prime'];}this[_0x25e337(0x502)][_0x25e337(0x2ee)](_0x83f4bf,{'history':_0x19a08a,'collaboration':_0x1df595});}};We=wi([et(0x0,a[_0x454d83(0x271)](a['Injector'])),et(0x1,S[_0x454d83(0x395)]),et(0x2,a['Inject'](J[_0x454d83(0x577)]))],We);function _n(_0x2cb0b5){let _0x58f5cb='';for(const _0x493c6b of _0x2cb0b5){const {startOffset:_0xf70bab,endOffset:_0x2491eb,isActive:_0x893cad,rangeType:_0x3483ea,segmentId:_0x3af914,segmentPage:_0x21a341}=_0x493c6b;_0x58f5cb['length']&&(_0x58f5cb+=','),_0x58f5cb+=_0xf70bab+':'+_0x2491eb+':'+(_0x893cad?'1':'0')+':'+_0x3483ea+':'+_0x3af914+':'+_0x21a341;}return _0x58f5cb;}function Pi(_0x305c52){const _0x1eb016=_0x454d83,_0x3e65c1=_0x305c52[_0x1eb016(0x21a)](','),_0x4e843d=[];for(const _0x44b3d6 of _0x3e65c1){const [_0x5724a4,_0xba5da0,_0x22e261,_0xdb4313,_0x4e00f0,_0xbcfc3f]=_0x44b3d6[_0x1eb016(0x21a)](':');_0x4e843d[_0x1eb016(0x54c)]({'startOffset':Number(_0x5724a4),'endOffset':Number(_0xba5da0),'collapsed':_0x5724a4===_0xba5da0,'isActive':_0x22e261==='1','rangeType':_0xdb4313===a[_0x1eb016(0x31e)][_0x1eb016(0x62e)]?a[_0x1eb016(0x31e)]['TEXT']:a['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x4e00f0==_0x1eb016(0x2ff)?String(_0x4e00f0):'','segmentPage':Number(_0xbcfc3f!=null?_0xbcfc3f:-0x1)});}return _0x4e843d['some'](_0x2c3149=>_0x2c3149[_0x1eb016(0x36e)])||(_0x4e843d[0x0][_0x1eb016(0x36e)]=!0x0),_0x4e843d;}class Tt extends a[_0x454d83(0x28b)]{constructor(){const _0x8ae6b5=_0x454d83;super(...arguments),I(this,'_collabCursorState$',new A[(_0x8ae6b5(0x50c))](null)),I(this,_0x8ae6b5(0x32e),this['_collabCursorState$'][_0x8ae6b5(0x443)]());}[_0x454d83(0x5ab)](_0xe68041){const _0x13e6ea=_0x454d83,{unitID:_0x2209a5,memberID:_0x2fbc14,textRanges:_0x341187}=_0xe68041,_0x266436=_n(_0x341187);if(_0x266436==='')return;const _0x1ece16={'unitID':_0x2209a5,'memberID':_0x2fbc14,'selection':_0x266436};this[_0x13e6ea(0x629)]['next'](_0x1ece16);}}var Ui=Object[_0x454d83(0x276)],Mi=Object[_0x454d83(0x3ec)],Ai=(_0x58a6b6,_0x3b459c,_0x117da1,_0x2a503b)=>{const _0x16ad36=_0x454d83;for(var _0x2665cd=_0x2a503b>0x1?void 0x0:_0x2a503b?Mi(_0x3b459c,_0x117da1):_0x3b459c,_0x535db4=_0x58a6b6[_0x16ad36(0x216)]-0x1,_0x41c73c;_0x535db4>=0x0;_0x535db4--)(_0x41c73c=_0x58a6b6[_0x535db4])&&(_0x2665cd=(_0x2a503b?_0x41c73c(_0x3b459c,_0x117da1,_0x2665cd):_0x41c73c(_0x2665cd))||_0x2665cd);return _0x2a503b&&_0x2665cd&&Ui(_0x3b459c,_0x117da1,_0x2665cd),_0x2665cd;},Lt=(_0x31ece2,_0x3594a4)=>(_0x29e761,_0x31c212)=>_0x3594a4(_0x29e761,_0x31c212,_0x31ece2);let Fe=class{constructor(_0x4d676e,_0x514ca7){const _0x4581fc=_0x454d83;this[_0x4581fc(0x1ac)]=_0x4d676e,this[_0x4581fc(0x22c)]=_0x514ca7;}['transformSelections'](_0x4d9032){const _0x5629e1=_0x454d83;var _0x3c4ae5;const _0x2c1924=this['_injector'][_0x5629e1(0x572)](ye['DocSelectionManagerService']),_0x5a35dd=(_0x3c4ae5=_0x2c1924[_0x5629e1(0x296)]())!=null?_0x3c4ae5:[];if(_0x5a35dd['length']===0x0)return;const _0x3dbe23=_0x4d9032['unitID'],_0x38b82b=[{'id':_0x5629e1(0x453),'params':{'unitId':_0x3dbe23,'actions':null,'textRanges':_0x5a35dd}}],_0x972c62=this[_0x5629e1(0x22c)]['transformMutationsWithChangeset'](_0x4d9032,_0x38b82b);if(!S[_0x5629e1(0x556)](_0x972c62))throw _0x972c62[_0x5629e1(0x362)];const _0x585b26=_0x972c62[_0x5629e1(0x322)][0x0][_0x5629e1(0x2a7)][_0x5629e1(0x5b1)];Array['isArray'](_0x585b26)&&_0x585b26[_0x5629e1(0x216)]&&_0x2c1924[_0x5629e1(0x58f)](_0x585b26,{'unitId':_0x3dbe23,'subUnitId':_0x3dbe23},!0x1);}};Fe=Ai([Lt(0x0,a['Inject'](a['Injector'])),Lt(0x1,S[_0x454d83(0x395)])],Fe);const Ni=new Set([k[_0x454d83(0x4b8)]['id']]);function xt(_0x5e0b33,_0x299703,_0x1f1819,_0x4fbb8f,_0x6dec7){const _0x249ca7=_0x454d83;var _0x4eb891,_0x132a90,_0x9f7560,_0xa36ab5;const _0x3281ff=[];for(const _0x2ffe23 of _0x5e0b33)if(Ni[_0x249ca7(0x44a)](_0x2ffe23['id'])){if(_0x3281ff[_0x249ca7(0x216)]>0x0)break;_0x3281ff[_0x249ca7(0x54c)](_0x2ffe23);break;}else _0x3281ff[_0x249ca7(0x54c)](_0x2ffe23);const _0x10f3f5=(_0x132a90=(_0x4eb891=_0x6dec7['getCurrentUser']())==null?void 0x0:_0x4eb891['userID'])!=null?_0x132a90:'unknown',_0xfcf18a=(_0xa36ab5=(_0x9f7560=_0x6dec7[_0x249ca7(0x22a)]())==null?void 0x0:_0x9f7560[_0x249ca7(0x32b)])!=null?_0xa36ab5:'unknown';return{'changeset':{'unitID':_0x299703,'type':S['mapDocumentTypeToUniverType'](_0x1f1819[_0x249ca7(0x507)](_0x299703)),'baseRev':_0x4fbb8f['getCurrentRevOfUnit'](_0x299703),'revision':0x0,'userID':_0x10f3f5,'memberID':_0xfcf18a,'mutations':_0x3281ff},'pendingMutations':_0x5e0b33['slice'](_0x3281ff[_0x249ca7(0x216)])};}function Li(_0x43da0d,_0x52e072,_0x1881a9,_0x1f63fc,_0xee111){const _0x406f60=_0x454d83;var _0x538359,_0x4fa9e9,_0x1642c3,_0x58df7b;const _0x48b726=[_0x43da0d[_0x406f60(0x4e6)]((_0x30d303,_0xa27a04)=>{const _0x2e9baa=_0x406f60;var _0x204a12;const {id:_0x30b36b}=_0x30d303,{id:_0x417acb,type:_0x125246}=_0xa27a04,_0x30982a=(_0x204a12=_0x30d303[_0x2e9baa(0x2a7)])!=null?_0x204a12:{'actions':null},_0x1160f0=_0xa27a04[_0x2e9baa(0x2a7)];if(_0x30b36b&&_0x30b36b!==_0x417acb)throw new Error(_0x2e9baa(0x2bc)+_0x30b36b+_0x2e9baa(0x1fe)+_0x417acb+'.');return{..._0x30d303,'id':_0x417acb,'type':_0x125246,'params':{'unitId':_0x1160f0[_0x2e9baa(0x26c)],'textRanges':_0x1160f0[_0x2e9baa(0x5b1)],'actions':a['JSONX']['compose'](_0x30982a['actions'],_0x1160f0[_0x2e9baa(0x55c)])}};},{})],_0x184ab8=(_0x4fa9e9=(_0x538359=_0xee111[_0x406f60(0x22a)]())==null?void 0x0:_0x538359[_0x406f60(0x56b)])!=null?_0x4fa9e9:_0x406f60(0x291),_0x4cf36f=(_0x58df7b=(_0x1642c3=_0xee111[_0x406f60(0x22a)]())==null?void 0x0:_0x1642c3[_0x406f60(0x32b)])!=null?_0x58df7b:'unknown';return{'changeset':{'unitID':_0x52e072,'type':S['mapDocumentTypeToUniverType'](_0x1881a9[_0x406f60(0x507)](_0x52e072)),'baseRev':_0x1f63fc['getCurrentRevOfUnit'](_0x52e072),'revision':0x0,'userID':_0x184ab8,'memberID':_0x4cf36f,'mutations':_0x48b726},'pendingMutations':[]};}function un(_0x2f70bc,_0x11be0b){const _0x3ecda2=_0x454d83,_0x4125eb=new A['ReplaySubject'](0x1);return setTimeout(()=>_0x4125eb[_0x3ecda2(0x40e)](_0x11be0b),_0x2f70bc),_0x4125eb[_0x3ecda2(0x443)]()[_0x3ecda2(0x358)](A[_0x3ecda2(0x5fe)](0x1));}const xi={'id':k['EmptyMutation']['id'],'type':a[_0x454d83(0x32f)][_0x454d83(0x49d)],'params':{}};var ji=Object[_0x454d83(0x276)],$i=Object[_0x454d83(0x3ec)],Ie=(_0x59b7e1,_0x401a1e,_0x3cef75,_0x187522)=>{const _0x495ca3=_0x454d83;for(var _0x398210=_0x187522>0x1?void 0x0:_0x187522?$i(_0x401a1e,_0x3cef75):_0x401a1e,_0x14392e=_0x59b7e1[_0x495ca3(0x216)]-0x1,_0xdc3227;_0x14392e>=0x0;_0x14392e--)(_0xdc3227=_0x59b7e1[_0x14392e])&&(_0x398210=(_0x187522?_0xdc3227(_0x401a1e,_0x3cef75,_0x398210):_0xdc3227(_0x398210))||_0x398210);return _0x187522&&_0x398210&&ji(_0x401a1e,_0x3cef75,_0x398210),_0x398210;},N=(_0x18e663,_0xd2f3a0)=>(_0x1d7821,_0x20de86)=>_0xd2f3a0(_0x1d7821,_0x20de86,_0x18e663),q=(_0x4185bd=>(_0x4185bd[_0x454d83(0x3d5)]=_0x454d83(0x3aa),_0x4185bd[_0x454d83(0x19f)]=_0x454d83(0x62a),_0x4185bd[_0x454d83(0x404)]=_0x454d83(0x1ec),_0x4185bd[_0x454d83(0x529)]=_0x454d83(0x5d5),_0x4185bd[_0x454d83(0x361)]=_0x454d83(0x2ef),_0x4185bd[_0x454d83(0x406)]='fetch_missing',_0x4185bd[_0x454d83(0x1e9)]=_0x454d83(0x2cf),_0x4185bd[_0x454d83(0x2e1)]=_0x454d83(0x193),_0x4185bd))(q||{});const dn=0xea60;class Ce{constructor(_0x419003,_0x14352b,_0x11729e,_0x198bcb,_0x3b4f78,_0x4ebb78,_0x7a76fa,_0x1a3a75,_0x36b71c){const _0x384d43=_0x454d83;I(this,_0x384d43(0x39a),null),I(this,'_pendingMutations',[]),(this[_0x384d43(0x42f)]=_0x419003,this['type']=_0x14352b,this[_0x384d43(0x3b9)]=_0x3b4f78,this['_commandService']=_0x4ebb78,this[_0x384d43(0x4a2)]=_0x7a76fa,this[_0x384d43(0x27a)]=_0x1a3a75,this[_0x384d43(0x436)]=_0x36b71c,this['_awaitingChangeset']=_0x11729e,this[_0x384d43(0x441)]=_0x198bcb);}[_0x454d83(0x473)](_0x23d363){const _0x266825=_0x454d83,_0x14e0ff=this[_0x266825(0x27a)]['getCurrentRevOfUnit'](this[_0x266825(0x42f)]);return _0x23d363[_0x266825(0x2aa)]>_0x14e0ff+0x1?(this[_0x266825(0x3b9)]['onMissingChangesets']({'from':_0x14e0ff,'to':_0x23d363[_0x266825(0x2aa)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xdae46){const _0x34e7e5=_0x454d83;this[_0x34e7e5(0x4a2)][_0x34e7e5(0x49b)](this[_0x34e7e5(0x42f)],_0xdae46);}['_transformSelections'](_0xf746d6){const _0x79a72b=_0x454d83;var _0x459cf7,_0x3c03ac;(_0x3c03ac=(_0x459cf7=this[_0x79a72b(0x3b9)])['onTransformSelections'])==null||_0x3c03ac[_0x79a72b(0x1f8)](_0x459cf7,_0xf746d6);}[_0x454d83(0x460)](_0x1a29d4){const _0x576c49=_0x454d83;var _0x331436,_0x139949;return(_0x139949=(_0x331436=this[_0x576c49(0x3b9)])[_0x576c49(0x3f3)])==null?void 0x0:_0x139949[_0x576c49(0x1f8)](_0x331436,_0x1a29d4);}['_transformStateCache'](_0x313882){const _0x5dec75=_0x454d83;var _0xab044e,_0x1729d1;return(_0x1729d1=(_0xab044e=this[_0x5dec75(0x3b9)])['onTransformState'])==null?void 0x0:_0x1729d1[_0x5dec75(0x1f8)](_0xab044e,_0x313882);}['_transformRemoteChangesetByIMECache'](_0x101549){const _0x3a4d7d=_0x454d83;var _0x41285,_0x4e9c6b,_0xa35dd4;return(_0xa35dd4=(_0x4e9c6b=(_0x41285=this[_0x3a4d7d(0x3b9)])[_0x3a4d7d(0x324)])==null?void 0x0:_0x4e9c6b[_0x3a4d7d(0x1f8)](_0x41285,_0x101549))!=null?_0xa35dd4:_0x101549;}[_0x454d83(0x57a)](_0x4d2f88){const _0x2a92d8=_0x454d83;var _0x4d4513,_0xbe9e28,_0x26b2c3;return(_0x26b2c3=(_0xbe9e28=(_0x4d4513=this[_0x2a92d8(0x3b9)])[_0x2a92d8(0x25d)])==null?void 0x0:_0xbe9e28['call'](_0x4d4513,_0x4d2f88))!=null?_0x26b2c3:_0x4d2f88;}[_0x454d83(0x434)](_0x41f3ac){const _0x2bc4ad=_0x454d83;var _0x2dfe14,_0x9ad35c;if(this[_0x2bc4ad(0x573)]===ie[_0x2bc4ad(0x55f)]){const {unitID:_0x1d50d4,mutations:_0x276700,memberID:_0x67bb5f}=_0x41f3ac,_0x22598a=_0x276700[0x0]['params']['textRanges'];Array[_0x2bc4ad(0x196)](_0x22598a)&&_0x22598a[_0x2bc4ad(0x216)]>0x0&&((_0x9ad35c=(_0x2dfe14=this['_handler'])[_0x2bc4ad(0x20c)])==null||_0x9ad35c['call'](_0x2dfe14,{'unitID':_0x1d50d4,'memberID':_0x67bb5f,'textRanges':_0x22598a}));}}[_0x454d83(0x4ea)](){const _0x31ddb6=_0x454d83;this[_0x31ddb6(0x436)]['updateOfflineData'](this[_0x31ddb6(0x42f)],this[_0x31ddb6(0x573)],this[_0x31ddb6(0x39a)],this[_0x31ddb6(0x441)]);}[_0x454d83(0x2eb)](){const _0x53f675=_0x454d83;return this[_0x53f675(0x27a)][_0x53f675(0x346)](this[_0x53f675(0x42f)]);}['_incrementRevisionNumber'](){const _0x7093fa=_0x454d83;this[_0x7093fa(0x27a)][_0x7093fa(0x25a)](this[_0x7093fa(0x42f)]);}[_0x454d83(0x251)](_0x1c74bf){const _0x3c3107=_0x454d83;var _0x57e4b2;let _0x5a7ead=this[_0x3c3107(0x5d7)](_0x1c74bf);_0x5a7ead=this[_0x3c3107(0x57a)](_0x5a7ead);const _0x1e4c33=a[_0x3c3107(0x201)](_0x5a7ead[_0x3c3107(0x2a1)],this['_commandService'],{'fromCollab':!0x0});if(!_0x1e4c33[_0x3c3107(0x45b)])throw _0x1e4c33['error']instanceof Error?_0x1e4c33[_0x3c3107(0x362)]:new Error((_0x57e4b2=_0x1e4c33['error'])!=null?_0x57e4b2:_0x3c3107(0x334));this[_0x3c3107(0x460)](_0x5a7ead),this[_0x3c3107(0x456)](_0x5a7ead),this[_0x3c3107(0x2c1)](_0x1c74bf),this[_0x3c3107(0x1e4)](_0x5a7ead),this[_0x3c3107(0x434)](_0x5a7ead),this['_incrementRevisionNumber']();}}let Oe=class extends Ce{constructor(_0x2daa5c,_0x35161e,_0x1ecc77,_0x4314f2,_0x19c66b,_0x2795be,_0x3fbbb9,_0x23c8ba,_0x3cb03c,_0x5ef06e){const _0x4186cf=_0x454d83;super(_0x2daa5c,_0x35161e,null,[],_0x1ecc77,_0x23c8ba,_0x3fbbb9,_0x4314f2,_0x19c66b),I(this,_0x4186cf(0x281),_0x4186cf(0x62a)),(this[_0x4186cf(0x1ac)]=_0x2795be,this[_0x4186cf(0x25f)]=_0x3cb03c,this['_transformService']=_0x5ef06e);}[_0x454d83(0x4b5)](_0xf94e97){const _0x39e53e=_0x454d83,_0xbaa09=this[_0x39e53e(0x1ac)][_0x39e53e(0x2fa)](ce,this[_0x39e53e(0x42f)],this['type'],[_0xf94e97],this[_0x39e53e(0x3b9)]);return _0xbaa09['_schedule'](),_0xbaa09[_0x39e53e(0x4ea)](),_0xbaa09;}[_0x454d83(0x602)](_0x18ad48){const _0x5d2b4f=_0x454d83;if(this[_0x5d2b4f(0x473)](_0x18ad48))return this[_0x5d2b4f(0x1ac)][_0x5d2b4f(0x2fa)](re,this[_0x5d2b4f(0x42f)],this['type'],null,[],null,[_0x18ad48],this[_0x5d2b4f(0x3b9)]);try{const _0x6eb8fc=this['_transformService']['transformMutationsWithChangeset'](_0x18ad48,[xi]);if(S[_0x5d2b4f(0x556)](_0x6eb8fc)){const {c1Prime:_0x5d42b7}=_0x6eb8fc;return this['_executeRemoteChangeset'](_0x5d42b7),this;}throw _0x6eb8fc[_0x5d2b4f(0x362)];}catch(_0x2322ee){return this['_logService']['error'](_0x2322ee),this['_onConflict'](!0x1);}}[_0x454d83(0x4d9)](_0x4e3d42){const _0x3a408e=_0x454d83;return this[_0x3a408e(0x1ac)][_0x3a408e(0x2fa)](ve,this[_0x3a408e(0x42f)],this[_0x3a408e(0x573)],null,[],this['_handler'],_0x4e3d42);}[_0x454d83(0x4fa)](){const _0xe66b7c=_0x454d83;throw new Error(_0xe66b7c(0x3d1));}[_0x454d83(0x5c1)](){const _0x294efb=_0x454d83;throw new Error(_0x294efb(0x63d));}['onRemoteRetry'](){return this;}[_0x454d83(0x297)](){const _0x2f1db5=_0x454d83;return this[_0x2f1db5(0x1ac)]['createInstance'](me,this[_0x2f1db5(0x42f)],this[_0x2f1db5(0x573)],null,[],this['_handler']);}[_0x454d83(0x46c)](){return this;}[_0x454d83(0x2a0)](){const _0x288bda=_0x454d83;throw new Error(_0x288bda(0x594));}[_0x454d83(0x5fc)](){const _0x253397=_0x454d83,_0x4c239c=this[_0x253397(0x27a)]['getCurrentRevOfUnit'](this[_0x253397(0x42f)]);return this[_0x253397(0x3b9)][_0x253397(0x190)]({'from':_0x4c239c,'to':0x0}),this[_0x253397(0x1ac)][_0x253397(0x2fa)](re,this[_0x253397(0x42f)],this[_0x253397(0x573)],null,[],null,[],this[_0x253397(0x3b9)]);}};Oe=Ie([N(0x3,a[_0x454d83(0x271)](S[_0x454d83(0x255)])),N(0x4,a[_0x454d83(0x271)](exports[_0x454d83(0x37c)])),N(0x5,a[_0x454d83(0x271)](a[_0x454d83(0x41c)])),N(0x6,a['IUndoRedoService']),N(0x7,a['ICommandService']),N(0x8,a['ILogService']),N(0x9,S['ITransformService'])],Oe);let ce=class extends Ce{constructor(_0x4ca5f8,_0x5b3104,_0x167ff8,_0x585659,_0x30c31c,_0x4259be,_0x36889b,_0x476efb,_0xa55dea,_0x21cbbc,_0x5a06a2,_0x5acb15,_0x2410f6,_0x155fee){const _0x2ff70f=_0x454d83;super(_0x4ca5f8,_0x5b3104,null,_0x167ff8,_0x585659,_0x21cbbc,_0x155fee,_0x4259be,_0x36889b),I(this,_0x2ff70f(0x281),_0x2ff70f(0x1ec)),I(this,_0x2ff70f(0x27e),null),I(this,'_sendingTimer',null),(this['_injector']=_0x30c31c,this[_0x2ff70f(0x535)]=_0x476efb,this['_logService']=_0xa55dea,this[_0x2ff70f(0x54e)]=_0x5a06a2,this[_0x2ff70f(0x22c)]=_0x5acb15,this['_univerInstanceService']=_0x2410f6);}[_0x454d83(0x4b5)](_0x481142){const _0x4c9a95=_0x454d83;return this[_0x4c9a95(0x441)]['push'](_0x481142),this[_0x4c9a95(0x4ea)](),this;}[_0x454d83(0x602)](_0x2920df){const _0x2c8ac7=_0x454d83;if(this[_0x2c8ac7(0x473)](_0x2920df))return this[_0x2c8ac7(0x191)](),this[_0x2c8ac7(0x1ac)][_0x2c8ac7(0x2fa)](re,this[_0x2c8ac7(0x42f)],this[_0x2c8ac7(0x573)],null,this['_pendingMutations'],null,[_0x2920df],this[_0x2c8ac7(0x3b9)]);try{const _0x5a5bfd=this[_0x2c8ac7(0x22c)][_0x2c8ac7(0x472)](_0x2920df,this[_0x2c8ac7(0x441)]);if(S['isTransformMutationsWithChangesetSuccess'](_0x5a5bfd)){const {c1Prime:_0xeb49ef,m2Prime:_0x378fa9}=_0x5a5bfd;this[_0x2c8ac7(0x251)](_0xeb49ef);const _0x5e7869=this[_0x2c8ac7(0x1ac)][_0x2c8ac7(0x2fa)](ce,this[_0x2c8ac7(0x42f)],this[_0x2c8ac7(0x573)],_0x378fa9,this[_0x2c8ac7(0x3b9)]);return this['_clearScheduledTask'](),_0x5e7869[_0x2c8ac7(0x367)](this[_0x2c8ac7(0x27e)]?Math[_0x2c8ac7(0x1c4)](0x0,new Date()[_0x2c8ac7(0x303)]()-this[_0x2c8ac7(0x27e)]):this['_getSendChangesetTimeout']()),_0x5e7869;}throw _0x5a5bfd[_0x2c8ac7(0x362)];}catch(_0x2008a7){return this[_0x2c8ac7(0x25f)][_0x2c8ac7(0x362)](_0x2008a7),this[_0x2c8ac7(0x4d9)](!0x1);}}[_0x454d83(0x4fa)](){const _0x53dc3d=_0x454d83;throw new Error(_0x53dc3d(0x4f7));}['onRemoteRej'](){const _0x2055f8=_0x454d83;throw new Error(_0x2055f8(0x4b3));}['onRemoteRetry'](){return this;}[_0x454d83(0x297)](){const _0x498b31=_0x454d83;return this['_clearScheduledTask'](),this[_0x498b31(0x1ac)][_0x498b31(0x2fa)](me,this[_0x498b31(0x42f)],this[_0x498b31(0x573)],null,this[_0x498b31(0x441)],this['_handler']);}[_0x454d83(0x46c)](){return this;}[_0x454d83(0x367)](_0x13f07e){const _0x2c91e6=_0x454d83,_0x141c4a=_0x13f07e!=null?_0x13f07e:this[_0x2c91e6(0x26f)]();this[_0x2c91e6(0x27e)]=new Date()[_0x2c91e6(0x303)](),this[_0x2c91e6(0x23d)]=window[_0x2c91e6(0x1b7)](()=>{const _0x140f29=_0x2c91e6;this[_0x140f29(0x191)]();let _0x2dd837=null;switch(this[_0x140f29(0x573)]){case ie[_0x140f29(0x351)]:{_0x2dd837=xt(this[_0x140f29(0x441)],this['unitID'],this[_0x140f29(0x29b)],this[_0x140f29(0x27a)],this[_0x140f29(0x535)]);break;}case ie[_0x140f29(0x55f)]:{this[_0x140f29(0x441)][_0x140f29(0x5aa)](_0x365332=>_0x365332['id']===ye[_0x140f29(0x615)]['id'])?_0x2dd837=Li(this[_0x140f29(0x441)],this[_0x140f29(0x42f)],this['_univerInstanceService'],this[_0x140f29(0x27a)],this[_0x140f29(0x535)]):_0x2dd837=xt(this[_0x140f29(0x441)],this[_0x140f29(0x42f)],this[_0x140f29(0x29b)],this[_0x140f29(0x27a)],this[_0x140f29(0x535)]);break;}default:throw new Error(_0x140f29(0x3e9)+this['type']+_0x140f29(0x261));}const {changeset:_0x11822b,pendingMutations:_0x5f4fac}=_0x2dd837;this[_0x140f29(0x3b9)][_0x140f29(0x618)](_0x11822b);const _0x45e3c8=_0x5f4fac[_0x140f29(0x216)]?this[_0x140f29(0x1ac)][_0x140f29(0x2fa)](le,this[_0x140f29(0x42f)],this['type'],_0x11822b,_0x5f4fac,this[_0x140f29(0x3b9)],void 0x0):this['_injector'][_0x140f29(0x2fa)](fe,this[_0x140f29(0x42f)],this[_0x140f29(0x573)],_0x11822b,this['_handler']);_0x45e3c8[_0x140f29(0x4ea)](),this[_0x140f29(0x3b9)]['onStateChange'](this,_0x45e3c8);},_0x141c4a);}[_0x454d83(0x26f)](){const _0x228b52=_0x454d83;var _0x28fba4;const _0x4470a8=this[_0x228b52(0x54e)][_0x228b52(0x2ec)](te);return(_0x28fba4=_0x4470a8==null?void 0x0:_0x4470a8[_0x228b52(0x4ee)])!=null?_0x28fba4:Bn;}[_0x454d83(0x2a0)](){const _0x324c40=_0x454d83;throw new Error(_0x324c40(0x2da));}[_0x454d83(0x191)](){const _0x1062eb=_0x454d83;this[_0x1062eb(0x23d)]!=null&&(clearTimeout(this[_0x1062eb(0x23d)]),this[_0x1062eb(0x23d)]=null);}[_0x454d83(0x4d9)](_0x3aec90){const _0x467480=_0x454d83;return this['_clearScheduledTask'](),this[_0x467480(0x1ac)][_0x467480(0x2fa)](ve,this['unitID'],this[_0x467480(0x573)],null,this[_0x467480(0x441)],this[_0x467480(0x3b9)],_0x3aec90);}};ce=Ie([N(0x4,a[_0x454d83(0x271)](a['Injector'])),N(0x5,a[_0x454d83(0x271)](S[_0x454d83(0x255)])),N(0x6,a[_0x454d83(0x271)](exports['LocalCacheService'])),N(0x7,a['Inject'](exports['MemberService'])),N(0x8,a[_0x454d83(0x1c6)]),N(0x9,a[_0x454d83(0x462)]),N(0xa,a[_0x454d83(0x48e)]),N(0xb,S['ITransformService']),N(0xc,a['IUniverInstanceService']),N(0xd,a[_0x454d83(0x34a)])],ce);let fe=class extends Ce{constructor(_0x535e1b,_0x225593,_0x51f3a,_0x49407d,_0x735b5a,_0x3d6e1f,_0x13bea8,_0x4b18ba,_0x4d3506,_0x475da7,_0x3ae0a8){const _0x5c47a2=_0x454d83;super(_0x535e1b,_0x225593,_0x51f3a,[],_0x49407d,_0x4b18ba,_0x3ae0a8,_0x3d6e1f,_0x13bea8),I(this,_0x5c47a2(0x281),_0x5c47a2(0x5d5)),I(this,_0x5c47a2(0x1a6),0x0),I(this,_0x5c47a2(0x4ec)),I(this,_0x5c47a2(0x396)),(this['_injector']=_0x735b5a,this[_0x5c47a2(0x25f)]=_0x4d3506,this[_0x5c47a2(0x22c)]=_0x475da7);}['appendMutation'](_0x3a45e5){const _0x379b1b=_0x454d83;this['_clearScheduledTask']();const _0x5936ef=this[_0x379b1b(0x1ac)][_0x379b1b(0x2fa)](le,this[_0x379b1b(0x42f)],this['type'],this[_0x379b1b(0x39a)],[_0x3a45e5],this[_0x379b1b(0x3b9)],this[_0x379b1b(0x4ec)]);return _0x5936ef[_0x379b1b(0x4ea)](),_0x5936ef;}[_0x454d83(0x602)](_0x4aad61){const _0x2bb5fb=_0x454d83;if(this['_checkMissing'](_0x4aad61))return this[_0x2bb5fb(0x191)](),this['_injector'][_0x2bb5fb(0x2fa)](re,this[_0x2bb5fb(0x42f)],this['type'],this[_0x2bb5fb(0x39a)],[],null,[_0x4aad61],this[_0x2bb5fb(0x3b9)]);try{const _0x100b2d=this['_transformService']['transformChangesets']([_0x4aad61],[this[_0x2bb5fb(0x39a)]],!0x1);if(S[_0x2bb5fb(0x349)](_0x100b2d)){const {c1Prime:_0x24d963,c2Prime:_0x532a38}=_0x100b2d;this[_0x2bb5fb(0x251)](_0x24d963[0x0]),_0x532a38[0x0][_0x2bb5fb(0x3fe)]=this[_0x2bb5fb(0x2eb)](),this['_clearScheduledTask']();const _0x27af50=this['_injector']['createInstance'](fe,this[_0x2bb5fb(0x42f)],this['type'],_0x532a38[0x0],this[_0x2bb5fb(0x3b9)]);return _0x27af50[_0x2bb5fb(0x4ea)](),_0x27af50;}return this[_0x2bb5fb(0x4d9)](!0x1);}catch(_0x1a36f4){return this[_0x2bb5fb(0x25f)][_0x2bb5fb(0x362)](_0x1a36f4),this[_0x2bb5fb(0x4d9)](!0x1);}}[_0x454d83(0x4fa)](_0x2ec381){const _0x284754=_0x454d83;this['_clearScheduledTask']();const _0x76b1f6=this[_0x284754(0x27a)]['getCurrentRevOfUnit'](this[_0x284754(0x42f)]);if(_0x2ec381[_0x284754(0x2aa)]<_0x76b1f6-0x1)return this;if(this[_0x284754(0x473)](_0x2ec381))return this['_injector'][_0x284754(0x2fa)](re,this['unitID'],this[_0x284754(0x573)],null,[],this[_0x284754(0x39a)],[],this[_0x284754(0x3b9)]);this[_0x284754(0x381)]();const _0x4f75d0=this[_0x284754(0x1ac)][_0x284754(0x2fa)](Oe,this[_0x284754(0x42f)],this['type'],this[_0x284754(0x3b9)]);return _0x4f75d0['_updateLocalCache'](),_0x4f75d0;}['onRemoteRej'](_0x50b86c){const _0x3a6015=_0x454d83;return this[_0x3a6015(0x4d9)](!!(_0x50b86c!=null&&_0x50b86c[_0x3a6015(0x30e)]));}[_0x454d83(0x608)](_0x18e1b5){const _0xe5b617=_0x454d83;return this['_resendTimeout']>dn?this['toggleOffline']():(this[_0xe5b617(0x4ec)]=un(this[_0xe5b617(0x1a6)],{'timeout':this[_0xe5b617(0x1a6)],'reqId':_0x18e1b5[_0xe5b617(0x1d1)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x12f5ca,timeout:_0x1d00da})=>{const _0x22361c=_0xe5b617;this[_0x22361c(0x557)](_0x12f5ca,_0x1d00da);}),this);}[_0x454d83(0x297)](){const _0xc3e200=_0x454d83;return this[_0xc3e200(0x191)](),this[_0xc3e200(0x1ac)][_0xc3e200(0x2fa)](me,this['unitID'],this[_0xc3e200(0x573)],this[_0xc3e200(0x39a)],[],this[_0xc3e200(0x3b9)]);}[_0x454d83(0x46c)](){return this;}[_0x454d83(0x2a0)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x119804){const _0x429dbf=_0x454d83;return this[_0x429dbf(0x191)](),this[_0x429dbf(0x1ac)][_0x429dbf(0x2fa)](ve,this['unitID'],this[_0x429dbf(0x573)],this['_awaitingChangeset'],[],this[_0x429dbf(0x3b9)],_0x119804);}[_0x454d83(0x557)](_0x16f469,_0x2ba3ab){const _0x54eed3=_0x454d83;var _0x542220;_0x16f469===((_0x542220=this['_awaitingChangeset'])==null?void 0x0:_0x542220[_0x54eed3(0x1d1)])&&(this['resend'](),this[_0x54eed3(0x1a6)]=_0x2ba3ab===0x0?0x3e8:_0x2ba3ab*0x2);}[_0x454d83(0x191)](){const _0x3b1f82=_0x454d83;var _0x498269;(_0x498269=this[_0x3b1f82(0x396)])==null||_0x498269[_0x3b1f82(0x309)](),this[_0x3b1f82(0x1a6)]=0x0;}};fe=Ie([N(0x4,a[_0x454d83(0x271)](a[_0x454d83(0x41c)])),N(0x5,a[_0x454d83(0x271)](S[_0x454d83(0x255)])),N(0x6,a[_0x454d83(0x271)](exports[_0x454d83(0x37c)])),N(0x7,a[_0x454d83(0x462)]),N(0x8,a['ILogService']),N(0x9,S[_0x454d83(0x395)]),N(0xa,a['IUndoRedoService'])],fe);let le=class extends Ce{constructor(_0x1edc66,_0x233524,_0x261ed3,_0x5332cf,_0x328463,_0x47526d,_0x5e0187,_0x2fd417,_0x546aa6,_0x522efd,_0x5e284a,_0x265d19,_0x4f5c82){const _0x4b4aba=_0x454d83;super(_0x1edc66,_0x233524,_0x261ed3,_0x5332cf,_0x328463,_0x522efd,_0x4f5c82,_0x2fd417,_0x546aa6),I(this,_0x4b4aba(0x281),_0x4b4aba(0x2ef)),I(this,_0x4b4aba(0x1a6),0x0),I(this,_0x4b4aba(0x4ec)),I(this,'_sender'),(this[_0x4b4aba(0x1ac)]=_0x5e0187,this[_0x4b4aba(0x25f)]=_0x5e284a,this['_transformService']=_0x265d19,_0x47526d&&(this[_0x4b4aba(0x4ec)]=_0x47526d,this[_0x4b4aba(0x396)]=this[_0x4b4aba(0x4ec)][_0x4b4aba(0x487)](({reqId:_0x4a9abd,timeout:_0x17fc38})=>{const _0x443acf=_0x4b4aba;this[_0x443acf(0x557)](_0x4a9abd,_0x17fc38);})));}[_0x454d83(0x4b5)](_0xf90dfc){const _0x4bf9cc=_0x454d83;return this[_0x4bf9cc(0x441)]['push'](_0xf90dfc),this;}[_0x454d83(0x602)](_0x4e60f3){const _0x2eca86=_0x454d83;if(this[_0x2eca86(0x473)](_0x4e60f3))return this['_clearScheduledTask'](),this[_0x2eca86(0x1ac)]['createInstance'](re,this[_0x2eca86(0x42f)],this[_0x2eca86(0x573)],this[_0x2eca86(0x39a)],this[_0x2eca86(0x441)],null,[_0x4e60f3],this[_0x2eca86(0x3b9)]);try{const _0x51b540=this[_0x2eca86(0x22c)][_0x2eca86(0x2bd)]([_0x4e60f3],[this[_0x2eca86(0x39a)]],!0x1);if(S['isTransformChangesetsSuccess'](_0x51b540)){const {c1Prime:_0x16206b,c2Prime:_0xb98039}=_0x51b540,_0x428cba=this[_0x2eca86(0x22c)][_0x2eca86(0x472)](_0x16206b[0x0],this['_pendingMutations']);if(S[_0x2eca86(0x556)](_0x428cba)){const {c1Prime:_0x520bf9,m2Prime:_0x1e88b1}=_0x428cba;return this[_0x2eca86(0x251)](_0x520bf9),_0xb98039[0x0][_0x2eca86(0x3fe)]=this[_0x2eca86(0x2eb)](),this[_0x2eca86(0x191)](),this[_0x2eca86(0x1ac)]['createInstance'](le,this['unitID'],this['type'],_0xb98039[0x0],_0x1e88b1,this[_0x2eca86(0x3b9)],void 0x0);}throw _0x428cba[_0x2eca86(0x362)];}throw _0x51b540[_0x2eca86(0x362)];}catch(_0x2c0a91){return this[_0x2eca86(0x25f)][_0x2eca86(0x362)](_0x2c0a91),this[_0x2eca86(0x4d9)](!0x1);}}[_0x454d83(0x4fa)](_0x70cafb){const _0x159bd2=_0x454d83;if(this[_0x159bd2(0x191)](),this[_0x159bd2(0x473)](_0x70cafb))return this[_0x159bd2(0x1ac)][_0x159bd2(0x2fa)](re,this[_0x159bd2(0x42f)],this[_0x159bd2(0x573)],null,this['_pendingMutations'],this[_0x159bd2(0x39a)],[],this[_0x159bd2(0x3b9)]);this[_0x159bd2(0x381)]();const _0x13face=this['_injector'][_0x159bd2(0x2fa)](ce,this[_0x159bd2(0x42f)],this[_0x159bd2(0x573)],this['_pendingMutations'],this[_0x159bd2(0x3b9)]);return _0x13face[_0x159bd2(0x367)](),_0x13face[_0x159bd2(0x4ea)](),_0x13face;}[_0x454d83(0x5c1)](_0x5597c4){const _0x1df849=_0x454d83;return this[_0x1df849(0x4d9)](!!(_0x5597c4!=null&&_0x5597c4[_0x1df849(0x30e)]));}[_0x454d83(0x608)](_0x4c2596){const _0x3dcab9=_0x454d83;return this[_0x3dcab9(0x1a6)]>dn?this['toggleOffline']():(this[_0x3dcab9(0x4ec)]=un(this['_resendTimeout'],{'timeout':this[_0x3dcab9(0x1a6)],'reqId':_0x4c2596[_0x3dcab9(0x1d1)]}),this[_0x3dcab9(0x396)]=this[_0x3dcab9(0x4ec)]['subscribe'](({reqId:_0x2690e7,timeout:_0x417d09})=>{this['_resendWithTimeout'](_0x2690e7,_0x417d09);}),this);}[_0x454d83(0x297)](){const _0x2702d0=_0x454d83;return this[_0x2702d0(0x191)](),this['_injector']['createInstance'](me,this[_0x2702d0(0x42f)],this['type'],this[_0x2702d0(0x39a)],this[_0x2702d0(0x441)],this[_0x2702d0(0x3b9)]);}[_0x454d83(0x46c)](){return this;}[_0x454d83(0x2a0)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x5b2ad2){const _0x262508=_0x454d83;return this[_0x262508(0x191)](),this[_0x262508(0x1ac)][_0x262508(0x2fa)](ve,this['unitID'],this['type'],null,this[_0x262508(0x441)],this['_handler'],_0x5b2ad2);}[_0x454d83(0x557)](_0x47bbcd,_0x3e56c8){const _0x37483d=_0x454d83;var _0x5b72aa;_0x47bbcd===((_0x5b72aa=this[_0x37483d(0x39a)])==null?void 0x0:_0x5b72aa[_0x37483d(0x1d1)])&&(this[_0x37483d(0x2a0)](),this[_0x37483d(0x1a6)]=_0x3e56c8===0x0?0x3e8:_0x3e56c8*0x2);}[_0x454d83(0x191)](){const _0x24cdda=_0x454d83;var _0x4bccdd;(_0x4bccdd=this['_sender'])==null||_0x4bccdd[_0x24cdda(0x309)](),this['_resendTimeout']=0x0;}};le=Ie([N(0x6,a[_0x454d83(0x271)](a[_0x454d83(0x41c)])),N(0x7,a[_0x454d83(0x271)](S[_0x454d83(0x255)])),N(0x8,a['Inject'](exports[_0x454d83(0x37c)])),N(0x9,a['ICommandService']),N(0xa,a['ILogService']),N(0xb,S['ITransformService']),N(0xc,a[_0x454d83(0x34a)])],le);let ve=class extends Ce{constructor(_0x14c546,_0x4709f7,_0x18cf9d,_0x2542e0,_0x571db7,_0x17b2bd=!0x1,_0x1b1a02,_0x21760a,_0x4a9f80,_0x162016,_0x2b8b16,_0x54f6fb,_0x43fa89){const _0x510bdd=_0x454d83;super(_0x14c546,_0x4709f7,_0x18cf9d,_0x2542e0,_0x571db7,_0x21760a,_0x4a9f80,_0x2b8b16,_0x162016),I(this,_0x510bdd(0x281),'conflict'),(this[_0x510bdd(0x489)]=_0x17b2bd,this[_0x510bdd(0x568)]=_0x1b1a02,this[_0x510bdd(0x5ee)]=_0x54f6fb,this[_0x510bdd(0x50d)]=_0x43fa89,this[_0x510bdd(0x499)](),this[_0x510bdd(0x616)](),this[_0x510bdd(0x50f)]());}[_0x454d83(0x4b5)](){return this;}[_0x454d83(0x602)](){return this;}[_0x454d83(0x4fa)](){return this;}[_0x454d83(0x5c1)](){return this;}[_0x454d83(0x608)](){return this;}[_0x454d83(0x297)](){return this;}[_0x454d83(0x46c)](){return this;}[_0x454d83(0x2a0)](){const _0x32e0db=_0x454d83;throw new Error(_0x32e0db(0x512));}[_0x454d83(0x616)](){const _0x1ecc67=_0x454d83;this['_localCacheService'][_0x1ecc67(0x592)](this['unitID'],this[_0x1ecc67(0x573)],null,[]);}[_0x454d83(0x499)](){const _0x32430a=_0x454d83;this[_0x32430a(0x489)]?this[_0x32430a(0x50d)][_0x32430a(0x2c3)]({'title':this['_localeService']['t'](_0x32430a(0x2ce)),'content':this[_0x32430a(0x5ee)]['t']('permission.content'),'type':_0x32430a(0x362),'duration':0x0}):this[_0x32430a(0x50d)][_0x32430a(0x2c3)]({'title':this[_0x32430a(0x5ee)]['t'](_0x32430a(0x5e1)),'content':this[_0x32430a(0x5ee)]['t'](_0x32430a(0x481)),'type':_0x32430a(0x362),'duration':0x0});}[_0x454d83(0x50f)](){const _0x45fe39=_0x454d83;this[_0x45fe39(0x568)][_0x45fe39(0x5cc)](new k['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}};ve=Ie([N(0x6,a[_0x454d83(0x271)](a[_0x454d83(0x61e)])),N(0x7,a['ICommandService']),N(0x8,a[_0x454d83(0x34a)]),N(0x9,a[_0x454d83(0x271)](exports[_0x454d83(0x37c)])),N(0xa,a[_0x454d83(0x271)](S[_0x454d83(0x255)])),N(0xb,a[_0x454d83(0x271)](a[_0x454d83(0x4ab)])),N(0xc,ee[_0x454d83(0x53b)])],ve);let me=class extends Ce{constructor(_0x55ca8c,_0x4430f8,_0x502284,_0x48d8ab,_0x44ffe4,_0x50e394,_0x16d47e,_0x54a7c4,_0x28f215,_0x7d686b){const _0x3684fe=_0x454d83;super(_0x55ca8c,_0x4430f8,_0x502284,_0x48d8ab,_0x44ffe4,_0x28f215,_0x7d686b,_0x16d47e,_0x54a7c4),I(this,_0x3684fe(0x281),_0x3684fe(0x193)),this['_injector']=_0x50e394;}[_0x454d83(0x4b5)](_0x331f60){const _0x2942ea=_0x454d83;return this[_0x2942ea(0x441)][_0x2942ea(0x54c)](_0x331f60),this[_0x2942ea(0x4ea)](),this;}['onRemoteChangeset'](_0x18c755){const _0x1a43a9=_0x454d83;throw new Error(_0x1a43a9(0x510));}[_0x454d83(0x4fa)](){const _0x2a4bc1=_0x454d83;throw new Error(_0x2a4bc1(0x2fc));}[_0x454d83(0x5c1)](){const _0x383425=_0x454d83;throw new Error(_0x383425(0x399));}[_0x454d83(0x608)](){return this;}[_0x454d83(0x297)](){return this;}['toggleOnline'](){const _0x3f437e=_0x454d83,{_injector:_0x13a0e4,_pendingMutations:_0x40bc5b,_awaitingChangeset:_0xcf5f28,unitID:_0x3c5cc6,_handler:_0x5bebba,type:_0x1f7faa}=this,_0x595591=fn(_0x13a0e4,_0x3c5cc6,_0x1f7faa,_0xcf5f28,_0x40bc5b,_0x5bebba);return _0x595591 instanceof ce?_0x595591[_0x3f437e(0x367)]():(_0x595591 instanceof le||_0x595591 instanceof fe)&&_0x595591[_0x3f437e(0x2a0)](),_0x595591;}[_0x454d83(0x2a0)](){const _0x3cc089=_0x454d83;throw new Error(_0x3cc089(0x2f3));}};me=Ie([N(0x5,a[_0x454d83(0x271)](a['Injector'])),N(0x6,a['Inject'](S[_0x454d83(0x255)])),N(0x7,a[_0x454d83(0x271)](exports[_0x454d83(0x37c)])),N(0x8,a['ICommandService']),N(0x9,a[_0x454d83(0x34a)])],me);let re=class extends Ce{constructor(_0x5225ad,_0x4307db,_0x915df2,_0x269eb8,_0x165cea,_0x3a8dd4,_0x122ecf,_0x4faf12,_0x2ee3a6,_0x599c58,_0x11c3bb,_0x24e228,_0x2e294c,_0x54c2d7){const _0x64fb8f=_0x454d83;super(_0x5225ad,_0x4307db,_0x915df2,_0x269eb8,_0x122ecf,_0x24e228,_0x2e294c,_0x2ee3a6,_0x599c58),I(this,_0x64fb8f(0x281),_0x64fb8f(0x1a0)),(this[_0x64fb8f(0x543)]=_0x165cea,this[_0x64fb8f(0x5b6)]=_0x3a8dd4,this['_injector']=_0x4faf12,this['_logService']=_0x11c3bb,this[_0x64fb8f(0x22c)]=_0x54c2d7);}['onMissedChangesetFetched'](_0x303702){const _0x59a9c7=_0x454d83;try{const _0x44632f=[..._0x303702,...this[_0x59a9c7(0x5b6)]],_0x447c59=[this['_awaitingChangeset']||this[_0x59a9c7(0x543)]][_0x59a9c7(0x3a4)](_0x5bdad0=>!!_0x5bdad0);let _0x32899f,_0xf75059;if(_0x447c59['length']){const _0x38e76d=this[_0x59a9c7(0x22c)][_0x59a9c7(0x2bd)](_0x44632f,_0x447c59,!0x1);if(!S['isTransformChangesetsSuccess'](_0x38e76d))throw _0x38e76d[_0x59a9c7(0x362)];_0x32899f=_0x38e76d['c1Prime'],_0xf75059=_0x38e76d[_0x59a9c7(0x474)];}else _0x32899f=_0x44632f,_0xf75059=[];let _0x1c517c=this['_pendingMutations'];_0x32899f[_0x59a9c7(0x46e)](_0x1eb23a=>{const _0x4fe729=_0x59a9c7;let _0x286051;if(_0x1c517c['length']){const _0x2b43cc=this[_0x4fe729(0x22c)][_0x4fe729(0x472)](_0x1eb23a,_0x1c517c);if(!S[_0x4fe729(0x556)](_0x2b43cc))throw _0x2b43cc[_0x4fe729(0x362)];_0x286051=_0x2b43cc[_0x4fe729(0x545)],_0x1c517c=_0x2b43cc[_0x4fe729(0x322)];}else _0x286051=_0x1eb23a;this[_0x4fe729(0x251)](_0x286051);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x59a9c7(0x39a)]&&_0xf75059['length']&&(_0xf75059[0x0][_0x59a9c7(0x3fe)]=this['_getCurrentRevision']());let _0x386ef6;if(this['_awaitingChangeset']&&_0x1c517c[_0x59a9c7(0x216)]!==0x0)_0x386ef6=this['_injector'][_0x59a9c7(0x2fa)](le,this[_0x59a9c7(0x42f)],this[_0x59a9c7(0x573)],_0xf75059[0x0],_0x1c517c,this[_0x59a9c7(0x3b9)],void 0x0);else{if(this[_0x59a9c7(0x39a)]&&_0x1c517c[_0x59a9c7(0x216)]===0x0)_0xf75059[0x0][_0x59a9c7(0x3fe)]=this['_getCurrentRevision'](),_0x386ef6=this[_0x59a9c7(0x1ac)]['createInstance'](fe,this[_0x59a9c7(0x42f)],this[_0x59a9c7(0x573)],_0xf75059[0x0],this['_handler']);else{if(_0x1c517c[_0x59a9c7(0x216)]!==0x0){const _0xcd1e48=this['_injector'][_0x59a9c7(0x2fa)](ce,this[_0x59a9c7(0x42f)],this[_0x59a9c7(0x573)],_0x1c517c,this[_0x59a9c7(0x3b9)]);_0xcd1e48[_0x59a9c7(0x367)](),_0x386ef6=_0xcd1e48;}else _0x386ef6=this[_0x59a9c7(0x1ac)][_0x59a9c7(0x2fa)](Oe,this[_0x59a9c7(0x42f)],this[_0x59a9c7(0x573)],this[_0x59a9c7(0x3b9)]);}}return _0x386ef6[_0x59a9c7(0x4ea)](),_0x386ef6;}catch(_0x520e44){return this[_0x59a9c7(0x25f)]['error'](_0x59a9c7(0x2f1),'failed\x20to\x20apply\x20missed\x20changesets!',_0x520e44),this[_0x59a9c7(0x1ac)][_0x59a9c7(0x2fa)](ve,this[_0x59a9c7(0x42f)],this['type'],this[_0x59a9c7(0x39a)],this[_0x59a9c7(0x441)],this[_0x59a9c7(0x3b9)],!0x1);}}[_0x454d83(0x2a0)](){const _0x548886=_0x454d83;throw new Error(_0x548886(0x1fa));}['appendMutation'](_0x123146){const _0x2b0b39=_0x454d83;return this['_pendingMutations'][_0x2b0b39(0x54c)](_0x123146),this;}[_0x454d83(0x602)](_0x5cbf54){const _0x43f3bf=_0x454d83;return this[_0x43f3bf(0x5b6)][_0x43f3bf(0x54c)](_0x5cbf54),this;}[_0x454d83(0x4fa)](_0x1c72e5){const _0x39b781=_0x454d83;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x39b781(0x39a)],this[_0x39b781(0x39a)]=null,this;throw new Error(_0x39b781(0x202));}[_0x454d83(0x5c1)](_0x89cd69){const _0x474831=_0x454d83;return this[_0x474831(0x4d9)](!!(_0x89cd69!=null&&_0x89cd69[_0x474831(0x30e)]));}[_0x454d83(0x608)](){return this;}[_0x454d83(0x297)](){const _0x35be37=_0x454d83;return this[_0x35be37(0x1ac)]['createInstance'](me,this[_0x35be37(0x42f)],this[_0x35be37(0x573)],this[_0x35be37(0x39a)],this[_0x35be37(0x441)],this[_0x35be37(0x3b9)]);}[_0x454d83(0x46c)](){return this;}[_0x454d83(0x4d9)](_0x152514){const _0x5135f4=_0x454d83;return this[_0x5135f4(0x1ac)][_0x5135f4(0x2fa)](ve,this[_0x5135f4(0x42f)],this['type'],this['_awaitingChangeset'],this[_0x5135f4(0x441)],this[_0x5135f4(0x3b9)],_0x152514);}};re=Ie([N(0x7,a['Inject'](a['Injector'])),N(0x8,a[_0x454d83(0x271)](S[_0x454d83(0x255)])),N(0x9,a[_0x454d83(0x271)](exports[_0x454d83(0x37c)])),N(0xa,a[_0x454d83(0x1c6)]),N(0xb,a[_0x454d83(0x462)]),N(0xc,a[_0x454d83(0x34a)]),N(0xd,S[_0x454d83(0x395)])],re);function fn(_0x28c218,_0x874d33,_0x476ea2,_0xc0c2a7,_0x550a30,_0x2eb1ba){const _0x1c2e5c=_0x454d83;return _0xc0c2a7&&_0x550a30[_0x1c2e5c(0x216)]?_0x28c218['createInstance'](le,_0x874d33,_0x476ea2,_0xc0c2a7,_0x550a30,_0x2eb1ba,void 0x0):_0xc0c2a7?_0x28c218[_0x1c2e5c(0x2fa)](fe,_0x874d33,_0x476ea2,_0xc0c2a7,_0x2eb1ba):_0x550a30[_0x1c2e5c(0x216)]?_0x28c218['createInstance'](ce,_0x874d33,_0x476ea2,_0x550a30,_0x2eb1ba):_0x28c218['createInstance'](Oe,_0x874d33,_0x476ea2,_0x2eb1ba);}var Hi=Object[_0x454d83(0x276)],Bi=Object[_0x454d83(0x3ec)],Rt=(_0x3be448,_0x2c8818,_0x2244d6,_0x1ef792)=>{const _0x5e041a=_0x454d83;for(var _0x573b85=_0x1ef792>0x1?void 0x0:_0x1ef792?Bi(_0x2c8818,_0x2244d6):_0x2c8818,_0x3d1dd9=_0x3be448[_0x5e041a(0x216)]-0x1,_0x288820;_0x3d1dd9>=0x0;_0x3d1dd9--)(_0x288820=_0x3be448[_0x3d1dd9])&&(_0x573b85=(_0x1ef792?_0x288820(_0x2c8818,_0x2244d6,_0x573b85):_0x288820(_0x573b85))||_0x573b85);return _0x1ef792&&_0x573b85&&Hi(_0x2c8818,_0x2244d6,_0x573b85),_0x573b85;},H=(_0x181379,_0x149dd9)=>(_0x335251,_0x2813da)=>_0x149dd9(_0x335251,_0x2813da,_0x181379);exports['CollaborationEntity']=class extends a['RxDisposable']{constructor(_0x10ba5a,_0x3f5c2f,_0x448071,_0x196efa,_0x221e03,_0x3615d4,_0x59e736,_0x1ca8d4,_0x3b4536,_0x4d977b,_0x3cd227,_0x4cba6d,_0x113ac4){const _0x56c2a5=_0x454d83;super(),I(this,'_state$',new A[(_0x56c2a5(0x50c))](null)),I(this,_0x56c2a5(0x359),this[_0x56c2a5(0x58d)][_0x56c2a5(0x443)]()),I(this,'_state'),I(this,_0x56c2a5(0x4de),!0x1),I(this,_0x56c2a5(0x4fc),''),I(this,_0x56c2a5(0x5ea),0x0),I(this,_0x56c2a5(0x2c9),this[_0x56c2a5(0x359)][_0x56c2a5(0x358)](A[_0x56c2a5(0x52f)](_0x56c464=>_0x56c464?_0x56c464[_0x56c2a5(0x281)]:q[_0x56c2a5(0x2e1)]),A[_0x56c2a5(0x298)](0x1))),I(this,_0x56c2a5(0x3c1),!0x1),I(this,'_remoteChangesetQueue',[]),(this[_0x56c2a5(0x42f)]=_0x10ba5a,this[_0x56c2a5(0x2a5)]=_0x3f5c2f,this[_0x56c2a5(0x57b)]=_0x448071,this[_0x56c2a5(0x1ac)]=_0x196efa,this['_localCacheService']=_0x221e03,this['_compressMutationService']=_0x3615d4,this[_0x56c2a5(0x5ee)]=_0x59e736,this[_0x56c2a5(0x27a)]=_0x1ca8d4,this['_logService']=_0x3b4536,this[_0x56c2a5(0x1b9)]=_0x4d977b,this[_0x56c2a5(0x4b6)]=_0x3cd227,this['_permissionService']=_0x4cba6d,this['_singleActiveUnitService']=_0x113ac4);}get[_0x454d83(0x475)](){return this['_state'];}async[_0x454d83(0x552)](){const _0x50280b=_0x454d83;if(this[_0x50280b(0x475)])throw new Error(_0x50280b(0x4da));await this[_0x50280b(0x238)]();}[_0x454d83(0x496)](){const _0x305f47=_0x454d83;return this[_0x305f47(0x4de)]=!0x0,a[_0x305f47(0x52e)](()=>{const _0x3c1e39=_0x305f47;this[_0x3c1e39(0x4de)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x454d83(0x5a8)](_0x3da2b0){const _0x19faf1=_0x454d83;this['_state']=_0x3da2b0,this[_0x19faf1(0x58d)][_0x19faf1(0x40e)](_0x3da2b0);}async[_0x454d83(0x238)](){const _0x588a28=_0x454d83;var _0x5d2200;this[_0x588a28(0x5a8)](await this[_0x588a28(0x388)]()),this['_singleActiveUnitService']&&((_0x5d2200=this['_singleActiveUnitService'])==null||_0x5d2200[_0x588a28(0x3d9)](this[_0x588a28(0x42f)]),this[_0x588a28(0x421)](this[_0x588a28(0x26e)]['getUnitStatus$'](this[_0x588a28(0x42f)])[_0x588a28(0x487)](_0x193c58=>{const _0x4265d3=_0x588a28;this[_0x4265d3(0x25f)][_0x4265d3(0x379)]('[CollaborationEntity]',_0x4265d3(0x3ee),_0x193c58),_0x193c58===hn[_0x4265d3(0x553)]?(this[_0x4265d3(0x4b6)][_0x4265d3(0x2c3)]({'content':this[_0x4265d3(0x5ee)]['t'](_0x4265d3(0x305)),'type':ge[_0x4265d3(0x22b)][_0x4265d3(0x497)]}),this['_permissionService'][_0x4265d3(0x5cc)](new k[(_0x4265d3(0x435))](this['unitID'])['id'],!0x1),this[_0x4265d3(0x568)]['setShowComponents'](!0x1)):(this['_permissionService']['updatePermissionPoint'](new k[(_0x4265d3(0x435))](this[_0x4265d3(0x42f)])['id'],!0x0),this[_0x4265d3(0x568)][_0x4265d3(0x5bc)](!0x0));})));let _0x4b02bd=!0x1;return this[_0x588a28(0x421)](this[_0x588a28(0x2a5)][_0x588a28(0x3b2)][_0x588a28(0x487)](_0x5cb672=>{const _0x2a38b0=_0x588a28;_0x5cb672===se[_0x2a38b0(0x3e5)]?this[_0x2a38b0(0x1ff)](_0x4b02bd):_0x5cb672===se['OFFLINE']&&(_0x4b02bd=!0x0,this[_0x2a38b0(0x4a9)]());})),this[_0x588a28(0x421)](this[_0x588a28(0x2a5)]['event$']['subscribe'](_0x3d91a6=>{const _0x2f137d=_0x588a28;try{switch(_0x3d91a6[_0x2f137d(0x5ed)]){case S['CollaborationEvent'][_0x2f137d(0x244)]:{this[_0x2f137d(0x3c2)](S[_0x2f137d(0x2f7)](_0x3d91a6['data']));break;}case S['CollaborationEvent'][_0x2f137d(0x415)]:{this[_0x2f137d(0x1d4)](_0x3d91a6['data']);break;}case S[_0x2f137d(0x2c7)]['CHANGESET_REJ']:{this[_0x2f137d(0x3b7)]();break;}case S[_0x2f137d(0x2c7)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x3d91a6['data']);break;}case S['CollaborationEvent'][_0x2f137d(0x4a8)]:{this[_0x2f137d(0x1fc)](_0x3d91a6[_0x2f137d(0x347)]['changesets'][_0x2f137d(0x52f)](_0x2aeb1c=>S['parseProtocolChangeset'](_0x2aeb1c)));break;}case S[_0x2f137d(0x2c7)][_0x2f137d(0x3ca)]:this[_0x2f137d(0x3b7)]({'isPermissionRej':!0x0});}}catch(_0x39ed3e){throw console['error'](_0x2f137d(0x21f),_0x39ed3e),_0x39ed3e;}})),this[_0x588a28(0x2a4)];}['_unlockTransition'](){const _0x12dfff=_0x454d83;this[_0x12dfff(0x3c1)]=!0x1;}[_0x454d83(0x439)](){const _0x3e27e2=_0x454d83;if(this[_0x3e27e2(0x3c1)])throw new Error('[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.');this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x30298e){const _0x3dbea4=_0x454d83;this[_0x3dbea4(0x439)](),this['_updateState'](this[_0x3dbea4(0x2a4)][_0x3dbea4(0x4b5)](_0x30298e)),this[_0x3dbea4(0x234)]();}[_0x454d83(0x3c2)](_0x5c807f){const _0x27ec40=_0x454d83;if(!(_0x5c807f['revision']<=this[_0x27ec40(0x27a)][_0x27ec40(0x346)](this[_0x27ec40(0x42f)]))){if(this[_0x27ec40(0x4de)]){this[_0x27ec40(0x1e7)][_0x27ec40(0x54c)](_0x5c807f);return;}this[_0x27ec40(0x486)](_0x5c807f);}}[_0x454d83(0x56d)](){const _0x24cc29=_0x454d83;this[_0x24cc29(0x1e7)][_0x24cc29(0x46e)](_0x16b8ee=>this[_0x24cc29(0x486)](_0x16b8ee)),this[_0x24cc29(0x1e7)]=[];}[_0x454d83(0x486)](_0x5dea4d){const _0x1fc4c0=_0x454d83,_0x395643=this[_0x1fc4c0(0x508)][_0x1fc4c0(0x428)][_0x1fc4c0(0x4b1)](this['_compressMutationService'][_0x1fc4c0(0x428)]['getInterceptPoints']()[_0x1fc4c0(0x48d)])(_0x5dea4d['mutations'],null)||_0x5dea4d['mutations'],_0x1fc192={..._0x5dea4d,'mutations':_0x395643};this[_0x1fc4c0(0x439)](),this[_0x1fc4c0(0x5a8)](this[_0x1fc4c0(0x2a4)][_0x1fc4c0(0x602)](_0x1fc192)),this['_unlockTransition']();}['_onRemoteACK'](_0x52095d){const _0x1774b5=_0x454d83;this['_lockTransition'](),this[_0x1774b5(0x5a8)](this[_0x1774b5(0x2a4)][_0x1774b5(0x4fa)](_0x52095d)),this['_unlockTransition']();}[_0x454d83(0x3b7)](_0x111fba){const _0x675e9d=_0x454d83;this['_lockTransition'](),this[_0x675e9d(0x5a8)](this[_0x675e9d(0x2a4)][_0x675e9d(0x5c1)](_0x111fba)),this[_0x675e9d(0x234)]();}[_0x454d83(0x34b)](_0x39ac5b){const _0x43ad42=_0x454d83;this['_lockTransition'](),this[_0x43ad42(0x5a8)](this[_0x43ad42(0x2a4)][_0x43ad42(0x608)](_0x39ac5b)),this[_0x43ad42(0x234)]();}[_0x454d83(0x1fc)](_0x2a8a72){const _0x87ecc4=_0x454d83;if(!(this[_0x87ecc4(0x2a4)]instanceof re))throw new TypeError(_0x87ecc4(0x283));const _0x23238d=_0x2a8a72['map'](_0xfd39e8=>{const _0x3f19ed=_0x87ecc4,_0x3e57d1=this[_0x3f19ed(0x508)]['interceptor'][_0x3f19ed(0x4b1)](this[_0x3f19ed(0x508)]['interceptor']['getInterceptPoints']()[_0x3f19ed(0x48d)])(_0xfd39e8[_0x3f19ed(0x2a1)],null)||_0xfd39e8[_0x3f19ed(0x2a1)];return{..._0xfd39e8,'mutations':_0x3e57d1};});this[_0x87ecc4(0x439)](),this[_0x87ecc4(0x5a8)](this[_0x87ecc4(0x2a4)][_0x87ecc4(0x1ca)](_0x23238d)),this[_0x87ecc4(0x234)]();}['_toggleOffline'](){const _0x423e5e=_0x454d83;this[_0x423e5e(0x439)](),this[_0x423e5e(0x5a8)](this[_0x423e5e(0x2a4)][_0x423e5e(0x297)]()),this[_0x423e5e(0x234)]();}['_toggleOnline'](_0x561005=!0x1){const _0x174cd6=_0x454d83;this[_0x174cd6(0x439)](),this['_updateState'](this[_0x174cd6(0x2a4)][_0x174cd6(0x46c)]()),this[_0x174cd6(0x234)]();const _0x20627c=this[_0x174cd6(0x2a4)];_0x561005&&_0x20627c instanceof Oe&&(this[_0x174cd6(0x439)](),this[_0x174cd6(0x5a8)](_0x20627c['fetchMiss']()),this[_0x174cd6(0x234)]());}async[_0x454d83(0x388)](){return new Promise(_0x471fb1=>{const _0x3cecaf=_0x4cad;this[_0x3cecaf(0x2a5)]['sessionStatus$'][_0x3cecaf(0x358)](A[_0x3cecaf(0x5fe)](0x1))['subscribe'](async _0x2a0a63=>{const _0xf778c1=_0x3cecaf;_0x471fb1(await this[_0xf778c1(0x247)](_0x2a0a63===se[_0xf778c1(0x3e5)]));});});}[_0x454d83(0x2e0)](){const _0x5e37ff=this['unitID'];return{'onStateChange':(_0x3d3eb6,_0xb4d535)=>{const _0xae22b3=_0x4cad;if(_0x3d3eb6!==this[_0xae22b3(0x2a4)])throw new Error(_0xae22b3(0x33c)+_0x3d3eb6[_0xae22b3(0x281)]+'\x0aAfter:\x20'+_0xb4d535[_0xae22b3(0x281)]+_0xae22b3(0x5b7)+this['_state'][_0xae22b3(0x281)]);this[_0xae22b3(0x5a8)](_0xb4d535);},'onSendChangeset':_0x3017dd=>{const _0x57e405=_0x4cad;_0x3017dd[_0x57e405(0x3fa)]||(_0x3017dd[_0x57e405(0x3fa)]=this[_0x57e405(0x4fc)],_0x3017dd[_0x57e405(0x1d1)]=++this[_0x57e405(0x5ea)]);const _0xf02129={'eventID':S[_0x57e405(0x2c7)][_0x57e405(0x5c9)],'data':{'unitID':_0x3017dd[_0x57e405(0x42f)],'unitType':this[_0x57e405(0x57b)],'changeset':_0x3017dd,'memberID':this[_0x57e405(0x2a5)][_0x57e405(0x3ab)]()}};this[_0x57e405(0x2a5)][_0x57e405(0x541)](_0xf02129,this[_0x57e405(0x42f)]);},'onMissingChangesets':({from:_0x40fe9a,to:_0x4573d9})=>{const _0x9b1d2c=_0x4cad;this[_0x9b1d2c(0x25f)]['debug'](_0x9b1d2c(0x578),_0x9b1d2c(0x468)+_0x40fe9a+_0x9b1d2c(0x4ff)+_0x4573d9);const _0x4cf7d8={'eventID':S[_0x9b1d2c(0x2c7)]['FETCH_MISSING'],'data':{'unitID':_0x5e37ff,'unitType':this[_0x9b1d2c(0x57b)],'from':_0x40fe9a,'to':_0x4573d9}};this[_0x9b1d2c(0x2a5)][_0x9b1d2c(0x541)](_0x4cf7d8,this[_0x9b1d2c(0x42f)]);}};}async[_0x454d83(0x247)](_0x468cde){const _0x29c2ae=_0x454d83;var _0x24891d,_0x1629c5;const _0x3b5626=await this[_0x29c2ae(0x436)][_0x29c2ae(0x623)](this[_0x29c2ae(0x42f)]),_0xd94540=(_0x24891d=_0x3b5626==null?void 0x0:_0x3b5626[_0x29c2ae(0x2a1)])!=null?_0x24891d:[],_0x3467af=(_0x1629c5=_0x3b5626==null?void 0x0:_0x3b5626['awaitingChangeset'])!=null?_0x1629c5:null,_0x1d481e=!!(_0x3467af!=null&&_0x3467af[_0x29c2ae(0x3fa)])&&!!(_0x3467af!=null&&_0x3467af[_0x29c2ae(0x1d1)]);this[_0x29c2ae(0x4fc)]=_0x1d481e?_0x3467af['sid']:vi(),this[_0x29c2ae(0x5ea)]=_0x1d481e?_0x3467af[_0x29c2ae(0x1d1)]:0x0;const _0x38ad57=this[_0x29c2ae(0x42f)];try{this['_replayCachedMutations'](_0x3467af,_0xd94540);}catch(_0x3cb0de){this[_0x29c2ae(0x25f)][_0x29c2ae(0x362)](_0x3cb0de);}const _0x12d14a=this[_0x29c2ae(0x2e0)]();if(_0x468cde){const _0x4dcbc1=fn(this['_injector'],_0x38ad57,this['_type'],_0x3467af,_0xd94540,_0x12d14a);return _0x4dcbc1 instanceof ce?_0x4dcbc1[_0x29c2ae(0x367)]():(_0x4dcbc1 instanceof le||_0x4dcbc1 instanceof fe)&&_0x4dcbc1[_0x29c2ae(0x2a0)](),_0x4dcbc1;}return this[_0x29c2ae(0x1ac)]['createInstance'](me,_0x38ad57,this[_0x29c2ae(0x57b)],_0x3467af,_0xd94540,_0x12d14a);}[_0x454d83(0x5ac)](_0x42d4b1,_0x11e25a){const _0x284ed2=_0x454d83;var _0x5e301a,_0x14ff4d;const _0x24b7e1=this[_0x284ed2(0x508)][_0x284ed2(0x428)][_0x284ed2(0x4b1)](this[_0x284ed2(0x508)]['interceptor'][_0x284ed2(0x2be)]()[_0x284ed2(0x48d)]);(_0x5e301a=_0x24b7e1((_0x42d4b1==null?void 0x0:_0x42d4b1[_0x284ed2(0x2a1)])||[],null))==null||_0x5e301a['forEach'](_0x147585=>this[_0x284ed2(0x1b9)]['executeCommand'](_0x147585['id'],_0x147585['params'])),(_0x14ff4d=_0x24b7e1(_0x11e25a||[],null))==null||_0x14ff4d[_0x284ed2(0x46e)](_0x524bd5=>this[_0x284ed2(0x1b9)][_0x284ed2(0x38c)](_0x524bd5['id'],_0x524bd5[_0x284ed2(0x2a7)]));}},exports['CollaborationEntity']=Rt([H(0x3,a['Inject'](a[_0x454d83(0x41c)])),H(0x4,a[_0x454d83(0x271)](exports[_0x454d83(0x37c)])),H(0x5,a['Inject'](S[_0x454d83(0x636)])),H(0x6,a[_0x454d83(0x271)](a[_0x454d83(0x4ab)])),H(0x7,a[_0x454d83(0x271)](S['RevisionService'])),H(0x8,a[_0x454d83(0x1c6)]),H(0x9,a['ICommandService']),H(0xa,ee[_0x454d83(0x293)]),H(0xb,a[_0x454d83(0x61e)]),H(0xc,a[_0x454d83(0x43d)](qe))],exports[_0x454d83(0x1a8)]),exports[_0x454d83(0x5a0)]=class extends exports['CollaborationEntity']{constructor(_0xe3f90f,_0x5af4af,_0x4b7668,_0x16369,_0x4868dd,_0x124884,_0x438add,_0xfb25cc,_0x447c96,_0x325d90,_0x2e979b,_0x4ad8e3,_0x25bc8d,_0x43a8b3,_0x2c223b,_0x379116,_0xba7d5,_0x3dcbae){const _0x4723fc=_0x454d83;super(_0xe3f90f,_0x4b7668,_0x5af4af,_0x16369,_0x4868dd,_0x124884,_0x438add,_0xfb25cc,_0x43a8b3,_0x2c223b,_0x379116,_0xba7d5,_0x3dcbae),this[_0x4723fc(0x42f)]=_0xe3f90f,this[_0x4723fc(0x573)]=_0x5af4af,this[_0x4723fc(0x502)]=_0x447c96,this[_0x4723fc(0x563)]=_0x325d90,this[_0x4723fc(0x561)]=_0x2e979b,this[_0x4723fc(0x2dd)]=_0x4ad8e3,this[_0x4723fc(0x599)]=_0x25bc8d;}[_0x454d83(0x2e0)](){const _0x280e04=_0x454d83,_0x4a4197=super[_0x280e04(0x2e0)]();return _0x4a4197['onTransformIME']=_0x13cac5=>this[_0x280e04(0x563)]['transformIMECache'](_0x13cac5),_0x4a4197['onTransformState']=_0x21b303=>this['_docTransformStateCacheService'][_0x280e04(0x590)](_0x21b303),_0x4a4197['onTransformSelections']=_0x578188=>this[_0x280e04(0x2dd)][_0x280e04(0x4d5)](_0x578188),_0x4a4197[_0x280e04(0x20c)]=_0x5c08a2=>this['_docSyncEditingCollabCursorService'][_0x280e04(0x5ab)](_0x5c08a2),_0x4a4197['onTransformRemoteChangesetByIMECache']=_0x270fbb=>this[_0x280e04(0x563)][_0x280e04(0x2ac)](_0x270fbb),_0x4a4197[_0x280e04(0x25d)]=_0x4b93bb=>this[_0x280e04(0x561)][_0x280e04(0x2ac)](_0x4b93bb),_0x4a4197;}async['_init'](){const _0x4c1a3f=_0x454d83,_0x27b515=await super[_0x4c1a3f(0x238)]();return this[_0x4c1a3f(0x502)]['docStateChange$'][_0x4c1a3f(0x358)](A[_0x4c1a3f(0x3da)](this['dispose$']))[_0x4c1a3f(0x487)](_0x19ffbc=>{const _0x3d876b=_0x4c1a3f;if(_0x19ffbc==null)return;const {unitId:_0x505b9f,redoState:_0x1a8723,commandId:_0x1f2b3a}=_0x19ffbc;if(_0x505b9f!==this[_0x3d876b(0x42f)])return;const _0x4326b0={'id':_0x1f2b3a,'type':a[_0x3d876b(0x32f)][_0x3d876b(0x49d)],'params':{'unitId':_0x505b9f,'actions':_0x1a8723[_0x3d876b(0x55c)],'textRanges':null}};this['_onLocalMutation'](_0x4326b0);}),_0x27b515;}},exports['DocCollaborationEntity']=Rt([H(0x3,a[_0x454d83(0x271)](a['Injector'])),H(0x4,a[_0x454d83(0x271)](exports[_0x454d83(0x37c)])),H(0x5,a['Inject'](S[_0x454d83(0x636)])),H(0x6,a[_0x454d83(0x271)](a[_0x454d83(0x4ab)])),H(0x7,a[_0x454d83(0x271)](S[_0x454d83(0x255)])),H(0x8,a['Inject'](J[_0x454d83(0x577)])),H(0x9,a[_0x454d83(0x271)](Be)),H(0xa,a[_0x454d83(0x271)](We)),H(0xb,a['Inject'](Fe)),H(0xc,a[_0x454d83(0x271)](Tt)),H(0xd,a[_0x454d83(0x1c6)]),H(0xe,a['ICommandService']),H(0xf,ee[_0x454d83(0x293)]),H(0x10,a[_0x454d83(0x61e)]),H(0x11,a[_0x454d83(0x43d)](qe))],exports[_0x454d83(0x5a0)]),exports[_0x454d83(0x3fd)]=class extends exports['CollaborationEntity']{constructor(_0x504ea8,_0x424774,_0x19ec2e,_0x3d416b,_0x240f92,_0xa8be7d,_0x4d31ea,_0x1f839a,_0x3f2a84,_0x309bd9,_0x2d7e52,_0x58ff51,_0x1c2872,_0x355aef){const _0x5918b6=_0x454d83;super(_0x504ea8,_0x19ec2e,_0x424774,_0x3d416b,_0x240f92,_0xa8be7d,_0x4d31ea,_0x1f839a,_0x309bd9,_0x2d7e52,_0x58ff51,_0x1c2872,_0x355aef),this[_0x5918b6(0x42f)]=_0x504ea8,this[_0x5918b6(0x573)]=_0x424774,this['_sheetTransformSelectionsService']=_0x3f2a84;}[_0x454d83(0x2e0)](){const _0x4b9a8f=super['_createHandler']();return _0x4b9a8f['onTransformSelections']=_0x2a2409=>this['_sheetTransformSelectionsService']['transformSelections'](_0x2a2409),_0x4b9a8f;}async[_0x454d83(0x238)](){const _0x14272e=_0x454d83,_0x3cc8b6=await super[_0x14272e(0x238)]();return this[_0x14272e(0x421)](this[_0x14272e(0x1b9)][_0x14272e(0x33b)]((_0x52d9b6,_0x2f38a2)=>{const _0x21f518=_0x14272e;if(_0x52d9b6[_0x21f518(0x573)]!==a[_0x21f518(0x32f)][_0x21f518(0x49d)]||_0x2f38a2!=null&&_0x2f38a2['fromCollab']||_0x2f38a2!=null&&_0x2f38a2[_0x21f518(0x400)])return;const _0x3dbdef=_0x52d9b6[_0x21f518(0x2a7)];if((_0x3dbdef==null?void 0x0:_0x3dbdef[_0x21f518(0x26c)])!==this['unitID'])return;const _0x52b8bf=_0x52d9b6,_0x3d8026=this['_compressMutationService'][_0x21f518(0x428)][_0x21f518(0x4b1)](this[_0x21f518(0x508)][_0x21f518(0x428)][_0x21f518(0x2be)]()[_0x21f518(0x617)])([_0x52b8bf],null)||[_0x52b8bf];this['_onLocalMutation'](_0x3d8026[0x0]);})),_0x3cc8b6;}},exports[_0x454d83(0x3fd)]=Rt([H(0x3,a[_0x454d83(0x271)](a[_0x454d83(0x41c)])),H(0x4,a[_0x454d83(0x271)](exports['LocalCacheService'])),H(0x5,a[_0x454d83(0x271)](S[_0x454d83(0x636)])),H(0x6,a[_0x454d83(0x271)](a[_0x454d83(0x4ab)])),H(0x7,a[_0x454d83(0x271)](S[_0x454d83(0x255)])),H(0x8,a[_0x454d83(0x271)](ke)),H(0x9,a['ILogService']),H(0xa,a['ICommandService']),H(0xb,ee[_0x454d83(0x293)]),H(0xc,a[_0x454d83(0x61e)]),H(0xd,a[_0x454d83(0x43d)](qe))],exports[_0x454d83(0x3fd)]);var ki=Object['defineProperty'],Wi=Object[_0x454d83(0x3ec)],Fi=(_0x15aa04,_0xec41de,_0x4f3696,_0x1077e8)=>{const _0xf8126c=_0x454d83;for(var _0x352944=_0x1077e8>0x1?void 0x0:_0x1077e8?Wi(_0xec41de,_0x4f3696):_0xec41de,_0x388209=_0x15aa04[_0xf8126c(0x216)]-0x1,_0x5a7f7d;_0x388209>=0x0;_0x388209--)(_0x5a7f7d=_0x15aa04[_0x388209])&&(_0x352944=(_0x1077e8?_0x5a7f7d(_0xec41de,_0x4f3696,_0x352944):_0x5a7f7d(_0x352944))||_0x352944);return _0x1077e8&&_0x352944&&ki(_0xec41de,_0x4f3696,_0x352944),_0x352944;},tt=(_0x5be71d,_0x26b314)=>(_0x4b9888,_0x2df12c)=>_0x26b314(_0x4b9888,_0x2df12c,_0x5be71d);exports[_0x454d83(0x327)]=class extends a['RxDisposable']{constructor(_0x9febc7,_0x315c94,_0x3ccff0){const _0x45f0e1=_0x454d83;super(),I(this,_0x45f0e1(0x307),new Map()),I(this,_0x45f0e1(0x450),new A[(_0x45f0e1(0x3ce))]()),(this[_0x45f0e1(0x1ac)]=_0x9febc7,this['_collabSessionService']=_0x315c94,this['_univerInstanceService']=_0x3ccff0,this['_init']());}[_0x454d83(0x19b)](){const _0xc53d7f=_0x454d83;super['dispose'](),this[_0xc53d7f(0x307)][_0xc53d7f(0x46e)](_0x534fc5=>_0x534fc5[_0xc53d7f(0x19b)]()),this[_0xc53d7f(0x307)][_0xc53d7f(0x5c4)]();}[_0x454d83(0x301)](_0x2123c0){const _0x501a33=_0x454d83;var _0x1d304a;return(_0x1d304a=this[_0x501a33(0x307)][_0x501a33(0x572)](_0x2123c0))!=null?_0x1d304a:null;}['getCollabEntity$'](_0x12b32b){const _0x1aaf92=_0x454d83,_0x445153=this[_0x1aaf92(0x301)](_0x12b32b);return _0x445153?A['of'](_0x445153):this[_0x1aaf92(0x450)][_0x1aaf92(0x358)](V[_0x1aaf92(0x3a4)](_0x11cacc=>_0x11cacc[_0x1aaf92(0x42f)]===_0x12b32b));}[_0x454d83(0x238)](){const _0x43a44f=_0x454d83;this[_0x43a44f(0x29b)][_0x43a44f(0x2fd)](a[_0x43a44f(0x5d3)][_0x43a44f(0x351)])[_0x43a44f(0x358)](A[_0x43a44f(0x3da)](this[_0x43a44f(0x2d7)]),V[_0x43a44f(0x31f)](0x10))[_0x43a44f(0x487)](async _0x941112=>{const _0x40ae45=_0x43a44f,_0x47eb0b=_0x941112[_0x40ae45(0x4f9)](),_0x50abc8=await this[_0x40ae45(0x57c)](_0x47eb0b,ie[_0x40ae45(0x351)]);this['_entities'][_0x40ae45(0x43f)](_0x47eb0b,_0x50abc8);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x43a44f(0x5d3)]['UNIVER_DOC'])[_0x43a44f(0x358)](A['takeUntil'](this[_0x43a44f(0x2d7)]),V[_0x43a44f(0x31f)](0x10))[_0x43a44f(0x358)](V[_0x43a44f(0x3a4)](_0x36f18f=>!_0x36f18f[_0x43a44f(0x4f9)]()[_0x43a44f(0x2b6)]('__')))[_0x43a44f(0x487)](async _0xdbe36d=>{const _0x4645e9=_0x43a44f,_0xb10426=_0xdbe36d[_0x4645e9(0x4f9)](),_0x1bcad5=await this[_0x4645e9(0x57c)](_0xb10426,ie[_0x4645e9(0x55f)]);this['_entities']['set'](_0xb10426,_0x1bcad5);}),A[_0x43a44f(0x465)](this[_0x43a44f(0x29b)]['getTypeOfUnitDisposed$'](a[_0x43a44f(0x5d3)][_0x43a44f(0x351)]),this[_0x43a44f(0x29b)][_0x43a44f(0x633)](a['UniverInstanceType'][_0x43a44f(0x55f)]))[_0x43a44f(0x358)](A[_0x43a44f(0x3da)](this[_0x43a44f(0x2d7)]))[_0x43a44f(0x487)](_0x38dfd6=>{const _0x21c69e=_0x43a44f,_0x375b40=_0x38dfd6['getUnitId'](),_0x17145d=this[_0x21c69e(0x307)][_0x21c69e(0x572)](_0x375b40);_0x17145d&&(_0x17145d['dispose'](),this[_0x21c69e(0x307)][_0x21c69e(0x2e9)](_0x375b40));});}async['_startCollaboration'](_0x5b9bd0,_0x33d4aa){const _0x3ee5c4=_0x454d83,_0x4eb1f1=await this[_0x3ee5c4(0x2f5)][_0x3ee5c4(0x425)](_0x5b9bd0),_0x5d2b38=this[_0x3ee5c4(0x1ac)]['createInstance'](this['_getCtorByUniverType'](_0x33d4aa),_0x5b9bd0,_0x33d4aa,_0x4eb1f1);return await _0x5d2b38['init'](),this['_entityInit$'][_0x3ee5c4(0x40e)](_0x5d2b38),_0x5d2b38;}[_0x454d83(0x300)](_0x19a518){const _0x41adc8=_0x454d83;switch(_0x19a518){case ie['UNIVER_DOC']:return exports[_0x41adc8(0x5a0)];case ie[_0x41adc8(0x351)]:return exports[_0x41adc8(0x3fd)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x19a518);}}},exports['CollaborationController']=Fi([tt(0x0,a['Inject'](a[_0x454d83(0x41c)])),tt(0x1,a[_0x454d83(0x271)](exports[_0x454d83(0x4d6)])),tt(0x2,a['IUniverInstanceService'])],exports[_0x454d83(0x327)]);const jt=[_0x454d83(0x1de),_0x454d83(0x1ed),_0x454d83(0x2cc),_0x454d83(0x2de),'blue400',_0x454d83(0x440)];class yt extends a[_0x454d83(0x4d4)]{constructor(){const _0x4f321e=_0x454d83;super(...arguments),I(this,_0x4f321e(0x3f5),new Map()),I(this,_0x4f321e(0x551),0x0);}[_0x454d83(0x3a0)](_0x157485){const _0x1f5198=_0x454d83;if(this['_assignedColors'][_0x1f5198(0x44a)](_0x157485))return this[_0x1f5198(0x3f5)][_0x1f5198(0x572)](_0x157485);const _0x401cd1=jt[this['_colorIndex']];return this[_0x1f5198(0x551)]=(this[_0x1f5198(0x551)]+0x1)%jt['length'],this['_assignedColors'][_0x1f5198(0x43f)](_0x157485,_0x401cd1),_0x401cd1;}}var Vi=Object[_0x454d83(0x276)],Gi=Object[_0x454d83(0x3ec)],Yi=(_0xb21d2c,_0x5a7870,_0x373aa3,_0x3a7c64)=>{for(var _0x43b957=_0x3a7c64>0x1?void 0x0:_0x3a7c64?Gi(_0x5a7870,_0x373aa3):_0x5a7870,_0x2684c0=_0xb21d2c['length']-0x1,_0x1465f7;_0x2684c0>=0x0;_0x2684c0--)(_0x1465f7=_0xb21d2c[_0x2684c0])&&(_0x43b957=(_0x3a7c64?_0x1465f7(_0x5a7870,_0x373aa3,_0x43b957):_0x1465f7(_0x43b957))||_0x43b957);return _0x3a7c64&&_0x43b957&&Vi(_0x5a7870,_0x373aa3,_0x43b957),_0x43b957;},Se=(_0x54334a,_0x5b25f0)=>(_0x20f527,_0x107182)=>_0x5b25f0(_0x20f527,_0x107182,_0x54334a);const Ki=0x12c,qi=0x64;let vt=class extends a[_0x454d83(0x28b)]{constructor(_0x227106,_0x1cac99,_0x11e81e,_0x363290,_0x34268d,_0x4455ad,_0x2180cf,_0x3066cb,_0x524277){const _0x1abdf9=_0x454d83;super(),I(this,_0x1abdf9(0x445),!0x1),I(this,_0x1abdf9(0x238),!0x1),I(this,_0x1abdf9(0x648),new A[(_0x1abdf9(0x50c))](new Map())),I(this,'cursorInfo$',this['_cursorInfo$'][_0x1abdf9(0x443)]()),I(this,_0x1abdf9(0x5dc),new A['BehaviorSubject']([])),I(this,'roomMembers$',this[_0x1abdf9(0x5dc)][_0x1abdf9(0x358)](A[_0x1abdf9(0x3dd)](Ki))),I(this,_0x1abdf9(0x61a),a['debounce'](_0x34d56b=>{const _0x5c2bf4=_0x1abdf9,_0x3930f7={'eventID':S[_0x5c2bf4(0x2c7)][_0x5c2bf4(0x2e3)],'data':{'unitID':this[_0x5c2bf4(0x42f)],'memberID':this[_0x5c2bf4(0x4f4)][_0x5c2bf4(0x3ab)](),'selection':_n(_0x34d56b)}};this[_0x5c2bf4(0x4f4)]['send'](_0x3930f7,this['unitID']);},qi)),(this[_0x1abdf9(0x42f)]=_0x227106,this[_0x1abdf9(0x4f4)]=_0x1cac99,this['_injector']=_0x11e81e,this[_0x1abdf9(0x27d)]=_0x363290,this[_0x1abdf9(0x535)]=_0x34268d,this['_syncEditingCollabCursorService']=_0x4455ad,this[_0x1abdf9(0x22c)]=_0x2180cf,this[_0x1abdf9(0x29b)]=_0x3066cb,this[_0x1abdf9(0x1b9)]=_0x524277);}get[_0x454d83(0x2e5)](){const _0x1ff0ea=_0x454d83;return this[_0x1ff0ea(0x648)][_0x1ff0ea(0x30c)]();}get[_0x454d83(0x333)](){const _0x28b0ec=_0x454d83;return this[_0x28b0ec(0x5dc)][_0x28b0ec(0x30c)]();}['dispose'](){const _0x57b398=_0x454d83;super[_0x57b398(0x19b)](),this[_0x57b398(0x648)][_0x57b398(0x40e)](new Map()),this['_cursorInfo$'][_0x57b398(0x2a6)](),this[_0x57b398(0x5dc)][_0x57b398(0x40e)]([]),this[_0x57b398(0x5dc)][_0x57b398(0x2a6)]();}[_0x454d83(0x552)](){const _0x4efaf2=_0x454d83;this[_0x4efaf2(0x238)]||(this[_0x4efaf2(0x238)]=!0x0,this['_session'][_0x4efaf2(0x3b2)][_0x4efaf2(0x358)](A[_0x4efaf2(0x3da)](this[_0x4efaf2(0x2d7)]))[_0x4efaf2(0x487)](_0x55fdd4=>{const _0x5676dc=_0x4efaf2;_0x55fdd4===se['ONLINE']?this[_0x5676dc(0x1ff)]():this[_0x5676dc(0x4a9)]();}),this[_0x4efaf2(0x4f4)][_0x4efaf2(0x385)][_0x4efaf2(0x358)](A['takeUntil'](this[_0x4efaf2(0x2d7)]))[_0x4efaf2(0x487)](_0x4823df=>{const _0x7f81a4=_0x4efaf2,_0x4a9085=_0x4823df[_0x7f81a4(0x5ed)];_0x4a9085===S[_0x7f81a4(0x2c7)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4823df),_0x4a9085===S[_0x7f81a4(0x2c7)][_0x7f81a4(0x3eb)]&&this['_onCursorDelete'](_0x4823df);}),this[_0x4efaf2(0x421)](this['_commandService'][_0x4efaf2(0x33b)](_0x47360b=>{const _0x1bc5c4=_0x4efaf2,_0x170c2e=_0x47360b['params'];_0x170c2e!=null&&this['_online']&&_0x47360b['id']===ye['SetTextSelectionsOperation']['id']&&_0x170c2e[_0x1bc5c4(0x26c)]===this[_0x1bc5c4(0x42f)]&&_0x170c2e['isEditing']===!0x1&&_0x170c2e['ranges']['length']>0x0&&this[_0x1bc5c4(0x61a)](_0x170c2e[_0x1bc5c4(0x49f)]);})),this[_0x4efaf2(0x259)][_0x4efaf2(0x32e)][_0x4efaf2(0x358)](A[_0x4efaf2(0x3da)](this[_0x4efaf2(0x2d7)]))[_0x4efaf2(0x487)](_0x212456=>{const _0x20fc16=_0x4efaf2;if((_0x212456==null?void 0x0:_0x212456[_0x20fc16(0x42f)])!==this[_0x20fc16(0x42f)])return;const _0x14b52a={'eventID':S['CollaborationEvent'][_0x20fc16(0x2e3)],'data':_0x212456};this['_onCursorUpdate'](_0x14b52a);}),this[_0x4efaf2(0x421)](this['_commandService'][_0x4efaf2(0x33b)](_0x2e0c6f=>{const _0x5e1d21=_0x4efaf2;if(_0x2e0c6f[_0x5e1d21(0x2a7)]==null)return;const _0x9e0b9d=_0x2e0c6f['params'];if(_0x2e0c6f['id']!==ye[_0x5e1d21(0x615)]['id']||_0x9e0b9d[_0x5e1d21(0x26c)]!==this[_0x5e1d21(0x42f)])return;const _0x3cd138={'id':'doc.mutation.rich-text-editing','params':_0x9e0b9d},_0x3ee1fd=this['cursorInfo'];for(const [_0x464aa7,_0x16de55]of _0x3ee1fd){const _0x5ac0cd={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5e1d21(0x42f)],'actions':null,'textRanges':_0x16de55[_0x5e1d21(0x49f)]}},_0x2615d4=this[_0x5e1d21(0x22c)]['transformMutation'](_0x3cd138,_0x5ac0cd,!0x1);if(S['isTransformMutationFailure'](_0x2615d4))throw _0x2615d4[_0x5e1d21(0x362)];_0x3ee1fd[_0x5e1d21(0x43f)](_0x464aa7,{..._0x16de55,'ranges':_0x2615d4[_0x5e1d21(0x322)][_0x5e1d21(0x2a7)][_0x5e1d21(0x5b1)]});}queueMicrotask(()=>{const _0x413993=_0x5e1d21;this['_cursorInfo$'][_0x413993(0x40e)](_0x3ee1fd);});})));}['_onCursorUpdate'](_0x4e535a){const _0x5c83bd=_0x454d83;var _0x33b852,_0x2a8c65;const {memberID:_0x474336,selection:_0x2fbb1b}=_0x4e535a[_0x5c83bd(0x347)],_0xd5d79d=Pi(_0x2fbb1b),_0x786bbe=(_0x2a8c65=(_0x33b852=this[_0x5c83bd(0x535)][_0x5c83bd(0x566)](this['unitID'],_0x474336))==null?void 0x0:_0x33b852['name'])!=null?_0x2a8c65:_0x5c83bd(0x4f8),_0x555b76={'color':this[_0x5c83bd(0x27d)]['assignAColorForMemberID'](_0x474336),'name':_0x786bbe,'ranges':_0xd5d79d},_0xc2d8ec=this[_0x5c83bd(0x2e5)];_0xc2d8ec[_0x5c83bd(0x43f)](_0x474336,_0x555b76),this[_0x5c83bd(0x648)][_0x5c83bd(0x40e)](_0xc2d8ec);}[_0x454d83(0x25c)](_0x35a25d){const _0x3225a6=_0x454d83,{memberID:_0x39bf16}=_0x35a25d['data'],_0x28eb32=this['cursorInfo'];_0x28eb32[_0x3225a6(0x2e9)](_0x39bf16),this[_0x3225a6(0x648)][_0x3225a6(0x40e)](_0x28eb32);}['_toggleOnline'](){const _0x36c49c=_0x454d83;var _0x21b71b;if(this[_0x36c49c(0x445)]=!0x0,((_0x21b71b=this[_0x36c49c(0x29b)][_0x36c49c(0x5ae)]())==null?void 0x0:_0x21b71b[_0x36c49c(0x4f9)]())!==this['unitID'])return;const _0x4b9d14=this[_0x36c49c(0x1ac)][_0x36c49c(0x572)](ye[_0x36c49c(0x503)])[_0x36c49c(0x296)]();Array[_0x36c49c(0x196)](_0x4b9d14)&&_0x4b9d14[_0x36c49c(0x216)]>0x0&&this['_updateLocalCursor'](_0x4b9d14);}[_0x454d83(0x4a9)](){this['_online']=!0x1;}};vt=Yi([Se(0x2,a[_0x454d83(0x271)](a[_0x454d83(0x41c)])),Se(0x3,a[_0x454d83(0x271)](yt)),Se(0x4,a[_0x454d83(0x271)](exports['MemberService'])),Se(0x5,a[_0x454d83(0x271)](Tt)),Se(0x6,S[_0x454d83(0x395)]),Se(0x7,a[_0x454d83(0x2ed)]),Se(0x8,a['ICommandService'])],vt);var zi=Object['defineProperty'],Xi=Object[_0x454d83(0x3ec)],Ji=(_0x21f0f7,_0x426a3b,_0x1a77cc,_0x8f3352)=>{const _0x361b4a=_0x454d83;for(var _0x1042c2=_0x8f3352>0x1?void 0x0:_0x8f3352?Xi(_0x426a3b,_0x1a77cc):_0x426a3b,_0x570f9d=_0x21f0f7[_0x361b4a(0x216)]-0x1,_0x20d67e;_0x570f9d>=0x0;_0x570f9d--)(_0x20d67e=_0x21f0f7[_0x570f9d])&&(_0x1042c2=(_0x8f3352?_0x20d67e(_0x426a3b,_0x1a77cc,_0x1042c2):_0x20d67e(_0x1042c2))||_0x1042c2);return _0x8f3352&&_0x1042c2&&zi(_0x426a3b,_0x1a77cc,_0x1042c2),_0x1042c2;},be=(_0x3c5b89,_0x3e0ca7)=>(_0x1adaf2,_0x377182)=>_0x3e0ca7(_0x1adaf2,_0x377182,_0x3c5b89);const Zi=0x12c,Qi=0x64,es=()=>{let _0x1ce98f=[],_0x4434a4=!0x1;return _0x5d2b8c=>{const _0x369b49=_0x4cad;_0x1ce98f[_0x369b49(0x54c)](_0x5d2b8c),_0x4434a4||(_0x4434a4=!0x0,setTimeout(()=>{const _0x44380a=_0x369b49;_0x1ce98f[_0x44380a(0x46e)](_0xba072b=>_0xba072b()),_0x1ce98f=[],_0x4434a4=!0x1;}));};};let mt=class extends a[_0x454d83(0x28b)]{constructor(_0x1518ae,_0x14fe44,_0xd2990f,_0x8c4996,_0x4941d4,_0x53e160,_0x5eb43c,_0xa2b4bf){const _0x195a3d=_0x454d83;super(),I(this,_0x195a3d(0x445),!0x1),I(this,_0x195a3d(0x238),!0x1),I(this,_0x195a3d(0x648),new A[(_0x195a3d(0x50c))](new Map())),I(this,'cursorInfo$',this[_0x195a3d(0x648)][_0x195a3d(0x443)]()),I(this,_0x195a3d(0x5dc),new A[(_0x195a3d(0x50c))]([])),I(this,_0x195a3d(0x5c2),this[_0x195a3d(0x5dc)]['pipe'](A[_0x195a3d(0x3dd)](Zi))),I(this,_0x195a3d(0x61a),a[_0x195a3d(0x1e3)]((_0x44c8c2,_0x2b2f2d)=>{const _0x29a3ac=_0x195a3d,_0x1877a5={'eventID':S[_0x29a3ac(0x2c7)][_0x29a3ac(0x2e3)],'data':{'unitID':this[_0x29a3ac(0x42f)],'memberID':this[_0x29a3ac(0x4f4)]['getMemberID'](),'selection':wt['serializeRangeWithSheet'](_0x44c8c2,_0x2b2f2d['range'])}};this[_0x29a3ac(0x4f4)][_0x29a3ac(0x541)](_0x1877a5,this[_0x29a3ac(0x42f)]);},Qi)),(this[_0x195a3d(0x42f)]=_0x1518ae,this[_0x195a3d(0x4f4)]=_0x14fe44,this[_0x195a3d(0x1ac)]=_0xd2990f,this[_0x195a3d(0x27d)]=_0x8c4996,this[_0x195a3d(0x535)]=_0x4941d4,this[_0x195a3d(0x29b)]=_0x53e160,this[_0x195a3d(0x1b9)]=_0x5eb43c,this['_refRangeService']=_0xa2b4bf);}get[_0x454d83(0x2e5)](){const _0x15a63b=_0x454d83;return this[_0x15a63b(0x648)][_0x15a63b(0x30c)]();}get[_0x454d83(0x333)](){const _0x21d878=_0x454d83;return this[_0x21d878(0x5dc)][_0x21d878(0x30c)]();}[_0x454d83(0x19b)](){const _0x3b92b4=_0x454d83;super[_0x3b92b4(0x19b)](),this['_cursorInfo$']['next'](new Map()),this[_0x3b92b4(0x648)][_0x3b92b4(0x2a6)](),this[_0x3b92b4(0x5dc)][_0x3b92b4(0x40e)]([]),this['_roomMembers$'][_0x3b92b4(0x2a6)]();}[_0x454d83(0x552)](){const _0x102a21=_0x454d83;this[_0x102a21(0x238)]||(this[_0x102a21(0x238)]=!0x0,this['_session'][_0x102a21(0x3b2)][_0x102a21(0x358)](A[_0x102a21(0x3da)](this[_0x102a21(0x2d7)]))['subscribe'](_0x3ca592=>{const _0x599411=_0x102a21;_0x3ca592===se[_0x599411(0x3e5)]?this[_0x599411(0x1ff)]():this[_0x599411(0x4a9)]();}),this[_0x102a21(0x4f4)][_0x102a21(0x385)][_0x102a21(0x358)](A[_0x102a21(0x3da)](this[_0x102a21(0x2d7)]))[_0x102a21(0x487)](_0x4928b9=>{const _0x45c8a7=_0x102a21,_0x32cad4=_0x4928b9[_0x45c8a7(0x5ed)];_0x32cad4===S[_0x45c8a7(0x2c7)][_0x45c8a7(0x2e3)]&&this[_0x45c8a7(0x603)](_0x4928b9),_0x32cad4===S[_0x45c8a7(0x2c7)]['USERS_LEAVE']&&this[_0x45c8a7(0x25c)](_0x4928b9);}),this[_0x102a21(0x31d)](),this['disposeWithMe'](this[_0x102a21(0x1b9)]['onCommandExecuted'](_0x464154=>{const _0x1ce46a=_0x102a21;if(this[_0x1ce46a(0x445)]&&_0x464154['id']===k[_0x1ce46a(0x5d4)]['id']&&_0x464154[_0x1ce46a(0x2a7)]['unitId']===this[_0x1ce46a(0x42f)]){const _0x2c759b=_0x464154[_0x1ce46a(0x2a7)];this[_0x1ce46a(0x61a)](_0x2c759b[_0x1ce46a(0x2d4)],_0x2c759b[_0x1ce46a(0x5e7)][0x0]);}})));}[_0x454d83(0x603)](_0x15a96d){const _0x45881b=_0x454d83;var _0x51653e,_0xdf5a21;const {memberID:_0x1ea306,selection:_0x407212}=_0x15a96d[_0x45881b(0x347)],{sheetName:_0x597ec8,range:_0x4f9634}=wt[_0x45881b(0x628)](_0x407212),_0x7233af={'name':(_0xdf5a21=(_0x51653e=this[_0x45881b(0x535)][_0x45881b(0x566)](this[_0x45881b(0x42f)],_0x1ea306))==null?void 0x0:_0x51653e[_0x45881b(0x310)])!=null?_0xdf5a21:'Unknown\x20user','range':this[_0x45881b(0x2e6)](_0x597ec8,_0x4f9634),'sheetID':_0x597ec8,'color':this[_0x45881b(0x27d)][_0x45881b(0x3a0)](_0x1ea306),'selection':_0x407212},_0x3e83f9=this[_0x45881b(0x2e5)];_0x3e83f9[_0x45881b(0x43f)](_0x1ea306,_0x7233af),this['_cursorInfo$'][_0x45881b(0x40e)](_0x3e83f9);}['_onCursorDelete'](_0x301396){const _0x313eb0=_0x454d83,{memberID:_0x311317}=_0x301396['data'],_0x5efe0b=this[_0x313eb0(0x2e5)];_0x5efe0b[_0x313eb0(0x2e9)](_0x311317),this['_cursorInfo$'][_0x313eb0(0x40e)](_0x5efe0b);}[_0x454d83(0x2e6)](_0x52f6d3,_0x29dd18){const _0x1a5c5d=_0x454d83;var _0x3fae78,_0x281dfb;const _0x1de2e1=(_0x281dfb=(_0x3fae78=this[_0x1a5c5d(0x29b)][_0x1a5c5d(0x5ff)](this[_0x1a5c5d(0x42f)]))==null?void 0x0:_0x3fae78[_0x1a5c5d(0x45c)](_0x52f6d3))==null?void 0x0:_0x281dfb['getMergeData']();return(_0x1de2e1==null?void 0x0:_0x1de2e1['find'](_0x93b47a=>a[_0x1a5c5d(0x200)][_0x1a5c5d(0x418)](_0x93b47a,_0x29dd18)))||_0x29dd18;}[_0x454d83(0x31d)](){const _0x2f7d4f=_0x454d83,_0x20660c=new a[(_0x2f7d4f(0x56e))](),_0x4cf253=es(),_0x21c1b6=()=>{const _0x49de3b=_0x2f7d4f;_0x20660c['dispose']();const _0x209cbb=(_0x4835fe,_0x4ba93c,_0x59bb19,_0x28d8d4)=>{const _0x2fb3ec=_0x4cad;let _0x2e7d61=[];switch(_0x4835fe['id']){case k[_0x2fb3ec(0x4f2)][_0x2fb3ec(0x52b)]:{_0x2e7d61=k[_0x2fb3ec(0x477)](_0x4835fe,_0x28d8d4);break;}case k[_0x2fb3ec(0x4f2)][_0x2fb3ec(0x275)]:{_0x2e7d61=k[_0x2fb3ec(0x54a)](_0x4835fe,_0x28d8d4);break;}case k[_0x2fb3ec(0x4f2)][_0x2fb3ec(0x1e1)]:{_0x2e7d61=k[_0x2fb3ec(0x3c8)](_0x4835fe,_0x28d8d4);break;}case k[_0x2fb3ec(0x4f2)][_0x2fb3ec(0x4f0)]:{_0x2e7d61=k[_0x2fb3ec(0x26b)](_0x4835fe,_0x28d8d4);break;}case k[_0x2fb3ec(0x4f2)]['InsertRangeMoveRightCommandId']:{_0x2e7d61=k[_0x2fb3ec(0x55e)](_0x4835fe,_0x28d8d4);break;}case k[_0x2fb3ec(0x4f2)]['InsertRowCommandId']:{_0x2e7d61=k['handleInsertRow'](_0x4835fe,_0x28d8d4);break;}case k[_0x2fb3ec(0x4f2)][_0x2fb3ec(0x35a)]:{_0x2e7d61=k['handleMoveRange'](_0x4835fe,_0x28d8d4);break;}case k['EffectRefRangId'][_0x2fb3ec(0x1a9)]:{_0x2e7d61=k[_0x2fb3ec(0x1d0)](_0x4835fe,_0x28d8d4);break;}case k[_0x2fb3ec(0x4f2)][_0x2fb3ec(0x360)]:{_0x2e7d61=k[_0x2fb3ec(0x3b1)](_0x4835fe,_0x28d8d4);break;}}const _0x1adf8f=k[_0x2fb3ec(0x240)](_0x2e7d61,_0x28d8d4),_0x1cf270=this['cursorInfo'][_0x2fb3ec(0x572)](_0x4ba93c);if(_0x1cf270&&_0x1adf8f){const _0x4c9dbc={..._0x1cf270,'range':_0x1adf8f};this['cursorInfo'][_0x2fb3ec(0x43f)](_0x4ba93c,_0x4c9dbc),_0x4cf253(()=>{const _0x46d0cc=_0x2fb3ec,_0x3206ef=this[_0x46d0cc(0x237)][_0x46d0cc(0x3a6)](_0x1adf8f,_0x1f342f=>(_0x3206ef[_0x46d0cc(0x19b)](),_0x209cbb(_0x1f342f,_0x4ba93c,_0x59bb19,_0x1adf8f)));_0x20660c[_0x46d0cc(0x284)](_0x3206ef);});}return{'redos':[],'undos':[]};};this[_0x49de3b(0x2e5)][_0x49de3b(0x46e)]((_0x51102e,_0x4a5563)=>{const _0x28b2e7=_0x49de3b,{range:_0x30571c,sheetID:_0x2854fe}=_0x51102e,_0x5e1cbb=this[_0x28b2e7(0x237)][_0x28b2e7(0x3a6)](_0x30571c,_0x1439bf=>(_0x5e1cbb[_0x28b2e7(0x19b)](),_0x209cbb(_0x1439bf,_0x4a5563,_0x2854fe,_0x30571c)));_0x20660c['add'](_0x5e1cbb);});};this[_0x2f7d4f(0x421)](a['toDisposable'](this[_0x2f7d4f(0x648)][_0x2f7d4f(0x487)](()=>{_0x21c1b6();})));}[_0x454d83(0x1ff)](){const _0x42bfc5=_0x454d83;var _0x42c284,_0x41d94e;if(this[_0x42bfc5(0x445)]=!0x0,((_0x42c284=this[_0x42bfc5(0x29b)]['getFocusedUnit']())==null?void 0x0:_0x42c284[_0x42bfc5(0x4f9)]())!==this[_0x42bfc5(0x42f)])return;const _0x2334eb=(_0x41d94e=this['_injector'][_0x42bfc5(0x572)](k['SheetsSelectionsService'])[_0x42bfc5(0x4c3)]())==null?void 0x0:_0x41d94e[0x0],_0x3c94de=this[_0x42bfc5(0x29b)][_0x42bfc5(0x3ba)](a['UniverInstanceType'][_0x42bfc5(0x351)])['getActiveSheet']();_0x2334eb&&_0x3c94de&&this[_0x42bfc5(0x61a)](_0x3c94de['getSheetId'](),_0x2334eb);}[_0x454d83(0x4a9)](){const _0x32eb81=_0x454d83;this[_0x32eb81(0x445)]=!0x1;}};mt=Ji([be(0x2,a['Inject'](a['Injector'])),be(0x3,a[_0x454d83(0x271)](yt)),be(0x4,a['Inject'](exports[_0x454d83(0x254)])),be(0x5,a[_0x454d83(0x2ed)]),be(0x6,a[_0x454d83(0x462)]),be(0x7,a[_0x454d83(0x271)](k[_0x454d83(0x36f)]))],mt);var ts=Object[_0x454d83(0x276)],ns=Object['getOwnPropertyDescriptor'],is=(_0x49fe80,_0x1700a0,_0x1b4e49,_0x4764d5)=>{for(var _0x47632e=_0x4764d5>0x1?void 0x0:_0x4764d5?ns(_0x1700a0,_0x1b4e49):_0x1700a0,_0x4fe938=_0x49fe80['length']-0x1,_0x368f94;_0x4fe938>=0x0;_0x4fe938--)(_0x368f94=_0x49fe80[_0x4fe938])&&(_0x47632e=(_0x4764d5?_0x368f94(_0x1700a0,_0x1b4e49,_0x47632e):_0x368f94(_0x47632e))||_0x47632e);return _0x4764d5&&_0x47632e&&ts(_0x1700a0,_0x1b4e49,_0x47632e),_0x47632e;},nt=(_0x1f14c8,_0x61ad76)=>(_0x204f51,_0x12cf0d)=>_0x61ad76(_0x204f51,_0x12cf0d,_0x1f14c8);let De=class extends a[_0x454d83(0x28b)]{constructor(_0x14448f,_0x1c8aff,_0x2f139f){const _0x1350ab=_0x454d83;super(),I(this,_0x1350ab(0x307),new Map()),I(this,'_entityInit$',new A[(_0x1350ab(0x3ce))]()),(this[_0x1350ab(0x29b)]=_0x14448f,this['_injector']=_0x1c8aff,this[_0x1350ab(0x2f5)]=_0x2f139f,this['_init']());}['dispose'](){const _0xb76892=_0x454d83;super[_0xb76892(0x19b)](),this[_0xb76892(0x450)][_0xb76892(0x2a6)](),this[_0xb76892(0x307)][_0xb76892(0x46e)](_0x291def=>_0x291def[_0xb76892(0x19b)]());}['getCollabCursors$'](_0x5ff793){const _0x267494=_0x454d83;return this['_entities'][_0x267494(0x44a)](_0x5ff793)?this[_0x267494(0x307)][_0x267494(0x572)](_0x5ff793)[_0x267494(0x5f7)]:this['_entityInit$'][_0x267494(0x358)](A[_0x267494(0x3a4)](_0x1bace7=>_0x1bace7[_0x267494(0x42f)]===_0x5ff793),A[_0x267494(0x2ca)](_0x20d6bb=>_0x20d6bb[_0x267494(0x5f7)]));}['_init'](){const _0x10d88f=_0x454d83;this['_univerInstanceService'][_0x10d88f(0x2fd)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x10d88f(0x358)](A[_0x10d88f(0x3da)](this[_0x10d88f(0x2d7)]))[_0x10d88f(0x487)](async _0x410484=>{const _0x418355=_0x10d88f,_0x938beb=_0x410484[_0x418355(0x4f9)](),_0x2c0677=await this[_0x418355(0x1dd)](_0x938beb);this[_0x418355(0x450)][_0x418355(0x40e)](_0x2c0677),this[_0x418355(0x307)][_0x418355(0x43f)](_0x938beb,_0x2c0677);}),this[_0x10d88f(0x29b)][_0x10d88f(0x2fd)](a[_0x10d88f(0x5d3)][_0x10d88f(0x55f)])[_0x10d88f(0x358)](A[_0x10d88f(0x3da)](this[_0x10d88f(0x2d7)]))[_0x10d88f(0x358)](A[_0x10d88f(0x3a4)](_0x53e975=>!_0x53e975[_0x10d88f(0x4f9)]()[_0x10d88f(0x2b6)]('__')))[_0x10d88f(0x487)](async _0x15b831=>{const _0x3ab961=_0x10d88f,_0x5b5aba=_0x15b831[_0x3ab961(0x4f9)](),_0x2ec7ba=await this[_0x3ab961(0x1c2)](_0x5b5aba);this['_entityInit$'][_0x3ab961(0x40e)](_0x2ec7ba),this[_0x3ab961(0x307)][_0x3ab961(0x43f)](_0x5b5aba,_0x2ec7ba);}),A[_0x10d88f(0x465)](this[_0x10d88f(0x29b)][_0x10d88f(0x633)](a[_0x10d88f(0x5d3)][_0x10d88f(0x55f)]),this['_univerInstanceService'][_0x10d88f(0x633)](a[_0x10d88f(0x5d3)][_0x10d88f(0x351)]))['pipe'](A['takeUntil'](this[_0x10d88f(0x2d7)]))[_0x10d88f(0x487)](_0x3a0a29=>{const _0x26b800=_0x10d88f,_0x2f4768=_0x3a0a29[_0x26b800(0x4f9)](),_0x448275=this[_0x26b800(0x307)][_0x26b800(0x572)](_0x2f4768);_0x448275&&(_0x448275['dispose'](),this['_entities'][_0x26b800(0x2e9)](_0x2f4768));});}async['_startSheetCollabCursor'](_0x95b565){const _0x53500c=_0x454d83,_0x26406a=await this[_0x53500c(0x2f5)][_0x53500c(0x425)](_0x95b565),_0x10ff96=this[_0x53500c(0x1ac)][_0x53500c(0x2fa)](mt,_0x95b565,_0x26406a);return _0x10ff96[_0x53500c(0x552)](),_0x10ff96;}async[_0x454d83(0x1c2)](_0x24e615){const _0x37b1ed=_0x454d83,_0x3fb51c=await this[_0x37b1ed(0x2f5)][_0x37b1ed(0x425)](_0x24e615),_0x177f6f=this[_0x37b1ed(0x1ac)][_0x37b1ed(0x2fa)](vt,_0x24e615,_0x3fb51c);return _0x177f6f[_0x37b1ed(0x552)](),_0x177f6f;}};De=is([nt(0x0,a[_0x454d83(0x2ed)]),nt(0x1,a['Inject'](a[_0x454d83(0x41c)])),nt(0x2,a[_0x454d83(0x271)](exports[_0x454d83(0x4d6)]))],De);const Le=0x14,$t=0xc8,it=0x4,ss=0x5;function rs(_0x570a14,_0x1604b4){const _0x1c40e5=_0x454d83;let {radius:_0x487b7a,width:_0xd8ab3f,height:_0x48f26e}=_0x1604b4;_0x487b7a=_0x487b7a!=null?_0x487b7a:0x0,_0xd8ab3f=_0xd8ab3f!=null?_0xd8ab3f:0x1e,_0x48f26e=_0x48f26e!=null?_0x48f26e:0x1e;let _0x46334e=0x0,_0x15373f=0x0,_0x950bb9=0x0;_0x46334e=_0x15373f=_0x950bb9=Math[_0x1c40e5(0x612)](_0x487b7a,_0xd8ab3f/0x2,_0x48f26e/0x2),_0x570a14['beginPath'](),_0x570a14[_0x1c40e5(0x442)](_0x46334e,0x0),_0x570a14[_0x1c40e5(0x354)](_0xd8ab3f-_0x15373f,0x0),_0x570a14['arc'](_0xd8ab3f-_0x15373f,_0x15373f,_0x15373f,Math['PI']*0x3/0x2,0x0,!0x1),_0x570a14['lineTo'](_0xd8ab3f,_0x48f26e-_0x950bb9),_0x570a14['arc'](_0xd8ab3f-_0x950bb9,_0x48f26e-_0x950bb9,_0x950bb9,0x0,Math['PI']/0x2,!0x1),_0x570a14[_0x1c40e5(0x354)](0x0,_0x48f26e),_0x570a14[_0x1c40e5(0x354)](0x0,_0x46334e),_0x570a14['arc'](_0x46334e,_0x46334e,_0x46334e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x570a14[_0x1c40e5(0x36d)](),_0x1604b4[_0x1c40e5(0x492)]&&(_0x570a14[_0x1c40e5(0x4aa)](),_0x570a14['fillStyle']=_0x1604b4[_0x1c40e5(0x492)],_0x1604b4['fillRule']==='evenodd'?_0x570a14['fill']('evenodd'):_0x570a14['fill'](),_0x570a14['restore']());}class ze extends K[_0x454d83(0x430)]{constructor(_0x478a30,_0x569044){const _0x9cfdb0=_0x454d83;super(_0x478a30,_0x569044),I(this,_0x9cfdb0(0x585)),I(this,'text'),(this['color']=_0x569044==null?void 0x0:_0x569044[_0x9cfdb0(0x585)],this[_0x9cfdb0(0x1f9)]=_0x569044==null?void 0x0:_0x569044[_0x9cfdb0(0x1f9)]);}static[_0x454d83(0x4c5)](_0x26bb1d,_0x5c27d4){const _0x46373d=_0x454d83,{text:_0x21ab80,color:_0x498f37}=_0x5c27d4;_0x26bb1d[_0x46373d(0x4aa)](),_0x26bb1d[_0x46373d(0x2e4)]=_0x46373d(0x547);const _0x292c96=_0x26bb1d[_0x46373d(0x215)](_0x21ab80)[_0x46373d(0x374)],_0xa9ef36=Math[_0x46373d(0x612)](_0x292c96+0x2*it,$t);rs(_0x26bb1d,{'height':Le,'radius':0x4,'width':_0xa9ef36,'fill':_0x498f37,'evented':!0x1}),_0x26bb1d[_0x46373d(0x60f)]=_0x46373d(0x3a8);const _0x4d8015=it,_0x5e405f=Le-ss,_0x4cf749=$t-0x2*it;if(_0x292c96>_0x4cf749){let _0x538248='',_0x2b8ee0=0x0;for(const _0x236dda of _0x21ab80){const _0x813c4a=_0x26bb1d['measureText'](_0x236dda)[_0x46373d(0x374)];if(_0x2b8ee0+_0x813c4a<=_0x4cf749-_0x26bb1d[_0x46373d(0x215)](_0x46373d(0x44e))[_0x46373d(0x374)])_0x538248+=_0x236dda,_0x2b8ee0+=_0x813c4a;else{_0x538248+=_0x46373d(0x44e);break;}}_0x26bb1d[_0x46373d(0x34c)](_0x538248,_0x4d8015,_0x5e405f);}else _0x26bb1d[_0x46373d(0x34c)](_0x21ab80,_0x4d8015,_0x5e405f);_0x26bb1d['restore']();}['_draw'](_0x3c2853){const _0x184842=_0x454d83;ze[_0x184842(0x4c5)](_0x3c2853,this);}}const st=_0x454d83(0x3fc),os=_0x454d83(0x22f),as=_0x454d83(0x550),Ue=0x6,cs=1.5,rt=0x4,ls=1.5,hs=_0x454d83(0x523);class Ht{constructor(_0x5d9adb,_0x5a14e1,_0x46b9ea,_0x2a1dfc){const _0x167103=_0x454d83;I(this,_0x167103(0x3a1),[]),I(this,_0x167103(0x2b9),null),I(this,_0x167103(0x1e6),null),I(this,_0x167103(0x2db),null),I(this,'_hideTimer',null),I(this,'_eventUnsubscribe',null),(this[_0x167103(0x4c7)]=_0x5d9adb,this['_scene']=_0x5a14e1,this[_0x167103(0x253)]=_0x46b9ea,this['_document']=_0x2a1dfc,this['_render']());}set[_0x454d83(0x3b5)](_0x2ab20b){const _0x66c896=_0x454d83;_0x2ab20b?(this['_anchorDot']&&this[_0x66c896(0x2db)]['hide'](),this[_0x66c896(0x1e6)]&&this[_0x66c896(0x1e6)][_0x66c896(0x2c3)]()):(this[_0x66c896(0x2db)]&&this['_anchorDot']['show'](),this['_textBubble']&&this[_0x66c896(0x1e6)]['hide']());}[_0x454d83(0x19b)](){const _0x33ed30=_0x454d83;for(const _0x4888e9 of this[_0x33ed30(0x3a1)])_0x4888e9[_0x33ed30(0x19b)]();this[_0x33ed30(0x1e6)]&&this[_0x33ed30(0x1e6)]['dispose'](),this[_0x33ed30(0x2db)]&&this[_0x33ed30(0x2db)][_0x33ed30(0x19b)](),this[_0x33ed30(0x2b9)]&&this[_0x33ed30(0x2b9)][_0x33ed30(0x19b)](),this['_eventUnsubscribe']&&this[_0x33ed30(0x19d)]();}[_0x454d83(0x1b1)](){const _0x3d5b1c=_0x454d83;var _0xe6fc87;const {_docSkeleton:_0x5dfe6b,_document:_0x2a5642}=this,{color:_0xf6b0e9,name:_0x2e8f88,ranges:_0x66494b}=this['_cursor'],_0x5f03b1=_0x2a5642[_0x3d5b1c(0x2f2)](),{docsLeft:_0x343cc7,docsTop:_0x41aea4}=_0x5f03b1,_0x290895=new J[(_0x3d5b1c(0x562))](_0x5f03b1,_0x5dfe6b);for(const {startOffset:_0x2a1305,endOffset:_0x24f479,rangeType:_0x25a714,segmentId:_0x25dccd,segmentPage:_0x4cb342,collapsed:_0x35039f,isActive:_0x1653bb}of _0x66494b){const _0x4e6999=_0x5dfe6b[_0x3d5b1c(0x287)](_0x2a1305,!0x0,_0x25dccd,_0x4cb342);let _0x400ae1=_0x5dfe6b[_0x3d5b1c(0x287)](_0x24f479,!0x0,_0x25dccd,_0x4cb342);if(_0x400ae1==null&&(_0x400ae1=_0x5dfe6b[_0x3d5b1c(0x287)](_0x24f479-0x1,!0x1,_0x25dccd,_0x4cb342)),_0x1653bb){const {contentBoxPointGroup:_0x61484c}=_0x290895[_0x3d5b1c(0x263)](_0x400ae1,_0x400ae1);if(_0x61484c['length']===0x0)continue;this[_0x3d5b1c(0x54b)](_0xf6b0e9,_0x61484c,_0x343cc7,_0x41aea4,_0x2e8f88),this[_0x3d5b1c(0x19d)]=this[_0x3d5b1c(0x4f6)]();}if(_0x4e6999&&_0x400ae1){if(_0x25a714===a[_0x3d5b1c(0x31e)][_0x3d5b1c(0x5db)]){const _0x588a52=new J['NodePositionConvertToRectRange'](_0x5f03b1,_0x5dfe6b),{pointGroup:_0x291a86}=(_0xe6fc87=_0x588a52[_0x3d5b1c(0x263)](_0x4e6999,_0x400ae1))!=null?_0xe6fc87:{};if(_0x291a86==null||_0x291a86[_0x3d5b1c(0x216)]===0x0)continue;this['_drawRectRange'](_0xf6b0e9,_0x291a86,_0x343cc7,_0x41aea4);}else{if(!_0x35039f){const {borderBoxPointGroup:_0x202cb8}=_0x290895[_0x3d5b1c(0x263)](_0x4e6999,_0x400ae1);if(_0x202cb8[_0x3d5b1c(0x216)]===0x0)continue;this['_drawTextRange'](_0xf6b0e9,_0x202cb8,_0x343cc7,_0x41aea4);}}}}}[_0x454d83(0x54b)](_0x1fc8a8,_0x41d856,_0x46970e,_0x6722cf,_0x3914ac){const _0x44902a=_0x454d83,_0xa68669=this['_getAnchorBounding'](_0x41d856),{left:_0x20343a,top:_0x591d83,height:_0x209dae}=_0xa68669,_0x25b739=this[_0x44902a(0x3d6)](),_0x54f617=ls/_0x25b739,_0x5b33b5=new K[(_0x44902a(0x25b))](st+a['Tools'][_0x44902a(0x2c8)](Ue),{'left':_0x20343a+_0x46970e-_0x54f617,'top':_0x591d83+_0x6722cf,'height':_0x209dae,'width':cs,'fill':_0x1fc8a8||K[_0x44902a(0x469)](a['COLORS'][_0x44902a(0x28a)],0x0),'strokeWidth':_0x54f617,'stroke':hs,'evented':!0x0});this[_0x44902a(0x2b9)]=_0x5b33b5,this[_0x44902a(0x3c9)]['addObject'](_0x5b33b5,J[_0x44902a(0x630)]);const _0x497091=new K[(_0x44902a(0x25b))](st+a[_0x44902a(0x457)][_0x44902a(0x2c8)](Ue),{'left':_0x20343a+_0x46970e-_0x54f617,'top':_0x591d83+_0x6722cf-rt/0x2,'height':rt,'width':rt,'fill':_0x1fc8a8||K['getColor'](a[_0x44902a(0x35c)][_0x44902a(0x28a)],0x0),'strokeWidth':0x0,'stroke':_0x1fc8a8||K['getColor'](a[_0x44902a(0x35c)]['black'],0x0),'evented':!0x1});this[_0x44902a(0x2db)]=_0x497091,this[_0x44902a(0x3c9)][_0x44902a(0x2b2)](_0x497091,J[_0x44902a(0x630)]);const _0x45d3f8=new ze(st+a[_0x44902a(0x457)][_0x44902a(0x2c8)](Ue),{'left':_0x20343a+_0x46970e-_0x54f617,'top':_0x591d83+_0x6722cf-Le,'text':_0x3914ac,'color':_0x1fc8a8});this[_0x44902a(0x1e6)]=_0x45d3f8,this[_0x44902a(0x3c9)][_0x44902a(0x2b2)](_0x45d3f8,J[_0x44902a(0x630)]),this[_0x44902a(0x3b5)]=!0x1;}[_0x454d83(0x4f6)](){const _0x4c45a0=_0x454d83,_0x37c80c=this[_0x4c45a0(0x2b9)][_0x4c45a0(0x1dc)][_0x4c45a0(0x23a)](()=>{const _0x1658da=_0x4c45a0;this[_0x1658da(0x3b5)]=!0x0;}),_0x5b5bf4=this[_0x4c45a0(0x2b9)][_0x4c45a0(0x478)]['subscribeEvent'](()=>{const _0x1a2095=_0x4c45a0;this[_0x1a2095(0x3c7)]&&clearTimeout(this['_hideTimer']),this[_0x1a2095(0x3c7)]=setTimeout(()=>{const _0x16a637=_0x1a2095;this[_0x16a637(0x3b5)]=!0x1;},0x7d0);});return()=>{const _0x5291b1=_0x4c45a0;_0x37c80c[_0x5291b1(0x309)](),_0x5b5bf4[_0x5291b1(0x309)]();};}[_0x454d83(0x613)](_0x5990c4,_0x1c92e6,_0x548e0f,_0x33adc7){const _0x36e873=_0x454d83,_0x37bdb7=new a[(_0x36e873(0x1aa))](_0x5990c4)[_0x36e873(0x417)](0.2)['toRgbString'](),_0x571df9=new K['RegularPolygon'](os+a['Tools']['generateRandomId'](Ue),{'pointsGroup':_0x1c92e6,'fill':_0x37bdb7||K[_0x36e873(0x469)](a[_0x36e873(0x35c)][_0x36e873(0x28a)],0.2),'left':_0x548e0f,'top':_0x33adc7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x36e873(0x3a1)][_0x36e873(0x54c)](_0x571df9),this[_0x36e873(0x3c9)]['addObject'](_0x571df9,J[_0x36e873(0x630)]);}[_0x454d83(0x390)](_0x124b02,_0x200be2,_0x324fdc,_0x18a5d2){const _0x222185=_0x454d83,_0x438289=new a[(_0x222185(0x1aa))](_0x124b02)[_0x222185(0x417)](0.2)[_0x222185(0x335)](),_0x110021=new K[(_0x222185(0x5fd))](as+a['Tools'][_0x222185(0x2c8)](Ue),{'pointsGroup':_0x200be2,'fill':_0x438289||K[_0x222185(0x469)](a['COLORS']['black'],0.2),'left':_0x324fdc,'top':_0x18a5d2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x222185(0x3a1)][_0x222185(0x54c)](_0x110021),this[_0x222185(0x3c9)][_0x222185(0x2b2)](_0x110021,J[_0x222185(0x630)]);}['_getAnchorBounding'](_0xef5f5){const _0x391fe1=_0xef5f5[0x0],_0x51a0d9=_0x391fe1[0x0],_0x37b27c=_0x391fe1[0x2],{x:_0x536945,y:_0x3b1231}=_0x51a0d9,{x:_0x42705f,y:_0x33ae4a}=_0x37b27c;return{'left':_0x536945,'top':_0x3b1231,'width':_0x42705f-_0x536945,'height':_0x33ae4a-_0x3b1231};}[_0x454d83(0x3d6)](){const _0x53cb73=_0x454d83,{scaleX:_0x35805a,scaleY:_0x512741}=this[_0x53cb73(0x3c9)][_0x53cb73(0x60e)]();return Math[_0x53cb73(0x1c4)](_0x35805a,_0x512741);}}var _s=Object[_0x454d83(0x276)],us=Object[_0x454d83(0x3ec)],ds=(_0x501465,_0x12bba5,_0x386d56,_0x442512)=>{const _0x227e07=_0x454d83;for(var _0x507cea=_0x442512>0x1?void 0x0:_0x442512?us(_0x12bba5,_0x386d56):_0x12bba5,_0x5a4773=_0x501465[_0x227e07(0x216)]-0x1,_0x375b1;_0x5a4773>=0x0;_0x5a4773--)(_0x375b1=_0x501465[_0x5a4773])&&(_0x507cea=(_0x442512?_0x375b1(_0x12bba5,_0x386d56,_0x507cea):_0x375b1(_0x507cea))||_0x507cea);return _0x442512&&_0x507cea&&_s(_0x12bba5,_0x386d56,_0x507cea),_0x507cea;},je=(_0x375ec3,_0x31a6e5)=>(_0x43bf1e,_0x18ee49)=>_0x31a6e5(_0x43bf1e,_0x18ee49,_0x375ec3);let St=class extends a['RxDisposable']{constructor(_0x2a1c88,_0x48f05e,_0x4ae44f,_0x2887bd,_0x116337){const _0x5ce763=_0x454d83;super(),I(this,_0x5ce763(0x273),[]),I(this,'_cursors',[]),(this[_0x5ce763(0x58b)]=_0x2a1c88,this[_0x5ce763(0x4ed)]=_0x48f05e,this[_0x5ce763(0x55b)]=_0x4ae44f,this['_commandService']=_0x2887bd,this[_0x5ce763(0x454)]=_0x116337,this[_0x5ce763(0x238)]());}[_0x454d83(0x238)](){const _0xed807b=_0x454d83,_0x429dfd=this[_0xed807b(0x58b)][_0xed807b(0x26c)],_0x4a5fa7=this[_0xed807b(0x4ed)];this['disposeWithMe'](A['combineLatest']([this[_0xed807b(0x55b)][_0xed807b(0x45e)](_0x429dfd),this['_themeService'][_0xed807b(0x30b)]])[_0xed807b(0x358)](V[_0xed807b(0x52f)](([_0x261a06,_0x4b3f07])=>({'skeleton':_0x4a5fa7['getSkeleton'](),'cursors':[..._0x261a06['values']()][_0xed807b(0x1c0)](_0x21a011=>({..._0x21a011,'color':_0x4b3f07[_0x21a011[_0xed807b(0x585)]]}))})))[_0xed807b(0x487)](_0x22131c=>{const _0x5a9e27=_0xed807b;if(this[_0x5a9e27(0x582)](),_0x22131c){const {skeleton:_0x20a75f,cursors:_0x57dfca}=_0x22131c;this[_0x5a9e27(0x227)](_0x20a75f,_0x57dfca);}})),this[_0xed807b(0x455)](),this[_0xed807b(0x42a)]();}['_updateCollabCursors'](_0x149ec0,_0x4335a6){const _0x190eff=_0x454d83,{scene:_0x2951d3,mainComponent:_0x1660db}=this[_0x190eff(0x58b)],_0xb85c53=_0x4335a6['map'](_0x690270=>new Ht(_0x690270,_0x2951d3,_0x149ec0,_0x1660db));this[_0x190eff(0x273)]=_0xb85c53,this[_0x190eff(0x5c6)]=_0x4335a6;}[_0x454d83(0x30a)](){const _0x4bff0c=_0x454d83;this[_0x4bff0c(0x582)]();const {scene:_0x540ec2,mainComponent:_0x422b74}=this[_0x4bff0c(0x58b)],_0x57942b=this[_0x4bff0c(0x4ed)][_0x4bff0c(0x581)](),_0x3fa1fe=this[_0x4bff0c(0x5c6)][_0x4bff0c(0x52f)](_0x3867b6=>new Ht(_0x3867b6,_0x540ec2,_0x57942b,_0x422b74));this['_cursorShapes']=_0x3fa1fe;}[_0x454d83(0x582)](){const _0x3a992a=_0x454d83;this['_cursorShapes'][_0x3a992a(0x46e)](_0x3cdda2=>_0x3cdda2[_0x3a992a(0x19b)]()),this['_cursorShapes']=[];}[_0x454d83(0x42a)](){const _0x3d17eb=_0x454d83,_0x1cdbde=[J[_0x3d17eb(0x647)]['id']];this[_0x3d17eb(0x421)](this[_0x3d17eb(0x1b9)][_0x3d17eb(0x33b)](_0x34e10a=>{const _0x422b9d=_0x3d17eb;_0x1cdbde[_0x422b9d(0x23c)](_0x34e10a['id'])&&_0x34e10a[_0x422b9d(0x2a7)][_0x422b9d(0x26c)]===this['_context']['unitId']&&this[_0x422b9d(0x30a)]();}));}[_0x454d83(0x455)](){const _0x407d13=_0x454d83;this[_0x407d13(0x421)](a[_0x407d13(0x413)](this[_0x407d13(0x58b)]['engine']['onTransformChange$'])['pipe'](V[_0x407d13(0x3a4)](_0x1fc5be=>_0x1fc5be[_0x407d13(0x573)]===K[_0x407d13(0x4a4)]['resize']),V[_0x407d13(0x4e2)](0x10))[_0x407d13(0x487)](()=>{const _0x3c74a7=_0x407d13;this[_0x3c74a7(0x30a)]();}));}};St=ds([je(0x1,a[_0x454d83(0x271)](ye[_0x454d83(0x530)])),je(0x2,a['Inject'](De)),je(0x3,a[_0x454d83(0x462)]),je(0x4,a[_0x454d83(0x271)](a[_0x454d83(0x3e0)]))],St);const fs=0x1,vs=1.5;class vn extends K[_0x454d83(0x430)]{constructor(_0x5bf6d9,_0x1f5485){const _0x10d0cb=_0x454d83;super(_0x5bf6d9,_0x1f5485),I(this,_0x10d0cb(0x5b5)),I(this,_0x10d0cb(0x2d8),!0x1),I(this,_0x10d0cb(0x3bf)),I(this,_0x10d0cb(0x449),''),I(this,_0x10d0cb(0x27f),_0x10d0cb(0x292)),I(this,_0x10d0cb(0x5f6)),(_0x1f5485&&this[_0x10d0cb(0x392)](_0x1f5485),this[_0x10d0cb(0x1dc)][_0x10d0cb(0x23a)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x10d0cb(0x478)][_0x10d0cb(0x23a)](()=>this[_0x10d0cb(0x392)]({'hovered':!0x1})));}['setShapeProps'](_0x24f54a){const _0x23281b=_0x454d83;var _0x4958ef,_0x37633f,_0x292443,_0x4d5c95,_0xc151b9,_0x5d05d9;this[_0x23281b(0x5b5)]=(_0x4958ef=_0x24f54a[_0x23281b(0x585)])!=null?_0x4958ef:this[_0x23281b(0x5b5)],this['_hovered']=(_0x37633f=_0x24f54a[_0x23281b(0x567)])!=null?_0x37633f:this[_0x23281b(0x2d8)],this[_0x23281b(0x3bf)]=(_0x292443=_0x24f54a[_0x23281b(0x43e)])!=null?_0x292443:this[_0x23281b(0x3bf)],this[_0x23281b(0x449)]=(_0x4d5c95=_0x24f54a[_0x23281b(0x310)])!=null?_0x4d5c95:this['_name'],this[_0x23281b(0x27f)]=(_0xc151b9=_0x24f54a[_0x23281b(0x1f3)])!=null?_0xc151b9:this[_0x23281b(0x27f)],this[_0x23281b(0x5f6)]=(_0x5d05d9=_0x24f54a[_0x23281b(0x5f9)])!=null?_0x5d05d9:this[_0x23281b(0x5f6)],this[_0x23281b(0x42b)]({'width':_0x24f54a[_0x23281b(0x374)],'height':_0x24f54a[_0x23281b(0x289)]});}['onMouseMove'](_0x36af70){const _0x579183=_0x454d83,{row:_0x5135f6,column:_0x1a9837}=_0x36af70;if(_0x5135f6>=this['_range'][_0x579183(0x41a)]&&_0x5135f6<=this[_0x579183(0x3bf)][_0x579183(0x42e)]&&_0x1a9837>=this[_0x579183(0x3bf)][_0x579183(0x58e)]&&_0x1a9837<=this[_0x579183(0x3bf)][_0x579183(0x4ca)]){this[_0x579183(0x392)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x454d83(0x3e2)](_0x299c87){return!0x1;}['_draw'](_0xe01142){const _0x489370=_0x454d83;K[_0x489370(0x25b)][_0x489370(0x4c5)](_0xe01142,{'width':this[_0x489370(0x374)],'height':this['height'],'strokeWidth':vs,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x489370(0x5f6)]}),this['_hovered']&&(_0xe01142['save'](),_0xe01142['transform'](0x1,0x0,0x0,0x1,this[_0x489370(0x374)],this[_0x489370(0x27f)]===_0x489370(0x2c5)?0x0:-Le),ze[_0x489370(0x4c5)](_0xe01142,{'text':this[_0x489370(0x449)],'color':this['_color']}),_0xe01142['restore']());}}var ms=Object['defineProperty'],Ss=Object['getOwnPropertyDescriptor'],ps=(_0x3bc164,_0x5497d8,_0x508d17,_0x46a872)=>{const _0x4c9ac7=_0x454d83;for(var _0xb59798=_0x46a872>0x1?void 0x0:_0x46a872?Ss(_0x5497d8,_0x508d17):_0x5497d8,_0x59d2b8=_0x3bc164[_0x4c9ac7(0x216)]-0x1,_0x2e8b4b;_0x59d2b8>=0x0;_0x59d2b8--)(_0x2e8b4b=_0x3bc164[_0x59d2b8])&&(_0xb59798=(_0x46a872?_0x2e8b4b(_0x5497d8,_0x508d17,_0xb59798):_0x2e8b4b(_0xb59798))||_0xb59798);return _0x46a872&&_0xb59798&&ms(_0x5497d8,_0x508d17,_0xb59798),_0xb59798;},ot=(_0x4c3603,_0x138820)=>(_0x323cd9,_0x2444ec)=>_0x138820(_0x323cd9,_0x2444ec,_0x4c3603);const gs=0x1389;let pt=class extends a[_0x454d83(0x28b)]{constructor(_0x32bff1,_0x462d33,_0x5ab3f9,_0x1d2ba0){const _0xaac312=_0x454d83;super(),I(this,_0xaac312(0x5c6),new Set()),I(this,_0xaac312(0x260),null),(this[_0xaac312(0x58b)]=_0x32bff1,this['_sheetSkeletonManagerService']=_0x462d33,this['_collabCursorController']=_0x5ab3f9,this['_themeService']=_0x1d2ba0,this[_0xaac312(0x238)]());}[_0x454d83(0x238)](){const _0x5c5fbc=_0x454d83;this[_0x5c5fbc(0x414)][_0x5c5fbc(0x1af)]['pipe'](V['takeUntil'](this[_0x5c5fbc(0x2d7)]),V[_0x5c5fbc(0x2ca)](_0x20c2c6=>{const _0x1bbfd1=_0x5c5fbc;if(_0x20c2c6){const _0x3816c6=_0x20c2c6['sheetId'];return A[_0x1bbfd1(0x520)](this[_0x1bbfd1(0x55b)]['getCollabCursors$'](this[_0x1bbfd1(0x58b)]['unitId']),this[_0x1bbfd1(0x454)][_0x1bbfd1(0x30b)])['pipe'](V[_0x1bbfd1(0x52f)](([_0x358857,_0x1ad01a])=>{const _0x56cc10=_0x1bbfd1,_0x304f6f=new Map();return _0x358857[_0x56cc10(0x46e)]((_0x1b2e41,_0x1ec6c8)=>{const _0xec6fe0=_0x56cc10;if(_0x1b2e41['sheetID']===_0x3816c6){const _0x363f44={..._0x1b2e41};_0x363f44[_0xec6fe0(0x585)]=_0x1ad01a[_0x1b2e41[_0xec6fe0(0x585)]],_0x304f6f['set'](_0x1ec6c8,_0x363f44);}}),{'skeleton':_0x20c2c6,'cursors':_0x304f6f};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4ea338,cursors:_0x3b2121})=>{const _0x54dce3=_0x5c5fbc;this[_0x54dce3(0x582)](),_0x4ea338&&this[_0x54dce3(0x227)](_0x4ea338,_0x3b2121);}),this['_sheetSkeletonManagerService'][_0x5c5fbc(0x1af)][_0x5c5fbc(0x487)](_0xa2a69b=>{const _0x39a21c=_0x5c5fbc;if(_0xa2a69b==null)return;const {skeleton:_0x372075}=_0xa2a69b,{scene:_0x5adb8f}=this['_context'];_0x5adb8f[_0x39a21c(0x4c6)][_0x39a21c(0x23a)](a['debounce'](_0xe68b04=>{const _0x4d778e=_0x39a21c;var _0x3002e1,_0x2c2f91;const {offsetX:_0x336d98,offsetY:_0x199828}=_0xe68b04,{x:_0x5d5f36,y:_0xfa27ad}=_0x5adb8f['getRelativeToViewportCoord'](K[_0x4d778e(0x1c9)][_0x4d778e(0x446)]([_0x336d98,_0x199828])),{scaleX:_0x52ade8,scaleY:_0x338791}=_0x5adb8f[_0x4d778e(0x60e)](),_0x514629=_0x5adb8f[_0x4d778e(0x47f)](Re[_0x4d778e(0x569)]['VIEW_MAIN']),_0x170033=_0x5adb8f[_0x4d778e(0x195)](K[_0x4d778e(0x1c9)][_0x4d778e(0x446)]([_0x5d5f36,_0xfa27ad]),_0x514629),_0x58d54f=_0x372075[_0x4d778e(0x5a3)](_0x336d98,_0x199828,_0x52ade8,_0x338791,_0x170033);((_0x3002e1=this[_0x4d778e(0x260)])==null?void 0x0:_0x3002e1[_0x4d778e(0x1e0)])===_0x58d54f[_0x4d778e(0x1e0)]&&((_0x2c2f91=this[_0x4d778e(0x260)])==null?void 0x0:_0x2c2f91['row'])===_0x58d54f[_0x4d778e(0x33e)]||this[_0x4d778e(0x5c6)][_0x4d778e(0x46e)](_0x11e1b0=>{const _0x1992dd=_0x4d778e;_0x11e1b0[_0x1992dd(0x1cb)](_0x58d54f);});},0x64));});}[_0x454d83(0x227)](_0x28e886,_0xc32284){const _0x37cb67=_0x454d83;var _0xfe55aa;const _0x135d68=(_0xfe55aa=this[_0x37cb67(0x414)][_0x37cb67(0x494)]())==null?void 0x0:_0xfe55aa['skeleton'];if(!_0x135d68)return;const _0x4e95aa=this[_0x37cb67(0x580)]();if(!_0x4e95aa)return;this[_0x37cb67(0x5c6)][_0x37cb67(0x46e)](_0x25bab6=>{_0x25bab6['makeDirty']();});const {scene:_0x3a0eee}=_0x4e95aa,_0x424fac=Is(Array[_0x37cb67(0x1b5)](_0xc32284[_0x37cb67(0x626)]()))[_0x37cb67(0x52f)](_0x10c10f=>{const _0x3ebc6d=_0x37cb67,{color:_0x54ce53,range:_0x20760d,name:_0x2d2f2b,selection:_0x3c2072,sheetID:_0x146c88}=_0x10c10f,{startColumn:_0x509e9b,startRow:_0x1fbde3,endColumn:_0x3de1c5,endRow:_0x277bc1}=_0x20760d,_0x38a6d3=Re[_0x3ebc6d(0x217)](_0x1fbde3,_0x509e9b,_0x3a0eee,_0x135d68),_0x2c96ec=Re[_0x3ebc6d(0x217)](_0x277bc1,_0x3de1c5,_0x3a0eee,_0x135d68),{columnHeaderHeightAndMarginTop:_0x3b16b7}=_0x135d68,{startX:_0x38345e,startY:_0x5687f1}=_0x38a6d3,{endX:_0x263324,endY:_0x505d79}=_0x2c96ec,_0x509cd3=_0x263324-_0x38345e,_0x3df64d=_0x505d79-_0x5687f1,_0x1299ed={'labelPosition':_0x5687f1-_0x3b16b7>=Le?'top':_0x3ebc6d(0x2c5),'sheetID':_0x146c88,'range':_0x20760d,'color':_0x54ce53,'name':_0x2d2f2b,'selection':_0x3c2072,'left':_0x38345e,'top':_0x5687f1,'width':_0x509cd3,'height':_0x3df64d,'evented':!0x1,'zIndex':gs};return new vn(_0x2d2f2b,_0x1299ed);});_0x3a0eee[_0x37cb67(0x1d5)](_0x424fac,fs),this[_0x37cb67(0x5c6)]=new Set(_0x424fac);}[_0x454d83(0x582)](){const _0x2dc54c=_0x454d83;var _0x24b812;(_0x24b812=this[_0x2dc54c(0x5c6)])==null||_0x24b812[_0x2dc54c(0x46e)](_0x48d737=>_0x48d737[_0x2dc54c(0x19b)]());}[_0x454d83(0x580)](){const _0x4a1de0=_0x454d83;return Re[_0x4a1de0(0x48f)](this[_0x4a1de0(0x58b)][_0x4a1de0(0x2e8)],this[_0x4a1de0(0x58b)]);}};function _0x36ec(){const _0x11616b=['sheets','EffectRefRangId','put','_session','univer-online-status','_handleHover','[PendingState]:\x20received\x20acknowledgement.','Unknown\x20user','getUnitId','onRemoteAck','decrypt','_changesetSessionId','_initRequestHeader','_beforeCloseService','\x20to\x20','IURLService','replace','_docStateChangeManagerService','DocSelectionManagerService','_createSocket','update','then','getUnitType','_compressMutationService','@univerjs/ui','AuthzIoHttpService','_imageSourceCache','BehaviorSubject','_notificationService','encrypt','_disableEditing','[OfflineState]:\x20received\x20changeset.','/rev/','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','csAckEvent','key','12uSaNjM','_retryCount','leaveEvent','SEND_CHANGESET_TIMEOUT','_getRedoStack','_disabled','body','msCrypto','_heartbeatTimer','@univerjs/sheets-ui','ISnapshotServerService','combineLatest','unload','_registerDependencies','rgba(255,\x20255,\x20255,\x200.01)','duration','members','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getRenderById','&assign=','AWAITING','_key','DeleteRangeMoveLeftCommandId','USERS_ENTER','csRejEvent','toDisposable','map','DocSkeletonManagerService','format','encodeURIComponent','_doProcessBlock','collabStatus.syncing','_memberService','ThresholdInterceptorFactory','saveSheetBlock','HEARTBEAT','@univerjs/rpc','image/jpg','INotificationService','/-/object/list','getCollabEntity$','_removeRoom','collabWebSocketUrl','randomUUID','send','authzUrl','_acknowledgedAwaitingChangeset','concatMap','c1Prime','requestParams','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','reverse','reconnect','handleDeleteRangeMoveUp','_drawAnchor','push','COLLAB_SUBMIT_CHANGESET_URL','_configService','/fetchmissing?from=','collab-rect-range-','_colorIndex','init','OTHER_CLIENTS_EDITING','LOGIN_URL_KEY','prototype','isTransformMutationsWithChangesetSuccess','_resendWithTimeout','LIVESHARE_OPERATION','_initDependencies','getDeserializedSheetBlock','_collabCursorController','actions','CollaborationStatusDisplay','handleInsertRangeMoveRight','UNIVER_DOC','defaultProps','_docTransformStateCacheService','NodePositionConvertToCursor','_docTransformIMECacheService','PasswordBasedCipher','keySize','getMember','hovered','_permissionService','VIEWPORT_KEY','_socket','userID','HEARTBEAT_TIMEOUT_KEY','_exhaustRemoteChangesetQueue','DisposableCollection','_setupBeforeClosingHandler','retryConnectingInterval','_localStorageService','get','type','SNAPSHOT_URL_KEY','default','close$','DocStateChangeManagerService','[CollaborationEntity]','b64DecodeUnicode','_transformRemoteChangesetByStateCache','_type','_startCollaboration','UNIVER_SLIDE','_clearOtherTimers','_setupSubUnitSync','_getSheetObject','getSkeleton','_removeCollabCursors','UNAUTHENTICATED','getItem','color','IDLE','APPLY_REVISION_CONFILICT','WebURLService','batchAllowed','visibilitychange','_context','sin','_state$','startColumn','replaceDocRanges','transformStateCache','listRoles','updateOfflineData','charAt','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','?url=','__Key__','_substituteUndoStack','ICollaborationSocketService','_docSyncEditingCollabCursorService','_sendHeartbeatTimer','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','exports','_stopTelemetryCollaborationNewChangeset','textEncoder','COMMENT_UPDATE','DocCollaborationEntity','registerOnClose','getSheetBlock','getCellPositionByOffset','getUndoRedoMutationParamsCache','_getSaveTimeout','signUrlServerUrl','reset','_updateState','_collaborationController','every','syncEditingCollabCursor','_replayCachedMutations','SNAPSHOT_SERVER_URL_KEY','getFocusedUnit','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','LOCAL_CACHE_INTERVAL_KEY','textRanges','deepClone','@univerjs/telemetry','_snapshotServerService','_color','_queuedRemoteChangesets','\x0aCurrent:\x20','_telemetryInfo','awaitingChangeset','object','path','setShowComponents','close','indexOf','rng','method','onRemoteRej','roomMembers$','_members','clear','charCodeAt','_cursors','enableAuthServer','createSocket','SUBMIT_CHANGESET','words','newValue','updatePermissionPoint','MergeInterceptorFactory','1jYYVSK','loginUrlKey','history','Base64','enableSingleActiveInstanceLock','UniverInstanceType','SetSelectionsOperation','awaiting','#fff','_transformRemoteChangesetByIMECache','touchDependencies','parse','saveImage','RECT','_roomMembers$','now','objectID','slice','[CollaborationSession]','conflict.title','@univerjs/engine-render','size','/object','BASE64','UnitSnapshot','selections','@univerjs/drawing','unitId\x20is\x20not\x20found','_changesetReqId','transformStack\x20failed!','RETRY_CONNECTING_MAX_COUNT','eventID','_localeService','_tryEnsureSocket','exhaustSavingTask','IRenderManagerService','Undefined','YUUMI_RATE_OVER_LIMIT','APPLY_REJECT','LOCAL_CACHE_INTERVAL','_backgroundColor','cursorInfo$','clipPath','backgroundColor','apply','_keySchedule','fetchMiss','RegularPolygon','take','getUniverSheetInstance','src','_event$','onRemoteChangeset','_onCursorUpdate','colorChannel1','_clearUndo','hasher','mapTo','onRemoteRetry','COLLAB_WEB_SOCKET_URL_KEY','svg','HEARTBEAT_INTERVAL','transformMutation','/collaborator','getAncestorScale','fillStyle','_config','compute','min','_drawTextRange','registerRenderModule','RichTextEditingMutation','_clearLocalCache','COMPRESS_MUTATION_SEND','onSendChangeset','ReactCurrentOwner','_updateLocalCursor','AES','reject','byteOffset','IPermissionService','ImageIoService','INVALID_ARGUMENT','univerjs-icon\x20univerjs-icon-','onload','loadOfflineData','SNAPSHOT_HAS_BEEN_REMOVED','deserializeToCombResponse','values','setParam','deserializeRangeWithSheet','_collabCursorState$','synced','217274UaIEwD','CONNECTOR_DATA_TOO_LARGE','getUnhiddenWorksheets','TEXT','_commentUpdate$','TEXT_RANGE_LAYER_INDEX','href','UNKNOWN_CMD','getTypeOfUnitDisposed$','BlockCipherMode','BufferedBlockAlgorithm','CompressMutationService','MD5','Plugin','ITelemetryService','__creator','APPLY_DUPLICATED','Tooltip','[SyncedState]:\x20received\x20rejection.','rev','code','getUnitOnRev','processBlock','M0\x200H16V16H0z','_ENC_XFORM_MODE','AUTHZ_URL_KEY','32FbzppA','JOINING','SetDocZoomRatioOperation','_cursorInfo$','onMissingChangesets','_clearScheduledTask','HMAC','offline','mode','getVpScrollXYInfoByPosToVp','isArray','registerHTTPInterceptor','BlockCipher','on-line-single','symbol','dispose','onReady','_eventUnsubscribe','current','SYNCED','fetch_missing','unshift','undoState','UPDATE_PERMISSION_OBJ','_http','_initStatusListener','_resendTimeout','SnapshotServerOverHTTPService','CollaborationEntity','RemoveColCommandId','ColorKit','target','_injector','HEARTBEAT_TIMEOUT','_iKey','currentSkeleton$','updateCollaborator','_render','mergeOverrideWithDependencies','splice','1254HjaohD','from','HttpExport','setTimeout','byteLength','_commandService','react.fragment','collabStatus.conflict','LIVESHARE_REQUEST_HOST','UNRECOGNIZED','setActiveRange','$super','flatMap','roles','_startDocCollabCursor','registerDependencies','max','enableOfflineEditing','ILogService','bind','OffLineSingle','Vector2','onMissedChangesetFetched','onMouseMove','selection','clearTimeout','addEventListener','CollaborationSession','handleIRemoveCol','reqId','_joinRoom','_doFinalize','_onRemoteACK','addObjects','UNIVER_COLLABORATION_CLIENT_PLUGIN','redoState','registerComponent','FAIL','_getUploadFileURL','IImageIoService','onPointerEnter$','_startSheetCollabCursor','purple300','crypto','column','InsertColCommandId','hasOwnProperty','debounce','_transformSelections','change$','_textBubble','_remoteChangesetQueue','CBC','CONFLICT','getAllMembers','ciphertext','pending','jiqing500','_cachedData','use','cfg','padding','json','labelPosition','find','@univerjs-pro/collaboration','INGEST','getUnit','call','text','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_tryReconnect','_onFetchMissResult','_ensureSubject','\x20-\x20','_toggleOnline','Rectangle','sequenceExecute','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_rescheduleHeartbeat','mixIn','/block/','[UniverCollaborationClientPlugin]','UniverCollaborationPlugin','location','collabStatus.offline','_onConnectionOpen','univer-offline','onSyncEditingCollabCursor','isTransformMutationsWithChangesetFailure','_oKey','loadDoc','Hex','tag','kdf','univer-online-status-title','_status$','measureText','length','getCoordByCell','readAsDataURL','removeParam','split','_collaborationSessionService','ImageSourceType','createCollaborator','_decreaseWaiting','Error\x20on\x20receiving\x20event','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','randomBytes','IRemoteInstanceService','_saveCache','clamp','ivSize','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_updateCollabCursors','_updateStatus','SheetCollabCursorShape','getCurrentUser','MessageType','_transformService','_unitID','ImageUploadStatusType','collab-text-range-','defs','_onConnectionFailed','_clearHeartbeatTimer','_redoStacks','_unlockTransition','forwardRef','attrs','_refRangeService','_init','getActiveSheet','subscribeEvent','/universer-api/comb','includes','_sendingTimer','liveShareOperation','/universer-api/file/{fileID}/sign-url','runRefRangeMutations','storage','online','x-univer-host','NEW_CHANGESETS','all','createIdentifier','_createInitialStateImpl','/universer-api/authz','round','getUnitStatus$','6450jivKlu','__esModule','getActiveRange','_doReset','_handleJoinEvent','_append','_executeRemoteChangeset','_getUndoStack','_docSkeleton','MemberService','RevisionService','routeKey','_initUnitPermissionChange','_telemetryService','_syncEditingCollabCursorService','incrementRevOfUnit','Rect','_onCursorDelete','onTransformRemoteChangesetByStateCache','JOIN','_logService','_lastPointer','\x20in\x20_schedule.','_getDownloadEndpointURL','getRangePointData','localeService','CipherParams','_transformStack','session.will-retry','_onRecvEvent','_nRounds','_throwTelemetryCollaborationNewChangeset','handleInsertRangeMoveDown','unitId','registerBeforeClose','_singleActiveUnitService','_getSendChangesetTimeout','_handleLeaveEvent','Inject','HTTPService','_cursorShapes','connectInjector','DeleteRangeMoveUpCommandId','defineProperty','FileId','&to=','join','_revisionService','_sendHeartbeat','_renderManagerService','_colorAssignService','_scheduleTimestamp','_labelPosition','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','status','[CollaborationSessionService]','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','add','442610reScKO','readInt32LE','findNodePositionByCharIndex','jsx','height','black','RxDisposable','capture','focused$','getImageSourceCache','_scheduleCollaborationTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','unknown','top','IMessageService','_xformMode','children','getDocRanges','toggleOffline','shareReplay','sessionStatus','fetchMissingChangesets','_univerInstanceService','_removeClearOtherTimer','toLowerCase','_doCryptBlock','_commentService','resend','mutations','OpenSSL','&source=','_state','session','complete','params','getOwnPropertySymbols','_initCloseConn','revision','Base','transformRemoteChangeset','url','NO_OTHER_CLIENTS_EDITING','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','setInterval','YUUMI_SUBSCRIPTION_NOT_FOUND','addObject','collaboration-client.config','ERROR_IMAGE_TYPE','encryptBlock','startsWith','_timeoutTimer','Fragment','_anchor','HEARTBEAT_INTERVAL_KEY','IContextService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','transformChangesets','getInterceptPoints','univer-online','HTTPRequest','_transformUndoredo','EvpKDF','show','liveShareNewHost','bottom','onRendered','CollaborationEvent','generateRandomId','status$','switchMap','_mode','verdancy600','Utf8','permission.title','conflict','_HTTPService','sigBytes','UnitEmbedded','_invKeySchedule','subUnitId','INTERNAL_ERROR','socketService','dispose$','_hovered','submit\x20changeset\x20error!','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_anchorDot','onCommentUpdate','_docTransformSelectionsService','red300','_sessions','_createHandler','OFFLINE','disableLocalCache','UPDATE_CURSOR','font','cursorInfo','_getMergeRange','image/bmp','unit','delete','override','_getCurrentRevision','getConfig','IUniverInstanceService','setStateCache','awaiting_with_pending','_selfUnitIDs','[FetchMissState]','getOffsetConfig','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','socket$','_collabSessionService','HELLO','parseProtocolChangeset','@univerjs/engine-formula','onStarting','createInstance','YUUMI_URL_COL_OUT_OF_RANGE','[OfflineState]:\x20received\x20acknowledgement.','getTypeOfUnitAdded$','_waitForHeartbeatResponse','string','_getCtorByUniverType','getCollabEntity','loadSheet','getTime','_parse','collaboration.single-unit.warning','WebSocketService','_entities','[DataLoaderController]','unsubscribe','_refreshCollabCursors','currentTheme$','getValue','/universer-api/stream/file/upload','isPermissionRej','with','name','_clearCollaborationTimeoutTimer','removeMember','_socketReady','resourceIDs','_minBufferSize','_hasher','pluginName','LICENSE_EXPORT_SIZE_EXCEEDED','UUID','_onMessage','LICENSE_IMPORT_SIZE_EXCEEDED','open$','_onRefRangeChange','DOC_RANGE_TYPE','delay','_substituteRedoStack','_initStatusComponent','m2Prime','getImage','onTransformRemoteChangesetByIMECache','UniverCollaborationClientPlugin','_userManagerService','CollaborationController','objectActions','defIds','_saveTaskMap','memberID','IUIPartsService','0\x200\x2016\x2016','collabCursorState$','CommandType','image/png','salt','addImageSourceCache','roomMembers','[CollaborationState]:\x20apply\x20error!','toRgbString','onlineStatusTitle','POST','listCollaborators','APPLY_NON_SEQUENTIAL_REVISION','_transformHistoryAndStateStack','onCommandExecuted','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LIVESHARE_FETCH_OPERATIONS','row','ceil','PERMISSION_DENIED','extend','_createHelper','toString','replaceState','_reverseMap','getCurrentRevOfUnit','data','_sessionStatus$','isTransformChangesetsSuccess','IUndoRedoService','_onRemoteRetry','fillText','_listenToOnlineEvent','workbook','setItem','stopTime','UNIVER_SHEET','FETCH_MISSING','UNIVER_PROJECT','lineTo','Error','HmacSHA1','fromEvent','pipe','state$','MoveRangeCommandId','SnapshotService','COLORS','_updateURLWithCurrentState','LICENSE_DISTRO_REJECTED','ILocalStorageService','RemoveRowCommandId','AWAITING_WITH_PENDING','error','_change$','_unitOnClients','CHANGESET_REJ','searchParams','_schedule','ENSURE_SNAPSHOT_EXECUTION','CommentService','collaboration-session-retry','activeSheet$','_instanceService','closePath','isActive','RefRangeService','LEAVE','/allowed','/universer-api/oidc/authpage','_id','width','_initEventListeners','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNDEFINED','/new_changes','debug','originalMeta','clearInterval','LocalCacheService','saveSnapshot','_urlService','cmd','jsxs','_incrementRevisionNumber','_socket$','COLLAB_SUBMIT_CHANGESET_URL_KEY','COLLAB_WEB_SOCKET_URL','event$','unit-cache-','NoPadding','_createInitialState','assign','Malformed\x20UTF-8\x20data','[CollaborationSessionService]:\x20socket\x20error','executeCommand','off-line-single_clip0_910_343','serializeCombRequest','setUndoRedoMutationParamsCache','_drawRectRange','DEFAULT_FILE_NAME','setShapeProps','[CollaborationUndoRedoService]','infoRsp','ITransformService','_sender','react.element','7845530TUsbvn','[OfflineState]:\x20received\x20rejection.','_awaitingChangeset','Decryptor','/unit/','UniverNetworkPlugin','/object/','catch','assignAColorForMemberID','_shapes','formatter','_onJoinRoomEvent','filter','ws://127.0.0.1:8000/universer-api/comb/connect','registerRefRange','_collaborationTimeoutTimer','#FFF','collaboratorID','not_collab','getMemberID','_uiPartsService','commentUpdateEvent','826008hTCXfe','341992lGvaHS','allowed','handleIRemoveRow','sessionStatus$','{fileID}','_handleEvent','_hover','ref','_onRemoteRejected','m1Prime','_handler','getCurrentUnitForType','_unitStatus','TOO_MANY_REQUESTS','getRandomValues','message$','_range','post','_transitionLocked','_onRemoteChangeset','DesktopCollaborationStatusDisplayController','0\x200\x2017\x2016','ERROR_EXCEED_SIZE','@univerjs/docs-ui','_hideTimer','handleInsertCol','_scene','PERMISSION_REJ','confirm','@univerjs/network','saveOfflineData','Subject','_clearTimeoutTimer','deleteCollaborator','[SyncedState]:\x20received\x20acknowledgement.','getSheetId','_onOffline','unpad','NOT_COLLAB','_getScale','SheetSkeletonManagerService','fromCharCode','editingUnit','takeUntil','@univerjs/core','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','debounceTime','for','COMPLETION_FINISHED','ThemeService','putCollaborators','triggerDblclick','_transformUndoRedoStack','CollaborationStatus','ONLINE','entries','pushState','_getLoginPath','[PendingState]:\x20unhandled\x20univer\x20type:\x20','hidden','USERS_LEAVE','getOwnPropertyDescriptor','CollaborationSocketService','editing\x20status\x20changed\x20to','HttpImport','number','OnLineSingle','_iv','onTransformIME','_shouldReportTelemetry','_assignedColors','patch','_getSignURL','none','_data','sid','hostname','collab-text-anchor-','SheetCollaborationEntity','baseRev','_initMergeInterceptor','onlyLocal','WordArray','distinctUntilChanged','pad','PENDING','univer-pro.collaboration-client-socket-service','FETCH_MISS','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Pkcs7','getParam','/universer-api/snapshot','iterations','DocIMEInputManagerService','HEADER_MENU','next','getRoom','useObservable','_hash','LIVESHARE_NEW_HOST','fromEventSubject','_sheetSkeletonManagerService','CHANGESET_ACK','getStateCache','setAlpha','contains','DataLoaderController','startRow','_getAPIPrefix','Injector','_nDataBytes','_ws','create','_loadSheet','disposeWithMe','transformIMECache','icon','SNAPSHOT_INVALID_SNAPSHOT','requireSession','commentUpdate$','stringify','interceptor','Cipher','_initCommandExecutedListener','transformByState','createElement','displayName','endRow','unitID','Shape','isInternalEditorID','enc','createDecryptor','_syncEditingCollabCursor','WorkbookEditablePermission','_localCacheService','_replaceFileID','urlChange$','_lockTransition','refreshPermission','_clearRedo','concat','Optional','range','set','gold400','_pendingMutations','moveTo','asObservable','objectType','_online','FromArray','_handleHeartbeatEvent','_prevBlock','_name','has','_waitCount','_getSnapshotAPIPrefix','encode','...','_submitChangeset','_entityInit$','repeat','_socketService','doc.mutation.rich-text-editing','_themeService','_initResize','_transformStateCache','Tools','YUUMI_UNABLE_LOAD_URL','headers','_scheduleHeartbeat','result','getSheetBySheetId','useDependency','getCollabCursors$','finalize','_transformIMECache','setWaitCount','ICommandService','collaMsg','substring','merge','_DEC_XFORM_MODE','function','fetching\x20missing\x20changesets\x20from\x20','getColor','Hasher','algo','toggleOnline','_httpService','forEach','floor','Univer','_updateSubUnitFromURLParams','transformMutationsWithChangeset','_checkMissing','c2Prime','state','Encryptor','handleDeleteRangeMoveLeft','onPointerLeave$','LIVESHARE_TERMINATE','@univerjs/design','shouldCloseConn','_onUserJoin','responseType','updateMember','getViewport','collabSubmitChangesetUrl','conflict.content','div','SerializableCipher','lib','collaboration.closeRoom','_applyRemoteChangeset','subscribe','_socketMessageSubscription','_isPermissionRej','subunit','_startTelemetryCollaborationNewChangeset','_scheduleSaving','COMPRESS_MUTATION_APPLY','IConfigService','getSheetObject','_process','Module','fill','updateCursorEvent','getCurrent','isTransformMutationFailure','pauseCollaboration','Warning','UserManagerService','_showConflictNotification','execute','transformUndoRedo','connection\x20error','MUTATION','setCurrentUser','ranges','_cipher','1em','_undoRedoService','_candidateSocket','TRANSFORM_CHANGE_OBSERVABLE_TYPE','RECV','_onUserLeave','_onCombEvent','PSEUDO_FETCH_MISSING_RESULT','_toggleOffline','save','LocaleService','origin','_scheduleClearOtherTimer','LocalUndoRedoService','ALREADY_EXISTS','RETRY_CONNECTING_MAX_COUNT_KEY','fetchThroughInterceptors','_undoStacks','[PendingState]:\x20received\x20rejection.','_registerRenderDependencies','appendMutation','_messageService','_getAPIPrefixPath','InsertSheetMutation','UNKNOWN_CODE','_loadDoc','blockSize','_send','collaboration-client.offline-data-not-saved','LICENSE_MAX_UNITS_EXCEEDED','saveChangeset','Could\x20not\x20dynamically\x20require\x20\x22','MSG_FOR_ERROR','clone','getCurrentSelections','ACTIVE_UNIT_EVENT_CHANNEL','drawWith','onPointerMove$','_cursor','CHANGESET_REVISION_CONFILICT','abs','endColumn','univer-online-status-icon','initWorkbookPermissionChange','xlink:href','CHANGESET_SHOULD_RETRY','_map','SUCCUSS','image/jpeg','SetWorksheetActivateCommand','SHA1','Disposable','transformSelections','CollaborationSessionService','trim','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_onConflict','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','APPLY_PERMISSION_DENIED','createEncryptor','idSuffix','_collaborationPaused','380135HWUayd','/-/object/-/batch_allowed','title','throttleTime','file','whenReady','_retryConnectingTimer','reduce','_snapshotService','random','18xiSlwD','_updateLocalCache','ERROR_IMAGE','_resendTimer','_docSkeletonManagerService','sendChangesetTimeout','_roomMembers','InsertRangeMoveDownCommandId'];_0x36ec=function(){return _0x11616b;};return _0x36ec();}pt=ps([ot(0x1,a['Inject'](Re[_0x454d83(0x3d7)])),ot(0x2,a[_0x454d83(0x271)](De)),ot(0x3,a[_0x454d83(0x271)](a[_0x454d83(0x3e0)]))],pt);function Is(_0x40f37f){const _0x419187=_0x454d83,_0x49cef6=new Map();return _0x40f37f[_0x419187(0x46e)](_0xc405b=>{const _0x1c4078=_0x419187;if(_0x49cef6['has'](_0xc405b[_0x1c4078(0x1cc)])){const _0x4f4b83=_0x49cef6[_0x1c4078(0x572)](_0xc405b[_0x1c4078(0x1cc)]);_0x4f4b83[_0x1c4078(0x310)]+=',\x20'+_0xc405b[_0x1c4078(0x310)];}else _0x49cef6[_0x1c4078(0x43f)](_0xc405b[_0x1c4078(0x1cc)],_0xc405b);}),Array[_0x419187(0x1b5)](_0x49cef6[_0x419187(0x626)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x438b03){const _0x5592b9=_0x454d83;return _0x438b03&&_0x438b03[_0x5592b9(0x24c)]&&Object['prototype'][_0x5592b9(0x1e2)][_0x5592b9(0x1f8)](_0x438b03,'default')?_0x438b03[_0x5592b9(0x575)]:_0x438b03;}var mn={'exports':{}},Xe={},Cs=ae,Es=Symbol['for'](_0x454d83(0x397)),bs=Symbol[_0x454d83(0x3de)](_0x454d83(0x1ba)),Ts=Object['prototype'][_0x454d83(0x1e2)],Rs=Cs[_0x454d83(0x226)][_0x454d83(0x619)],ys={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Sn(_0x1798e1,_0x31560a,_0x159117){const _0x159dea=_0x454d83;var _0x4af334,_0x1ee945={},_0x34e2ef=null,_0x48187a=null;_0x159117!==void 0x0&&(_0x34e2ef=''+_0x159117),_0x31560a[_0x159dea(0x514)]!==void 0x0&&(_0x34e2ef=''+_0x31560a[_0x159dea(0x514)]),_0x31560a[_0x159dea(0x3b6)]!==void 0x0&&(_0x48187a=_0x31560a[_0x159dea(0x3b6)]);for(_0x4af334 in _0x31560a)Ts[_0x159dea(0x1f8)](_0x31560a,_0x4af334)&&!ys['hasOwnProperty'](_0x4af334)&&(_0x1ee945[_0x4af334]=_0x31560a[_0x4af334]);if(_0x1798e1&&_0x1798e1[_0x159dea(0x560)]){for(_0x4af334 in(_0x31560a=_0x1798e1[_0x159dea(0x560)],_0x31560a))_0x1ee945[_0x4af334]===void 0x0&&(_0x1ee945[_0x4af334]=_0x31560a[_0x4af334]);}return{'$$typeof':Es,'type':_0x1798e1,'key':_0x34e2ef,'ref':_0x48187a,'props':_0x1ee945,'_owner':Rs[_0x159dea(0x19e)]};}Xe[_0x454d83(0x2b8)]=bs,Xe[_0x454d83(0x288)]=Sn,Xe[_0x454d83(0x380)]=Sn,mn[_0x454d83(0x59c)]=Xe;var pe=mn[_0x454d83(0x59c)],Q=function(){const _0xc4c5c7=_0x454d83;return Q=Object[_0xc4c5c7(0x389)]||function(_0x1b9962){const _0x23344a=_0xc4c5c7;for(var _0x2d140f,_0x3fff22=0x1,_0x2b083b=arguments['length'];_0x3fff22<_0x2b083b;_0x3fff22++){_0x2d140f=arguments[_0x3fff22];for(var _0x3ba7b3 in _0x2d140f)Object[_0x23344a(0x555)]['hasOwnProperty'][_0x23344a(0x1f8)](_0x2d140f,_0x3ba7b3)&&(_0x1b9962[_0x3ba7b3]=_0x2d140f[_0x3ba7b3]);}return _0x1b9962;},Q[_0xc4c5c7(0x5fa)](this,arguments);},Os=function(_0x2ae5f8,_0x7c7c11){const _0x5630ef=_0x454d83;var _0x165981={};for(var _0x26634e in _0x2ae5f8)Object[_0x5630ef(0x555)][_0x5630ef(0x1e2)][_0x5630ef(0x1f8)](_0x2ae5f8,_0x26634e)&&_0x7c7c11['indexOf'](_0x26634e)<0x0&&(_0x165981[_0x26634e]=_0x2ae5f8[_0x26634e]);if(_0x2ae5f8!=null&&typeof Object[_0x5630ef(0x2a8)]=='function'){for(var _0x380b6=0x0,_0x26634e=Object[_0x5630ef(0x2a8)](_0x2ae5f8);_0x380b6<_0x26634e[_0x5630ef(0x216)];_0x380b6++)_0x7c7c11[_0x5630ef(0x5be)](_0x26634e[_0x380b6])<0x0&&Object[_0x5630ef(0x555)]['propertyIsEnumerable'][_0x5630ef(0x1f8)](_0x2ae5f8,_0x26634e[_0x380b6])&&(_0x165981[_0x26634e[_0x380b6]]=_0x2ae5f8[_0x26634e[_0x380b6]]);}return _0x165981;},Ot=ae[_0x454d83(0x235)](function(_0x51bb51,_0x5a3936){const _0x24ad6d=_0x454d83;var _0x665523=_0x51bb51[_0x24ad6d(0x423)],_0x44ec3f=_0x51bb51['id'],_0x16dbdc=_0x51bb51['className'],_0x3d075f=_0x51bb51[_0x24ad6d(0x341)],_0x4601c5=Os(_0x51bb51,[_0x24ad6d(0x423),'id','className',_0x24ad6d(0x341)]),_0x531a03=_0x24ad6d(0x621)[_0x24ad6d(0x43c)](_0x44ec3f,'\x20')[_0x24ad6d(0x43c)](_0x16dbdc||'')[_0x24ad6d(0x4d7)](),_0x1a3eca=ae['useRef']('_'[_0x24ad6d(0x43c)](Ps()));return pn(_0x665523,''[_0x24ad6d(0x43c)](_0x44ec3f),{'defIds':_0x665523['defIds'],'idSuffix':_0x1a3eca['current']},Q({'ref':_0x5a3936,'className':_0x531a03},_0x4601c5),_0x3d075f);});function pn(_0x1dbdd4,_0x45a0eb,_0x4b0f15,_0x5931b5,_0x162ac4){const _0x74a6e5=_0x454d83;return ae[_0x74a6e5(0x42c)](_0x1dbdd4[_0x74a6e5(0x211)],Q(Q({'key':_0x45a0eb},Ds(_0x1dbdd4,_0x4b0f15,_0x162ac4)),_0x5931b5),(ws(_0x1dbdd4,_0x4b0f15)[_0x74a6e5(0x295)]||[])[_0x74a6e5(0x52f)](function(_0x28f25b,_0x3d0485){const _0xaf9c96=_0x74a6e5;return pn(_0x28f25b,''[_0xaf9c96(0x43c)](_0x45a0eb,'-')['concat'](_0x1dbdd4[_0xaf9c96(0x211)],'-')['concat'](_0x3d0485),_0x4b0f15,void 0x0,_0x162ac4);}));}function Ds(_0x116f6e,_0x16a3f5,_0x73a2e){const _0xe28756=_0x454d83;var _0x5b40b0=Q({},_0x116f6e['attrs']);_0x73a2e!=null&&_0x73a2e[_0xe28756(0x604)]&&_0x5b40b0[_0xe28756(0x492)]===_0xe28756(0x604)&&(_0x5b40b0[_0xe28756(0x492)]=_0x73a2e[_0xe28756(0x604)]);var _0xb871c2=_0x16a3f5[_0xe28756(0x329)];return!_0xb871c2||_0xb871c2[_0xe28756(0x216)]===0x0||(_0x116f6e[_0xe28756(0x211)]===_0xe28756(0x1ef)&&_0x5b40b0[_0xe28756(0x4cd)]&&(_0x5b40b0['xlink:href']=_0x5b40b0[_0xe28756(0x4cd)]+_0x16a3f5['idSuffix']),Object[_0xe28756(0x3e6)](_0x5b40b0)['forEach'](function(_0x6dc99c){const _0x45ff9e=_0xe28756;var _0x4463be=_0x6dc99c[0x0],_0x3358ac=_0x6dc99c[0x1];typeof _0x3358ac=='string'&&(_0x5b40b0[_0x4463be]=_0x3358ac[_0x45ff9e(0x501)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x16a3f5['idSuffix'],')')));})),_0x5b40b0;}function ws(_0x591862,_0x71a476){const _0x3f6c1a=_0x454d83;var _0x2c5842,_0x29aab6=_0x71a476[_0x3f6c1a(0x329)];return!_0x29aab6||_0x29aab6[_0x3f6c1a(0x216)]===0x0?_0x591862:_0x591862[_0x3f6c1a(0x211)]===_0x3f6c1a(0x230)&&(!((_0x2c5842=_0x591862['children'])===null||_0x2c5842===void 0x0)&&_0x2c5842['length'])?Q(Q({},_0x591862),{'children':_0x591862[_0x3f6c1a(0x295)][_0x3f6c1a(0x52f)](function(_0x4949e0){const _0x105153=_0x3f6c1a;return typeof _0x4949e0[_0x105153(0x236)]['id']==_0x105153(0x2ff)&&_0x29aab6&&_0x29aab6[_0x105153(0x5be)](_0x4949e0[_0x105153(0x236)]['id'])>-0x1?Q(Q({},_0x4949e0),{'attrs':Q(Q({},_0x4949e0[_0x105153(0x236)]),{'id':_0x4949e0[_0x105153(0x236)]['id']+_0x71a476[_0x105153(0x4dd)]})}):_0x4949e0;})}):_0x591862;}function Ps(){const _0x55df68=_0x454d83;return Math['random']()['toString'](0x24)[_0x55df68(0x464)](0x2,0x8);}Ot[_0x454d83(0x42d)]='UniverIcon';var Us={'tag':_0x454d83(0x60a),'attrs':{'fill':_0x454d83(0x3f8),'viewBox':_0x454d83(0x32d),'width':_0x454d83(0x4a1),'height':_0x454d83(0x4a1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x454d83(0x5bb),'attrs':{'stroke':'currentColor','d':_0x454d83(0x59b),'strokeLinecap':_0x454d83(0x249),'strokeLinejoin':_0x454d83(0x249),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x454d83(0x5f8),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x454d83(0x5bb),'attrs':{'fill':_0x454d83(0x5d6),'d':_0x454d83(0x642)}}]}]}],'defIds':[_0x454d83(0x38d)]},gn=ae[_0x454d83(0x235)](function(_0x586796,_0x4e8055){const _0x4ec443=_0x454d83;return ae['createElement'](Ot,Object[_0x4ec443(0x389)]({},_0x586796,{'id':'off-line-single','ref':_0x4e8055,'icon':Us}));});gn[_0x454d83(0x42d)]=_0x454d83(0x1c8);var Ms={'tag':_0x454d83(0x60a),'attrs':{'fill':_0x454d83(0x3f8),'viewBox':_0x454d83(0x3c4),'width':'1em','height':_0x454d83(0x4a1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x454d83(0x5bb),'attrs':{'stroke':'currentColor','d':_0x454d83(0x2af),'strokeLinecap':_0x454d83(0x249),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x454d83(0x230),'attrs':{},'children':[{'tag':_0x454d83(0x5f8),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x454d83(0x5bb),'attrs':{'fill':_0x454d83(0x5d6),'d':_0x454d83(0x642),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},In=ae[_0x454d83(0x235)](function(_0x17f939,_0x187349){const _0x3b1bf6=_0x454d83;return ae[_0x3b1bf6(0x42c)](Ot,Object['assign']({},_0x17f939,{'id':_0x3b1bf6(0x199),'ref':_0x187349,'icon':Ms}));});In[_0x454d83(0x42d)]=_0x454d83(0x3f1);function Cn(_0x393c67){const _0x5c4c76=_0x454d83;var _0x59a0f8,_0x1a9503,_0x415b3c='';if(typeof _0x393c67==_0x5c4c76(0x2ff)||typeof _0x393c67==_0x5c4c76(0x3f0))_0x415b3c+=_0x393c67;else{if(typeof _0x393c67==_0x5c4c76(0x5ba)){if(Array[_0x5c4c76(0x196)](_0x393c67)){var _0x5e9483=_0x393c67[_0x5c4c76(0x216)];for(_0x59a0f8=0x0;_0x59a0f8<_0x5e9483;_0x59a0f8++)_0x393c67[_0x59a0f8]&&(_0x1a9503=Cn(_0x393c67[_0x59a0f8]))&&(_0x415b3c&&(_0x415b3c+='\x20'),_0x415b3c+=_0x1a9503);}else{for(_0x1a9503 in _0x393c67)_0x393c67[_0x1a9503]&&(_0x415b3c&&(_0x415b3c+='\x20'),_0x415b3c+=_0x1a9503);}}}return _0x415b3c;}function As(){for(var _0xd98234,_0x54b72d,_0x2ebe4f=0x0,_0x45a830='',_0x3996f9=arguments['length'];_0x2ebe4f<_0x3996f9;_0x2ebe4f++)(_0xd98234=arguments[_0x2ebe4f])&&(_0x54b72d=Cn(_0xd98234))&&(_0x45a830&&(_0x45a830+='\x20'),_0x45a830+=_0x54b72d);return _0x45a830;}const Ns=_0x454d83(0x4cb),Ls=_0x454d83(0x213),xs=_0x454d83(0x4f5),js=_0x454d83(0x2bf),$s=_0x454d83(0x20b),Me={'onlineStatusIcon':Ns,'onlineStatusTitle':Ls,'onlineStatus':xs,'online':js,'offline':$s};function Hs(_0x577b57){const _0x5960b4=_0x454d83;switch(_0x577b57){case q['OFFLINE']:return _0x5960b4(0x209);case q[_0x5960b4(0x1e9)]:return _0x5960b4(0x1bb);case q[_0x5960b4(0x406)]:return'collabStatus.fetchMiss';case q[_0x5960b4(0x3d5)]:return'collabStatus.notCollab';case q[_0x5960b4(0x529)]:case q[_0x5960b4(0x361)]:return _0x5960b4(0x534);case q['SYNCED']:case q['PENDING']:return'collabStatus.synced';}}function En(_0x5b11c1){const _0x1bbcf8=_0x454d83,{status$:_0x44a5e1}=_0x5b11c1,_0x5ce4a3=ee[_0x1bbcf8(0x410)](_0x44a5e1,q[_0x1bbcf8(0x3d5)]),_0x210ce5=a['useDependency'](a[_0x1bbcf8(0x4ab)]),_0x2f1264=a[_0x1bbcf8(0x45d)](exports[_0x1bbcf8(0x4d6)]),_0xd232c9=_0x5ce4a3!==q[_0x1bbcf8(0x2e1)],_0x48c433=_0x210ce5['t'](Hs(_0x5ce4a3)),_0x3163b0=As(Me['onlineStatus'],{[Me[_0x1bbcf8(0x242)]]:_0xd232c9,[Me[_0x1bbcf8(0x193)]]:!_0xd232c9}),_0x571152=_0xd232c9?pe['jsx'](In,{}):pe['jsx'](gn,{}),_0x39201e=ae['useCallback'](()=>{_0xd232c9||_0x2f1264['reconnect']();},[_0xd232c9,_0x2f1264]);function _0x3aa400(){const _0x6997d7=_0x1bbcf8;return pe[_0x6997d7(0x380)](_0x6997d7(0x482),{'className':_0x3163b0,'onClick':_0x39201e,'children':[pe['jsx'](_0x6997d7(0x482),{'className':Me['onlineStatusIcon'],'children':_0x571152}),pe[_0x6997d7(0x288)](_0x6997d7(0x482),{'className':Me[_0x6997d7(0x336)],'children':_0x48c433})]});}return _0xd232c9?_0x3aa400():pe[_0x1bbcf8(0x288)](ge[_0x1bbcf8(0x63c)],{'title':_0x210ce5['t']('collab-client.tooltip.reconnect'),'children':_0x3aa400()});}var Bs=Object[_0x454d83(0x276)],ks=Object[_0x454d83(0x3ec)],Ws=(_0x29c7aa,_0x5541eb,_0x2b5719,_0x20a7e2)=>{for(var _0xa82db=_0x20a7e2>0x1?void 0x0:_0x20a7e2?ks(_0x5541eb,_0x2b5719):_0x5541eb,_0x5a9494=_0x29c7aa['length']-0x1,_0x540bcd;_0x5a9494>=0x0;_0x5a9494--)(_0x540bcd=_0x29c7aa[_0x5a9494])&&(_0xa82db=(_0x20a7e2?_0x540bcd(_0x5541eb,_0x2b5719,_0xa82db):_0x540bcd(_0xa82db))||_0xa82db);return _0x20a7e2&&_0xa82db&&Bs(_0x5541eb,_0x2b5719,_0xa82db),_0xa82db;},$e=(_0x3b86b7,_0x568d7c)=>(_0x320a5b,_0xc84e4)=>_0x568d7c(_0x320a5b,_0xc84e4,_0x3b86b7);exports[_0x454d83(0x3c3)]=class extends a[_0x454d83(0x4d4)]{constructor(_0x292f84,_0x592c0d,_0x115f5b,_0x30058f){const _0x5d8e18=_0x454d83;super(),I(this,'_status$',new A[(_0x5d8e18(0x50c))](q['NOT_COLLAB'])),(this[_0x5d8e18(0x29b)]=_0x292f84,this[_0x5d8e18(0x3ac)]=_0x592c0d,this[_0x5d8e18(0x1ac)]=_0x115f5b,this[_0x5d8e18(0x5a9)]=_0x30058f,this[_0x5d8e18(0x321)](),this[_0x5d8e18(0x1a5)]());}[_0x454d83(0x1a5)](){const _0x413a77=_0x454d83;this[_0x413a77(0x421)](this[_0x413a77(0x29b)][_0x413a77(0x28d)][_0x413a77(0x358)](A['switchMap'](()=>{const _0x56b4e4=_0x413a77,_0x357e36=this[_0x56b4e4(0x29b)][_0x56b4e4(0x5ae)]();return _0x357e36?this[_0x56b4e4(0x5a9)][_0x56b4e4(0x53d)](_0x357e36[_0x56b4e4(0x4f9)]()):A['of'](null);}),A[_0x413a77(0x2ca)](_0x30294e=>_0x30294e?_0x30294e[_0x413a77(0x2c9)]:A['of'](q[_0x413a77(0x3d5)])))[_0x413a77(0x487)](_0x55549d=>{const _0x142730=_0x413a77;this['_status$'][_0x142730(0x40e)](_0x55549d);}));}['_initStatusComponent'](){const _0xe03940=_0x454d83;this[_0xe03940(0x421)](this['_uiPartsService'][_0xe03940(0x1d8)](ee['BuiltInUIPart'][_0xe03940(0x40d)],()=>a[_0xe03940(0x274)](Fs({'status$':this[_0xe03940(0x214)][_0xe03940(0x443)]()}),this[_0xe03940(0x1ac)])));}},exports['DesktopCollaborationStatusDisplayController']=Ws([$e(0x0,a['IUniverInstanceService']),$e(0x1,ee[_0x454d83(0x32c)]),$e(0x2,a[_0x454d83(0x271)](a[_0x454d83(0x41c)])),$e(0x3,a[_0x454d83(0x271)](exports[_0x454d83(0x327)]))],exports[_0x454d83(0x3c3)]);function Fs(_0x38941c){const {status$:_0x1f3d73}=_0x38941c;return function(){const _0xfa8ea1=_0x4cad;return pe[_0xfa8ea1(0x288)](En,{'status$':_0x1f3d73});};}const Dt=a[_0x454d83(0x246)]('uni.network.url-service');var Vs=Object['defineProperty'],Gs=Object[_0x454d83(0x3ec)],Ys=(_0xb235a4,_0x24ea08,_0x3f9b80,_0x48b066)=>{const _0x1dd4b7=_0x454d83;for(var _0x24e37c=_0x48b066>0x1?void 0x0:_0x48b066?Gs(_0x24ea08,_0x3f9b80):_0x24ea08,_0x49d967=_0xb235a4[_0x1dd4b7(0x216)]-0x1,_0x2c53c6;_0x49d967>=0x0;_0x49d967--)(_0x2c53c6=_0xb235a4[_0x49d967])&&(_0x24e37c=(_0x48b066?_0x2c53c6(_0x24ea08,_0x3f9b80,_0x24e37c):_0x2c53c6(_0x24e37c))||_0x24e37c);return _0x48b066&&_0x24e37c&&Vs(_0x24ea08,_0x3f9b80,_0x24e37c),_0x24e37c;},Te=(_0x223279,_0x4306cc)=>(_0x5e53e4,_0xd27419)=>_0x4306cc(_0x5e53e4,_0xd27419,_0x223279);exports[_0x454d83(0x419)]=class extends a[_0x454d83(0x28b)]{constructor(_0x1677e3,_0x3c4f64,_0xddcee2,_0x2de44b,_0x3721f8,_0x18bf69){const _0x5b333e=_0x454d83;super(),this[_0x5b333e(0x37e)]=_0x1677e3,this[_0x5b333e(0x25f)]=_0x3c4f64,this['_commandService']=_0xddcee2,this['_localCacheService']=_0x2de44b,this[_0x5b333e(0x4e7)]=_0x3721f8,_0x18bf69?_0x18bf69==null||_0x18bf69[_0x5b333e(0x4e4)]()[_0x5b333e(0x506)](()=>this[_0x5b333e(0x238)]()):(this[_0x5b333e(0x25f)][_0x5b333e(0x379)](_0x5b333e(0x308),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x5b333e(0x238)]());}async[_0x454d83(0x238)](){const _0x21c5a7=_0x454d83,_0xc3bdb5=this[_0x21c5a7(0x37e)][_0x21c5a7(0x409)]('unit'),_0x3c7500=this['_urlService'][_0x21c5a7(0x409)]('type');if(!_0xc3bdb5||!_0x3c7500){this[_0x21c5a7(0x25f)][_0x21c5a7(0x379)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x3c7500)){case ie[_0x21c5a7(0x351)]:{const _0x492518=await this[_0x21c5a7(0x420)](_0xc3bdb5);this[_0x21c5a7(0x57f)](_0x492518);break;}case ie['UNIVER_DOC']:{await this[_0x21c5a7(0x4ba)](_0xc3bdb5);break;}default:{this['_logService'][_0x21c5a7(0x362)](_0x21c5a7(0x308),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x454d83(0x57f)](_0x124338){const _0x462ad2=_0x454d83;await this[_0x462ad2(0x471)](_0x124338),_0x124338[_0x462ad2(0x36b)][_0x462ad2(0x358)](A[_0x462ad2(0x3da)](this[_0x462ad2(0x2d7)]))[_0x462ad2(0x487)](_0x52124b=>{const _0x40aac7=_0x462ad2;_0x52124b&&this[_0x40aac7(0x35d)](_0x52124b);}),this[_0x462ad2(0x37e)][_0x462ad2(0x438)][_0x462ad2(0x358)](A[_0x462ad2(0x3da)](this['dispose$']))[_0x462ad2(0x487)](()=>this[_0x462ad2(0x471)](_0x124338));}[_0x454d83(0x35d)](_0x361483,_0x53a44e=!0x1){const _0x4bd1e9=_0x454d83,_0x2c45cb=this[_0x4bd1e9(0x37e)][_0x4bd1e9(0x409)](_0x4bd1e9(0x48a));_0x361483[_0x4bd1e9(0x3d2)]()!==_0x2c45cb&&this[_0x4bd1e9(0x37e)][_0x4bd1e9(0x627)](_0x4bd1e9(0x48a),_0x361483[_0x4bd1e9(0x3d2)](),_0x53a44e);}async[_0x454d83(0x471)](_0x48cf93){const _0x1a3817=_0x454d83;var _0x1855f3;const _0x1c6956=this[_0x1a3817(0x37e)][_0x1a3817(0x409)]('subunit');if(!_0x1c6956||!_0x48cf93[_0x1a3817(0x45c)](_0x1c6956)){const _0x5753cc=_0x48cf93[_0x1a3817(0x62d)]()[0x0],_0x3fa90f=_0x48cf93[_0x1a3817(0x45c)](_0x5753cc);if(!_0x3fa90f)return;this['_updateURLWithCurrentState'](_0x3fa90f,!0x0),await this[_0x1a3817(0x1b9)][_0x1a3817(0x38c)](k[_0x1a3817(0x4d2)]['id'],{'unitId':_0x48cf93['getUnitId'](),'subUnitId':_0x5753cc});return;}((_0x1855f3=_0x48cf93['getActiveSheet']())==null?void 0x0:_0x1855f3[_0x1a3817(0x3d2)]())!==_0x1c6956&&await this[_0x1a3817(0x1b9)]['executeCommand'](k[_0x1a3817(0x4d2)]['id'],{'unitId':_0x48cf93[_0x1a3817(0x4f9)](),'subUnitId':_0x1c6956});}async[_0x454d83(0x420)](_0x4a8d8e){const _0x151a4d=_0x454d83;let _0xd43926=0x0;const _0xcab838=await this[_0x151a4d(0x436)][_0x151a4d(0x623)](_0x4a8d8e);return _0xcab838&&(_0xcab838[_0x151a4d(0x5b9)]||_0xcab838[_0x151a4d(0x2a1)][_0x151a4d(0x216)]!==0x0)&&(_0xd43926=_0xcab838[_0x151a4d(0x63e)]),_0xd43926===0x0&&this[_0x151a4d(0x25f)][_0x151a4d(0x379)](_0x151a4d(0x308),_0x151a4d(0x526)),this[_0x151a4d(0x4e7)][_0x151a4d(0x302)](_0x4a8d8e,_0xd43926);}async[_0x454d83(0x4ba)](_0x30a43b){const _0x48e373=_0x454d83;let _0x466f27=0x0;const _0x40bad7=await this['_localCacheService'][_0x48e373(0x623)](_0x30a43b);return _0x40bad7&&(_0x40bad7[_0x48e373(0x5b9)]||_0x40bad7['mutations'][_0x48e373(0x216)]!==0x0)&&(_0x466f27=_0x40bad7[_0x48e373(0x63e)]),_0x466f27===0x0&&this[_0x48e373(0x25f)][_0x48e373(0x379)](_0x48e373(0x308),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x48e373(0x4e7)][_0x48e373(0x20f)](_0x30a43b,_0x466f27);}},exports[_0x454d83(0x419)]=Ys([Te(0x0,Dt),Te(0x1,a[_0x454d83(0x1c6)]),Te(0x2,a['ICommandService']),Te(0x3,a[_0x454d83(0x271)](exports['LocalCacheService'])),Te(0x4,a[_0x454d83(0x271)](S[_0x454d83(0x35b)])),Te(0x5,a[_0x454d83(0x43d)](jn[_0x454d83(0x222)]))],exports[_0x454d83(0x419)]);var Ks=Object[_0x454d83(0x276)],qs=Object[_0x454d83(0x3ec)],zs=(_0x5a8424,_0x4bdb73,_0x1ed10e,_0x2f4dc8)=>{const _0x1c1a77=_0x454d83;for(var _0x1e6772=_0x2f4dc8>0x1?void 0x0:_0x2f4dc8?qs(_0x4bdb73,_0x1ed10e):_0x4bdb73,_0x2bdb53=_0x5a8424[_0x1c1a77(0x216)]-0x1,_0x52cbae;_0x2bdb53>=0x0;_0x2bdb53--)(_0x52cbae=_0x5a8424[_0x2bdb53])&&(_0x1e6772=(_0x2f4dc8?_0x52cbae(_0x4bdb73,_0x1ed10e,_0x1e6772):_0x52cbae(_0x1e6772))||_0x1e6772);return _0x2f4dc8&&_0x1e6772&&Ks(_0x4bdb73,_0x1ed10e,_0x1e6772),_0x1e6772;},Bt=(_0x12b8ca,_0x431fe0)=>(_0x125491,_0x5a2986)=>_0x431fe0(_0x125491,_0x5a2986,_0x12b8ca);const Xs=_0x454d83(0x391),Js=_0x454d83(0x470);let Ve=class extends a[_0x454d83(0x4d4)]{constructor(_0x2d92cc,_0x564c54){const _0x315bae=_0x454d83;super(),this['_univerInstanceService']=_0x2d92cc,this[_0x315bae(0x54e)]=_0x564c54,this['_init']();}[_0x454d83(0x238)](){const _0x112a93=_0x454d83;this[_0x112a93(0x421)](this[_0x112a93(0x29b)][_0x112a93(0x28d)][_0x112a93(0x487)](()=>{const _0x18191f=_0x112a93;var _0x1803f2;const _0x4bd67f=this[_0x18191f(0x29b)][_0x18191f(0x5ae)]();let _0x2dd05f=(_0x1803f2=this[_0x18191f(0x54e)]['getConfig'](Xs))!=null?_0x1803f2:Js;_0x4bd67f instanceof a['Workbook']&&(_0x2dd05f=_0x4bd67f[_0x18191f(0x310)]),document[_0x18191f(0x4e1)]=_0x2dd05f;}));}};Ve=zs([Bt(0x0,a[_0x454d83(0x2ed)]),Bt(0x1,a[_0x454d83(0x48e)])],Ve);var Zs=Object[_0x454d83(0x276)],Qs=Object['getOwnPropertyDescriptor'],er=(_0x35f630,_0x531aa2,_0x5ba17d,_0x2e8e50)=>{const _0x156cbb=_0x454d83;for(var _0x165be2=_0x2e8e50>0x1?void 0x0:_0x2e8e50?Qs(_0x531aa2,_0x5ba17d):_0x531aa2,_0x2adb99=_0x35f630[_0x156cbb(0x216)]-0x1,_0x4859fc;_0x2adb99>=0x0;_0x2adb99--)(_0x4859fc=_0x35f630[_0x2adb99])&&(_0x165be2=(_0x2e8e50?_0x4859fc(_0x531aa2,_0x5ba17d,_0x165be2):_0x4859fc(_0x165be2))||_0x165be2);return _0x2e8e50&&_0x165be2&&Zs(_0x531aa2,_0x5ba17d,_0x165be2),_0x165be2;},at=(_0x1a7b55,_0x164749)=>(_0x8724cd,_0x47c8f2)=>_0x164749(_0x8724cd,_0x47c8f2,_0x1a7b55);let Ge=class{constructor(_0x479986,_0x398384,_0x315f19){const _0x481928=_0x454d83;this['_configService']=_0x479986,this['_httpService']=_0x398384,this[_0x481928(0x264)]=_0x315f19,this[_0x481928(0x552)]();}[_0x454d83(0x552)](){const _0x4077bf=_0x454d83;this[_0x4077bf(0x46d)][_0x4077bf(0x197)]({'priority':0x1,'interceptor':(_0x310338,_0x3a5134)=>_0x3a5134(_0x310338)[_0x4077bf(0x358)](A[_0x4077bf(0x544)](async _0xfd5730=>{const _0xcc40cd=_0x4077bf,_0x2f99be=_0xfd5730;if(_0x2f99be['status']===0x191&&window[_0xcc40cd(0x3cb)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0xbca9f=window[_0xcc40cd(0x532)](window['location'][_0xcc40cd(0x631)]);window[_0xcc40cd(0x208)][_0xcc40cd(0x631)]=this[_0xcc40cd(0x3e8)]()+_0xcc40cd(0x595)+_0xbca9f;}return _0x2f99be;}))});}[_0x454d83(0x3e8)](){const _0x384e86=_0x454d83;var _0x186cb7,_0x437c94;const _0x417be2=this['_configService']['getConfig'](rn),_0x569ec4=this[_0x384e86(0x54e)][_0x384e86(0x2ec)](te);return(_0x437c94=(_0x186cb7=_0x569ec4==null?void 0x0:_0x569ec4[_0x384e86(0x5cf)])!=null?_0x186cb7:_0x417be2)!=null?_0x437c94:Kn;}};Ge=er([at(0x0,a[_0x454d83(0x48e)]),at(0x1,a[_0x454d83(0x271)](Z[_0x454d83(0x272)])),at(0x2,a[_0x454d83(0x271)](a[_0x454d83(0x4ab)]))],Ge);var tr=Object['defineProperty'],nr=Object[_0x454d83(0x3ec)],ir=(_0x22432b,_0x43f3b5,_0x3418dd,_0x55f954)=>{for(var _0x220fe5=_0x55f954>0x1?void 0x0:_0x55f954?nr(_0x43f3b5,_0x3418dd):_0x43f3b5,_0x526622=_0x22432b['length']-0x1,_0x4e2cd4;_0x526622>=0x0;_0x526622--)(_0x4e2cd4=_0x22432b[_0x526622])&&(_0x220fe5=(_0x55f954?_0x4e2cd4(_0x43f3b5,_0x3418dd,_0x220fe5):_0x4e2cd4(_0x220fe5))||_0x220fe5);return _0x55f954&&_0x220fe5&&tr(_0x43f3b5,_0x3418dd,_0x220fe5),_0x220fe5;},kt=(_0x320c63,_0x17dc50)=>(_0x438196,_0x3f7ca1)=>_0x17dc50(_0x438196,_0x3f7ca1,_0x320c63);const bn=_0x454d83(0x644),sr=_0x454d83(0x248);exports[_0x454d83(0x50a)]=class extends a[_0x454d83(0x4d4)]{constructor(_0x4414bf,_0x598815){const _0x3b69cf=_0x454d83;super(),this[_0x3b69cf(0x2d0)]=_0x4414bf,this[_0x3b69cf(0x54e)]=_0x598815,this[_0x3b69cf(0x3ff)]();}[_0x454d83(0x3ff)](){const _0x1bf0b2=_0x454d83,_0x1e85c1=this;this[_0x1bf0b2(0x421)](this[_0x1bf0b2(0x2d0)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Z[_0x1bf0b2(0x5cd)]({'isMatch'(_0x28fced){const _0xcde96e=_0x1bf0b2;var _0x3b171c;if(_0x28fced[_0xcde96e(0x5c0)]===_0xcde96e(0x337)&&((_0x3b171c=_0x28fced[_0xcde96e(0x546)])!=null&&_0x3b171c['body'])){const {objectID:_0x5251dd,objectType:_0x267ad1}=_0x28fced['requestParams'][_0xcde96e(0x51b)]||{};if(!_0x5251dd||_0x267ad1===void 0x0)return!0x1;const _0x599057=_0x1e85c1[_0xcde96e(0x4b7)]()+'/'+_0x267ad1+_0xcde96e(0x39e)+_0x5251dd+_0xcde96e(0x371);if(_0x28fced['url']===_0x599057)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xd18ad3){const _0x1e6d4a=_0x1bf0b2;var _0x59c7cd;return(_0x59c7cd=_0xd18ad3[_0x1e6d4a(0x546)])==null?void 0x0:_0x59c7cd['body'];},'mergeParamsToRequest'(_0x1c4e4f,_0x313099){const _0x15bce6=_0x1bf0b2,_0x109aa6=_0x1e85c1['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x1b89f7=_0x1c4e4f['reduce']((_0x58d58f,_0x3d570e)=>{const _0x40a80b=_0x4cad,{unitID:_0x465a9b,objectID:_0x361448,objectType:_0x490a63,actions:_0x22fac4}=_0x3d570e;return _0x58d58f[_0x465a9b]||(_0x58d58f[_0x465a9b]={}),_0x58d58f[_0x465a9b][_0x361448]||(_0x58d58f[_0x465a9b][_0x361448]={'objectID':_0x361448,'objectType':_0x490a63,'actions':[]}),_0x58d58f[_0x465a9b][_0x361448][_0x40a80b(0x55c)][_0x40a80b(0x54c)](..._0x22fac4),_0x58d58f;},{}),_0xc2448=[];for(const _0x2626f9 in _0x1b89f7)for(const _0x125871 in _0x1b89f7[_0x2626f9]){const {actions:_0x201926,objectType:_0x196df8}=_0x1b89f7[_0x2626f9][_0x125871],_0x413c44=[...new Set(_0x201926)];_0xc2448[_0x15bce6(0x54c)]({'unitID':_0x2626f9,'objectID':_0x125871,'objectType':_0x196df8,'actions':_0x413c44});}return new Z[(_0x15bce6(0x2c0))]('POST',_0x109aa6,{'headers':_0x313099[_0x15bce6(0x459)],'withCredentials':_0x313099['withCredentials'],'responseType':_0x313099[_0x15bce6(0x47d)],'body':{'requests':_0xc2448}});}},{'distributeResult'(_0x1e4808,_0x1b7072){const _0x189395=_0x1bf0b2,{objectActions:_0x176966}=_0x1e4808;return _0x1b7072[_0x189395(0x52f)](_0x1d83af=>{const _0x42e507=_0x189395,{unitID:_0x4c9861,objectID:_0x5ef6b8,actions:_0x1599a2}=_0x1d83af,_0x423d40=_0x176966[_0x42e507(0x1f4)](_0x25833d=>_0x25833d[_0x42e507(0x42f)]===_0x4c9861&&_0x25833d['objectID']===_0x5ef6b8),_0x31c9ea=_0x1599a2[_0x42e507(0x52f)](_0x49159e=>_0x423d40==null?void 0x0:_0x423d40[_0x42e507(0x55c)][_0x42e507(0x1f4)](_0x3b212e=>_0x3b212e['action']===_0x49159e))[_0x42e507(0x3a4)](_0x5a37cf=>!!_0x5a37cf);return{'config':_0x1d83af,'result':{'actions':_0x31c9ea,'error':_0x1e4808[_0x42e507(0x362)]}};});}})}));}[_0x454d83(0x4b7)](){const _0x498e99=_0x454d83;var _0x535d11,_0x245827;const _0x4b3225=this['_configService'][_0x498e99(0x2ec)](bn),_0x1cec0b=this['_configService'][_0x498e99(0x2ec)](te);return(_0x245827=(_0x535d11=_0x1cec0b==null?void 0x0:_0x1cec0b[_0x498e99(0x542)])!=null?_0x535d11:_0x4b3225)!=null?_0x245827:sr;}async[_0x454d83(0x41f)](_0x2c0ade){const _0x46992e=_0x454d83,_0x3b3ea0=this[_0x46992e(0x4b7)]()+'/'+_0x2c0ade['objectType']+_0x46992e(0x5e4);return(await this['_HTTPService'][_0x46992e(0x3c0)](_0x3b3ea0,{'body':_0x2c0ade}))[_0x46992e(0x51b)][_0x46992e(0x5de)]||'';}async['list'](_0x52092d){const _0x2ff896=_0x454d83,_0x54662e=this[_0x2ff896(0x4b7)]()+_0x2ff896(0x53c);return(await this['_HTTPService'][_0x2ff896(0x3c0)](_0x54662e,{'body':_0x52092d}))[_0x2ff896(0x51b)]['objects'];}async['update'](_0x95014){const _0x43f6f8=_0x454d83,_0x42c4ce=this[_0x43f6f8(0x4b7)]()+'/'+_0x95014[_0x43f6f8(0x444)]+_0x43f6f8(0x39e)+_0x95014[_0x43f6f8(0x5de)];await this[_0x43f6f8(0x2d0)][_0x43f6f8(0x4f3)](_0x42c4ce,{'body':_0x95014});}async[_0x454d83(0x3b0)](_0x10e8e3){const _0x51f8a0=_0x454d83,_0x2860ad=this['_getAPIPrefixPath']()+'/'+_0x10e8e3['objectType']+_0x51f8a0(0x39e)+_0x10e8e3[_0x51f8a0(0x5de)]+_0x51f8a0(0x371);return(await this['_HTTPService']['post'](_0x2860ad,{'body':_0x10e8e3}))[_0x51f8a0(0x51b)][_0x51f8a0(0x55c)];}async[_0x454d83(0x589)](_0x589379){const _0x5e9f92=_0x454d83,_0x43e5a7=this['_getAPIPrefixPath']()+_0x5e9f92(0x4e0);return(await this[_0x5e9f92(0x2d0)]['post'](_0x43e5a7,{'body':{'requests':_0x589379}}))[_0x5e9f92(0x51b)][_0x5e9f92(0x328)];}async[_0x454d83(0x591)](_0x29463f){const _0x459065=_0x454d83,_0x3a659f=this['_getAPIPrefixPath']()+'/'+_0x29463f['objectType']+'/role',_0x4fa8f7=await this['_HTTPService'][_0x459065(0x3c0)](_0x3a659f,{'body':_0x29463f});return{'roles':_0x4fa8f7[_0x459065(0x51b)][_0x459065(0x1c1)],'actions':_0x4fa8f7['body'][_0x459065(0x55c)]};}async[_0x454d83(0x3d0)](_0x4180e0){const _0x11bd15=_0x454d83,_0x4ab9e2=this[_0x11bd15(0x4b7)]()+_0x11bd15(0x60d);await this['_HTTPService'][_0x11bd15(0x2e9)](_0x4ab9e2,{'params':{'collaboratorID':_0x4180e0[_0x11bd15(0x3a9)],'objectID':_0x4180e0[_0x11bd15(0x5de)],'unitID':_0x4180e0['unitID']}});}async[_0x454d83(0x1b0)](_0x2367ac){const _0x1fda3f=_0x454d83,_0x294db8=this[_0x1fda3f(0x4b7)]()+_0x1fda3f(0x60d);await this[_0x1fda3f(0x2d0)][_0x1fda3f(0x3f6)](_0x294db8,{'body':_0x2367ac});}async[_0x454d83(0x21d)](_0x4510ce){const _0x2e5dab=_0x454d83,_0x46f447=this[_0x2e5dab(0x4b7)]()+_0x2e5dab(0x60d);await this[_0x2e5dab(0x2d0)][_0x2e5dab(0x3c0)](_0x46f447,{'body':_0x4510ce});}async[_0x454d83(0x338)](_0x21746d){const _0x1a9502=_0x454d83,_0x1a183c=this[_0x1a9502(0x4b7)]()+_0x1a9502(0x60d);return(await this['_HTTPService'][_0x1a9502(0x572)](_0x1a183c,{'params':{'objectID':_0x21746d['objectID'],'unitID':_0x21746d[_0x1a9502(0x42f)]}}))[_0x1a9502(0x51b)]['collaborators'];}async[_0x454d83(0x3e1)](_0x2fcae4){const _0x297c89=_0x454d83,_0x490aef=this[_0x297c89(0x4b7)]()+'/collaborator';await this[_0x297c89(0x2d0)][_0x297c89(0x4f3)](_0x490aef,{'body':_0x2fcae4});}},exports[_0x454d83(0x50a)]=ir([kt(0x0,a[_0x454d83(0x271)](Z[_0x454d83(0x272)])),kt(0x1,a[_0x454d83(0x271)](a[_0x454d83(0x48e)]))],exports[_0x454d83(0x50a)]);var Tn={'exports':{}};function rr(_0xf1b07){const _0x4c373c=_0x454d83;throw new Error(_0x4c373c(0x4c0)+_0xf1b07+_0x4c373c(0x376));}var ct={'exports':{}},Wt;function oe(){const _0x3ed302=_0x454d83;return Wt||(Wt=0x1,function(_0x133eb5,_0x1da9fb){(function(_0x2c9bb0,_0x4452f9){const _0x21b7a5=_0x4cad;_0x133eb5[_0x21b7a5(0x59c)]=_0x4452f9();}(X,function(){var _0x2218fc=_0x2218fc||function(_0x49b512,_0x10ed23){const _0x3dc513=_0x4cad;var _0x2d0c22;if(typeof window<'u'&&window[_0x3dc513(0x1df)]&&(_0x2d0c22=window[_0x3dc513(0x1df)]),typeof self<'u'&&self[_0x3dc513(0x1df)]&&(_0x2d0c22=self['crypto']),typeof globalThis<'u'&&globalThis[_0x3dc513(0x1df)]&&(_0x2d0c22=globalThis[_0x3dc513(0x1df)]),!_0x2d0c22&&typeof window<'u'&&window[_0x3dc513(0x51c)]&&(_0x2d0c22=window[_0x3dc513(0x51c)]),!_0x2d0c22&&typeof X<'u'&&X[_0x3dc513(0x1df)]&&(_0x2d0c22=X['crypto']),!_0x2d0c22&&typeof rr==_0x3dc513(0x467))try{_0x2d0c22=require(_0x3dc513(0x1df));}catch{}var _0x140117=function(){const _0x3e4078=_0x3dc513;if(_0x2d0c22){if(typeof _0x2d0c22[_0x3e4078(0x3bd)]==_0x3e4078(0x467))try{return _0x2d0c22[_0x3e4078(0x3bd)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2d0c22[_0x3e4078(0x221)]==_0x3e4078(0x467))try{return _0x2d0c22['randomBytes'](0x4)[_0x3e4078(0x286)]();}catch{}}throw new Error(_0x3e4078(0x5af));},_0x21687f=Object[_0x3dc513(0x41f)]||(function(){function _0x16dd1d(){}return function(_0x5e75cf){const _0x20aa02=_0x4cad;var _0x9b701c;return _0x16dd1d['prototype']=_0x5e75cf,_0x9b701c=new _0x16dd1d(),_0x16dd1d[_0x20aa02(0x555)]=null,_0x9b701c;};}()),_0x580bcd={},_0x46ddda=_0x580bcd['lib']={},_0x5ccea5=_0x46ddda[_0x3dc513(0x2ab)]=(function(){return{'extend':function(_0x587ef6){const _0x428cf3=_0x4cad;var _0x556d34=_0x21687f(this);return _0x587ef6&&_0x556d34[_0x428cf3(0x204)](_0x587ef6),(!_0x556d34[_0x428cf3(0x1e2)](_0x428cf3(0x552))||this['init']===_0x556d34[_0x428cf3(0x552)])&&(_0x556d34[_0x428cf3(0x552)]=function(){const _0x4779d5=_0x428cf3;_0x556d34[_0x4779d5(0x1bf)][_0x4779d5(0x552)][_0x4779d5(0x5fa)](this,arguments);}),_0x556d34[_0x428cf3(0x552)]['prototype']=_0x556d34,_0x556d34[_0x428cf3(0x1bf)]=this,_0x556d34;},'create':function(){const _0x1a9afd=_0x4cad;var _0x1bf0d5=this[_0x1a9afd(0x341)]();return _0x1bf0d5['init'][_0x1a9afd(0x5fa)](_0x1bf0d5,arguments),_0x1bf0d5;},'init':function(){},'mixIn':function(_0x54f94b){const _0x35c80c=_0x4cad;for(var _0x5d7308 in _0x54f94b)_0x54f94b[_0x35c80c(0x1e2)](_0x5d7308)&&(this[_0x5d7308]=_0x54f94b[_0x5d7308]);_0x54f94b[_0x35c80c(0x1e2)](_0x35c80c(0x343))&&(this[_0x35c80c(0x343)]=_0x54f94b[_0x35c80c(0x343)]);},'clone':function(){const _0x431b4c=_0x4cad;return this[_0x431b4c(0x552)][_0x431b4c(0x555)][_0x431b4c(0x341)](this);}};}()),_0x3fc865=_0x46ddda[_0x3dc513(0x401)]=_0x5ccea5['extend']({'init':function(_0x3a35bb,_0x1bc27c){const _0x2d5107=_0x3dc513;_0x3a35bb=this['words']=_0x3a35bb||[],_0x1bc27c!=_0x10ed23?this[_0x2d5107(0x2d1)]=_0x1bc27c:this[_0x2d5107(0x2d1)]=_0x3a35bb[_0x2d5107(0x216)]*0x4;},'toString':function(_0x36dd0a){const _0x1b59a9=_0x3dc513;return(_0x36dd0a||_0x3f4cd9)[_0x1b59a9(0x427)](this);},'concat':function(_0x2e13d6){const _0x130dbb=_0x3dc513;var _0x2d3d53=this[_0x130dbb(0x5ca)],_0x5c0f16=_0x2e13d6[_0x130dbb(0x5ca)],_0x172333=this['sigBytes'],_0xc757ef=_0x2e13d6[_0x130dbb(0x2d1)];if(this['clamp'](),_0x172333%0x4)for(var _0x5af462=0x0;_0x5af462<_0xc757ef;_0x5af462++){var _0x30d5da=_0x5c0f16[_0x5af462>>>0x2]>>>0x18-_0x5af462%0x4*0x8&0xff;_0x2d3d53[_0x172333+_0x5af462>>>0x2]|=_0x30d5da<<0x18-(_0x172333+_0x5af462)%0x4*0x8;}else{for(var _0x3603a1=0x0;_0x3603a1<_0xc757ef;_0x3603a1+=0x4)_0x2d3d53[_0x172333+_0x3603a1>>>0x2]=_0x5c0f16[_0x3603a1>>>0x2];}return this[_0x130dbb(0x2d1)]+=_0xc757ef,this;},'clamp':function(){const _0x236bf1=_0x3dc513;var _0x4fb42f=this[_0x236bf1(0x5ca)],_0x4b1e83=this[_0x236bf1(0x2d1)];_0x4fb42f[_0x4b1e83>>>0x2]&=0xffffffff<<0x20-_0x4b1e83%0x4*0x8,_0x4fb42f[_0x236bf1(0x216)]=_0x49b512['ceil'](_0x4b1e83/0x4);},'clone':function(){const _0x2a8fe3=_0x3dc513;var _0x416514=_0x5ccea5[_0x2a8fe3(0x4c2)][_0x2a8fe3(0x1f8)](this);return _0x416514[_0x2a8fe3(0x5ca)]=this[_0x2a8fe3(0x5ca)]['slice'](0x0),_0x416514;},'random':function(_0x4e6fa2){const _0x47e6fd=_0x3dc513;for(var _0x52d6cf=[],_0x46f24a=0x0;_0x46f24a<_0x4e6fa2;_0x46f24a+=0x4)_0x52d6cf[_0x47e6fd(0x54c)](_0x140117());return new _0x3fc865[(_0x47e6fd(0x552))](_0x52d6cf,_0x4e6fa2);}}),_0x2c702b=_0x580bcd[_0x3dc513(0x432)]={},_0x3f4cd9=_0x2c702b[_0x3dc513(0x210)]={'stringify':function(_0x2c17a4){const _0x87d448=_0x3dc513;for(var _0x344afc=_0x2c17a4[_0x87d448(0x5ca)],_0x26a3d2=_0x2c17a4[_0x87d448(0x2d1)],_0x240ef6=[],_0x4d5bf7=0x0;_0x4d5bf7<_0x26a3d2;_0x4d5bf7++){var _0x3310ea=_0x344afc[_0x4d5bf7>>>0x2]>>>0x18-_0x4d5bf7%0x4*0x8&0xff;_0x240ef6[_0x87d448(0x54c)]((_0x3310ea>>>0x4)['toString'](0x10)),_0x240ef6[_0x87d448(0x54c)]((_0x3310ea&0xf)['toString'](0x10));}return _0x240ef6[_0x87d448(0x279)]('');},'parse':function(_0x36a5fd){const _0x48aabc=_0x3dc513;for(var _0xf2387d=_0x36a5fd[_0x48aabc(0x216)],_0x87c3e2=[],_0x5a1c8d=0x0;_0x5a1c8d<_0xf2387d;_0x5a1c8d+=0x2)_0x87c3e2[_0x5a1c8d>>>0x3]|=parseInt(_0x36a5fd['substr'](_0x5a1c8d,0x2),0x10)<<0x18-_0x5a1c8d%0x8*0x4;return new _0x3fc865[(_0x48aabc(0x552))](_0x87c3e2,_0xf2387d/0x2);}},_0x12a47b=_0x2c702b['Latin1']={'stringify':function(_0x49e6cf){const _0xac5e1c=_0x3dc513;for(var _0x4199b8=_0x49e6cf['words'],_0x16f104=_0x49e6cf['sigBytes'],_0x2b6b3a=[],_0x47410e=0x0;_0x47410e<_0x16f104;_0x47410e++){var _0x391469=_0x4199b8[_0x47410e>>>0x2]>>>0x18-_0x47410e%0x4*0x8&0xff;_0x2b6b3a['push'](String[_0xac5e1c(0x3d8)](_0x391469));}return _0x2b6b3a['join']('');},'parse':function(_0x585a1d){const _0x264cda=_0x3dc513;for(var _0x412f02=_0x585a1d['length'],_0x5ae857=[],_0x420a12=0x0;_0x420a12<_0x412f02;_0x420a12++)_0x5ae857[_0x420a12>>>0x2]|=(_0x585a1d[_0x264cda(0x5c5)](_0x420a12)&0xff)<<0x18-_0x420a12%0x4*0x8;return new _0x3fc865[(_0x264cda(0x552))](_0x5ae857,_0x412f02);}},_0x47b249=_0x2c702b[_0x3dc513(0x2cd)]={'stringify':function(_0x252677){const _0x54dc8a=_0x3dc513;try{return decodeURIComponent(escape(_0x12a47b[_0x54dc8a(0x427)](_0x252677)));}catch{throw new Error(_0x54dc8a(0x38a));}},'parse':function(_0x308401){return _0x12a47b['parse'](unescape(encodeURIComponent(_0x308401)));}},_0x8ca960=_0x46ddda['BufferedBlockAlgorithm']=_0x5ccea5[_0x3dc513(0x341)]({'reset':function(){const _0x1b49ca=_0x3dc513;this[_0x1b49ca(0x3f9)]=new _0x3fc865[(_0x1b49ca(0x552))](),this[_0x1b49ca(0x41d)]=0x0;},'_append':function(_0x33b170){const _0x4b9df8=_0x3dc513;typeof _0x33b170==_0x4b9df8(0x2ff)&&(_0x33b170=_0x47b249[_0x4b9df8(0x5d9)](_0x33b170)),this['_data'][_0x4b9df8(0x43c)](_0x33b170),this[_0x4b9df8(0x41d)]+=_0x33b170['sigBytes'];},'_process':function(_0x175392){const _0x4e8030=_0x3dc513;var _0x5f1112,_0x28cb54=this[_0x4e8030(0x3f9)],_0x2922b6=_0x28cb54[_0x4e8030(0x5ca)],_0x20ad79=_0x28cb54[_0x4e8030(0x2d1)],_0x2c30af=this[_0x4e8030(0x4bb)],_0x80fc6c=_0x2c30af*0x4,_0x103bde=_0x20ad79/_0x80fc6c;_0x175392?_0x103bde=_0x49b512[_0x4e8030(0x33f)](_0x103bde):_0x103bde=_0x49b512['max']((_0x103bde|0x0)-this[_0x4e8030(0x315)],0x0);var _0x4481f1=_0x103bde*_0x2c30af,_0x4e9d3a=_0x49b512[_0x4e8030(0x612)](_0x4481f1*0x4,_0x20ad79);if(_0x4481f1){for(var _0x423add=0x0;_0x423add<_0x4481f1;_0x423add+=_0x2c30af)this[_0x4e8030(0x533)](_0x2922b6,_0x423add);_0x5f1112=_0x2922b6[_0x4e8030(0x1b3)](0x0,_0x4481f1),_0x28cb54[_0x4e8030(0x2d1)]-=_0x4e9d3a;}return new _0x3fc865[(_0x4e8030(0x552))](_0x5f1112,_0x4e9d3a);},'clone':function(){const _0x4a8da1=_0x3dc513;var _0xcd567b=_0x5ccea5[_0x4a8da1(0x4c2)][_0x4a8da1(0x1f8)](this);return _0xcd567b[_0x4a8da1(0x3f9)]=this['_data'][_0x4a8da1(0x4c2)](),_0xcd567b;},'_minBufferSize':0x0});_0x46ddda[_0x3dc513(0x46a)]=_0x8ca960[_0x3dc513(0x341)]({'cfg':_0x5ccea5[_0x3dc513(0x341)](),'init':function(_0x42b80c){const _0x512e50=_0x3dc513;this[_0x512e50(0x1f0)]=this[_0x512e50(0x1f0)][_0x512e50(0x341)](_0x42b80c),this[_0x512e50(0x5a7)]();},'reset':function(){const _0x5536ea=_0x3dc513;_0x8ca960[_0x5536ea(0x5a7)][_0x5536ea(0x1f8)](this),this['_doReset']();},'update':function(_0x8e1537){const _0x3102c9=_0x3dc513;return this[_0x3102c9(0x250)](_0x8e1537),this[_0x3102c9(0x490)](),this;},'finalize':function(_0x1cf5b1){const _0x23c997=_0x3dc513;_0x1cf5b1&&this[_0x23c997(0x250)](_0x1cf5b1);var _0x4d49b5=this['_doFinalize']();return _0x4d49b5;},'blockSize':0x10,'_createHelper':function(_0x11a261){return function(_0x840127,_0x12d3ef){const _0x40a23c=_0x4cad;return new _0x11a261[(_0x40a23c(0x552))](_0x12d3ef)['finalize'](_0x840127);};},'_createHmacHelper':function(_0x65cb74){return function(_0x2b7ef0,_0x29bc41){const _0x260ca3=_0x4cad;return new _0x493ff7[(_0x260ca3(0x192))]['init'](_0x65cb74,_0x29bc41)[_0x260ca3(0x45f)](_0x2b7ef0);};}});var _0x493ff7=_0x580bcd['algo']={};return _0x580bcd;}(Math);return _0x2218fc;}));}(ct)),ct[_0x3ed302(0x59c)];}var Rn={'exports':{}};(function(_0x4e86e8,_0x4c5f84){(function(_0x1fd233,_0x380d29){const _0x2ff3c8=_0x4cad;_0x4e86e8[_0x2ff3c8(0x59c)]=_0x380d29(oe());}(X,function(_0x2b506b){const _0x1f4bf2=_0x4cad;return(function(){const _0x3e6219=_0x4cad;var _0x3bd85d=_0x2b506b,_0x57c4e9=_0x3bd85d['lib'],_0xf413e8=_0x57c4e9[_0x3e6219(0x401)],_0x54afa2=_0x3bd85d[_0x3e6219(0x432)];_0x54afa2[_0x3e6219(0x5d1)]={'stringify':function(_0x1f5319){const _0x4bd401=_0x3e6219;var _0x3840df=_0x1f5319[_0x4bd401(0x5ca)],_0x3c9675=_0x1f5319['sigBytes'],_0x48786d=this[_0x4bd401(0x4cf)];_0x1f5319[_0x4bd401(0x224)]();for(var _0x38176a=[],_0x5d19ae=0x0;_0x5d19ae<_0x3c9675;_0x5d19ae+=0x3)for(var _0x37d7e6=_0x3840df[_0x5d19ae>>>0x2]>>>0x18-_0x5d19ae%0x4*0x8&0xff,_0x5520f2=_0x3840df[_0x5d19ae+0x1>>>0x2]>>>0x18-(_0x5d19ae+0x1)%0x4*0x8&0xff,_0x51c9e2=_0x3840df[_0x5d19ae+0x2>>>0x2]>>>0x18-(_0x5d19ae+0x2)%0x4*0x8&0xff,_0x4ed001=_0x37d7e6<<0x10|_0x5520f2<<0x8|_0x51c9e2,_0x3e7d5e=0x0;_0x3e7d5e<0x4&&_0x5d19ae+_0x3e7d5e*0.75<_0x3c9675;_0x3e7d5e++)_0x38176a['push'](_0x48786d[_0x4bd401(0x593)](_0x4ed001>>>0x6*(0x3-_0x3e7d5e)&0x3f));var _0x130f91=_0x48786d[_0x4bd401(0x593)](0x40);if(_0x130f91){for(;_0x38176a[_0x4bd401(0x216)]%0x4;)_0x38176a['push'](_0x130f91);}return _0x38176a[_0x4bd401(0x279)]('');},'parse':function(_0x1db3c3){const _0x2c1438=_0x3e6219;var _0x1125aa=_0x1db3c3['length'],_0x428639=this[_0x2c1438(0x4cf)],_0x4fca06=this[_0x2c1438(0x345)];if(!_0x4fca06){_0x4fca06=this[_0x2c1438(0x345)]=[];for(var _0x2cc763=0x0;_0x2cc763<_0x428639[_0x2c1438(0x216)];_0x2cc763++)_0x4fca06[_0x428639[_0x2c1438(0x5c5)](_0x2cc763)]=_0x2cc763;}var _0x284910=_0x428639['charAt'](0x40);if(_0x284910){var _0x4a60bb=_0x1db3c3['indexOf'](_0x284910);_0x4a60bb!==-0x1&&(_0x1125aa=_0x4a60bb);}return _0xd6218(_0x1db3c3,_0x1125aa,_0x4fca06);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xd6218(_0x193cc9,_0x44b734,_0x37cbb4){const _0x177842=_0x3e6219;for(var _0x4c8a2e=[],_0x3e18ff=0x0,_0x92ac0a=0x0;_0x92ac0a<_0x44b734;_0x92ac0a++)if(_0x92ac0a%0x4){var _0xf43dca=_0x37cbb4[_0x193cc9[_0x177842(0x5c5)](_0x92ac0a-0x1)]<<_0x92ac0a%0x4*0x2,_0x5da283=_0x37cbb4[_0x193cc9[_0x177842(0x5c5)](_0x92ac0a)]>>>0x6-_0x92ac0a%0x4*0x2,_0x496e14=_0xf43dca|_0x5da283;_0x4c8a2e[_0x3e18ff>>>0x2]|=_0x496e14<<0x18-_0x3e18ff%0x4*0x8,_0x3e18ff++;}return _0xf413e8[_0x177842(0x41f)](_0x4c8a2e,_0x3e18ff);}}()),_0x2b506b['enc'][_0x1f4bf2(0x5d1)];}));}(Rn));var yn=Rn[_0x454d83(0x59c)];const Ft=xe(yn);var lt={'exports':{}},Vt;function or(){return Vt||(Vt=0x1,function(_0x372646,_0x28ba8f){(function(_0x4ed0d3,_0x32c893){const _0x3c2fab=_0x4cad;_0x372646[_0x3c2fab(0x59c)]=_0x32c893(oe());}(X,function(_0x3c682c){const _0x3959c7=_0x4cad;return function(_0x2cd54a){const _0x197685=_0x4cad;var _0x3458e5=_0x3c682c,_0x5a1f26=_0x3458e5[_0x197685(0x484)],_0x4cc4d2=_0x5a1f26[_0x197685(0x401)],_0x4e65de=_0x5a1f26[_0x197685(0x46a)],_0x12ff38=_0x3458e5[_0x197685(0x46b)],_0x571c10=[];(function(){const _0x2ca85d=_0x197685;for(var _0x510d3c=0x0;_0x510d3c<0x40;_0x510d3c++)_0x571c10[_0x510d3c]=_0x2cd54a[_0x2ca85d(0x4c9)](_0x2cd54a[_0x2ca85d(0x58c)](_0x510d3c+0x1))*0x100000000|0x0;}());var _0x46da25=_0x12ff38['MD5']=_0x4e65de[_0x197685(0x341)]({'_doReset':function(){const _0xb73b9b=_0x197685;this[_0xb73b9b(0x411)]=new _0x4cc4d2[(_0xb73b9b(0x552))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x32cb1b,_0x3f044b){const _0x2b26f7=_0x197685;for(var _0x57a91e=0x0;_0x57a91e<0x10;_0x57a91e++){var _0x359342=_0x3f044b+_0x57a91e,_0xc73f53=_0x32cb1b[_0x359342];_0x32cb1b[_0x359342]=(_0xc73f53<<0x8|_0xc73f53>>>0x18)&0xff00ff|(_0xc73f53<<0x18|_0xc73f53>>>0x8)&0xff00ff00;}var _0x3752b8=this['_hash'][_0x2b26f7(0x5ca)],_0x390f3d=_0x32cb1b[_0x3f044b+0x0],_0x3d4bae=_0x32cb1b[_0x3f044b+0x1],_0x5f1a2b=_0x32cb1b[_0x3f044b+0x2],_0x533422=_0x32cb1b[_0x3f044b+0x3],_0x5ee4b0=_0x32cb1b[_0x3f044b+0x4],_0x27df50=_0x32cb1b[_0x3f044b+0x5],_0x1c5265=_0x32cb1b[_0x3f044b+0x6],_0x3b4294=_0x32cb1b[_0x3f044b+0x7],_0x4e0884=_0x32cb1b[_0x3f044b+0x8],_0x2bc913=_0x32cb1b[_0x3f044b+0x9],_0x54e8e0=_0x32cb1b[_0x3f044b+0xa],_0x712bd4=_0x32cb1b[_0x3f044b+0xb],_0x431012=_0x32cb1b[_0x3f044b+0xc],_0x2e4d68=_0x32cb1b[_0x3f044b+0xd],_0x1f353d=_0x32cb1b[_0x3f044b+0xe],_0x139609=_0x32cb1b[_0x3f044b+0xf],_0x221624=_0x3752b8[0x0],_0x474ff8=_0x3752b8[0x1],_0x21472f=_0x3752b8[0x2],_0x250830=_0x3752b8[0x3];_0x221624=_0x10c124(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x390f3d,0x7,_0x571c10[0x0]),_0x250830=_0x10c124(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x3d4bae,0xc,_0x571c10[0x1]),_0x21472f=_0x10c124(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x5f1a2b,0x11,_0x571c10[0x2]),_0x474ff8=_0x10c124(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x533422,0x16,_0x571c10[0x3]),_0x221624=_0x10c124(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x5ee4b0,0x7,_0x571c10[0x4]),_0x250830=_0x10c124(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x27df50,0xc,_0x571c10[0x5]),_0x21472f=_0x10c124(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x1c5265,0x11,_0x571c10[0x6]),_0x474ff8=_0x10c124(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x3b4294,0x16,_0x571c10[0x7]),_0x221624=_0x10c124(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x4e0884,0x7,_0x571c10[0x8]),_0x250830=_0x10c124(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x2bc913,0xc,_0x571c10[0x9]),_0x21472f=_0x10c124(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x54e8e0,0x11,_0x571c10[0xa]),_0x474ff8=_0x10c124(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x712bd4,0x16,_0x571c10[0xb]),_0x221624=_0x10c124(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x431012,0x7,_0x571c10[0xc]),_0x250830=_0x10c124(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x2e4d68,0xc,_0x571c10[0xd]),_0x21472f=_0x10c124(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x1f353d,0x11,_0x571c10[0xe]),_0x474ff8=_0x10c124(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x139609,0x16,_0x571c10[0xf]),_0x221624=_0x26ce08(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x3d4bae,0x5,_0x571c10[0x10]),_0x250830=_0x26ce08(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x1c5265,0x9,_0x571c10[0x11]),_0x21472f=_0x26ce08(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x712bd4,0xe,_0x571c10[0x12]),_0x474ff8=_0x26ce08(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x390f3d,0x14,_0x571c10[0x13]),_0x221624=_0x26ce08(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x27df50,0x5,_0x571c10[0x14]),_0x250830=_0x26ce08(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x54e8e0,0x9,_0x571c10[0x15]),_0x21472f=_0x26ce08(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x139609,0xe,_0x571c10[0x16]),_0x474ff8=_0x26ce08(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x5ee4b0,0x14,_0x571c10[0x17]),_0x221624=_0x26ce08(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x2bc913,0x5,_0x571c10[0x18]),_0x250830=_0x26ce08(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x1f353d,0x9,_0x571c10[0x19]),_0x21472f=_0x26ce08(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x533422,0xe,_0x571c10[0x1a]),_0x474ff8=_0x26ce08(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x4e0884,0x14,_0x571c10[0x1b]),_0x221624=_0x26ce08(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x2e4d68,0x5,_0x571c10[0x1c]),_0x250830=_0x26ce08(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x5f1a2b,0x9,_0x571c10[0x1d]),_0x21472f=_0x26ce08(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x3b4294,0xe,_0x571c10[0x1e]),_0x474ff8=_0x26ce08(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x431012,0x14,_0x571c10[0x1f]),_0x221624=_0x5d26c6(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x27df50,0x4,_0x571c10[0x20]),_0x250830=_0x5d26c6(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x4e0884,0xb,_0x571c10[0x21]),_0x21472f=_0x5d26c6(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x712bd4,0x10,_0x571c10[0x22]),_0x474ff8=_0x5d26c6(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x1f353d,0x17,_0x571c10[0x23]),_0x221624=_0x5d26c6(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x3d4bae,0x4,_0x571c10[0x24]),_0x250830=_0x5d26c6(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x5ee4b0,0xb,_0x571c10[0x25]),_0x21472f=_0x5d26c6(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x3b4294,0x10,_0x571c10[0x26]),_0x474ff8=_0x5d26c6(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x54e8e0,0x17,_0x571c10[0x27]),_0x221624=_0x5d26c6(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x2e4d68,0x4,_0x571c10[0x28]),_0x250830=_0x5d26c6(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x390f3d,0xb,_0x571c10[0x29]),_0x21472f=_0x5d26c6(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x533422,0x10,_0x571c10[0x2a]),_0x474ff8=_0x5d26c6(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x1c5265,0x17,_0x571c10[0x2b]),_0x221624=_0x5d26c6(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x2bc913,0x4,_0x571c10[0x2c]),_0x250830=_0x5d26c6(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x431012,0xb,_0x571c10[0x2d]),_0x21472f=_0x5d26c6(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x139609,0x10,_0x571c10[0x2e]),_0x474ff8=_0x5d26c6(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x5f1a2b,0x17,_0x571c10[0x2f]),_0x221624=_0x4ef116(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x390f3d,0x6,_0x571c10[0x30]),_0x250830=_0x4ef116(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x3b4294,0xa,_0x571c10[0x31]),_0x21472f=_0x4ef116(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x1f353d,0xf,_0x571c10[0x32]),_0x474ff8=_0x4ef116(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x27df50,0x15,_0x571c10[0x33]),_0x221624=_0x4ef116(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x431012,0x6,_0x571c10[0x34]),_0x250830=_0x4ef116(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x533422,0xa,_0x571c10[0x35]),_0x21472f=_0x4ef116(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x54e8e0,0xf,_0x571c10[0x36]),_0x474ff8=_0x4ef116(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x3d4bae,0x15,_0x571c10[0x37]),_0x221624=_0x4ef116(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x4e0884,0x6,_0x571c10[0x38]),_0x250830=_0x4ef116(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x139609,0xa,_0x571c10[0x39]),_0x21472f=_0x4ef116(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x1c5265,0xf,_0x571c10[0x3a]),_0x474ff8=_0x4ef116(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x2e4d68,0x15,_0x571c10[0x3b]),_0x221624=_0x4ef116(_0x221624,_0x474ff8,_0x21472f,_0x250830,_0x5ee4b0,0x6,_0x571c10[0x3c]),_0x250830=_0x4ef116(_0x250830,_0x221624,_0x474ff8,_0x21472f,_0x712bd4,0xa,_0x571c10[0x3d]),_0x21472f=_0x4ef116(_0x21472f,_0x250830,_0x221624,_0x474ff8,_0x5f1a2b,0xf,_0x571c10[0x3e]),_0x474ff8=_0x4ef116(_0x474ff8,_0x21472f,_0x250830,_0x221624,_0x2bc913,0x15,_0x571c10[0x3f]),_0x3752b8[0x0]=_0x3752b8[0x0]+_0x221624|0x0,_0x3752b8[0x1]=_0x3752b8[0x1]+_0x474ff8|0x0,_0x3752b8[0x2]=_0x3752b8[0x2]+_0x21472f|0x0,_0x3752b8[0x3]=_0x3752b8[0x3]+_0x250830|0x0;},'_doFinalize':function(){const _0x397764=_0x197685;var _0x5303ad=this[_0x397764(0x3f9)],_0x2985e9=_0x5303ad['words'],_0x42cf0a=this[_0x397764(0x41d)]*0x8,_0x292dc9=_0x5303ad[_0x397764(0x2d1)]*0x8;_0x2985e9[_0x292dc9>>>0x5]|=0x80<<0x18-_0x292dc9%0x20;var _0x5ddd3a=_0x2cd54a[_0x397764(0x46f)](_0x42cf0a/0x100000000),_0x2838ee=_0x42cf0a;_0x2985e9[(_0x292dc9+0x40>>>0x9<<0x4)+0xf]=(_0x5ddd3a<<0x8|_0x5ddd3a>>>0x18)&0xff00ff|(_0x5ddd3a<<0x18|_0x5ddd3a>>>0x8)&0xff00ff00,_0x2985e9[(_0x292dc9+0x40>>>0x9<<0x4)+0xe]=(_0x2838ee<<0x8|_0x2838ee>>>0x18)&0xff00ff|(_0x2838ee<<0x18|_0x2838ee>>>0x8)&0xff00ff00,_0x5303ad[_0x397764(0x2d1)]=(_0x2985e9[_0x397764(0x216)]+0x1)*0x4,this['_process']();for(var _0x3d5bd7=this['_hash'],_0x298f11=_0x3d5bd7[_0x397764(0x5ca)],_0x4cce1b=0x0;_0x4cce1b<0x4;_0x4cce1b++){var _0x1b3127=_0x298f11[_0x4cce1b];_0x298f11[_0x4cce1b]=(_0x1b3127<<0x8|_0x1b3127>>>0x18)&0xff00ff|(_0x1b3127<<0x18|_0x1b3127>>>0x8)&0xff00ff00;}return _0x3d5bd7;},'clone':function(){const _0x52403c=_0x197685;var _0x2202fe=_0x4e65de['clone']['call'](this);return _0x2202fe[_0x52403c(0x411)]=this['_hash']['clone'](),_0x2202fe;}});function _0x10c124(_0x28119d,_0x8fa46d,_0x932e0e,_0x2f70c8,_0xfd5e8a,_0x4cbf7b,_0x5715a4){var _0x469808=_0x28119d+(_0x8fa46d&_0x932e0e|~_0x8fa46d&_0x2f70c8)+_0xfd5e8a+_0x5715a4;return(_0x469808<<_0x4cbf7b|_0x469808>>>0x20-_0x4cbf7b)+_0x8fa46d;}function _0x26ce08(_0x50555b,_0x334c7b,_0x5e2c9d,_0x4a936c,_0x40d7c0,_0x475b8b,_0x1632d8){var _0x8ceca2=_0x50555b+(_0x334c7b&_0x4a936c|_0x5e2c9d&~_0x4a936c)+_0x40d7c0+_0x1632d8;return(_0x8ceca2<<_0x475b8b|_0x8ceca2>>>0x20-_0x475b8b)+_0x334c7b;}function _0x5d26c6(_0x1264ed,_0x22aa99,_0x6243ea,_0x5d36ec,_0x38aecb,_0x2f75e7,_0x241fc1){var _0x916608=_0x1264ed+(_0x22aa99^_0x6243ea^_0x5d36ec)+_0x38aecb+_0x241fc1;return(_0x916608<<_0x2f75e7|_0x916608>>>0x20-_0x2f75e7)+_0x22aa99;}function _0x4ef116(_0x34b934,_0x287381,_0x2c7322,_0x54879e,_0x525d8c,_0x68a2c4,_0x17d8bd){var _0x2daaea=_0x34b934+(_0x2c7322^(_0x287381|~_0x54879e))+_0x525d8c+_0x17d8bd;return(_0x2daaea<<_0x68a2c4|_0x2daaea>>>0x20-_0x68a2c4)+_0x287381;}_0x3458e5[_0x197685(0x637)]=_0x4e65de[_0x197685(0x342)](_0x46da25),_0x3458e5['HmacMD5']=_0x4e65de['_createHmacHelper'](_0x46da25);}(Math),_0x3c682c[_0x3959c7(0x637)];}));}(lt)),lt['exports'];}var ht={'exports':{}},_t={'exports':{}},Gt;function ar(){return Gt||(Gt=0x1,function(_0x121dac,_0x20a502){(function(_0x4f85d6,_0x7fd38f){const _0x344f11=_0x4cad;_0x121dac[_0x344f11(0x59c)]=_0x7fd38f(oe());}(X,function(_0x4d04d2){const _0x374caf=_0x4cad;return(function(){const _0x5085f6=_0x4cad;var _0x2ed379=_0x4d04d2,_0x2c55cf=_0x2ed379[_0x5085f6(0x484)],_0x134819=_0x2c55cf[_0x5085f6(0x401)],_0x1c87e4=_0x2c55cf[_0x5085f6(0x46a)],_0x3e95b7=_0x2ed379[_0x5085f6(0x46b)],_0xf0f896=[],_0x4bf756=_0x3e95b7['SHA1']=_0x1c87e4[_0x5085f6(0x341)]({'_doReset':function(){const _0x44e3b6=_0x5085f6;this[_0x44e3b6(0x411)]=new _0x134819[(_0x44e3b6(0x552))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2087a7,_0x3c7823){const _0x3eeff1=_0x5085f6;for(var _0x3d5db7=this[_0x3eeff1(0x411)][_0x3eeff1(0x5ca)],_0x1f61a7=_0x3d5db7[0x0],_0xb4f95a=_0x3d5db7[0x1],_0x1d0286=_0x3d5db7[0x2],_0x266034=_0x3d5db7[0x3],_0x370e22=_0x3d5db7[0x4],_0x54d83d=0x0;_0x54d83d<0x50;_0x54d83d++){if(_0x54d83d<0x10)_0xf0f896[_0x54d83d]=_0x2087a7[_0x3c7823+_0x54d83d]|0x0;else{var _0x3c702f=_0xf0f896[_0x54d83d-0x3]^_0xf0f896[_0x54d83d-0x8]^_0xf0f896[_0x54d83d-0xe]^_0xf0f896[_0x54d83d-0x10];_0xf0f896[_0x54d83d]=_0x3c702f<<0x1|_0x3c702f>>>0x1f;}var _0x6e0002=(_0x1f61a7<<0x5|_0x1f61a7>>>0x1b)+_0x370e22+_0xf0f896[_0x54d83d];_0x54d83d<0x14?_0x6e0002+=(_0xb4f95a&_0x1d0286|~_0xb4f95a&_0x266034)+0x5a827999:_0x54d83d<0x28?_0x6e0002+=(_0xb4f95a^_0x1d0286^_0x266034)+0x6ed9eba1:_0x54d83d<0x3c?_0x6e0002+=(_0xb4f95a&_0x1d0286|_0xb4f95a&_0x266034|_0x1d0286&_0x266034)-0x70e44324:_0x6e0002+=(_0xb4f95a^_0x1d0286^_0x266034)-0x359d3e2a,_0x370e22=_0x266034,_0x266034=_0x1d0286,_0x1d0286=_0xb4f95a<<0x1e|_0xb4f95a>>>0x2,_0xb4f95a=_0x1f61a7,_0x1f61a7=_0x6e0002;}_0x3d5db7[0x0]=_0x3d5db7[0x0]+_0x1f61a7|0x0,_0x3d5db7[0x1]=_0x3d5db7[0x1]+_0xb4f95a|0x0,_0x3d5db7[0x2]=_0x3d5db7[0x2]+_0x1d0286|0x0,_0x3d5db7[0x3]=_0x3d5db7[0x3]+_0x266034|0x0,_0x3d5db7[0x4]=_0x3d5db7[0x4]+_0x370e22|0x0;},'_doFinalize':function(){const _0x5398fe=_0x5085f6;var _0x2a9854=this[_0x5398fe(0x3f9)],_0x4a1a56=_0x2a9854[_0x5398fe(0x5ca)],_0x45e098=this['_nDataBytes']*0x8,_0x368299=_0x2a9854[_0x5398fe(0x2d1)]*0x8;return _0x4a1a56[_0x368299>>>0x5]|=0x80<<0x18-_0x368299%0x20,_0x4a1a56[(_0x368299+0x40>>>0x9<<0x4)+0xe]=Math[_0x5398fe(0x46f)](_0x45e098/0x100000000),_0x4a1a56[(_0x368299+0x40>>>0x9<<0x4)+0xf]=_0x45e098,_0x2a9854['sigBytes']=_0x4a1a56['length']*0x4,this[_0x5398fe(0x490)](),this['_hash'];},'clone':function(){const _0x1bdaa6=_0x5085f6;var _0x18c467=_0x1c87e4[_0x1bdaa6(0x4c2)][_0x1bdaa6(0x1f8)](this);return _0x18c467[_0x1bdaa6(0x411)]=this[_0x1bdaa6(0x411)]['clone'](),_0x18c467;}});_0x2ed379[_0x5085f6(0x4d3)]=_0x1c87e4[_0x5085f6(0x342)](_0x4bf756),_0x2ed379[_0x5085f6(0x356)]=_0x1c87e4['_createHmacHelper'](_0x4bf756);}()),_0x4d04d2[_0x374caf(0x4d3)];}));}(_t)),_t['exports'];}var ut={'exports':{}},Yt;function cr(){return Yt||(Yt=0x1,function(_0x4426c7,_0x33c9fa){(function(_0x579fcc,_0x46b0b2){_0x4426c7['exports']=_0x46b0b2(oe());}(X,function(_0x32c230){(function(){const _0x1b6092=_0x4cad;var _0x162777=_0x32c230,_0x49c633=_0x162777[_0x1b6092(0x484)],_0x1406fe=_0x49c633[_0x1b6092(0x2ab)],_0x16464c=_0x162777[_0x1b6092(0x432)],_0x1f9ec5=_0x16464c[_0x1b6092(0x2cd)],_0x10b9f5=_0x162777[_0x1b6092(0x46b)];_0x10b9f5[_0x1b6092(0x192)]=_0x1406fe['extend']({'init':function(_0x140f7f,_0x3a779d){const _0x11e045=_0x1b6092;_0x140f7f=this['_hasher']=new _0x140f7f[(_0x11e045(0x552))](),typeof _0x3a779d==_0x11e045(0x2ff)&&(_0x3a779d=_0x1f9ec5[_0x11e045(0x5d9)](_0x3a779d));var _0x567a76=_0x140f7f['blockSize'],_0x123e14=_0x567a76*0x4;_0x3a779d['sigBytes']>_0x123e14&&(_0x3a779d=_0x140f7f[_0x11e045(0x45f)](_0x3a779d)),_0x3a779d[_0x11e045(0x224)]();for(var _0x8ee041=this['_oKey']=_0x3a779d[_0x11e045(0x4c2)](),_0x3731d8=this[_0x11e045(0x1ae)]=_0x3a779d['clone'](),_0x5c756f=_0x8ee041[_0x11e045(0x5ca)],_0x1be0b5=_0x3731d8['words'],_0x3e881b=0x0;_0x3e881b<_0x567a76;_0x3e881b++)_0x5c756f[_0x3e881b]^=0x5c5c5c5c,_0x1be0b5[_0x3e881b]^=0x36363636;_0x8ee041[_0x11e045(0x2d1)]=_0x3731d8['sigBytes']=_0x123e14,this[_0x11e045(0x5a7)]();},'reset':function(){const _0x58e650=_0x1b6092;var _0x42fe0e=this['_hasher'];_0x42fe0e[_0x58e650(0x5a7)](),_0x42fe0e[_0x58e650(0x505)](this[_0x58e650(0x1ae)]);},'update':function(_0x1d23c5){const _0x245ae7=_0x1b6092;return this[_0x245ae7(0x316)][_0x245ae7(0x505)](_0x1d23c5),this;},'finalize':function(_0x3a9311){const _0x2dfb28=_0x1b6092;var _0x2d9f21=this[_0x2dfb28(0x316)],_0x5779b7=_0x2d9f21['finalize'](_0x3a9311);_0x2d9f21['reset']();var _0xe562e2=_0x2d9f21[_0x2dfb28(0x45f)](this[_0x2dfb28(0x20e)][_0x2dfb28(0x4c2)]()[_0x2dfb28(0x43c)](_0x5779b7));return _0xe562e2;}});}());}));}(ut)),ut['exports'];}var Kt;function On(){return Kt||(Kt=0x1,function(_0x3458e8,_0x37157e){(function(_0x31ed18,_0x53402c,_0x4969c8){_0x3458e8['exports']=_0x53402c(oe(),ar(),cr());}(X,function(_0x204799){const _0x2df0c3=_0x4cad;return(function(){const _0x206b4e=_0x4cad;var _0x6fce0a=_0x204799,_0x2a3e57=_0x6fce0a[_0x206b4e(0x484)],_0x5ac77f=_0x2a3e57['Base'],_0x50a9a5=_0x2a3e57[_0x206b4e(0x401)],_0x43e2b7=_0x6fce0a[_0x206b4e(0x46b)],_0x4547bb=_0x43e2b7[_0x206b4e(0x637)],_0x3d605a=_0x43e2b7[_0x206b4e(0x2c2)]=_0x5ac77f[_0x206b4e(0x341)]({'cfg':_0x5ac77f[_0x206b4e(0x341)]({'keySize':0x80/0x20,'hasher':_0x4547bb,'iterations':0x1}),'init':function(_0x1eeaf5){const _0x26f3bf=_0x206b4e;this['cfg']=this[_0x26f3bf(0x1f0)][_0x26f3bf(0x341)](_0x1eeaf5);},'compute':function(_0x4f3574,_0x4cd42e){const _0x2dadf2=_0x206b4e;for(var _0x11f51b,_0x14af88=this[_0x2dadf2(0x1f0)],_0x5d48c0=_0x14af88[_0x2dadf2(0x606)][_0x2dadf2(0x41f)](),_0x209749=_0x50a9a5[_0x2dadf2(0x41f)](),_0x4c172c=_0x209749[_0x2dadf2(0x5ca)],_0x22df79=_0x14af88[_0x2dadf2(0x565)],_0x1599b2=_0x14af88[_0x2dadf2(0x40b)];_0x4c172c['length']<_0x22df79;){_0x11f51b&&_0x5d48c0[_0x2dadf2(0x505)](_0x11f51b),_0x11f51b=_0x5d48c0[_0x2dadf2(0x505)](_0x4f3574)[_0x2dadf2(0x45f)](_0x4cd42e),_0x5d48c0['reset']();for(var _0x178f21=0x1;_0x178f21<_0x1599b2;_0x178f21++)_0x11f51b=_0x5d48c0[_0x2dadf2(0x45f)](_0x11f51b),_0x5d48c0[_0x2dadf2(0x5a7)]();_0x209749[_0x2dadf2(0x43c)](_0x11f51b);}return _0x209749['sigBytes']=_0x22df79*0x4,_0x209749;}});_0x6fce0a['EvpKDF']=function(_0x2f1bd0,_0x3fd0f0,_0x277b2f){const _0x59d244=_0x206b4e;return _0x3d605a[_0x59d244(0x41f)](_0x277b2f)['compute'](_0x2f1bd0,_0x3fd0f0);};}()),_0x204799[_0x2df0c3(0x2c2)];}));}(ht)),ht['exports'];}var dt={'exports':{}},qt;function Dn(){const _0x2b8213=_0x454d83;return qt||(qt=0x1,function(_0x58ba59,_0x1c3757){(function(_0x3a94d4,_0x535868,_0x522cbe){_0x58ba59['exports']=_0x535868(oe(),On());}(X,function(_0x206138){const _0xabd681=_0x4cad;_0x206138[_0xabd681(0x484)][_0xabd681(0x429)]||function(_0xec72b0){const _0x36f3d7=_0xabd681;var _0x1a55c3=_0x206138,_0x294181=_0x1a55c3[_0x36f3d7(0x484)],_0x1fa6e9=_0x294181[_0x36f3d7(0x2ab)],_0x100135=_0x294181[_0x36f3d7(0x401)],_0x25e640=_0x294181[_0x36f3d7(0x635)],_0x1d81c0=_0x1a55c3[_0x36f3d7(0x432)];_0x1d81c0[_0x36f3d7(0x2cd)];var _0x2d2a81=_0x1d81c0[_0x36f3d7(0x5d1)],_0x301767=_0x1a55c3['algo'],_0x28d106=_0x301767[_0x36f3d7(0x2c2)],_0x92b869=_0x294181['Cipher']=_0x25e640[_0x36f3d7(0x341)]({'cfg':_0x1fa6e9['extend'](),'createEncryptor':function(_0x193520,_0x316dd4){const _0x3c3cf4=_0x36f3d7;return this[_0x3c3cf4(0x41f)](this[_0x3c3cf4(0x643)],_0x193520,_0x316dd4);},'createDecryptor':function(_0x5f04b1,_0x127f59){const _0x3f4c16=_0x36f3d7;return this[_0x3f4c16(0x41f)](this[_0x3f4c16(0x466)],_0x5f04b1,_0x127f59);},'init':function(_0x3c6a7b,_0x42de2a,_0xd6df5d){const _0x7cdd1a=_0x36f3d7;this['cfg']=this[_0x7cdd1a(0x1f0)][_0x7cdd1a(0x341)](_0xd6df5d),this[_0x7cdd1a(0x294)]=_0x3c6a7b,this['_key']=_0x42de2a,this[_0x7cdd1a(0x5a7)]();},'reset':function(){const _0x1e94e4=_0x36f3d7;_0x25e640[_0x1e94e4(0x5a7)][_0x1e94e4(0x1f8)](this),this[_0x1e94e4(0x24e)]();},'process':function(_0x6ab8ca){const _0x18da1d=_0x36f3d7;return this['_append'](_0x6ab8ca),this[_0x18da1d(0x490)]();},'finalize':function(_0x131499){const _0x4aa7d1=_0x36f3d7;_0x131499&&this[_0x4aa7d1(0x250)](_0x131499);var _0x490fc5=this[_0x4aa7d1(0x1d3)]();return _0x490fc5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3d22e5(_0x36aff7){const _0xabd092=_0x4cad;return typeof _0x36aff7==_0xabd092(0x2ff)?_0x5b8266:_0x14f306;}return function(_0x2e8571){return{'encrypt':function(_0x6d09c8,_0x28e2f4,_0x52a7f3){const _0x33f5c3=_0x4cad;return _0x3d22e5(_0x28e2f4)[_0x33f5c3(0x50e)](_0x2e8571,_0x6d09c8,_0x28e2f4,_0x52a7f3);},'decrypt':function(_0x23f384,_0x2cf2e7,_0x4f21c2){const _0x1aece3=_0x4cad;return _0x3d22e5(_0x2cf2e7)[_0x1aece3(0x4fb)](_0x2e8571,_0x23f384,_0x2cf2e7,_0x4f21c2);}};};}())});_0x294181['StreamCipher']=_0x92b869[_0x36f3d7(0x341)]({'_doFinalize':function(){const _0x17a739=_0x36f3d7;var _0x2b0ffe=this[_0x17a739(0x490)](!0x0);return _0x2b0ffe;},'blockSize':0x1});var _0x505c42=_0x1a55c3['mode']={},_0xa17c54=_0x294181[_0x36f3d7(0x634)]=_0x1fa6e9[_0x36f3d7(0x341)]({'createEncryptor':function(_0x3d56c5,_0x35192e){const _0x4158b1=_0x36f3d7;return this[_0x4158b1(0x476)][_0x4158b1(0x41f)](_0x3d56c5,_0x35192e);},'createDecryptor':function(_0x3d74db,_0x346935){const _0x406acd=_0x36f3d7;return this[_0x406acd(0x39b)][_0x406acd(0x41f)](_0x3d74db,_0x346935);},'init':function(_0x2b51d9,_0x318a29){const _0x421b6b=_0x36f3d7;this[_0x421b6b(0x4a0)]=_0x2b51d9,this['_iv']=_0x318a29;}}),_0x2e8c8c=_0x505c42[_0x36f3d7(0x1e8)]=(function(){const _0x1bc6c0=_0x36f3d7;var _0x4b613e=_0xa17c54['extend']();_0x4b613e[_0x1bc6c0(0x476)]=_0x4b613e[_0x1bc6c0(0x341)]({'processBlock':function(_0x45efde,_0x1fe807){const _0x5d25c8=_0x1bc6c0;var _0x2be6f3=this[_0x5d25c8(0x4a0)],_0x2fd347=_0x2be6f3[_0x5d25c8(0x4bb)];_0x94d049[_0x5d25c8(0x1f8)](this,_0x45efde,_0x1fe807,_0x2fd347),_0x2be6f3[_0x5d25c8(0x2b5)](_0x45efde,_0x1fe807),this[_0x5d25c8(0x448)]=_0x45efde[_0x5d25c8(0x5df)](_0x1fe807,_0x1fe807+_0x2fd347);}}),_0x4b613e['Decryptor']=_0x4b613e[_0x1bc6c0(0x341)]({'processBlock':function(_0x50e957,_0x2b0a86){const _0x489ecf=_0x1bc6c0;var _0x46d0e9=this[_0x489ecf(0x4a0)],_0x4e420f=_0x46d0e9[_0x489ecf(0x4bb)],_0x50b51f=_0x50e957['slice'](_0x2b0a86,_0x2b0a86+_0x4e420f);_0x46d0e9['decryptBlock'](_0x50e957,_0x2b0a86),_0x94d049['call'](this,_0x50e957,_0x2b0a86,_0x4e420f),this['_prevBlock']=_0x50b51f;}});function _0x94d049(_0x1c5346,_0x2b9d64,_0x2977a4){const _0x9b2b4e=_0x1bc6c0;var _0x32236c,_0xc60d85=this['_iv'];_0xc60d85?(_0x32236c=_0xc60d85,this[_0x9b2b4e(0x3f2)]=_0xec72b0):_0x32236c=this[_0x9b2b4e(0x448)];for(var _0x43a57=0x0;_0x43a57<_0x2977a4;_0x43a57++)_0x1c5346[_0x2b9d64+_0x43a57]^=_0x32236c[_0x43a57];}return _0x4b613e;}()),_0x36a81c=_0x1a55c3[_0x36f3d7(0x403)]={},_0x1933e9=_0x36a81c[_0x36f3d7(0x408)]={'pad':function(_0x40512c,_0x184fda){const _0x5ee01a=_0x36f3d7;for(var _0x3c03b5=_0x184fda*0x4,_0x2c26f2=_0x3c03b5-_0x40512c[_0x5ee01a(0x2d1)]%_0x3c03b5,_0x40cf16=_0x2c26f2<<0x18|_0x2c26f2<<0x10|_0x2c26f2<<0x8|_0x2c26f2,_0x1597ac=[],_0x191ec0=0x0;_0x191ec0<_0x2c26f2;_0x191ec0+=0x4)_0x1597ac[_0x5ee01a(0x54c)](_0x40cf16);var _0x57eea1=_0x100135[_0x5ee01a(0x41f)](_0x1597ac,_0x2c26f2);_0x40512c[_0x5ee01a(0x43c)](_0x57eea1);},'unpad':function(_0x486510){const _0x52bdb6=_0x36f3d7;var _0x40c746=_0x486510[_0x52bdb6(0x5ca)][_0x486510[_0x52bdb6(0x2d1)]-0x1>>>0x2]&0xff;_0x486510[_0x52bdb6(0x2d1)]-=_0x40c746;}};_0x294181[_0x36f3d7(0x198)]=_0x92b869['extend']({'cfg':_0x92b869['cfg'][_0x36f3d7(0x341)]({'mode':_0x2e8c8c,'padding':_0x1933e9}),'reset':function(){const _0x32840c=_0x36f3d7;var _0x5dc496;_0x92b869[_0x32840c(0x5a7)][_0x32840c(0x1f8)](this);var _0x1e9792=this[_0x32840c(0x1f0)],_0x252d65=_0x1e9792['iv'],_0x4b52c9=_0x1e9792[_0x32840c(0x194)];this[_0x32840c(0x294)]==this[_0x32840c(0x643)]?_0x5dc496=_0x4b52c9['createEncryptor']:(_0x5dc496=_0x4b52c9[_0x32840c(0x433)],this[_0x32840c(0x315)]=0x1),this['_mode']&&this[_0x32840c(0x2cb)][_0x32840c(0x63a)]==_0x5dc496?this[_0x32840c(0x2cb)][_0x32840c(0x552)](this,_0x252d65&&_0x252d65['words']):(this[_0x32840c(0x2cb)]=_0x5dc496['call'](_0x4b52c9,this,_0x252d65&&_0x252d65[_0x32840c(0x5ca)]),this[_0x32840c(0x2cb)][_0x32840c(0x63a)]=_0x5dc496);},'_doProcessBlock':function(_0x56cd0c,_0x2ad286){const _0x1f2c3=_0x36f3d7;this[_0x1f2c3(0x2cb)][_0x1f2c3(0x641)](_0x56cd0c,_0x2ad286);},'_doFinalize':function(){const _0x2538b5=_0x36f3d7;var _0x1bb054,_0x415912=this[_0x2538b5(0x1f0)][_0x2538b5(0x1f1)];return this[_0x2538b5(0x294)]==this[_0x2538b5(0x643)]?(_0x415912[_0x2538b5(0x403)](this[_0x2538b5(0x3f9)],this['blockSize']),_0x1bb054=this[_0x2538b5(0x490)](!0x0)):(_0x1bb054=this[_0x2538b5(0x490)](!0x0),_0x415912[_0x2538b5(0x3d4)](_0x1bb054)),_0x1bb054;},'blockSize':0x80/0x20});var _0x3a3fe8=_0x294181[_0x36f3d7(0x265)]=_0x1fa6e9['extend']({'init':function(_0x2e4bdd){const _0x1bf0b9=_0x36f3d7;this[_0x1bf0b9(0x204)](_0x2e4bdd);},'toString':function(_0x2932da){const _0x1f77ef=_0x36f3d7;return(_0x2932da||this[_0x1f77ef(0x3a2)])['stringify'](this);}}),_0x265a28=_0x1a55c3[_0x36f3d7(0x531)]={},_0x7b87be=_0x265a28[_0x36f3d7(0x2a2)]={'stringify':function(_0x1ba344){const _0x405be8=_0x36f3d7;var _0x50db2f,_0xd03835=_0x1ba344['ciphertext'],_0x1d2a99=_0x1ba344[_0x405be8(0x331)];return _0x1d2a99?_0x50db2f=_0x100135[_0x405be8(0x41f)]([0x53616c74,0x65645f5f])[_0x405be8(0x43c)](_0x1d2a99)[_0x405be8(0x43c)](_0xd03835):_0x50db2f=_0xd03835,_0x50db2f[_0x405be8(0x343)](_0x2d2a81);},'parse':function(_0x1f15e4){const _0x6ac096=_0x36f3d7;var _0x514cbe,_0x3a9eaa=_0x2d2a81['parse'](_0x1f15e4),_0x57c9a2=_0x3a9eaa[_0x6ac096(0x5ca)];return _0x57c9a2[0x0]==0x53616c74&&_0x57c9a2[0x1]==0x65645f5f&&(_0x514cbe=_0x100135[_0x6ac096(0x41f)](_0x57c9a2['slice'](0x2,0x4)),_0x57c9a2[_0x6ac096(0x1b3)](0x0,0x4),_0x3a9eaa[_0x6ac096(0x2d1)]-=0x10),_0x3a3fe8[_0x6ac096(0x41f)]({'ciphertext':_0x3a9eaa,'salt':_0x514cbe});}},_0x14f306=_0x294181[_0x36f3d7(0x483)]=_0x1fa6e9[_0x36f3d7(0x341)]({'cfg':_0x1fa6e9[_0x36f3d7(0x341)]({'format':_0x7b87be}),'encrypt':function(_0x53e8fd,_0x1a34fe,_0x414b14,_0x1fe50a){const _0x4da872=_0x36f3d7;_0x1fe50a=this[_0x4da872(0x1f0)][_0x4da872(0x341)](_0x1fe50a);var _0x4697c4=_0x53e8fd[_0x4da872(0x4dc)](_0x414b14,_0x1fe50a),_0x1477da=_0x4697c4['finalize'](_0x1a34fe),_0x6746ca=_0x4697c4[_0x4da872(0x1f0)];return _0x3a3fe8[_0x4da872(0x41f)]({'ciphertext':_0x1477da,'key':_0x414b14,'iv':_0x6746ca['iv'],'algorithm':_0x53e8fd,'mode':_0x6746ca[_0x4da872(0x194)],'padding':_0x6746ca[_0x4da872(0x1f1)],'blockSize':_0x53e8fd[_0x4da872(0x4bb)],'formatter':_0x1fe50a[_0x4da872(0x531)]});},'decrypt':function(_0x1fc385,_0x295fba,_0x466d4d,_0x1d28ca){const _0x5bce1b=_0x36f3d7;_0x1d28ca=this[_0x5bce1b(0x1f0)][_0x5bce1b(0x341)](_0x1d28ca),_0x295fba=this[_0x5bce1b(0x304)](_0x295fba,_0x1d28ca[_0x5bce1b(0x531)]);var _0x4d774e=_0x1fc385[_0x5bce1b(0x433)](_0x466d4d,_0x1d28ca)[_0x5bce1b(0x45f)](_0x295fba['ciphertext']);return _0x4d774e;},'_parse':function(_0x1b2da2,_0x26cf30){const _0x295266=_0x36f3d7;return typeof _0x1b2da2=='string'?_0x26cf30[_0x295266(0x5d9)](_0x1b2da2,this):_0x1b2da2;}}),_0x562171=_0x1a55c3[_0x36f3d7(0x212)]={},_0x178365=_0x562171[_0x36f3d7(0x2a2)]={'execute':function(_0x49dfc8,_0x4ae0f6,_0x5c7cf5,_0x32254a,_0x538f9d){const _0x34fc10=_0x36f3d7;if(_0x32254a||(_0x32254a=_0x100135['random'](0x40/0x8)),_0x538f9d)var _0x2395f0=_0x28d106['create']({'keySize':_0x4ae0f6+_0x5c7cf5,'hasher':_0x538f9d})[_0x34fc10(0x611)](_0x49dfc8,_0x32254a);else var _0x2395f0=_0x28d106[_0x34fc10(0x41f)]({'keySize':_0x4ae0f6+_0x5c7cf5})['compute'](_0x49dfc8,_0x32254a);var _0x3e7685=_0x100135[_0x34fc10(0x41f)](_0x2395f0[_0x34fc10(0x5ca)][_0x34fc10(0x5df)](_0x4ae0f6),_0x5c7cf5*0x4);return _0x2395f0[_0x34fc10(0x2d1)]=_0x4ae0f6*0x4,_0x3a3fe8[_0x34fc10(0x41f)]({'key':_0x2395f0,'iv':_0x3e7685,'salt':_0x32254a});}},_0x5b8266=_0x294181[_0x36f3d7(0x564)]=_0x14f306[_0x36f3d7(0x341)]({'cfg':_0x14f306[_0x36f3d7(0x1f0)][_0x36f3d7(0x341)]({'kdf':_0x178365}),'encrypt':function(_0x1cc20d,_0xab9cfc,_0x551e75,_0x397498){const _0x55eb89=_0x36f3d7;_0x397498=this['cfg'][_0x55eb89(0x341)](_0x397498);var _0x3d69b1=_0x397498[_0x55eb89(0x212)][_0x55eb89(0x49a)](_0x551e75,_0x1cc20d['keySize'],_0x1cc20d[_0x55eb89(0x225)],_0x397498[_0x55eb89(0x331)],_0x397498[_0x55eb89(0x606)]);_0x397498['iv']=_0x3d69b1['iv'];var _0x1b5b07=_0x14f306[_0x55eb89(0x50e)][_0x55eb89(0x1f8)](this,_0x1cc20d,_0xab9cfc,_0x3d69b1[_0x55eb89(0x514)],_0x397498);return _0x1b5b07['mixIn'](_0x3d69b1),_0x1b5b07;},'decrypt':function(_0x57b645,_0x33d503,_0xcef27,_0x33cd01){const _0x59a264=_0x36f3d7;_0x33cd01=this[_0x59a264(0x1f0)][_0x59a264(0x341)](_0x33cd01),_0x33d503=this[_0x59a264(0x304)](_0x33d503,_0x33cd01[_0x59a264(0x531)]);var _0x138496=_0x33cd01[_0x59a264(0x212)][_0x59a264(0x49a)](_0xcef27,_0x57b645[_0x59a264(0x565)],_0x57b645[_0x59a264(0x225)],_0x33d503['salt'],_0x33cd01[_0x59a264(0x606)]);_0x33cd01['iv']=_0x138496['iv'];var _0x2a085c=_0x14f306[_0x59a264(0x4fb)]['call'](this,_0x57b645,_0x33d503,_0x138496[_0x59a264(0x514)],_0x33cd01);return _0x2a085c;}});}();}));}(dt)),dt[_0x2b8213(0x59c)];}(function(_0x15f15,_0x500d10){(function(_0x1144f5,_0x313f29,_0x513a82){const _0xd49d8d=_0x4cad;_0x15f15[_0xd49d8d(0x59c)]=_0x313f29(oe(),yn,or(),On(),Dn());}(X,function(_0xefa700){const _0x893a58=_0x4cad;return(function(){const _0x1b9b65=_0x4cad;var _0x587e8f=_0xefa700,_0x4d86ef=_0x587e8f[_0x1b9b65(0x484)],_0x4b9a57=_0x4d86ef['BlockCipher'],_0x82f5cc=_0x587e8f[_0x1b9b65(0x46b)],_0x14e1e2=[],_0x77c4a9=[],_0x1d7617=[],_0x2db5f2=[],_0x3ade78=[],_0x7880da=[],_0x22839d=[],_0x4fe2e1=[],_0x312edc=[],_0x41f2e7=[];(function(){for(var _0x2ea37a=[],_0x55f25e=0x0;_0x55f25e<0x100;_0x55f25e++)_0x55f25e<0x80?_0x2ea37a[_0x55f25e]=_0x55f25e<<0x1:_0x2ea37a[_0x55f25e]=_0x55f25e<<0x1^0x11b;for(var _0x490aff=0x0,_0x5264ec=0x0,_0x55f25e=0x0;_0x55f25e<0x100;_0x55f25e++){var _0x5a456a=_0x5264ec^_0x5264ec<<0x1^_0x5264ec<<0x2^_0x5264ec<<0x3^_0x5264ec<<0x4;_0x5a456a=_0x5a456a>>>0x8^_0x5a456a&0xff^0x63,_0x14e1e2[_0x490aff]=_0x5a456a,_0x77c4a9[_0x5a456a]=_0x490aff;var _0xb69299=_0x2ea37a[_0x490aff],_0x59d2ad=_0x2ea37a[_0xb69299],_0x1a55ee=_0x2ea37a[_0x59d2ad],_0x1766de=_0x2ea37a[_0x5a456a]*0x101^_0x5a456a*0x1010100;_0x1d7617[_0x490aff]=_0x1766de<<0x18|_0x1766de>>>0x8,_0x2db5f2[_0x490aff]=_0x1766de<<0x10|_0x1766de>>>0x10,_0x3ade78[_0x490aff]=_0x1766de<<0x8|_0x1766de>>>0x18,_0x7880da[_0x490aff]=_0x1766de;var _0x1766de=_0x1a55ee*0x1010101^_0x59d2ad*0x10001^_0xb69299*0x101^_0x490aff*0x1010100;_0x22839d[_0x5a456a]=_0x1766de<<0x18|_0x1766de>>>0x8,_0x4fe2e1[_0x5a456a]=_0x1766de<<0x10|_0x1766de>>>0x10,_0x312edc[_0x5a456a]=_0x1766de<<0x8|_0x1766de>>>0x18,_0x41f2e7[_0x5a456a]=_0x1766de,_0x490aff?(_0x490aff=_0xb69299^_0x2ea37a[_0x2ea37a[_0x2ea37a[_0x1a55ee^_0xb69299]]],_0x5264ec^=_0x2ea37a[_0x2ea37a[_0x5264ec]]):_0x490aff=_0x5264ec=0x1;}}());var _0xc02ca2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x21f834=_0x82f5cc[_0x1b9b65(0x61b)]=_0x4b9a57['extend']({'_doReset':function(){const _0x41484a=_0x1b9b65;var _0x3d2c27;if(!(this[_0x41484a(0x269)]&&this['_keyPriorReset']===this['_key'])){for(var _0x36f4f2=this['_keyPriorReset']=this[_0x41484a(0x52a)],_0x35f621=_0x36f4f2[_0x41484a(0x5ca)],_0x1253c9=_0x36f4f2[_0x41484a(0x2d1)]/0x4,_0xe07756=this[_0x41484a(0x269)]=_0x1253c9+0x6,_0x17c46c=(_0xe07756+0x1)*0x4,_0x676110=this[_0x41484a(0x5fb)]=[],_0x272ece=0x0;_0x272ece<_0x17c46c;_0x272ece++)_0x272ece<_0x1253c9?_0x676110[_0x272ece]=_0x35f621[_0x272ece]:(_0x3d2c27=_0x676110[_0x272ece-0x1],_0x272ece%_0x1253c9?_0x1253c9>0x6&&_0x272ece%_0x1253c9==0x4&&(_0x3d2c27=_0x14e1e2[_0x3d2c27>>>0x18]<<0x18|_0x14e1e2[_0x3d2c27>>>0x10&0xff]<<0x10|_0x14e1e2[_0x3d2c27>>>0x8&0xff]<<0x8|_0x14e1e2[_0x3d2c27&0xff]):(_0x3d2c27=_0x3d2c27<<0x8|_0x3d2c27>>>0x18,_0x3d2c27=_0x14e1e2[_0x3d2c27>>>0x18]<<0x18|_0x14e1e2[_0x3d2c27>>>0x10&0xff]<<0x10|_0x14e1e2[_0x3d2c27>>>0x8&0xff]<<0x8|_0x14e1e2[_0x3d2c27&0xff],_0x3d2c27^=_0xc02ca2[_0x272ece/_0x1253c9|0x0]<<0x18),_0x676110[_0x272ece]=_0x676110[_0x272ece-_0x1253c9]^_0x3d2c27);for(var _0x19f916=this['_invKeySchedule']=[],_0x4d00ef=0x0;_0x4d00ef<_0x17c46c;_0x4d00ef++){var _0x272ece=_0x17c46c-_0x4d00ef;if(_0x4d00ef%0x4)var _0x3d2c27=_0x676110[_0x272ece];else var _0x3d2c27=_0x676110[_0x272ece-0x4];_0x4d00ef<0x4||_0x272ece<=0x4?_0x19f916[_0x4d00ef]=_0x3d2c27:_0x19f916[_0x4d00ef]=_0x22839d[_0x14e1e2[_0x3d2c27>>>0x18]]^_0x4fe2e1[_0x14e1e2[_0x3d2c27>>>0x10&0xff]]^_0x312edc[_0x14e1e2[_0x3d2c27>>>0x8&0xff]]^_0x41f2e7[_0x14e1e2[_0x3d2c27&0xff]];}}},'encryptBlock':function(_0x47b62b,_0x50b859){const _0x1d1240=_0x1b9b65;this[_0x1d1240(0x29e)](_0x47b62b,_0x50b859,this[_0x1d1240(0x5fb)],_0x1d7617,_0x2db5f2,_0x3ade78,_0x7880da,_0x14e1e2);},'decryptBlock':function(_0x1f1041,_0x4ca72a){const _0x4110f0=_0x1b9b65;var _0x23b253=_0x1f1041[_0x4ca72a+0x1];_0x1f1041[_0x4ca72a+0x1]=_0x1f1041[_0x4ca72a+0x3],_0x1f1041[_0x4ca72a+0x3]=_0x23b253,this[_0x4110f0(0x29e)](_0x1f1041,_0x4ca72a,this[_0x4110f0(0x2d3)],_0x22839d,_0x4fe2e1,_0x312edc,_0x41f2e7,_0x77c4a9);var _0x23b253=_0x1f1041[_0x4ca72a+0x1];_0x1f1041[_0x4ca72a+0x1]=_0x1f1041[_0x4ca72a+0x3],_0x1f1041[_0x4ca72a+0x3]=_0x23b253;},'_doCryptBlock':function(_0x92e194,_0x288a14,_0x3a93da,_0xac00ed,_0x2e5189,_0x414656,_0x46d7a8,_0x459eb5){for(var _0xaa630=this['_nRounds'],_0x3de553=_0x92e194[_0x288a14]^_0x3a93da[0x0],_0x25e6fb=_0x92e194[_0x288a14+0x1]^_0x3a93da[0x1],_0xc96815=_0x92e194[_0x288a14+0x2]^_0x3a93da[0x2],_0x34e599=_0x92e194[_0x288a14+0x3]^_0x3a93da[0x3],_0x32a575=0x4,_0x573f26=0x1;_0x573f26<_0xaa630;_0x573f26++){var _0x2c139a=_0xac00ed[_0x3de553>>>0x18]^_0x2e5189[_0x25e6fb>>>0x10&0xff]^_0x414656[_0xc96815>>>0x8&0xff]^_0x46d7a8[_0x34e599&0xff]^_0x3a93da[_0x32a575++],_0x285be2=_0xac00ed[_0x25e6fb>>>0x18]^_0x2e5189[_0xc96815>>>0x10&0xff]^_0x414656[_0x34e599>>>0x8&0xff]^_0x46d7a8[_0x3de553&0xff]^_0x3a93da[_0x32a575++],_0x14fd79=_0xac00ed[_0xc96815>>>0x18]^_0x2e5189[_0x34e599>>>0x10&0xff]^_0x414656[_0x3de553>>>0x8&0xff]^_0x46d7a8[_0x25e6fb&0xff]^_0x3a93da[_0x32a575++],_0x544c45=_0xac00ed[_0x34e599>>>0x18]^_0x2e5189[_0x3de553>>>0x10&0xff]^_0x414656[_0x25e6fb>>>0x8&0xff]^_0x46d7a8[_0xc96815&0xff]^_0x3a93da[_0x32a575++];_0x3de553=_0x2c139a,_0x25e6fb=_0x285be2,_0xc96815=_0x14fd79,_0x34e599=_0x544c45;}var _0x2c139a=(_0x459eb5[_0x3de553>>>0x18]<<0x18|_0x459eb5[_0x25e6fb>>>0x10&0xff]<<0x10|_0x459eb5[_0xc96815>>>0x8&0xff]<<0x8|_0x459eb5[_0x34e599&0xff])^_0x3a93da[_0x32a575++],_0x285be2=(_0x459eb5[_0x25e6fb>>>0x18]<<0x18|_0x459eb5[_0xc96815>>>0x10&0xff]<<0x10|_0x459eb5[_0x34e599>>>0x8&0xff]<<0x8|_0x459eb5[_0x3de553&0xff])^_0x3a93da[_0x32a575++],_0x14fd79=(_0x459eb5[_0xc96815>>>0x18]<<0x18|_0x459eb5[_0x34e599>>>0x10&0xff]<<0x10|_0x459eb5[_0x3de553>>>0x8&0xff]<<0x8|_0x459eb5[_0x25e6fb&0xff])^_0x3a93da[_0x32a575++],_0x544c45=(_0x459eb5[_0x34e599>>>0x18]<<0x18|_0x459eb5[_0x3de553>>>0x10&0xff]<<0x10|_0x459eb5[_0x25e6fb>>>0x8&0xff]<<0x8|_0x459eb5[_0xc96815&0xff])^_0x3a93da[_0x32a575++];_0x92e194[_0x288a14]=_0x2c139a,_0x92e194[_0x288a14+0x1]=_0x285be2,_0x92e194[_0x288a14+0x2]=_0x14fd79,_0x92e194[_0x288a14+0x3]=_0x544c45;},'keySize':0x100/0x20});_0x587e8f[_0x1b9b65(0x61b)]=_0x4b9a57[_0x1b9b65(0x342)](_0x21f834);}()),_0xefa700[_0x893a58(0x61b)];}));}(Tn));var lr=Tn[_0x454d83(0x59c)];const hr=xe(lr);var wn={'exports':{}};(function(_0x5b2cb2,_0xe5b92e){(function(_0x537851,_0x1a5746){const _0x47f783=_0x4cad;_0x5b2cb2[_0x47f783(0x59c)]=_0x1a5746(oe());}(X,function(_0x2d1b6d){const _0x1854c7=_0x4cad;return _0x2d1b6d[_0x1854c7(0x432)][_0x1854c7(0x2cd)];}));}(wn));var _r=wn['exports'];const ur=xe(_r);var Pn={'exports':{}};(function(_0x2004a1,_0x12399a){(function(_0xdc0670,_0x4487a5){_0x2004a1['exports']=_0x4487a5(oe());}(X,function(_0x425276){const _0x4d33af=_0x4cad;return(function(){const _0x520b3e=_0x4cad;if(typeof ArrayBuffer==_0x520b3e(0x467)){var _0x2dead2=_0x425276,_0x165261=_0x2dead2[_0x520b3e(0x484)],_0x38a281=_0x165261['WordArray'],_0x5993ab=_0x38a281[_0x520b3e(0x552)],_0x1c834e=_0x38a281[_0x520b3e(0x552)]=function(_0x1cca2e){const _0x195dd7=_0x520b3e;if(_0x1cca2e instanceof ArrayBuffer&&(_0x1cca2e=new Uint8Array(_0x1cca2e)),(_0x1cca2e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1cca2e instanceof Uint8ClampedArray||_0x1cca2e instanceof Int16Array||_0x1cca2e instanceof Uint16Array||_0x1cca2e instanceof Int32Array||_0x1cca2e instanceof Uint32Array||_0x1cca2e instanceof Float32Array||_0x1cca2e instanceof Float64Array)&&(_0x1cca2e=new Uint8Array(_0x1cca2e['buffer'],_0x1cca2e[_0x195dd7(0x61d)],_0x1cca2e['byteLength'])),_0x1cca2e instanceof Uint8Array){for(var _0x13c8c3=_0x1cca2e[_0x195dd7(0x1b8)],_0x63d539=[],_0x5386b8=0x0;_0x5386b8<_0x13c8c3;_0x5386b8++)_0x63d539[_0x5386b8>>>0x2]|=_0x1cca2e[_0x5386b8]<<0x18-_0x5386b8%0x4*0x8;_0x5993ab['call'](this,_0x63d539,_0x13c8c3);}else _0x5993ab[_0x195dd7(0x5fa)](this,arguments);};_0x1c834e[_0x520b3e(0x555)]=_0x38a281;}}()),_0x425276[_0x4d33af(0x484)][_0x4d33af(0x401)];}));}(Pn));var dr=Pn['exports'];const fr=xe(dr);var Un={'exports':{}};(function(_0x1453d4,_0x2d4f44){(function(_0x5b3c4e,_0x451c5f,_0x3bcd37){const _0xae3c22=_0x4cad;_0x1453d4[_0xae3c22(0x59c)]=_0x451c5f(oe(),Dn());}(X,function(_0x56ee4f){const _0x2dce0b=_0x4cad;return _0x56ee4f[_0x2dce0b(0x403)][_0x2dce0b(0x387)]={'pad':function(){},'unpad':function(){}},_0x56ee4f[_0x2dce0b(0x403)][_0x2dce0b(0x387)];}));}(Un));var vr=Un['exports'];const mr=xe(vr);function Sr(_0x29b5f0,_0x14eb85){const _0x12a19e=_0x454d83,_0x501ee8=_0x14eb85-_0x29b5f0[_0x12a19e(0x216)]%_0x14eb85,_0x4e2289=String[_0x12a19e(0x3d8)](_0x501ee8)[_0x12a19e(0x451)](_0x501ee8);return _0x29b5f0+_0x4e2289;}function pr(_0x735fe6,_0x5c45a4){const _0x5825d9=_0x454d83,_0x277573=fr['random'](0x10),_0x13cc9a=Sr(_0x735fe6,0x10),_0x5d97b4=hr[_0x5825d9(0x50e)](ur[_0x5825d9(0x5d9)](_0x13cc9a),Ft[_0x5825d9(0x5d9)](_0x5c45a4),{'iv':_0x277573,'padding':mr});return _0x277573[_0x5825d9(0x43c)](_0x5d97b4[_0x5825d9(0x1eb)])['toString'](Ft);}function gr(){const _0x554ddd=_0x454d83,_0x51d0b1=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x554ddd(0x596)];if(_0x51d0b1){const _0x21fa70={'time':Math[_0x554ddd(0x46f)](Date[_0x554ddd(0x5dd)]()/0x3e8),'domain':location[_0x554ddd(0x3fb)]};return pr(JSON[_0x554ddd(0x427)](_0x21fa70),_0x51d0b1);}}var Ir=Object['defineProperty'],Cr=Object[_0x454d83(0x3ec)],Er=(_0x49d57d,_0x2b0a6b,_0x4425b8,_0xff3232)=>{for(var _0x4891a1=_0xff3232>0x1?void 0x0:_0xff3232?Cr(_0x2b0a6b,_0x4425b8):_0x2b0a6b,_0xddd764=_0x49d57d['length']-0x1,_0x35362e;_0xddd764>=0x0;_0xddd764--)(_0x35362e=_0x49d57d[_0xddd764])&&(_0x4891a1=(_0xff3232?_0x35362e(_0x2b0a6b,_0x4425b8,_0x4891a1):_0x35362e(_0x4891a1))||_0x4891a1);return _0xff3232&&_0x4891a1&&Ir(_0x2b0a6b,_0x4425b8,_0x4891a1),_0x4891a1;},br=(_0x3ca27d,_0x51aafa)=>(_0x453ac1,_0x40e029)=>_0x51aafa(_0x453ac1,_0x40e029,_0x3ca27d);let Ye=class{constructor(_0x1acfa7){const _0x18b32c=_0x454d83;this['_httpService']=_0x1acfa7,this[_0x18b32c(0x4fd)]();}[_0x454d83(0x4fd)](){const _0x1b5b4f=_0x454d83;this[_0x1b5b4f(0x46d)][_0x1b5b4f(0x197)]({'interceptor':(_0x4b2bd2,_0x20595f)=>{const _0x3337c4=_0x1b5b4f,_0x214794=_0x4b2bd2[_0x3337c4(0x459)],_0x1a8115=gr();return _0x1a8115&&_0x214794[_0x3337c4(0x43f)](_0x3337c4(0x243),_0x1a8115),_0x20595f(_0x4b2bd2);}});}};Ye=Er([br(0x0,a['Inject'](Z[_0x454d83(0x272)]))],Ye);var Tr=Object[_0x454d83(0x276)],Rr=Object['getOwnPropertyDescriptor'],yr=(_0x3ded53,_0x4c6963,_0x38ae69,_0x5f209b)=>{const _0x47a62c=_0x454d83;for(var _0x2c1699=_0x5f209b>0x1?void 0x0:_0x5f209b?Rr(_0x4c6963,_0x38ae69):_0x4c6963,_0x5b9f21=_0x3ded53[_0x47a62c(0x216)]-0x1,_0x7f90a9;_0x5b9f21>=0x0;_0x5b9f21--)(_0x7f90a9=_0x3ded53[_0x5b9f21])&&(_0x2c1699=(_0x5f209b?_0x7f90a9(_0x4c6963,_0x38ae69,_0x2c1699):_0x7f90a9(_0x2c1699))||_0x2c1699);return _0x5f209b&&_0x2c1699&&Tr(_0x4c6963,_0x38ae69,_0x2c1699),_0x2c1699;},ft=(_0x18c444,_0x11c610)=>(_0x50bc8d,_0x1300d3)=>_0x11c610(_0x50bc8d,_0x1300d3,_0x18c444);const Or=[_0x454d83(0x330),_0x454d83(0x4d1),_0x454d83(0x53a),'image/gif',_0x454d83(0x2e7)],Dr=0x5*0x400*0x400,wr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Pr=_0x454d83(0x30d),Ur=_0x454d83(0x4d8),Mr=_0x454d83(0x23f);exports[_0x454d83(0x61f)]=class{constructor(_0x24cf8d,_0x4d6905,_0x5b04b1){const _0x273e8b=_0x454d83;I(this,_0x273e8b(0x44b),0x0),I(this,'_change$',new A['Subject']()),I(this,_0x273e8b(0x1e5),this['_change$']),I(this,_0x273e8b(0x50b),new Map()),(this[_0x273e8b(0x46d)]=_0x24cf8d,this[_0x273e8b(0x54e)]=_0x4d6905,this[_0x273e8b(0x29b)]=_0x5b04b1);}[_0x454d83(0x461)](_0x246455){const _0x6086dd=_0x454d83;this[_0x6086dd(0x44b)]=_0x246455,this[_0x6086dd(0x363)][_0x6086dd(0x40e)](_0x246455);}[_0x454d83(0x28e)](_0x523fe9,_0x593e0e){const _0x22a902=_0x454d83;if(_0x593e0e===ne['ImageSourceType'][_0x22a902(0x5e5)]){const _0x47807a=new Image();return _0x47807a[_0x22a902(0x600)]=_0x523fe9,_0x47807a;}return this[_0x22a902(0x50b)][_0x22a902(0x572)](_0x523fe9);}[_0x454d83(0x332)](_0x2d557c,_0x502ebc,_0x23c8fc){const _0x35eb04=_0x454d83;_0x502ebc===ne[_0x35eb04(0x21c)][_0x35eb04(0x5e5)]||_0x23c8fc==null||this['_imageSourceCache'][_0x35eb04(0x43f)](_0x2d557c,_0x23c8fc);}async[_0x454d83(0x323)](_0x811dfd){const _0x19bce8=_0x454d83;try{const _0x22c7d3=this[_0x19bce8(0x437)](this[_0x19bce8(0x3f7)](),''+_0x811dfd),_0x419f18=(await this['_httpService'][_0x19bce8(0x572)](_0x22c7d3))['body'];if(_0x419f18[_0x19bce8(0x362)]&&_0x419f18[_0x19bce8(0x362)][_0x19bce8(0x63f)]===on['OK']){const _0x180083=new URL(_0x419f18[_0x19bce8(0x2ad)],this['_getDownloadEndpointURL']())[_0x19bce8(0x343)]();return Promise['resolve'](_0x180083);}return Promise['reject'](_0x419f18[_0x19bce8(0x362)]);}catch(_0x15aba5){return Promise[_0x19bce8(0x61c)](_0x15aba5);}}async[_0x454d83(0x5da)](_0x427c43){const _0x44da1c=_0x454d83;let _0x28f334='';if(!Or[_0x44da1c(0x23c)](_0x427c43['type']))return this['_decreaseWaiting'](),Promise[_0x44da1c(0x61c)](new Error(ne['ImageUploadStatusType'][_0x44da1c(0x2b4)]));if(_0x427c43[_0x44da1c(0x5e3)]>Dr)return this['_decreaseWaiting'](),Promise[_0x44da1c(0x61c)](new Error(ne[_0x44da1c(0x22e)][_0x44da1c(0x3c5)]));try{const _0x5a5990=new FormData();_0x5a5990['append'](_0x44da1c(0x4e3),_0x427c43);const _0x4b4657=this[_0x44da1c(0x29b)]['getFocusedUnit'](),_0x55d54c=_0x4b4657==null?void 0x0:_0x4b4657[_0x44da1c(0x4f9)]();if(!_0x55d54c)throw new Error(_0x44da1c(0x5e9));const _0x56b42b=this['_getUploadFileURL']()+'?size='+_0x427c43['size'][_0x44da1c(0x343)]()+_0x44da1c(0x2a3)+an[_0x44da1c(0x2d2)]+_0x44da1c(0x528)+encodeURIComponent(_0x55d54c),_0x44d2a7=await(await fetch(_0x56b42b,{'method':_0x44da1c(0x337),'body':_0x5a5990}))[_0x44da1c(0x1f2)]();if(typeof _0x44d2a7[_0x44da1c(0x277)]!='string')return this[_0x44da1c(0x21e)](),Promise['reject'](new Error(ne[_0x44da1c(0x22e)]['ERROR_IMAGE']));_0x28f334=_0x44d2a7[_0x44da1c(0x277)];}catch{return this[_0x44da1c(0x21e)](),Promise[_0x44da1c(0x61c)](new Error(ne[_0x44da1c(0x22e)][_0x44da1c(0x4eb)]));}return new Promise((_0x1900a5,_0x2b4314)=>{const _0x4f80cf=_0x44da1c,_0x230268=new FileReader();_0x230268[_0x4f80cf(0x218)](_0x427c43),_0x230268[_0x4f80cf(0x622)]=_0x55f5a6=>{const _0x376619=_0x4f80cf;var _0x432f23;const _0x1561ac=(_0x432f23=_0x55f5a6[_0x376619(0x1ab)])==null?void 0x0:_0x432f23[_0x376619(0x45b)];if(_0x1561ac==null){this[_0x376619(0x21e)](),_0x2b4314(new Error(ne[_0x376619(0x22e)]['ERROR_IMAGE']));return;}const _0x5b2f37=a[_0x376619(0x457)][_0x376619(0x2c8)](0x6);_0x1900a5({'imageId':_0x5b2f37,'imageSourceType':ne[_0x376619(0x21c)][_0x376619(0x319)],'source':_0x28f334,'base64Cache':_0x1561ac,'status':ne['ImageUploadStatusType'][_0x376619(0x4d0)]}),this[_0x376619(0x21e)]();};});}[_0x454d83(0x1da)](){const _0x3548fd=_0x454d83;var _0x10ba67,_0x1d1229;const _0x43d51a=this[_0x3548fd(0x54e)][_0x3548fd(0x2ec)](wr),_0xc86169=this[_0x3548fd(0x54e)]['getConfig'](te);return(_0x1d1229=(_0x10ba67=_0xc86169==null?void 0x0:_0xc86169['uploadFileServerUrl'])!=null?_0x10ba67:_0x43d51a)!=null?_0x1d1229:Pr;}['_getSignURL'](){const _0x322e86=_0x454d83;var _0x2b20a9,_0x27b188;const _0x2bcbf3=this[_0x322e86(0x54e)]['getConfig'](Ur),_0x5c72ac=this[_0x322e86(0x54e)][_0x322e86(0x2ec)](te);return(_0x27b188=(_0x2b20a9=_0x5c72ac==null?void 0x0:_0x5c72ac[_0x322e86(0x5a6)])!=null?_0x2b20a9:_0x2bcbf3)!=null?_0x27b188:Mr;}[_0x454d83(0x262)](){const _0x4262b9=_0x454d83;var _0xdfc041;const _0x1f7c90=this[_0x4262b9(0x54e)][_0x4262b9(0x2ec)](te);return(_0xdfc041=_0x1f7c90==null?void 0x0:_0x1f7c90['downloadEndpointUrl'])!=null?_0xdfc041:location[_0x4262b9(0x4ac)];}[_0x454d83(0x437)](_0x424698,_0x311e34){const _0x59d15e=_0x454d83;return _0x424698[_0x59d15e(0x501)](_0x59d15e(0x3b3),_0x311e34);}[_0x454d83(0x21e)](){const _0x31b072=_0x454d83;this[_0x31b072(0x44b)]-=0x1,this[_0x31b072(0x363)]['next'](this['_waitCount']);}},exports[_0x454d83(0x61f)]=yr([ft(0x0,a[_0x454d83(0x271)](Z[_0x454d83(0x272)])),ft(0x1,a[_0x454d83(0x48e)]),ft(0x2,a[_0x454d83(0x271)](a[_0x454d83(0x2ed)]))],exports['ImageIoService']);var Ar=Object[_0x454d83(0x276)],Nr=Object[_0x454d83(0x3ec)],Lr=(_0x3cc613,_0x139504,_0x139e27,_0xc5803d)=>{const _0x400374=_0x454d83;for(var _0x580f99=_0xc5803d>0x1?void 0x0:_0xc5803d?Nr(_0x139504,_0x139e27):_0x139504,_0x1f147c=_0x3cc613[_0x400374(0x216)]-0x1,_0x56cfc6;_0x1f147c>=0x0;_0x1f147c--)(_0x56cfc6=_0x3cc613[_0x1f147c])&&(_0x580f99=(_0xc5803d?_0x56cfc6(_0x139504,_0x139e27,_0x580f99):_0x56cfc6(_0x580f99))||_0x580f99);return _0xc5803d&&_0x580f99&&Ar(_0x139504,_0x139e27,_0x580f99),_0x580f99;},Ae=(_0x328c0e,_0x57a495)=>(_0x3ff6d7,_0x3cefb3)=>_0x57a495(_0x3ff6d7,_0x3cefb3,_0x328c0e);let Ke=class extends a[_0x454d83(0x28b)]{constructor(_0x5d393c,_0x34733c,_0x509902,_0x5aca8e,_0x5b3c3f){const _0x183460=_0x454d83;super(),this['_injector']=_0x5d393c,this[_0x183460(0x29b)]=_0x34733c,this[_0x183460(0x568)]=_0x509902,this[_0x183460(0x21b)]=_0x5aca8e,this['_localeService']=_0x5b3c3f,this[_0x183460(0x257)](),this[_0x183460(0x2a9)]();}[_0x454d83(0x2a9)](){const _0x11db2f=_0x454d83,_0xc0e101=async _0x6d79d2=>{const _0x266a6a=_0x4cad;(await this['_collaborationSessionService'][_0x266a6a(0x425)](_0x6d79d2))[_0x266a6a(0x385)][_0x266a6a(0x358)](V['filter'](_0x34b0dd=>_0x34b0dd[_0x266a6a(0x5ed)]===S[_0x266a6a(0x2c7)]['SHOULD_CLOSE_CONN']),V[_0x266a6a(0x3da)](this[_0x266a6a(0x2d7)]))[_0x266a6a(0x487)](_0x27bf76=>{const _0x1dd54f=_0x266a6a,_0x21c3c9=_0x27bf76,{reason:_0x314ad1}=_0x21c3c9['data'];this['_injector'][_0x1dd54f(0x572)](ee[_0x1dd54f(0x293)])['show']({'type':ge['MessageType'][_0x1dd54f(0x355)],'content':this['_localeService']['t'](_0x1dd54f(0x485))+'('+_0x314ad1+')'}),this[_0x1dd54f(0x568)][_0x1dd54f(0x5cc)](new k[(_0x1dd54f(0x435))](_0x6d79d2)['id'],!0x1),this[_0x1dd54f(0x21b)]['closeSession'](_0x6d79d2);});};A[_0x11db2f(0x465)](this[_0x11db2f(0x29b)]['getTypeOfUnitAdded$'](a[_0x11db2f(0x5d3)][_0x11db2f(0x351)]),this[_0x11db2f(0x29b)]['getTypeOfUnitAdded$'](a[_0x11db2f(0x5d3)][_0x11db2f(0x55f)]))[_0x11db2f(0x358)](V[_0x11db2f(0x52f)](_0x25e223=>_0x25e223['getUnitId']()),V['filter'](_0x3a12b1=>!a[_0x11db2f(0x431)](_0x3a12b1)),V[_0x11db2f(0x3da)](this[_0x11db2f(0x2d7)]))['subscribe'](_0x512158=>{_0xc0e101(_0x512158);});}[_0x454d83(0x257)](){const _0x597556=_0x454d83,_0x1294cb=async _0x45797a=>{const _0x5935a3=_0x4cad;(await this[_0x5935a3(0x21b)]['requireSession'](_0x45797a))[_0x5935a3(0x385)][_0x5935a3(0x358)](V['filter'](_0x4ab2e0=>_0x4ab2e0[_0x5935a3(0x5ed)]===S[_0x5935a3(0x2c7)][_0x5935a3(0x1a3)]),V[_0x5935a3(0x3da)](this[_0x5935a3(0x2d7)]))[_0x5935a3(0x487)](_0x234a22=>{const _0x2f4b64=_0x5935a3,_0x4f787f=_0x234a22,{objectId:_0x59468e}=_0x4f787f[_0x2f4b64(0x347)],_0x3359e3=this['_injector'][_0x2f4b64(0x572)](Re['SheetPermissionInitController']);_0x59468e===_0x45797a?_0x3359e3[_0x2f4b64(0x4cc)](_0x45797a):_0x3359e3[_0x2f4b64(0x43a)](_0x45797a,_0x59468e);});};A['merge'](this[_0x597556(0x29b)][_0x597556(0x2fd)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x597556(0x29b)][_0x597556(0x2fd)](a[_0x597556(0x5d3)][_0x597556(0x55f)]))[_0x597556(0x358)](V[_0x597556(0x52f)](_0x2c14d6=>_0x2c14d6['getUnitId']()),V[_0x597556(0x3a4)](_0x58147f=>!a[_0x597556(0x431)](_0x58147f)),V[_0x597556(0x3da)](this[_0x597556(0x2d7)]))[_0x597556(0x487)](_0x356ffb=>{_0x1294cb(_0x356ffb);});}};Ke=Lr([Ae(0x0,a[_0x454d83(0x271)](a['Injector'])),Ae(0x1,a[_0x454d83(0x2ed)]),Ae(0x2,a['IPermissionService']),Ae(0x3,a[_0x454d83(0x271)](exports[_0x454d83(0x4d6)])),Ae(0x4,a[_0x454d83(0x271)](a[_0x454d83(0x4ab)]))],Ke);var xr=Object[_0x454d83(0x276)],jr=Object[_0x454d83(0x3ec)],$r=(_0x1c38d2,_0x3dbd64,_0x1a3d1d,_0x272ba5)=>{const _0x3f7a16=_0x454d83;for(var _0x20c8a7=_0x272ba5>0x1?void 0x0:_0x272ba5?jr(_0x3dbd64,_0x1a3d1d):_0x3dbd64,_0x3e46ea=_0x1c38d2[_0x3f7a16(0x216)]-0x1,_0x37cc8e;_0x3e46ea>=0x0;_0x3e46ea--)(_0x37cc8e=_0x1c38d2[_0x3e46ea])&&(_0x20c8a7=(_0x272ba5?_0x37cc8e(_0x3dbd64,_0x1a3d1d,_0x20c8a7):_0x37cc8e(_0x20c8a7))||_0x20c8a7);return _0x272ba5&&_0x20c8a7&&xr(_0x3dbd64,_0x1a3d1d,_0x20c8a7),_0x20c8a7;},zt=(_0x4257fb,_0x5ba8ac)=>(_0x300a84,_0x1fc7fb)=>_0x5ba8ac(_0x300a84,_0x1fc7fb,_0x4257fb);exports['SnapshotServerOverHTTPService']=class{constructor(_0x273f8e,_0x268a9b){this['_configService']=_0x273f8e,this['_httpService']=_0x268a9b;}async[_0x454d83(0x640)](_0x4275b1,_0x1a350e){const _0x2af8b6=_0x454d83;var _0x4373b0;const {unitID:_0x1fba58,type:_0x5338f8,revision:_0x384068=0x0}=_0x1a350e,_0x4c9630=this['_getSnapshotAPIPrefix']()+'/'+_0x5338f8+'/unit/'+_0x1fba58+_0x2af8b6(0x511)+_0x384068,_0x3d97d1=(await this['_httpService']['get'](_0x4c9630))[_0x2af8b6(0x51b)],_0x21a58d=(_0x4373b0=_0x3d97d1['snapshot'])==null?void 0x0:_0x4373b0[_0x2af8b6(0x34e)];if(_0x21a58d){const _0x316b37=_0x21a58d==null?void 0x0:_0x21a58d['originalMeta'],_0x17aabb=S[_0x2af8b6(0x59e)][_0x2af8b6(0x44d)](S[_0x2af8b6(0x579)](_0x316b37));_0x21a58d[_0x2af8b6(0x37a)]=_0x17aabb,Object[_0x2af8b6(0x3e6)](_0x21a58d[_0x2af8b6(0x4f1)])['forEach'](([,_0x46d067])=>{const _0x38f088=_0x2af8b6,_0x582ce0=_0x46d067[_0x38f088(0x37a)],_0x236e48=S[_0x38f088(0x59e)][_0x38f088(0x44d)](S[_0x38f088(0x579)](_0x582ce0));_0x46d067[_0x38f088(0x37a)]=_0x236e48;});}return _0x3d97d1;}async[_0x454d83(0x5a2)](_0x35cda2,_0x115838){const _0x368cf4=_0x454d83,{unitID:_0x3f06a7,type:_0x3993fa,blockID:_0x403642}=_0x115838,_0x2a23bf=this[_0x368cf4(0x41b)]()+'/'+_0x3993fa+_0x368cf4(0x39c)+_0x3f06a7+_0x368cf4(0x205)+_0x403642;return(await this['_httpService'][_0x368cf4(0x572)](_0x2a23bf))[_0x368cf4(0x51b)];}async[_0x454d83(0x55a)](_0x1838ef,_0x281303){const _0x2fc5ff=_0x454d83,{unitID:_0x37ad4b,type:_0x4a08d9,blockID:_0x138e74}=_0x281303,_0x5b328c=this['_getAPIPrefix']()+_0x2fc5ff(0x205)+_0x4a08d9+_0x2fc5ff(0x39c)+_0x37ad4b+_0x2fc5ff(0x205)+_0x138e74;return(await this[_0x2fc5ff(0x46d)][_0x2fc5ff(0x572)](_0x5b328c))[_0x2fc5ff(0x51b)];}async[_0x454d83(0x29a)](_0x5cb661,_0x3a7148){const _0x28c862=_0x454d83,{unitID:_0x3e3731,type:_0x3f7454,from:_0x8f1b3e,to:_0x198a59}=_0x3a7148,_0x1fdf3b=this[_0x28c862(0x41b)]()+'/'+_0x3f7454+_0x28c862(0x39c)+_0x3e3731+_0x28c862(0x54f)+_0x8f1b3e+_0x28c862(0x278)+_0x198a59;return(await this['_httpService'][_0x28c862(0x572)](_0x1fdf3b))[_0x28c862(0x51b)];}[_0x454d83(0x44c)](){var _0x29ae3c;return(_0x29ae3c=this['_configService']['getConfig'](Jt))!=null?_0x29ae3c:this['_getAPIPrefix']();}[_0x454d83(0x41b)](){const _0x45e6a3=_0x454d83;var _0x56b51d,_0x428a1f;const _0x1fe2d8=this[_0x45e6a3(0x54e)][_0x45e6a3(0x2ec)](Xt),_0x3ce931=this[_0x45e6a3(0x54e)][_0x45e6a3(0x2ec)](te);return(_0x428a1f=(_0x56b51d=_0x3ce931==null?void 0x0:_0x3ce931['snapshotServerUrl'])!=null?_0x56b51d:_0x1fe2d8)!=null?_0x428a1f:$n;}async['getResourcesRequest'](_0x4c4c63,_0x7e3dc2){const _0x343af1=_0x454d83,_0x187c4c='/universer-api/snapshot/'+_0x7e3dc2[_0x343af1(0x573)]+_0x343af1(0x39c)+_0x7e3dc2['unitID']+'/resources';return(await this[_0x343af1(0x46d)][_0x343af1(0x572)](_0x187c4c,{'params':{'resourceId':JSON[_0x343af1(0x427)](_0x7e3dc2[_0x343af1(0x314)])}}))['body'];}[_0x454d83(0x37d)](){const _0x453afe=_0x454d83;throw new Error(_0x453afe(0x3dc));}[_0x454d83(0x537)](){const _0x77df15=_0x454d83;throw new Error(_0x77df15(0x3dc));}[_0x454d83(0x4bf)](){const _0xc8dedb=_0x454d83;throw new Error(_0xc8dedb(0x3dc));}['copyFileMeta'](){const _0x543201=_0x454d83;throw new Error(_0x543201(0x3dc));}['getLatestCsReqIdBySid'](){const _0x5c42c1=_0x454d83;throw new Error(_0x5c42c1(0x3dc));}},exports[_0x454d83(0x1a7)]=$r([zt(0x0,a['IConfigService']),zt(0x1,a[_0x454d83(0x271)](Z['HTTPService']))],exports['SnapshotServerOverHTTPService']);var Hr=Object[_0x454d83(0x276)],Br=Object[_0x454d83(0x3ec)],kr=(_0x138f2f,_0x595b70,_0x50f45d,_0x1877f8)=>{const _0x184764=_0x454d83;for(var _0x49f210=_0x1877f8>0x1?void 0x0:_0x1877f8?Br(_0x595b70,_0x50f45d):_0x595b70,_0x35e897=_0x138f2f[_0x184764(0x216)]-0x1,_0x437178;_0x35e897>=0x0;_0x35e897--)(_0x437178=_0x138f2f[_0x35e897])&&(_0x49f210=(_0x1877f8?_0x437178(_0x595b70,_0x50f45d,_0x49f210):_0x437178(_0x49f210))||_0x49f210);return _0x1877f8&&_0x49f210&&Hr(_0x595b70,_0x50f45d,_0x49f210),_0x49f210;},Ne=(_0x5e4c9d,_0x506e76)=>(_0x71d833,_0x127c91)=>_0x506e76(_0x71d833,_0x127c91,_0x5e4c9d);let gt=class extends a[_0x454d83(0x4ae)]{constructor(_0x1481fc,_0x50105b,_0xa7b91e,_0x3c7fa9,_0x61f413){const _0x1e0ab1=_0x454d83;super(_0x1481fc,_0x50105b,_0xa7b91e),this['_transformService']=_0x3c7fa9,this[_0x1e0ab1(0x25f)]=_0x61f413;}[_0x454d83(0x49b)](_0x2cff82,_0x4b1897){const _0x57daa1=_0x454d83,_0x2f1e13=this[_0x57daa1(0x252)](_0x2cff82);if(_0x2f1e13)try{const _0x392322=this[_0x57daa1(0x266)](_0x2f1e13,_0x4b1897);this[_0x57daa1(0x597)](_0x2cff82,_0x392322);}catch(_0x5e687a){this[_0x57daa1(0x25f)][_0x57daa1(0x362)](_0x57daa1(0x393),_0x5e687a),this[_0x57daa1(0x605)](_0x2cff82);}const _0x46763a=this[_0x57daa1(0x519)](_0x2cff82);if(_0x46763a)try{const _0x59f82e=this[_0x57daa1(0x266)](_0x46763a,_0x4b1897);this[_0x57daa1(0x320)](_0x2cff82,_0x59f82e);}catch(_0x495b9c){this[_0x57daa1(0x25f)]['error'](_0x495b9c),this['_clearRedo'](_0x2cff82);}}[_0x454d83(0x605)](_0x8c1184){const _0x51e8dc=_0x454d83,_0x982e23=this[_0x51e8dc(0x252)](_0x8c1184);_0x982e23&&(_0x982e23[_0x51e8dc(0x216)]=0x0,this[_0x51e8dc(0x228)]());}[_0x454d83(0x43b)](_0x2782d8){const _0x3d4d77=_0x454d83,_0x31d7c0=this[_0x3d4d77(0x519)](_0x2782d8);_0x31d7c0&&(_0x31d7c0[_0x3d4d77(0x216)]=0x0,this[_0x3d4d77(0x228)]());}[_0x454d83(0x597)](_0x1b52a2,_0x1a61f8){const _0x1091b1=_0x454d83;this[_0x1091b1(0x4b2)][_0x1091b1(0x43f)](_0x1b52a2,_0x1a61f8),this[_0x1091b1(0x228)]();}[_0x454d83(0x320)](_0x2b7c05,_0x3738a6){const _0x2fa7cf=_0x454d83;this[_0x2fa7cf(0x233)][_0x2fa7cf(0x43f)](_0x2b7c05,_0x3738a6),this[_0x2fa7cf(0x228)]();}['_transformStack'](_0x21bdcd,_0x526662){const _0x28d5c4=_0x454d83,_0x5e75e3=[];let _0x202018=_0x526662,_0x5a85b6=_0x526662;for(let _0x363d48=_0x21bdcd[_0x28d5c4(0x216)]-0x1;_0x363d48>=0x0;_0x363d48--){const {unitID:_0x30e92d,undoMutations:_0x1e4988,redoMutations:_0x36d360}=_0x21bdcd[_0x363d48],_0x2ac0e8=this[_0x28d5c4(0x22c)][_0x28d5c4(0x472)](_0x202018,_0x1e4988),_0x98f7c0=this[_0x28d5c4(0x22c)][_0x28d5c4(0x472)](_0x5a85b6,_0x36d360);if(S['isTransformMutationsWithChangesetFailure'](_0x2ac0e8)||S[_0x28d5c4(0x20d)](_0x98f7c0)){this[_0x28d5c4(0x25f)][_0x28d5c4(0x362)](_0x28d5c4(0x393),_0x28d5c4(0x5eb),_0x2ac0e8,_0x98f7c0);break;}_0x202018=_0x2ac0e8['c1Prime'],_0x5a85b6=_0x98f7c0[_0x28d5c4(0x545)],_0x5e75e3[_0x28d5c4(0x54c)]({'unitID':_0x30e92d,'undoMutations':_0x2ac0e8[_0x28d5c4(0x322)],'redoMutations':_0x98f7c0[_0x28d5c4(0x322)]});}return _0x5e75e3[_0x28d5c4(0x548)]();}};gt=kr([Ne(0x0,a[_0x454d83(0x2ed)]),Ne(0x1,a['ICommandService']),Ne(0x2,a[_0x454d83(0x2bb)]),Ne(0x3,S[_0x454d83(0x395)]),Ne(0x4,a[_0x454d83(0x1c6)])],gt);class Mn extends a[_0x454d83(0x28b)]{constructor(){const _0x492c34=_0x454d83;super(),I(this,_0x492c34(0x438)),this['urlChange$']=A[_0x492c34(0x357)](window,'popstate')[_0x492c34(0x358)](A[_0x492c34(0x3da)](this['dispose$']),A['shareReplay'](0x1),A[_0x492c34(0x607)](void 0x0));}[_0x454d83(0x627)](_0x51a743,_0x28b6eb,_0x3563a9=!0x1){const _0x314503=_0x454d83,_0x3ab307=new URL(window[_0x314503(0x208)][_0x314503(0x631)]);_0x3ab307[_0x314503(0x366)][_0x314503(0x43f)](_0x51a743,_0x28b6eb),_0x3563a9?window['history'][_0x314503(0x344)]('','',_0x3ab307[_0x314503(0x343)]()):window[_0x314503(0x5d0)]['pushState']('','',_0x3ab307['toString']());}[_0x454d83(0x219)](_0x2bcc8b,_0x1bf6b4=!0x1){const _0x3f12c3=_0x454d83,_0x457237=new URL(window[_0x3f12c3(0x208)][_0x3f12c3(0x631)]);_0x457237[_0x3f12c3(0x366)][_0x3f12c3(0x2e9)](_0x2bcc8b),_0x1bf6b4?window[_0x3f12c3(0x5d0)][_0x3f12c3(0x344)]('','',_0x457237[_0x3f12c3(0x343)]()):window['history'][_0x3f12c3(0x3e7)]('','',_0x457237['toString']());}[_0x454d83(0x409)](_0x1cbe8e){const _0x2e8214=_0x454d83;var _0x58494f;return(_0x58494f=new URL(window[_0x2e8214(0x208)]['href'])[_0x2e8214(0x366)][_0x2e8214(0x572)](_0x1cbe8e))!=null?_0x58494f:void 0x0;}}var An=Object[_0x454d83(0x276)],Wr=Object['getOwnPropertyDescriptor'],Fr=(_0x136262,_0x157b92,_0x6f93a)=>_0x157b92 in _0x136262?An(_0x136262,_0x157b92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6f93a}):_0x136262[_0x157b92]=_0x6f93a,Vr=(_0x24ef11,_0x37bcbe,_0x1559a8,_0x221e5d)=>{const _0x293c4d=_0x454d83;for(var _0x50e579=_0x221e5d>0x1?void 0x0:_0x221e5d?Wr(_0x37bcbe,_0x1559a8):_0x37bcbe,_0x47f5b1=_0x24ef11[_0x293c4d(0x216)]-0x1,_0x14d82d;_0x47f5b1>=0x0;_0x47f5b1--)(_0x14d82d=_0x24ef11[_0x47f5b1])&&(_0x50e579=(_0x221e5d?_0x14d82d(_0x37bcbe,_0x1559a8,_0x50e579):_0x14d82d(_0x50e579))||_0x50e579);return _0x221e5d&&_0x50e579&&An(_0x37bcbe,_0x1559a8,_0x50e579),_0x50e579;},He=(_0x5bd49d,_0x333956)=>(_0x3c4c2c,_0x59278b)=>_0x333956(_0x3c4c2c,_0x59278b,_0x5bd49d),Gr=(_0x3fb42a,_0x835edd,_0xbe9ef8)=>Fr(_0x3fb42a,_0x835edd+'',_0xbe9ef8);const Yr=_0x454d83(0x1d6);exports[_0x454d83(0x325)]=class extends a[_0x454d83(0x638)]{constructor(_0x3eff17=qn,_0x3d0af1,_0x316581,_0x3f65e5,_0x578470){const _0x27bdc2=_0x454d83;super(),this[_0x27bdc2(0x610)]=_0x3eff17,this['_logService']=_0x3d0af1,this['_renderManagerService']=_0x316581,this[_0x27bdc2(0x1ac)]=_0x3f65e5,this[_0x27bdc2(0x54e)]=_0x578470;const {..._0x47471e}=this[_0x27bdc2(0x610)];this[_0x27bdc2(0x54e)]['setConfig'](te,_0x47471e);}[_0x454d83(0x2f9)](){const _0x3b3fd4=_0x454d83;this[_0x3b3fd4(0x522)](),this[_0x3b3fd4(0x559)]();}[_0x454d83(0x19c)](){const _0x53e470=_0x454d83;a['touchDependencies'](this[_0x53e470(0x1ac)],[[Ve]]);}[_0x454d83(0x2c6)](){const _0x4f1069=_0x454d83;this[_0x4f1069(0x4b4)]();}[_0x454d83(0x522)](){const _0x1a543f=_0x454d83;var _0x398c86,_0x422772,_0x1b9502,_0x282b68;this[_0x1a543f(0x1ac)][_0x1a543f(0x44a)](a['IUndoRedoService'])&&this[_0x1a543f(0x25f)]['error'](_0x1a543f(0x206),_0x1a543f(0x280));const _0x3387df=[[a['IUndoRedoService'],{'useClass':gt}],[exports[_0x1a543f(0x4d6)]],[yt],[Dt,{'useClass':Mn}],[exports[_0x1a543f(0x254)]],[exports['LocalCacheService']],[Z['WebSocketService']],[ke],[Fe],[Be],[We],[Tt],[Ge],[Ye],[bt],[Ke],[Et,{'useClass':(_0x422772=(_0x398c86=this[_0x1a543f(0x610)])==null?void 0x0:_0x398c86[_0x1a543f(0x2d6)])!=null?_0x422772:exports[_0x1a543f(0x3ed)]}],[S[_0x1a543f(0x51f)],{'useClass':exports[_0x1a543f(0x1a7)]}],[a['IAuthzIoService'],{'useClass':exports['AuthzIoHttpService']}],[ne[_0x1a543f(0x1db)],{'useClass':exports[_0x1a543f(0x61f)]}],[exports[_0x1a543f(0x327)]],[exports['DataLoaderController']],[exports[_0x1a543f(0x3c3)]],[Ve],[De]];(_0x1b9502=this[_0x1a543f(0x610)])!=null&&_0x1b9502[_0x1a543f(0x5d2)]&&_0x3387df['push']([qe,{'useClass':yi}]),a[_0x1a543f(0x1c3)](this[_0x1a543f(0x1ac)],a[_0x1a543f(0x1b2)](_0x3387df,(_0x282b68=this[_0x1a543f(0x610)])==null?void 0x0:_0x282b68[_0x1a543f(0x2ea)]));}[_0x454d83(0x4b4)](){const _0x18f1ca=_0x454d83;this['disposeWithMe'](this[_0x18f1ca(0x27c)][_0x18f1ca(0x614)](a[_0x18f1ca(0x5d3)][_0x18f1ca(0x55f)],[St])),this[_0x18f1ca(0x421)](this[_0x18f1ca(0x27c)][_0x18f1ca(0x614)](a[_0x18f1ca(0x5d3)][_0x18f1ca(0x351)],[pt]));}[_0x454d83(0x559)](){const _0x464d14=_0x454d83;var _0x4cf919,_0x113f25;this[_0x464d14(0x1ac)][_0x464d14(0x572)](Z['HTTPService'])[_0x464d14(0x197)]({'priority':0x14,'interceptor':Z[_0x464d14(0x536)]({'maxParallel':0x6})}),(_0x4cf919=this[_0x464d14(0x610)])!=null&&_0x4cf919[_0x464d14(0x1c5)]||this['_injector'][_0x464d14(0x572)](exports[_0x464d14(0x37c)])['disableLocalCache'](),(_0x113f25=this['_config'])!=null&&_0x113f25[_0x464d14(0x5c7)]&&a[_0x464d14(0x5d8)](this['_injector'],[[Ge]]),a[_0x464d14(0x5d8)](this[_0x464d14(0x1ac)],[[Ye],[De],[exports['DataLoaderController']],[exports[_0x464d14(0x327)]],[exports[_0x464d14(0x3c3)]],[Ke]]);}},Gr(exports[_0x454d83(0x325)],_0x454d83(0x317),Yr),exports[_0x454d83(0x325)]=Vr([a['DependentOn'](S[_0x454d83(0x207)],Z[_0x454d83(0x39d)]),He(0x1,a[_0x454d83(0x1c6)]),He(0x2,K['IRenderManagerService']),He(0x3,a[_0x454d83(0x271)](a[_0x454d83(0x41c)])),He(0x4,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x454d83(0x644)]=bn,exports[_0x454d83(0x383)]=sn,exports[_0x454d83(0x609)]=Zt,exports[_0x454d83(0x3e4)]=q,exports[_0x454d83(0x55d)]=En,exports[_0x454d83(0x369)]=bt,exports[_0x454d83(0x2ba)]=Qt,exports[_0x454d83(0x56c)]=It,exports[_0x454d83(0x598)]=Et,exports[_0x454d83(0x500)]=Dt,exports[_0x454d83(0x5b0)]=nn,exports[_0x454d83(0x554)]=rn,exports[_0x454d83(0x4b0)]=tn,exports['SEND_CHANGESET_TIMEOUT_KEY']=Hn,exports[_0x454d83(0x5ad)]=Xt,exports[_0x454d83(0x574)]=Jt,exports['SessionStatus']=se,exports[_0x454d83(0x229)]=vn,exports[_0x454d83(0x588)]=Mn,exports[_0x454d83(0x625)]=cn,exports[_0x454d83(0x38e)]=ln;
|