@univerjs-pro/boards-thread-comment-ui 1.0.0-rc.0 → 1.0.0
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/README.md +27 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/components.controller.d.ts +2 -2
- package/lib/types/controllers/mobile/components.controller.d.ts +24 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/mobile-plugin.d.ts +16 -0
- package/lib/types/plugin.d.ts +2 -0
- package/lib/types/views/MobileBoardsThreadCommentPanel.d.ts +1 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +14 -14
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1cc9d1=_0x1147;(function(_0x10b009,_0x3b2091){const _0x35bbd6=_0x1147,_0x7c7793=_0x10b009();while(!![]){try{const _0x45753c=parseInt(_0x35bbd6(0x145))/0x1+-parseInt(_0x35bbd6(0x170))/0x2+-parseInt(_0x35bbd6(0x157))/0x3+parseInt(_0x35bbd6(0x14f))/0x4*(parseInt(_0x35bbd6(0x144))/0x5)+parseInt(_0x35bbd6(0x198))/0x6+-parseInt(_0x35bbd6(0x12c))/0x7*(-parseInt(_0x35bbd6(0x197))/0x8)+parseInt(_0x35bbd6(0x124))/0x9*(-parseInt(_0x35bbd6(0x178))/0xa);if(_0x45753c===_0x3b2091)break;else _0x7c7793['push'](_0x7c7793['shift']());}catch(_0x296ba2){_0x7c7793['push'](_0x7c7793['shift']());}}}(_0x3fb2,0xad720));function _0x3fb2(){const _0x4fb2cc=['72epEmEA','947538lKJAbc','_themeService','onPointerMove$','_commandService','subscribe','pageId','board-canvas','white','transientNavigation','view-selection','permissionPointUpdate$','query','offsetY','mergeMenu','_draftService','_onPointerMove','_elementStateService','function','OPERATION','call','setPanelVisible','getObject','_syncOverlay','set','activeCommentId','hoveredCommentId','boards-thread-comment-ui.config','_onPointerDown','boards-thread-comment-ui.view-selection.add-comment','getUnitId','get','_hitTest','button','activeTool','boards-thread-comment-ui.addComment','zoomRatio','subscribeEvent','updateState','ref','top','_renderContext','clearHover','getObjectIncludeInGroup','onPointerDown$','boards-thread-comment-ui.toolbar.add-comment','_config','constructor','board.operation.add-element-comment','catch','_getFocusState','setActiveComment','yellow.400','cancel','defineProperty','has','_getElementOutline','SELECTION','type','board.operation.start-comment-placement','forEach','299142YOtZlV','getColorFromTheme','offsetX','_elementService','boards-thread-comment-ui.openComments','getPage','InsertCommentDoubleIcon','Select','290514XNIFCc','UNIVER_BOARD','add','iterator','packageName','setConfig','push','zIndex','getState','placementType','_onOverlayPointerDown','UNIVER_BOARDS_THREAD_COMMENT_UI_PLUGIN','registerRenderModule','ELEMENT','_iconManager','context','scene','gray.900','pluginName','boards-thread-comment-ui.top-right.open-comments','getCurrentUnitOfType','_overlay','_configService','addObject','300BXfYbT','313749VIRRGG','length','userID','count','commentIds','_commentModel','placementType$','getActivePageId','BUTTON','_registerComponents','60424agCvHe','subUnitId','_uiStateService','left','getUnit','register','onRendered','_listenToolSwitch','1192989QRCHXm','place','object','draft','values','commentUpdate$','disposeWithMe','pipe','executeCommand','_getModel','overlay','state$','Comment','_injector','top-right-before-history','@univerjs-pro/boards-thread-comment-ui','dispose$','decorate','BOARD','OTHERS','commentId','getCurrentUser','_componentManager','_registerIcons','symbol','1153958JzIpFL','_instanceService','_getElementUnderline','_panelService','getElementOrder','version','univer.board.thread-comment-panel','stopPropagation','20StjSSv','unitId','_toBoardPoint','auxiliary','open','string','name','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_placeElement','width','toPrimitive','elementId','draft$','anchor','round','element','hoveredCommentId$','kind','_getColors','from','focusedId','getElementData','BOARD_ELEMENT','elementUpdate$','startPlacement','viewportPanOffset','trim','1.0.0-rc.0','_renderManagerService','BOARD_POSITION','setActiveTool'];_0x3fb2=function(){return _0x4fb2cc;};return _0x3fb2();}import{BoardModel as _0x3328c9,BoardToolType as _0x1de28a,IBoardElementService as _0x482ddd,UniverBoardsPlugin as _0x242184,getBoardPermissionValue as _0x23e457}from'@univerjs-pro/boards';import{BOARD_RENDER_LAYER_INDEX as _0x26958a,BOARD_RENDER_OBJECT_Z_INDEX as _0x10256f,BoardElementContextMenuPosition as _0x3b48f8,IBoardElementStateService as _0x53b437,IBoardToolbarContributionService as _0x3d52cf,IBoardUIStateService as _0x29352d,UniverBoardsUIPlugin as _0x415883,getBoardElementRenderObjectKey as _0x4f05fb,hitTestBoardElementAtPoint as _0x16334e}from'@univerjs-pro/boards-ui';function _0x1147(_0x7c2065,_0x54a994){_0x7c2065=_0x7c2065-0x110;const _0x3fb271=_0x3fb2();let _0x114783=_0x3fb271[_0x7c2065];return _0x114783;}import{CommandType as _0x48b7d4,DependentOn as _0x4c4ce1,Disposable as _0x557df4,ICommandService as _0x42d09a,IConfigService as _0x3aaba9,IPermissionService as _0x5cd736,IUniverInstanceService as _0x2847f1,Inject as _0xd78e32,Injector as _0x567b5b,LocaleService as _0x15998b,Plugin as _0x13361c,RxDisposable as _0x1bd99f,ThemeService as _0x1a97d5,UniverInstanceType as _0x10f3c8,UserManagerService as _0x701e1,merge as _0x58e053,toDisposable as _0x402a7a}from'@univerjs/core';import{UnitAction as _0x23cd02}from'@univerjs/protocol';import{ThreadCommentAnchorKind as _0x8a6e67,ThreadCommentModel as _0x185414,deserializeThreadCommentAnchor as _0x21af29,serializeThreadCommentAnchor as _0x471ec8}from'@univerjs/thread-comment';import{ThreadCommentCanvasOverlay as _0x28dd69,ThreadCommentDraftService as _0x177d36,ThreadCommentPanel as _0x10e6fa,ThreadCommentPanelService as _0x17e9df,UniverThreadCommentUIPlugin as _0x288653}from'@univerjs/thread-comment-ui';import{ComponentManager as _0x57427e,ContextMenuGroup as _0x280b77,FloatingObjectToolbarPosition as _0x2fa65d,IMenuManagerService as _0x386dff,ISidebarService as _0x55ea59,IconManager as _0x10f3b7,MenuItemType as _0xc2a448,getMenuHiddenObservable as _0x430e4b,useDependency as _0x324bbf,useObservable as _0x46858d}from'@univerjs/ui';import{UniverBoardsThreadCommentPlugin as _0x2e930f}from'@univerjs-pro/boards-thread-comment';import{UniverLicensePlugin as _0x3bdb17}from'@univerjs-pro/license';import{IRenderManagerService as _0x2b66b0,UniverRenderEnginePlugin as _0x5f21c6}from'@univerjs/engine-render';import{CommentIcon as _0x1a39a3,InsertCommentDoubleIcon as _0x38ceb4}from'@univerjs/icons';import{useMemo as _0x5e914d}from'react';import{combineLatest as _0x507f93,distinctUntilChanged as _0x59f4f5,map as _0x547e9b,of as _0x25c632,pairwise as _0x2ea6b5,startWith as _0x32033d,takeUntil as _0x129548}from'rxjs';import{jsx as _0x404655}from'react/jsx-runtime';const L=_0x1cc9d1(0x176);function R(_0x163307){const _0x367f04=_0x1cc9d1;let _0x7e37e3=_0x163307[_0x367f04(0x1b6)](_0x17e9df);_0x163307[_0x367f04(0x1b6)](_0x55ea59)[_0x367f04(0x17c)]({'header':{'title':_0x367f04(0x1ba)},'children':{'label':L},'width':0x140,'onClose':()=>_0x7e37e3[_0x367f04(0x1ac)](!0x1)}),_0x7e37e3[_0x367f04(0x1ac)](!0x0);}const z={'id':'board.operation.open-comment-panel','type':_0x48b7d4[_0x1cc9d1(0x1aa)],'handler'(_0x1d272e){return R(_0x1d272e),!0x0;}},B={'id':_0x1cc9d1(0x122),'type':_0x48b7d4[_0x1cc9d1(0x1aa)],'handler'(_0x1d53b6){const _0x6f1be7=_0x1cc9d1;let _0xa111e3=_0x1d53b6[_0x6f1be7(0x1b6)](_0x2847f1)[_0x6f1be7(0x140)](_0x10f3c8[_0x6f1be7(0x12d)]);return!_0xa111e3||!_0x23e457(_0x1d53b6['get'](_0x5cd736),_0xa111e3['getUnitId'](),_0xa111e3[_0x6f1be7(0x1b5)](),_0x23cd02[_0x6f1be7(0x163)])?!0x1:(_0x1d53b6[_0x6f1be7(0x1b6)](_0x29352d)[_0x6f1be7(0x196)](_0x1de28a[_0x6f1be7(0x12b)]),_0x1d53b6[_0x6f1be7(0x1b6)](_0x177d36)[_0x6f1be7(0x190)](_0x10f3c8[_0x6f1be7(0x12d)],_0xa111e3[_0x6f1be7(0x1b5)]()),!0x0);}},V={'id':_0x1cc9d1(0x117),'type':_0x48b7d4[_0x1cc9d1(0x1aa)],'handler'(_0x1fc848){const _0x5120fb=_0x1cc9d1;var _0x337c79;let _0x1c331f=_0x1fc848[_0x5120fb(0x1b6)](_0x2847f1)[_0x5120fb(0x140)](_0x10f3c8[_0x5120fb(0x12d)]),_0x531f9c=_0x1fc848[_0x5120fb(0x1b6)](_0x53b437)['getSnapshot'](),_0x4a0a38=_0x1c331f==null?void 0x0:_0x1c331f[_0x5120fb(0x14c)](),_0x30c8fb=_0x531f9c[_0x5120fb(0x18c)]??_0x531f9c['selectedIds'][_0x531f9c['selectedIds'][_0x5120fb(0x146)]-0x1];return!_0x1c331f||!_0x4a0a38||!_0x30c8fb||((_0x337c79=_0x531f9c[_0x5120fb(0x13b)])==null?void 0x0:_0x337c79[_0x5120fb(0x179)])!==_0x1c331f[_0x5120fb(0x1b5)]()||_0x531f9c[_0x5120fb(0x13b)][_0x5120fb(0x150)]!==_0x4a0a38||!_0x23e457(_0x1fc848[_0x5120fb(0x1b6)](_0x5cd736),_0x1c331f[_0x5120fb(0x1b5)](),_0x1c331f['getUnitId'](),_0x23cd02[_0x5120fb(0x163)])?!0x1:(_0x1fc848[_0x5120fb(0x1b6)](_0x177d36)['place']({'unitId':_0x1c331f[_0x5120fb(0x1b5)](),'subUnitId':_0x4a0a38,'anchor':{'kind':_0x8a6e67[_0x5120fb(0x18e)],'pageId':_0x4a0a38,'elementId':_0x30c8fb}}),R(_0x1fc848),!0x0);}},H=_0x1cc9d1(0x1b2),U={};var ke=_0x1cc9d1(0x166),Ae=_0x1cc9d1(0x193);function je(){const _0x3064d6=_0x1cc9d1;let _0x484823=_0x324bbf(_0x2847f1),_0x9dd4d8=_0x324bbf(_0x42d09a),_0x5bdac4=_0x324bbf(_0x177d36),_0x391abd=_0x324bbf(_0x701e1),_0x535fa3=_0x324bbf(_0x482ddd),_0x4649fa=_0x484823[_0x3064d6(0x140)](_0x10f3c8[_0x3064d6(0x12d)]),_0x3f9ecc=_0x4649fa instanceof _0x3328c9?_0x4649fa:void 0x0,_0x1c41a3=_0x324bbf(_0x5cd736);_0x46858d(()=>_0x1c41a3[_0x3064d6(0x1a2)],void 0x0,!0x1,[_0x1c41a3]);let _0x247f2a=_0x46858d(_0x5bdac4[_0x3064d6(0x184)],_0x5bdac4[_0x3064d6(0x15a)]),_0x2371f0=_0x5e914d(()=>_0x25c632(_0x3f9ecc==null?void 0x0:_0x3f9ecc[_0x3064d6(0x14c)]()),[_0x3f9ecc]),_0x51b030=_0x247f2a&&_0x247f2a[_0x3064d6(0x179)]===(_0x3f9ecc==null?void 0x0:_0x3f9ecc[_0x3064d6(0x1b5)]())?{'id':'','threadId':'','unitId':_0x247f2a[_0x3064d6(0x179)],'subUnitId':_0x247f2a[_0x3064d6(0x150)],'ref':_0x471ec8(_0x247f2a[_0x3064d6(0x185)]),'dT':'','personId':_0x391abd[_0x3064d6(0x16c)]()[_0x3064d6(0x147)],'text':{'dataStream':'\x0d\x0a'}}:null;if(!_0x3f9ecc)return null;let _0x5d9109=!_0x23e457(_0x1c41a3,_0x3f9ecc['getUnitId'](),_0x3f9ecc[_0x3064d6(0x1b5)](),_0x23cd02[_0x3064d6(0x163)]);return _0x404655(_0x10e6fa,{'unitId':_0x3f9ecc[_0x3064d6(0x1b5)](),'subUnitId$':_0x2371f0,'type':_0x10f3c8['UNIVER_BOARD'],'onAdd':()=>_0x9dd4d8[_0x3064d6(0x15f)](B['id']),'disableAdd':_0x5d9109,'getSubUnitName':_0x5d02c0=>{const _0x340692=_0x3064d6;var _0x34099c;return((_0x34099c=_0x3f9ecc[_0x340692(0x129)](_0x5d02c0))==null?void 0x0:_0x34099c[_0x340692(0x17e)])??_0x5d02c0;},'tempComment':_0x51b030,'onTempCommentClose':()=>_0x5bdac4[_0x3064d6(0x11c)](),'formatRef':_0x23685b=>Me(_0x23685b,_0x535fa3)});}function Me(_0x4b5e5d,_0x8fc22b){const _0x3bea7e=_0x1cc9d1;let _0x16c2c9=_0x21af29(_0x4b5e5d['ref']);if((_0x16c2c9==null?void 0x0:_0x16c2c9['kind'])===_0x8a6e67[_0x3bea7e(0x18e)]){var _0x3961d4;let _0x1b95f9=_0x8fc22b['getElementById'](_0x4b5e5d[_0x3bea7e(0x179)],_0x16c2c9[_0x3bea7e(0x19d)]??_0x4b5e5d['subUnitId'],_0x16c2c9[_0x3bea7e(0x183)]);return(_0x1b95f9==null||(_0x3961d4=_0x1b95f9[_0x3bea7e(0x187)][_0x3bea7e(0x17e)])==null?void 0x0:_0x3961d4[_0x3bea7e(0x192)]())||_0x16c2c9[_0x3bea7e(0x183)];}return(_0x16c2c9==null?void 0x0:_0x16c2c9['kind'])===_0x8a6e67[_0x3bea7e(0x195)]?'('+Math[_0x3bea7e(0x186)](_0x16c2c9['x'])+',\x20'+Math[_0x3bea7e(0x186)](_0x16c2c9['y'])+')':_0x4b5e5d['ref'];}function W(_0x13a726,_0x350b83){return function(_0x189d44,_0x56ec50){_0x350b83(_0x189d44,_0x56ec50,_0x13a726);};}function G(_0x15bb97,_0x17ccdc,_0x452053,_0x3454e2){const _0x2ad44a=_0x1cc9d1;var _0x10d62e=arguments[_0x2ad44a(0x146)],_0x4a3932=_0x10d62e<0x3?_0x17ccdc:_0x3454e2===null?_0x3454e2=Object['getOwnPropertyDescriptor'](_0x17ccdc,_0x452053):_0x3454e2,_0x4275a3;if(typeof Reflect==_0x2ad44a(0x159)&&typeof Reflect[_0x2ad44a(0x168)]==_0x2ad44a(0x1a9))_0x4a3932=Reflect[_0x2ad44a(0x168)](_0x15bb97,_0x17ccdc,_0x452053,_0x3454e2);else{for(var _0x375e0e=_0x15bb97[_0x2ad44a(0x146)]-0x1;_0x375e0e>=0x0;_0x375e0e--)(_0x4275a3=_0x15bb97[_0x375e0e])&&(_0x4a3932=(_0x10d62e<0x3?_0x4275a3(_0x4a3932):_0x10d62e>0x3?_0x4275a3(_0x17ccdc,_0x452053,_0x4a3932):_0x4275a3(_0x17ccdc,_0x452053))||_0x4a3932);}return _0x10d62e>0x3&&_0x4a3932&&Object[_0x2ad44a(0x11d)](_0x17ccdc,_0x452053,_0x4a3932),_0x4a3932;}let K=class extends _0x557df4{constructor(_0x299582,_0x13300c){const _0x59f45a=_0x1cc9d1;super(),this[_0x59f45a(0x16d)]=_0x299582,this[_0x59f45a(0x13a)]=_0x13300c,this[_0x59f45a(0x16e)](),this[_0x59f45a(0x14e)]();}[_0x1cc9d1(0x16e)](){const _0x251744=_0x1cc9d1;this[_0x251744(0x15d)](this[_0x251744(0x13a)][_0x251744(0x154)]({'InsertCommentDoubleIcon':_0x38ceb4}));}[_0x1cc9d1(0x14e)](){const _0x35e11e=_0x1cc9d1;this[_0x35e11e(0x15d)](this['_componentManager'][_0x35e11e(0x154)](L,je));}};K=G([W(0x0,_0xd78e32(_0x57427e)),W(0x1,_0xd78e32(_0x10f3b7))],K);function q(_0x5ac238,_0x3d0fd0,_0x5c7bc2){const _0x599bd7=_0x1cc9d1;let _0x55e5cc=Number['isFinite'](_0x5c7bc2[_0x599bd7(0x1bb)])&&_0x5c7bc2[_0x599bd7(0x1bb)]>0x0?_0x5c7bc2[_0x599bd7(0x1bb)]:0x1;return{'x':(_0x5ac238-_0x5c7bc2[_0x599bd7(0x191)]['x'])/_0x55e5cc,'y':(_0x3d0fd0-_0x5c7bc2['viewportPanOffset']['y'])/_0x55e5cc};}function J(_0x36da6f){'@babel/helpers - typeof';const _0x5ebaac=_0x1cc9d1;return J=typeof Symbol=='function'&&typeof Symbol[_0x5ebaac(0x12f)]==_0x5ebaac(0x16f)?function(_0x2ef389){return typeof _0x2ef389;}:function(_0x1d85ba){const _0x5076fc=_0x5ebaac;return _0x1d85ba&&typeof Symbol==_0x5076fc(0x1a9)&&_0x1d85ba[_0x5076fc(0x116)]===Symbol&&_0x1d85ba!==Symbol['prototype']?_0x5076fc(0x16f):typeof _0x1d85ba;},J(_0x36da6f);}function Ne(_0x58e0e6,_0x1a4af5){const _0x49c7f2=_0x1cc9d1;if(J(_0x58e0e6)!=_0x49c7f2(0x159)||!_0x58e0e6)return _0x58e0e6;var _0x148d14=_0x58e0e6[Symbol[_0x49c7f2(0x182)]];if(_0x148d14!==void 0x0){var _0x25e8e8=_0x148d14['call'](_0x58e0e6,_0x1a4af5||'default');if(J(_0x25e8e8)!=_0x49c7f2(0x159))return _0x25e8e8;throw TypeError(_0x49c7f2(0x17f));}return(_0x1a4af5===_0x49c7f2(0x17d)?String:Number)(_0x58e0e6);}function Pe(_0x346fab){const _0xac0a8c=_0x1cc9d1;var _0x37128b=Ne(_0x346fab,_0xac0a8c(0x17d));return J(_0x37128b)==_0xac0a8c(0x16f)?_0x37128b:_0x37128b+'';}function Y(_0x2869c0,_0x1248a8,_0x1c2949){const _0x28eb6b=_0x1cc9d1;return(_0x1248a8=Pe(_0x1248a8))in _0x2869c0?Object[_0x28eb6b(0x11d)](_0x2869c0,_0x1248a8,{'value':_0x1c2949,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2869c0[_0x1248a8]=_0x1c2949,_0x2869c0;}function Fe(_0x5c3ad0){const _0x5961a0=_0x1cc9d1;let _0x7585ae=new Map();return _0x5c3ad0[_0x5961a0(0x123)](_0x2f7ec0=>{const _0x480d95=_0x5961a0;let _0x446cb2=_0x2f7ec0['x']+'\x00'+_0x2f7ec0['y'],_0x4c411a=_0x7585ae[_0x480d95(0x1b6)](_0x446cb2);if(_0x4c411a){_0x4c411a[_0x480d95(0x16b)]=_0x2f7ec0['commentId'],_0x4c411a[_0x480d95(0x149)]['push'](_0x2f7ec0[_0x480d95(0x16b)]),_0x4c411a[_0x480d95(0x148)]+=0x1;return;}_0x7585ae[_0x480d95(0x1af)](_0x446cb2,{..._0x2f7ec0,'commentIds':[_0x2f7ec0[_0x480d95(0x16b)]],'count':0x1});}),Array['from'](_0x7585ae[_0x5961a0(0x15b)]());}let X=class extends _0x1bd99f{constructor(_0x2316c2,_0x3a5db0,_0x27b2b8,_0x5b32d5,_0x49ef1f,_0x161e65,_0x15d958,_0x199efc,_0x331b0b,_0xc9d9e8){const _0x470037=_0x1cc9d1;super(),this[_0x470037(0x110)]=_0x2316c2,this['_commandService']=_0x3a5db0,this[_0x470037(0x171)]=_0x27b2b8,this[_0x470037(0x127)]=_0x5b32d5,this[_0x470037(0x1a8)]=_0x49ef1f,this[_0x470037(0x151)]=_0x161e65,this['_draftService']=_0x15d958,this[_0x470037(0x14a)]=_0x199efc,this['_panelService']=_0x331b0b,this[_0x470037(0x199)]=_0xc9d9e8,Y(this,_0x470037(0x141),void 0x0),this[_0x470037(0x141)]=new _0x28dd69('board-thread-comment-overlay',{...this[_0x470037(0x18a)](),'zoomRatio':0x1,'markers':[],'underlines':[]}),this['_overlay'][_0x470037(0x133)]=_0x10256f[_0x470037(0x1a0)]+0x1,this[_0x470037(0x110)][_0x470037(0x13c)][_0x470037(0x143)](this[_0x470037(0x141)],_0x26958a[_0x470037(0x161)]),this[_0x470037(0x15d)](_0x402a7a(this['_overlay'][_0x470037(0x113)][_0x470037(0x1bc)]((_0x415be0,_0x1cd2f0)=>this[_0x470037(0x136)](_0x1cd2f0)))),this['disposeWithMe'](_0x402a7a(this['_overlay']['onPointerLeave$']['subscribeEvent'](()=>this[_0x470037(0x141)][_0x470037(0x111)]()))),this['disposeWithMe'](_0x402a7a(this[_0x470037(0x110)][_0x470037(0x13c)][_0x470037(0x113)][_0x470037(0x1bc)]((_0x3df333,_0x457fa4)=>this[_0x470037(0x1b3)](_0x3df333,_0x457fa4)))),this['disposeWithMe'](_0x402a7a(this[_0x470037(0x110)]['scene'][_0x470037(0x19a)][_0x470037(0x1bc)](_0x286887=>this[_0x470037(0x1a7)](_0x286887)))),this[_0x470037(0x15d)](_0x402a7a(this[_0x470037(0x1a8)]['state$'][_0x470037(0x15e)](_0x2ea6b5(),_0x129548(this[_0x470037(0x167)]))[_0x470037(0x19c)](([_0x4e3dad,_0x1ad923])=>{const _0x3731d6=_0x470037;var _0x507e29;this[_0x3731d6(0x1a6)][_0x3731d6(0x135)]!==_0x10f3c8['UNIVER_BOARD']||!_0x1ad923[_0x3731d6(0x18c)]||!_0x1ad923[_0x3731d6(0x13b)]||_0x4e3dad['focusedId']===_0x1ad923[_0x3731d6(0x18c)]&&((_0x507e29=_0x4e3dad[_0x3731d6(0x13b)])==null?void 0x0:_0x507e29[_0x3731d6(0x179)])===_0x1ad923[_0x3731d6(0x13b)][_0x3731d6(0x179)]&&_0x4e3dad[_0x3731d6(0x13b)]['subUnitId']===_0x1ad923[_0x3731d6(0x13b)][_0x3731d6(0x150)]||this['_placeElement'](_0x1ad923[_0x3731d6(0x13b)][_0x3731d6(0x179)],_0x1ad923[_0x3731d6(0x13b)][_0x3731d6(0x150)],_0x1ad923[_0x3731d6(0x18c)]);}))),this[_0x470037(0x15d)](this['_commentModel'][_0x470037(0x15c)]['pipe'](_0x129548(this[_0x470037(0x167)]))[_0x470037(0x19c)](_0x246419=>{const _0x4b9152=_0x470037;_0x246419[_0x4b9152(0x179)]===this['_renderContext'][_0x4b9152(0x179)]&&this[_0x4b9152(0x1ae)]();})),[this[_0x470037(0x173)]['activeCommentId$'],this[_0x470037(0x173)][_0x470037(0x188)]]['forEach'](_0x248724=>{const _0x2afb9a=_0x470037;this[_0x2afb9a(0x15d)](_0x248724['pipe'](_0x129548(this[_0x2afb9a(0x167)]))['subscribe'](()=>this[_0x2afb9a(0x1ae)]()));}),[this[_0x470037(0x127)]['elementAdd$'],this[_0x470037(0x127)][_0x470037(0x18f)],this['_elementService']['elementRemove$']][_0x470037(0x123)](_0x47510e=>{const _0x3cd745=_0x470037;this[_0x3cd745(0x15d)](_0x47510e[_0x3cd745(0x15e)](_0x129548(this['dispose$']))[_0x3cd745(0x19c)](_0x3aac6d=>{const _0x53deb0=_0x3cd745;_0x3aac6d['some'](_0x13f044=>_0x13f044[_0x53deb0(0x179)]===this[_0x53deb0(0x110)][_0x53deb0(0x179)])&&this[_0x53deb0(0x1ae)]();}));}),this[_0x470037(0x15d)](this[_0x470037(0x151)][_0x470037(0x162)][_0x470037(0x15e)](_0x59f4f5((_0x2a634a,_0x92ca40)=>_0x2a634a['zoomRatio']===_0x92ca40[_0x470037(0x1bb)]),_0x129548(this[_0x470037(0x167)]))[_0x470037(0x19c)](()=>this['_syncOverlay']())),this[_0x470037(0x156)](),this[_0x470037(0x15d)](this[_0x470037(0x1a6)][_0x470037(0x14b)]['pipe'](_0x129548(this['dispose$']))['subscribe'](_0x12fdb8=>{const _0x3c1906=_0x470037;_0x12fdb8!==_0x10f3c8[_0x3c1906(0x12d)]&&this[_0x3c1906(0x141)]['updateState']({'previewMarker':null,'previewUnderline':null});})),this[_0x470037(0x15d)](this[_0x470037(0x199)]['currentTheme$'][_0x470037(0x15e)](_0x129548(this['dispose$']))[_0x470037(0x19c)](()=>this[_0x470037(0x1ae)]())),this[_0x470037(0x1ae)]();}['_listenToolSwitch'](){const _0x51faa3=_0x1cc9d1;this['disposeWithMe'](this['_uiStateService'][_0x51faa3(0x162)]['pipe'](_0x547e9b(_0x5b1bdc=>_0x5b1bdc[_0x51faa3(0x1b9)]),_0x59f4f5(),_0x2ea6b5(),_0x129548(this[_0x51faa3(0x167)]))[_0x51faa3(0x19c)](()=>{const _0x424958=_0x51faa3;this[_0x424958(0x1a6)][_0x424958(0x135)]===_0x10f3c8['UNIVER_BOARD']&&this[_0x424958(0x1a6)][_0x424958(0x11c)]();}));}[_0x1cc9d1(0x180)](_0x57b89f,_0x47e0ac,_0x533193){const _0x197b11=_0x1cc9d1;_0x57b89f===this[_0x197b11(0x110)][_0x197b11(0x179)]&&(this['_draftService']['place']({'unitId':_0x57b89f,'subUnitId':_0x47e0ac,'anchor':{'kind':_0x8a6e67[_0x197b11(0x18e)],'pageId':_0x47e0ac,'elementId':_0x533193}}),this[_0x197b11(0x141)]['updateState']({'previewMarker':null,'previewUnderline':null}),this[_0x197b11(0x19b)]['executeCommand'](z['id'])[_0x197b11(0x118)](()=>void 0x0));}[_0x1cc9d1(0x1b3)](_0x33d454,_0x3bbb3d){const _0x49bd2d=_0x1cc9d1;if(this[_0x49bd2d(0x1a6)][_0x49bd2d(0x135)]!==_0x10f3c8['UNIVER_BOARD']||(_0x33d454[_0x49bd2d(0x1b8)]??0x0)!==0x0)return;let _0x1ee416=this['_getModel']();if(!_0x1ee416){this['_draftService']['cancel']();return;}let _0x36c5b0=_0x1ee416['getActivePageId'](),_0x1d0212=this[_0x49bd2d(0x17a)](_0x33d454[_0x49bd2d(0x126)],_0x33d454[_0x49bd2d(0x1a4)]),_0xcad7e6=this[_0x49bd2d(0x1b7)](_0x1ee416,_0x36c5b0,_0x1d0212);this['_draftService'][_0x49bd2d(0x158)]({'unitId':_0x1ee416['getUnitId'](),'subUnitId':_0x36c5b0,'anchor':_0xcad7e6?{'kind':_0x8a6e67[_0x49bd2d(0x18e)],'pageId':_0x36c5b0,'elementId':_0xcad7e6[_0x49bd2d(0x183)]}:{'kind':_0x8a6e67['BOARD_POSITION'],'pageId':_0x36c5b0,..._0x1d0212}}),this[_0x49bd2d(0x141)][_0x49bd2d(0x1bd)]({'previewMarker':null,'previewUnderline':null}),_0x3bbb3d[_0x49bd2d(0x177)](),this[_0x49bd2d(0x19b)][_0x49bd2d(0x15f)](z['id'])[_0x49bd2d(0x118)](()=>void 0x0);}[_0x1cc9d1(0x1a7)](_0x59ec82){const _0x590950=_0x1cc9d1;if(this['_draftService'][_0x590950(0x135)]!==_0x10f3c8['UNIVER_BOARD'])return;let _0x5ee5fa=this[_0x590950(0x160)]();if(!_0x5ee5fa)return;let _0x2250b1=_0x5ee5fa[_0x590950(0x14c)](),_0x12b83d=this[_0x590950(0x17a)](_0x59ec82[_0x590950(0x126)],_0x59ec82['offsetY']),_0x13a252=this['_hitTest'](_0x5ee5fa,_0x2250b1,_0x12b83d),_0xb0b003=_0x13a252?this[_0x590950(0x172)](_0x13a252[_0x590950(0x183)]):null;if(_0xb0b003){this['_overlay'][_0x590950(0x1bd)]({'previewMarker':_0x12b83d,'previewUnderline':_0xb0b003});return;}this[_0x590950(0x141)]['updateState']({'previewMarker':_0x12b83d,'previewUnderline':null});}[_0x1cc9d1(0x136)](_0x11d42d){const _0x358133=_0x1cc9d1;let _0x55c13d=this['_getModel'](),_0x1f38f5=this[_0x358133(0x141)]['hitCommentId'];!_0x55c13d||!_0x1f38f5||(this[_0x358133(0x173)][_0x358133(0x11a)]({'unitId':_0x55c13d[_0x358133(0x1b5)](),'subUnitId':_0x55c13d[_0x358133(0x14c)](),'commentId':_0x1f38f5,'trigger':_0x358133(0x19e)}),_0x11d42d['stopPropagation'](),this['_commandService']['executeCommand'](z['id'])[_0x358133(0x118)](()=>void 0x0));}['_syncOverlay'](){const _0x50869d=_0x1cc9d1;let _0x211722=this[_0x50869d(0x160)]();if(!_0x211722){this[_0x50869d(0x141)][_0x50869d(0x1bd)]({'markers':[],'underlines':[],'focusedCommentIds':[],'focusOutlines':[]});return;}let _0x71aa7=_0x211722[_0x50869d(0x14c)](),_0x1b1fe2=[],_0x353a76=new Map();this[_0x50869d(0x14a)][_0x50869d(0x1a3)]({'unitIds':[_0x211722[_0x50869d(0x1b5)]()],'subUnitIds':[_0x71aa7],'anchorKinds':[_0x8a6e67[_0x50869d(0x18e)],_0x8a6e67[_0x50869d(0x195)]],'resolved':!0x1})['forEach'](({root:_0x373c60})=>{const _0x1b8c80=_0x50869d;let _0x127356=_0x21af29(_0x373c60[_0x1b8c80(0x1be)]);if((_0x127356==null?void 0x0:_0x127356[_0x1b8c80(0x189)])===_0x8a6e67[_0x1b8c80(0x195)])_0x1b1fe2[_0x1b8c80(0x132)]({'commentId':_0x373c60['id'],'x':_0x127356['x'],'y':_0x127356['y']});else{if((_0x127356==null?void 0x0:_0x127356[_0x1b8c80(0x189)])===_0x8a6e67[_0x1b8c80(0x18e)]){let _0x50070e=this['_getElementUnderline'](_0x127356[_0x1b8c80(0x183)],_0x373c60['id']);_0x50070e&&_0x353a76['set'](_0x127356[_0x1b8c80(0x183)],_0x50070e);}}}),this['_overlay'][_0x50869d(0x1bd)]({...this['_getColors'](),'zoomRatio':this[_0x50869d(0x151)][_0x50869d(0x134)]()['zoomRatio'],'markers':Fe(_0x1b1fe2),'underlines':Array[_0x50869d(0x18b)](_0x353a76[_0x50869d(0x15b)]()),...this['_getFocusState'](_0x211722,_0x71aa7)});}['_getElementUnderline'](_0x7cc5d0,_0x42e7f4=''){const _0x35bd71=_0x1cc9d1;let _0x25589b=this['_getElementOutline'](_0x7cc5d0);if(!_0x25589b)return null;let _0x3f268f=this[_0x35bd71(0x151)][_0x35bd71(0x134)]()[_0x35bd71(0x1bb)]||0x1;return{'commentId':_0x42e7f4,'left':_0x25589b[_0x35bd71(0x152)],'top':_0x25589b['top']+_0x25589b['height']+0x2/_0x3f268f,'width':_0x25589b[_0x35bd71(0x181)]};}[_0x1cc9d1(0x11f)](_0x378f9e){const _0x413a9d=_0x1cc9d1;var _0x24d01e;let _0x5541de=this[_0x413a9d(0x160)]();if(!_0x5541de)return null;let _0x4086b6=this[_0x413a9d(0x110)][_0x413a9d(0x13c)],_0x395a28=_0x4f05fb(_0x5541de['getUnitId'](),_0x378f9e),_0xd3619e=_0x4086b6[_0x413a9d(0x1ad)](_0x395a28)??((_0x24d01e=_0x4086b6[_0x413a9d(0x112)])==null?void 0x0:_0x24d01e[_0x413a9d(0x1ab)](_0x4086b6,_0x395a28));if(!_0xd3619e)return null;let _0x4d967b=_0xd3619e['getRealBound']();return{'left':_0x4d967b[_0x413a9d(0x152)],'top':_0x4d967b[_0x413a9d(0x1bf)],'width':_0x4d967b[_0x413a9d(0x181)],'height':_0x4d967b['height']};}[_0x1cc9d1(0x119)](_0x90cc24,_0x5a7e2d){const _0x167566=_0x1cc9d1;let _0x5b9a0f=[],_0x2d3467=new Map();return[this['_panelService'][_0x167566(0x1b0)],this[_0x167566(0x173)][_0x167566(0x1b1)]][_0x167566(0x123)](_0x387028=>{const _0x31cae3=_0x167566;if(!_0x387028||_0x387028[_0x31cae3(0x179)]!==_0x90cc24['getUnitId']()||_0x387028[_0x31cae3(0x150)]!==_0x5a7e2d)return;let _0xd2012b=this[_0x31cae3(0x14a)]['getComment'](_0x387028[_0x31cae3(0x179)],_0x387028[_0x31cae3(0x150)],_0x387028['commentId']);if(!_0xd2012b)return;_0x5b9a0f[_0x31cae3(0x132)](_0x387028[_0x31cae3(0x16b)]);let _0x4b8c98=_0x21af29(_0xd2012b[_0x31cae3(0x1be)]);if((_0x4b8c98==null?void 0x0:_0x4b8c98['kind'])===_0x8a6e67[_0x31cae3(0x18e)]&&!_0x2d3467[_0x31cae3(0x11e)](_0x4b8c98['elementId'])){let _0x34dce5=this['_getElementOutline'](_0x4b8c98[_0x31cae3(0x183)]);_0x34dce5&&_0x2d3467[_0x31cae3(0x1af)](_0x4b8c98[_0x31cae3(0x183)],_0x34dce5);}}),{'focusedCommentIds':_0x5b9a0f,'focusOutlines':Array['from'](_0x2d3467['values']())};}[_0x1cc9d1(0x1b7)](_0x215e08,_0x1e9a1c,_0x4fe65c){const _0x3bf71c=_0x1cc9d1;return _0x16334e({'elementData':this[_0x3bf71c(0x127)][_0x3bf71c(0x18d)](_0x215e08['getUnitId'](),_0x1e9a1c),'elementOrder':this[_0x3bf71c(0x127)][_0x3bf71c(0x174)](_0x215e08[_0x3bf71c(0x1b5)](),_0x1e9a1c),'point':_0x4fe65c});}['_getColors'](){const _0x35afb1=_0x1cc9d1;return{'accentColor':this[_0x35afb1(0x199)][_0x35afb1(0x125)](_0x35afb1(0x11b)),'foregroundColor':this['_themeService'][_0x35afb1(0x125)](_0x35afb1(0x13d)),'outlineColor':this[_0x35afb1(0x199)][_0x35afb1(0x125)](_0x35afb1(0x19f))};}[_0x1cc9d1(0x160)](){const _0x380945=_0x1cc9d1;return this[_0x380945(0x171)][_0x380945(0x153)](this[_0x380945(0x110)]['unitId'],_0x10f3c8[_0x380945(0x12d)])??null;}[_0x1cc9d1(0x17a)](_0x4169fa,_0x31e3a1){const _0x5a143f=_0x1cc9d1;return q(_0x4169fa,_0x31e3a1,this[_0x5a143f(0x151)]['getState']());}};X=G([W(0x1,_0x42d09a),W(0x2,_0x2847f1),W(0x3,_0x482ddd),W(0x4,_0x53b437),W(0x5,_0x29352d),W(0x6,_0xd78e32(_0x177d36)),W(0x7,_0xd78e32(_0x185414)),W(0x8,_0xd78e32(_0x17e9df)),W(0x9,_0xd78e32(_0x1a97d5))],X);function Ie(_0x26e5d7){const _0x2ac0ed=_0x1cc9d1;let _0x36c818=_0x26e5d7[_0x2ac0ed(0x1b6)](_0x2847f1),_0xb137b7=_0x26e5d7[_0x2ac0ed(0x1b6)](_0x5cd736);return _0x507f93([_0x36c818['getCurrentTypeOfUnit$'](_0x10f3c8[_0x2ac0ed(0x12d)]),_0xb137b7[_0x2ac0ed(0x1a2)][_0x2ac0ed(0x15e)](_0x32033d(void 0x0))])['pipe'](_0x547e9b(([_0x5d5a06])=>!_0x5d5a06||!_0x23e457(_0xb137b7,_0x5d5a06['getUnitId'](),_0x5d5a06[_0x2ac0ed(0x1b5)](),_0x23cd02[_0x2ac0ed(0x163)])));}function Z(_0x127621){const _0x5627e9=_0x1cc9d1;return{'id':V['id'],'type':_0xc2a448[_0x5627e9(0x14d)],'icon':_0x5627e9(0x12a),'title':_0x5627e9(0x1ba),'tooltip':_0x5627e9(0x1ba),'hidden$':_0x430e4b(_0x127621,_0x10f3c8['UNIVER_BOARD']),'disabled$':Ie(_0x127621)};}const Le={[_0x3b48f8[_0x1cc9d1(0x139)]]:{[_0x280b77[_0x1cc9d1(0x16a)]]:{[V['id']]:{'order':0x0,'menuItemFactory':Z}}},[_0x3b48f8[_0x1cc9d1(0x120)]]:{[_0x280b77[_0x1cc9d1(0x16a)]]:{[V['id']]:{'order':0x0,'menuItemFactory':Z}}},[_0x2fa65d[_0x1cc9d1(0x169)]]:{[V['id']]:{'order':0xa,'menuItemFactory':Z}}};let Q=class extends _0x557df4{constructor(_0x34f134,_0x4cdb48,_0x5c4966,_0x38389e,_0x3ef83b,_0x3dc766){const _0x313f91=_0x1cc9d1;super(),[V,z,B]['forEach'](_0x212e8e=>this[_0x313f91(0x15d)](_0x34f134['registerCommand'](_0x212e8e))),_0x4cdb48[_0x313f91(0x1a5)](Le),this[_0x313f91(0x15d)](_0x5c4966[_0x313f91(0x154)]({'id':_0x313f91(0x1b4),'icon':_0x1a39a3,'label':()=>_0x38389e['t'](_0x313f91(0x1ba)),'order':0x64,'group':_0x313f91(0x17b),'placement':_0x313f91(0x1a1),'enabled':()=>{const _0x1e410c=_0x313f91;let _0x3e1a15=_0x3dc766[_0x1e410c(0x140)](_0x10f3c8[_0x1e410c(0x12d)]);return!!_0x3e1a15&&_0x23e457(_0x3ef83b,_0x3e1a15['getUnitId'](),_0x3e1a15['getUnitId'](),_0x23cd02[_0x1e410c(0x163)]);},'onClick':async _0x4ac9f3=>{const _0x26590e=_0x313f91;await _0x4ac9f3[_0x26590e(0x15f)](V['id']);}})),this[_0x313f91(0x15d)](_0x5c4966[_0x313f91(0x154)]({'id':_0x313f91(0x13f),'availableInViewing':!0x0,'icon':_0x1a39a3,'label':()=>_0x38389e['t'](_0x313f91(0x128)),'order':0x64,'group':_0x313f91(0x17b),'placement':_0x313f91(0x165),'menuItemId':z['id'],'onClick':async _0x4bfc9e=>{await _0x4bfc9e['executeCommand'](z['id']);}})),this[_0x313f91(0x15d)](_0x5c4966[_0x313f91(0x154)]({'id':_0x313f91(0x114),'availableInViewing':!0x0,'icon':_0x38ceb4,'label':()=>_0x38389e['t']('boards-thread-comment-ui.addComment'),'order':0x64,'group':'auxiliary','menuItemId':B['id'],'enabled':()=>{const _0x56a84b=_0x313f91;let _0x12fec2=_0x3dc766['getCurrentUnitOfType'](_0x10f3c8[_0x56a84b(0x12d)]);return!!_0x12fec2&&_0x23e457(_0x3ef83b,_0x12fec2[_0x56a84b(0x1b5)](),_0x12fec2['getUnitId'](),_0x23cd02[_0x56a84b(0x163)]);},'onClick':async _0x13da0c=>{const _0x24bd9c=_0x313f91;await _0x13da0c[_0x24bd9c(0x15f)](B['id']);}}));}};Q=G([W(0x0,_0x42d09a),W(0x1,_0x386dff),W(0x2,_0xd78e32(_0x3d52cf)),W(0x3,_0xd78e32(_0x15998b)),W(0x4,_0x5cd736),W(0x5,_0x2847f1)],Q);const Re=[[K],[Q]];let $=class extends _0x13361c{constructor(_0x55ffcb=U,_0x391a23,_0x868212,_0x2dca77){const _0x52aaee=_0x1cc9d1;super(),this[_0x52aaee(0x115)]=_0x55ffcb,this[_0x52aaee(0x164)]=_0x391a23,this['_configService']=_0x868212,this[_0x52aaee(0x194)]=_0x2dca77;let {..._0x180165}=_0x58e053({},U,this[_0x52aaee(0x115)]);this[_0x52aaee(0x142)][_0x52aaee(0x131)](H,_0x180165);}['onStarting'](){const _0x27521c=_0x1cc9d1;Re[_0x27521c(0x123)](_0x590d72=>{const _0x4c9f12=_0x27521c;this[_0x4c9f12(0x164)][_0x4c9f12(0x12e)](_0x590d72);}),this[_0x27521c(0x164)][_0x27521c(0x1b6)](K);}[_0x1cc9d1(0x155)](){const _0x355429=_0x1cc9d1;this[_0x355429(0x194)][_0x355429(0x138)](_0x10f3c8[_0x355429(0x12d)],[X]),this[_0x355429(0x164)][_0x355429(0x1b6)](Q);}};Y($,_0x1cc9d1(0x13e),_0x1cc9d1(0x137)),Y($,_0x1cc9d1(0x130),ke),Y($,_0x1cc9d1(0x175),Ae),Y($,_0x1cc9d1(0x121),_0x10f3c8[_0x1cc9d1(0x12d)]),$=G([_0x4c4ce1(_0x242184,_0x2e930f,_0x415883,_0x3bdb17,_0x5f21c6,_0x288653),W(0x1,_0xd78e32(_0x567b5b)),W(0x2,_0x3aaba9),W(0x3,_0x2b66b0)],$);export{H as BOARDS_THREAD_COMMENT_UI_PLUGIN_CONFIG_KEY,z as OpenBoardCommentPanelOperation,B as StartBoardCommentPlacementOperation,$ as UniverBoardsThreadCommentUIPlugin};
|
|
1
|
+
const _0x47509f=_0x56b4;(function(_0x509acf,_0x1ad25d){const _0x5ef7cc=_0x56b4,_0x4759e5=_0x509acf();while(!![]){try{const _0x33ad41=-parseInt(_0x5ef7cc(0x1bd))/0x1+parseInt(_0x5ef7cc(0x1e1))/0x2*(parseInt(_0x5ef7cc(0x1e9))/0x3)+parseInt(_0x5ef7cc(0x151))/0x4+-parseInt(_0x5ef7cc(0x16d))/0x5+-parseInt(_0x5ef7cc(0x152))/0x6*(parseInt(_0x5ef7cc(0x1f3))/0x7)+-parseInt(_0x5ef7cc(0x178))/0x8*(-parseInt(_0x5ef7cc(0x14d))/0x9)+parseInt(_0x5ef7cc(0x1ca))/0xa*(parseInt(_0x5ef7cc(0x166))/0xb);if(_0x33ad41===_0x1ad25d)break;else _0x4759e5['push'](_0x4759e5['shift']());}catch(_0x301411){_0x4759e5['push'](_0x4759e5['shift']());}}}(_0x3ace,0x90c30));import{BoardModel as _0x291335,BoardToolType as _0x107044,IBoardElementService as _0x1de8eb,UniverBoardsPlugin as _0x19b88a,getBoardPermissionValue as _0x95198}from'@univerjs-pro/boards';import{BOARD_RENDER_LAYER_INDEX as _0x43ca77,BOARD_RENDER_OBJECT_Z_INDEX as _0x5d577d,BoardElementContextMenuPosition as _0x5b289c,IBoardElementStateService as _0x252e28,IBoardToolbarContributionService as _0x274ff7,IBoardUIStateService as _0x29e1b0,UniverBoardsMobileUIPlugin as _0x4cd172,UniverBoardsUIPlugin as _0x17c250,getBoardElementRenderObjectKey as _0x8a90d7,hitTestBoardElementAtPoint as _0xb9cc6b}from'@univerjs-pro/boards-ui';import{CommandType as _0x3fe98b,DependentOn as _0x69a536,Disposable as _0x15b478,ICommandService as _0x1c34fd,IConfigService as _0x59f68e,IPermissionService as _0x29d7d1,IUniverInstanceService as _0x47b642,Inject as _0xcb4e6f,Injector as _0x1e26e0,LocaleService as _0x5e980f,Plugin as _0x266a57,RxDisposable as _0x3a68eb,ThemeService as _0x311e43,UniverInstanceType as _0x5d1928,UserManagerService as _0x2c9c1e,merge as _0x8689f4,toDisposable as _0x55b583}from'@univerjs/core';import{UnitAction as _0x43ce22}from'@univerjs/protocol';import{ThreadCommentAnchorKind as _0x5c4e0d,ThreadCommentModel as _0x232790,deserializeThreadCommentAnchor as _0x41da8c,serializeThreadCommentAnchor as _0x39a809}from'@univerjs/thread-comment';import{MobileThreadCommentPanel as _0x3e2323,ThreadCommentCanvasOverlay as _0x23b221,ThreadCommentDraftService as _0x45c209,ThreadCommentPanel as _0x45e695,ThreadCommentPanelService as _0x2a2e74,UniverThreadCommentMobileUIPlugin as _0x204d40,UniverThreadCommentUIPlugin as _0x101539}from'@univerjs/thread-comment-ui';import{ComponentManager as _0xe3a787,ContextMenuGroup as _0x5ca4ea,FloatingObjectToolbarPosition as _0x4fd9e7,IMenuManagerService as _0x56deac,ISidebarService as _0x54dfbd,IconManager as _0x59ca1b,MenuItemType as _0x270b14,getMenuHiddenObservable as _0x27b49b,useDependency as _0x19d43c,useObservable as _0x3ef2b5}from'@univerjs/ui';import{UniverBoardsThreadCommentPlugin as _0x3fbc38}from'@univerjs-pro/boards-thread-comment';import{UniverLicensePlugin as _0x31e829}from'@univerjs-pro/license';import{IRenderManagerService as _0x3c1600,UniverRenderEnginePlugin as _0x16b691}from'@univerjs/engine-render';import{CommentIcon as _0x2e388c,InsertCommentDoubleIcon as _0x5e952b}from'@univerjs/icons';import{useMemo as _0x102881}from'react';import{combineLatest as _0x42c384,distinctUntilChanged as _0x3ca0f6,map as _0x4d54d5,of as _0x10a2a9,pairwise as _0x4f04ab,startWith as _0x2e4c54,takeUntil as _0x358c31}from'rxjs';import{jsx as _0xf23f49}from'react/jsx-runtime';const L=_0x47509f(0x163),Me='UNIVER_BOARDS_THREAD_COMMENT_UI_PLUGIN';function Ne(_0x36b2ed){const _0x5c7d43=_0x47509f;let _0x9f9949=_0x36b2ed[_0x5c7d43(0x1bb)](_0x2a2e74);_0x36b2ed[_0x5c7d43(0x1bb)](_0x54dfbd)[_0x5c7d43(0x1d6)]({'header':{'title':_0x5c7d43(0x1da)},'children':{'label':L},'width':0x140,'onClose':()=>_0x9f9949[_0x5c7d43(0x1e8)](!0x1)}),_0x9f9949['setPanelVisible'](!0x0);}function _0x3ace(){const _0x10a0a2=['draft','open','toPrimitive','boards-thread-comment-ui.top-right.open-comments','executeCommand','boards-thread-comment-ui.addComment','getActivePageId','registerRenderModule','gray.900','trim','_placeElement','packageName','1571810goxAWc','setConfig','disposeWithMe','OTHERS','getObject','_getModel','_listenToolSwitch','setPanelVisible','3yNVLRQ','context','getElementData','commentUpdate$','_configService','set','_themeService','_onOverlayPointerDown','auxiliary','type','172249zAdRQP','height','_onPointerDown','pipe','scene','pluginName','string','elementRemove$','boards-thread-comment-ui.toolbar.add-comment','ELEMENT','elementId','permissionPointUpdate$','27QvuqnN','focusedId','placementType','_commentModel','3445756eZKnUv','258BtGYtg','_iconManager','updateState','_elementStateService','_config','anchor','prototype','constructor','getUnitId','values','board-thread-comment-overlay','forEach','add','some','_uiStateService','registerCommand','board.operation.open-comment-panel','univer.board.thread-comment-panel','currentTheme$','version','1628FIntni','unitId','from','button','getCurrentUnitOfType','UNIVER_BOARD','getOwnPropertyDescriptor','4502365IlswwT','commentId','getElementById','boards-thread-comment-ui.config','BOARD_POSITION','count','yellow.400','top-right-before-history','SELECTION','left','1.0.0','400296FghMyF','getSnapshot','_elementService','getElementOrder','defineProperty','_draftService','_panelService','_commandService','getPage','_renderContext','commentIds','ref','Comment','_registerIcons','_registerComponents','catch','default','getUnit','top','state$','element','overlay','elementUpdate$','OPERATION','onStarting','kind','place','hitCommentId','_getElementOutline','selectedIds','cancel','function','name','stopPropagation','board-canvas','boards-thread-comment-ui.openComments','_getDependencies','subUnitId','decorate','_onPointerMove','_toBoardPoint','register','userID','Select','draft$','BOARD_ELEMENT','_injector','offsetX','length','activeCommentId','offsetY','_getElementUnderline','subscribe','getCurrentTypeOfUnit$','onRendered','@univerjs-pro/boards-thread-comment-ui','pageId','_getColors','InsertCommentDoubleIcon','dispose$','hoveredCommentId$','round','push','hoveredCommentId','width','_hitTest','elementAdd$','get','transientNavigation','713209lXSivc','_overlay','clearHover','placementType$','object','onPointerLeave$','getCurrentUser','subscribeEvent','getObjectIncludeInGroup','startPlacement','_syncOverlay','call','_getFocusState','99140vhkayO','getState','_componentManager','_renderManagerService','getComment','BOARD','getColorFromTheme','view-selection','viewportPanOffset','symbol','zoomRatio'];_0x3ace=function(){return _0x10a0a2;};return _0x3ace();}const R={'id':_0x47509f(0x162),'type':_0x3fe98b[_0x47509f(0x18f)],'handler'(_0x1a240b){return Ne(_0x1a240b),!0x0;}},z={'id':'board.operation.start-comment-placement','type':_0x3fe98b[_0x47509f(0x18f)],'handler'(_0xa403b8){const _0x5a3aaa=_0x47509f;let _0x1b717e=_0xa403b8[_0x5a3aaa(0x1bb)](_0x47b642)[_0x5a3aaa(0x16a)](_0x5d1928[_0x5a3aaa(0x16b)]);return!_0x1b717e||!_0x95198(_0xa403b8[_0x5a3aaa(0x1bb)](_0x29d7d1),_0x1b717e[_0x5a3aaa(0x15a)](),_0x1b717e[_0x5a3aaa(0x15a)](),_0x43ce22['Comment'])?!0x1:(_0xa403b8[_0x5a3aaa(0x1bb)](_0x29e1b0)['setActiveTool'](_0x107044[_0x5a3aaa(0x1a3)]),_0xa403b8[_0x5a3aaa(0x1bb)](_0x45c209)[_0x5a3aaa(0x1c6)](_0x5d1928[_0x5a3aaa(0x16b)],_0x1b717e[_0x5a3aaa(0x15a)]()),!0x0);}},B={'id':'board.operation.add-element-comment','type':_0x3fe98b[_0x47509f(0x18f)],'handler'(_0x241179){const _0x21b6ff=_0x47509f;var _0x444a7d;let _0x2cbae1=_0x241179['get'](_0x47b642)[_0x21b6ff(0x16a)](_0x5d1928[_0x21b6ff(0x16b)]),_0x130a8b=_0x241179['get'](_0x252e28)[_0x21b6ff(0x179)](),_0x2c9cc6=_0x2cbae1==null?void 0x0:_0x2cbae1[_0x21b6ff(0x1db)](),_0x59c7bd=_0x130a8b[_0x21b6ff(0x14e)]??_0x130a8b[_0x21b6ff(0x195)][_0x130a8b[_0x21b6ff(0x195)][_0x21b6ff(0x1a8)]-0x1];return!_0x2cbae1||!_0x2c9cc6||!_0x59c7bd||((_0x444a7d=_0x130a8b['context'])==null?void 0x0:_0x444a7d['unitId'])!==_0x2cbae1[_0x21b6ff(0x15a)]()||_0x130a8b[_0x21b6ff(0x1ea)][_0x21b6ff(0x19d)]!==_0x2c9cc6||!_0x95198(_0x241179[_0x21b6ff(0x1bb)](_0x29d7d1),_0x2cbae1[_0x21b6ff(0x15a)](),_0x2cbae1[_0x21b6ff(0x15a)](),_0x43ce22[_0x21b6ff(0x184)])?!0x1:(_0x241179['get'](_0x45c209)[_0x21b6ff(0x192)]({'unitId':_0x2cbae1['getUnitId'](),'subUnitId':_0x2c9cc6,'anchor':{'kind':_0x5c4e0d[_0x21b6ff(0x1a5)],'pageId':_0x2c9cc6,'elementId':_0x59c7bd}}),Ne(_0x241179),!0x0);}},V=_0x47509f(0x170),H={};var Pe=_0x47509f(0x1af),Fe=_0x47509f(0x177);function Ie(){const _0x449b68=_0x47509f;let _0x21a899=_0x19d43c(_0x47b642),_0x402389=_0x19d43c(_0x54dfbd),_0x4b120c=_0x19d43c(_0x1c34fd),_0x2f7ad5=_0x19d43c(_0x45c209),_0x3347d2=_0x19d43c(_0x2c9c1e),_0x3f04b9=_0x19d43c(_0x1de8eb),_0x258a5b=_0x21a899[_0x449b68(0x16a)](_0x5d1928[_0x449b68(0x16b)]),_0x29846a=_0x258a5b instanceof _0x291335?_0x258a5b:void 0x0,_0x1ecfb4=_0x19d43c(_0x29d7d1);_0x3ef2b5(()=>_0x1ecfb4[_0x449b68(0x14c)],void 0x0,!0x1,[_0x1ecfb4]);let _0x3cecd5=_0x3ef2b5(_0x2f7ad5[_0x449b68(0x1a4)],_0x2f7ad5[_0x449b68(0x1d5)]),_0x192a65=_0x102881(()=>_0x10a2a9(_0x29846a==null?void 0x0:_0x29846a[_0x449b68(0x1db)]()),[_0x29846a]),_0x34537c=_0x3cecd5&&_0x3cecd5[_0x449b68(0x167)]===(_0x29846a==null?void 0x0:_0x29846a[_0x449b68(0x15a)]())?{'id':'','threadId':'','unitId':_0x3cecd5[_0x449b68(0x167)],'subUnitId':_0x3cecd5[_0x449b68(0x19d)],'ref':_0x39a809(_0x3cecd5[_0x449b68(0x157)]),'dT':'','personId':_0x3347d2['getCurrentUser']()[_0x449b68(0x1a2)],'text':{'dataStream':'\x0d\x0a'}}:null;if(!_0x29846a)return null;let _0x4e9568=!_0x95198(_0x1ecfb4,_0x29846a[_0x449b68(0x15a)](),_0x29846a[_0x449b68(0x15a)](),_0x43ce22[_0x449b68(0x184)]);return _0xf23f49(_0x3e2323,{'unitId':_0x29846a['getUnitId'](),'subUnitId$':_0x192a65,'type':_0x5d1928['UNIVER_BOARD'],'onAdd':()=>(_0x402389['close'](),_0x4b120c['executeCommand'](z['id'])),'disableAdd':_0x4e9568,'getSubUnitName':_0x17eb58=>{const _0x2f31f1=_0x449b68;var _0x297961;return((_0x297961=_0x29846a[_0x2f31f1(0x180)](_0x17eb58))==null?void 0x0:_0x297961[_0x2f31f1(0x198)])??_0x17eb58;},'tempComment':_0x34537c,'onTempCommentClose':()=>_0x2f7ad5[_0x449b68(0x196)](),'formatRef':_0x5e4084=>Le(_0x5e4084,_0x3f04b9)});}function Le(_0x2b7b2d,_0x23295b){const _0x4693e9=_0x47509f;let _0x388577=_0x41da8c(_0x2b7b2d[_0x4693e9(0x183)]);if((_0x388577==null?void 0x0:_0x388577[_0x4693e9(0x191)])===_0x5c4e0d[_0x4693e9(0x1a5)]){var _0x10ac85;let _0x3b020d=_0x23295b[_0x4693e9(0x16f)](_0x2b7b2d[_0x4693e9(0x167)],_0x388577[_0x4693e9(0x1b0)]??_0x2b7b2d[_0x4693e9(0x19d)],_0x388577['elementId']);return(_0x3b020d==null||(_0x10ac85=_0x3b020d[_0x4693e9(0x18c)][_0x4693e9(0x198)])==null?void 0x0:_0x10ac85[_0x4693e9(0x1de)]())||_0x388577[_0x4693e9(0x14b)];}return(_0x388577==null?void 0x0:_0x388577[_0x4693e9(0x191)])===_0x5c4e0d['BOARD_POSITION']?'('+Math[_0x4693e9(0x1b5)](_0x388577['x'])+',\x20'+Math[_0x4693e9(0x1b5)](_0x388577['y'])+')':_0x2b7b2d[_0x4693e9(0x183)];}function U(_0x1ecf6c,_0x56358f){return function(_0x4f8ab0,_0x13ccf3){_0x56358f(_0x4f8ab0,_0x13ccf3,_0x1ecf6c);};}function W(_0x446517,_0x58404b,_0x43f1b1,_0x572d16){const _0x52921e=_0x47509f;var _0x3eb889=arguments[_0x52921e(0x1a8)],_0x344b1d=_0x3eb889<0x3?_0x58404b:_0x572d16===null?_0x572d16=Object[_0x52921e(0x16c)](_0x58404b,_0x43f1b1):_0x572d16,_0x283ac1;if(typeof Reflect==_0x52921e(0x1c1)&&typeof Reflect[_0x52921e(0x19e)]==_0x52921e(0x197))_0x344b1d=Reflect[_0x52921e(0x19e)](_0x446517,_0x58404b,_0x43f1b1,_0x572d16);else{for(var _0x2876cf=_0x446517[_0x52921e(0x1a8)]-0x1;_0x2876cf>=0x0;_0x2876cf--)(_0x283ac1=_0x446517[_0x2876cf])&&(_0x344b1d=(_0x3eb889<0x3?_0x283ac1(_0x344b1d):_0x3eb889>0x3?_0x283ac1(_0x58404b,_0x43f1b1,_0x344b1d):_0x283ac1(_0x58404b,_0x43f1b1))||_0x344b1d);}return _0x3eb889>0x3&&_0x344b1d&&Object[_0x52921e(0x17c)](_0x58404b,_0x43f1b1,_0x344b1d),_0x344b1d;}let G=class extends _0x15b478{constructor(_0x549e24,_0x4b43f1){const _0x4fcc66=_0x47509f;super(),this[_0x4fcc66(0x1cc)]=_0x549e24,this['_iconManager']=_0x4b43f1,this[_0x4fcc66(0x185)](),this[_0x4fcc66(0x186)]();}[_0x47509f(0x185)](){const _0x5055e4=_0x47509f;this[_0x5055e4(0x1e3)](this[_0x5055e4(0x153)][_0x5055e4(0x1a1)]({'InsertCommentDoubleIcon':_0x5e952b}));}[_0x47509f(0x186)](){const _0xcdff1c=_0x47509f;this[_0xcdff1c(0x1e3)](this[_0xcdff1c(0x1cc)][_0xcdff1c(0x1a1)](L,Ie));}};G=W([U(0x0,_0xcb4e6f(_0xe3a787)),U(0x1,_0xcb4e6f(_0x59ca1b))],G);function Re(_0x4986d2,_0x3870e9,_0x5024be){const _0x7e36ca=_0x47509f;let _0x382105=Number['isFinite'](_0x5024be['zoomRatio'])&&_0x5024be[_0x7e36ca(0x1d4)]>0x0?_0x5024be[_0x7e36ca(0x1d4)]:0x1;return{'x':(_0x4986d2-_0x5024be[_0x7e36ca(0x1d2)]['x'])/_0x382105,'y':(_0x3870e9-_0x5024be[_0x7e36ca(0x1d2)]['y'])/_0x382105};}function K(_0x543eb3){'@babel/helpers - typeof';const _0x19a7ff=_0x47509f;return K=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x19a7ff(0x1d3)?function(_0x25f140){return typeof _0x25f140;}:function(_0x1a5f4e){const _0x36158a=_0x19a7ff;return _0x1a5f4e&&typeof Symbol=='function'&&_0x1a5f4e[_0x36158a(0x159)]===Symbol&&_0x1a5f4e!==Symbol[_0x36158a(0x158)]?'symbol':typeof _0x1a5f4e;},K(_0x543eb3);}function ze(_0x1c164a,_0x1fd861){const _0x20f059=_0x47509f;if(K(_0x1c164a)!=_0x20f059(0x1c1)||!_0x1c164a)return _0x1c164a;var _0x3e8fe7=_0x1c164a[Symbol[_0x20f059(0x1d7)]];if(_0x3e8fe7!==void 0x0){var _0x4681db=_0x3e8fe7[_0x20f059(0x1c8)](_0x1c164a,_0x1fd861||_0x20f059(0x188));if(K(_0x4681db)!=_0x20f059(0x1c1))return _0x4681db;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1fd861===_0x20f059(0x1f9)?String:Number)(_0x1c164a);}function Be(_0x18c0f4){const _0x512bab=_0x47509f;var _0x1627f6=ze(_0x18c0f4,'string');return K(_0x1627f6)==_0x512bab(0x1d3)?_0x1627f6:_0x1627f6+'';}function q(_0x32d047,_0x20d808,_0x33427d){const _0xb61d39=_0x47509f;return(_0x20d808=Be(_0x20d808))in _0x32d047?Object[_0xb61d39(0x17c)](_0x32d047,_0x20d808,{'value':_0x33427d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x32d047[_0x20d808]=_0x33427d,_0x32d047;}function Ve(_0x22a2c8){const _0x1f9b8b=_0x47509f;let _0x3cdde3=new Map();return _0x22a2c8['forEach'](_0x3c6154=>{const _0x42c542=_0x56b4;let _0xc546c=_0x3c6154['x']+'\x00'+_0x3c6154['y'],_0x57f329=_0x3cdde3[_0x42c542(0x1bb)](_0xc546c);if(_0x57f329){_0x57f329['commentId']=_0x3c6154[_0x42c542(0x16e)],_0x57f329[_0x42c542(0x182)][_0x42c542(0x1b6)](_0x3c6154[_0x42c542(0x16e)]),_0x57f329[_0x42c542(0x172)]+=0x1;return;}_0x3cdde3[_0x42c542(0x1ee)](_0xc546c,{..._0x3c6154,'commentIds':[_0x3c6154[_0x42c542(0x16e)]],'count':0x1});}),Array[_0x1f9b8b(0x168)](_0x3cdde3['values']());}let J=class extends _0x3a68eb{constructor(_0x5a7cca,_0x4a43bb,_0x1bd411,_0x451461,_0x471945,_0x254aa1,_0x30c328,_0x55815f,_0x59f9c7,_0x182354){const _0x59a8c1=_0x47509f;super(),this[_0x59a8c1(0x181)]=_0x5a7cca,this[_0x59a8c1(0x17f)]=_0x4a43bb,this['_instanceService']=_0x1bd411,this[_0x59a8c1(0x17a)]=_0x451461,this['_elementStateService']=_0x471945,this[_0x59a8c1(0x160)]=_0x254aa1,this['_draftService']=_0x30c328,this[_0x59a8c1(0x150)]=_0x55815f,this['_panelService']=_0x59f9c7,this[_0x59a8c1(0x1ef)]=_0x182354,q(this,'_overlay',void 0x0),this[_0x59a8c1(0x1be)]=new _0x23b221(_0x59a8c1(0x15c),{...this[_0x59a8c1(0x1b1)](),'zoomRatio':0x1,'markers':[],'underlines':[]}),this[_0x59a8c1(0x1be)]['zIndex']=_0x5d577d[_0x59a8c1(0x1bc)]+0x1,this[_0x59a8c1(0x181)][_0x59a8c1(0x1f7)]['addObject'](this[_0x59a8c1(0x1be)],_0x43ca77[_0x59a8c1(0x18d)]),this[_0x59a8c1(0x1e3)](_0x55b583(this['_overlay']['onPointerDown$'][_0x59a8c1(0x1c4)]((_0xd25105,_0x1d619a)=>this[_0x59a8c1(0x1f0)](_0x1d619a)))),this[_0x59a8c1(0x1e3)](_0x55b583(this[_0x59a8c1(0x1be)][_0x59a8c1(0x1c2)][_0x59a8c1(0x1c4)](()=>this['_overlay'][_0x59a8c1(0x1bf)]()))),this[_0x59a8c1(0x1e3)](_0x55b583(this[_0x59a8c1(0x181)]['scene']['onPointerDown$'][_0x59a8c1(0x1c4)]((_0xebfef2,_0x2626e1)=>this[_0x59a8c1(0x1f5)](_0xebfef2,_0x2626e1)))),this[_0x59a8c1(0x1e3)](_0x55b583(this[_0x59a8c1(0x181)][_0x59a8c1(0x1f7)]['onPointerMove$']['subscribeEvent'](_0x3a321f=>this[_0x59a8c1(0x19f)](_0x3a321f)))),this[_0x59a8c1(0x1e3)](_0x55b583(this[_0x59a8c1(0x155)][_0x59a8c1(0x18b)][_0x59a8c1(0x1f6)](_0x4f04ab(),_0x358c31(this[_0x59a8c1(0x1b3)]))[_0x59a8c1(0x1ac)](([_0x18e492,_0x3426ac])=>{const _0xdce4ed=_0x59a8c1;var _0x3c0678;this[_0xdce4ed(0x17d)][_0xdce4ed(0x14f)]===_0x5d1928['UNIVER_BOARD']&&_0x3426ac['focusedId']&&_0x3426ac[_0xdce4ed(0x1ea)]&&(_0x18e492[_0xdce4ed(0x14e)]!==_0x3426ac[_0xdce4ed(0x14e)]||((_0x3c0678=_0x18e492['context'])==null?void 0x0:_0x3c0678[_0xdce4ed(0x167)])!==_0x3426ac[_0xdce4ed(0x1ea)][_0xdce4ed(0x167)]||_0x18e492['context'][_0xdce4ed(0x19d)]!==_0x3426ac[_0xdce4ed(0x1ea)][_0xdce4ed(0x19d)])&&this[_0xdce4ed(0x1df)](_0x3426ac[_0xdce4ed(0x1ea)]['unitId'],_0x3426ac[_0xdce4ed(0x1ea)][_0xdce4ed(0x19d)],_0x3426ac['focusedId']);}))),this[_0x59a8c1(0x1e3)](this[_0x59a8c1(0x150)][_0x59a8c1(0x1ec)]['pipe'](_0x358c31(this['dispose$']))['subscribe'](_0x5e1071=>{const _0x2fb2b6=_0x59a8c1;_0x5e1071[_0x2fb2b6(0x167)]===this[_0x2fb2b6(0x181)][_0x2fb2b6(0x167)]&&this['_syncOverlay']();})),[this[_0x59a8c1(0x17e)]['activeCommentId$'],this[_0x59a8c1(0x17e)][_0x59a8c1(0x1b4)]][_0x59a8c1(0x15d)](_0xf53fe6=>{const _0x58876a=_0x59a8c1;this['disposeWithMe'](_0xf53fe6[_0x58876a(0x1f6)](_0x358c31(this['dispose$']))[_0x58876a(0x1ac)](()=>this[_0x58876a(0x1c7)]()));}),[this['_elementService'][_0x59a8c1(0x1ba)],this[_0x59a8c1(0x17a)][_0x59a8c1(0x18e)],this[_0x59a8c1(0x17a)][_0x59a8c1(0x1fa)]][_0x59a8c1(0x15d)](_0x3d58b8=>{const _0x4c07e7=_0x59a8c1;this[_0x4c07e7(0x1e3)](_0x3d58b8[_0x4c07e7(0x1f6)](_0x358c31(this[_0x4c07e7(0x1b3)]))[_0x4c07e7(0x1ac)](_0x32a1e2=>{const _0x2523e7=_0x4c07e7;_0x32a1e2[_0x2523e7(0x15f)](_0x1a281e=>_0x1a281e[_0x2523e7(0x167)]===this[_0x2523e7(0x181)]['unitId'])&&this[_0x2523e7(0x1c7)]();}));}),this[_0x59a8c1(0x1e3)](this['_uiStateService'][_0x59a8c1(0x18b)][_0x59a8c1(0x1f6)](_0x3ca0f6((_0x5d9088,_0x17156d)=>_0x5d9088[_0x59a8c1(0x1d4)]===_0x17156d[_0x59a8c1(0x1d4)]),_0x358c31(this[_0x59a8c1(0x1b3)]))[_0x59a8c1(0x1ac)](()=>this[_0x59a8c1(0x1c7)]())),this[_0x59a8c1(0x1e7)](),this[_0x59a8c1(0x1e3)](this[_0x59a8c1(0x17d)][_0x59a8c1(0x1c0)]['pipe'](_0x358c31(this[_0x59a8c1(0x1b3)]))[_0x59a8c1(0x1ac)](_0x503735=>{const _0x3aead7=_0x59a8c1;_0x503735!==_0x5d1928['UNIVER_BOARD']&&this[_0x3aead7(0x1be)][_0x3aead7(0x154)]({'previewMarker':null,'previewUnderline':null});})),this[_0x59a8c1(0x1e3)](this[_0x59a8c1(0x1ef)][_0x59a8c1(0x164)][_0x59a8c1(0x1f6)](_0x358c31(this[_0x59a8c1(0x1b3)]))['subscribe'](()=>this[_0x59a8c1(0x1c7)]())),this[_0x59a8c1(0x1c7)]();}['_listenToolSwitch'](){const _0x35982c=_0x47509f;this[_0x35982c(0x1e3)](this['_uiStateService'][_0x35982c(0x18b)]['pipe'](_0x4d54d5(_0x474642=>_0x474642['activeTool']),_0x3ca0f6(),_0x4f04ab(),_0x358c31(this[_0x35982c(0x1b3)]))[_0x35982c(0x1ac)](()=>{const _0x25d850=_0x35982c;this[_0x25d850(0x17d)]['placementType']===_0x5d1928[_0x25d850(0x16b)]&&this[_0x25d850(0x17d)][_0x25d850(0x196)]();}));}[_0x47509f(0x1df)](_0x4f7095,_0x439f3a,_0x5c4e57){const _0x349003=_0x47509f;_0x4f7095===this[_0x349003(0x181)][_0x349003(0x167)]&&(this[_0x349003(0x17d)][_0x349003(0x192)]({'unitId':_0x4f7095,'subUnitId':_0x439f3a,'anchor':{'kind':_0x5c4e0d[_0x349003(0x1a5)],'pageId':_0x439f3a,'elementId':_0x5c4e57}}),this[_0x349003(0x1be)][_0x349003(0x154)]({'previewMarker':null,'previewUnderline':null}),this['_commandService'][_0x349003(0x1d9)](R['id'])[_0x349003(0x187)](()=>void 0x0));}[_0x47509f(0x1f5)](_0x2e5584,_0x3a634f){const _0x52f7cb=_0x47509f;if(this[_0x52f7cb(0x17d)][_0x52f7cb(0x14f)]!==_0x5d1928[_0x52f7cb(0x16b)]||(_0x2e5584[_0x52f7cb(0x169)]??0x0)!==0x0)return;let _0x330cc7=this[_0x52f7cb(0x1e6)]();if(!_0x330cc7){this[_0x52f7cb(0x17d)][_0x52f7cb(0x196)]();return;}let _0x481b25=_0x330cc7[_0x52f7cb(0x1db)](),_0xd14356=this[_0x52f7cb(0x1a0)](_0x2e5584[_0x52f7cb(0x1a7)],_0x2e5584[_0x52f7cb(0x1aa)]),_0x3d513e=this['_hitTest'](_0x330cc7,_0x481b25,_0xd14356);this[_0x52f7cb(0x17d)][_0x52f7cb(0x192)]({'unitId':_0x330cc7[_0x52f7cb(0x15a)](),'subUnitId':_0x481b25,'anchor':_0x3d513e?{'kind':_0x5c4e0d[_0x52f7cb(0x1a5)],'pageId':_0x481b25,'elementId':_0x3d513e[_0x52f7cb(0x14b)]}:{'kind':_0x5c4e0d[_0x52f7cb(0x171)],'pageId':_0x481b25,..._0xd14356}}),this[_0x52f7cb(0x1be)][_0x52f7cb(0x154)]({'previewMarker':null,'previewUnderline':null}),_0x3a634f[_0x52f7cb(0x199)](),this['_commandService']['executeCommand'](R['id'])[_0x52f7cb(0x187)](()=>void 0x0);}[_0x47509f(0x19f)](_0x17f239){const _0x441e3b=_0x47509f;if(this[_0x441e3b(0x17d)]['placementType']!==_0x5d1928[_0x441e3b(0x16b)])return;let _0x2a0ca8=this[_0x441e3b(0x1e6)]();if(!_0x2a0ca8)return;let _0x2f75c4=_0x2a0ca8[_0x441e3b(0x1db)](),_0x4a3a3c=this['_toBoardPoint'](_0x17f239[_0x441e3b(0x1a7)],_0x17f239[_0x441e3b(0x1aa)]),_0xd214eb=this[_0x441e3b(0x1b9)](_0x2a0ca8,_0x2f75c4,_0x4a3a3c),_0x314473=_0xd214eb?this['_getElementUnderline'](_0xd214eb['elementId']):null;if(_0x314473){this['_overlay'][_0x441e3b(0x154)]({'previewMarker':_0x4a3a3c,'previewUnderline':_0x314473});return;}this[_0x441e3b(0x1be)][_0x441e3b(0x154)]({'previewMarker':_0x4a3a3c,'previewUnderline':null});}[_0x47509f(0x1f0)](_0x593fe2){const _0x355ed6=_0x47509f;let _0x11680b=this[_0x355ed6(0x1e6)](),_0x12e02a=this['_overlay'][_0x355ed6(0x193)];_0x11680b&&_0x12e02a&&(this[_0x355ed6(0x17e)]['setActiveComment']({'unitId':_0x11680b[_0x355ed6(0x15a)](),'subUnitId':_0x11680b[_0x355ed6(0x1db)](),'commentId':_0x12e02a,'trigger':_0x355ed6(0x19a)}),_0x593fe2[_0x355ed6(0x199)](),this[_0x355ed6(0x17f)][_0x355ed6(0x1d9)](R['id'])[_0x355ed6(0x187)](()=>void 0x0));}[_0x47509f(0x1c7)](){const _0xf8c776=_0x47509f;let _0x465d37=this[_0xf8c776(0x1e6)]();if(!_0x465d37){this[_0xf8c776(0x1be)]['updateState']({'markers':[],'underlines':[],'focusedCommentIds':[],'focusOutlines':[]});return;}let _0x30e967=_0x465d37[_0xf8c776(0x1db)](),_0x61e7e=[],_0x1e9fe7=new Map();this[_0xf8c776(0x150)]['query']({'unitIds':[_0x465d37['getUnitId']()],'subUnitIds':[_0x30e967],'anchorKinds':[_0x5c4e0d[_0xf8c776(0x1a5)],_0x5c4e0d['BOARD_POSITION']],'resolved':!0x1})[_0xf8c776(0x15d)](({root:_0x179120})=>{const _0x56aebb=_0xf8c776;let _0x4fce87=_0x41da8c(_0x179120['ref']);if((_0x4fce87==null?void 0x0:_0x4fce87[_0x56aebb(0x191)])===_0x5c4e0d[_0x56aebb(0x171)])_0x61e7e[_0x56aebb(0x1b6)]({'commentId':_0x179120['id'],'x':_0x4fce87['x'],'y':_0x4fce87['y']});else{if((_0x4fce87==null?void 0x0:_0x4fce87[_0x56aebb(0x191)])===_0x5c4e0d[_0x56aebb(0x1a5)]){let _0x1c160e=this[_0x56aebb(0x1ab)](_0x4fce87['elementId'],_0x179120['id']);_0x1c160e&&_0x1e9fe7[_0x56aebb(0x1ee)](_0x4fce87[_0x56aebb(0x14b)],_0x1c160e);}}}),this['_overlay'][_0xf8c776(0x154)]({...this[_0xf8c776(0x1b1)](),'zoomRatio':this[_0xf8c776(0x160)][_0xf8c776(0x1cb)]()['zoomRatio'],'markers':Ve(_0x61e7e),'underlines':Array[_0xf8c776(0x168)](_0x1e9fe7[_0xf8c776(0x15b)]()),...this[_0xf8c776(0x1c9)](_0x465d37,_0x30e967)});}[_0x47509f(0x1ab)](_0x2b3fbb,_0x6f2bc9=''){const _0x3a3eff=_0x47509f;let _0x1d5a56=this['_getElementOutline'](_0x2b3fbb);if(!_0x1d5a56)return null;let _0x791c03=this[_0x3a3eff(0x160)][_0x3a3eff(0x1cb)]()['zoomRatio']||0x1;return{'commentId':_0x6f2bc9,'left':_0x1d5a56['left'],'top':_0x1d5a56[_0x3a3eff(0x18a)]+_0x1d5a56[_0x3a3eff(0x1f4)]+0x2/_0x791c03,'width':_0x1d5a56[_0x3a3eff(0x1b8)]};}[_0x47509f(0x194)](_0x4cdf6d){const _0x203ef7=_0x47509f;var _0x1b67dc;let _0x24e367=this[_0x203ef7(0x1e6)]();if(!_0x24e367)return null;let _0x338cac=this[_0x203ef7(0x181)][_0x203ef7(0x1f7)],_0x148c07=_0x8a90d7(_0x24e367[_0x203ef7(0x15a)](),_0x4cdf6d),_0x3b5dc1=_0x338cac[_0x203ef7(0x1e5)](_0x148c07)??((_0x1b67dc=_0x338cac[_0x203ef7(0x1c5)])==null?void 0x0:_0x1b67dc[_0x203ef7(0x1c8)](_0x338cac,_0x148c07));if(!_0x3b5dc1)return null;let _0x3c420f=_0x3b5dc1['getRealBound']();return{'left':_0x3c420f[_0x203ef7(0x176)],'top':_0x3c420f[_0x203ef7(0x18a)],'width':_0x3c420f[_0x203ef7(0x1b8)],'height':_0x3c420f['height']};}[_0x47509f(0x1c9)](_0x557b22,_0x1f7826){const _0x2146c5=_0x47509f;let _0x434f85=[],_0x2c874d=new Map();return[this[_0x2146c5(0x17e)][_0x2146c5(0x1a9)],this[_0x2146c5(0x17e)][_0x2146c5(0x1b7)]]['forEach'](_0xd0ae25=>{const _0x17a0cc=_0x2146c5;if(!_0xd0ae25||_0xd0ae25[_0x17a0cc(0x167)]!==_0x557b22[_0x17a0cc(0x15a)]()||_0xd0ae25[_0x17a0cc(0x19d)]!==_0x1f7826)return;let _0x752d5a=this['_commentModel'][_0x17a0cc(0x1ce)](_0xd0ae25[_0x17a0cc(0x167)],_0xd0ae25['subUnitId'],_0xd0ae25[_0x17a0cc(0x16e)]);if(!_0x752d5a)return;_0x434f85[_0x17a0cc(0x1b6)](_0xd0ae25[_0x17a0cc(0x16e)]);let _0x925713=_0x41da8c(_0x752d5a[_0x17a0cc(0x183)]);if((_0x925713==null?void 0x0:_0x925713[_0x17a0cc(0x191)])===_0x5c4e0d['BOARD_ELEMENT']&&!_0x2c874d['has'](_0x925713['elementId'])){let _0x5c6b4d=this[_0x17a0cc(0x194)](_0x925713[_0x17a0cc(0x14b)]);_0x5c6b4d&&_0x2c874d['set'](_0x925713['elementId'],_0x5c6b4d);}}),{'focusedCommentIds':_0x434f85,'focusOutlines':Array[_0x2146c5(0x168)](_0x2c874d[_0x2146c5(0x15b)]())};}['_hitTest'](_0x4fba51,_0x5bdab4,_0x49853e){const _0x7ba07d=_0x47509f;return _0xb9cc6b({'elementData':this[_0x7ba07d(0x17a)][_0x7ba07d(0x1eb)](_0x4fba51[_0x7ba07d(0x15a)](),_0x5bdab4),'elementOrder':this[_0x7ba07d(0x17a)][_0x7ba07d(0x17b)](_0x4fba51[_0x7ba07d(0x15a)](),_0x5bdab4),'point':_0x49853e});}[_0x47509f(0x1b1)](){const _0xfdb144=_0x47509f;return{'accentColor':this['_themeService'][_0xfdb144(0x1d0)](_0xfdb144(0x173)),'foregroundColor':this[_0xfdb144(0x1ef)][_0xfdb144(0x1d0)](_0xfdb144(0x1dd)),'outlineColor':this[_0xfdb144(0x1ef)]['getColorFromTheme']('white')};}[_0x47509f(0x1e6)](){const _0xbb11db=_0x47509f;return this['_instanceService'][_0xbb11db(0x189)](this['_renderContext'][_0xbb11db(0x167)],_0x5d1928[_0xbb11db(0x16b)])??null;}['_toBoardPoint'](_0x3014f2,_0x3d64f2){const _0x3844b6=_0x47509f;return Re(_0x3014f2,_0x3d64f2,this['_uiStateService'][_0x3844b6(0x1cb)]());}};J=W([U(0x1,_0x1c34fd),U(0x2,_0x47b642),U(0x3,_0x1de8eb),U(0x4,_0x252e28),U(0x5,_0x29e1b0),U(0x6,_0xcb4e6f(_0x45c209)),U(0x7,_0xcb4e6f(_0x232790)),U(0x8,_0xcb4e6f(_0x2a2e74)),U(0x9,_0xcb4e6f(_0x311e43))],J);function He(_0x3e6203){const _0xc46064=_0x47509f;let _0x3ec8ef=_0x3e6203[_0xc46064(0x1bb)](_0x47b642),_0x100365=_0x3e6203[_0xc46064(0x1bb)](_0x29d7d1);return _0x42c384([_0x3ec8ef[_0xc46064(0x1ad)](_0x5d1928[_0xc46064(0x16b)]),_0x100365[_0xc46064(0x14c)]['pipe'](_0x2e4c54(void 0x0))])[_0xc46064(0x1f6)](_0x4d54d5(([_0x89a4af])=>!_0x89a4af||!_0x95198(_0x100365,_0x89a4af['getUnitId'](),_0x89a4af[_0xc46064(0x15a)](),_0x43ce22[_0xc46064(0x184)])));}function Y(_0x325e9b){const _0x3c92e0=_0x47509f;return{'id':B['id'],'type':_0x270b14['BUTTON'],'icon':_0x3c92e0(0x1b2),'title':'boards-thread-comment-ui.addComment','tooltip':_0x3c92e0(0x1da),'hidden$':_0x27b49b(_0x325e9b,_0x5d1928[_0x3c92e0(0x16b)]),'disabled$':He(_0x325e9b)};}const Ue={[_0x5b289c[_0x47509f(0x14a)]]:{[_0x5ca4ea[_0x47509f(0x1e4)]]:{[B['id']]:{'order':0x0,'menuItemFactory':Y}}},[_0x5b289c[_0x47509f(0x175)]]:{[_0x5ca4ea[_0x47509f(0x1e4)]]:{[B['id']]:{'order':0x0,'menuItemFactory':Y}}},[_0x4fd9e7[_0x47509f(0x1cf)]]:{[B['id']]:{'order':0xa,'menuItemFactory':Y}}};function _0x56b4(_0x136d4d,_0x236119){_0x136d4d=_0x136d4d-0x14a;const _0x3ace04=_0x3ace();let _0x56b45a=_0x3ace04[_0x136d4d];return _0x56b45a;}let X=class extends _0x15b478{constructor(_0x28f250,_0x5f5c03,_0x585e21,_0x4f1fd7,_0x49fc1c,_0x2fd65f){const _0x2cf654=_0x47509f;super(),[B,R,z][_0x2cf654(0x15d)](_0xde3db0=>this[_0x2cf654(0x1e3)](_0x28f250[_0x2cf654(0x161)](_0xde3db0))),_0x5f5c03['mergeMenu'](Ue),this[_0x2cf654(0x1e3)](_0x585e21[_0x2cf654(0x1a1)]({'id':'boards-thread-comment-ui.view-selection.add-comment','icon':_0x2e388c,'label':()=>_0x4f1fd7['t'](_0x2cf654(0x1da)),'order':0x64,'group':_0x2cf654(0x1f1),'placement':_0x2cf654(0x1d1),'enabled':()=>{const _0x363d54=_0x2cf654;let _0x36643a=_0x2fd65f[_0x363d54(0x16a)](_0x5d1928[_0x363d54(0x16b)]);return!!_0x36643a&&_0x95198(_0x49fc1c,_0x36643a[_0x363d54(0x15a)](),_0x36643a[_0x363d54(0x15a)](),_0x43ce22[_0x363d54(0x184)]);},'onClick':async _0x3ffb1b=>{const _0x957d86=_0x2cf654;await _0x3ffb1b[_0x957d86(0x1d9)](B['id']);}})),this['disposeWithMe'](_0x585e21['register']({'id':_0x2cf654(0x1d8),'availableInViewing':!0x0,'icon':_0x2e388c,'label':()=>_0x4f1fd7['t'](_0x2cf654(0x19b)),'order':0x64,'group':_0x2cf654(0x1f1),'placement':_0x2cf654(0x174),'menuItemId':R['id'],'onClick':async _0x2d47c1=>{const _0x45e900=_0x2cf654;await _0x2d47c1[_0x45e900(0x1d9)](R['id']);}})),this[_0x2cf654(0x1e3)](_0x585e21['register']({'id':_0x2cf654(0x1fb),'availableInViewing':!0x0,'icon':_0x5e952b,'label':()=>_0x4f1fd7['t'](_0x2cf654(0x1da)),'order':0x64,'group':'auxiliary','menuItemId':z['id'],'enabled':()=>{const _0x44acb6=_0x2cf654;let _0x172f3d=_0x2fd65f['getCurrentUnitOfType'](_0x5d1928['UNIVER_BOARD']);return!!_0x172f3d&&_0x95198(_0x49fc1c,_0x172f3d[_0x44acb6(0x15a)](),_0x172f3d[_0x44acb6(0x15a)](),_0x43ce22[_0x44acb6(0x184)]);},'onClick':async _0x342268=>{const _0x498f8d=_0x2cf654;await _0x342268[_0x498f8d(0x1d9)](z['id']);}}));}};X=W([U(0x0,_0x1c34fd),U(0x1,_0x56deac),U(0x2,_0xcb4e6f(_0x274ff7)),U(0x3,_0xcb4e6f(_0x5e980f)),U(0x4,_0x29d7d1),U(0x5,_0x47b642)],X);let Z=class extends _0x266a57{constructor(_0x10e319=H,_0x92279d,_0x4356cb,_0x109ef9){const _0x54312d=_0x47509f;super(),this[_0x54312d(0x156)]=_0x10e319,this[_0x54312d(0x1a6)]=_0x92279d,this[_0x54312d(0x1ed)]=_0x4356cb,this[_0x54312d(0x1cd)]=_0x109ef9;let {..._0x3a8f00}=_0x8689f4({},H,this['_config']);this[_0x54312d(0x1ed)]['setConfig'](V,_0x3a8f00);}[_0x47509f(0x190)](){const _0x198eb7=_0x47509f;[[G],[X]][_0x198eb7(0x15d)](_0xea9809=>this[_0x198eb7(0x1a6)]['add'](_0xea9809)),this[_0x198eb7(0x1a6)][_0x198eb7(0x1bb)](G);}[_0x47509f(0x1ae)](){const _0x4df16d=_0x47509f;this[_0x4df16d(0x1e3)](this[_0x4df16d(0x1cd)][_0x4df16d(0x1dc)](_0x5d1928['UNIVER_BOARD'],[J])),this[_0x4df16d(0x1a6)][_0x4df16d(0x1bb)](X);}};q(Z,_0x47509f(0x1f8),Me),q(Z,_0x47509f(0x1e0),Pe),q(Z,_0x47509f(0x165),Fe),q(Z,_0x47509f(0x1f2),_0x5d1928[_0x47509f(0x16b)]),Z=W([_0x69a536(_0x19b88a,_0x31e829,_0x3fbc38,_0x4cd172,_0x16b691,_0x204d40),U(0x1,_0xcb4e6f(_0x1e26e0)),U(0x2,_0x59f68e),U(0x3,_0x3c1600)],Z);function We(){const _0x522b22=_0x47509f;let _0x277bd8=_0x19d43c(_0x47b642),_0x292704=_0x19d43c(_0x1c34fd),_0xd8a492=_0x19d43c(_0x45c209),_0x234e5b=_0x19d43c(_0x2c9c1e),_0x515d54=_0x19d43c(_0x1de8eb),_0x52b093=_0x277bd8[_0x522b22(0x16a)](_0x5d1928[_0x522b22(0x16b)]),_0x5d2904=_0x52b093 instanceof _0x291335?_0x52b093:void 0x0,_0x1b9dd4=_0x19d43c(_0x29d7d1);_0x3ef2b5(()=>_0x1b9dd4[_0x522b22(0x14c)],void 0x0,!0x1,[_0x1b9dd4]);let _0x1d96c4=_0x3ef2b5(_0xd8a492['draft$'],_0xd8a492[_0x522b22(0x1d5)]),_0x4c101f=_0x102881(()=>_0x10a2a9(_0x5d2904==null?void 0x0:_0x5d2904['getActivePageId']()),[_0x5d2904]),_0x3504f7=_0x1d96c4&&_0x1d96c4[_0x522b22(0x167)]===(_0x5d2904==null?void 0x0:_0x5d2904[_0x522b22(0x15a)]())?{'id':'','threadId':'','unitId':_0x1d96c4[_0x522b22(0x167)],'subUnitId':_0x1d96c4[_0x522b22(0x19d)],'ref':_0x39a809(_0x1d96c4[_0x522b22(0x157)]),'dT':'','personId':_0x234e5b[_0x522b22(0x1c3)]()[_0x522b22(0x1a2)],'text':{'dataStream':'\x0d\x0a'}}:null;if(!_0x5d2904)return null;let _0x4d5928=!_0x95198(_0x1b9dd4,_0x5d2904['getUnitId'](),_0x5d2904[_0x522b22(0x15a)](),_0x43ce22[_0x522b22(0x184)]);return _0xf23f49(_0x45e695,{'unitId':_0x5d2904[_0x522b22(0x15a)](),'subUnitId$':_0x4c101f,'type':_0x5d1928[_0x522b22(0x16b)],'onAdd':()=>_0x292704['executeCommand'](z['id']),'disableAdd':_0x4d5928,'getSubUnitName':_0x2d7543=>{const _0x262af4=_0x522b22;var _0x2ef016;return((_0x2ef016=_0x5d2904[_0x262af4(0x180)](_0x2d7543))==null?void 0x0:_0x2ef016[_0x262af4(0x198)])??_0x2d7543;},'tempComment':_0x3504f7,'onTempCommentClose':()=>_0xd8a492[_0x522b22(0x196)](),'formatRef':_0x16e910=>Ge(_0x16e910,_0x515d54)});}function Ge(_0x15c68f,_0x1f730d){const _0x26a66e=_0x47509f;let _0x535f39=_0x41da8c(_0x15c68f['ref']);if((_0x535f39==null?void 0x0:_0x535f39[_0x26a66e(0x191)])===_0x5c4e0d[_0x26a66e(0x1a5)]){var _0xd80ea3;let _0x276601=_0x1f730d[_0x26a66e(0x16f)](_0x15c68f[_0x26a66e(0x167)],_0x535f39[_0x26a66e(0x1b0)]??_0x15c68f['subUnitId'],_0x535f39[_0x26a66e(0x14b)]);return(_0x276601==null||(_0xd80ea3=_0x276601[_0x26a66e(0x18c)][_0x26a66e(0x198)])==null?void 0x0:_0xd80ea3[_0x26a66e(0x1de)]())||_0x535f39['elementId'];}return(_0x535f39==null?void 0x0:_0x535f39[_0x26a66e(0x191)])===_0x5c4e0d[_0x26a66e(0x171)]?'('+Math[_0x26a66e(0x1b5)](_0x535f39['x'])+',\x20'+Math[_0x26a66e(0x1b5)](_0x535f39['y'])+')':_0x15c68f[_0x26a66e(0x183)];}let Q=class extends _0x15b478{constructor(_0x3ff3e9,_0x6b1611){const _0xcfb28=_0x47509f;super(),this[_0xcfb28(0x1cc)]=_0x3ff3e9,this[_0xcfb28(0x153)]=_0x6b1611,this[_0xcfb28(0x185)](),this[_0xcfb28(0x186)]();}['_registerIcons'](){const _0x239f42=_0x47509f;this[_0x239f42(0x1e3)](this[_0x239f42(0x153)]['register']({'InsertCommentDoubleIcon':_0x5e952b}));}[_0x47509f(0x186)](){const _0x187fee=_0x47509f;this[_0x187fee(0x1e3)](this[_0x187fee(0x1cc)][_0x187fee(0x1a1)](L,We));}};Q=W([U(0x0,_0xcb4e6f(_0xe3a787)),U(0x1,_0xcb4e6f(_0x59ca1b))],Q);const Ke=[[Q],[X]];let $=class extends _0x266a57{constructor(_0x1b5d68=H,_0x247ca8,_0x12bd68,_0x31927a){const _0x7e64ee=_0x47509f;super(),this[_0x7e64ee(0x156)]=_0x1b5d68,this[_0x7e64ee(0x1a6)]=_0x247ca8,this['_configService']=_0x12bd68,this['_renderManagerService']=_0x31927a;let {..._0x16bf8b}=_0x8689f4({},H,this['_config']);this[_0x7e64ee(0x1ed)][_0x7e64ee(0x1e2)](V,_0x16bf8b);}[_0x47509f(0x190)](){const _0x1b0f33=_0x47509f;this[_0x1b0f33(0x19c)]()[_0x1b0f33(0x15d)](_0x4d2323=>{const _0x403c90=_0x1b0f33;this[_0x403c90(0x1a6)][_0x403c90(0x15e)](_0x4d2323);}),this[_0x1b0f33(0x1a6)][_0x1b0f33(0x1bb)](Q);}[_0x47509f(0x19c)](){return Ke;}[_0x47509f(0x1ae)](){const _0x251af5=_0x47509f;this[_0x251af5(0x1e3)](this[_0x251af5(0x1cd)][_0x251af5(0x1dc)](_0x5d1928[_0x251af5(0x16b)],[J])),this[_0x251af5(0x1a6)][_0x251af5(0x1bb)](X);}};q($,_0x47509f(0x1f8),Me),q($,'packageName',Pe),q($,_0x47509f(0x165),Fe),q($,_0x47509f(0x1f2),_0x5d1928[_0x47509f(0x16b)]),$=W([_0x69a536(_0x19b88a,_0x3fbc38,_0x17c250,_0x31e829,_0x16b691,_0x101539),U(0x1,_0xcb4e6f(_0x1e26e0)),U(0x2,_0x59f68e),U(0x3,_0x3c1600)],$);export{V as BOARDS_THREAD_COMMENT_UI_PLUGIN_CONFIG_KEY,R as OpenBoardCommentPanelOperation,z as StartBoardCommentPlacementOperation,Z as UniverBoardsThreadCommentMobileUIPlugin,$ as UniverBoardsThreadCommentUIPlugin};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2ef2(_0x5940c4,_0x5af371){_0x5940c4=_0x5940c4-0x124;const _0x46fbc4=_0x46fb();let _0x2ef2c6=_0x46fbc4[_0x5940c4];return _0x2ef2c6;}const _0x6f7326=_0x2ef2;(function(_0x3df675,_0x1dd71c){const _0x5ea5cd=_0x2ef2,_0x4f866e=_0x3df675();while(!![]){try{const _0x4caebb=-parseInt(_0x5ea5cd(0x12e))/0x1*(-parseInt(_0x5ea5cd(0x12d))/0x2)+parseInt(_0x5ea5cd(0x12f))/0x3*(-parseInt(_0x5ea5cd(0x12c))/0x4)+parseInt(_0x5ea5cd(0x124))/0x5+-parseInt(_0x5ea5cd(0x126))/0x6*(parseInt(_0x5ea5cd(0x12b))/0x7)+parseInt(_0x5ea5cd(0x129))/0x8+parseInt(_0x5ea5cd(0x12a))/0x9+-parseInt(_0x5ea5cd(0x128))/0xa;if(_0x4caebb===_0x1dd71c)break;else _0x4f866e['push'](_0x4f866e['shift']());}catch(_0x2f4f70){_0x4f866e['push'](_0x4f866e['shift']());}}}(_0x46fb,0xb9a47));const e={'boards-thread-comment-ui':{'addComment':_0x6f7326(0x127),'openComments':_0x6f7326(0x125)}};export{e as default};function _0x46fb(){const _0x5d61f0=['5130840LHPqFD','فتح\x20التعليقات','1873074oTKOKQ','إضافة\x20تعليق','15283810ZPAqIA','10307968cfeCJA','6251103ndTBUi','7ztculm','8EWhLGW','2esIiEq','773366sCMJsy','1772469pfNUgd'];_0x46fb=function(){return _0x5d61f0;};return _0x46fb();}
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x394e11=_0x4e62;(function(_0x2091c9,_0x432994){const _0x292e1a=_0x4e62,_0x5c2ef3=_0x2091c9();while(!![]){try{const _0x57a551=-parseInt(_0x292e1a(0x184))/0x1+parseInt(_0x292e1a(0x181))/0x2+parseInt(_0x292e1a(0x17d))/0x3+parseInt(_0x292e1a(0x17e))/0x4+parseInt(_0x292e1a(0x17f))/0x5+parseInt(_0x292e1a(0x180))/0x6*(parseInt(_0x292e1a(0x17c))/0x7)+-parseInt(_0x292e1a(0x17b))/0x8;if(_0x57a551===_0x432994)break;else _0x5c2ef3['push'](_0x5c2ef3['shift']());}catch(_0x549846){_0x5c2ef3['push'](_0x5c2ef3['shift']());}}}(_0x5664,0xc18ab));const e={'boards-thread-comment-ui':{'addComment':_0x394e11(0x182),'openComments':_0x394e11(0x183)}};export{e as default};function _0x4e62(_0x422972,_0x525e15){_0x422972=_0x422972-0x17b;const _0x5664fc=_0x5664();let _0x4e6241=_0x5664fc[_0x422972];return _0x4e6241;}function _0x5664(){const _0x490496=['154128EOODGT','12699984RqzSVD','36351HrsFyH','468384hNubaW','5682924yamQrB','2984155EdMcZO','114FuEVBn','524032SpfPow','Afegeix\x20un\x20comentari','Obre\x20els\x20comentaris'];_0x5664=function(){return _0x490496;};return _0x5664();}
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x569cd9=_0x5538;function _0x5538(_0x50440e,_0x17dfe1){_0x50440e=_0x50440e-0x99;const _0x2df935=_0x2df9();let _0x55389d=_0x2df935[_0x50440e];return _0x55389d;}(function(_0x564877,_0x2615d7){const _0x2570ea=_0x5538,_0x4888ad=_0x564877();while(!![]){try{const _0x19112d=-parseInt(_0x2570ea(0x9a))/0x1*(parseInt(_0x2570ea(0x9f))/0x2)+-parseInt(_0x2570ea(0xa3))/0x3+parseInt(_0x2570ea(0x9e))/0x4+parseInt(_0x2570ea(0x99))/0x5*(parseInt(_0x2570ea(0xa0))/0x6)+-parseInt(_0x2570ea(0xa2))/0x7+parseInt(_0x2570ea(0x9b))/0x8+parseInt(_0x2570ea(0xa1))/0x9*(parseInt(_0x2570ea(0x9c))/0xa);if(_0x19112d===_0x2615d7)break;else _0x4888ad['push'](_0x4888ad['shift']());}catch(_0x437a66){_0x4888ad['push'](_0x4888ad['shift']());}}}(_0x2df9,0xc9926));const e={'boards-thread-comment-ui':{'addComment':_0x569cd9(0x9d),'openComments':'Kommentare\x20öffnen'}};function _0x2df9(){const _0x3ececb=['109146ycdGow','8220105WzbEdH','1395765wNsThx','3653340Cdihqt','145xmxgPQ','30289EXOqLb','13100136LKLgBm','10OIdWFQ','Kommentar\x20hinzufügen','1140420wazujR','74yGarpD'];_0x2df9=function(){return _0x3ececb;};return _0x2df9();}export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x8909ab=_0xcb8c;function _0x2e81(){const _0x2801c9=['Open\x20Comments','1769933HXocdO','4kTtewf','7877135JZuBNn','78EiDDFN','1207875PZOSQc','57214251KjZaCU','7337688RhzJYd','2733578ycRRbO','Add\x20Comment','85449ZYDrsN'];_0x2e81=function(){return _0x2801c9;};return _0x2e81();}(function(_0x42eb89,_0x340e69){const _0x4049ef=_0xcb8c,_0x483c8a=_0x42eb89();while(!![]){try{const _0x540fd2=-parseInt(_0x4049ef(0xd4))/0x1+-parseInt(_0x4049ef(0xd0))/0x2+parseInt(_0x4049ef(0xcd))/0x3+parseInt(_0x4049ef(0xca))/0x4*(-parseInt(_0x4049ef(0xcb))/0x5)+parseInt(_0x4049ef(0xcc))/0x6*(-parseInt(_0x4049ef(0xd2))/0x7)+-parseInt(_0x4049ef(0xcf))/0x8+parseInt(_0x4049ef(0xce))/0x9;if(_0x540fd2===_0x340e69)break;else _0x483c8a['push'](_0x483c8a['shift']());}catch(_0x74d16){_0x483c8a['push'](_0x483c8a['shift']());}}}(_0x2e81,0xed3c1));const e={'boards-thread-comment-ui':{'addComment':_0x8909ab(0xd1),'openComments':_0x8909ab(0xd3)}};function _0xcb8c(_0x399345,_0x4ecd11){_0x399345=_0x399345-0xca;const _0x2e8188=_0x2e81();let _0xcb8c8e=_0x2e8188[_0x399345];return _0xcb8c8e;}export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5a5e(_0x75d614,_0x1086de){_0x75d614=_0x75d614-0x1e9;const _0x42a78a=_0x42a7();let _0x5a5e5a=_0x42a78a[_0x75d614];return _0x5a5e5a;}const _0x5c1824=_0x5a5e;(function(_0x421092,_0x34555d){const _0x510ae7=_0x5a5e,_0x48dee8=_0x421092();while(!![]){try{const _0x19c76c=-parseInt(_0x510ae7(0x1ed))/0x1+-parseInt(_0x510ae7(0x1ee))/0x2*(-parseInt(_0x510ae7(0x1ef))/0x3)+parseInt(_0x510ae7(0x1ea))/0x4*(parseInt(_0x510ae7(0x1f4))/0x5)+parseInt(_0x510ae7(0x1f1))/0x6+parseInt(_0x510ae7(0x1f2))/0x7+-parseInt(_0x510ae7(0x1f0))/0x8*(parseInt(_0x510ae7(0x1f5))/0x9)+parseInt(_0x510ae7(0x1f3))/0xa*(-parseInt(_0x510ae7(0x1ec))/0xb);if(_0x19c76c===_0x34555d)break;else _0x48dee8['push'](_0x48dee8['shift']());}catch(_0x4cf6bd){_0x48dee8['push'](_0x48dee8['shift']());}}}(_0x42a7,0x43ca0));const e={'boards-thread-comment-ui':{'addComment':_0x5c1824(0x1e9),'openComments':_0x5c1824(0x1eb)}};export{e as default};function _0x42a7(){const _0x1e1ef8=['610KFdxDI','131030ZZOjqB','932355QjmYtD','Añadir\x20comentario','80ACwznN','Abrir\x20comentarios','74899wuaoXZ','205351ySnyou','156rTwQTa','14559xNvOmH','16KVblHj','265320DBecxf','1110760QppUul'];_0x42a7=function(){return _0x1e1ef8;};return _0x42a7();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xa05ea1=_0x598b;(function(_0x333f98,_0x410c8d){const _0x555adc=_0x598b,_0x2b9d94=_0x333f98();while(!![]){try{const _0x430498=-parseInt(_0x555adc(0xa3))/0x1*(parseInt(_0x555adc(0x9c))/0x2)+-parseInt(_0x555adc(0xa1))/0x3+parseInt(_0x555adc(0x9e))/0x4*(-parseInt(_0x555adc(0x9b))/0x5)+-parseInt(_0x555adc(0xa2))/0x6*(parseInt(_0x555adc(0xa0))/0x7)+parseInt(_0x555adc(0xa4))/0x8+parseInt(_0x555adc(0xa5))/0x9*(parseInt(_0x555adc(0x9a))/0xa)+parseInt(_0x555adc(0x9f))/0xb*(parseInt(_0x555adc(0x99))/0xc);if(_0x430498===_0x410c8d)break;else _0x2b9d94['push'](_0x2b9d94['shift']());}catch(_0x202795){_0x2b9d94['push'](_0x2b9d94['shift']());}}}(_0x3cae,0x34d25));const e={'boards-thread-comment-ui':{'addComment':'افزودن\x20نظر','openComments':_0xa05ea1(0x9d)}};export{e as default};function _0x598b(_0x24be99,_0x4db641){_0x24be99=_0x24be99-0x99;const _0x3caead=_0x3cae();let _0x598b66=_0x3caead[_0x24be99];return _0x598b66;}function _0x3cae(){const _0x38318e=['211155GdHkmm','606HEmFGO','36654QgNSTu','1162472Saiotu','1062vlfoOR','12Vgrouk','8620tncCzI','1552775GmdGQt','4elSAzw','باز\x20کردن\x20نظرات','4eiaZdI','5089337OqSlUj','2709MOydIh'];_0x3cae=function(){return _0x38318e;};return _0x3cae();}
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3209d6=_0x313a;(function(_0x12e13f,_0x4bc34f){const _0x42d415=_0x313a,_0x364dbe=_0x12e13f();while(!![]){try{const _0x80cd5f=parseInt(_0x42d415(0x188))/0x1*(parseInt(_0x42d415(0x18f))/0x2)+parseInt(_0x42d415(0x193))/0x3*(-parseInt(_0x42d415(0x18c))/0x4)+parseInt(_0x42d415(0x187))/0x5*(parseInt(_0x42d415(0x186))/0x6)+-parseInt(_0x42d415(0x190))/0x7*(parseInt(_0x42d415(0x18d))/0x8)+-parseInt(_0x42d415(0x185))/0x9*(-parseInt(_0x42d415(0x18a))/0xa)+-parseInt(_0x42d415(0x192))/0xb*(parseInt(_0x42d415(0x18e))/0xc)+-parseInt(_0x42d415(0x191))/0xd*(-parseInt(_0x42d415(0x189))/0xe);if(_0x80cd5f===_0x4bc34f)break;else _0x364dbe['push'](_0x364dbe['shift']());}catch(_0x5e1fd9){_0x364dbe['push'](_0x364dbe['shift']());}}}(_0x1294,0xe5e84));const e={'boards-thread-comment-ui':{'addComment':'Ajouter\x20un\x20commentaire','openComments':_0x3209d6(0x18b)}};function _0x1294(){const _0x3c3525=['169710qVGZUz','210GwfzZo','306601cMqQOS','659624ZRTudn','40lSQiMr','Ouvrir\x20les\x20commentaires','4WOFOEH','24ExdkkX','24vTreBI','4ooyuUo','2251312BvNylr','260oVDLQI','3231371njZUtl','2666586EfgADZ','1438740iBrWKJ'];_0x1294=function(){return _0x3c3525;};return _0x1294();}function _0x313a(_0x416cb4,_0x442ccc){_0x416cb4=_0x416cb4-0x185;const _0x129417=_0x1294();let _0x313a4e=_0x129417[_0x416cb4];return _0x313a4e;}export{e as default};
|
package/lib/es/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0xe7a42d=_0x3c98;function _0x3c98(_0x4ac26b,_0x1113eb){_0x4ac26b=_0x4ac26b-0x19b;const _0xae698a=_0xae69();let _0x3c9889=_0xae698a[_0x4ac26b];return _0x3c9889;}(function(_0x337b38,_0x1d5149){const _0x5399b4=_0x3c98,_0x21d6db=_0x337b38();while(!![]){try{const _0x34f2fe=parseInt(_0x5399b4(0x19d))/0x1+parseInt(_0x5399b4(0x1a2))/0x2+parseInt(_0x5399b4(0x1a3))/0x3*(-parseInt(_0x5399b4(0x19b))/0x4)+parseInt(_0x5399b4(0x1a1))/0x5*(parseInt(_0x5399b4(0x1a5))/0x6)+-parseInt(_0x5399b4(0x19f))/0x7+-parseInt(_0x5399b4(0x19e))/0x8+parseInt(_0x5399b4(0x19c))/0x9;if(_0x34f2fe===_0x1d5149)break;else _0x21d6db['push'](_0x21d6db['shift']());}catch(_0x2013ef){_0x21d6db['push'](_0x21d6db['shift']());}}}(_0xae69,0x1fabc));const e={'boards-thread-comment-ui':{'addComment':_0xe7a42d(0x1a0),'openComments':_0xe7a42d(0x1a4)}};export{e as default};function _0xae69(){const _0x4d5970=['Tambah\x20Komentar','10UwGAjn','124316waPvRt','186633FQUlJU','Buka\x20Komentar','192090itpGZy','12NQLyAk','1416843QxHIjm','230302gvfKIT','249456ZAaOTB','1164646WbZsRr'];_0xae69=function(){return _0x4d5970;};return _0xae69();}
|
package/lib/es/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4144(_0x55c7d0,_0x581e75){_0x55c7d0=_0x55c7d0-0x1c8;const _0x4a5d16=_0x4a5d();let _0x414493=_0x4a5d16[_0x55c7d0];return _0x414493;}const _0x3429f7=_0x4144;(function(_0x531577,_0x2501b4){const _0x4dbcb4=_0x4144,_0x557ab6=_0x531577();while(!![]){try{const _0x357092=parseInt(_0x4dbcb4(0x1c9))/0x1+-parseInt(_0x4dbcb4(0x1d2))/0x2*(-parseInt(_0x4dbcb4(0x1cf))/0x3)+parseInt(_0x4dbcb4(0x1cc))/0x4*(-parseInt(_0x4dbcb4(0x1d1))/0x5)+parseInt(_0x4dbcb4(0x1cb))/0x6+parseInt(_0x4dbcb4(0x1d0))/0x7+-parseInt(_0x4dbcb4(0x1ce))/0x8+-parseInt(_0x4dbcb4(0x1ca))/0x9*(-parseInt(_0x4dbcb4(0x1cd))/0xa);if(_0x357092===_0x2501b4)break;else _0x557ab6['push'](_0x557ab6['shift']());}catch(_0x224b1d){_0x557ab6['push'](_0x557ab6['shift']());}}}(_0x4a5d,0xb185b));function _0x4a5d(){const _0x2f4f3a=['18243PvJimu','4911634GFxNkL','1506045DKQcwF','158cDEoIw','Aggiungi\x20commento','1089528YssQdJ','7723152MTJZod','605064LhSiMz','16iDBzHN','10YmbdUg','10388752zXGuIf'];_0x4a5d=function(){return _0x2f4f3a;};return _0x4a5d();}const e={'boards-thread-comment-ui':{'addComment':_0x3429f7(0x1c8),'openComments':'Apri\x20commenti'}};export{e as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3133(_0x3ce588,_0x3c1d9a){_0x3ce588=_0x3ce588-0x1bb;const _0x1e0d64=_0x1e0d();let _0x3133a7=_0x1e0d64[_0x3ce588];return _0x3133a7;}function _0x1e0d(){const _0x2233dd=['633zNanvk','11070JXHPUY','1868jRnptC','9nWeqBK','14hZKbOD','6426409ETPFCk','コメントを開く','804hTDTVh','979230ZsBLSx','504312JBjyBJ','113916HtsvCo','74184ALTZYc'];_0x1e0d=function(){return _0x2233dd;};return _0x1e0d();}const _0x14be82=_0x3133;(function(_0x4aadbb,_0x1b3f33){const _0x2b0e62=_0x3133,_0x4b33d6=_0x4aadbb();while(!![]){try{const _0x18a1f3=parseInt(_0x2b0e62(0x1c0))/0x1+-parseInt(_0x2b0e62(0x1c4))/0x2*(parseInt(_0x2b0e62(0x1c2))/0x3)+-parseInt(_0x2b0e62(0x1c1))/0x4+-parseInt(_0x2b0e62(0x1c3))/0x5*(parseInt(_0x2b0e62(0x1bd))/0x6)+-parseInt(_0x2b0e62(0x1c6))/0x7*(parseInt(_0x2b0e62(0x1bf))/0x8)+parseInt(_0x2b0e62(0x1c5))/0x9*(parseInt(_0x2b0e62(0x1be))/0xa)+parseInt(_0x2b0e62(0x1bb))/0xb;if(_0x18a1f3===_0x1b3f33)break;else _0x4b33d6['push'](_0x4b33d6['shift']());}catch(_0x1d9669){_0x4b33d6['push'](_0x4b33d6['shift']());}}}(_0x1e0d,0x267f4));const e={'boards-thread-comment-ui':{'addComment':'コメントを追加','openComments':_0x14be82(0x1bc)}};export{e as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2f2a42=_0x598c;function _0x597b(){const _0x2901a2=['3397620JwLDgW','1850EZZwHN','13941852gHLVnc','댓글\x20열기','724qGuRVH','댓글\x20추가','1740697TYZSPd','2PqxuLR','12678OSgSEP','11cuBvLe','1216752cmmSTw','301431XoAOzX','5hCIBuu','65277lqTENy'];_0x597b=function(){return _0x2901a2;};return _0x597b();}(function(_0x864158,_0x887c16){const _0x14b01b=_0x598c,_0x538a74=_0x864158();while(!![]){try{const _0x380987=parseInt(_0x14b01b(0xe0))/0x1*(parseInt(_0x14b01b(0xdc))/0x2)+parseInt(_0x14b01b(0xdd))/0x3*(parseInt(_0x14b01b(0xd9))/0x4)+-parseInt(_0x14b01b(0xe1))/0x5*(parseInt(_0x14b01b(0xe3))/0x6)+parseInt(_0x14b01b(0xdb))/0x7+-parseInt(_0x14b01b(0xdf))/0x8+-parseInt(_0x14b01b(0xe2))/0x9*(-parseInt(_0x14b01b(0xe4))/0xa)+parseInt(_0x14b01b(0xde))/0xb*(-parseInt(_0x14b01b(0xd7))/0xc);if(_0x380987===_0x887c16)break;else _0x538a74['push'](_0x538a74['shift']());}catch(_0x1e2c38){_0x538a74['push'](_0x538a74['shift']());}}}(_0x597b,0xbd9b4));function _0x598c(_0x32ac84,_0x44dfe4){_0x32ac84=_0x32ac84-0xd7;const _0x597bb3=_0x597b();let _0x598c3e=_0x597bb3[_0x32ac84];return _0x598c3e;}const e={'boards-thread-comment-ui':{'addComment':_0x2f2a42(0xda),'openComments':_0x2f2a42(0xd8)}};export{e as default};
|
package/lib/es/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xc45c1e=_0x366a;(function(_0x4069a3,_0x4b28f3){const _0x413b6e=_0x366a,_0x2ecf89=_0x4069a3();while(!![]){try{const _0x36abc2=-parseInt(_0x413b6e(0x74))/0x1+-parseInt(_0x413b6e(0x7c))/0x2*(parseInt(_0x413b6e(0x77))/0x3)+-parseInt(_0x413b6e(0x7d))/0x4*(parseInt(_0x413b6e(0x78))/0x5)+parseInt(_0x413b6e(0x79))/0x6*(-parseInt(_0x413b6e(0x7b))/0x7)+parseInt(_0x413b6e(0x81))/0x8*(parseInt(_0x413b6e(0x7e))/0x9)+-parseInt(_0x413b6e(0x80))/0xa*(parseInt(_0x413b6e(0x7a))/0xb)+parseInt(_0x413b6e(0x76))/0xc*(parseInt(_0x413b6e(0x7f))/0xd);if(_0x36abc2===_0x4b28f3)break;else _0x2ecf89['push'](_0x2ecf89['shift']());}catch(_0x3278ab){_0x2ecf89['push'](_0x2ecf89['shift']());}}}(_0x5162,0x3b657));const e={'boards-thread-comment-ui':{'addComment':_0xc45c1e(0x75),'openComments':'Otwórz\x20komentarze'}};function _0x5162(){const _0x39ed80=['Dodaj\x20komentarz','171984qWUkos','33euglHX','214615fkLTph','7872gonfxL','6523oefSTN','2450PceJTA','61708UrjgCb','8PQVFeh','9nUbGfX','1365tWCrAm','2230hHOnFQ','1156824gsxjtP','389497yzdRbO'];_0x5162=function(){return _0x39ed80;};return _0x5162();}function _0x366a(_0x180eee,_0xb2e4f2){_0x180eee=_0x180eee-0x74;const _0x5162a0=_0x5162();let _0x366ac9=_0x5162a0[_0x180eee];return _0x366ac9;}export{e as default};
|
package/lib/es/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3eff43=_0x163c;function _0x5537(){const _0x32676a=['8044272ALYRxn','3113ePriRW','2277638qzPqSr','126288OefULK','95vqhvwX','229488zYLSYH','2076579BeGVWH','4910lMAbyN','Adicionar\x20Comentário','Abrir\x20comentários','1KUGglY','152PkRrjN','9998072TyEXMC'];_0x5537=function(){return _0x32676a;};return _0x5537();}(function(_0x3e1c36,_0x36241c){const _0x315518=_0x163c,_0x1a2e8b=_0x3e1c36();while(!![]){try{const _0x233db8=-parseInt(_0x315518(0x7c))/0x1*(parseInt(_0x315518(0x81))/0x2)+parseInt(_0x315518(0x82))/0x3*(parseInt(_0x315518(0x7d))/0x4)+parseInt(_0x315518(0x76))/0x5*(parseInt(_0x315518(0x77))/0x6)+-parseInt(_0x315518(0x7e))/0x7+parseInt(_0x315518(0x7f))/0x8+parseInt(_0x315518(0x78))/0x9+parseInt(_0x315518(0x79))/0xa*(-parseInt(_0x315518(0x80))/0xb);if(_0x233db8===_0x36241c)break;else _0x1a2e8b['push'](_0x1a2e8b['shift']());}catch(_0x24ea9f){_0x1a2e8b['push'](_0x1a2e8b['shift']());}}}(_0x5537,0xd11ed));function _0x163c(_0x1a1ebe,_0x459bc2){_0x1a1ebe=_0x1a1ebe-0x76;const _0x55374b=_0x5537();let _0x163caa=_0x55374b[_0x1a1ebe];return _0x163caa;}const e={'boards-thread-comment-ui':{'addComment':_0x3eff43(0x7a),'openComments':_0x3eff43(0x7b)}};export{e as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x39cb(_0x2f07ae,_0x371f26){_0x2f07ae=_0x2f07ae-0x16f;const _0x50cb33=_0x50cb();let _0x39cb07=_0x50cb33[_0x2f07ae];return _0x39cb07;}const _0x30127f=_0x39cb;(function(_0x5b8347,_0x2bef47){const _0x510e90=_0x39cb,_0x485f63=_0x5b8347();while(!![]){try{const _0x3d9e79=parseInt(_0x510e90(0x175))/0x1+-parseInt(_0x510e90(0x173))/0x2*(parseInt(_0x510e90(0x172))/0x3)+parseInt(_0x510e90(0x179))/0x4+-parseInt(_0x510e90(0x170))/0x5+parseInt(_0x510e90(0x178))/0x6+parseInt(_0x510e90(0x176))/0x7*(-parseInt(_0x510e90(0x174))/0x8)+parseInt(_0x510e90(0x16f))/0x9*(parseInt(_0x510e90(0x171))/0xa);if(_0x3d9e79===_0x2bef47)break;else _0x485f63['push'](_0x485f63['shift']());}catch(_0x1b9336){_0x485f63['push'](_0x485f63['shift']());}}}(_0x50cb,0xec5e5));const e={'boards-thread-comment-ui':{'addComment':'Добавить\x20комментарий','openComments':_0x30127f(0x177)}};export{e as default};function _0x50cb(){const _0x28b2c4=['Открыть\x20комментарии','1012218oiuXGg','12836djzhIz','36DEFixF','6593240OgXbTh','4616940vJsjVL','5544arnyug','304YVGkOh','8rUSbsx','569315TbazZY','142058QuxObf'];_0x50cb=function(){return _0x28b2c4;};return _0x50cb();}
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x52368a=_0x4173;(function(_0x571a24,_0x307928){const _0xe68cac=_0x4173,_0x5e14ce=_0x571a24();while(!![]){try{const _0x510ac0=parseInt(_0xe68cac(0xa4))/0x1*(parseInt(_0xe68cac(0xa6))/0x2)+-parseInt(_0xe68cac(0xa0))/0x3*(parseInt(_0xe68cac(0xa2))/0x4)+-parseInt(_0xe68cac(0xa7))/0x5+parseInt(_0xe68cac(0xa8))/0x6+-parseInt(_0xe68cac(0xa5))/0x7*(-parseInt(_0xe68cac(0x9f))/0x8)+-parseInt(_0xe68cac(0xa1))/0x9+parseInt(_0xe68cac(0xa9))/0xa;if(_0x510ac0===_0x307928)break;else _0x5e14ce['push'](_0x5e14ce['shift']());}catch(_0x1dcc30){_0x5e14ce['push'](_0x5e14ce['shift']());}}}(_0xb867,0x23b80));function _0x4173(_0x3f2ba1,_0x597a6e){_0x3f2ba1=_0x3f2ba1-0x9e;const _0xb8672f=_0xb867();let _0x4173f8=_0xb8672f[_0x3f2ba1];return _0x4173f8;}function _0xb867(){const _0x3b919a=['Pridať\x20komentár','1LZTRwN','49JuqqEx','118532otHMTJ','1393750iBKhSu','949986xRDWxM','1614450STummp','Otvoriť\x20komentáre','216760yZNPTW','15ORWiaq','514692akjdYt','69172jiWLAe'];_0xb867=function(){return _0x3b919a;};return _0xb867();}const e={'boards-thread-comment-ui':{'addComment':_0x52368a(0xa3),'openComments':_0x52368a(0x9e)}};export{e as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x39d0d1=_0x24c8;function _0x24c8(_0x918abe,_0x598892){_0x918abe=_0x918abe-0x187;const _0x554e7b=_0x554e();let _0x24c879=_0x554e7b[_0x918abe];return _0x24c879;}(function(_0x346b87,_0x2a3767){const _0x4dea92=_0x24c8,_0x412a24=_0x346b87();while(!![]){try{const _0x38bd87=parseInt(_0x4dea92(0x189))/0x1*(parseInt(_0x4dea92(0x191))/0x2)+-parseInt(_0x4dea92(0x18c))/0x3*(parseInt(_0x4dea92(0x18a))/0x4)+parseInt(_0x4dea92(0x192))/0x5*(parseInt(_0x4dea92(0x18b))/0x6)+parseInt(_0x4dea92(0x195))/0x7*(-parseInt(_0x4dea92(0x18d))/0x8)+parseInt(_0x4dea92(0x194))/0x9*(-parseInt(_0x4dea92(0x190))/0xa)+-parseInt(_0x4dea92(0x18f))/0xb*(-parseInt(_0x4dea92(0x18e))/0xc)+parseInt(_0x4dea92(0x188))/0xd*(parseInt(_0x4dea92(0x193))/0xe);if(_0x38bd87===_0x2a3767)break;else _0x412a24['push'](_0x412a24['shift']());}catch(_0x6c97be){_0x412a24['push'](_0x412a24['shift']());}}}(_0x554e,0x79d8d));function _0x554e(){const _0x11d8c7=['203mcLzBi','Mở\x20bình\x20luận','64181ZRvLHA','222842nrbbZy','4JXSLVv','3349326PihaRL','2016807UHVWfx','128752HTwUdq','2361180alblBv','33EMXtLD','1826380DlCtYA','2PexqQh','5wYGbvS','2828QbmSyI','36LGCUWv'];_0x554e=function(){return _0x11d8c7;};return _0x554e();}const e={'boards-thread-comment-ui':{'addComment':'Thêm\x20bình\x20luận','openComments':_0x39d0d1(0x187)}};export{e as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1c78c0=_0x1054;(function(_0x12b8bd,_0x1e0c34){const _0x2df15b=_0x1054,_0x426eab=_0x12b8bd();while(!![]){try{const _0x2c307e=parseInt(_0x2df15b(0xb3))/0x1+parseInt(_0x2df15b(0xb9))/0x2+parseInt(_0x2df15b(0xb0))/0x3*(-parseInt(_0x2df15b(0xb8))/0x4)+-parseInt(_0x2df15b(0xae))/0x5+-parseInt(_0x2df15b(0xb7))/0x6*(parseInt(_0x2df15b(0xb1))/0x7)+-parseInt(_0x2df15b(0xb5))/0x8*(-parseInt(_0x2df15b(0xb6))/0x9)+parseInt(_0x2df15b(0xaf))/0xa*(parseInt(_0x2df15b(0xb4))/0xb);if(_0x2c307e===_0x1e0c34)break;else _0x426eab['push'](_0x426eab['shift']());}catch(_0x28665f){_0x426eab['push'](_0x426eab['shift']());}}}(_0x1d23,0x7623e));function _0x1054(_0xe4a1bc,_0x5bcd50){_0xe4a1bc=_0xe4a1bc-0xae;const _0x1d2370=_0x1d23();let _0x105418=_0x1d2370[_0xe4a1bc];return _0x105418;}const e={'boards-thread-comment-ui':{'addComment':_0x1c78c0(0xb2),'openComments':'打开评论'}};function _0x1d23(){const _0x5f4570=['添加评论','351980EckyQW','6502232cJiMdQ','952YFzJGC','32463bgRrJZ','264iyjaKA','52eQjiHr','223708OpCMeA','493900aRgXdZ','10kvxijq','177231xsVioz','21238uMbQxP'];_0x1d23=function(){return _0x5f4570;};return _0x1d23();}export{e as default};
|
package/lib/es/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3ea92d=_0x525c;(function(_0x578c97,_0x58cb2a){const _0x9ced9a=_0x525c,_0x3d8fdf=_0x578c97();while(!![]){try{const _0xd9a045=-parseInt(_0x9ced9a(0x1a1))/0x1*(-parseInt(_0x9ced9a(0x1a2))/0x2)+-parseInt(_0x9ced9a(0x1ad))/0x3+-parseInt(_0x9ced9a(0x1a5))/0x4*(-parseInt(_0x9ced9a(0x1ab))/0x5)+parseInt(_0x9ced9a(0x1a9))/0x6+parseInt(_0x9ced9a(0x1a4))/0x7*(parseInt(_0x9ced9a(0x1ac))/0x8)+-parseInt(_0x9ced9a(0x1a3))/0x9+parseInt(_0x9ced9a(0x1a6))/0xa*(-parseInt(_0x9ced9a(0x1a7))/0xb);if(_0xd9a045===_0x58cb2a)break;else _0x3d8fdf['push'](_0x3d8fdf['shift']());}catch(_0x34842b){_0x3d8fdf['push'](_0x3d8fdf['shift']());}}}(_0x1e3c,0x500d5));function _0x525c(_0x28907d,_0x2c99a2){_0x28907d=_0x28907d-0x1a1;const _0x1e3c77=_0x1e3c();let _0x525c1f=_0x1e3c77[_0x28907d];return _0x525c1f;}const e={'boards-thread-comment-ui':{'addComment':_0x3ea92d(0x1a8),'openComments':_0x3ea92d(0x1aa)}};function _0x1e3c(){const _0x3f4e56=['940833gxnvQm','1NGmakC','816874ipxxFj','3814137Qbnsvz','7VWcvqk','324QbDyqt','534700NMHtLY','110NrpKff','新增評論','1545780wLMyNK','開啟評論','23285EBqhEc','4453704zdXfKA'];_0x1e3c=function(){return _0x3f4e56;};return _0x1e3c();}export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2ef555=_0x15ea;(function(_0x4dce4f,_0x54e11c){const _0xbb7e3e=_0x15ea,_0x5d6059=_0x4dce4f();while(!![]){try{const _0x22c4e2=-parseInt(_0xbb7e3e(0x1ad))/0x1+parseInt(_0xbb7e3e(0x1a8))/0x2+parseInt(_0xbb7e3e(0x1ac))/0x3+parseInt(_0xbb7e3e(0x1b0))/0x4*(parseInt(_0xbb7e3e(0x1a9))/0x5)+-parseInt(_0xbb7e3e(0x1ae))/0x6+parseInt(_0xbb7e3e(0x1b1))/0x7*(parseInt(_0xbb7e3e(0x1ab))/0x8)+-parseInt(_0xbb7e3e(0x1aa))/0x9;if(_0x22c4e2===_0x54e11c)break;else _0x5d6059['push'](_0x5d6059['shift']());}catch(_0x4234f6){_0x5d6059['push'](_0x5d6059['shift']());}}}(_0x2d7d,0x95c55));function _0x15ea(_0x4e0ac0,_0x10dccd){_0x4e0ac0=_0x4e0ac0-0x1a8;const _0x2d7d67=_0x2d7d();let _0x15eaae=_0x2d7d67[_0x4e0ac0];return _0x15eaae;}const e={'boards-thread-comment-ui':{'addComment':_0x2ef555(0x1af),'openComments':'開啟評論'}};function _0x2d7d(){const _0x4c2983=['168ecxFZK','1728668QlLYSk','5xtZurw','13879125vUOKTi','204448PMPJAI','3224067HuOgii','290658YEuRoN','3593970mqAZwH','新增評論','1971488sXtJjs'];_0x2d7d=function(){return _0x4c2983;};return _0x2d7d();}export{e as default};
|