@univerjs-pro/boards-thread-comment-ui 1.0.0-rc.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 +11 -0
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/locale/ar-SA.js +1 -0
- package/lib/cjs/locale/ca-ES.js +1 -0
- package/lib/cjs/locale/de-DE.js +1 -0
- package/lib/cjs/locale/en-US.js +1 -0
- package/lib/cjs/locale/es-ES.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -0
- package/lib/cjs/locale/fr-FR.js +1 -0
- package/lib/cjs/locale/id-ID.js +1 -0
- package/lib/cjs/locale/it-IT.js +1 -0
- package/lib/cjs/locale/ja-JP.js +1 -0
- package/lib/cjs/locale/ko-KR.js +1 -0
- package/lib/cjs/locale/pl-PL.js +1 -0
- package/lib/cjs/locale/pt-BR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -0
- package/lib/cjs/locale/sk-SK.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-HK.js +1 -0
- package/lib/cjs/locale/zh-TW.js +1 -0
- package/lib/es/index.js +1 -0
- package/lib/es/locale/ar-SA.js +1 -0
- package/lib/es/locale/ca-ES.js +1 -0
- package/lib/es/locale/de-DE.js +1 -0
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/es-ES.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -0
- package/lib/es/locale/fr-FR.js +1 -0
- package/lib/es/locale/id-ID.js +1 -0
- package/lib/es/locale/it-IT.js +1 -0
- package/lib/es/locale/ja-JP.js +1 -0
- package/lib/es/locale/ko-KR.js +1 -0
- package/lib/es/locale/pl-PL.js +1 -0
- package/lib/es/locale/pt-BR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/sk-SK.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-HK.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/index.css +1 -0
- package/lib/index.js +1 -0
- package/lib/locale/ar-SA.js +1 -0
- package/lib/locale/ca-ES.js +1 -0
- package/lib/locale/de-DE.js +1 -0
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/es-ES.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/fr-FR.js +1 -0
- package/lib/locale/id-ID.js +1 -0
- package/lib/locale/it-IT.js +1 -0
- package/lib/locale/ja-JP.js +1 -0
- package/lib/locale/ko-KR.js +1 -0
- package/lib/locale/pl-PL.js +1 -0
- package/lib/locale/pt-BR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/sk-SK.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-HK.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- package/lib/types/commands/operations/comment.operation.d.ts +4 -0
- package/lib/types/comment-position.d.ts +10 -0
- package/lib/types/common/const.d.ts +2 -0
- package/lib/types/config/config.d.ts +5 -0
- package/lib/types/controllers/components.controller.d.ts +9 -0
- package/lib/types/controllers/placement.render-controller.d.ts +34 -0
- package/lib/types/controllers/ui.controller.d.ts +6 -0
- package/lib/types/index.d.ts +5 -0
- package/lib/types/locale/ar-SA.d.ts +3 -0
- package/lib/types/locale/ca-ES.d.ts +3 -0
- package/lib/types/locale/de-DE.d.ts +3 -0
- package/lib/types/locale/en-US.d.ts +7 -0
- package/lib/types/locale/es-ES.d.ts +3 -0
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/locale/fr-FR.d.ts +3 -0
- package/lib/types/locale/id-ID.d.ts +3 -0
- package/lib/types/locale/it-IT.d.ts +3 -0
- package/lib/types/locale/ja-JP.d.ts +3 -0
- package/lib/types/locale/ko-KR.d.ts +3 -0
- package/lib/types/locale/pl-PL.d.ts +3 -0
- package/lib/types/locale/pt-BR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/sk-SK.d.ts +3 -0
- package/lib/types/locale/types.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +3 -0
- package/lib/types/locale/zh-HK.d.ts +3 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/menu/menu.d.ts +12 -0
- package/lib/types/menu/schema.d.ts +2 -0
- package/lib/types/plugin.d.ts +16 -0
- package/lib/types/views/BoardsThreadCommentPanel.d.ts +1 -0
- package/lib/umd/index.js +1 -0
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -0
- package/lib/umd/locale/de-DE.js +1 -0
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/es-ES.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/fr-FR.js +1 -0
- package/lib/umd/locale/id-ID.js +1 -0
- package/lib/umd/locale/it-IT.js +1 -0
- package/lib/umd/locale/ja-JP.js +1 -0
- package/lib/umd/locale/ko-KR.js +1 -0
- package/lib/umd/locale/pl-PL.js +1 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/sk-SK.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-HK.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +70 -0
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# @univerjs-pro/boards-thread-comment-ui
|
|
2
|
+
|
|
3
|
+
`@univerjs-pro/boards-thread-comment-ui` adds a comment placement tool and element comment entries to Univer Boards. Drafts open in the shared thread comment panel.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
pnpm add @univerjs-pro/boards-thread-comment-ui
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Import the package CSS and register `UniverBoardsThreadCommentUIPlugin` after the Boards UI plugin.
|
package/lib/cjs/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x2274d7=_0x3677;(function(_0x555e48,_0x43130a){const _0x42dafd=_0x3677,_0x5f4a5f=_0x555e48();while(!![]){try{const _0x5dafdd=parseInt(_0x42dafd(0x2a2))/0x1*(-parseInt(_0x42dafd(0x2bd))/0x2)+-parseInt(_0x42dafd(0x25b))/0x3*(parseInt(_0x42dafd(0x28b))/0x4)+parseInt(_0x42dafd(0x22e))/0x5*(-parseInt(_0x42dafd(0x233))/0x6)+-parseInt(_0x42dafd(0x2a3))/0x7*(parseInt(_0x42dafd(0x269))/0x8)+parseInt(_0x42dafd(0x1fa))/0x9*(-parseInt(_0x42dafd(0x22a))/0xa)+-parseInt(_0x42dafd(0x23a))/0xb*(-parseInt(_0x42dafd(0x1d9))/0xc)+-parseInt(_0x42dafd(0x213))/0xd*(-parseInt(_0x42dafd(0x2b5))/0xe);if(_0x5dafdd===_0x43130a)break;else _0x5f4a5f['push'](_0x5f4a5f['shift']());}catch(_0x47035c){_0x5f4a5f['push'](_0x5f4a5f['shift']());}}}(_0x5277,0x4ddc7),Object[_0x2274d7(0x1f9)](exports,Symbol['toStringTag'],{'value':_0x2274d7(0x26e)}));function _0x3677(_0x2e0738,_0x1029c6){_0x2e0738=_0x2e0738-0x1d7;const _0x5277f8=_0x5277();let _0x3677ca=_0x5277f8[_0x2e0738];return _0x3677ca;}let e=require('@univerjs-pro/boards'),t=require('@univerjs-pro/boards-ui'),n=require('@univerjs/core'),r=require('@univerjs/protocol'),i=require('@univerjs/thread-comment'),a=require('@univerjs/thread-comment-ui'),o=require('@univerjs/ui'),s=require('@univerjs-pro/boards-thread-comment'),c=require('@univerjs-pro/license'),l=require('@univerjs/engine-render'),u=require('@univerjs/icons'),d=require('react'),f=require('rxjs'),p=require('react/jsx-runtime');const m=_0x2274d7(0x234);function h(_0x2072d1){const _0x43eb85=_0x2274d7;let _0x50acc6=_0x2072d1[_0x43eb85(0x2a1)](a['ThreadCommentPanelService']);_0x2072d1['get'](o[_0x43eb85(0x238)])['open']({'header':{'title':_0x43eb85(0x25c)},'children':{'label':m},'width':0x140,'onClose':()=>_0x50acc6[_0x43eb85(0x2b6)](!0x1)}),_0x50acc6[_0x43eb85(0x2b6)](!0x0);}const g={'id':_0x2274d7(0x26f),'type':n[_0x2274d7(0x283)][_0x2274d7(0x278)],'handler'(_0x158aec){return h(_0x158aec),!0x0;}},_={'id':_0x2274d7(0x1db),'type':n[_0x2274d7(0x283)]['OPERATION'],'handler'(_0x144780){const _0x24ac7b=_0x2274d7;let _0x2c7903=_0x144780[_0x24ac7b(0x2a1)](n[_0x24ac7b(0x21e)])['getCurrentUnitOfType'](n['UniverInstanceType']['UNIVER_BOARD']);return!_0x2c7903||!(0x0,e[_0x24ac7b(0x1f5)])(_0x144780[_0x24ac7b(0x2a1)](n[_0x24ac7b(0x274)]),_0x2c7903['getUnitId'](),_0x2c7903[_0x24ac7b(0x23c)](),r['UnitAction'][_0x24ac7b(0x214)])?!0x1:(_0x144780[_0x24ac7b(0x2a1)](t[_0x24ac7b(0x260)])[_0x24ac7b(0x2ba)](e[_0x24ac7b(0x2bf)][_0x24ac7b(0x268)]),_0x144780[_0x24ac7b(0x2a1)](a[_0x24ac7b(0x1ec)])[_0x24ac7b(0x226)](n['UniverInstanceType'][_0x24ac7b(0x272)],_0x2c7903[_0x24ac7b(0x23c)]()),!0x0);}},v={'id':'board.operation.add-element-comment','type':n['CommandType'][_0x2274d7(0x278)],'handler'(_0x25f47a){const _0x2c05ea=_0x2274d7;var _0xb65408;let _0xc7379f=_0x25f47a[_0x2c05ea(0x2a1)](n[_0x2c05ea(0x21e)])[_0x2c05ea(0x2c0)](n[_0x2c05ea(0x235)]['UNIVER_BOARD']),_0x2f1545=_0x25f47a['get'](t[_0x2c05ea(0x24a)])[_0x2c05ea(0x29f)](),_0x3fd17a=_0xc7379f==null?void 0x0:_0xc7379f[_0x2c05ea(0x27c)](),_0x4dab0a=_0x2f1545[_0x2c05ea(0x28e)]??_0x2f1545['selectedIds'][_0x2f1545[_0x2c05ea(0x275)][_0x2c05ea(0x23d)]-0x1];return!_0xc7379f||!_0x3fd17a||!_0x4dab0a||((_0xb65408=_0x2f1545[_0x2c05ea(0x2be)])==null?void 0x0:_0xb65408[_0x2c05ea(0x217)])!==_0xc7379f['getUnitId']()||_0x2f1545[_0x2c05ea(0x2be)][_0x2c05ea(0x2b9)]!==_0x3fd17a||!(0x0,e['getBoardPermissionValue'])(_0x25f47a[_0x2c05ea(0x2a1)](n[_0x2c05ea(0x274)]),_0xc7379f[_0x2c05ea(0x23c)](),_0xc7379f[_0x2c05ea(0x23c)](),r[_0x2c05ea(0x2bb)][_0x2c05ea(0x214)])?!0x1:(_0x25f47a[_0x2c05ea(0x2a1)](a['ThreadCommentDraftService'])['place']({'unitId':_0xc7379f[_0x2c05ea(0x23c)](),'subUnitId':_0x3fd17a,'anchor':{'kind':i['ThreadCommentAnchorKind'][_0x2c05ea(0x205)],'pageId':_0x3fd17a,'elementId':_0x4dab0a}}),h(_0x25f47a),!0x0);}},y=_0x2274d7(0x276),b={};var x=_0x2274d7(0x224),S=_0x2274d7(0x251);function C(){const _0x2bedd3=_0x2274d7;let _0x131b3f=(0x0,o[_0x2bedd3(0x29a)])(n[_0x2bedd3(0x21e)]),_0x5260fd=(0x0,o[_0x2bedd3(0x29a)])(n[_0x2bedd3(0x298)]),_0x3b45c9=(0x0,o[_0x2bedd3(0x29a)])(a['ThreadCommentDraftService']),_0x11515a=(0x0,o[_0x2bedd3(0x29a)])(n['UserManagerService']),_0xb46588=(0x0,o[_0x2bedd3(0x29a)])(e[_0x2bedd3(0x200)]),_0x4fd685=_0x131b3f[_0x2bedd3(0x2c0)](n['UniverInstanceType']['UNIVER_BOARD']),_0x4368b5=_0x4fd685 instanceof e[_0x2bedd3(0x29e)]?_0x4fd685:void 0x0,_0x232b91=(0x0,o[_0x2bedd3(0x29a)])(n[_0x2bedd3(0x274)]);(0x0,o[_0x2bedd3(0x286)])(()=>_0x232b91[_0x2bedd3(0x273)],void 0x0,!0x1,[_0x232b91]);let _0x143bb0=(0x0,o['useObservable'])(_0x3b45c9[_0x2bedd3(0x2b0)],_0x3b45c9[_0x2bedd3(0x259)]),_0x56455b=(0x0,d[_0x2bedd3(0x218)])(()=>(0x0,f['of'])(_0x4368b5==null?void 0x0:_0x4368b5[_0x2bedd3(0x27c)]()),[_0x4368b5]),_0x5758a9=_0x143bb0&&_0x143bb0[_0x2bedd3(0x217)]===(_0x4368b5==null?void 0x0:_0x4368b5[_0x2bedd3(0x23c)]())?{'id':'','threadId':'','unitId':_0x143bb0[_0x2bedd3(0x217)],'subUnitId':_0x143bb0['subUnitId'],'ref':(0x0,i[_0x2bedd3(0x1fb)])(_0x143bb0[_0x2bedd3(0x27f)]),'dT':'','personId':_0x11515a[_0x2bedd3(0x222)]()['userID'],'text':{'dataStream':'\x0d\x0a'}}:null;if(!_0x4368b5)return null;let _0x3c0b4f=!(0x0,e[_0x2bedd3(0x1f5)])(_0x232b91,_0x4368b5['getUnitId'](),_0x4368b5[_0x2bedd3(0x23c)](),r[_0x2bedd3(0x2bb)]['Comment']);return(0x0,p[_0x2bedd3(0x1ff)])(a['ThreadCommentPanel'],{'unitId':_0x4368b5[_0x2bedd3(0x23c)](),'subUnitId$':_0x56455b,'type':n[_0x2bedd3(0x235)][_0x2bedd3(0x272)],'onAdd':()=>_0x5260fd[_0x2bedd3(0x266)](_['id']),'disableAdd':_0x3c0b4f,'getSubUnitName':_0x123234=>{const _0xad333a=_0x2bedd3;var _0x4bb965;return((_0x4bb965=_0x4368b5[_0xad333a(0x1e5)](_0x123234))==null?void 0x0:_0x4bb965['name'])??_0x123234;},'tempComment':_0x5758a9,'onTempCommentClose':()=>_0x3b45c9[_0x2bedd3(0x227)](),'formatRef':_0x2c34b6=>w(_0x2c34b6,_0xb46588)});}function w(_0x2380ea,_0x4bf85d){const _0x46d5aa=_0x2274d7;let _0x3e7209=(0x0,i[_0x46d5aa(0x20f)])(_0x2380ea[_0x46d5aa(0x247)]);if((_0x3e7209==null?void 0x0:_0x3e7209['kind'])===i[_0x46d5aa(0x1ee)]['BOARD_ELEMENT']){var _0x5c0c1d;let _0x2ea804=_0x4bf85d[_0x46d5aa(0x26a)](_0x2380ea[_0x46d5aa(0x217)],_0x3e7209[_0x46d5aa(0x2a0)]??_0x2380ea['subUnitId'],_0x3e7209[_0x46d5aa(0x27d)]);return(_0x2ea804==null||(_0x5c0c1d=_0x2ea804['element']['name'])==null?void 0x0:_0x5c0c1d[_0x46d5aa(0x1d8)]())||_0x3e7209['elementId'];}return(_0x3e7209==null?void 0x0:_0x3e7209[_0x46d5aa(0x20d)])===i['ThreadCommentAnchorKind'][_0x46d5aa(0x28a)]?'('+Math['round'](_0x3e7209['x'])+',\x20'+Math['round'](_0x3e7209['y'])+')':_0x2380ea[_0x46d5aa(0x247)];}function T(_0x4f16cc,_0x46e8c4){return function(_0x2db927,_0x63f9ec){_0x46e8c4(_0x2db927,_0x63f9ec,_0x4f16cc);};}function _0x5277(){const _0x4c30fe=['call','_themeService','getElementData','IconManager','version','forEach','getColorFromTheme','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','zoomRatio','ref','default','boards-thread-comment-ui.toolbar.add-comment','IBoardElementStateService','symbol','boards-thread-comment-ui.openComments','_registerComponents','hitCommentId','_getColors','UniverLicensePlugin','1.0.0-rc.0','catch','Disposable','_overlay','_syncOverlay','_onOverlayPointerDown','IBoardToolbarContributionService','has','draft','add','12171Ogywnr','boards-thread-comment-ui.addComment','_listenToolSwitch','iterator','count','IBoardUIStateService','getElementOrder','pipe','_iconManager','packageName','_componentManager','executeCommand','height','Select','72wLBENY','getElementById','dispose$','combineLatest','UniverBoardsThreadCommentPlugin','Module','board.operation.open-comment-panel','board-thread-comment-overlay','ThreadCommentCanvasOverlay','UNIVER_BOARD','permissionPointUpdate$','IPermissionService','selectedIds','boards-thread-comment-ui.config','_draftService','OPERATION','takeUntil','yellow.400','commentUpdate$','getActivePageId','elementId','state$','anchor','Injector','set','ThreadCommentModel','CommandType','offsetX','Plugin','useObservable','onPointerMove$','transientNavigation','_commentModel','BOARD_POSITION','328QgeiRH','_getElementUnderline','_hitTest','focusedId','some','BOARD_RENDER_OBJECT_Z_INDEX','Inject','ContextMenuGroup','activeCommentId','auxiliary','left','toDisposable','activeTool','ICommandService','_config','useDependency','placementType$','decorate','_instanceService','BoardModel','getSnapshot','pageId','get','32006JNUnYj','36645izQdDA','scene','subscribeEvent','SELECTION','BOARD','getCurrentTypeOfUnit$','top-right-before-history','_getFocusState','white','updateState','elementAdd$','BoardElementContextMenuPosition','onPointerLeave$','draft$','IMenuManagerService','zIndex','currentTheme$','registerCommand','7603946tixymc','setPanelVisible','OpenBoardCommentPanelOperation','getState','subUnitId','setActiveTool','UnitAction','_configService','34azotca','context','BoardToolType','getCurrentUnitOfType','ComponentManager','trim','1793436LStBfC','prototype','board.operation.start-comment-placement','StartBoardCommentPlacementOperation','pluginName','onRendered','UniverBoardsPlugin','UniverThreadCommentUIPlugin','hitTestBoardElementAtPoint','offsetY','gray.900','_registerIcons','getPage','_toBoardPoint','boards-thread-comment-ui.view-selection.add-comment','ThreadCommentPanelService','pairwise','mergeMenu','_injector','ThreadCommentDraftService','board-canvas','ThreadCommentAnchorKind','top','InsertCommentDoubleIcon','stopPropagation','activeCommentId$','UniverRenderEnginePlugin','getObjectIncludeInGroup','getBoardPermissionValue','register','getComment','IConfigService','defineProperty','27ATUqGg','serializeThreadCommentAnchor','from','_onPointerDown','boards-thread-comment-ui.top-right.open-comments','jsx','IBoardElementService','_uiStateService','BUTTON','place','OTHERS','BOARD_ELEMENT','_getModel','_commandService','viewportPanOffset','string','type','overlay','_renderContext','kind','getObject','deserializeThreadCommentAnchor','MenuItemType','push','clearHover','39nowQcK','Comment','CommentIcon','function','unitId','useMemo','width','_getElementOutline','toPrimitive','placementType','_panelService','IUniverInstanceService','commentId','elementRemove$','BOARDS_THREAD_COMMENT_UI_PLUGIN_CONFIG_KEY','getCurrentUser','_placeElement','@univerjs-pro/boards-thread-comment-ui','_elementStateService','startPlacement','cancel','getUnit','map','1835070NtdCze','distinctUntilChanged','values','subscribe','20dxJsZd','onStarting','object','_elementService','_onPointerMove','202488FssacO','univer.board.thread-comment-panel','UniverInstanceType','UniverBoardsThreadCommentUIPlugin','disposeWithMe','ISidebarService','constructor','22oCyBFP','ELEMENT','getUnitId','length'];_0x5277=function(){return _0x4c30fe;};return _0x5277();}function E(_0x25c5bd,_0x344e34,_0x381719,_0x16f1b9){const _0x5cd16f=_0x2274d7;var _0x7c4f6=arguments[_0x5cd16f(0x23d)],_0x323479=_0x7c4f6<0x3?_0x344e34:_0x16f1b9===null?_0x16f1b9=Object['getOwnPropertyDescriptor'](_0x344e34,_0x381719):_0x16f1b9,_0x3af5b4;if(typeof Reflect==_0x5cd16f(0x230)&&typeof Reflect[_0x5cd16f(0x29c)]=='function')_0x323479=Reflect[_0x5cd16f(0x29c)](_0x25c5bd,_0x344e34,_0x381719,_0x16f1b9);else{for(var _0x427e6d=_0x25c5bd[_0x5cd16f(0x23d)]-0x1;_0x427e6d>=0x0;_0x427e6d--)(_0x3af5b4=_0x25c5bd[_0x427e6d])&&(_0x323479=(_0x7c4f6<0x3?_0x3af5b4(_0x323479):_0x7c4f6>0x3?_0x3af5b4(_0x344e34,_0x381719,_0x323479):_0x3af5b4(_0x344e34,_0x381719))||_0x323479);}return _0x7c4f6>0x3&&_0x323479&&Object[_0x5cd16f(0x1f9)](_0x344e34,_0x381719,_0x323479),_0x323479;}let D=class extends n['Disposable']{constructor(_0x48d81d,_0x18f0b1){const _0x396f41=_0x2274d7;super(),this[_0x396f41(0x265)]=_0x48d81d,this[_0x396f41(0x263)]=_0x18f0b1,this[_0x396f41(0x1e4)](),this[_0x396f41(0x24d)]();}[_0x2274d7(0x1e4)](){const _0x4017b8=_0x2274d7;this[_0x4017b8(0x237)](this[_0x4017b8(0x263)][_0x4017b8(0x1f6)]({'InsertCommentDoubleIcon':u[_0x4017b8(0x1f0)]}));}[_0x2274d7(0x24d)](){const _0x47bbcd=_0x2274d7;this[_0x47bbcd(0x237)](this['_componentManager']['register'](m,C));}};D=E([T(0x0,(0x0,n[_0x2274d7(0x291)])(o[_0x2274d7(0x1d7)])),T(0x1,(0x0,n['Inject'])(o[_0x2274d7(0x241)]))],D);function O(_0x14ae4f,_0x3444db,_0x3b9508){const _0x3079fc=_0x2274d7;let _0x1cdcf7=Number['isFinite'](_0x3b9508[_0x3079fc(0x246)])&&_0x3b9508[_0x3079fc(0x246)]>0x0?_0x3b9508[_0x3079fc(0x246)]:0x1;return{'x':(_0x14ae4f-_0x3b9508['viewportPanOffset']['x'])/_0x1cdcf7,'y':(_0x3444db-_0x3b9508[_0x3079fc(0x208)]['y'])/_0x1cdcf7};}function k(_0x226dd4){'@babel/helpers - typeof';const _0x25912f=_0x2274d7;return k=typeof Symbol==_0x25912f(0x216)&&typeof Symbol[_0x25912f(0x25e)]==_0x25912f(0x24b)?function(_0xc2bb96){return typeof _0xc2bb96;}:function(_0x357b7d){const _0xade19f=_0x25912f;return _0x357b7d&&typeof Symbol==_0xade19f(0x216)&&_0x357b7d[_0xade19f(0x239)]===Symbol&&_0x357b7d!==Symbol[_0xade19f(0x1da)]?_0xade19f(0x24b):typeof _0x357b7d;},k(_0x226dd4);}function A(_0x1d49c7,_0x9b8e1a){const _0x2430ad=_0x2274d7;if(k(_0x1d49c7)!=_0x2430ad(0x230)||!_0x1d49c7)return _0x1d49c7;var _0x2b8ee3=_0x1d49c7[Symbol[_0x2430ad(0x21b)]];if(_0x2b8ee3!==void 0x0){var _0x3dd996=_0x2b8ee3[_0x2430ad(0x23e)](_0x1d49c7,_0x9b8e1a||_0x2430ad(0x248));if(k(_0x3dd996)!=_0x2430ad(0x230))return _0x3dd996;throw TypeError(_0x2430ad(0x245));}return(_0x9b8e1a===_0x2430ad(0x209)?String:Number)(_0x1d49c7);}function j(_0x6f5a8c){const _0x44f5f4=_0x2274d7;var _0x8c1482=A(_0x6f5a8c,_0x44f5f4(0x209));return k(_0x8c1482)==_0x44f5f4(0x24b)?_0x8c1482:_0x8c1482+'';}function M(_0x5e50d6,_0x438093,_0x241acf){const _0x2d07f0=_0x2274d7;return(_0x438093=j(_0x438093))in _0x5e50d6?Object[_0x2d07f0(0x1f9)](_0x5e50d6,_0x438093,{'value':_0x241acf,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5e50d6[_0x438093]=_0x241acf,_0x5e50d6;}function N(_0x31137f){const _0x563ec2=_0x2274d7;let _0x4f1703=new Map();return _0x31137f[_0x563ec2(0x243)](_0x2ffe7b=>{const _0x186d76=_0x563ec2;let _0x4e8894=_0x2ffe7b['x']+'\x00'+_0x2ffe7b['y'],_0x4cea30=_0x4f1703[_0x186d76(0x2a1)](_0x4e8894);if(_0x4cea30){_0x4cea30[_0x186d76(0x21f)]=_0x2ffe7b[_0x186d76(0x21f)],_0x4cea30['commentIds']['push'](_0x2ffe7b[_0x186d76(0x21f)]),_0x4cea30[_0x186d76(0x25f)]+=0x1;return;}_0x4f1703['set'](_0x4e8894,{..._0x2ffe7b,'commentIds':[_0x2ffe7b[_0x186d76(0x21f)]],'count':0x1});}),Array['from'](_0x4f1703['values']());}let P=class extends n['RxDisposable']{constructor(_0x2ca21e,_0x1141d0,_0x1a4003,_0x2b6d03,_0x5c31d,_0xce4aa9,_0x189e11,_0x1e1407,_0x4d89e0,_0x10bd8e){const _0x150ec4=_0x2274d7;super(),this[_0x150ec4(0x20c)]=_0x2ca21e,this[_0x150ec4(0x207)]=_0x1141d0,this[_0x150ec4(0x29d)]=_0x1a4003,this[_0x150ec4(0x231)]=_0x2b6d03,this[_0x150ec4(0x225)]=_0x5c31d,this[_0x150ec4(0x201)]=_0xce4aa9,this[_0x150ec4(0x277)]=_0x189e11,this[_0x150ec4(0x289)]=_0x1e1407,this[_0x150ec4(0x21d)]=_0x4d89e0,this[_0x150ec4(0x23f)]=_0x10bd8e,M(this,_0x150ec4(0x254),void 0x0),this[_0x150ec4(0x254)]=new a[(_0x150ec4(0x271))](_0x150ec4(0x270),{...this[_0x150ec4(0x24f)](),'zoomRatio':0x1,'markers':[],'underlines':[]}),this[_0x150ec4(0x254)][_0x150ec4(0x2b2)]=t[_0x150ec4(0x290)][_0x150ec4(0x288)]+0x1,this['_renderContext'][_0x150ec4(0x2a4)]['addObject'](this['_overlay'],t['BOARD_RENDER_LAYER_INDEX'][_0x150ec4(0x20b)]),this[_0x150ec4(0x237)]((0x0,n[_0x150ec4(0x296)])(this[_0x150ec4(0x254)]['onPointerDown$']['subscribeEvent']((_0xf11396,_0x42a1a0)=>this[_0x150ec4(0x256)](_0x42a1a0)))),this[_0x150ec4(0x237)]((0x0,n[_0x150ec4(0x296)])(this[_0x150ec4(0x254)][_0x150ec4(0x2af)][_0x150ec4(0x2a5)](()=>this['_overlay'][_0x150ec4(0x212)]()))),this[_0x150ec4(0x237)]((0x0,n[_0x150ec4(0x296)])(this[_0x150ec4(0x20c)][_0x150ec4(0x2a4)]['onPointerDown$'][_0x150ec4(0x2a5)]((_0x51209b,_0x3d12d7)=>this[_0x150ec4(0x1fd)](_0x51209b,_0x3d12d7)))),this[_0x150ec4(0x237)]((0x0,n[_0x150ec4(0x296)])(this[_0x150ec4(0x20c)]['scene'][_0x150ec4(0x287)][_0x150ec4(0x2a5)](_0x5a2ecf=>this[_0x150ec4(0x232)](_0x5a2ecf)))),this[_0x150ec4(0x237)]((0x0,n[_0x150ec4(0x296)])(this['_elementStateService'][_0x150ec4(0x27e)][_0x150ec4(0x262)]((0x0,f[_0x150ec4(0x1e9)])(),(0x0,f[_0x150ec4(0x279)])(this[_0x150ec4(0x26b)]))[_0x150ec4(0x22d)](([_0x287c1a,_0x361d1f])=>{const _0x452299=_0x150ec4;var _0x18563c;this[_0x452299(0x277)][_0x452299(0x21c)]!==n['UniverInstanceType'][_0x452299(0x272)]||!_0x361d1f[_0x452299(0x28e)]||!_0x361d1f[_0x452299(0x2be)]||_0x287c1a[_0x452299(0x28e)]===_0x361d1f[_0x452299(0x28e)]&&((_0x18563c=_0x287c1a['context'])==null?void 0x0:_0x18563c[_0x452299(0x217)])===_0x361d1f[_0x452299(0x2be)][_0x452299(0x217)]&&_0x287c1a[_0x452299(0x2be)][_0x452299(0x2b9)]===_0x361d1f[_0x452299(0x2be)][_0x452299(0x2b9)]||this[_0x452299(0x223)](_0x361d1f[_0x452299(0x2be)][_0x452299(0x217)],_0x361d1f['context'][_0x452299(0x2b9)],_0x361d1f[_0x452299(0x28e)]);}))),this[_0x150ec4(0x237)](this['_commentModel'][_0x150ec4(0x27b)][_0x150ec4(0x262)]((0x0,f[_0x150ec4(0x279)])(this[_0x150ec4(0x26b)]))[_0x150ec4(0x22d)](_0x5cea01=>{const _0x5a9a44=_0x150ec4;_0x5cea01[_0x5a9a44(0x217)]===this[_0x5a9a44(0x20c)][_0x5a9a44(0x217)]&&this[_0x5a9a44(0x255)]();})),[this[_0x150ec4(0x21d)][_0x150ec4(0x1f2)],this[_0x150ec4(0x21d)]['hoveredCommentId$']][_0x150ec4(0x243)](_0x1a1670=>{const _0x5322b7=_0x150ec4;this['disposeWithMe'](_0x1a1670[_0x5322b7(0x262)]((0x0,f['takeUntil'])(this[_0x5322b7(0x26b)]))['subscribe'](()=>this[_0x5322b7(0x255)]()));}),[this['_elementService'][_0x150ec4(0x2ad)],this['_elementService']['elementUpdate$'],this['_elementService'][_0x150ec4(0x220)]]['forEach'](_0x5199b4=>{const _0x9cba1d=_0x150ec4;this[_0x9cba1d(0x237)](_0x5199b4[_0x9cba1d(0x262)]((0x0,f[_0x9cba1d(0x279)])(this[_0x9cba1d(0x26b)]))['subscribe'](_0x2d6f63=>{const _0x168efd=_0x9cba1d;_0x2d6f63[_0x168efd(0x28f)](_0x40561c=>_0x40561c[_0x168efd(0x217)]===this['_renderContext']['unitId'])&&this[_0x168efd(0x255)]();}));}),this[_0x150ec4(0x237)](this['_uiStateService'][_0x150ec4(0x27e)][_0x150ec4(0x262)]((0x0,f[_0x150ec4(0x22b)])((_0x5c4732,_0x4d734c)=>_0x5c4732[_0x150ec4(0x246)]===_0x4d734c[_0x150ec4(0x246)]),(0x0,f['takeUntil'])(this[_0x150ec4(0x26b)]))['subscribe'](()=>this[_0x150ec4(0x255)]())),this[_0x150ec4(0x25d)](),this['disposeWithMe'](this[_0x150ec4(0x277)][_0x150ec4(0x29b)][_0x150ec4(0x262)]((0x0,f[_0x150ec4(0x279)])(this['dispose$']))['subscribe'](_0x316508=>{const _0x17dcc3=_0x150ec4;_0x316508!==n[_0x17dcc3(0x235)][_0x17dcc3(0x272)]&&this['_overlay'][_0x17dcc3(0x2ac)]({'previewMarker':null,'previewUnderline':null});})),this[_0x150ec4(0x237)](this['_themeService'][_0x150ec4(0x2b3)][_0x150ec4(0x262)]((0x0,f['takeUntil'])(this[_0x150ec4(0x26b)]))[_0x150ec4(0x22d)](()=>this['_syncOverlay']())),this[_0x150ec4(0x255)]();}[_0x2274d7(0x25d)](){const _0x39f412=_0x2274d7;this['disposeWithMe'](this['_uiStateService']['state$'][_0x39f412(0x262)]((0x0,f[_0x39f412(0x229)])(_0x2a5ca8=>_0x2a5ca8[_0x39f412(0x297)]),(0x0,f[_0x39f412(0x22b)])(),(0x0,f[_0x39f412(0x1e9)])(),(0x0,f[_0x39f412(0x279)])(this[_0x39f412(0x26b)]))[_0x39f412(0x22d)](()=>{const _0x265b6d=_0x39f412;this[_0x265b6d(0x277)]['placementType']===n[_0x265b6d(0x235)][_0x265b6d(0x272)]&&this[_0x265b6d(0x277)][_0x265b6d(0x227)]();}));}['_placeElement'](_0x232787,_0x1da5d8,_0x2ab2b5){const _0x351777=_0x2274d7;_0x232787===this[_0x351777(0x20c)]['unitId']&&(this[_0x351777(0x277)][_0x351777(0x203)]({'unitId':_0x232787,'subUnitId':_0x1da5d8,'anchor':{'kind':i['ThreadCommentAnchorKind'][_0x351777(0x205)],'pageId':_0x1da5d8,'elementId':_0x2ab2b5}}),this[_0x351777(0x254)][_0x351777(0x2ac)]({'previewMarker':null,'previewUnderline':null}),this[_0x351777(0x207)][_0x351777(0x266)](g['id'])[_0x351777(0x252)](()=>void 0x0));}[_0x2274d7(0x1fd)](_0x95f406,_0x5db8d5){const _0xf45a65=_0x2274d7;if(this[_0xf45a65(0x277)]['placementType']!==n[_0xf45a65(0x235)][_0xf45a65(0x272)]||(_0x95f406['button']??0x0)!==0x0)return;let _0x53914b=this[_0xf45a65(0x206)]();if(!_0x53914b){this[_0xf45a65(0x277)][_0xf45a65(0x227)]();return;}let _0x10223f=_0x53914b[_0xf45a65(0x27c)](),_0x38e2a6=this['_toBoardPoint'](_0x95f406[_0xf45a65(0x284)],_0x95f406[_0xf45a65(0x1e2)]),_0x3aa9bf=this['_hitTest'](_0x53914b,_0x10223f,_0x38e2a6);this[_0xf45a65(0x277)][_0xf45a65(0x203)]({'unitId':_0x53914b['getUnitId'](),'subUnitId':_0x10223f,'anchor':_0x3aa9bf?{'kind':i[_0xf45a65(0x1ee)][_0xf45a65(0x205)],'pageId':_0x10223f,'elementId':_0x3aa9bf['elementId']}:{'kind':i['ThreadCommentAnchorKind']['BOARD_POSITION'],'pageId':_0x10223f,..._0x38e2a6}}),this['_overlay'][_0xf45a65(0x2ac)]({'previewMarker':null,'previewUnderline':null}),_0x5db8d5['stopPropagation'](),this[_0xf45a65(0x207)][_0xf45a65(0x266)](g['id'])[_0xf45a65(0x252)](()=>void 0x0);}[_0x2274d7(0x232)](_0x1ed28d){const _0x18efbe=_0x2274d7;if(this[_0x18efbe(0x277)][_0x18efbe(0x21c)]!==n[_0x18efbe(0x235)][_0x18efbe(0x272)])return;let _0x2f6996=this['_getModel']();if(!_0x2f6996)return;let _0x496e8a=_0x2f6996[_0x18efbe(0x27c)](),_0x23cd62=this[_0x18efbe(0x1e6)](_0x1ed28d[_0x18efbe(0x284)],_0x1ed28d[_0x18efbe(0x1e2)]),_0x4694b2=this[_0x18efbe(0x28d)](_0x2f6996,_0x496e8a,_0x23cd62),_0x19c0b6=_0x4694b2?this[_0x18efbe(0x28c)](_0x4694b2[_0x18efbe(0x27d)]):null;if(_0x19c0b6){this[_0x18efbe(0x254)][_0x18efbe(0x2ac)]({'previewMarker':_0x23cd62,'previewUnderline':_0x19c0b6});return;}this[_0x18efbe(0x254)]['updateState']({'previewMarker':_0x23cd62,'previewUnderline':null});}[_0x2274d7(0x256)](_0x409b80){const _0x41d81a=_0x2274d7;let _0x2d5204=this[_0x41d81a(0x206)](),_0x162e81=this[_0x41d81a(0x254)][_0x41d81a(0x24e)];!_0x2d5204||!_0x162e81||(this[_0x41d81a(0x21d)]['setActiveComment']({'unitId':_0x2d5204[_0x41d81a(0x23c)](),'subUnitId':_0x2d5204[_0x41d81a(0x27c)](),'commentId':_0x162e81,'trigger':_0x41d81a(0x1ed)}),_0x409b80[_0x41d81a(0x1f1)](),this[_0x41d81a(0x207)][_0x41d81a(0x266)](g['id'])['catch'](()=>void 0x0));}[_0x2274d7(0x255)](){const _0x3eb620=_0x2274d7;let _0x53d903=this[_0x3eb620(0x206)]();if(!_0x53d903){this[_0x3eb620(0x254)][_0x3eb620(0x2ac)]({'markers':[],'underlines':[],'focusedCommentIds':[],'focusOutlines':[]});return;}let _0x2d45a3=_0x53d903[_0x3eb620(0x27c)](),_0x1d6a70=[],_0x3a35fd=new Map();this[_0x3eb620(0x289)]['query']({'unitIds':[_0x53d903[_0x3eb620(0x23c)]()],'subUnitIds':[_0x2d45a3],'anchorKinds':[i[_0x3eb620(0x1ee)][_0x3eb620(0x205)],i[_0x3eb620(0x1ee)][_0x3eb620(0x28a)]],'resolved':!0x1})['forEach'](({root:_0x156e2b})=>{const _0x40e646=_0x3eb620;let _0x3f02fc=(0x0,i[_0x40e646(0x20f)])(_0x156e2b[_0x40e646(0x247)]);if((_0x3f02fc==null?void 0x0:_0x3f02fc[_0x40e646(0x20d)])===i[_0x40e646(0x1ee)][_0x40e646(0x28a)])_0x1d6a70['push']({'commentId':_0x156e2b['id'],'x':_0x3f02fc['x'],'y':_0x3f02fc['y']});else{if((_0x3f02fc==null?void 0x0:_0x3f02fc['kind'])===i[_0x40e646(0x1ee)][_0x40e646(0x205)]){let _0x587c57=this[_0x40e646(0x28c)](_0x3f02fc[_0x40e646(0x27d)],_0x156e2b['id']);_0x587c57&&_0x3a35fd['set'](_0x3f02fc['elementId'],_0x587c57);}}}),this[_0x3eb620(0x254)][_0x3eb620(0x2ac)]({...this[_0x3eb620(0x24f)](),'zoomRatio':this[_0x3eb620(0x201)]['getState']()[_0x3eb620(0x246)],'markers':N(_0x1d6a70),'underlines':Array[_0x3eb620(0x1fc)](_0x3a35fd[_0x3eb620(0x22c)]()),...this[_0x3eb620(0x2aa)](_0x53d903,_0x2d45a3)});}[_0x2274d7(0x28c)](_0x3d79f2,_0x2c2851=''){const _0x20dc92=_0x2274d7;let _0x434f79=this[_0x20dc92(0x21a)](_0x3d79f2);if(!_0x434f79)return null;let _0x227c1d=this[_0x20dc92(0x201)][_0x20dc92(0x2b8)]()[_0x20dc92(0x246)]||0x1;return{'commentId':_0x2c2851,'left':_0x434f79[_0x20dc92(0x295)],'top':_0x434f79[_0x20dc92(0x1ef)]+_0x434f79[_0x20dc92(0x267)]+0x2/_0x227c1d,'width':_0x434f79[_0x20dc92(0x219)]};}['_getElementOutline'](_0x43e942){const _0x9f05bc=_0x2274d7;var _0x476a67;let _0xe0a8a2=this['_getModel']();if(!_0xe0a8a2)return null;let _0x3200f3=this['_renderContext'][_0x9f05bc(0x2a4)],_0x5237e8=(0x0,t['getBoardElementRenderObjectKey'])(_0xe0a8a2[_0x9f05bc(0x23c)](),_0x43e942),_0x24a77d=_0x3200f3[_0x9f05bc(0x20e)](_0x5237e8)??((_0x476a67=_0x3200f3[_0x9f05bc(0x1f4)])==null?void 0x0:_0x476a67['call'](_0x3200f3,_0x5237e8));if(!_0x24a77d)return null;let _0x28e44c=_0x24a77d['getRealBound']();return{'left':_0x28e44c['left'],'top':_0x28e44c[_0x9f05bc(0x1ef)],'width':_0x28e44c[_0x9f05bc(0x219)],'height':_0x28e44c[_0x9f05bc(0x267)]};}['_getFocusState'](_0x4116ca,_0x5c1c44){const _0x2927a0=_0x2274d7;let _0x368bbd=[],_0x20b68e=new Map();return[this[_0x2927a0(0x21d)][_0x2927a0(0x293)],this[_0x2927a0(0x21d)]['hoveredCommentId']][_0x2927a0(0x243)](_0x59c00f=>{const _0x45e2d3=_0x2927a0;if(!_0x59c00f||_0x59c00f[_0x45e2d3(0x217)]!==_0x4116ca[_0x45e2d3(0x23c)]()||_0x59c00f[_0x45e2d3(0x2b9)]!==_0x5c1c44)return;let _0x1694fc=this[_0x45e2d3(0x289)][_0x45e2d3(0x1f7)](_0x59c00f[_0x45e2d3(0x217)],_0x59c00f['subUnitId'],_0x59c00f['commentId']);if(!_0x1694fc)return;_0x368bbd[_0x45e2d3(0x211)](_0x59c00f[_0x45e2d3(0x21f)]);let _0x1ef060=(0x0,i[_0x45e2d3(0x20f)])(_0x1694fc[_0x45e2d3(0x247)]);if((_0x1ef060==null?void 0x0:_0x1ef060['kind'])===i[_0x45e2d3(0x1ee)]['BOARD_ELEMENT']&&!_0x20b68e[_0x45e2d3(0x258)](_0x1ef060[_0x45e2d3(0x27d)])){let _0x40e3ce=this[_0x45e2d3(0x21a)](_0x1ef060[_0x45e2d3(0x27d)]);_0x40e3ce&&_0x20b68e[_0x45e2d3(0x281)](_0x1ef060['elementId'],_0x40e3ce);}}),{'focusedCommentIds':_0x368bbd,'focusOutlines':Array[_0x2927a0(0x1fc)](_0x20b68e[_0x2927a0(0x22c)]())};}[_0x2274d7(0x28d)](_0x3f0125,_0x2188ab,_0x4fc625){const _0xa06a06=_0x2274d7;return(0x0,t[_0xa06a06(0x1e1)])({'elementData':this[_0xa06a06(0x231)][_0xa06a06(0x240)](_0x3f0125['getUnitId'](),_0x2188ab),'elementOrder':this['_elementService'][_0xa06a06(0x261)](_0x3f0125['getUnitId'](),_0x2188ab),'point':_0x4fc625});}[_0x2274d7(0x24f)](){const _0x366421=_0x2274d7;return{'accentColor':this[_0x366421(0x23f)][_0x366421(0x244)](_0x366421(0x27a)),'foregroundColor':this['_themeService'][_0x366421(0x244)](_0x366421(0x1e3)),'outlineColor':this[_0x366421(0x23f)]['getColorFromTheme'](_0x366421(0x2ab))};}['_getModel'](){const _0x58711d=_0x2274d7;return this[_0x58711d(0x29d)][_0x58711d(0x228)](this[_0x58711d(0x20c)][_0x58711d(0x217)],n[_0x58711d(0x235)]['UNIVER_BOARD'])??null;}[_0x2274d7(0x1e6)](_0x4d29aa,_0x101796){const _0x328041=_0x2274d7;return O(_0x4d29aa,_0x101796,this['_uiStateService'][_0x328041(0x2b8)]());}};P=E([T(0x1,n['ICommandService']),T(0x2,n['IUniverInstanceService']),T(0x3,e[_0x2274d7(0x200)]),T(0x4,t[_0x2274d7(0x24a)]),T(0x5,t[_0x2274d7(0x260)]),T(0x6,(0x0,n['Inject'])(a[_0x2274d7(0x1ec)])),T(0x7,(0x0,n[_0x2274d7(0x291)])(i[_0x2274d7(0x282)])),T(0x8,(0x0,n['Inject'])(a[_0x2274d7(0x1e8)])),T(0x9,(0x0,n[_0x2274d7(0x291)])(n['ThemeService']))],P);function F(_0x2bf7e8){const _0x1ecea4=_0x2274d7;let _0x1d2435=_0x2bf7e8['get'](n[_0x1ecea4(0x21e)]),_0x5ea561=_0x2bf7e8[_0x1ecea4(0x2a1)](n[_0x1ecea4(0x274)]);return(0x0,f[_0x1ecea4(0x26c)])([_0x1d2435[_0x1ecea4(0x2a8)](n['UniverInstanceType'][_0x1ecea4(0x272)]),_0x5ea561['permissionPointUpdate$'][_0x1ecea4(0x262)]((0x0,f['startWith'])(void 0x0))])[_0x1ecea4(0x262)]((0x0,f[_0x1ecea4(0x229)])(([_0x5ba661])=>!_0x5ba661||!(0x0,e[_0x1ecea4(0x1f5)])(_0x5ea561,_0x5ba661[_0x1ecea4(0x23c)](),_0x5ba661[_0x1ecea4(0x23c)](),r['UnitAction'][_0x1ecea4(0x214)])));}function I(_0x54dde4){const _0x7dad7f=_0x2274d7;return{'id':v['id'],'type':o[_0x7dad7f(0x210)][_0x7dad7f(0x202)],'icon':_0x7dad7f(0x1f0),'title':_0x7dad7f(0x25c),'tooltip':_0x7dad7f(0x25c),'hidden$':(0x0,o['getMenuHiddenObservable'])(_0x54dde4,n['UniverInstanceType'][_0x7dad7f(0x272)]),'disabled$':F(_0x54dde4)};}const L={[t[_0x2274d7(0x2ae)][_0x2274d7(0x23b)]]:{[o[_0x2274d7(0x292)][_0x2274d7(0x204)]]:{[v['id']]:{'order':0x0,'menuItemFactory':I}}},[t[_0x2274d7(0x2ae)][_0x2274d7(0x2a6)]]:{[o[_0x2274d7(0x292)]['OTHERS']]:{[v['id']]:{'order':0x0,'menuItemFactory':I}}},[o['FloatingObjectToolbarPosition'][_0x2274d7(0x2a7)]]:{[v['id']]:{'order':0xa,'menuItemFactory':I}}};let R=class extends n[_0x2274d7(0x253)]{constructor(_0x1708a0,_0x1156b8,_0x9365ca,_0x2f08a4,_0x3e610a,_0x9f2a8e){const _0xfe8bd8=_0x2274d7;super(),[v,g,_][_0xfe8bd8(0x243)](_0x621fc4=>this['disposeWithMe'](_0x1708a0[_0xfe8bd8(0x2b4)](_0x621fc4))),_0x1156b8[_0xfe8bd8(0x1ea)](L),this[_0xfe8bd8(0x237)](_0x9365ca[_0xfe8bd8(0x1f6)]({'id':_0xfe8bd8(0x1e7),'icon':u['CommentIcon'],'label':()=>_0x2f08a4['t'](_0xfe8bd8(0x25c)),'order':0x64,'group':'auxiliary','placement':'view-selection','enabled':()=>{const _0x54b857=_0xfe8bd8;let _0x5900b1=_0x9f2a8e[_0x54b857(0x2c0)](n[_0x54b857(0x235)][_0x54b857(0x272)]);return!!_0x5900b1&&(0x0,e[_0x54b857(0x1f5)])(_0x3e610a,_0x5900b1[_0x54b857(0x23c)](),_0x5900b1[_0x54b857(0x23c)](),r[_0x54b857(0x2bb)]['Comment']);},'onClick':async _0x4e398b=>{const _0x181025=_0xfe8bd8;await _0x4e398b[_0x181025(0x266)](v['id']);}})),this[_0xfe8bd8(0x237)](_0x9365ca[_0xfe8bd8(0x1f6)]({'id':_0xfe8bd8(0x1fe),'availableInViewing':!0x0,'icon':u[_0xfe8bd8(0x215)],'label':()=>_0x2f08a4['t'](_0xfe8bd8(0x24c)),'order':0x64,'group':_0xfe8bd8(0x294),'placement':_0xfe8bd8(0x2a9),'menuItemId':g['id'],'onClick':async _0x55d3ea=>{const _0x1a89a9=_0xfe8bd8;await _0x55d3ea[_0x1a89a9(0x266)](g['id']);}})),this[_0xfe8bd8(0x237)](_0x9365ca[_0xfe8bd8(0x1f6)]({'id':_0xfe8bd8(0x249),'availableInViewing':!0x0,'icon':u['InsertCommentDoubleIcon'],'label':()=>_0x2f08a4['t'](_0xfe8bd8(0x25c)),'order':0x64,'group':_0xfe8bd8(0x294),'menuItemId':_['id'],'enabled':()=>{const _0xa19ce6=_0xfe8bd8;let _0x233597=_0x9f2a8e[_0xa19ce6(0x2c0)](n[_0xa19ce6(0x235)][_0xa19ce6(0x272)]);return!!_0x233597&&(0x0,e[_0xa19ce6(0x1f5)])(_0x3e610a,_0x233597[_0xa19ce6(0x23c)](),_0x233597[_0xa19ce6(0x23c)](),r[_0xa19ce6(0x2bb)][_0xa19ce6(0x214)]);},'onClick':async _0x5659f0=>{const _0x401f12=_0xfe8bd8;await _0x5659f0[_0x401f12(0x266)](_['id']);}}));}};R=E([T(0x0,n['ICommandService']),T(0x1,o[_0x2274d7(0x2b1)]),T(0x2,(0x0,n[_0x2274d7(0x291)])(t[_0x2274d7(0x257)])),T(0x3,(0x0,n[_0x2274d7(0x291)])(n['LocaleService'])),T(0x4,n['IPermissionService']),T(0x5,n[_0x2274d7(0x21e)])],R);const z=[[D],[R]];let B=class extends n[_0x2274d7(0x285)]{constructor(_0x256349=b,_0x5904cb,_0x537c97,_0x3fc831){const _0x2d6d30=_0x2274d7;super(),this['_config']=_0x256349,this[_0x2d6d30(0x1eb)]=_0x5904cb,this[_0x2d6d30(0x2bc)]=_0x537c97,this['_renderManagerService']=_0x3fc831;let {..._0xb56ff9}=(0x0,n['merge'])({},b,this[_0x2d6d30(0x299)]);this['_configService']['setConfig'](y,_0xb56ff9);}[_0x2274d7(0x22f)](){const _0x23cb4b=_0x2274d7;z[_0x23cb4b(0x243)](_0x590411=>{const _0x2d3961=_0x23cb4b;this['_injector'][_0x2d3961(0x25a)](_0x590411);}),this[_0x23cb4b(0x1eb)]['get'](D);}[_0x2274d7(0x1de)](){const _0x451eba=_0x2274d7;this['_renderManagerService']['registerRenderModule'](n[_0x451eba(0x235)][_0x451eba(0x272)],[P]),this[_0x451eba(0x1eb)][_0x451eba(0x2a1)](R);}};M(B,_0x2274d7(0x1dd),'UNIVER_BOARDS_THREAD_COMMENT_UI_PLUGIN'),M(B,_0x2274d7(0x264),x),M(B,_0x2274d7(0x242),S),M(B,_0x2274d7(0x20a),n[_0x2274d7(0x235)]['UNIVER_BOARD']),B=E([(0x0,n['DependentOn'])(e[_0x2274d7(0x1df)],s[_0x2274d7(0x26d)],t['UniverBoardsUIPlugin'],c[_0x2274d7(0x250)],l[_0x2274d7(0x1f3)],a[_0x2274d7(0x1e0)]),T(0x1,(0x0,n[_0x2274d7(0x291)])(n[_0x2274d7(0x280)])),T(0x2,n[_0x2274d7(0x1f8)]),T(0x3,l['IRenderManagerService'])],B),exports[_0x2274d7(0x221)]=y,exports[_0x2274d7(0x2b7)]=g,exports[_0x2274d7(0x1dc)]=_,Object[_0x2274d7(0x1f9)](exports,_0x2274d7(0x236),{'enumerable':!0x0,'get':function(){return B;}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x9033d=_0x58de;function _0xa6dd(){const _0x289804=['exports','2630076IzAnCN','5nQQOdL','71134wOPSuR','7190beEqgp','4213jAvmLj','3565362trcNNH','3KNdxfB','51XJgzAa','فتح\x20التعليقات','352rZnVLC','إضافة\x20تعليق','486526DKZDHj','2589777qdBKpv','144364XRwMBb'];_0xa6dd=function(){return _0x289804;};return _0xa6dd();}function _0x58de(_0x430def,_0x726542){_0x430def=_0x430def-0x198;const _0xa6dde6=_0xa6dd();let _0x58de39=_0xa6dde6[_0x430def];return _0x58de39;}(function(_0xa1e9a1,_0x40e021){const _0xa145ed=_0x58de,_0x290241=_0xa1e9a1();while(!![]){try{const _0x3b60c1=-parseInt(_0xa145ed(0x1a2))/0x1*(parseInt(_0xa145ed(0x198))/0x2)+parseInt(_0xa145ed(0x1a3))/0x3*(parseInt(_0xa145ed(0x19a))/0x4)+-parseInt(_0xa145ed(0x19d))/0x5*(-parseInt(_0xa145ed(0x1a1))/0x6)+parseInt(_0xa145ed(0x19e))/0x7*(-parseInt(_0xa145ed(0x1a5))/0x8)+parseInt(_0xa145ed(0x199))/0x9+parseInt(_0xa145ed(0x19f))/0xa*(parseInt(_0xa145ed(0x1a0))/0xb)+-parseInt(_0xa145ed(0x19c))/0xc;if(_0x3b60c1===_0x40e021)break;else _0x290241['push'](_0x290241['shift']());}catch(_0x5da783){_0x290241['push'](_0x290241['shift']());}}}(_0xa6dd,0x5b81e));const e={'boards-thread-comment-ui':{'addComment':_0x9033d(0x1a6),'openComments':_0x9033d(0x1a4)}};module[_0x9033d(0x19b)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x27ea9a=_0x639c;(function(_0x16adb8,_0x4ea10d){const _0x88f6f=_0x639c,_0x454a21=_0x16adb8();while(!![]){try{const _0x4afc00=-parseInt(_0x88f6f(0x133))/0x1*(-parseInt(_0x88f6f(0x131))/0x2)+-parseInt(_0x88f6f(0x136))/0x3+parseInt(_0x88f6f(0x12d))/0x4+-parseInt(_0x88f6f(0x12e))/0x5*(parseInt(_0x88f6f(0x132))/0x6)+parseInt(_0x88f6f(0x137))/0x7+-parseInt(_0x88f6f(0x134))/0x8*(parseInt(_0x88f6f(0x12b))/0x9)+-parseInt(_0x88f6f(0x12c))/0xa*(-parseInt(_0x88f6f(0x138))/0xb);if(_0x4afc00===_0x4ea10d)break;else _0x454a21['push'](_0x454a21['shift']());}catch(_0x58b77f){_0x454a21['push'](_0x454a21['shift']());}}}(_0x59dc,0x47211));function _0x59dc(){const _0x4b8bd0=['1170917RCQyCq','19467gYtLvZ','50EOBWui','1564000ajnTeW','305gPIXuP','exports','Afegeix\x20un\x20comentari','4992mhrSmt','56622axfAHZ','123wCoLUO','1896gnTSzA','Obre\x20els\x20comentaris','440880PdRysp','2074450fLwHwm'];_0x59dc=function(){return _0x4b8bd0;};return _0x59dc();}const e={'boards-thread-comment-ui':{'addComment':_0x27ea9a(0x130),'openComments':_0x27ea9a(0x135)}};function _0x639c(_0x320c97,_0x780585){_0x320c97=_0x320c97-0x12b;const _0x59dcea=_0x59dc();let _0x639c39=_0x59dcea[_0x320c97];return _0x639c39;}module[_0x27ea9a(0x12f)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x8220f4=_0x393f;(function(_0x4ac7ec,_0x1e37ae){const _0x39960e=_0x393f,_0x43c089=_0x4ac7ec();while(!![]){try{const _0x7ff617=-parseInt(_0x39960e(0x7a))/0x1*(-parseInt(_0x39960e(0x74))/0x2)+-parseInt(_0x39960e(0x81))/0x3+parseInt(_0x39960e(0x78))/0x4*(parseInt(_0x39960e(0x79))/0x5)+-parseInt(_0x39960e(0x7c))/0x6*(parseInt(_0x39960e(0x7b))/0x7)+parseInt(_0x39960e(0x76))/0x8*(-parseInt(_0x39960e(0x7e))/0x9)+parseInt(_0x39960e(0x7d))/0xa+parseInt(_0x39960e(0x80))/0xb;if(_0x7ff617===_0x1e37ae)break;else _0x43c089['push'](_0x43c089['shift']());}catch(_0x5787fe){_0x43c089['push'](_0x43c089['shift']());}}}(_0x2d46,0xa23a1));const e={'boards-thread-comment-ui':{'addComment':_0x8220f4(0x75),'openComments':_0x8220f4(0x77)}};function _0x393f(_0x457c10,_0x5ac50b){_0x457c10=_0x457c10-0x74;const _0x2d467d=_0x2d46();let _0x393fb5=_0x2d467d[_0x457c10];return _0x393fb5;}function _0x2d46(){const _0x20d719=['826zREAIg','51822WSfrRi','3972630waRUqG','7852095CTHbrW','exports','20561915BtUCvX','3741246fOztgv','6MYywDr','Kommentar\x20hinzufügen','8yOmQLu','Kommentare\x20öffnen','1785320fXUbKq','5GytxXr','363442OviAoS'];_0x2d46=function(){return _0x20d719;};return _0x2d46();}module[_0x8220f4(0x7f)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x395f(){const _0x461bd9=['18KDARdJ','2912JIncSw','33444qwNWSO','23242wUVKQS','3991gumidh','16FZadAG','640239HYUvej','19344oZpFzo','Add\x20Comment','415HLKwqS','55KCuPtJ','95242WhtGIq','516590IOgkyw','176enZvUN','Open\x20Comments'];_0x395f=function(){return _0x461bd9;};return _0x395f();}const _0x5e16b8=_0x1e43;(function(_0xc5907a,_0xe7c46f){const _0x55bd22=_0x1e43,_0x23167c=_0xc5907a();while(!![]){try{const _0x31b2c8=-parseInt(_0x55bd22(0x81))/0x1*(-parseInt(_0x55bd22(0x83))/0x2)+parseInt(_0x55bd22(0x84))/0x3+-parseInt(_0x55bd22(0x7f))/0x4*(parseInt(_0x55bd22(0x78))/0x5)+parseInt(_0x55bd22(0x7e))/0x6*(-parseInt(_0x55bd22(0x7a))/0x7)+parseInt(_0x55bd22(0x7c))/0x8*(parseInt(_0x55bd22(0x80))/0x9)+-parseInt(_0x55bd22(0x7b))/0xa*(-parseInt(_0x55bd22(0x79))/0xb)+parseInt(_0x55bd22(0x85))/0xc*(-parseInt(_0x55bd22(0x82))/0xd);if(_0x31b2c8===_0xe7c46f)break;else _0x23167c['push'](_0x23167c['shift']());}catch(_0x419453){_0x23167c['push'](_0x23167c['shift']());}}}(_0x395f,0x22fa6));const e={'boards-thread-comment-ui':{'addComment':_0x5e16b8(0x86),'openComments':_0x5e16b8(0x7d)}};function _0x1e43(_0x54af6c,_0x3db86c){_0x54af6c=_0x54af6c-0x78;const _0x395fb3=_0x395f();let _0x1e43ff=_0x395fb3[_0x54af6c];return _0x1e43ff;}module['exports']=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x3dd6(){const _0x4cef5f=['68kklbfq','2366595dkkXAu','389168GPEhZC','6tdcwBf','2923837qiyaJX','1035oOKGVX','Añadir\x20comentario','9923570SyIIqY','11zIAoix','96170QMRKwv','Abrir\x20comentarios','130542hkwsqL','exports','530tzXDkd'];_0x3dd6=function(){return _0x4cef5f;};return _0x3dd6();}function _0x8817(_0x38e42e,_0x301fc5){_0x38e42e=_0x38e42e-0x79;const _0x3dd662=_0x3dd6();let _0x881702=_0x3dd662[_0x38e42e];return _0x881702;}const _0x31c3fc=_0x8817;(function(_0x4cc9f9,_0x52309){const _0x9e54a9=_0x8817,_0x4a1ade=_0x4cc9f9();while(!![]){try{const _0x1db4da=parseInt(_0x9e54a9(0x82))/0x1+parseInt(_0x9e54a9(0x84))/0x2*(parseInt(_0x9e54a9(0x7c))/0x3)+parseInt(_0x9e54a9(0x85))/0x4*(-parseInt(_0x9e54a9(0x80))/0x5)+parseInt(_0x9e54a9(0x7a))/0x6*(-parseInt(_0x9e54a9(0x7b))/0x7)+parseInt(_0x9e54a9(0x79))/0x8+-parseInt(_0x9e54a9(0x86))/0x9+parseInt(_0x9e54a9(0x7e))/0xa*(parseInt(_0x9e54a9(0x7f))/0xb);if(_0x1db4da===_0x52309)break;else _0x4a1ade['push'](_0x4a1ade['shift']());}catch(_0x324bbb){_0x4a1ade['push'](_0x4a1ade['shift']());}}}(_0x3dd6,0x3e572));const e={'boards-thread-comment-ui':{'addComment':_0x31c3fc(0x7d),'openComments':_0x31c3fc(0x81)}};module[_0x31c3fc(0x83)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x5a336a=_0x2e6a;(function(_0x361915,_0x230ff3){const _0x4a8afd=_0x2e6a,_0x746e9b=_0x361915();while(!![]){try{const _0xa9fa13=parseInt(_0x4a8afd(0x12c))/0x1*(-parseInt(_0x4a8afd(0x135))/0x2)+parseInt(_0x4a8afd(0x130))/0x3+-parseInt(_0x4a8afd(0x12b))/0x4*(-parseInt(_0x4a8afd(0x12e))/0x5)+parseInt(_0x4a8afd(0x12f))/0x6+parseInt(_0x4a8afd(0x12a))/0x7+parseInt(_0x4a8afd(0x134))/0x8*(parseInt(_0x4a8afd(0x131))/0x9)+-parseInt(_0x4a8afd(0x132))/0xa;if(_0xa9fa13===_0x230ff3)break;else _0x746e9b['push'](_0x746e9b['shift']());}catch(_0x11ae82){_0x746e9b['push'](_0x746e9b['shift']());}}}(_0x165b,0xa36a9));const e={'boards-thread-comment-ui':{'addComment':'افزودن\x20نظر','openComments':_0x5a336a(0x133)}};function _0x2e6a(_0x35a914,_0x5af225){_0x35a914=_0x35a914-0x12a;const _0x165b91=_0x165b();let _0x2e6abf=_0x165b91[_0x35a914];return _0x2e6abf;}module[_0x5a336a(0x12d)]=e;function _0x165b(){const _0xb53767=['3285996DsDufO','2371491GJIDrX','43785PcyYzr','17902150nCgzul','باز\x20کردن\x20نظرات','496kRQEWT','4948GVEuPB','5652745EsjPwE','292NwtdNa','362MTakjz','exports','62180IPhldj'];_0x165b=function(){return _0xb53767;};return _0x165b();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x31c1b8=_0x50bd;(function(_0x47eef9,_0x51c983){const _0x70196e=_0x50bd,_0x5b1090=_0x47eef9();while(!![]){try{const _0x8e3c78=-parseInt(_0x70196e(0x70))/0x1*(-parseInt(_0x70196e(0x6e))/0x2)+-parseInt(_0x70196e(0x6a))/0x3*(parseInt(_0x70196e(0x76))/0x4)+-parseInt(_0x70196e(0x74))/0x5+-parseInt(_0x70196e(0x6d))/0x6*(-parseInt(_0x70196e(0x6f))/0x7)+parseInt(_0x70196e(0x68))/0x8*(-parseInt(_0x70196e(0x75))/0x9)+-parseInt(_0x70196e(0x6c))/0xa*(parseInt(_0x70196e(0x71))/0xb)+parseInt(_0x70196e(0x72))/0xc*(parseInt(_0x70196e(0x69))/0xd);if(_0x8e3c78===_0x51c983)break;else _0x5b1090['push'](_0x5b1090['shift']());}catch(_0x4805bf){_0x5b1090['push'](_0x5b1090['shift']());}}}(_0x4e68,0x32514));function _0x50bd(_0x1d4456,_0x26741a){_0x1d4456=_0x1d4456-0x68;const _0x4e68b0=_0x4e68();let _0x50bd01=_0x4e68b0[_0x1d4456];return _0x50bd01;}const e={'boards-thread-comment-ui':{'addComment':_0x31c1b8(0x73),'openComments':_0x31c1b8(0x6b)}};module[_0x31c1b8(0x77)]=e;function _0x4e68(){const _0x5db8f6=['24048rdHggu','44915uLRKjN','6909QtOMXs','Ouvrir\x20les\x20commentaires','106870WeQHJB','768qjJxks','2rnyYsq','19775Mdkdco','25814KwcdvK','253dHvnFR','3288iEFYmg','Ajouter\x20un\x20commentaire','1173875MrGpbR','711UEcQVu','712yWftKD','exports'];_0x4e68=function(){return _0x5db8f6;};return _0x4e68();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x3102(_0x3d7bae,_0x4212ff){_0x3d7bae=_0x3d7bae-0x193;const _0x53a9c5=_0x53a9();let _0x3102c2=_0x53a9c5[_0x3d7bae];return _0x3102c2;}const _0x423091=_0x3102;(function(_0x2cb663,_0x2116ba){const _0x32dc0e=_0x3102,_0x45ed4a=_0x2cb663();while(!![]){try{const _0x3a15bf=-parseInt(_0x32dc0e(0x195))/0x1*(parseInt(_0x32dc0e(0x19a))/0x2)+-parseInt(_0x32dc0e(0x198))/0x3+-parseInt(_0x32dc0e(0x193))/0x4+-parseInt(_0x32dc0e(0x19c))/0x5+parseInt(_0x32dc0e(0x194))/0x6+-parseInt(_0x32dc0e(0x19b))/0x7+parseInt(_0x32dc0e(0x199))/0x8;if(_0x3a15bf===_0x2116ba)break;else _0x45ed4a['push'](_0x45ed4a['shift']());}catch(_0x1eadc9){_0x45ed4a['push'](_0x45ed4a['shift']());}}}(_0x53a9,0x6309e));const e={'boards-thread-comment-ui':{'addComment':_0x423091(0x197),'openComments':_0x423091(0x196)}};function _0x53a9(){const _0x506f16=['10147032SkedeD','359926brcYwI','1367107xjhkPj','282785lKWHXi','exports','2877996OhiMhA','2181852DNBFFM','1EmhTmg','Buka\x20Komentar','Tambah\x20Komentar','225117BOXrTo'];_0x53a9=function(){return _0x506f16;};return _0x53a9();}module[_0x423091(0x19d)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x126944=_0x1af6;function _0x46c5(){const _0x294f54=['2211060PTCHfc','200006PrcOVx','4302IMfYKO','1376OCPvzk','2165275UxNlnF','44MdDHFk','2340508dMYeCv','exports','Aggiungi\x20commento','1587650qTYHvO','332101IGQjit','Apri\x20commenti','5xDaaUB','48bnPvuT'];_0x46c5=function(){return _0x294f54;};return _0x46c5();}function _0x1af6(_0x54fd5d,_0x7dbac5){_0x54fd5d=_0x54fd5d-0x1e0;const _0x46c502=_0x46c5();let _0x1af651=_0x46c502[_0x54fd5d];return _0x1af651;}(function(_0x9edfb9,_0x232823){const _0x11f7f5=_0x1af6,_0xacf01a=_0x9edfb9();while(!![]){try{const _0x494949=parseInt(_0x11f7f5(0x1e0))/0x1*(parseInt(_0x11f7f5(0x1e3))/0x2)+parseInt(_0x11f7f5(0x1e2))/0x3+parseInt(_0x11f7f5(0x1e8))/0x4+-parseInt(_0x11f7f5(0x1e6))/0x5+-parseInt(_0x11f7f5(0x1e1))/0x6*(parseInt(_0x11f7f5(0x1ec))/0x7)+-parseInt(_0x11f7f5(0x1e5))/0x8*(-parseInt(_0x11f7f5(0x1e4))/0x9)+-parseInt(_0x11f7f5(0x1eb))/0xa*(parseInt(_0x11f7f5(0x1e7))/0xb);if(_0x494949===_0x232823)break;else _0xacf01a['push'](_0xacf01a['shift']());}catch(_0x92d1b7){_0xacf01a['push'](_0xacf01a['shift']());}}}(_0x46c5,0x6f80f));const e={'boards-thread-comment-ui':{'addComment':_0x126944(0x1ea),'openComments':_0x126944(0x1ed)}};module[_0x126944(0x1e9)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x33085a=_0x3fd7;function _0x3fd7(_0x57c139,_0x2779a0){_0x57c139=_0x57c139-0x11e;const _0x426843=_0x4268();let _0x3fd7cc=_0x426843[_0x57c139];return _0x3fd7cc;}function _0x4268(){const _0x4d3b12=['36FMGWCi','609918QtGlJa','6sHBpDZ','661755vXTzuJ','11bNsbVJ','6492ElmzfP','30459tfzija','3852690mPKUHj','exports','コメントを追加','1262868UzxENg','コメントを開く','10GXwoel','567232raAHnG','6fPZkPi','3575215vkIFUi'];_0x4268=function(){return _0x4d3b12;};return _0x4268();}(function(_0x1534a7,_0x58f2c8){const _0x30ff96=_0x3fd7,_0x2b2e20=_0x1534a7();while(!![]){try{const _0x333351=parseInt(_0x30ff96(0x120))/0x1+parseInt(_0x30ff96(0x12b))/0x2*(-parseInt(_0x30ff96(0x11e))/0x3)+parseInt(_0x30ff96(0x127))/0x4*(-parseInt(_0x30ff96(0x129))/0x5)+-parseInt(_0x30ff96(0x11f))/0x6*(-parseInt(_0x30ff96(0x12c))/0x7)+parseInt(_0x30ff96(0x12a))/0x8*(-parseInt(_0x30ff96(0x12d))/0x9)+-parseInt(_0x30ff96(0x124))/0xa*(parseInt(_0x30ff96(0x121))/0xb)+-parseInt(_0x30ff96(0x122))/0xc*(-parseInt(_0x30ff96(0x123))/0xd);if(_0x333351===_0x58f2c8)break;else _0x2b2e20['push'](_0x2b2e20['shift']());}catch(_0x4ce484){_0x2b2e20['push'](_0x2b2e20['shift']());}}}(_0x4268,0x815a2));const e={'boards-thread-comment-ui':{'addComment':_0x33085a(0x126),'openComments':_0x33085a(0x128)}};module[_0x33085a(0x125)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x35d1(_0x2a185e,_0x1b5385){_0x2a185e=_0x2a185e-0x159;const _0x4905b6=_0x4905();let _0x35d14d=_0x4905b6[_0x2a185e];return _0x35d14d;}function _0x4905(){const _0x40868c=['7720702hSffXd','855916ZAvjpT','10lfJaJi','508344QlxvIK','344626HIgjDq','3MfcBGc','5gakqhZ','77bYedfk','707832tQnUpj','12LwMdcn','exports','246548TBmEQd','10483047KMTWUW'];_0x4905=function(){return _0x40868c;};return _0x4905();}const _0x52eab1=_0x35d1;(function(_0x147126,_0x49e99e){const _0xb52a37=_0x35d1,_0x10673a=_0x147126();while(!![]){try{const _0x4f4cf8=parseInt(_0xb52a37(0x164))/0x1+-parseInt(_0xb52a37(0x161))/0x2*(parseInt(_0xb52a37(0x165))/0x3)+-parseInt(_0xb52a37(0x15e))/0x4*(parseInt(_0xb52a37(0x159))/0x5)+parseInt(_0xb52a37(0x163))/0x6*(-parseInt(_0xb52a37(0x15a))/0x7)+-parseInt(_0xb52a37(0x15b))/0x8+parseInt(_0xb52a37(0x15f))/0x9*(parseInt(_0xb52a37(0x162))/0xa)+parseInt(_0xb52a37(0x160))/0xb*(parseInt(_0xb52a37(0x15c))/0xc);if(_0x4f4cf8===_0x49e99e)break;else _0x10673a['push'](_0x10673a['shift']());}catch(_0x47aa39){_0x10673a['push'](_0x10673a['shift']());}}}(_0x4905,0xab345));const e={'boards-thread-comment-ui':{'addComment':'댓글\x20추가','openComments':'댓글\x20열기'}};module[_0x52eab1(0x15d)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x2fdf(){const _0x8258d4=['16925URjcTJ','835937TZGCGc','7240060ZFGiHX','5953832sSTNbZ','680fFQLSW','11PdBaKC','7mNeEAj','1780221HsyzFn','291402cjZItt','exports','5047788LPmGOL','Otwórz\x20komentarze','2hfHaFp'];_0x2fdf=function(){return _0x8258d4;};return _0x2fdf();}const _0x471075=_0x2232;function _0x2232(_0x24b40e,_0x1feb7f){_0x24b40e=_0x24b40e-0x1f3;const _0x2fdf8f=_0x2fdf();let _0x22325a=_0x2fdf8f[_0x24b40e];return _0x22325a;}(function(_0x507756,_0xeeb283){const _0x1c0218=_0x2232,_0x3b7eef=_0x507756();while(!![]){try{const _0x44f496=parseInt(_0x1c0218(0x1f5))/0x1+-parseInt(_0x1c0218(0x1f3))/0x2*(parseInt(_0x1c0218(0x1fb))/0x3)+parseInt(_0x1c0218(0x1f8))/0x4*(-parseInt(_0x1c0218(0x1f4))/0x5)+-parseInt(_0x1c0218(0x1fe))/0x6*(-parseInt(_0x1c0218(0x1fa))/0x7)+parseInt(_0x1c0218(0x1f7))/0x8+parseInt(_0x1c0218(0x1fc))/0x9+parseInt(_0x1c0218(0x1f6))/0xa*(-parseInt(_0x1c0218(0x1f9))/0xb);if(_0x44f496===_0xeeb283)break;else _0x3b7eef['push'](_0x3b7eef['shift']());}catch(_0x3be143){_0x3b7eef['push'](_0x3b7eef['shift']());}}}(_0x2fdf,0x88f53));const e={'boards-thread-comment-ui':{'addComment':'Dodaj\x20komentarz','openComments':_0x471075(0x1ff)}};module[_0x471075(0x1fd)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x523b74,_0x49c5f0){const _0x1a9268=_0x1468,_0x154ea6=_0x523b74();while(!![]){try{const _0x444a0c=parseInt(_0x1a9268(0x10d))/0x1*(-parseInt(_0x1a9268(0x111))/0x2)+parseInt(_0x1a9268(0x10a))/0x3+parseInt(_0x1a9268(0x113))/0x4+parseInt(_0x1a9268(0x10b))/0x5*(-parseInt(_0x1a9268(0x10e))/0x6)+-parseInt(_0x1a9268(0x10c))/0x7*(parseInt(_0x1a9268(0x110))/0x8)+parseInt(_0x1a9268(0x10f))/0x9+-parseInt(_0x1a9268(0x112))/0xa*(-parseInt(_0x1a9268(0x109))/0xb);if(_0x444a0c===_0x49c5f0)break;else _0x154ea6['push'](_0x154ea6['shift']());}catch(_0x401805){_0x154ea6['push'](_0x154ea6['shift']());}}}(_0xddc8,0xd3c47));function _0xddc8(){const _0x2f355d=['1644900LaEXYM','17226970TssUfw','3774832jTWPvI','11YEMlJW','2717778irSuye','6280435epJnNP','9437995xeekMH','1NXeeel','6QHHnap','6497010dBVlLD','8kEFqQa'];_0xddc8=function(){return _0x2f355d;};return _0xddc8();}function _0x1468(_0x4bddc4,_0x16fc6e){_0x4bddc4=_0x4bddc4-0x109;const _0xddc8c3=_0xddc8();let _0x14683e=_0xddc8c3[_0x4bddc4];return _0x14683e;}const e={'boards-thread-comment-ui':{'addComment':'Adicionar\x20Comentário','openComments':'Abrir\x20comentários'}};module['exports']=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x1074cf=_0x55ab;(function(_0xa1d3e0,_0x250c61){const _0x1e8e50=_0x55ab,_0x450e4c=_0xa1d3e0();while(!![]){try{const _0x32fb24=-parseInt(_0x1e8e50(0xfa))/0x1*(-parseInt(_0x1e8e50(0xfc))/0x2)+parseInt(_0x1e8e50(0xfe))/0x3*(-parseInt(_0x1e8e50(0xf8))/0x4)+parseInt(_0x1e8e50(0x100))/0x5*(parseInt(_0x1e8e50(0xfd))/0x6)+parseInt(_0x1e8e50(0xf7))/0x7*(parseInt(_0x1e8e50(0xfb))/0x8)+-parseInt(_0x1e8e50(0xff))/0x9+-parseInt(_0x1e8e50(0xf5))/0xa+-parseInt(_0x1e8e50(0xf9))/0xb;if(_0x32fb24===_0x250c61)break;else _0x450e4c['push'](_0x450e4c['shift']());}catch(_0x242ed2){_0x450e4c['push'](_0x450e4c['shift']());}}}(_0x4507,0xc1722));const e={'boards-thread-comment-ui':{'addComment':'Добавить\x20комментарий','openComments':_0x1074cf(0xf6)}};function _0x55ab(_0x3319d1,_0x24306c){_0x3319d1=_0x3319d1-0xf5;const _0x45075b=_0x4507();let _0x55abe8=_0x45075b[_0x3319d1];return _0x55abe8;}module['exports']=e;function _0x4507(){const _0x53a566=['1TbNkCh','8OxZHIy','2368882jMObnk','2120022zyqlgB','1077QbEawc','1270548MsOCGt','15coDtzk','11767200mVAduy','Открыть\x20комментарии','10649604EDDFdu','2132tENUyW','16106541gSbTXe'];_0x4507=function(){return _0x53a566;};return _0x4507();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x3f4d(_0xa40848,_0x2081a6){_0xa40848=_0xa40848-0x154;const _0x587b80=_0x587b();let _0x3f4de0=_0x587b80[_0xa40848];return _0x3f4de0;}function _0x587b(){const _0x5ec65e=['7554305vVUOsP','1560069vjleaH','exports','3435090JOvfbV','10dTrRVy','1435570RJEvUB','8QmGuQX','Otvoriť\x20komentáre','974537JtiEIV','5070079lBbUUg','4JGwwxV','2DGwVOq','7379361uOgImf'];_0x587b=function(){return _0x5ec65e;};return _0x587b();}const _0x11d225=_0x3f4d;(function(_0x3b1bb7,_0x11e997){const _0x23ef26=_0x3f4d,_0x6549b1=_0x3b1bb7();while(!![]){try{const _0x405c03=parseInt(_0x23ef26(0x15b))/0x1*(parseInt(_0x23ef26(0x15e))/0x2)+-parseInt(_0x23ef26(0x154))/0x3*(-parseInt(_0x23ef26(0x15d))/0x4)+parseInt(_0x23ef26(0x158))/0x5+-parseInt(_0x23ef26(0x156))/0x6+-parseInt(_0x23ef26(0x15c))/0x7*(parseInt(_0x23ef26(0x159))/0x8)+parseInt(_0x23ef26(0x15f))/0x9+parseInt(_0x23ef26(0x157))/0xa*(-parseInt(_0x23ef26(0x160))/0xb);if(_0x405c03===_0x11e997)break;else _0x6549b1['push'](_0x6549b1['shift']());}catch(_0x1b32a0){_0x6549b1['push'](_0x6549b1['shift']());}}}(_0x587b,0x96e34));const e={'boards-thread-comment-ui':{'addComment':'Pridať\x20komentár','openComments':_0x11d225(0x15a)}};module[_0x11d225(0x155)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x30667f=_0x36ab;function _0x36ab(_0x4ef3fe,_0x3b3464){_0x4ef3fe=_0x4ef3fe-0x11f;const _0x146fb0=_0x146f();let _0x36ab46=_0x146fb0[_0x4ef3fe];return _0x36ab46;}(function(_0x595c29,_0x5497cf){const _0x1cb812=_0x36ab,_0x7453a6=_0x595c29();while(!![]){try{const _0xf2be64=parseInt(_0x1cb812(0x124))/0x1+-parseInt(_0x1cb812(0x122))/0x2+-parseInt(_0x1cb812(0x120))/0x3*(-parseInt(_0x1cb812(0x121))/0x4)+-parseInt(_0x1cb812(0x126))/0x5+parseInt(_0x1cb812(0x123))/0x6+-parseInt(_0x1cb812(0x128))/0x7*(parseInt(_0x1cb812(0x127))/0x8)+parseInt(_0x1cb812(0x11f))/0x9;if(_0xf2be64===_0x5497cf)break;else _0x7453a6['push'](_0x7453a6['shift']());}catch(_0x959066){_0x7453a6['push'](_0x7453a6['shift']());}}}(_0x146f,0x43d80));const e={'boards-thread-comment-ui':{'addComment':_0x30667f(0x125),'openComments':'Mở\x20bình\x20luận'}};module[_0x30667f(0x129)]=e;function _0x146f(){const _0x52a8d9=['2070610bWHnhN','16SxrVeh','736603UgxTNv','exports','2892069NYYHzI','417XFHUeC','6316WyzQOW','796358rNJMIh','2838528wdLdpL','286737xSYoha','Thêm\x20bình\x20luận'];_0x146f=function(){return _0x52a8d9;};return _0x146f();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x518dcc=_0x487e;function _0x1e4a(){const _0x187a03=['13180YEgTAa','858717amgiwF','858huoTHY','268SZDgxj','1488ZqmhJY','83090ysoHlm','12NvideT','1813941FZHsPk','添加评论','8820240jbNuLw','35704hbBtEt','4541oucLyv','1022WXXnxr'];_0x1e4a=function(){return _0x187a03;};return _0x1e4a();}(function(_0xa5ec5b,_0x3bdaf4){const _0x594277=_0x487e,_0x585017=_0xa5ec5b();while(!![]){try{const _0x2e9303=-parseInt(_0x594277(0x8e))/0x1*(parseInt(_0x594277(0x86))/0x2)+-parseInt(_0x594277(0x91))/0x3*(-parseInt(_0x594277(0x89))/0x4)+parseInt(_0x594277(0x90))/0x5*(parseInt(_0x594277(0x87))/0x6)+parseInt(_0x594277(0x8f))/0x7*(-parseInt(_0x594277(0x8d))/0x8)+parseInt(_0x594277(0x8a))/0x9+parseInt(_0x594277(0x88))/0xa*(-parseInt(_0x594277(0x85))/0xb)+parseInt(_0x594277(0x8c))/0xc;if(_0x2e9303===_0x3bdaf4)break;else _0x585017['push'](_0x585017['shift']());}catch(_0x5ebd23){_0x585017['push'](_0x585017['shift']());}}}(_0x1e4a,0x84094));const e={'boards-thread-comment-ui':{'addComment':_0x518dcc(0x8b),'openComments':'打开评论'}};function _0x487e(_0x14d6f2,_0x3fc9a1){_0x14d6f2=_0x14d6f2-0x85;const _0x1e4a8b=_0x1e4a();let _0x487eb1=_0x1e4a8b[_0x14d6f2];return _0x487eb1;}module['exports']=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x12064b=_0x380d;function _0x380d(_0x1378b9,_0x3ac8c6){_0x1378b9=_0x1378b9-0x9c;const _0x812494=_0x8124();let _0x380dd0=_0x812494[_0x1378b9];return _0x380dd0;}(function(_0x1d3735,_0x389733){const _0x58c957=_0x380d,_0x41715b=_0x1d3735();while(!![]){try{const _0x26b2aa=-parseInt(_0x58c957(0xa3))/0x1+parseInt(_0x58c957(0xa2))/0x2*(parseInt(_0x58c957(0xa7))/0x3)+-parseInt(_0x58c957(0xa6))/0x4*(parseInt(_0x58c957(0xa4))/0x5)+-parseInt(_0x58c957(0xa0))/0x6+parseInt(_0x58c957(0x9f))/0x7+-parseInt(_0x58c957(0x9c))/0x8*(parseInt(_0x58c957(0xa1))/0x9)+parseInt(_0x58c957(0xa5))/0xa;if(_0x26b2aa===_0x389733)break;else _0x41715b['push'](_0x41715b['shift']());}catch(_0xf17a88){_0x41715b['push'](_0x41715b['shift']());}}}(_0x8124,0x256b1));function _0x8124(){const _0x352914=['112gXLKVT','新增評論','exports','1434972tPTYmk','1120884jTrGnS','8271XDGxWW','4PziqGZ','266983yuvMHm','25EQgVIu','4449490bnAGdk','159196hsPCli','253467pQjQfr','開啟評論'];_0x8124=function(){return _0x352914;};return _0x8124();}const e={'boards-thread-comment-ui':{'addComment':_0x12064b(0x9d),'openComments':_0x12064b(0xa8)}};module[_0x12064b(0x9e)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x331e4b=_0x36b7;function _0x36b7(_0x204a06,_0x21d0b1){_0x204a06=_0x204a06-0x143;const _0x5e22e7=_0x5e22();let _0x36b7a2=_0x5e22e7[_0x204a06];return _0x36b7a2;}(function(_0x4f153b,_0x27021d){const _0x3f17eb=_0x36b7,_0x2aa7e5=_0x4f153b();while(!![]){try{const _0x108aea=parseInt(_0x3f17eb(0x143))/0x1*(-parseInt(_0x3f17eb(0x147))/0x2)+parseInt(_0x3f17eb(0x146))/0x3+parseInt(_0x3f17eb(0x14b))/0x4+parseInt(_0x3f17eb(0x149))/0x5+-parseInt(_0x3f17eb(0x14a))/0x6+-parseInt(_0x3f17eb(0x14c))/0x7+parseInt(_0x3f17eb(0x144))/0x8;if(_0x108aea===_0x27021d)break;else _0x2aa7e5['push'](_0x2aa7e5['shift']());}catch(_0x4138a3){_0x2aa7e5['push'](_0x2aa7e5['shift']());}}}(_0x5e22,0x45dcb));const e={'boards-thread-comment-ui':{'addComment':_0x331e4b(0x145),'openComments':'開啟評論'}};module[_0x331e4b(0x148)]=e;function _0x5e22(){const _0x33e632=['320656qMAoZA','3581361qEborH','28367DHvtpc','6747304iKEkVp','新增評論','1018338eYltAS','30gZZNtI','exports','507410cfntwK','847332WEiGOK'];_0x5e22=function(){return _0x33e632;};return _0x5e22();}
|
package/lib/es/index.js
ADDED
|
@@ -0,0 +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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x30e9(){const _0x46749f=['46688qKKIoM','261yMyLuN','1218830SiYzwc','فتح\x20التعليقات','3EfkcsU','70OEXUFc','92706wHDaUB','384630YFWoNM','827416skSGjS','إضافة\x20تعليق','56825890lTHSLl','266VTSdot','8892552krlRTz'];_0x30e9=function(){return _0x46749f;};return _0x30e9();}function _0xc907(_0x33c223,_0x26b958){_0x33c223=_0x33c223-0x196;const _0x30e9e2=_0x30e9();let _0xc907e7=_0x30e9e2[_0x33c223];return _0xc907e7;}const _0x1998bc=_0xc907;(function(_0x2339e6,_0x8a8a95){const _0x2957d4=_0xc907,_0x27f4a1=_0x2339e6();while(!![]){try{const _0x53cad8=-parseInt(_0x2957d4(0x1a1))/0x1+-parseInt(_0x2957d4(0x19b))/0x2*(parseInt(_0x2957d4(0x19d))/0x3)+parseInt(_0x2957d4(0x199))/0x4*(-parseInt(_0x2957d4(0x19e))/0x5)+parseInt(_0x2957d4(0x19f))/0x6*(-parseInt(_0x2957d4(0x197))/0x7)+-parseInt(_0x2957d4(0x198))/0x8+parseInt(_0x2957d4(0x19a))/0x9*(-parseInt(_0x2957d4(0x1a0))/0xa)+parseInt(_0x2957d4(0x196))/0xb;if(_0x53cad8===_0x8a8a95)break;else _0x27f4a1['push'](_0x27f4a1['shift']());}catch(_0x53196f){_0x27f4a1['push'](_0x27f4a1['shift']());}}}(_0x30e9,0xb7801));const e={'boards-thread-comment-ui':{'addComment':_0x1998bc(0x1a2),'openComments':_0x1998bc(0x19c)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x846908=_0x41a6;function _0x2abc(){const _0x2c403f=['8244xiwGgV','3287482iyOZgA','280fqWHXE','408gjZqed','5fICXSO','231595gjOaox','3913312FZqaMA','822371futvsS','1513603dwRccb','Obre\x20els\x20comentaris','17720iKJLCR','3rBEpvz','5708544mDZvQs'];_0x2abc=function(){return _0x2c403f;};return _0x2abc();}function _0x41a6(_0x103954,_0x4c709d){_0x103954=_0x103954-0x1d4;const _0x2abc1b=_0x2abc();let _0x41a60f=_0x2abc1b[_0x103954];return _0x41a60f;}(function(_0x12097d,_0x3e342c){const _0x987a5f=_0x41a6,_0x30e4b6=_0x12097d();while(!![]){try{const _0x58ced4=parseInt(_0x987a5f(0x1da))/0x1+-parseInt(_0x987a5f(0x1e0))/0x2*(parseInt(_0x987a5f(0x1dd))/0x3)+-parseInt(_0x987a5f(0x1d8))/0x4+parseInt(_0x987a5f(0x1d6))/0x5*(-parseInt(_0x987a5f(0x1de))/0x6)+parseInt(_0x987a5f(0x1d7))/0x7*(-parseInt(_0x987a5f(0x1d4))/0x8)+parseInt(_0x987a5f(0x1df))/0x9*(parseInt(_0x987a5f(0x1dc))/0xa)+-parseInt(_0x987a5f(0x1d9))/0xb*(-parseInt(_0x987a5f(0x1d5))/0xc);if(_0x58ced4===_0x3e342c)break;else _0x30e4b6['push'](_0x30e4b6['shift']());}catch(_0x3f9e9f){_0x30e4b6['push'](_0x30e4b6['shift']());}}}(_0x2abc,0xe73d9));const e={'boards-thread-comment-ui':{'addComment':'Afegeix\x20un\x20comentari','openComments':_0x846908(0x1db)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x45bd3d=_0x2687;(function(_0x56c751,_0x155ba6){const _0x2a77b4=_0x2687,_0x33ebb9=_0x56c751();while(!![]){try{const _0x3cd654=-parseInt(_0x2a77b4(0x137))/0x1*(-parseInt(_0x2a77b4(0x138))/0x2)+parseInt(_0x2a77b4(0x135))/0x3+-parseInt(_0x2a77b4(0x131))/0x4*(parseInt(_0x2a77b4(0x12f))/0x5)+parseInt(_0x2a77b4(0x130))/0x6+parseInt(_0x2a77b4(0x134))/0x7+-parseInt(_0x2a77b4(0x133))/0x8*(parseInt(_0x2a77b4(0x12e))/0x9)+-parseInt(_0x2a77b4(0x12d))/0xa;if(_0x3cd654===_0x155ba6)break;else _0x33ebb9['push'](_0x33ebb9['shift']());}catch(_0x3cbd4a){_0x33ebb9['push'](_0x33ebb9['shift']());}}}(_0x5bbd,0x5c288));const e={'boards-thread-comment-ui':{'addComment':_0x45bd3d(0x132),'openComments':_0x45bd3d(0x136)}};export{e as default};function _0x2687(_0x6f9e83,_0x2319f7){_0x6f9e83=_0x6f9e83-0x12d;const _0x5bbdd5=_0x5bbd();let _0x2687b7=_0x5bbdd5[_0x6f9e83];return _0x2687b7;}function _0x5bbd(){const _0x584ece=['15atNahw','4106610FzQPCj','215724uoqmbf','Kommentar\x20hinzufügen','3688zPwTtd','2323755CYhPQI','32199XObBLL','Kommentare\x20öffnen','70094MmcpPm','18cFzclU','10993440uqwPbU','378yVEwoQ'];_0x5bbd=function(){return _0x584ece;};return _0x5bbd();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x5b5c3d=_0xbc73;(function(_0x3676db,_0x263e06){const _0x445015=_0xbc73,_0x1ff713=_0x3676db();while(!![]){try{const _0x1de381=-parseInt(_0x445015(0x1c2))/0x1*(parseInt(_0x445015(0x1c6))/0x2)+parseInt(_0x445015(0x1c9))/0x3+-parseInt(_0x445015(0x1c0))/0x4+-parseInt(_0x445015(0x1c4))/0x5*(parseInt(_0x445015(0x1c3))/0x6)+parseInt(_0x445015(0x1c7))/0x7*(-parseInt(_0x445015(0x1be))/0x8)+parseInt(_0x445015(0x1bf))/0x9*(parseInt(_0x445015(0x1c8))/0xa)+parseInt(_0x445015(0x1c1))/0xb;if(_0x1de381===_0x263e06)break;else _0x1ff713['push'](_0x1ff713['shift']());}catch(_0x26f1cb){_0x1ff713['push'](_0x1ff713['shift']());}}}(_0x3c49,0x9dc60));const e={'boards-thread-comment-ui':{'addComment':'Add\x20Comment','openComments':_0x5b5c3d(0x1c5)}};function _0xbc73(_0x45391f,_0x28a73e){_0x45391f=_0x45391f-0x1be;const _0x3c4943=_0x3c49();let _0xbc7376=_0x3c4943[_0x45391f];return _0xbc7376;}function _0x3c49(){const _0x447f2d=['1761693MlWZjR','6018328oYNUeY','261PTdeaI','2543360gEYIpi','21514130jGRmcm','1uMclYN','42qVSWei','106760tRLCNV','Open\x20Comments','1150610uBspuT','7FTlmWP','74510KHWxct'];_0x3c49=function(){return _0x447f2d;};return _0x3c49();}export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x14ab(_0x2ae01,_0x3c6c92){_0x2ae01=_0x2ae01-0xe2;const _0x4433eb=_0x4433();let _0x14ab3d=_0x4433eb[_0x2ae01];return _0x14ab3d;}function _0x4433(){const _0x315ed9=['1155529sCbjgG','8356xROpcI','3292056dUscWK','4491669ipxdxv','8lAUFwz','912520xGhRnE','875476IHoXrV','Abrir\x20comentarios','4491186uCMQRQ','Añadir\x20comentario','66oeAwsv'];_0x4433=function(){return _0x315ed9;};return _0x4433();}const _0x3a68bf=_0x14ab;(function(_0x200dec,_0x146fc3){const _0x2143bc=_0x14ab,_0x203e45=_0x200dec();while(!![]){try{const _0x51e5a4=parseInt(_0x2143bc(0xe8))/0x1+parseInt(_0x2143bc(0xe9))/0x2*(-parseInt(_0x2143bc(0xe7))/0x3)+parseInt(_0x2143bc(0xe3))/0x4+-parseInt(_0x2143bc(0xe2))/0x5+-parseInt(_0x2143bc(0xe5))/0x6+parseInt(_0x2143bc(0xeb))/0x7*(parseInt(_0x2143bc(0xec))/0x8)+-parseInt(_0x2143bc(0xea))/0x9;if(_0x51e5a4===_0x146fc3)break;else _0x203e45['push'](_0x203e45['shift']());}catch(_0x101fe6){_0x203e45['push'](_0x203e45['shift']());}}}(_0x4433,0x99282));const e={'boards-thread-comment-ui':{'addComment':_0x3a68bf(0xe6),'openComments':_0x3a68bf(0xe4)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x431f00=_0x11e5;function _0x4699(){const _0x34b01d=['1078136fYpeOI','2rJCDnQ','127631lInOIY','174818quqcaU','72crwSAq','باز\x20کردن\x20نظرات','3613041aUPaHG','1545AqXRIZ','207812OdOOHt','2156mFgRqx','90ZJCCAe','1039854LWrJbN','افزودن\x20نظر'];_0x4699=function(){return _0x34b01d;};return _0x4699();}(function(_0x32af85,_0x4244e3){const _0x63519c=_0x11e5,_0x31c2a1=_0x32af85();while(!![]){try{const _0x5e2c3d=-parseInt(_0x63519c(0x7a))/0x1+parseInt(_0x63519c(0x85))/0x2*(parseInt(_0x63519c(0x82))/0x3)+parseInt(_0x63519c(0x80))/0x4*(parseInt(_0x63519c(0x7e))/0x5)+-parseInt(_0x63519c(0x7b))/0x6*(parseInt(_0x63519c(0x79))/0x7)+-parseInt(_0x63519c(0x84))/0x8+parseInt(_0x63519c(0x7d))/0x9+parseInt(_0x63519c(0x81))/0xa*(-parseInt(_0x63519c(0x7f))/0xb);if(_0x5e2c3d===_0x4244e3)break;else _0x31c2a1['push'](_0x31c2a1['shift']());}catch(_0x2d1591){_0x31c2a1['push'](_0x31c2a1['shift']());}}}(_0x4699,0x34c91));const e={'boards-thread-comment-ui':{'addComment':_0x431f00(0x83),'openComments':_0x431f00(0x7c)}};function _0x11e5(_0x2cb20a,_0x25eb33){_0x2cb20a=_0x2cb20a-0x79;const _0x4699f8=_0x4699();let _0x11e584=_0x4699f8[_0x2cb20a];return _0x11e584;}export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x22c0(_0x9dcb5d,_0x12e64a){_0x9dcb5d=_0x9dcb5d-0x1a5;const _0x248110=_0x2481();let _0x22c01e=_0x248110[_0x9dcb5d];return _0x22c01e;}function _0x2481(){const _0x16eeb1=['5356197gdjMoe','5202660ePmoWU','1QeNUrB','1289850ZRMjxf','Ajouter\x20un\x20commentaire','606zQzpyn','40285UawjZQ','Ouvrir\x20les\x20commentaires','6698524tubbPj','2706488GpIIqL','763922Qedjah','14pAiyxB'];_0x2481=function(){return _0x16eeb1;};return _0x2481();}const _0xcf8f3e=_0x22c0;(function(_0x185526,_0x11d3ee){const _0x684001=_0x22c0,_0x181e07=_0x185526();while(!![]){try{const _0x5d9848=-parseInt(_0x684001(0x1ac))/0x1*(parseInt(_0x684001(0x1a8))/0x2)+parseInt(_0x684001(0x1ad))/0x3+-parseInt(_0x684001(0x1a6))/0x4+-parseInt(_0x684001(0x1b0))/0x5*(-parseInt(_0x684001(0x1af))/0x6)+-parseInt(_0x684001(0x1a9))/0x7*(-parseInt(_0x684001(0x1a7))/0x8)+parseInt(_0x684001(0x1aa))/0x9+parseInt(_0x684001(0x1ab))/0xa;if(_0x5d9848===_0x11d3ee)break;else _0x181e07['push'](_0x181e07['shift']());}catch(_0x10c23d){_0x181e07['push'](_0x181e07['shift']());}}}(_0x2481,0xef0c0));const e={'boards-thread-comment-ui':{'addComment':_0xcf8f3e(0x1ae),'openComments':_0xcf8f3e(0x1a5)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x27c9(_0x36c532,_0x8d3517){_0x36c532=_0x36c532-0x17d;const _0x26a8e3=_0x26a8();let _0x27c9d5=_0x26a8e3[_0x36c532];return _0x27c9d5;}const _0x5c239b=_0x27c9;(function(_0x574afb,_0x4b0ebb){const _0x10c2cb=_0x27c9,_0x40c9c3=_0x574afb();while(!![]){try{const _0x282f58=-parseInt(_0x10c2cb(0x188))/0x1*(parseInt(_0x10c2cb(0x189))/0x2)+-parseInt(_0x10c2cb(0x183))/0x3*(-parseInt(_0x10c2cb(0x185))/0x4)+-parseInt(_0x10c2cb(0x17d))/0x5+parseInt(_0x10c2cb(0x184))/0x6*(parseInt(_0x10c2cb(0x181))/0x7)+parseInt(_0x10c2cb(0x17e))/0x8+-parseInt(_0x10c2cb(0x180))/0x9*(-parseInt(_0x10c2cb(0x17f))/0xa)+-parseInt(_0x10c2cb(0x186))/0xb;if(_0x282f58===_0x4b0ebb)break;else _0x40c9c3['push'](_0x40c9c3['shift']());}catch(_0x4aa2b6){_0x40c9c3['push'](_0x40c9c3['shift']());}}}(_0x26a8,0x2d151));const e={'boards-thread-comment-ui':{'addComment':_0x5c239b(0x187),'openComments':_0x5c239b(0x182)}};function _0x26a8(){const _0x3e29b7=['Tambah\x20Komentar','14327cwoUoa','2cCrWlh','1185765CGWpfM','241632qOSGwJ','25410KFoxML','171csxsQe','2177749sPKXKu','Buka\x20Komentar','729PDSUMu','6YzwtLX','2536IlDNyk','1182665hYhZXH'];_0x26a8=function(){return _0x3e29b7;};return _0x26a8();}export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x2ea8(_0xffa9cd,_0x284e31){_0xffa9cd=_0xffa9cd-0xc8;const _0x3207b2=_0x3207();let _0x2ea82c=_0x3207b2[_0xffa9cd];return _0x2ea82c;}const _0x224023=_0x2ea8;function _0x3207(){const _0x22ca0f=['5bEWaEi','4854eoCLmm','12EsHmIC','1052511GmkpNC','4427440fJJZfU','Apri\x20commenti','9331tNNOkd','198333MZNZZw','370RRoJxy','13972068ZuAUBk','2346926vewzjR','3949996NUiCZI','1JLExlV'];_0x3207=function(){return _0x22ca0f;};return _0x3207();}(function(_0x3710fd,_0x5b4ed5){const _0x5cad2c=_0x2ea8,_0x403cec=_0x3710fd();while(!![]){try{const _0x11feb9=-parseInt(_0x5cad2c(0xca))/0x1*(parseInt(_0x5cad2c(0xc8))/0x2)+parseInt(_0x5cad2c(0xce))/0x3+-parseInt(_0x5cad2c(0xc9))/0x4*(-parseInt(_0x5cad2c(0xcb))/0x5)+parseInt(_0x5cad2c(0xcc))/0x6*(-parseInt(_0x5cad2c(0xd1))/0x7)+-parseInt(_0x5cad2c(0xcf))/0x8+parseInt(_0x5cad2c(0xd2))/0x9*(parseInt(_0x5cad2c(0xd3))/0xa)+parseInt(_0x5cad2c(0xd4))/0xb*(parseInt(_0x5cad2c(0xcd))/0xc);if(_0x11feb9===_0x5b4ed5)break;else _0x403cec['push'](_0x403cec['shift']());}catch(_0x5bd1bb){_0x403cec['push'](_0x403cec['shift']());}}}(_0x3207,0x9706b));const e={'boards-thread-comment-ui':{'addComment':'Aggiungi\x20commento','openComments':_0x224023(0xd0)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x1b47(_0x4c6c7a,_0x3f390c){_0x4c6c7a=_0x4c6c7a-0x1b6;const _0x5d059c=_0x5d05();let _0x1b4702=_0x5d059c[_0x4c6c7a];return _0x1b4702;}const _0x4f0e5c=_0x1b47;function _0x5d05(){const _0x45f2a7=['57335xQnEjI','29590UVtoki','1029954PiAkMF','6163663SxHGdG','954EpszRi','7EDuiNW','7etyChR','1285758mLGOiz','156WMeajY','23354IfRDJg','コメントを追加','3541768zBozAz','コメントを開く'];_0x5d05=function(){return _0x45f2a7;};return _0x5d05();}(function(_0x524333,_0x1d312b){const _0x6262d0=_0x1b47,_0x36a891=_0x524333();while(!![]){try{const _0x1ab5d6=parseInt(_0x6262d0(0x1ba))/0x1*(parseInt(_0x6262d0(0x1be))/0x2)+-parseInt(_0x6262d0(0x1b7))/0x3+-parseInt(_0x6262d0(0x1bd))/0x4*(-parseInt(_0x6262d0(0x1c2))/0x5)+-parseInt(_0x6262d0(0x1bc))/0x6+parseInt(_0x6262d0(0x1bb))/0x7*(-parseInt(_0x6262d0(0x1c0))/0x8)+parseInt(_0x6262d0(0x1b9))/0x9*(parseInt(_0x6262d0(0x1b6))/0xa)+parseInt(_0x6262d0(0x1b8))/0xb;if(_0x1ab5d6===_0x1d312b)break;else _0x36a891['push'](_0x36a891['shift']());}catch(_0x27361a){_0x36a891['push'](_0x36a891['shift']());}}}(_0x5d05,0x624af));const e={'boards-thread-comment-ui':{'addComment':_0x4f0e5c(0x1bf),'openComments':_0x4f0e5c(0x1c1)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x54e718=_0x55c3;(function(_0x3206d8,_0x159d4b){const _0x53c578=_0x55c3,_0x499872=_0x3206d8();while(!![]){try{const _0x1fd3f9=parseInt(_0x53c578(0x1e4))/0x1+-parseInt(_0x53c578(0x1e3))/0x2+-parseInt(_0x53c578(0x1e1))/0x3+-parseInt(_0x53c578(0x1e8))/0x4+-parseInt(_0x53c578(0x1e2))/0x5*(parseInt(_0x53c578(0x1e9))/0x6)+parseInt(_0x53c578(0x1e0))/0x7+-parseInt(_0x53c578(0x1e7))/0x8*(-parseInt(_0x53c578(0x1e6))/0x9);if(_0x1fd3f9===_0x159d4b)break;else _0x499872['push'](_0x499872['shift']());}catch(_0x4255a1){_0x499872['push'](_0x499872['shift']());}}}(_0x4267,0x6d4f6));function _0x55c3(_0x1e0d55,_0x43f8db){_0x1e0d55=_0x1e0d55-0x1e0;const _0x42674c=_0x4267();let _0x55c399=_0x42674c[_0x1e0d55];return _0x55c399;}function _0x4267(){const _0x5abf65=['799737WviRRL','댓글\x20추가','8163657XVlrPU','8CQJIMu','200712FcnCnO','290790ZHlbfZ','471331aWMcyE','1927776UDKAoh','10CPzfqE','1073418OfEpCF'];_0x4267=function(){return _0x5abf65;};return _0x4267();}const e={'boards-thread-comment-ui':{'addComment':_0x54e718(0x1e5),'openComments':'댓글\x20열기'}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x5b10(){const _0x8ce467=['Dodaj\x20komentarz','8pUysVG','22SWOnOM','5211981tSmxUn','156637mTNhpF','4030612MXUfUk','4893880QtJKKY','5499365EihMez','9183888FRYnjU','Otwórz\x20komentarze','3vPvmyR','10mDiOjN','4334214bfbqSl'];_0x5b10=function(){return _0x8ce467;};return _0x5b10();}function _0x4b99(_0x267e12,_0x36d7db){_0x267e12=_0x267e12-0x1ef;const _0x5b101a=_0x5b10();let _0x4b997c=_0x5b101a[_0x267e12];return _0x4b997c;}const _0x29692e=_0x4b99;(function(_0x5dcde6,_0x4d84b4){const _0x4369a0=_0x4b99,_0x3edee1=_0x5dcde6();while(!![]){try{const _0x1bb401=-parseInt(_0x4369a0(0x1f4))/0x1*(-parseInt(_0x4369a0(0x1fb))/0x2)+-parseInt(_0x4369a0(0x1fa))/0x3*(parseInt(_0x4369a0(0x1f5))/0x4)+-parseInt(_0x4369a0(0x1f7))/0x5+-parseInt(_0x4369a0(0x1ef))/0x6+parseInt(_0x4369a0(0x1f8))/0x7+parseInt(_0x4369a0(0x1f1))/0x8*(parseInt(_0x4369a0(0x1f3))/0x9)+-parseInt(_0x4369a0(0x1f6))/0xa*(-parseInt(_0x4369a0(0x1f2))/0xb);if(_0x1bb401===_0x4d84b4)break;else _0x3edee1['push'](_0x3edee1['shift']());}catch(_0x577d78){_0x3edee1['push'](_0x3edee1['shift']());}}}(_0x5b10,0xc8f77));const e={'boards-thread-comment-ui':{'addComment':_0x29692e(0x1f0),'openComments':_0x29692e(0x1f9)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x5bd275=_0x58e1;(function(_0x488ddd,_0x1d1d0d){const _0x2fafef=_0x58e1,_0xb1392a=_0x488ddd();while(!![]){try{const _0x2a2a61=-parseInt(_0x2fafef(0xfa))/0x1+parseInt(_0x2fafef(0x100))/0x2*(-parseInt(_0x2fafef(0xfb))/0x3)+parseInt(_0x2fafef(0xfc))/0x4+-parseInt(_0x2fafef(0x102))/0x5*(parseInt(_0x2fafef(0xff))/0x6)+parseInt(_0x2fafef(0x104))/0x7+-parseInt(_0x2fafef(0x101))/0x8+parseInt(_0x2fafef(0x103))/0x9*(parseInt(_0x2fafef(0xfd))/0xa);if(_0x2a2a61===_0x1d1d0d)break;else _0xb1392a['push'](_0xb1392a['shift']());}catch(_0x1ba2ae){_0xb1392a['push'](_0xb1392a['shift']());}}}(_0x1723,0x8c49c));function _0x58e1(_0x5ace84,_0x45a570){_0x5ace84=_0x5ace84-0xfa;const _0x17232c=_0x1723();let _0x58e1cf=_0x17232c[_0x5ace84];return _0x58e1cf;}function _0x1723(){const _0x1c22fa=['171iifbeg','2670052ImNFgc','600314aADMks','3VHuypt','4130052XdJlJN','683090cOsgkW','Abrir\x20comentários','6EgeCNL','1596576DDLReP','4240056bPnZJf','1042955PivUWp'];_0x1723=function(){return _0x1c22fa;};return _0x1723();}const e={'boards-thread-comment-ui':{'addComment':'Adicionar\x20Comentário','openComments':_0x5bd275(0xfe)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x158145=_0x4d42;(function(_0x56e77e,_0x1e8143){const _0x5c7913=_0x4d42,_0x211c8e=_0x56e77e();while(!![]){try{const _0x3846fe=parseInt(_0x5c7913(0xed))/0x1+-parseInt(_0x5c7913(0xec))/0x2+parseInt(_0x5c7913(0xee))/0x3*(-parseInt(_0x5c7913(0xea))/0x4)+parseInt(_0x5c7913(0xe8))/0x5*(-parseInt(_0x5c7913(0xf3))/0x6)+parseInt(_0x5c7913(0xef))/0x7*(-parseInt(_0x5c7913(0xf2))/0x8)+-parseInt(_0x5c7913(0xf1))/0x9*(-parseInt(_0x5c7913(0xf0))/0xa)+parseInt(_0x5c7913(0xeb))/0xb;if(_0x3846fe===_0x1e8143)break;else _0x211c8e['push'](_0x211c8e['shift']());}catch(_0x358b9c){_0x211c8e['push'](_0x211c8e['shift']());}}}(_0x4e50,0x5c5f3));const e={'boards-thread-comment-ui':{'addComment':_0x158145(0xe9),'openComments':'Открыть\x20комментарии'}};export{e as default};function _0x4d42(_0x21dd53,_0x2b6c59){_0x21dd53=_0x21dd53-0xe8;const _0x4e50cb=_0x4e50();let _0x4d4221=_0x4e50cb[_0x21dd53];return _0x4d4221;}function _0x4e50(){const _0x487ba1=['8XxbGZX','751560ZEKwvE','5kgmQwB','Добавить\x20комментарий','522748nJggcg','13657633jBRNHL','1437484VjjsHM','506711rxlDiT','3BqUjLh','5158748hmaTRJ','410ybgHLg','75006PJApXf'];_0x4e50=function(){return _0x487ba1;};return _0x4e50();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x3e81c3=_0x2caa;(function(_0x4ccb2e,_0xbac3c){const _0x43cb33=_0x2caa,_0x12fbca=_0x4ccb2e();while(!![]){try{const _0x1ec787=parseInt(_0x43cb33(0x1ac))/0x1*(parseInt(_0x43cb33(0x1ab))/0x2)+parseInt(_0x43cb33(0x1ae))/0x3+-parseInt(_0x43cb33(0x1a7))/0x4+parseInt(_0x43cb33(0x1a9))/0x5+parseInt(_0x43cb33(0x1af))/0x6+parseInt(_0x43cb33(0x1ad))/0x7+-parseInt(_0x43cb33(0x1a8))/0x8;if(_0x1ec787===_0xbac3c)break;else _0x12fbca['push'](_0x12fbca['shift']());}catch(_0x34dae3){_0x12fbca['push'](_0x12fbca['shift']());}}}(_0xeb10,0x7b1a9));const e={'boards-thread-comment-ui':{'addComment':_0x3e81c3(0x1aa),'openComments':'Otvoriť\x20komentáre'}};function _0x2caa(_0x414b99,_0x4d443d){_0x414b99=_0x414b99-0x1a7;const _0xeb10ec=_0xeb10();let _0x2caa31=_0xeb10ec[_0x414b99];return _0x2caa31;}export{e as default};function _0xeb10(){const _0x5eb415=['5174337kuPcNz','266466OqcZTh','690924jZdOFE','2597472CZHKEb','1138432mhIpDp','53345uYIVdg','Pridať\x20komentár','17542HgUFqF','39JZKKMO'];_0xeb10=function(){return _0x5eb415;};return _0xeb10();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x24e590=_0x1160;function _0x5e50(){const _0x117738=['502936JNRWfJ','18tzMVBx','541815zJpWHj','Mở\x20bình\x20luận','2216367PYCpEe','2472127tgLbfz','1668294zrrSTV','12TGkFib','18rVDRuC','3947880HHVQMH','71889BFhHGH','Thêm\x20bình\x20luận'];_0x5e50=function(){return _0x117738;};return _0x5e50();}function _0x1160(_0x44e981,_0xb633fd){_0x44e981=_0x44e981-0x6c;const _0x5e50d9=_0x5e50();let _0x11604b=_0x5e50d9[_0x44e981];return _0x11604b;}(function(_0x4d0e72,_0x1e71d9){const _0x2b4fbd=_0x1160,_0x2938c0=_0x4d0e72();while(!![]){try{const _0x2525cb=-parseInt(_0x2b4fbd(0x75))/0x1*(-parseInt(_0x2b4fbd(0x6c))/0x2)+parseInt(_0x2b4fbd(0x71))/0x3+-parseInt(_0x2b4fbd(0x72))/0x4*(-parseInt(_0x2b4fbd(0x6d))/0x5)+parseInt(_0x2b4fbd(0x73))/0x6*(-parseInt(_0x2b4fbd(0x70))/0x7)+-parseInt(_0x2b4fbd(0x77))/0x8+-parseInt(_0x2b4fbd(0x6f))/0x9+parseInt(_0x2b4fbd(0x74))/0xa;if(_0x2525cb===_0x1e71d9)break;else _0x2938c0['push'](_0x2938c0['shift']());}catch(_0x1676c6){_0x2938c0['push'](_0x2938c0['shift']());}}}(_0x5e50,0x8757b));const e={'boards-thread-comment-ui':{'addComment':_0x24e590(0x76),'openComments':_0x24e590(0x6e)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x3cbde3=_0x2754;function _0x2754(_0x25ca1d,_0x1d2a63){_0x25ca1d=_0x25ca1d-0xca;const _0x2d15a8=_0x2d15();let _0x275430=_0x2d15a8[_0x25ca1d];return _0x275430;}function _0x2d15(){const _0x13e471=['9027WCDDSD','1812970WyRLqW','535596ksUPdU','打开评论','767dqJyWY','5xPwHfN','4459092DvCmdB','36baZAad','3066GVTQrv','8IZToPu','10096gFOEGo','添加评论','192981zyhqsN','244tbhDoO','942986Eqgctv'];_0x2d15=function(){return _0x13e471;};return _0x2d15();}(function(_0x4f1e27,_0x27fa11){const _0x3c2798=_0x2754,_0x1348d8=_0x4f1e27();while(!![]){try{const _0x1c23e9=parseInt(_0x3c2798(0xd0))/0x1*(parseInt(_0x3c2798(0xcd))/0x2)+-parseInt(_0x3c2798(0xd3))/0x3*(-parseInt(_0x3c2798(0xd1))/0x4)+-parseInt(_0x3c2798(0xd8))/0x5*(-parseInt(_0x3c2798(0xca))/0x6)+-parseInt(_0x3c2798(0xcc))/0x7*(-parseInt(_0x3c2798(0xce))/0x8)+parseInt(_0x3c2798(0xcb))/0x9*(parseInt(_0x3c2798(0xd4))/0xa)+parseInt(_0x3c2798(0xd2))/0xb+-parseInt(_0x3c2798(0xd5))/0xc*(parseInt(_0x3c2798(0xd7))/0xd);if(_0x1c23e9===_0x27fa11)break;else _0x1348d8['push'](_0x1348d8['shift']());}catch(_0x201b8f){_0x1348d8['push'](_0x1348d8['shift']());}}}(_0x2d15,0x68bb2));const e={'boards-thread-comment-ui':{'addComment':_0x3cbde3(0xcf),'openComments':_0x3cbde3(0xd6)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x2062(){const _0x393a29=['344428AkfnVu','40jTfHkO','7gvQckG','178144iWOqrU','10oFdItt','730332ogguLM','941809mSmGCw','新增評論','21NyxBLM','開啟評論','1278098SPcwQR','2798810erxBfj','28722vmUqSe'];_0x2062=function(){return _0x393a29;};return _0x2062();}const _0x5dfb3b=_0x5037;(function(_0x515a05,_0x80de0a){const _0x2d988a=_0x5037,_0x1fcf49=_0x515a05();while(!![]){try{const _0x3d1eae=parseInt(_0x2d988a(0x1bd))/0x1+parseInt(_0x2d988a(0x1b7))/0x2+parseInt(_0x2d988a(0x1c2))/0x3*(parseInt(_0x2d988a(0x1ba))/0x4)+-parseInt(_0x2d988a(0x1b8))/0x5+-parseInt(_0x2d988a(0x1b9))/0x6*(-parseInt(_0x2d988a(0x1bc))/0x7)+-parseInt(_0x2d988a(0x1bb))/0x8*(parseInt(_0x2d988a(0x1bf))/0x9)+parseInt(_0x2d988a(0x1be))/0xa*(-parseInt(_0x2d988a(0x1c0))/0xb);if(_0x3d1eae===_0x80de0a)break;else _0x1fcf49['push'](_0x1fcf49['shift']());}catch(_0x2889da){_0x1fcf49['push'](_0x1fcf49['shift']());}}}(_0x2062,0x5b368));function _0x5037(_0x4eb70a,_0x1f4efb){_0x4eb70a=_0x4eb70a-0x1b6;const _0x2062f0=_0x2062();let _0x503767=_0x2062f0[_0x4eb70a];return _0x503767;}const e={'boards-thread-comment-ui':{'addComment':_0x5dfb3b(0x1c1),'openComments':_0x5dfb3b(0x1b6)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x54612e=_0x5651;(function(_0x36bbfd,_0x573317){const _0x5257cd=_0x5651,_0x1f87f1=_0x36bbfd();while(!![]){try{const _0x144f0d=parseInt(_0x5257cd(0x161))/0x1+-parseInt(_0x5257cd(0x15a))/0x2+parseInt(_0x5257cd(0x160))/0x3+-parseInt(_0x5257cd(0x162))/0x4*(parseInt(_0x5257cd(0x15c))/0x5)+parseInt(_0x5257cd(0x15d))/0x6*(-parseInt(_0x5257cd(0x15b))/0x7)+parseInt(_0x5257cd(0x159))/0x8+-parseInt(_0x5257cd(0x158))/0x9*(parseInt(_0x5257cd(0x15e))/0xa);if(_0x144f0d===_0x573317)break;else _0x1f87f1['push'](_0x1f87f1['shift']());}catch(_0x2d6f51){_0x1f87f1['push'](_0x1f87f1['shift']());}}}(_0x1c27,0xd121b));function _0x5651(_0x5b8372,_0x5f0727){_0x5b8372=_0x5b8372-0x158;const _0x1c27fe=_0x1c27();let _0x565115=_0x1c27fe[_0x5b8372];return _0x565115;}const e={'boards-thread-comment-ui':{'addComment':_0x54612e(0x163),'openComments':_0x54612e(0x15f)}};export{e as default};function _0x1c27(){const _0x598ebd=['開啟評論','32232fSlzMU','1178093NTgXjK','1930876ycLpVV','新增評論','1245276HZLvhS','12876752lkkstC','2180388qhSdga','21EhsmfB','5cePbwH','184374nAOcHk','20ONLVJG'];_0x1c27=function(){return _0x598ebd;};return _0x1c27();}
|
package/lib/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/lib/index.js
ADDED
|
@@ -0,0 +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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x30e9(){const _0x46749f=['46688qKKIoM','261yMyLuN','1218830SiYzwc','فتح\x20التعليقات','3EfkcsU','70OEXUFc','92706wHDaUB','384630YFWoNM','827416skSGjS','إضافة\x20تعليق','56825890lTHSLl','266VTSdot','8892552krlRTz'];_0x30e9=function(){return _0x46749f;};return _0x30e9();}function _0xc907(_0x33c223,_0x26b958){_0x33c223=_0x33c223-0x196;const _0x30e9e2=_0x30e9();let _0xc907e7=_0x30e9e2[_0x33c223];return _0xc907e7;}const _0x1998bc=_0xc907;(function(_0x2339e6,_0x8a8a95){const _0x2957d4=_0xc907,_0x27f4a1=_0x2339e6();while(!![]){try{const _0x53cad8=-parseInt(_0x2957d4(0x1a1))/0x1+-parseInt(_0x2957d4(0x19b))/0x2*(parseInt(_0x2957d4(0x19d))/0x3)+parseInt(_0x2957d4(0x199))/0x4*(-parseInt(_0x2957d4(0x19e))/0x5)+parseInt(_0x2957d4(0x19f))/0x6*(-parseInt(_0x2957d4(0x197))/0x7)+-parseInt(_0x2957d4(0x198))/0x8+parseInt(_0x2957d4(0x19a))/0x9*(-parseInt(_0x2957d4(0x1a0))/0xa)+parseInt(_0x2957d4(0x196))/0xb;if(_0x53cad8===_0x8a8a95)break;else _0x27f4a1['push'](_0x27f4a1['shift']());}catch(_0x53196f){_0x27f4a1['push'](_0x27f4a1['shift']());}}}(_0x30e9,0xb7801));const e={'boards-thread-comment-ui':{'addComment':_0x1998bc(0x1a2),'openComments':_0x1998bc(0x19c)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x846908=_0x41a6;function _0x2abc(){const _0x2c403f=['8244xiwGgV','3287482iyOZgA','280fqWHXE','408gjZqed','5fICXSO','231595gjOaox','3913312FZqaMA','822371futvsS','1513603dwRccb','Obre\x20els\x20comentaris','17720iKJLCR','3rBEpvz','5708544mDZvQs'];_0x2abc=function(){return _0x2c403f;};return _0x2abc();}function _0x41a6(_0x103954,_0x4c709d){_0x103954=_0x103954-0x1d4;const _0x2abc1b=_0x2abc();let _0x41a60f=_0x2abc1b[_0x103954];return _0x41a60f;}(function(_0x12097d,_0x3e342c){const _0x987a5f=_0x41a6,_0x30e4b6=_0x12097d();while(!![]){try{const _0x58ced4=parseInt(_0x987a5f(0x1da))/0x1+-parseInt(_0x987a5f(0x1e0))/0x2*(parseInt(_0x987a5f(0x1dd))/0x3)+-parseInt(_0x987a5f(0x1d8))/0x4+parseInt(_0x987a5f(0x1d6))/0x5*(-parseInt(_0x987a5f(0x1de))/0x6)+parseInt(_0x987a5f(0x1d7))/0x7*(-parseInt(_0x987a5f(0x1d4))/0x8)+parseInt(_0x987a5f(0x1df))/0x9*(parseInt(_0x987a5f(0x1dc))/0xa)+-parseInt(_0x987a5f(0x1d9))/0xb*(-parseInt(_0x987a5f(0x1d5))/0xc);if(_0x58ced4===_0x3e342c)break;else _0x30e4b6['push'](_0x30e4b6['shift']());}catch(_0x3f9e9f){_0x30e4b6['push'](_0x30e4b6['shift']());}}}(_0x2abc,0xe73d9));const e={'boards-thread-comment-ui':{'addComment':'Afegeix\x20un\x20comentari','openComments':_0x846908(0x1db)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x45bd3d=_0x2687;(function(_0x56c751,_0x155ba6){const _0x2a77b4=_0x2687,_0x33ebb9=_0x56c751();while(!![]){try{const _0x3cd654=-parseInt(_0x2a77b4(0x137))/0x1*(-parseInt(_0x2a77b4(0x138))/0x2)+parseInt(_0x2a77b4(0x135))/0x3+-parseInt(_0x2a77b4(0x131))/0x4*(parseInt(_0x2a77b4(0x12f))/0x5)+parseInt(_0x2a77b4(0x130))/0x6+parseInt(_0x2a77b4(0x134))/0x7+-parseInt(_0x2a77b4(0x133))/0x8*(parseInt(_0x2a77b4(0x12e))/0x9)+-parseInt(_0x2a77b4(0x12d))/0xa;if(_0x3cd654===_0x155ba6)break;else _0x33ebb9['push'](_0x33ebb9['shift']());}catch(_0x3cbd4a){_0x33ebb9['push'](_0x33ebb9['shift']());}}}(_0x5bbd,0x5c288));const e={'boards-thread-comment-ui':{'addComment':_0x45bd3d(0x132),'openComments':_0x45bd3d(0x136)}};export{e as default};function _0x2687(_0x6f9e83,_0x2319f7){_0x6f9e83=_0x6f9e83-0x12d;const _0x5bbdd5=_0x5bbd();let _0x2687b7=_0x5bbdd5[_0x6f9e83];return _0x2687b7;}function _0x5bbd(){const _0x584ece=['15atNahw','4106610FzQPCj','215724uoqmbf','Kommentar\x20hinzufügen','3688zPwTtd','2323755CYhPQI','32199XObBLL','Kommentare\x20öffnen','70094MmcpPm','18cFzclU','10993440uqwPbU','378yVEwoQ'];_0x5bbd=function(){return _0x584ece;};return _0x5bbd();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x5b5c3d=_0xbc73;(function(_0x3676db,_0x263e06){const _0x445015=_0xbc73,_0x1ff713=_0x3676db();while(!![]){try{const _0x1de381=-parseInt(_0x445015(0x1c2))/0x1*(parseInt(_0x445015(0x1c6))/0x2)+parseInt(_0x445015(0x1c9))/0x3+-parseInt(_0x445015(0x1c0))/0x4+-parseInt(_0x445015(0x1c4))/0x5*(parseInt(_0x445015(0x1c3))/0x6)+parseInt(_0x445015(0x1c7))/0x7*(-parseInt(_0x445015(0x1be))/0x8)+parseInt(_0x445015(0x1bf))/0x9*(parseInt(_0x445015(0x1c8))/0xa)+parseInt(_0x445015(0x1c1))/0xb;if(_0x1de381===_0x263e06)break;else _0x1ff713['push'](_0x1ff713['shift']());}catch(_0x26f1cb){_0x1ff713['push'](_0x1ff713['shift']());}}}(_0x3c49,0x9dc60));const e={'boards-thread-comment-ui':{'addComment':'Add\x20Comment','openComments':_0x5b5c3d(0x1c5)}};function _0xbc73(_0x45391f,_0x28a73e){_0x45391f=_0x45391f-0x1be;const _0x3c4943=_0x3c49();let _0xbc7376=_0x3c4943[_0x45391f];return _0xbc7376;}function _0x3c49(){const _0x447f2d=['1761693MlWZjR','6018328oYNUeY','261PTdeaI','2543360gEYIpi','21514130jGRmcm','1uMclYN','42qVSWei','106760tRLCNV','Open\x20Comments','1150610uBspuT','7FTlmWP','74510KHWxct'];_0x3c49=function(){return _0x447f2d;};return _0x3c49();}export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x14ab(_0x2ae01,_0x3c6c92){_0x2ae01=_0x2ae01-0xe2;const _0x4433eb=_0x4433();let _0x14ab3d=_0x4433eb[_0x2ae01];return _0x14ab3d;}function _0x4433(){const _0x315ed9=['1155529sCbjgG','8356xROpcI','3292056dUscWK','4491669ipxdxv','8lAUFwz','912520xGhRnE','875476IHoXrV','Abrir\x20comentarios','4491186uCMQRQ','Añadir\x20comentario','66oeAwsv'];_0x4433=function(){return _0x315ed9;};return _0x4433();}const _0x3a68bf=_0x14ab;(function(_0x200dec,_0x146fc3){const _0x2143bc=_0x14ab,_0x203e45=_0x200dec();while(!![]){try{const _0x51e5a4=parseInt(_0x2143bc(0xe8))/0x1+parseInt(_0x2143bc(0xe9))/0x2*(-parseInt(_0x2143bc(0xe7))/0x3)+parseInt(_0x2143bc(0xe3))/0x4+-parseInt(_0x2143bc(0xe2))/0x5+-parseInt(_0x2143bc(0xe5))/0x6+parseInt(_0x2143bc(0xeb))/0x7*(parseInt(_0x2143bc(0xec))/0x8)+-parseInt(_0x2143bc(0xea))/0x9;if(_0x51e5a4===_0x146fc3)break;else _0x203e45['push'](_0x203e45['shift']());}catch(_0x101fe6){_0x203e45['push'](_0x203e45['shift']());}}}(_0x4433,0x99282));const e={'boards-thread-comment-ui':{'addComment':_0x3a68bf(0xe6),'openComments':_0x3a68bf(0xe4)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x431f00=_0x11e5;function _0x4699(){const _0x34b01d=['1078136fYpeOI','2rJCDnQ','127631lInOIY','174818quqcaU','72crwSAq','باز\x20کردن\x20نظرات','3613041aUPaHG','1545AqXRIZ','207812OdOOHt','2156mFgRqx','90ZJCCAe','1039854LWrJbN','افزودن\x20نظر'];_0x4699=function(){return _0x34b01d;};return _0x4699();}(function(_0x32af85,_0x4244e3){const _0x63519c=_0x11e5,_0x31c2a1=_0x32af85();while(!![]){try{const _0x5e2c3d=-parseInt(_0x63519c(0x7a))/0x1+parseInt(_0x63519c(0x85))/0x2*(parseInt(_0x63519c(0x82))/0x3)+parseInt(_0x63519c(0x80))/0x4*(parseInt(_0x63519c(0x7e))/0x5)+-parseInt(_0x63519c(0x7b))/0x6*(parseInt(_0x63519c(0x79))/0x7)+-parseInt(_0x63519c(0x84))/0x8+parseInt(_0x63519c(0x7d))/0x9+parseInt(_0x63519c(0x81))/0xa*(-parseInt(_0x63519c(0x7f))/0xb);if(_0x5e2c3d===_0x4244e3)break;else _0x31c2a1['push'](_0x31c2a1['shift']());}catch(_0x2d1591){_0x31c2a1['push'](_0x31c2a1['shift']());}}}(_0x4699,0x34c91));const e={'boards-thread-comment-ui':{'addComment':_0x431f00(0x83),'openComments':_0x431f00(0x7c)}};function _0x11e5(_0x2cb20a,_0x25eb33){_0x2cb20a=_0x2cb20a-0x79;const _0x4699f8=_0x4699();let _0x11e584=_0x4699f8[_0x2cb20a];return _0x11e584;}export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x22c0(_0x9dcb5d,_0x12e64a){_0x9dcb5d=_0x9dcb5d-0x1a5;const _0x248110=_0x2481();let _0x22c01e=_0x248110[_0x9dcb5d];return _0x22c01e;}function _0x2481(){const _0x16eeb1=['5356197gdjMoe','5202660ePmoWU','1QeNUrB','1289850ZRMjxf','Ajouter\x20un\x20commentaire','606zQzpyn','40285UawjZQ','Ouvrir\x20les\x20commentaires','6698524tubbPj','2706488GpIIqL','763922Qedjah','14pAiyxB'];_0x2481=function(){return _0x16eeb1;};return _0x2481();}const _0xcf8f3e=_0x22c0;(function(_0x185526,_0x11d3ee){const _0x684001=_0x22c0,_0x181e07=_0x185526();while(!![]){try{const _0x5d9848=-parseInt(_0x684001(0x1ac))/0x1*(parseInt(_0x684001(0x1a8))/0x2)+parseInt(_0x684001(0x1ad))/0x3+-parseInt(_0x684001(0x1a6))/0x4+-parseInt(_0x684001(0x1b0))/0x5*(-parseInt(_0x684001(0x1af))/0x6)+-parseInt(_0x684001(0x1a9))/0x7*(-parseInt(_0x684001(0x1a7))/0x8)+parseInt(_0x684001(0x1aa))/0x9+parseInt(_0x684001(0x1ab))/0xa;if(_0x5d9848===_0x11d3ee)break;else _0x181e07['push'](_0x181e07['shift']());}catch(_0x10c23d){_0x181e07['push'](_0x181e07['shift']());}}}(_0x2481,0xef0c0));const e={'boards-thread-comment-ui':{'addComment':_0xcf8f3e(0x1ae),'openComments':_0xcf8f3e(0x1a5)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x27c9(_0x36c532,_0x8d3517){_0x36c532=_0x36c532-0x17d;const _0x26a8e3=_0x26a8();let _0x27c9d5=_0x26a8e3[_0x36c532];return _0x27c9d5;}const _0x5c239b=_0x27c9;(function(_0x574afb,_0x4b0ebb){const _0x10c2cb=_0x27c9,_0x40c9c3=_0x574afb();while(!![]){try{const _0x282f58=-parseInt(_0x10c2cb(0x188))/0x1*(parseInt(_0x10c2cb(0x189))/0x2)+-parseInt(_0x10c2cb(0x183))/0x3*(-parseInt(_0x10c2cb(0x185))/0x4)+-parseInt(_0x10c2cb(0x17d))/0x5+parseInt(_0x10c2cb(0x184))/0x6*(parseInt(_0x10c2cb(0x181))/0x7)+parseInt(_0x10c2cb(0x17e))/0x8+-parseInt(_0x10c2cb(0x180))/0x9*(-parseInt(_0x10c2cb(0x17f))/0xa)+-parseInt(_0x10c2cb(0x186))/0xb;if(_0x282f58===_0x4b0ebb)break;else _0x40c9c3['push'](_0x40c9c3['shift']());}catch(_0x4aa2b6){_0x40c9c3['push'](_0x40c9c3['shift']());}}}(_0x26a8,0x2d151));const e={'boards-thread-comment-ui':{'addComment':_0x5c239b(0x187),'openComments':_0x5c239b(0x182)}};function _0x26a8(){const _0x3e29b7=['Tambah\x20Komentar','14327cwoUoa','2cCrWlh','1185765CGWpfM','241632qOSGwJ','25410KFoxML','171csxsQe','2177749sPKXKu','Buka\x20Komentar','729PDSUMu','6YzwtLX','2536IlDNyk','1182665hYhZXH'];_0x26a8=function(){return _0x3e29b7;};return _0x26a8();}export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x2ea8(_0xffa9cd,_0x284e31){_0xffa9cd=_0xffa9cd-0xc8;const _0x3207b2=_0x3207();let _0x2ea82c=_0x3207b2[_0xffa9cd];return _0x2ea82c;}const _0x224023=_0x2ea8;function _0x3207(){const _0x22ca0f=['5bEWaEi','4854eoCLmm','12EsHmIC','1052511GmkpNC','4427440fJJZfU','Apri\x20commenti','9331tNNOkd','198333MZNZZw','370RRoJxy','13972068ZuAUBk','2346926vewzjR','3949996NUiCZI','1JLExlV'];_0x3207=function(){return _0x22ca0f;};return _0x3207();}(function(_0x3710fd,_0x5b4ed5){const _0x5cad2c=_0x2ea8,_0x403cec=_0x3710fd();while(!![]){try{const _0x11feb9=-parseInt(_0x5cad2c(0xca))/0x1*(parseInt(_0x5cad2c(0xc8))/0x2)+parseInt(_0x5cad2c(0xce))/0x3+-parseInt(_0x5cad2c(0xc9))/0x4*(-parseInt(_0x5cad2c(0xcb))/0x5)+parseInt(_0x5cad2c(0xcc))/0x6*(-parseInt(_0x5cad2c(0xd1))/0x7)+-parseInt(_0x5cad2c(0xcf))/0x8+parseInt(_0x5cad2c(0xd2))/0x9*(parseInt(_0x5cad2c(0xd3))/0xa)+parseInt(_0x5cad2c(0xd4))/0xb*(parseInt(_0x5cad2c(0xcd))/0xc);if(_0x11feb9===_0x5b4ed5)break;else _0x403cec['push'](_0x403cec['shift']());}catch(_0x5bd1bb){_0x403cec['push'](_0x403cec['shift']());}}}(_0x3207,0x9706b));const e={'boards-thread-comment-ui':{'addComment':'Aggiungi\x20commento','openComments':_0x224023(0xd0)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x1b47(_0x4c6c7a,_0x3f390c){_0x4c6c7a=_0x4c6c7a-0x1b6;const _0x5d059c=_0x5d05();let _0x1b4702=_0x5d059c[_0x4c6c7a];return _0x1b4702;}const _0x4f0e5c=_0x1b47;function _0x5d05(){const _0x45f2a7=['57335xQnEjI','29590UVtoki','1029954PiAkMF','6163663SxHGdG','954EpszRi','7EDuiNW','7etyChR','1285758mLGOiz','156WMeajY','23354IfRDJg','コメントを追加','3541768zBozAz','コメントを開く'];_0x5d05=function(){return _0x45f2a7;};return _0x5d05();}(function(_0x524333,_0x1d312b){const _0x6262d0=_0x1b47,_0x36a891=_0x524333();while(!![]){try{const _0x1ab5d6=parseInt(_0x6262d0(0x1ba))/0x1*(parseInt(_0x6262d0(0x1be))/0x2)+-parseInt(_0x6262d0(0x1b7))/0x3+-parseInt(_0x6262d0(0x1bd))/0x4*(-parseInt(_0x6262d0(0x1c2))/0x5)+-parseInt(_0x6262d0(0x1bc))/0x6+parseInt(_0x6262d0(0x1bb))/0x7*(-parseInt(_0x6262d0(0x1c0))/0x8)+parseInt(_0x6262d0(0x1b9))/0x9*(parseInt(_0x6262d0(0x1b6))/0xa)+parseInt(_0x6262d0(0x1b8))/0xb;if(_0x1ab5d6===_0x1d312b)break;else _0x36a891['push'](_0x36a891['shift']());}catch(_0x27361a){_0x36a891['push'](_0x36a891['shift']());}}}(_0x5d05,0x624af));const e={'boards-thread-comment-ui':{'addComment':_0x4f0e5c(0x1bf),'openComments':_0x4f0e5c(0x1c1)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x54e718=_0x55c3;(function(_0x3206d8,_0x159d4b){const _0x53c578=_0x55c3,_0x499872=_0x3206d8();while(!![]){try{const _0x1fd3f9=parseInt(_0x53c578(0x1e4))/0x1+-parseInt(_0x53c578(0x1e3))/0x2+-parseInt(_0x53c578(0x1e1))/0x3+-parseInt(_0x53c578(0x1e8))/0x4+-parseInt(_0x53c578(0x1e2))/0x5*(parseInt(_0x53c578(0x1e9))/0x6)+parseInt(_0x53c578(0x1e0))/0x7+-parseInt(_0x53c578(0x1e7))/0x8*(-parseInt(_0x53c578(0x1e6))/0x9);if(_0x1fd3f9===_0x159d4b)break;else _0x499872['push'](_0x499872['shift']());}catch(_0x4255a1){_0x499872['push'](_0x499872['shift']());}}}(_0x4267,0x6d4f6));function _0x55c3(_0x1e0d55,_0x43f8db){_0x1e0d55=_0x1e0d55-0x1e0;const _0x42674c=_0x4267();let _0x55c399=_0x42674c[_0x1e0d55];return _0x55c399;}function _0x4267(){const _0x5abf65=['799737WviRRL','댓글\x20추가','8163657XVlrPU','8CQJIMu','200712FcnCnO','290790ZHlbfZ','471331aWMcyE','1927776UDKAoh','10CPzfqE','1073418OfEpCF'];_0x4267=function(){return _0x5abf65;};return _0x4267();}const e={'boards-thread-comment-ui':{'addComment':_0x54e718(0x1e5),'openComments':'댓글\x20열기'}};export{e as default};
|