@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240814.0 → 0.0.0-nightly-20240815.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/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xabfee2=_0x415d;(function(_0x4c7e65,_0x3a5961){const _0x1d0a5b=_0x415d,_0x38b33d=_0x4c7e65();while(!![]){try{const _0x31eb46=parseInt(_0x1d0a5b(0x135))/0x1+-parseInt(_0x1d0a5b(0x13d))/0x2+parseInt(_0x1d0a5b(0xb2))/0x3*(parseInt(_0x1d0a5b(0x109))/0x4)+parseInt(_0x1d0a5b(0x13a))/0x5+-parseInt(_0x1d0a5b(0xea))/0x6*(-parseInt(_0x1d0a5b(0xa8))/0x7)+-parseInt(_0x1d0a5b(0xf1))/0x8*(parseInt(_0x1d0a5b(0x110))/0x9)+-parseInt(_0x1d0a5b(0x103))/0xa*(-parseInt(_0x1d0a5b(0xa6))/0xb);if(_0x31eb46===_0x3a5961)break;else _0x38b33d['push'](_0x38b33d['shift']());}catch(_0x268711){_0x38b33d['push'](_0x38b33d['shift']());}}}(_0x8632,0x93b0c));import{Plugin as _0x253bf3}from'ckeditor5/src/core.js';import{Collection as _0x3b5bb0}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x599631,createDropdown as _0x3a4648,ListSeparatorView as _0x35221c,MenuBarMenuView as _0x28e8ec,MenuBarMenuListView as _0x5e01e5,MenuBarMenuListItemView as _0xff73b2,MenuBarMenuListItemButtonView as _0xdbe6e2,SplitButtonView as _0x50dadc,ViewModel as _0x1215ef}from'ckeditor5/src/ui.js';import{Users as _0x271747,getDateTimeFormatter as _0x3b8826,getAllMarkersDomElementsSorted as _0x332b27,ENTER_THREAD_KEYSTROKE as _0x13d3c3}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2812cf from'./trackchangesediting.js';import _0x503365 from'./ui/suggestioncontroller.js';import _0x1d1287 from'./ui/view/suggestionthreadview.js';function _0x415d(_0x48ddd9,_0xb2a3b1){const _0x8632c0=_0x8632();return _0x415d=function(_0x415d14,_0x46af60){_0x415d14=_0x415d14-0xa3;let _0x583e9d=_0x8632c0[_0x415d14];return _0x583e9d;},_0x415d(_0x48ddd9,_0xb2a3b1);}function _0x8632(){const _0x4d00c0=['requires','2793395agzmAx','suggestionView','createAnnotationView','2317550tGtLpQ','_refreshActiveMarkers','_unbindEditors','Track\x20changes','869VvWXkC','toMany','7wwlDKq','commands','filter','Accept\x20all\x20selected\x20suggestions','model','commentsListView','get','menuitem','getMarkerNames','change:activeAnnotations','12PXsSgN','size','Discard\x20all\x20selected\x20suggestions','_annotationViews','_destroyController','TrackChangesEditing','previous','remove','_viewToController','add','suggestionUnloaded','discardSelectedSuggestions','getRanges','acceptSelectedSuggestions','children','suggestionLoaded','Annotations','editor','init','getMarkers','_updateController','keys','getJoined','config','_suggestionToController','isDirty','arrowView','from','mainView','refreshSelectedViews','isInContent','descriptionParts','menu','acceptAllSuggestions','Accept\x20all\x20suggestions','stopListening','CommentsRepository','SuggestionThreadView','low','keystrokes','menuitemcheckbox','locale','suggestion-','CommentView','trackChanges','acceptButton','change:previous','_initKeyboardNavigationToThread','getByInnerView','getSuggestion','activeMarkers','destroy','activeAnnotations','comments','_handleSuggestionControllerDelayed','bind','539334SqEoxL','getFirstRange','values','delegate','trackChanges.disableComments','_createToolbarButton','_disableComments','76808vkKUec','comments.editorConfig','plugins','commandName','editing','EditorAnnotations','execute','_bindAnnotationToEditors','source','_handleControllerBuffer','_splitMarkerName','getDescriptions','listenTo','length','view','set','TrackChangesUI','lowest','192830ujLWhG','commentThread','push','_initializeController','discardAllSuggestions','trackChanges.SuggestionView','50372PAYjiM','pluginName','descriptionFactory','switchbutton','componentFactory','head','items','477HJbJWy','SuggestionView','escape','panelView','has','suggestionChanged','registerAnnotation','separator','delete','getAllAdjacentSuggestions','clear','reduce','isMultiRange','innerView','focus','discardButton','addComment','comments.maxThreadTotalWeight','comments.maxCommentCharsWhenCollapsed','_addUIComponentsToFactory','menuBar:trackChanges','type','define','hasSuggestion','Discard\x20all\x20suggestions','some','value','actionView','trackChanges.SuggestionThreadView','createCommentThreadController','addSourceCollector','isEnabled','unbind','comments.maxCommentsWhenCollapsed','button','buttonView','createAnnotation','50271FWeGTa','CommentsUI','isOn','_createMenuBarMenu'];_0x8632=function(){return _0x4d00c0;};return _0x8632();}import _0x1704cf from'./ui/view/suggestionview.js';import{getTranslation as _0x2a5729}from'./utils/common-translations.js';import _0x3efb9b from'./trackchanges.js';import _0x4e9b73 from'../theme/icons/track-changes.svg';export default class d extends _0x253bf3{static get[_0xabfee2(0x139)](){const _0x1e027c=_0xabfee2;return[_0x2812cf,_0x271747,_0x1e027c(0xd6),_0x1e027c(0xc2),_0x1e027c(0xf6)];}static get[_0xabfee2(0x10a)](){const _0x28dae5=_0xabfee2;return _0x28dae5(0x101);}constructor(_0x538eb0){const _0x4ec013=_0xabfee2;super(_0x538eb0),this[_0x4ec013(0xca)]=new Map(),this[_0x4ec013(0xba)]=new Map(),this[_0x4ec013(0xb5)]=new Map(),this[_0x4ec013(0xfa)]=new Map();const _0x3bb245=this[_0x4ec013(0xc3)][_0x4ec013(0xc9)];_0x3bb245[_0x4ec013(0x126)](_0x4ec013(0x12c),_0x1d1287),_0x3bb245[_0x4ec013(0x126)](_0x4ec013(0x108),_0x1704cf),_0x3bb245[_0x4ec013(0x126)](_0x4ec013(0xee),!0x1),this[_0x4ec013(0xf0)]=_0x3bb245[_0x4ec013(0xae)](_0x4ec013(0xee)),this[_0x4ec013(0xe1)]();}[_0xabfee2(0xe8)](_0x41f892,_0x2df01a){const _0x41427e=_0xabfee2;0x0===this[_0x41427e(0xfa)][_0x41427e(0xb3)]&&setTimeout(()=>{const _0x4036a8=_0x41427e;for(const [_0x46aba2,_0x49b67c]of this[_0x4036a8(0xfa)]){const _0x1094d5=this[_0x4036a8(0xca)][_0x4036a8(0x114)](_0x46aba2);_0x1094d5||_0x49b67c?_0x1094d5&&_0x49b67c&&this[_0x4036a8(0xb6)](_0x46aba2):this[_0x4036a8(0x106)](_0x46aba2);}this[_0x4036a8(0xfa)][_0x4036a8(0x11a)](),this[_0x4036a8(0xc3)][_0x4036a8(0xf3)][_0x4036a8(0xae)](_0x4036a8(0xf6))[_0x4036a8(0xcf)](),this[_0x4036a8(0xa3)]();},0xa),this[_0x41427e(0xfa)][_0x41427e(0x100)](_0x41f892,_0x2df01a);}[_0xabfee2(0xc4)](){const _0x45e734=_0xabfee2,_0x1c80c1=this[_0x45e734(0xc3)],_0x957b30=_0x1c80c1[_0x45e734(0xf3)][_0x45e734(0xae)](_0x45e734(0xb7)),_0x173caf=_0x1c80c1[_0x45e734(0xf3)][_0x45e734(0xae)](_0x45e734(0xc2)),_0x5b2964=_0x1c80c1[_0x45e734(0xf3)][_0x45e734(0xae)](_0x45e734(0xf6)),_0x1c282a=_0x1c80c1[_0x45e734(0xf3)][_0x45e734(0xae)](_0x45e734(0xd6));this[_0x45e734(0x123)](),_0x5b2964[_0x45e734(0x12e)](()=>{const _0xb1a11a=_0x45e734,_0xa64446=[];for(const [_0x1e975f,_0x6fdb26]of Array[_0xb1a11a(0xcd)](this[_0xb1a11a(0xca)])){const _0x2e1238=_0x1e975f[_0xb1a11a(0x119)](),_0x3dc629=[];for(const _0x1b6064 of _0x2e1238){if(!_0x1b6064[_0xb1a11a(0xd0)])continue;if(_0x1b6064[_0xb1a11a(0x11c)]){_0x3dc629[_0xb1a11a(0x105)](..._0x1b6064[_0xb1a11a(0xbe)]());continue;}const _0x7089fd=_0x1b6064[_0xb1a11a(0xeb)]();if(_0x3dc629[_0xb1a11a(0xfe)]>0x0){const _0x5bdd88=_0x3dc629[0x0][_0xb1a11a(0xc8)](_0x7089fd);if(_0x5bdd88){_0x3dc629[0x0]=_0x5bdd88;continue;}}_0x3dc629[_0xb1a11a(0x105)](_0x7089fd);}_0xa64446[_0xb1a11a(0x105)]([_0x6fdb26[_0xb1a11a(0xff)],_0x3dc629]);}return _0xa64446;}),this[_0x45e734(0xfd)](_0x957b30,_0x45e734(0xc1),(_0x3b00af,_0x495781)=>{const _0x5eb8bf=_0x45e734;this[_0x5eb8bf(0xfd)](_0x495781,_0x5eb8bf(0xe0),(_0x435251,_0x1f0310,_0x15d920,_0x4baf38)=>{const _0x18d102=_0x5eb8bf;_0x495781[_0x18d102(0xd0)]&&(null==_0x15d920?(this[_0x18d102(0xc6)](_0x4baf38[_0x18d102(0x10e)]),this[_0x18d102(0xe8)](_0x495781,!0x1)):(this[_0x18d102(0xc6)](_0x15d920[_0x18d102(0x10e)]),null==_0x4baf38&&this[_0x18d102(0xe8)](_0x495781,!0x0)));}),null!==_0x495781[_0x5eb8bf(0xb8)]?this[_0x5eb8bf(0xc6)](_0x495781[_0x5eb8bf(0x10e)]):this[_0x5eb8bf(0xe8)](_0x495781,!0x1);}),this[_0x45e734(0xfd)](_0x957b30,_0x45e734(0xbc),(_0x5ee200,_0x39bbd3,_0x8a120e)=>{const _0x3bef02=_0x45e734;this[_0x3bef02(0xd5)](_0x39bbd3,_0x3bef02(0xe0)),this[_0x3bef02(0xfa)][_0x3bef02(0x118)](_0x39bbd3),this[_0x3bef02(0xca)][_0x3bef02(0x114)](_0x39bbd3)&&this[_0x3bef02(0xb6)](_0x39bbd3),_0x8a120e&&this[_0x3bef02(0xc6)](_0x8a120e[_0x3bef02(0x10e)]);}),this[_0x45e734(0xfd)](_0x957b30,_0x45e734(0x115),(_0x50edb8,_0x172685)=>{const _0x29265d=_0x45e734;this[_0x29265d(0xc6)](_0x172685);}),this[_0x45e734(0xfd)](_0x173caf,_0x45e734(0xb1),()=>{const _0x337f83=_0x45e734;this[_0x337f83(0xa3)]();}),this[_0x45e734(0xfd)](_0x1c282a,_0x45e734(0x120),(_0x134b2b,{threadId:_0x584012,isFromAdapter:_0x297c51})=>{const _0x4eefbb=_0x45e734;if(_0x297c51||!_0x957b30[_0x4eefbb(0x127)](_0x584012))return;const _0x53766b=_0x957b30[_0x4eefbb(0xe3)](_0x584012);this[_0x4eefbb(0xca)][_0x4eefbb(0xae)](_0x53766b)[_0x4eefbb(0xff)][_0x4eefbb(0xad)][_0x4eefbb(0x11e)](-0x1);},{'priority':_0x45e734(0x102)});}[_0xabfee2(0xa3)](){const _0x20d5e0=_0xabfee2,_0xabdd3d=this[_0x20d5e0(0xc3)][_0x20d5e0(0xf3)][_0x20d5e0(0xae)](_0x20d5e0(0xc2)),_0x48517c=this[_0x20d5e0(0xc3)][_0x20d5e0(0xf3)][_0x20d5e0(0xae)](_0x20d5e0(0xb7)),_0x385538=Array[_0x20d5e0(0xcd)](_0xabdd3d[_0x20d5e0(0xe6)],_0x486391=>_0x486391[_0x20d5e0(0x11d)])[_0x20d5e0(0xaa)](_0x2c1ad3=>this[_0x20d5e0(0xba)][_0x20d5e0(0x114)](_0x2c1ad3)),_0x404552=[];for(const _0x318504 of _0x385538){const _0x45f601=this[_0x20d5e0(0xba)][_0x20d5e0(0xae)](_0x318504)[_0x20d5e0(0xac)][_0x20d5e0(0x119)]();_0x404552[_0x20d5e0(0x105)](..._0x45f601[_0x20d5e0(0x11b)]((_0x30229e,_0x1a084d)=>[..._0x30229e,..._0x1a084d[_0x20d5e0(0xb0)]()],[]));}_0x48517c[_0x20d5e0(0xe4)]=_0x404552;}[_0xabfee2(0x123)](){const _0x99dd87=_0xabfee2,_0x389f9e=this[_0x99dd87(0xc3)],_0x5dc77d=_0x389f9e[_0x99dd87(0xdb)],_0x519bfb=_0x2a5729(_0x5dc77d,_0x99dd87(0xa5)),_0x11de82=new _0x3b5bb0([{'type':_0x99dd87(0x10c),'model':new _0x1215ef({'withText':!0x0,'isToggleable':!0x0,'label':_0x519bfb,'commandName':_0x99dd87(0xde),'role':_0x99dd87(0xda)})},{'type':_0x99dd87(0x117)},{'type':_0x99dd87(0x132),'model':new _0x1215ef({'withText':!0x0,'label':_0x2a5729(_0x5dc77d,_0x99dd87(0xd4)),'commandName':_0x99dd87(0xd3),'role':_0x99dd87(0xaf)})},{'type':_0x99dd87(0x132),'model':new _0x1215ef({'withText':!0x0,'label':_0x2a5729(_0x5dc77d,_0x99dd87(0xab)),'commandName':_0x99dd87(0xbf),'role':_0x99dd87(0xaf)})},{'type':_0x99dd87(0x132),'model':new _0x1215ef({'withText':!0x0,'label':_0x2a5729(_0x5dc77d,_0x99dd87(0x128)),'commandName':_0x99dd87(0x107),'role':_0x99dd87(0xaf)})},{'type':_0x99dd87(0x132),'model':new _0x1215ef({'withText':!0x0,'label':_0x2a5729(_0x5dc77d,_0x99dd87(0xb4)),'commandName':_0x99dd87(0xbd),'role':_0x99dd87(0xaf)})}]);for(const _0x2cb769 of _0x11de82)if(me(_0x2cb769)){const _0x5dac41=_0x389f9e[_0x99dd87(0xa9)][_0x99dd87(0xae)](_0x2cb769[_0x99dd87(0xac)][_0x99dd87(0xf4)]);_0x2cb769[_0x99dd87(0xac)][_0x99dd87(0xe9)](_0x99dd87(0x137),_0x99dd87(0x12f))['to'](_0x5dac41,_0x99dd87(0x12a),_0x99dd87(0x12f));}_0x389f9e['ui'][_0x99dd87(0x10d)][_0x99dd87(0xbb)](_0x99dd87(0xde),_0x215ae3=>this[_0x99dd87(0xef)](_0x215ae3,_0x11de82,_0x519bfb)),_0x389f9e['ui'][_0x99dd87(0x10d)][_0x99dd87(0xbb)](_0x99dd87(0x124),_0x454193=>this[_0x99dd87(0x138)](_0x454193,_0x11de82,_0x519bfb));}[_0xabfee2(0xef)](_0xbfd1c2,_0x1c8afc,_0x55a247){const _0x4b32a2=_0xabfee2,_0x3d2b89=_0x3a4648(_0xbfd1c2,_0x50dadc),_0x15b5d3=this[_0x4b32a2(0xc3)][_0x4b32a2(0xa9)][_0x4b32a2(0xae)](_0x4b32a2(0xde));_0x3d2b89[_0x4b32a2(0x133)][_0x4b32a2(0x100)]({'tooltip':_0x55a247,'label':_0x55a247,'icon':_0x4e9b73}),_0x3d2b89[_0x4b32a2(0x133)][_0x4b32a2(0xe9)](_0x4b32a2(0x137))['to'](_0x15b5d3,_0x4b32a2(0x12a)),_0x3d2b89[_0x4b32a2(0x133)]['on'](_0x4b32a2(0xf7),()=>{const _0x1cdc5f=_0x4b32a2;_0x15b5d3[_0x1cdc5f(0xf7)](),this[_0x1cdc5f(0xc3)][_0x1cdc5f(0xf5)][_0x1cdc5f(0xff)][_0x1cdc5f(0x11e)]();}),_0x599631(_0x3d2b89,_0x1c8afc,{'role':_0x4b32a2(0xd2)});const _0x4ec5b6=[];for(const _0x77803b of _0x1c8afc)me(_0x77803b)&&_0x4ec5b6[_0x4b32a2(0x105)](this[_0x4b32a2(0xc3)][_0x4b32a2(0xa9)][_0x4b32a2(0xae)](_0x77803b[_0x4b32a2(0xac)][_0x4b32a2(0xf4)]));const _0xdcb7ec=_0x3d2b89[_0x4b32a2(0x133)];return _0xdcb7ec[_0x4b32a2(0x12b)][_0x4b32a2(0x130)](_0x4b32a2(0x12f)),_0xdcb7ec[_0x4b32a2(0xcc)][_0x4b32a2(0x130)](_0x4b32a2(0x12f)),_0xdcb7ec[_0x4b32a2(0x12b)][_0x4b32a2(0xe9)](_0x4b32a2(0x12f))['to'](_0x15b5d3,_0x4b32a2(0x12f)),_0xdcb7ec[_0x4b32a2(0xcc)][_0x4b32a2(0xe9)](_0x4b32a2(0x12f))[_0x4b32a2(0xa7)](_0x4ec5b6,_0x4b32a2(0x12f),(..._0x4e5ede)=>_0x4e5ede[_0x4b32a2(0x129)](_0x4e3893=>_0x4e3893)),_0x3d2b89['on'](_0x4b32a2(0xf7),_0x362705=>{const _0x23deb0=_0x4b32a2;this[_0x23deb0(0xc3)][_0x23deb0(0xf7)](_0x362705[_0x23deb0(0xf9)][_0x23deb0(0xf4)]),this[_0x23deb0(0xc3)][_0x23deb0(0xf5)][_0x23deb0(0xff)][_0x23deb0(0x11e)]();}),_0x3d2b89;}[_0xabfee2(0x138)](_0x278419,_0x26bf38,_0x2352f1){const _0x3c9ff9=_0xabfee2,_0x4f579c=new _0x28e8ec(_0x278419),_0x2b4229=this[_0x3c9ff9(0xc3)][_0x3c9ff9(0xa9)][_0x3c9ff9(0xae)](_0x3c9ff9(0xde));_0x4f579c[_0x3c9ff9(0x133)][_0x3c9ff9(0x100)]({'label':_0x2352f1,'icon':_0x4e9b73});const _0x370ae1=new _0x5e01e5(_0x278419);for(const _0x3c52ee of _0x26bf38){if(_0x3c9ff9(0x117)==_0x3c52ee[_0x3c9ff9(0x125)]){_0x370ae1[_0x3c9ff9(0x10f)][_0x3c9ff9(0xbb)](new _0x35221c(_0x278419));continue;}const _0x28dcc2=new _0xff73b2(_0x278419,_0x4f579c),_0x1e66a8=new _0xdbe6e2(_0x278419),_0x1810dd=_0x3c52ee[_0x3c9ff9(0xac)];_0x1e66a8[_0x3c9ff9(0xe9)](...Object[_0x3c9ff9(0xc7)](_0x1810dd))['to'](_0x1810dd),_0x1e66a8[_0x3c9ff9(0xed)](_0x3c9ff9(0xf7))['to'](_0x4f579c),_0x1e66a8['on'](_0x3c9ff9(0xf7),()=>{const _0x57b7e5=_0x3c9ff9;this[_0x57b7e5(0xc3)][_0x57b7e5(0xf7)](_0x1810dd[_0x57b7e5(0xf4)]),this[_0x57b7e5(0xc3)][_0x57b7e5(0xf5)][_0x57b7e5(0xff)][_0x57b7e5(0x11e)]();}),_0x28dcc2[_0x3c9ff9(0xc0)][_0x3c9ff9(0xbb)](_0x1e66a8),_0x370ae1[_0x3c9ff9(0x10f)][_0x3c9ff9(0xbb)](_0x28dcc2);}return _0x4f579c[_0x3c9ff9(0xe9)](_0x3c9ff9(0x12f))['to'](_0x2b4229,_0x3c9ff9(0x12f)),_0x4f579c[_0x3c9ff9(0x113)][_0x3c9ff9(0xc0)][_0x3c9ff9(0xbb)](_0x370ae1),_0x4f579c;}[_0xabfee2(0x106)](_0x16d8f1){const _0x225a38=_0xabfee2,_0x51aa93=this[_0x225a38(0xc3)],_0x243bf3=_0x51aa93[_0x225a38(0xc9)],_0x195b89=_0x51aa93[_0x225a38(0xf3)][_0x225a38(0xae)](_0x225a38(0xc2)),_0x355ab4=_0x51aa93[_0x225a38(0xf3)][_0x225a38(0xae)](_0x225a38(0xd6)),_0x59b5e3=_0x51aa93[_0x225a38(0xf3)][_0x225a38(0xae)](_0x225a38(0xf6)),_0x257685=_0x51aa93[_0x225a38(0xf3)][_0x225a38(0xae)](_0x271747)['me'],_0x502d83=_0x243bf3[_0x225a38(0xae)](_0x225a38(0xde))[_0x225a38(0xd7)],_0x112b73=_0x243bf3[_0x225a38(0xae)](_0x225a38(0xde))[_0x225a38(0x111)],{CommentsListView:_0x33c4ce,CommentThreadInputView:_0x181c1c}=_0x51aa93[_0x225a38(0xf3)][_0x225a38(0xae)](_0x225a38(0x136));let _0x1d08bb,_0x3d2b72;this[_0x225a38(0xb5)][_0x225a38(0x114)](_0x16d8f1['id'])?(_0x3d2b72=this[_0x225a38(0xb5)][_0x225a38(0xae)](_0x16d8f1['id']),_0x1d08bb=_0x3d2b72[_0x225a38(0xce)]):(_0x1d08bb=new _0x502d83(_0x51aa93[_0x225a38(0xdb)],_0x16d8f1,_0x257685,{'disableComments':this[_0x225a38(0xf0)],'editorConfig':_0x243bf3[_0x225a38(0xae)](_0x225a38(0xf2)),'maxCommentsWhenCollapsed':_0x243bf3[_0x225a38(0xae)](_0x225a38(0x131)),'maxThreadTotalWeight':_0x243bf3[_0x225a38(0xae)](_0x225a38(0x121)),'maxCommentCharsWhenCollapsed':_0x243bf3[_0x225a38(0xae)](_0x225a38(0x122)),'formatDateTime':_0x3b8826(_0x243bf3[_0x225a38(0xae)](_0x225a38(0xdb))),'CommentView':_0x243bf3[_0x225a38(0xae)](_0x225a38(0xe7))[_0x225a38(0xdd)],'CommentsListView':_0x33c4ce,'CommentThreadInputView':_0x181c1c,'SuggestionView':_0x112b73}),_0x1d08bb[_0x225a38(0x13b)][_0x225a38(0xdf)]['on'](_0x225a38(0xf7),()=>{const _0x4a07be=_0x225a38;_0x51aa93[_0x4a07be(0xf5)][_0x4a07be(0xff)][_0x4a07be(0x11e)]();}),_0x1d08bb[_0x225a38(0x13b)][_0x225a38(0x11f)]['on'](_0x225a38(0xf7),()=>{const _0x4ba878=_0x225a38;_0x51aa93[_0x4ba878(0xf5)][_0x4ba878(0xff)][_0x4ba878(0x11e)]();}),_0x3d2b72=_0x195b89[_0x225a38(0x13c)](this[_0x225a38(0xc3)][_0x225a38(0xdb)],_0x1d08bb),_0x3d2b72[_0x225a38(0xe9)](_0x225a38(0xcb))['to'](_0x1d08bb,_0x225a38(0xcb)),_0x3d2b72[_0x225a38(0xe9)](_0x225a38(0xfe))['to'](_0x1d08bb),_0x3d2b72[_0x225a38(0xe9)](_0x225a38(0x125))['to'](_0x1d08bb,_0x225a38(0x125),_0x3b319f=>_0x225a38(0xdc)+_0x3b319f),this[_0x225a38(0xfd)](_0x1d08bb,_0x225a38(0x112),()=>{const _0x8a56a2=_0x225a38;_0x51aa93[_0x8a56a2(0xf5)][_0x8a56a2(0xff)][_0x8a56a2(0x11e)]();},{'priority':_0x225a38(0xd8)}),this[_0x225a38(0xb5)][_0x225a38(0x100)](_0x16d8f1['id'],_0x3d2b72));const _0x3632f3=_0x355ab4[_0x225a38(0x12d)](_0x16d8f1[_0x225a38(0x104)],_0x1d08bb),_0xca0f2d=new _0x503365(_0x51aa93,_0x16d8f1,_0x1d08bb,_0x3632f3),_0x102c98=_0x16d8f1[_0x225a38(0x119)]()[_0x225a38(0xaa)](_0x331d36=>_0x331d36[_0x225a38(0xd0)]);_0x1d08bb[_0x225a38(0xd1)]=_0x51aa93[_0x225a38(0xf3)][_0x225a38(0xae)](_0x225a38(0xb7))[_0x225a38(0x10b)][_0x225a38(0xfc)](_0x102c98),this[_0x225a38(0xca)][_0x225a38(0x100)](_0x16d8f1,_0xca0f2d),this[_0x225a38(0xba)][_0x225a38(0x100)](_0x1d08bb,_0xca0f2d);const _0x44e8e5=_0x195b89[_0x225a38(0x134)]({'view':_0x3d2b72,'target':()=>{const _0x556f27=_0x225a38,_0x3649ab=[],_0x3ed99f=_0x16d8f1[_0x556f27(0x119)]()[_0x556f27(0xaa)](_0x1d217f=>_0x1d217f[_0x556f27(0xd0)]);for(const _0xe640c7 of _0x3ed99f)_0x3649ab[_0x556f27(0x105)](..._0xe640c7[_0x556f27(0xc5)]());return _0x332b27(_0x51aa93[_0x556f27(0xf5)],_0x3649ab);},'type':()=>_0x225a38(0xdc)+_0xca0f2d[_0x225a38(0xff)][_0x225a38(0x125)]});_0x355ab4[_0x225a38(0xf8)](_0x1d08bb,_0x44e8e5),_0x195b89[_0x225a38(0xbb)](_0x44e8e5),_0x59b5e3[_0x225a38(0x116)](_0x44e8e5);}[_0xabfee2(0xb6)](_0x5471c2){const _0x3e4ea5=_0xabfee2,_0x17adcb=this[_0x3e4ea5(0xc3)][_0x3e4ea5(0xf3)][_0x3e4ea5(0xae)](_0x3e4ea5(0xd6)),_0x4c09ca=this[_0x3e4ea5(0xc3)][_0x3e4ea5(0xf3)][_0x3e4ea5(0xae)](_0x3e4ea5(0xc2)),_0x13ef40=this[_0x3e4ea5(0xca)][_0x3e4ea5(0xae)](_0x5471c2),_0x2cd5d1=_0x13ef40[_0x3e4ea5(0xff)],_0xd77d9=_0x4c09ca[_0x3e4ea5(0xe2)](_0x2cd5d1);_0x17adcb[_0x3e4ea5(0xa4)](_0x2cd5d1),_0xd77d9&&_0x4c09ca[_0x3e4ea5(0xb9)](_0xd77d9),this[_0x3e4ea5(0xca)][_0x3e4ea5(0x118)](_0x5471c2),this[_0x3e4ea5(0xba)][_0x3e4ea5(0x118)](_0x2cd5d1),_0x13ef40[_0x3e4ea5(0xe5)]();}[_0xabfee2(0xc6)](_0x3d4375){const _0x46e1f4=_0xabfee2;if(!_0x3d4375[_0x46e1f4(0xd0)]||!this[_0x46e1f4(0xca)][_0x46e1f4(0x114)](_0x3d4375))return;const _0x4b7854=this[_0x46e1f4(0xc3)][_0x46e1f4(0xf3)][_0x46e1f4(0xae)](_0x46e1f4(0xb7)),_0x75b881=this[_0x46e1f4(0xca)][_0x46e1f4(0xae)](_0x3d4375),_0x5e5960=_0x3d4375[_0x46e1f4(0x119)]();_0x75b881[_0x46e1f4(0xff)][_0x46e1f4(0xd1)]=_0x4b7854[_0x46e1f4(0x10b)][_0x46e1f4(0xfc)](_0x5e5960);}[_0xabfee2(0xe1)](){const _0x4fbdb0=_0xabfee2;this[_0x4fbdb0(0xc3)][_0x4fbdb0(0xd9)][_0x4fbdb0(0x100)](_0x13d3c3,(_0x21b97a,_0x1d49c9)=>{const _0x136131=_0x4fbdb0,_0x56c364=this[_0x136131(0xc3)][_0x136131(0xf3)][_0x136131(0xae)](_0x3efb9b),_0x4e1a98=this[_0x136131(0xc3)][_0x136131(0xf3)][_0x136131(0xae)](_0x2812cf);if(!_0x4e1a98[_0x136131(0xe4)][_0x136131(0xfe)])return;const {id:_0x149708}=_0x4e1a98[_0x136131(0xfb)](_0x4e1a98[_0x136131(0xe4)][0x0]),_0x3dff17=_0x56c364[_0x136131(0xe3)](_0x149708);_0x3dff17&&(this[_0x136131(0xca)][_0x136131(0xae)](_0x3dff17)[_0x136131(0xff)][_0x136131(0x11e)](),_0x1d49c9());});}[_0xabfee2(0xe5)](){const _0x5eac74=_0xabfee2;for(const _0x4201ff of this[_0x5eac74(0xca)][_0x5eac74(0xc7)]())this[_0x5eac74(0xb6)](_0x4201ff);for(const _0x10058a of this[_0x5eac74(0xb5)][_0x5eac74(0xec)]())_0x10058a[_0x5eac74(0xce)][_0x5eac74(0xe5)]();super[_0x5eac74(0xe5)]();}}function me(_0x19f8b9){const _0x5da6df=_0xabfee2;return _0x5da6df(0xac)in _0x19f8b9;}
|
|
23
|
+
const _0x4f6b77=_0x3aea;(function(_0x2125d9,_0x55c060){const _0x4f2a71=_0x3aea,_0x4616a2=_0x2125d9();while(!![]){try{const _0x4e4d59=-parseInt(_0x4f2a71(0x202))/0x1*(-parseInt(_0x4f2a71(0x1dc))/0x2)+parseInt(_0x4f2a71(0x1f2))/0x3*(parseInt(_0x4f2a71(0x1b0))/0x4)+-parseInt(_0x4f2a71(0x1a1))/0x5+-parseInt(_0x4f2a71(0x199))/0x6+parseInt(_0x4f2a71(0x1cf))/0x7*(parseInt(_0x4f2a71(0x1c4))/0x8)+parseInt(_0x4f2a71(0x1e4))/0x9*(-parseInt(_0x4f2a71(0x1df))/0xa)+-parseInt(_0x4f2a71(0x221))/0xb;if(_0x4e4d59===_0x55c060)break;else _0x4616a2['push'](_0x4616a2['shift']());}catch(_0x3fe43d){_0x4616a2['push'](_0x4616a2['shift']());}}}(_0x3778,0xc2d63));import{Plugin as _0x29110b}from'ckeditor5/src/core.js';import{Collection as _0x210724}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x970eb7,createDropdown as _0x33b59d,ListSeparatorView as _0x7fd87,MenuBarMenuView as _0x49b206,MenuBarMenuListView as _0x302dbf,MenuBarMenuListItemView as _0x166448,MenuBarMenuListItemButtonView as _0x102e1a,SplitButtonView as _0x2ecb92,ViewModel as _0x1b7ee8}from'ckeditor5/src/ui.js';import{Users as _0x2e1d9c,getDateTimeFormatter as _0x495b21,getAllMarkersDomElementsSorted as _0x4af036,ENTER_THREAD_KEYSTROKE as _0x47617e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x265e38 from'./trackchangesediting.js';import _0x39362c from'./ui/suggestioncontroller.js';import _0x3325ea from'./ui/view/suggestionthreadview.js';function _0x3aea(_0x456cb6,_0x2b455c){const _0x377853=_0x3778();return _0x3aea=function(_0x3aea40,_0x3a8ae5){_0x3aea40=_0x3aea40-0x193;let _0x2dc410=_0x377853[_0x3aea40];return _0x2dc410;},_0x3aea(_0x456cb6,_0x2b455c);}function _0x3778(){const _0x30ec2a=['getDescriptions','toMany','CommentView','suggestionLoaded','values','_unbindEditors','source','keystrokes','21TlKwlY','some','suggestionChanged','discardSelectedSuggestions','lowest','define','addComment','getFirstRange','menuitemcheckbox','isOn','activeAnnotations','arrowView','filter','12028qYYVrL','commentsListView','previous','20OVKnwr','menuitem','delegate','comments.maxCommentsWhenCollapsed','_destroyController','2195325dxYDUu','_handleSuggestionControllerDelayed','commands','TrackChangesEditing','mainView','componentFactory','suggestionUnloaded','TrackChangesUI','editing','panelView','_addUIComponentsToFactory','trackChanges.SuggestionView','_annotationViews','getJoined','69uHDSvI','button','acceptButton','destroy','acceptSelectedSuggestions','Discard\x20all\x20selected\x20suggestions','init','low','_updateController','Track\x20changes','size','CommentsRepository','_initializeController','commandName','createCommentThreadController','comments','189GGeIuX','_refreshActiveMarkers','push','focus','reduce','Accept\x20all\x20suggestions','length','locale','bind','_createMenuBarMenu','view','remove','get','change:previous','getRanges','addSourceCollector','isDirty','config','_handleControllerBuffer','comments.maxCommentCharsWhenCollapsed','listenTo','has','getByInnerView','change:activeAnnotations','trackChanges.disableComments','delete','comments.editorConfig','Annotations','CommentsUI','type','_initKeyboardNavigationToThread','14878534suRRPU','keys','set','plugins','isInContent','hasSuggestion','createAnnotation','menuBar:trackChanges','isMultiRange','_bindAnnotationToEditors','value','getAllAdjacentSuggestions','pluginName','descriptionFactory','items','menu','execute','getMarkers','getMarkerNames','223434JyjVED','SuggestionThreadView','unbind','acceptAllSuggestions','suggestion-','comments.maxThreadTotalWeight','requires','_suggestionToController','937515nRLrOv','EditorAnnotations','head','add','getSuggestion','Discard\x20all\x20suggestions','commentThread','activeMarkers','SuggestionView','children','_createToolbarButton','stopListening','descriptionParts','suggestionView','discardButton','74684ySKUPW','editor','clear','model','_viewToController','actionView','separator','isEnabled','registerAnnotation','switchbutton','Accept\x20all\x20selected\x20suggestions','escape','innerView','from','trackChanges','trackChanges.SuggestionThreadView','refreshSelectedViews','buttonView','_splitMarkerName','createAnnotationView','3459088PzwtWf','_disableComments','discardAllSuggestions'];_0x3778=function(){return _0x30ec2a;};return _0x3778();}import _0x40c042 from'./ui/view/suggestionview.js';import{getTranslation as _0x240188}from'./utils/common-translations.js';import _0x543b54 from'./trackchanges.js';import _0x10ba0a from'../theme/icons/track-changes.svg';export default class d extends _0x29110b{static get[_0x4f6b77(0x19f)](){const _0x5b33db=_0x4f6b77;return[_0x265e38,_0x2e1d9c,_0x5b33db(0x1fd),_0x5b33db(0x21d),_0x5b33db(0x1a2)];}static get[_0x4f6b77(0x22d)](){const _0xfb9727=_0x4f6b77;return _0xfb9727(0x1eb);}constructor(_0x513870){const _0x3f4c35=_0x4f6b77;super(_0x513870),this[_0x3f4c35(0x1a0)]=new Map(),this[_0x3f4c35(0x1b4)]=new Map(),this[_0x3f4c35(0x1f0)]=new Map(),this[_0x3f4c35(0x214)]=new Map();const _0x206ceb=this[_0x3f4c35(0x1b1)][_0x3f4c35(0x213)];_0x206ceb[_0x3f4c35(0x1d4)](_0x3f4c35(0x1bf),_0x3325ea),_0x206ceb[_0x3f4c35(0x1d4)](_0x3f4c35(0x1ef),_0x40c042),_0x206ceb[_0x3f4c35(0x1d4)](_0x3f4c35(0x21a),!0x1),this[_0x3f4c35(0x1c5)]=_0x206ceb[_0x3f4c35(0x20e)](_0x3f4c35(0x21a)),this[_0x3f4c35(0x220)]();}[_0x4f6b77(0x1e5)](_0x5ce237,_0x111452){const _0x16259d=_0x4f6b77;0x0===this[_0x16259d(0x214)][_0x16259d(0x1fc)]&&setTimeout(()=>{const _0x5a0bbb=_0x16259d;for(const [_0x43d3d6,_0x17d2ed]of this[_0x5a0bbb(0x214)]){const _0x51c432=this[_0x5a0bbb(0x1a0)][_0x5a0bbb(0x217)](_0x43d3d6);_0x51c432||_0x17d2ed?_0x51c432&&_0x17d2ed&&this[_0x5a0bbb(0x1e3)](_0x43d3d6):this[_0x5a0bbb(0x1fe)](_0x43d3d6);}this[_0x5a0bbb(0x214)][_0x5a0bbb(0x1b2)](),this[_0x5a0bbb(0x1b1)][_0x5a0bbb(0x224)][_0x5a0bbb(0x20e)](_0x5a0bbb(0x1a2))[_0x5a0bbb(0x1c0)](),this[_0x5a0bbb(0x203)]();},0xa),this[_0x16259d(0x214)][_0x16259d(0x223)](_0x5ce237,_0x111452);}[_0x4f6b77(0x1f8)](){const _0x39c350=_0x4f6b77,_0x22c70a=this[_0x39c350(0x1b1)],_0x222d3c=_0x22c70a[_0x39c350(0x224)][_0x39c350(0x20e)](_0x39c350(0x1e7)),_0x458c9b=_0x22c70a[_0x39c350(0x224)][_0x39c350(0x20e)](_0x39c350(0x21d)),_0x1d2aaf=_0x22c70a[_0x39c350(0x224)][_0x39c350(0x20e)](_0x39c350(0x1a2)),_0x30c915=_0x22c70a[_0x39c350(0x224)][_0x39c350(0x20e)](_0x39c350(0x1fd));this[_0x39c350(0x1ee)](),_0x1d2aaf[_0x39c350(0x211)](()=>{const _0x3133e9=_0x39c350,_0x514db8=[];for(const [_0x56f2ec,_0x1a86a8]of Array[_0x3133e9(0x1bd)](this[_0x3133e9(0x1a0)])){const _0x2a6bcd=_0x56f2ec[_0x3133e9(0x22c)](),_0x50a079=[];for(const _0x5434dd of _0x2a6bcd){if(!_0x5434dd[_0x3133e9(0x225)])continue;if(_0x5434dd[_0x3133e9(0x229)]){_0x50a079[_0x3133e9(0x204)](..._0x5434dd[_0x3133e9(0x210)]());continue;}const _0x1c9ff8=_0x5434dd[_0x3133e9(0x1d6)]();if(_0x50a079[_0x3133e9(0x208)]>0x0){const _0xbcde2=_0x50a079[0x0][_0x3133e9(0x1f1)](_0x1c9ff8);if(_0xbcde2){_0x50a079[0x0]=_0xbcde2;continue;}}_0x50a079[_0x3133e9(0x204)](_0x1c9ff8);}_0x514db8[_0x3133e9(0x204)]([_0x1a86a8[_0x3133e9(0x20c)],_0x50a079]);}return _0x514db8;}),this[_0x39c350(0x216)](_0x222d3c,_0x39c350(0x1ca),(_0x47e7c2,_0x55ed3f)=>{const _0xd36726=_0x39c350;this[_0xd36726(0x216)](_0x55ed3f,_0xd36726(0x20f),(_0x141ba9,_0x362b21,_0x4ce1a8,_0x2f3535)=>{const _0x55a821=_0xd36726;_0x55ed3f[_0x55a821(0x225)]&&(null==_0x4ce1a8?(this[_0x55a821(0x1fa)](_0x2f3535[_0x55a821(0x1a3)]),this[_0x55a821(0x1e5)](_0x55ed3f,!0x1)):(this[_0x55a821(0x1fa)](_0x4ce1a8[_0x55a821(0x1a3)]),null==_0x2f3535&&this[_0x55a821(0x1e5)](_0x55ed3f,!0x0)));}),null!==_0x55ed3f[_0xd36726(0x1de)]?this[_0xd36726(0x1fa)](_0x55ed3f[_0xd36726(0x1a3)]):this[_0xd36726(0x1e5)](_0x55ed3f,!0x1);}),this[_0x39c350(0x216)](_0x222d3c,_0x39c350(0x1ea),(_0x41a1d2,_0x49a241,_0x5cef44)=>{const _0x206cbf=_0x39c350;this[_0x206cbf(0x1ac)](_0x49a241,_0x206cbf(0x20f)),this[_0x206cbf(0x214)][_0x206cbf(0x21b)](_0x49a241),this[_0x206cbf(0x1a0)][_0x206cbf(0x217)](_0x49a241)&&this[_0x206cbf(0x1e3)](_0x49a241),_0x5cef44&&this[_0x206cbf(0x1fa)](_0x5cef44[_0x206cbf(0x1a3)]);}),this[_0x39c350(0x216)](_0x222d3c,_0x39c350(0x1d1),(_0x14e35b,_0x65d5f7)=>{const _0x33cd41=_0x39c350;this[_0x33cd41(0x1fa)](_0x65d5f7);}),this[_0x39c350(0x216)](_0x458c9b,_0x39c350(0x219),()=>{const _0x4abfb5=_0x39c350;this[_0x4abfb5(0x203)]();}),this[_0x39c350(0x216)](_0x30c915,_0x39c350(0x1d5),(_0x3c1e8b,{threadId:_0x288dba,isFromAdapter:_0x386a12})=>{const _0x22cb30=_0x39c350;if(_0x386a12||!_0x222d3c[_0x22cb30(0x226)](_0x288dba))return;const _0x4f456c=_0x222d3c[_0x22cb30(0x1a5)](_0x288dba);this[_0x22cb30(0x1a0)][_0x22cb30(0x20e)](_0x4f456c)[_0x22cb30(0x20c)][_0x22cb30(0x1dd)][_0x22cb30(0x205)](-0x1);},{'priority':_0x39c350(0x1d3)});}[_0x4f6b77(0x203)](){const _0x3f711f=_0x4f6b77,_0x4658a9=this[_0x3f711f(0x1b1)][_0x3f711f(0x224)][_0x3f711f(0x20e)](_0x3f711f(0x21d)),_0x448a59=this[_0x3f711f(0x1b1)][_0x3f711f(0x224)][_0x3f711f(0x20e)](_0x3f711f(0x1e7)),_0xf3a6d=Array[_0x3f711f(0x1bd)](_0x4658a9[_0x3f711f(0x1d9)],_0x45d2d0=>_0x45d2d0[_0x3f711f(0x1bc)])[_0x3f711f(0x1db)](_0x9f881d=>this[_0x3f711f(0x1b4)][_0x3f711f(0x217)](_0x9f881d)),_0x4f1b2f=[];for(const _0x31cc5d of _0xf3a6d){const _0x6e140b=this[_0x3f711f(0x1b4)][_0x3f711f(0x20e)](_0x31cc5d)[_0x3f711f(0x1b3)][_0x3f711f(0x22c)]();_0x4f1b2f[_0x3f711f(0x204)](..._0x6e140b[_0x3f711f(0x206)]((_0x3a98f0,_0xcf16aa)=>[..._0x3a98f0,..._0xcf16aa[_0x3f711f(0x198)]()],[]));}_0x448a59[_0x3f711f(0x1a8)]=_0x4f1b2f;}[_0x4f6b77(0x1ee)](){const _0x336edc=_0x4f6b77,_0x43606a=this[_0x336edc(0x1b1)],_0x235ec7=_0x43606a[_0x336edc(0x209)],_0x1dc715=_0x240188(_0x235ec7,_0x336edc(0x1fb)),_0x4c8851=new _0x210724([{'type':_0x336edc(0x1b9),'model':new _0x1b7ee8({'withText':!0x0,'isToggleable':!0x0,'label':_0x1dc715,'commandName':_0x336edc(0x1be),'role':_0x336edc(0x1d7)})},{'type':_0x336edc(0x1b6)},{'type':_0x336edc(0x1f3),'model':new _0x1b7ee8({'withText':!0x0,'label':_0x240188(_0x235ec7,_0x336edc(0x207)),'commandName':_0x336edc(0x19c),'role':_0x336edc(0x1e0)})},{'type':_0x336edc(0x1f3),'model':new _0x1b7ee8({'withText':!0x0,'label':_0x240188(_0x235ec7,_0x336edc(0x1ba)),'commandName':_0x336edc(0x1f6),'role':_0x336edc(0x1e0)})},{'type':_0x336edc(0x1f3),'model':new _0x1b7ee8({'withText':!0x0,'label':_0x240188(_0x235ec7,_0x336edc(0x1a6)),'commandName':_0x336edc(0x1c6),'role':_0x336edc(0x1e0)})},{'type':_0x336edc(0x1f3),'model':new _0x1b7ee8({'withText':!0x0,'label':_0x240188(_0x235ec7,_0x336edc(0x1f7)),'commandName':_0x336edc(0x1d2),'role':_0x336edc(0x1e0)})}]);for(const _0x5875ac of _0x4c8851)if(me(_0x5875ac)){const _0x1ea839=_0x43606a[_0x336edc(0x1e6)][_0x336edc(0x20e)](_0x5875ac[_0x336edc(0x1b3)][_0x336edc(0x1ff)]);_0x5875ac[_0x336edc(0x1b3)][_0x336edc(0x20a)](_0x336edc(0x1d8),_0x336edc(0x1b7))['to'](_0x1ea839,_0x336edc(0x22b),_0x336edc(0x1b7));}_0x43606a['ui'][_0x336edc(0x1e9)][_0x336edc(0x1a4)](_0x336edc(0x1be),_0x36ad0d=>this[_0x336edc(0x1ab)](_0x36ad0d,_0x4c8851,_0x1dc715)),_0x43606a['ui'][_0x336edc(0x1e9)][_0x336edc(0x1a4)](_0x336edc(0x228),_0x3f71a5=>this[_0x336edc(0x20b)](_0x3f71a5,_0x4c8851,_0x1dc715));}[_0x4f6b77(0x1ab)](_0x3d81f2,_0x20f884,_0x41c364){const _0x21fa8c=_0x4f6b77,_0x9c5be1=_0x33b59d(_0x3d81f2,_0x2ecb92),_0x15c84f=this[_0x21fa8c(0x1b1)][_0x21fa8c(0x1e6)][_0x21fa8c(0x20e)](_0x21fa8c(0x1be));_0x9c5be1[_0x21fa8c(0x1c1)][_0x21fa8c(0x223)]({'tooltip':_0x41c364,'label':_0x41c364,'icon':_0x10ba0a}),_0x9c5be1[_0x21fa8c(0x1c1)][_0x21fa8c(0x20a)](_0x21fa8c(0x1d8))['to'](_0x15c84f,_0x21fa8c(0x22b)),_0x9c5be1[_0x21fa8c(0x1c1)]['on'](_0x21fa8c(0x196),()=>{const _0x2600eb=_0x21fa8c;_0x15c84f[_0x2600eb(0x196)](),this[_0x2600eb(0x1b1)][_0x2600eb(0x1ec)][_0x2600eb(0x20c)][_0x2600eb(0x205)]();}),_0x970eb7(_0x9c5be1,_0x20f884,{'role':_0x21fa8c(0x195)});const _0x5c148d=[];for(const _0x2f8903 of _0x20f884)me(_0x2f8903)&&_0x5c148d[_0x21fa8c(0x204)](this[_0x21fa8c(0x1b1)][_0x21fa8c(0x1e6)][_0x21fa8c(0x20e)](_0x2f8903[_0x21fa8c(0x1b3)][_0x21fa8c(0x1ff)]));const _0x504ce4=_0x9c5be1[_0x21fa8c(0x1c1)];return _0x504ce4[_0x21fa8c(0x1b5)][_0x21fa8c(0x19b)](_0x21fa8c(0x1b7)),_0x504ce4[_0x21fa8c(0x1da)][_0x21fa8c(0x19b)](_0x21fa8c(0x1b7)),_0x504ce4[_0x21fa8c(0x1b5)][_0x21fa8c(0x20a)](_0x21fa8c(0x1b7))['to'](_0x15c84f,_0x21fa8c(0x1b7)),_0x504ce4[_0x21fa8c(0x1da)][_0x21fa8c(0x20a)](_0x21fa8c(0x1b7))[_0x21fa8c(0x1c8)](_0x5c148d,_0x21fa8c(0x1b7),(..._0x408974)=>_0x408974[_0x21fa8c(0x1d0)](_0x3c0fc8=>_0x3c0fc8)),_0x9c5be1['on'](_0x21fa8c(0x196),_0x31a230=>{const _0x1ac010=_0x21fa8c;this[_0x1ac010(0x1b1)][_0x1ac010(0x196)](_0x31a230[_0x1ac010(0x1cd)][_0x1ac010(0x1ff)]),this[_0x1ac010(0x1b1)][_0x1ac010(0x1ec)][_0x1ac010(0x20c)][_0x1ac010(0x205)]();}),_0x9c5be1;}[_0x4f6b77(0x20b)](_0x594232,_0xdde373,_0xee3c94){const _0x549684=_0x4f6b77,_0x35e21d=new _0x49b206(_0x594232),_0x26871b=this[_0x549684(0x1b1)][_0x549684(0x1e6)][_0x549684(0x20e)](_0x549684(0x1be));_0x35e21d[_0x549684(0x1c1)][_0x549684(0x223)]({'label':_0xee3c94,'icon':_0x10ba0a});const _0x25a701=new _0x302dbf(_0x594232);for(const _0x290459 of _0xdde373){if(_0x549684(0x1b6)==_0x290459[_0x549684(0x21f)]){_0x25a701[_0x549684(0x194)][_0x549684(0x1a4)](new _0x7fd87(_0x594232));continue;}const _0x411859=new _0x166448(_0x594232,_0x35e21d),_0x5c6ea9=new _0x102e1a(_0x594232),_0x50ab6d=_0x290459[_0x549684(0x1b3)];_0x5c6ea9[_0x549684(0x20a)](...Object[_0x549684(0x222)](_0x50ab6d))['to'](_0x50ab6d),_0x5c6ea9[_0x549684(0x1e1)](_0x549684(0x196))['to'](_0x35e21d),_0x5c6ea9['on'](_0x549684(0x196),()=>{const _0x170340=_0x549684;this[_0x170340(0x1b1)][_0x170340(0x196)](_0x50ab6d[_0x170340(0x1ff)]),this[_0x170340(0x1b1)][_0x170340(0x1ec)][_0x170340(0x20c)][_0x170340(0x205)]();}),_0x411859[_0x549684(0x1aa)][_0x549684(0x1a4)](_0x5c6ea9),_0x25a701[_0x549684(0x194)][_0x549684(0x1a4)](_0x411859);}return _0x35e21d[_0x549684(0x20a)](_0x549684(0x1b7))['to'](_0x26871b,_0x549684(0x1b7)),_0x35e21d[_0x549684(0x1ed)][_0x549684(0x1aa)][_0x549684(0x1a4)](_0x25a701),_0x35e21d;}[_0x4f6b77(0x1fe)](_0x6f052c){const _0x10478a=_0x4f6b77,_0x158dba=this[_0x10478a(0x1b1)],_0x392dfd=_0x158dba[_0x10478a(0x213)],_0x5c20c8=_0x158dba[_0x10478a(0x224)][_0x10478a(0x20e)](_0x10478a(0x21d)),_0xcf4797=_0x158dba[_0x10478a(0x224)][_0x10478a(0x20e)](_0x10478a(0x1fd)),_0x45cd95=_0x158dba[_0x10478a(0x224)][_0x10478a(0x20e)](_0x10478a(0x1a2)),_0x67a4e=_0x158dba[_0x10478a(0x224)][_0x10478a(0x20e)](_0x2e1d9c)['me'],_0x2ee4cb=_0x392dfd[_0x10478a(0x20e)](_0x10478a(0x1be))[_0x10478a(0x19a)],_0x152d58=_0x392dfd[_0x10478a(0x20e)](_0x10478a(0x1be))[_0x10478a(0x1a9)],{CommentsListView:_0x4e38f9,CommentThreadInputView:_0x59a7d6}=_0x158dba[_0x10478a(0x224)][_0x10478a(0x20e)](_0x10478a(0x21e));let _0x1c24a6,_0x1bbd54;this[_0x10478a(0x1f0)][_0x10478a(0x217)](_0x6f052c['id'])?(_0x1bbd54=this[_0x10478a(0x1f0)][_0x10478a(0x20e)](_0x6f052c['id']),_0x1c24a6=_0x1bbd54[_0x10478a(0x1e8)]):(_0x1c24a6=new _0x2ee4cb(_0x158dba[_0x10478a(0x209)],_0x6f052c,_0x67a4e,{'disableComments':this[_0x10478a(0x1c5)],'editorConfig':_0x392dfd[_0x10478a(0x20e)](_0x10478a(0x21c)),'maxCommentsWhenCollapsed':_0x392dfd[_0x10478a(0x20e)](_0x10478a(0x1e2)),'maxThreadTotalWeight':_0x392dfd[_0x10478a(0x20e)](_0x10478a(0x19e)),'maxCommentCharsWhenCollapsed':_0x392dfd[_0x10478a(0x20e)](_0x10478a(0x215)),'formatDateTime':_0x495b21(_0x392dfd[_0x10478a(0x20e)](_0x10478a(0x209))),'CommentView':_0x392dfd[_0x10478a(0x20e)](_0x10478a(0x201))[_0x10478a(0x1c9)],'CommentsListView':_0x4e38f9,'CommentThreadInputView':_0x59a7d6,'SuggestionView':_0x152d58}),_0x1c24a6[_0x10478a(0x1ae)][_0x10478a(0x1f4)]['on'](_0x10478a(0x196),()=>{const _0x5b1a80=_0x10478a;_0x158dba[_0x5b1a80(0x1ec)][_0x5b1a80(0x20c)][_0x5b1a80(0x205)]();}),_0x1c24a6[_0x10478a(0x1ae)][_0x10478a(0x1af)]['on'](_0x10478a(0x196),()=>{const _0x197445=_0x10478a;_0x158dba[_0x197445(0x1ec)][_0x197445(0x20c)][_0x197445(0x205)]();}),_0x1bbd54=_0x5c20c8[_0x10478a(0x1c3)](this[_0x10478a(0x1b1)][_0x10478a(0x209)],_0x1c24a6),_0x1bbd54[_0x10478a(0x20a)](_0x10478a(0x212))['to'](_0x1c24a6,_0x10478a(0x212)),_0x1bbd54[_0x10478a(0x20a)](_0x10478a(0x208))['to'](_0x1c24a6),_0x1bbd54[_0x10478a(0x20a)](_0x10478a(0x21f))['to'](_0x1c24a6,_0x10478a(0x21f),_0x1f4c25=>_0x10478a(0x19d)+_0x1f4c25),this[_0x10478a(0x216)](_0x1c24a6,_0x10478a(0x1bb),()=>{const _0x43a7c7=_0x10478a;_0x158dba[_0x43a7c7(0x1ec)][_0x43a7c7(0x20c)][_0x43a7c7(0x205)]();},{'priority':_0x10478a(0x1f9)}),this[_0x10478a(0x1f0)][_0x10478a(0x223)](_0x6f052c['id'],_0x1bbd54));const _0x1336de=_0xcf4797[_0x10478a(0x200)](_0x6f052c[_0x10478a(0x1a7)],_0x1c24a6),_0x30d6df=new _0x39362c(_0x158dba,_0x6f052c,_0x1c24a6,_0x1336de),_0x6690d4=_0x6f052c[_0x10478a(0x22c)]()[_0x10478a(0x1db)](_0x35d342=>_0x35d342[_0x10478a(0x225)]);_0x1c24a6[_0x10478a(0x1ad)]=_0x158dba[_0x10478a(0x224)][_0x10478a(0x20e)](_0x10478a(0x1e7))[_0x10478a(0x193)][_0x10478a(0x1c7)](_0x6690d4),this[_0x10478a(0x1a0)][_0x10478a(0x223)](_0x6f052c,_0x30d6df),this[_0x10478a(0x1b4)][_0x10478a(0x223)](_0x1c24a6,_0x30d6df);const _0xfecd4c=_0x5c20c8[_0x10478a(0x227)]({'view':_0x1bbd54,'target':()=>{const _0x46aa6f=_0x10478a,_0x51d644=[],_0x40bc87=_0x6f052c[_0x46aa6f(0x22c)]()[_0x46aa6f(0x1db)](_0x2653c3=>_0x2653c3[_0x46aa6f(0x225)]);for(const _0x4d9915 of _0x40bc87)_0x51d644[_0x46aa6f(0x204)](..._0x4d9915[_0x46aa6f(0x197)]());return _0x4af036(_0x158dba[_0x46aa6f(0x1ec)],_0x51d644);},'type':()=>_0x10478a(0x19d)+_0x30d6df[_0x10478a(0x20c)][_0x10478a(0x21f)]});_0xcf4797[_0x10478a(0x22a)](_0x1c24a6,_0xfecd4c),_0x5c20c8[_0x10478a(0x1a4)](_0xfecd4c),_0x45cd95[_0x10478a(0x1b8)](_0xfecd4c);}[_0x4f6b77(0x1e3)](_0x48381e){const _0x1a1aeb=_0x4f6b77,_0x204df8=this[_0x1a1aeb(0x1b1)][_0x1a1aeb(0x224)][_0x1a1aeb(0x20e)](_0x1a1aeb(0x1fd)),_0x539dae=this[_0x1a1aeb(0x1b1)][_0x1a1aeb(0x224)][_0x1a1aeb(0x20e)](_0x1a1aeb(0x21d)),_0x2dc75d=this[_0x1a1aeb(0x1a0)][_0x1a1aeb(0x20e)](_0x48381e),_0x36e524=_0x2dc75d[_0x1a1aeb(0x20c)],_0x92daae=_0x539dae[_0x1a1aeb(0x218)](_0x36e524);_0x204df8[_0x1a1aeb(0x1cc)](_0x36e524),_0x92daae&&_0x539dae[_0x1a1aeb(0x20d)](_0x92daae),this[_0x1a1aeb(0x1a0)][_0x1a1aeb(0x21b)](_0x48381e),this[_0x1a1aeb(0x1b4)][_0x1a1aeb(0x21b)](_0x36e524),_0x2dc75d[_0x1a1aeb(0x1f5)]();}[_0x4f6b77(0x1fa)](_0x37f499){const _0xdcb3b9=_0x4f6b77;if(!_0x37f499[_0xdcb3b9(0x225)]||!this[_0xdcb3b9(0x1a0)][_0xdcb3b9(0x217)](_0x37f499))return;const _0x55faa3=this[_0xdcb3b9(0x1b1)][_0xdcb3b9(0x224)][_0xdcb3b9(0x20e)](_0xdcb3b9(0x1e7)),_0x3a462e=this[_0xdcb3b9(0x1a0)][_0xdcb3b9(0x20e)](_0x37f499),_0x3ba838=_0x37f499[_0xdcb3b9(0x22c)]();_0x3a462e[_0xdcb3b9(0x20c)][_0xdcb3b9(0x1ad)]=_0x55faa3[_0xdcb3b9(0x193)][_0xdcb3b9(0x1c7)](_0x3ba838);}[_0x4f6b77(0x220)](){const _0x1170df=_0x4f6b77;this[_0x1170df(0x1b1)][_0x1170df(0x1ce)][_0x1170df(0x223)](_0x47617e,(_0x278e4a,_0x5207aa)=>{const _0x44179b=_0x1170df,_0x1b5112=this[_0x44179b(0x1b1)][_0x44179b(0x224)][_0x44179b(0x20e)](_0x543b54),_0x1aef67=this[_0x44179b(0x1b1)][_0x44179b(0x224)][_0x44179b(0x20e)](_0x265e38);if(!_0x1aef67[_0x44179b(0x1a8)][_0x44179b(0x208)])return;const {id:_0x4f2395}=_0x1aef67[_0x44179b(0x1c2)](_0x1aef67[_0x44179b(0x1a8)][0x0]),_0x312f69=_0x1b5112[_0x44179b(0x1a5)](_0x4f2395);_0x312f69&&(this[_0x44179b(0x1a0)][_0x44179b(0x20e)](_0x312f69)[_0x44179b(0x20c)][_0x44179b(0x205)](),_0x5207aa());});}[_0x4f6b77(0x1f5)](){const _0xacda3=_0x4f6b77;for(const _0x357447 of this[_0xacda3(0x1a0)][_0xacda3(0x222)]())this[_0xacda3(0x1e3)](_0x357447);for(const _0x459a77 of this[_0xacda3(0x1f0)][_0xacda3(0x1cb)]())_0x459a77[_0xacda3(0x1e8)][_0xacda3(0x1f5)]();super[_0xacda3(0x1f5)]();}}function me(_0x487c4b){const _0x209e94=_0x4f6b77;return _0x209e94(0x1b3)in _0x487c4b;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x31da(_0x2bfd93,_0x2563b5){const _0x429847=_0x4298();return _0x31da=function(_0x31daaa,_0x303024){_0x31daaa=_0x31daaa-0xa8;let _0xeeb16c=_0x429847[_0x31daaa];return _0xeeb16c;},_0x31da(_0x2bfd93,_0x2563b5);}const _0x13fa5c=_0x31da;(function(_0x4c8b81,_0x41c423){const _0x388fef=_0x31da,_0x4e23f2=_0x4c8b81();while(!![]){try{const _0x2e87be=parseInt(_0x388fef(0xcc))/0x1+-parseInt(_0x388fef(0xd3))/0x2*(parseInt(_0x388fef(0xa8))/0x3)+parseInt(_0x388fef(0xc4))/0x4*(-parseInt(_0x388fef(0xad))/0x5)+-parseInt(_0x388fef(0xbb))/0x6*(-parseInt(_0x388fef(0xcf))/0x7)+-parseInt(_0x388fef(0xb0))/0x8*(-parseInt(_0x388fef(0xc2))/0x9)+-parseInt(_0x388fef(0xd1))/0xa*(parseInt(_0x388fef(0xb4))/0xb)+parseInt(_0x388fef(0xbe))/0xc;if(_0x2e87be===_0x41c423)break;else _0x4e23f2['push'](_0x4e23f2['shift']());}catch(_0x175428){_0x4e23f2['push'](_0x4e23f2['shift']());}}}(_0x4298,0xde32b));import{ObservableMixin as _0x5c57b0}from'ckeditor5/src/utils.js';import{getTranslation as _0x324eeb}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5c57b0(){constructor(_0x5111dd,_0x11c353,_0x4d829d,_0x46439c){const _0x56c071=_0x31da;super(),this[_0x56c071(0xaf)]=_0x11c353,this[_0x56c071(0xca)]=_0x4d829d,this[_0x56c071(0xac)]=_0x46439c,this[_0x56c071(0xc8)]=_0x5111dd,this[_0x56c071(0xbd)]=_0x5111dd[_0x56c071(0xb2)][_0x56c071(0xb5)](_0x56c071(0xc9)),this[_0x56c071(0xbf)]=_0x5111dd[_0x56c071(0xb2)][_0x56c071(0xb5)](_0x56c071(0xb6)),this[_0x56c071(0xca)][_0x56c071(0xba)](_0x56c071(0xaa))['to'](this[_0x56c071(0xbd)],this[_0x56c071(0xbf)],(_0x289c32,_0x1e9027)=>_0x289c32||_0x1e9027),this[_0x56c071(0xca)][_0x56c071(0xba)](_0x56c071(0xc5))['to'](this[_0x56c071(0xbd)],_0x56c071(0xaa),_0x2c4cc9=>_0x2c4cc9&&this[_0x56c071(0xc8)][_0x56c071(0xaf)][_0x56c071(0xb7)](_0x11c353[_0x56c071(0xab)]())),this[_0x56c071(0xca)][_0x56c071(0xba)](_0x56c071(0xce))['to'](this[_0x56c071(0xbf)],_0x56c071(0xaa),_0x5577bb=>_0x5577bb&&this[_0x56c071(0xc8)][_0x56c071(0xaf)][_0x56c071(0xb7)](_0x11c353[_0x56c071(0xab)]())),this[_0x56c071(0xc7)]=null,_0x4d829d[_0x56c071(0xc6)]&&this[_0x56c071(0xc0)](),this[_0x56c071(0xb8)](_0x4d829d,_0x56c071(0xc9),()=>this[_0x56c071(0xc9)]()),this[_0x56c071(0xb8)](_0x4d829d,_0x56c071(0xb6),()=>this[_0x56c071(0xb6)]()),this[_0x56c071(0xb8)](_0x4d829d,_0x56c071(0xa9),()=>{const _0x122351=_0x56c071;_0x4d829d[_0x122351(0xc6)]?this[_0x122351(0xc0)]():this[_0x122351(0xcd)]();});}[_0x13fa5c(0xc9)](){const _0x1e6f03=_0x13fa5c;this[_0x1e6f03(0xbd)][_0x1e6f03(0xae)](this[_0x1e6f03(0xaf)]['id']);}[_0x13fa5c(0xb6)](){const _0xbf3e02=_0x13fa5c;this[_0xbf3e02(0xbf)][_0xbf3e02(0xae)](this[_0xbf3e02(0xaf)]['id']);}[_0x13fa5c(0xbc)](){const _0x3dd189=_0x13fa5c;this[_0x3dd189(0xca)][_0x3dd189(0xd2)](_0x3dd189(0xaa)),this[_0x3dd189(0xca)][_0x3dd189(0xd2)](_0x3dd189(0xc5)),this[_0x3dd189(0xca)][_0x3dd189(0xd2)](_0x3dd189(0xce)),this[_0x3dd189(0xcb)](),this[_0x3dd189(0xac)][_0x3dd189(0xbc)](),this[_0x3dd189(0xc7)]&&this[_0x3dd189(0xcd)]();}[_0x13fa5c(0xc0)](){const _0x8c496d=_0x13fa5c,_0x440e44=_0x324eeb(this[_0x8c496d(0xc8)][_0x8c496d(0xb9)],_0x8c496d(0xb3));this[_0x8c496d(0xc7)]=this[_0x8c496d(0xc8)][_0x8c496d(0xc1)][_0x8c496d(0xb5)](_0x8c496d(0xd0))[_0x8c496d(0xb1)](_0x440e44);}[_0x13fa5c(0xcd)](){const _0x96595a=_0x13fa5c;null!==this[_0x96595a(0xc7)]&&this[_0x96595a(0xc8)][_0x96595a(0xc1)][_0x96595a(0xb5)](_0x96595a(0xd0))[_0x96595a(0xc3)](this[_0x96595a(0xc7)]),this[_0x96595a(0xc7)]=null;}}function _0x4298(){const _0x4fa9aa=['change:isDirty','isEnabled','getRanges','commentThreadController','547460owlpJH','execute','model','519352EjDwjp','add','commands','PENDING_ACTION_SUGGESTION','176JFcavV','get','discardSuggestion','canEditAt','listenTo','locale','bind','144780VErHMg','destroy','_acceptCommand','26802924HFoYxh','_discardCommand','_setPendingAction','plugins','45nDPHGW','remove','20udjFBo','canAccept','isDirty','_pendingAction','_editor','acceptSuggestion','view','stopListening','938312cVWLGq','_removePendingAction','canDiscard','252KnCQup','PendingActions','1086700TgAMdv','unbind','2GNAoCl','3506583VXKZZV'];_0x4298=function(){return _0x4fa9aa;};return _0x4298();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47bbdd=_0x5d66;(function(_0x416428,_0x3a666b){const _0x14923a=_0x5d66,_0x56226f=_0x416428();while(!![]){try{const _0x425b67=parseInt(_0x14923a(0x90))/0x1+parseInt(_0x14923a(0xc9))/0x2+parseInt(_0x14923a(0xc0))/0x3*(-parseInt(_0x14923a(0xb6))/0x4)+parseInt(_0x14923a(0xa6))/0x5+-parseInt(_0x14923a(0xba))/0x6+parseInt(_0x14923a(0xae))/0x7+parseInt(_0x14923a(0xbe))/0x8*(-parseInt(_0x14923a(0xab))/0x9);if(_0x425b67===_0x3a666b)break;else _0x56226f['push'](_0x56226f['shift']());}catch(_0xf707b5){_0x56226f['push'](_0x56226f['shift']());}}}(_0x3b4b,0x8bbe4));function _0x5d66(_0x2645c2,_0x12afe3){const _0x3b4b41=_0x3b4b();return _0x5d66=function(_0x5d668b,_0x53063b){_0x5d668b=_0x5d668b-0x83;let _0x1aa73f=_0x3b4b41[_0x5d668b];return _0x1aa73f;},_0x5d66(_0x2645c2,_0x12afe3);}import{FocusCycler as _0x58f1db,View as _0x29246c,ViewCollection as _0x381466}from'ckeditor5/src/ui.js';function _0x3b4b(){const _0x1b33d0=['focusTracker','fire','bind','text/html','commentThread','_config','authoredAt','236tEtzPJ','delegate','author','content','2340366bdKrXf','_createCommentViews','render','CommentView','230704CaOGmE','updateComment','51252FiAasS','descriptionParts','_localUser','isReadOnly','focusables','set','shift+tab','element','locale','1726754lkYuVX','cancel','length','_createCommentThreadInputView','showInput','ariaLabel','map','disableComments','parseFromString','destroy','setData','disabledSubmit','target','submit','focus','411230hnTthL','textContent','keystrokes','isDirty','name','commentsListView','_model','formatDateTime','hasDirtyComment','editor','isActive','tab','commentThreadInputView','canAccept','SUGGESTION_THREAD_DESCRIPTION','canDiscard','editorConfig','commentInputView','removeComment','SUGGESTION_THREAD_ARIA_LABEL','focusCycler','join','1517460EwLERW','isEnabled','body','assign','addComment','18GSKrwv','value','ariaDescriptionView','3149874lSiWqS'];_0x3b4b=function(){return _0x1b33d0;};return _0x3b4b();}import{FocusTracker as _0x241a53,KeystrokeHandler as _0x323daa}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x3a0355,setupThreadKeyboardNavigation as _0x130283}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x52922a}from'../../utils/common-translations.js';import{renderDescription as _0x420bda}from'../../utils/utils.js';export default class us extends _0x29246c{constructor(_0x5b6962,_0x356bb1,_0x498d64,_0xdd0e05){const _0x1150ef=_0x5d66;super(_0x5b6962),this[_0x1150ef(0x95)]=null,this[_0x1150ef(0x9c)]=null,this[_0x1150ef(0xad)]=new _0x3a0355(_0x5b6962,_0x52922a(_0x5b6962,_0x1150ef(0x9e))),this[_0x1150ef(0xc5)](_0x1150ef(0x9a),!0x1),this[_0x1150ef(0xc5)](_0x1150ef(0xb5),_0x356bb1[_0x1150ef(0xb5)]),this[_0x1150ef(0xb1)](_0x1150ef(0xb5))['to'](_0x356bb1),this[_0x1150ef(0xc5)](_0x1150ef(0xc1),[]),this[_0x1150ef(0xc5)](_0x1150ef(0x93),!0x1),this[_0x1150ef(0xc5)](_0x1150ef(0xa7),!0x1),this[_0x1150ef(0xc5)](_0x1150ef(0x9d),!0x1),this[_0x1150ef(0xc5)](_0x1150ef(0x9f),!0x1),this[_0x1150ef(0xb1)](_0x1150ef(0x86))['to'](this,_0x1150ef(0x83),_0x356bb1,_0x1150ef(0xb5),this,_0x1150ef(0xc1),(_0x42a640,_0x1138a2,_0x58100e)=>{const _0x306265=_0x1150ef,_0x103359=_0x58100e[_0x306265(0x87)](_0x72585d=>_0x420bda(_0x72585d[_0x306265(0xb9)]))[_0x306265(0xa5)]('.\x20')+'.';return _0x52922a(this[_0x306265(0xc8)],_0x306265(0xa3),[_0x42a640-0x1,_0x356bb1[_0x306265(0xb8)][_0x306265(0x94)],_0x1138a2?_0xdd0e05[_0x306265(0x97)](_0x1138a2):'',new DOMParser()[_0x306265(0x89)](_0x103359,_0x306265(0xb2))[_0x306265(0xa8)][_0x306265(0x91)]]);}),this[_0x1150ef(0xc4)]=new _0x381466(),this[_0x1150ef(0xaf)]=new _0x241a53(),this[_0x1150ef(0x92)]=new _0x323daa(),this[_0x1150ef(0xa4)]=new _0x58f1db({'focusables':this[_0x1150ef(0xc4)],'focusTracker':this[_0x1150ef(0xaf)],'keystrokeHandler':this[_0x1150ef(0x92)],'keystrokeHandlerOptions':{'filter':_0x4faed5=>_0x4faed5[_0x1150ef(0x8d)]!==this[_0x1150ef(0xc7)]},'actions':{'focusPrevious':_0x1150ef(0xc6),'focusNext':_0x1150ef(0x9b)}}),this[_0x1150ef(0x96)]=_0x356bb1,this[_0x1150ef(0xc2)]=_0x498d64,this[_0x1150ef(0xb4)]=_0xdd0e05,_0xdd0e05[_0x1150ef(0x88)]?this[_0x1150ef(0xc5)](_0x1150ef(0x83),0x1):this[_0x1150ef(0xbb)]();}[_0x47bbdd(0xbc)](){const _0x36f631=_0x47bbdd;super[_0x36f631(0xbc)](),_0x130283(this,this[_0x36f631(0xc4)]);}[_0x47bbdd(0x8f)](){const _0x4b9811=_0x47bbdd;this[_0x4b9811(0xc7)][_0x4b9811(0x8f)]();}[_0x47bbdd(0x8a)](){const _0x1220bf=_0x47bbdd;this[_0x1220bf(0x95)]&&this[_0x1220bf(0x95)][_0x1220bf(0x8a)](),this[_0x1220bf(0x9c)]&&this[_0x1220bf(0x9c)][_0x1220bf(0x8a)](),super[_0x1220bf(0x8a)]();}[_0x47bbdd(0xbb)](){const _0x1f7c73=_0x47bbdd,{CommentsListView:_0x342e6f}=this[_0x1f7c73(0xb4)];this[_0x1f7c73(0x95)]=new _0x342e6f(this[_0x1f7c73(0xc8)],this[_0x1f7c73(0x96)][_0x1f7c73(0xb3)],Object[_0x1f7c73(0xa9)]({'CommentView':this[_0x1f7c73(0xb4)][_0x1f7c73(0xbd)]},this[_0x1f7c73(0xb4)])),this[_0x1f7c73(0x95)][_0x1f7c73(0xb7)](_0x1f7c73(0xa2))['to'](this),this[_0x1f7c73(0x95)][_0x1f7c73(0xb7)](_0x1f7c73(0xbf))['to'](this),this[_0x1f7c73(0x95)][_0x1f7c73(0xb1)](_0x1f7c73(0x9a))['to'](this),this[_0x1f7c73(0xc5)](_0x1f7c73(0x83),this[_0x1f7c73(0x95)][_0x1f7c73(0x83)]+0x1),this[_0x1f7c73(0xb1)](_0x1f7c73(0x83))['to'](this[_0x1f7c73(0x95)],_0x1f7c73(0x83),_0x35f4d7=>_0x35f4d7+0x1),this[_0x1f7c73(0x9c)]=this[_0x1f7c73(0x84)](),this['on'](_0x1f7c73(0xa2),()=>this[_0x1f7c73(0x8f)]()),this[_0x1f7c73(0xb1)](_0x1f7c73(0x93))['to'](this[_0x1f7c73(0x95)],_0x1f7c73(0x98),this[_0x1f7c73(0x9c)][_0x1f7c73(0xa1)],_0x1f7c73(0xac),(_0x5bf28b,_0x378e4e)=>_0x5bf28b||!!_0x378e4e);}[_0x47bbdd(0x84)](){const _0x4a0b2f=_0x47bbdd,{CommentThreadInputView:_0x55e71a}=this[_0x4a0b2f(0xb4)],_0x370308=new _0x55e71a(this[_0x4a0b2f(0xc8)],this[_0x4a0b2f(0xc2)],this[_0x4a0b2f(0xb4)][_0x4a0b2f(0xa0)]),_0xc68fa0=_0x370308[_0x4a0b2f(0xa1)];return _0x370308[_0x4a0b2f(0xb1)](_0x4a0b2f(0x85))['to'](this,_0x4a0b2f(0x9a),this[_0x4a0b2f(0x96)][_0x4a0b2f(0xb3)],_0x4a0b2f(0xc3),_0xc68fa0,_0x4a0b2f(0xac),(_0x55cb10,_0x45e2d1,_0x2737d5)=>!!_0x2737d5||_0x55cb10&&!_0x45e2d1),_0xc68fa0['on'](_0x4a0b2f(0x8e),(_0x58e562,_0x52a051)=>{const _0x2aca34=_0x4a0b2f;this[_0x2aca34(0xb0)](_0x2aca34(0xaa),_0x52a051),_0xc68fa0[_0x2aca34(0x99)][_0x2aca34(0x8b)]('');}),_0xc68fa0['on'](_0x4a0b2f(0xca),()=>this[_0x4a0b2f(0x8f)]()),_0xc68fa0[_0x4a0b2f(0xb1)](_0x4a0b2f(0x8c))['to'](this[_0x4a0b2f(0x96)][_0x4a0b2f(0xb3)],_0x4a0b2f(0xc3)),_0x370308;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4eaa14=_0x5c1c;function _0x5c1c(_0xbf6d55,_0x50c999){const _0x42ebae=_0x42eb();return _0x5c1c=function(_0x5c1ce6,_0x4f2d01){_0x5c1ce6=_0x5c1ce6-0x1cf;let _0x26cece=_0x42ebae[_0x5c1ce6];return _0x26cece;},_0x5c1c(_0xbf6d55,_0x50c999);}(function(_0x3cc38c,_0x4665cb){const _0x32ac47=_0x5c1c,_0x1171a1=_0x3cc38c();while(!![]){try{const _0x10bb8b=parseInt(_0x32ac47(0x208))/0x1+-parseInt(_0x32ac47(0x1f7))/0x2*(-parseInt(_0x32ac47(0x1f5))/0x3)+-parseInt(_0x32ac47(0x1de))/0x4*(parseInt(_0x32ac47(0x1e9))/0x5)+parseInt(_0x32ac47(0x1d2))/0x6*(parseInt(_0x32ac47(0x1eb))/0x7)+-parseInt(_0x32ac47(0x1ff))/0x8*(-parseInt(_0x32ac47(0x1d0))/0x9)+-parseInt(_0x32ac47(0x1fd))/0xa*(-parseInt(_0x32ac47(0x1fa))/0xb)+parseInt(_0x32ac47(0x1cf))/0xc*(-parseInt(_0x32ac47(0x1d1))/0xd);if(_0x10bb8b===_0x4665cb)break;else _0x1171a1['push'](_0x1171a1['shift']());}catch(_0x51b5c6){_0x1171a1['push'](_0x1171a1['shift']());}}}(_0x42eb,0x97a01));import{default as _0x51931f}from'./basesuggestionthreadview.js';function _0x42eb(){const _0x864e5=['ck-suggestion-wrapper--active','render','acceptSuggestion','1119007feuvny','ck-suggestion--disabled-comments','SuggestionView','6009612ncGOsV','3881637tGpRjR','78JiXjEo','18aHsFRy','canDiscard','ck-suggestion-wrapper','_model','commentThreadInputView','delegate','editorReady','editorDestroyed','_descriptionElement','focusables','</p>','disableComments','132780xqjhLd','color','discardButton','div','description','push','commentsListView','ck-suggestion-','bindTemplate','isActive','ariaLabel','15teaDZL','add','2710064pHpELx','type','<p>','author','ariaDescriptionView','canAccept','acceptButton','suggestionView','isEnabled','ck-rounded-corners','33333wRvyfN','setTemplate','38fcMFgK','content','getTemplate','38170jEpfrI','listitem','set','1070JSbgzZ','commentThread','16CKtuMK','formatDateTime','_config','bind','descriptionParts','discardSuggestion'];_0x42eb=function(){return _0x864e5;};return _0x42eb();}import{trimHtml as _0x32d709}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x29cc88}from'../../utils/utils.js';export default class re extends _0x51931f{constructor(_0xe57672,_0x421448,_0xba132b,_0x4d4005){const _0x5e1a2a=_0x5c1c;super(_0xe57672,_0x421448,_0xba132b,_0x4d4005),this[_0x5e1a2a(0x1fc)](_0x5e1a2a(0x1ec),''),this[_0x5e1a2a(0x202)](_0x5e1a2a(0x1ec))['to'](this,_0x5e1a2a(0x203),_0x27a031=>_0x27a031&&_0x27a031[0x0]?_0x27a031[0x0][_0x5e1a2a(0x1ec)]:''),this[_0x5e1a2a(0x202)](_0x5e1a2a(0x1e2))['to'](this,_0x5e1a2a(0x203),this,_0x5e1a2a(0x1e7),(_0x19b354,_0x230f81)=>{const _0x138dc9=_0x5e1a2a;let _0x279eef='';for(const _0x3d3432 of _0x19b354)_0x279eef+=_0x138dc9(0x1ed)+_0x29cc88(_0x3d3432[_0x138dc9(0x1f8)],_0x3d3432[_0x138dc9(0x1df)])+_0x138dc9(0x1dc);return _0x230f81?_0x279eef:_0x32d709(_0x279eef,{'limit':0x8c});}),this[_0x5e1a2a(0x1da)]=null,this[_0x5e1a2a(0x1f2)]=new _0x4d4005[(_0x5e1a2a(0x20a))](_0xe57672,_0x421448,{'formatDateTime':_0x4d4005[_0x5e1a2a(0x200)]}),this[_0x5e1a2a(0x1f2)][_0x5e1a2a(0x202)](_0x5e1a2a(0x1e2))['to'](this),this[_0x5e1a2a(0x1f2)][_0x5e1a2a(0x1d7)](_0x5e1a2a(0x207),_0x5e1a2a(0x204))['to'](this),this[_0x5e1a2a(0x1f2)][_0x5e1a2a(0x1f1)][_0x5e1a2a(0x202)](_0x5e1a2a(0x1f3))['to'](this,_0x5e1a2a(0x1f0)),this[_0x5e1a2a(0x1f2)][_0x5e1a2a(0x1e0)][_0x5e1a2a(0x202)](_0x5e1a2a(0x1f3))['to'](this,_0x5e1a2a(0x1d3)),this[_0x5e1a2a(0x1db)][_0x5e1a2a(0x1ea)](this[_0x5e1a2a(0x1f2)]),this[_0x5e1a2a(0x1e4)]&&this[_0x5e1a2a(0x1db)][_0x5e1a2a(0x1ea)](this[_0x5e1a2a(0x1e4)]),this[_0x5e1a2a(0x1d6)]&&this[_0x5e1a2a(0x1db)][_0x5e1a2a(0x1ea)](this[_0x5e1a2a(0x1d6)]),this[_0x5e1a2a(0x1f6)](this[_0x5e1a2a(0x1f9)]());}[_0x4eaa14(0x1f9)](){const _0x5328bc=_0x4eaa14,_0x21dad8=this[_0x5328bc(0x1e6)],_0x453d00=[this[_0x5328bc(0x1f2)]];return this[_0x5328bc(0x1e4)]&&_0x453d00[_0x5328bc(0x1e3)](this[_0x5328bc(0x1e4)]),this[_0x5328bc(0x1d6)]&&_0x453d00[_0x5328bc(0x1e3)](this[_0x5328bc(0x1d6)]),_0x453d00[_0x5328bc(0x1e3)](this[_0x5328bc(0x1ef)]),{'tag':_0x5328bc(0x1e1),'attributes':{'class':['ck',_0x5328bc(0x1f4),_0x5328bc(0x1d4),_0x21dad8['if'](_0x5328bc(0x1e7),_0x5328bc(0x205)),_0x21dad8['to'](_0x5328bc(0x1ec),_0x1eae99=>_0x5328bc(0x1e5)+_0x1eae99),this[_0x5328bc(0x201)][_0x5328bc(0x1dd)]&&_0x5328bc(0x209)],'data-suggestion-id':this[_0x5328bc(0x1d5)]['id'],'data-thread-id':this[_0x5328bc(0x1d5)][_0x5328bc(0x1fe)]['id'],'data-author-id':this[_0x5328bc(0x1d5)][_0x5328bc(0x1ee)]['id'],'tabindex':0x0,'role':_0x5328bc(0x1fb),'aria-label':_0x21dad8['to'](_0x5328bc(0x1e8)),'aria-describedby':this[_0x5328bc(0x1ef)]['id']},'children':_0x453d00};}[_0x4eaa14(0x206)](){const _0x17fcf1=_0x4eaa14;super[_0x17fcf1(0x206)](),this[_0x17fcf1(0x1e4)]&&(this[_0x17fcf1(0x1e4)][_0x17fcf1(0x1d7)](_0x17fcf1(0x1d8))['to'](this),this[_0x17fcf1(0x1e4)][_0x17fcf1(0x1d7)](_0x17fcf1(0x1d9))['to'](this)),this[_0x17fcf1(0x1d6)]&&(this[_0x17fcf1(0x1d6)][_0x17fcf1(0x1d7)](_0x17fcf1(0x1d8))['to'](this),this[_0x17fcf1(0x1d6)][_0x17fcf1(0x1d7)](_0x17fcf1(0x1d9))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3538cc=_0xbbf2;(function(_0x3a5b8b,_0x35ae9e){const _0x99966b=_0xbbf2,_0x42a1a2=_0x3a5b8b();while(!![]){try{const _0x14ab02=-parseInt(_0x99966b(0xd1))/0x1*(-parseInt(_0x99966b(0x116))/0x2)+parseInt(_0x99966b(0xf4))/0x3+-parseInt(_0x99966b(0x10e))/0x4*(parseInt(_0x99966b(0x107))/0x5)+-parseInt(_0x99966b(0xf2))/0x6*(parseInt(_0x99966b(0xe3))/0x7)+-parseInt(_0x99966b(0xe2))/0x8*(-parseInt(_0x99966b(0x10f))/0x9)+parseInt(_0x99966b(0x100))/0xa*(parseInt(_0x99966b(0xf7))/0xb)+-parseInt(_0x99966b(0x10b))/0xc;if(_0x14ab02===_0x35ae9e)break;else _0x42a1a2['push'](_0x42a1a2['shift']());}catch(_0x534d61){_0x42a1a2['push'](_0x42a1a2['shift']());}}}(_0x3003,0x68fd9));import{FocusTracker as _0x19b4c5,KeystrokeHandler as _0x45b418}from'ckeditor5/src/utils.js';import{View as _0x208d79,ViewCollection as _0x147318,FocusCycler as _0x47fd9f}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x4cb915,UserView as _0x6e03ba}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0xdd204b}from'ckeditor5/src/core.js';function _0xbbf2(_0xadfbce,_0x1094eb){const _0x30034f=_0x3003();return _0xbbf2=function(_0xbbf2f0,_0x64d9c0){_0xbbf2f0=_0xbbf2f0-0xbf;let _0x472d52=_0x30034f[_0xbbf2f0];return _0x472d52;},_0xbbf2(_0xadfbce,_0x1094eb);}import{getTranslation as _0x3b39dc}from'../../utils/common-translations.js';export default class ce extends _0x208d79{constructor(_0x874927,_0x381dad,_0x5a72c2){const _0x42d309=_0xbbf2;super(_0x874927),this[_0x42d309(0xe1)]=_0x381dad,this[_0x42d309(0xe4)]=_0x5a72c2,this[_0x42d309(0xf5)](_0x42d309(0x113),''),this[_0x42d309(0xd0)](_0x42d309(0xfb))['to'](_0x381dad),this[_0x42d309(0xd3)]=this[_0x42d309(0xf3)](_0x3b39dc(_0x874927,_0x42d309(0x109)),_0xdd204b[_0x42d309(0xc1)],_0x42d309(0x10d),_0x42d309(0xdc),'sw'),this[_0x42d309(0x114)]=this[_0x42d309(0xf3)](_0x3b39dc(_0x874927,_0x42d309(0xd8)),_0xdd204b[_0x42d309(0xdf)],_0x42d309(0x10a),_0x42d309(0x106),'sw'),this[_0x42d309(0xf1)]=new _0x6e03ba(_0x874927,_0x381dad[_0x42d309(0xea)],this[_0x42d309(0xbf)]()),this[_0x42d309(0xf1)][_0x42d309(0xdd)]({'attributes':{'class':[_0x42d309(0xcb),_0x42d309(0xf8)],'aria-hidden':!0x0}}),this[_0x42d309(0xfa)]=new _0x147318([this[_0x42d309(0xd3)],this[_0x42d309(0x114)]]),this[_0x42d309(0xe6)]=new _0x19b4c5(),this[_0x42d309(0xc7)]=new _0x45b418(),this[_0x42d309(0xd9)]=new _0x47fd9f({'focusables':this[_0x42d309(0xfa)],'focusTracker':this[_0x42d309(0xe6)],'keystrokeHandler':this[_0x42d309(0xc7)],'actions':{'focusPrevious':_0x42d309(0xd2),'focusNext':_0x42d309(0xed)},'keystrokeHandlerOptions':{'filter':_0x412fac=>_0x412fac[_0x42d309(0x102)]!==this[_0x42d309(0x10c)]}}),this[_0x42d309(0xce)](this[_0x42d309(0xf9)]());}[_0x3538cc(0xe0)](){const _0x38216f=_0x3538cc;super[_0x38216f(0xe0)]();const _0x55e9d6=this[_0x38216f(0x10c)][_0x38216f(0x115)](_0x38216f(0xf0));_0x55e9d6[_0x38216f(0xfe)]=this[_0x38216f(0x113)],this['on'](_0x38216f(0xc9),(_0x44b557,_0x25465a,_0x35de25)=>{const _0x423af8=_0x38216f;_0x55e9d6[_0x423af8(0xfe)]=_0x35de25;}),this[_0x38216f(0xca)]();}[_0x3538cc(0xf9)](){const _0x127ba1=_0x3538cc,_0x237bec=this[_0x127ba1(0x117)],_0x23335c=[{'tag':_0x127ba1(0xc3),'attributes':{'class':[_0x127ba1(0xeb),_0x127ba1(0xec)]},'children':[{'tag':_0x127ba1(0xf6),'children':[{'text':this[_0x127ba1(0xf1)][_0x127ba1(0xee)]}],'attributes':{'class':[_0x127ba1(0x118),_0x127ba1(0xe9)]}},{'tag':_0x127ba1(0x119),'attributes':{'datetime':_0x237bec['to'](_0x127ba1(0xfb)),'class':[_0x127ba1(0xfd),_0x127ba1(0x11b)]},'children':[{'text':_0x237bec['to'](_0x127ba1(0xfb),_0x342dba=>this[_0x127ba1(0xe4)][_0x127ba1(0xcc)](_0x342dba))}]}]},{'tag':_0x127ba1(0xc3),'attributes':{'class':[_0x127ba1(0xc8),_0x127ba1(0xdb)]},'children':[this[_0x127ba1(0xd3)],this[_0x127ba1(0x114)]]},{'tag':_0x127ba1(0xc3),'attributes':{'class':[_0x127ba1(0x108)]}}];return this[_0x127ba1(0xe1)][_0x127ba1(0xde)]&&_0x23335c[_0x127ba1(0x11a)]({'tag':_0x127ba1(0xc3),'attributes':{'class':[_0x127ba1(0x112)]},'children':[{'text':this[_0x127ba1(0xef)]()}]}),{'tag':_0x127ba1(0xc3),'attributes':{'class':[_0x127ba1(0xc0),_0x127ba1(0xc4)],'tabindex':-0x1},'children':[this[_0x127ba1(0xf1)],{'tag':_0x127ba1(0xc3),'attributes':{'class':[_0x127ba1(0xd4),_0x127ba1(0x110)],'role':_0x127ba1(0xc5)},'children':_0x23335c}]};}[_0x3538cc(0xd6)](){const _0x498859=_0x3538cc;this[_0x498859(0x10c)][_0x498859(0xd6)]();}[_0x3538cc(0xbf)](){const _0x40a973=_0x3538cc;return this[_0x40a973(0xe1)][_0x40a973(0xde)]?_0x40a973(0xe8)===this[_0x40a973(0xe1)][_0x40a973(0xfc)][_0x40a973(0x105)][_0x40a973(0xd7)]?_0x3b39dc(this[_0x40a973(0xcf)],_0x40a973(0xe5),this[_0x40a973(0xe1)][_0x40a973(0xc2)][_0x40a973(0xee)]):_0x3b39dc(this[_0x40a973(0xcf)],_0x40a973(0xd5),this[_0x40a973(0xe1)][_0x40a973(0xc2)][_0x40a973(0xee)]):null;}[_0x3538cc(0xef)](){const _0xe2b463=_0x3538cc;return _0xe2b463(0xe8)===this[_0xe2b463(0xe1)][_0xe2b463(0xfc)][_0xe2b463(0x105)][_0xe2b463(0xd7)]?_0x3b39dc(this[_0xe2b463(0xcf)],_0xe2b463(0x104)):_0x3b39dc(this[_0xe2b463(0xcf)],_0xe2b463(0x101));}[_0x3538cc(0xf3)](_0x33eff5,_0x564fb0,_0x3eabbd,_0x5f5a63,_0x1440f4){const _0x24311e=_0x3538cc,_0x492b26=new _0x4cb915(this[_0x24311e(0xcf)]);return _0x492b26[_0x24311e(0xf5)]({'label':_0x33eff5,'icon':_0x564fb0,'tooltip':!0x0,'tooltipPosition':_0x1440f4}),_0x492b26[_0x24311e(0xdd)]({'attributes':{'class':_0x3eabbd}}),_0x492b26['on'](_0x24311e(0xc6),()=>{const _0x217015=_0x24311e;this[_0x217015(0x103)](_0x5f5a63,this[_0x217015(0xe1)]['id']);}),_0x492b26;}[_0x3538cc(0xca)](){const _0x5551e3=_0x3538cc,_0x47b4d3=this[_0x5551e3(0x10c)];this[_0x5551e3(0xc7)][_0x5551e3(0xcd)](_0x47b4d3);for(const _0x1842bb of this[_0x5551e3(0xfa)])this[_0x5551e3(0xe6)][_0x5551e3(0xff)](_0x1842bb[_0x5551e3(0x10c)]),this[_0x5551e3(0xc7)][_0x5551e3(0xcd)](_0x1842bb[_0x5551e3(0x10c)]);this[_0x5551e3(0xc7)][_0x5551e3(0xf5)](_0x5551e3(0xda),(_0x46b80f,_0x8765c)=>{const _0x56a754=_0x5551e3;_0x47b4d3===_0x46b80f[_0x56a754(0x102)]&&(this[_0x56a754(0xd9)][_0x56a754(0x111)](),_0x8765c());}),this[_0x5551e3(0xc7)][_0x5551e3(0xf5)](_0x5551e3(0xe7),(_0x287b03,_0x294be3)=>{const _0xbc52d8=_0x5551e3;_0x47b4d3!==_0x287b03[_0xbc52d8(0x102)]&&(this[_0xbc52d8(0xd6)](),_0x294be3());});}}function _0x3003(){const _0xee873f=['attributes','ck-comment__info-time','innerHTML','add','15280KXrdfb','EXTERNAL_SUGGESTION','target','fire','EXTERNAL_IMPORT_WORD_SUGGESTION','@external','discardSuggestion','35LTTOsS','ck-annotation__content-wrapper','Accept\x20suggestion','ck-suggestion--discard','1984920mWjlVc','element','ck-suggestion--accept','325740EsVNhW','287190uWTzOD','ck-annotation__main','focusFirst','ck-comment__external','description','discardButton','querySelector','1494414pFlKie','bindTemplate','ck-suggestion__info-name','time','push','ck-annotation__info-time','getUserViewNotificationText','ck-suggestion','check','creator','div','ck-annotation','presentation','execute','keystrokes','ck-suggestion__actions','change:description','_setupKeyboardNavigation','ck-suggestion__user','formatDateTime','listenTo','setTemplate','locale','bind','1JjUoEO','shift+tab','acceptButton','ck-suggestion__main','EXTERNAL_AVATAR','focus','source','Discard\x20suggestion','focusCycler','enter','ck-annotation__actions','acceptSuggestion','extendTemplate','isExternal','cancel','render','_model','56ccrSdI','12278BuLFob','_config','EXTERNAL_IMPORT_WORD_AVATAR','focusTracker','esc','importWord','ck-annotation__info-name','author','ck-suggestion__info','ck-annotation__info','tab','name','getExternalSuggestionNote','.ck-annotation__content-wrapper','userView','1698EnwcSa','_createButton','1560495VvEnIu','set','span','1232jZkLFL','ck-annotation__user','getTemplate','focusables','authoredAt'];_0x3003=function(){return _0xee873f;};return _0x3003();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0xa57079,_0x5a5c25,_0xba4419){const t=_0xa57079['t'];switch(_0x5a5c25){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0xba4419);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xba4419);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xba4419);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xba4419);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xba4419);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0xba4419);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xba4419);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xba4419);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xba4419);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xba4419);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xba4419);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xba4419);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xba4419);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xba4419);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xba4419);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xba4419);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xba4419);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xba4419);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xba4419);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xba4419);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xba4419);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xba4419);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xba4419);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0xba4419);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xba4419);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xba4419);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xba4419);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xba4419);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xba4419);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0xba4419);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xba4419);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xba4419);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xba4419);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xba4419);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0xba4419);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xba4419);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0xba4419);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0xba4419);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xba4419);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0xba4419);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xba4419);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0xba4419);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xba4419);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xba4419);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0xba4419);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xba4419);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xba4419);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xba4419);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0xba4419);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0xba4419);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0xba4419);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5a5c25;}}
|
|
23
|
+
export function getTranslation(_0x34b949,_0x3f5363,_0x92f288){const t=_0x34b949['t'];switch(_0x3f5363){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x92f288);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x92f288);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x92f288);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x92f288);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x92f288);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x92f288);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x92f288);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x92f288);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x92f288);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x92f288);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x92f288);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x92f288);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x92f288);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x92f288);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x92f288);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x92f288);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x92f288);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x92f288);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x92f288);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x92f288);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x92f288);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x92f288);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x92f288);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x92f288);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x92f288);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x92f288);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x92f288);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x92f288);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x92f288);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x92f288);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x92f288);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x92f288);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x92f288);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x92f288);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x92f288);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x92f288);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x92f288);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x92f288);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x92f288);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x92f288);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x92f288);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x92f288);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x92f288);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x92f288);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x92f288);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x92f288);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x92f288);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x92f288);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x92f288);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x92f288);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x92f288);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3f5363;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4d4b66,_0x4332f6){const _0xbb3ea3=_0x34f1,_0x49fc4e=_0x4d4b66();while(!![]){try{const _0x4d4fd2=parseInt(_0xbb3ea3(0x201))/0x1*(parseInt(_0xbb3ea3(0x1fb))/0x2)+-parseInt(_0xbb3ea3(0x1f3))/0x3+parseInt(_0xbb3ea3(0x218))/0x4*(parseInt(_0xbb3ea3(0x1f0))/0x5)+parseInt(_0xbb3ea3(0x1f6))/0x6+parseInt(_0xbb3ea3(0x1ef))/0x7+-parseInt(_0xbb3ea3(0x20c))/0x8+-parseInt(_0xbb3ea3(0x21a))/0x9*(parseInt(_0xbb3ea3(0x20a))/0xa);if(_0x4d4fd2===_0x4332f6)break;else _0x49fc4e['push'](_0x49fc4e['shift']());}catch(_0x50f9c6){_0x49fc4e['push'](_0x49fc4e['shift']());}}}(_0x42b4,0x5bb70));export function normalizeDescription(_0x8b527d){const _0x456bb8=_0x34f1;return Array[_0x456bb8(0x1fc)](_0x8b527d)||(_0x8b527d=[_0x8b527d]),_0x8b527d[_0x456bb8(0x21e)](_0x329578=>{const _0x4fdaef=_0x456bb8,_0x79d46=_0x329578[_0x4fdaef(0x1ff)][_0x4fdaef(0x1fe)](/\*/g,''),_0x2b30b4=_0x329578[_0x4fdaef(0x219)]?_0x4fdaef(0x213)+_0x329578[_0x4fdaef(0x219)][_0x4fdaef(0x1f4)]+']':'';return'['+_0x329578[_0x4fdaef(0x21b)]+']\x20'+_0x79d46+_0x2b30b4;})[_0x456bb8(0x1f2)](';\x20');}export function renderDescription(_0x54b839,_0x3840e6){const _0xa96d7f=_0x34f1;let _0x21101c='';return _0x21101c+=_0x54b839[_0xa96d7f(0x1fd)]('*')[_0xa96d7f(0x21e)]((_0xfe56be,_0x579e33)=>_0x579e33%0x2!=0x0?_0xa96d7f(0x221)+nn(_0xfe56be)+_0xa96d7f(0x204):nn(_0xfe56be))[_0xa96d7f(0x1f2)](''),_0x3840e6&&(_0x21101c+=_0xa96d7f(0x21c)+_0x3840e6[_0xa96d7f(0x1f4)]+_0xa96d7f(0x20b)+_0x3840e6[_0xa96d7f(0x1f9)]+_0xa96d7f(0x215)),_0x21101c;}function nn(_0x31f066){const _0x32834d=_0x34f1,_0x6f9809=document[_0x32834d(0x223)](_0x32834d(0x1f8));return _0x6f9809[_0x32834d(0x205)]=_0x31f066,_0x6f9809[_0x32834d(0x1f7)];}export function sortSuggestions(_0x3e0cc2){const _0x515f4d=_0x34f1;return _0x3e0cc2[_0x515f4d(0x206)]((_0x2d7ed2,_0x4eaa6c)=>_0x515f4d(0x214)==_0x2d7ed2[_0x515f4d(0x21b)]&&_0x515f4d(0x214)!=_0x4eaa6c[_0x515f4d(0x21b)]?-0x1:_0x515f4d(0x214)!=_0x2d7ed2[_0x515f4d(0x21b)]&&_0x515f4d(0x214)==_0x4eaa6c[_0x515f4d(0x21b)]?0x1:0x0);}export function getSelectedSuggestions(_0x258019,_0x43a039){const _0x537b00=_0x34f1,_0x429a6f=Array[_0x537b00(0x224)](_0x258019[_0x537b00(0x212)]()),_0x404de2=new Set();for(const _0x1538b4 of _0x43a039)if(_0x1538b4[_0x537b00(0x211)]){for(const _0x29a951 of _0x429a6f)for(const _0x389295 of _0x1538b4[_0x537b00(0x212)]())(_0x29a951[_0x537b00(0x209)](_0x389295)||_0x258019[_0x537b00(0x1f1)]&&!_0x1538b4[_0x537b00(0x20d)]&&_0x1538b4[_0x537b00(0x202)]&&_0x389295[_0x537b00(0x216)][_0x537b00(0x200)](_0x29a951[_0x537b00(0x208)]))&&_0x404de2[_0x537b00(0x203)](_0x1538b4);}return _0x404de2;}function _0x34f1(_0x221dc1,_0x3932a6){const _0x42b44b=_0x42b4();return _0x34f1=function(_0x34f1aa,_0x155a58){_0x34f1aa=_0x34f1aa-0x1ef;let _0x3c0419=_0x42b44b[_0x34f1aa];return _0x3c0419;},_0x34f1(_0x221dc1,_0x3932a6);}export function getRangesOfBlockGroups(_0x449c2d,_0x218e11){const _0x10a58=_0x34f1;let _0x2d5737,_0x22742a=0x0;const _0x4f5e32=[],_0x57698d=_0x218e11[_0x10a58(0x20e)];for(;_0x22742a<_0x449c2d[_0x10a58(0x21f)];){const _0x4db8ae=_0x449c2d[_0x22742a],_0x14b588=_0x449c2d[_0x22742a+0x1];_0x2d5737||(_0x2d5737=_0x218e11[_0x10a58(0x1fa)](_0x4db8ae)),on(_0x218e11,_0x4db8ae,_0x14b588)||(_0x4f5e32[_0x10a58(0x222)](_0x218e11[_0x10a58(0x21d)](_0x2d5737,_0x57698d[_0x10a58(0x220)](_0x4db8ae)?_0x218e11[_0x10a58(0x1f5)](_0x4db8ae):_0x218e11[_0x10a58(0x207)](_0x4db8ae,_0x10a58(0x216)))),_0x2d5737=null),_0x22742a++;}return _0x4f5e32;}function on(_0x55bd1e,_0x4a6e42,_0x37b29c){const _0xfdb5fc=_0x34f1;if(!_0x37b29c)return!0x1;const _0x16af09=_0x55bd1e[_0xfdb5fc(0x1f5)](_0x4a6e42),_0xa23256=_0x55bd1e[_0xfdb5fc(0x1fa)](_0x37b29c);return _0x16af09[_0xfdb5fc(0x200)](_0xa23256);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x42b4(){const _0x248ea9=['start','isIntersecting','10LVRNEI','\x22\x20title=\x22','2260944KWnNHp','isMultiRange','schema','execute','change','isInContent','getRanges','\x20[color\x20','deletion','\x22></span>','end','splice','20DMnbTA','color','6951654WEgidY','type','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createRange','map','length','isObject','<span\x20class=\x22ck-suggestion-type\x22>','push','createElement','from','4904081LTBTiD','46270dAmyKc','isCollapsed','join','1349550hyvtzY','value','createPositionAfter','3318858Kjfagy','innerHTML','span','title','createPositionBefore','2zQceCQ','isArray','split','replace','content','isTouching','580542NMdkMl','next','add','</span>','innerText','sort','createPositionAt'];_0x42b4=function(){return _0x248ea9;};return _0x42b4();}export function executeCommandForSuggestions(_0x41c6d5,_0x256d97,_0x28f371){const _0x58e2d5=_0x34f1;for(;_0x28f371[_0x58e2d5(0x21f)];){const _0x450daf=_0x28f371[_0x58e2d5(0x217)](0x0,0x64);_0x41c6d5[_0x58e2d5(0x210)](()=>{const _0x4d0a1e=_0x58e2d5;for(const _0x5e75f2 of _0x450daf)_0x5e75f2[_0x4d0a1e(0x211)]&&_0x256d97[_0x4d0a1e(0x20f)](_0x5e75f2['id']);});}}
|