@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240925.0 → 0.0.0-nightly-20240927.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 _0x10285d=_0x21ef;function _0x18f3(){const _0x1e233b=['109704xZCyhM','7445930EptbwP','acceptButton','clear','SuggestionThreadView','getAllAdjacentSuggestions','235vYpppW','execute','panelView','items','hasSuggestion','comments','from','acceptAllSuggestions','_bindAnnotationToEditors','suggestion-','368942OaYdit','source','comments.maxThreadTotalWeight','suggestionUnloaded','_annotationViews','view','menu','change:activeAnnotations','change:previous','trackChanges.SuggestionThreadView','_addUIComponentsToFactory','some','value','activeAnnotations','init','descriptionParts','commands','children','CommentView','has','commentsListView','_disableComments','suggestionChanged','config','getFirstRange','stopListening','push','arrowView','Discard\x20all\x20selected\x20suggestions','model','buttonView','destroy','discardButton','getByInnerView','_unbindEditors','lowest','comments.editorConfig','71979WUEZEA','comments.maxCommentCharsWhenCollapsed','getSuggestion','menuBar:trackChanges','createCommentThreadController','4yLtEtG','suggestionLoaded','trackChanges.disableComments','editor','getMarkers','_createMenuBarMenu','toMany','1394607rTcxQH','SuggestionView','actionView','TrackChangesUI','commandName','1889253dQjdLl','menuitem','_initializeController','locale','menuitemcheckbox','createAnnotationView','createAnnotation','define','Accept\x20all\x20selected\x20suggestions','getMarkerNames','Discard\x20all\x20suggestions','Annotations','fire','button','values','commentThread','isInContent','editing','Accept\x20all\x20suggestions','listenTo','_refreshActiveMarkers','5054616ElQCsR','keys','bind','_handleControllerBuffer','8JtmFlk','suggestionView','TrackChangesEditing','isOn','_viewToController','_createToolbarButton','focus','trackChanges','delegate','isDirty','previous','unbind','activeMarkers','CommentsUI','_destroyController','discardSelectedSuggestions','requires','addComment','isMultiRange','plugins','remove','comments.maxCommentsWhenCollapsed','_handleSuggestionControllerDelayed','reduce','length','innerView','switchbutton','CommentsRepository','_updateController','EditorAnnotations','24WEQvBh','getJoined','set','descriptionFactory','_suggestionToController','addSourceCollector','delete','separator','add','11woQHYB','mainView','pluginName','getRanges','discardAllSuggestions','refreshSelectedViews','getDescriptions','type','size','get','Track\x20changes','escape','componentFactory','acceptSelectedSuggestions','isEnabled','registerAnnotation','head','filter','trackChanges.SuggestionView'];_0x18f3=function(){return _0x1e233b;};return _0x18f3();}(function(_0x2374ac,_0x240423){const _0x1ac2d9=_0x21ef,_0x2bf482=_0x2374ac();while(!![]){try{const _0xd646fc=parseInt(_0x1ac2d9(0x1f6))/0x1*(parseInt(_0x1ac2d9(0x1a5))/0x2)+parseInt(_0x1ac2d9(0x202))/0x3*(-parseInt(_0x1ac2d9(0x1fb))/0x4)+parseInt(_0x1ac2d9(0x1c7))/0x5*(-parseInt(_0x1ac2d9(0x1c1))/0x6)+parseInt(_0x1ac2d9(0x1d1))/0x7*(-parseInt(_0x1ac2d9(0x220))/0x8)+-parseInt(_0x1ac2d9(0x207))/0x9+parseInt(_0x1ac2d9(0x1c2))/0xa+-parseInt(_0x1ac2d9(0x1ae))/0xb*(-parseInt(_0x1ac2d9(0x21c))/0xc);if(_0xd646fc===_0x240423)break;else _0x2bf482['push'](_0x2bf482['shift']());}catch(_0x15f4ca){_0x2bf482['push'](_0x2bf482['shift']());}}}(_0x18f3,0x6c15f));function _0x21ef(_0x5f5da2,_0x314613){const _0x18f313=_0x18f3();return _0x21ef=function(_0x21efd4,_0x50147e){_0x21efd4=_0x21efd4-0x19b;let _0x5de77f=_0x18f313[_0x21efd4];return _0x5de77f;},_0x21ef(_0x5f5da2,_0x314613);}import{Plugin as _0x4845cd}from'ckeditor5/src/core.js';import{Collection as _0x5d032c}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x24396e,createDropdown as _0x2447c0,ListSeparatorView as _0x472aab,MenuBarMenuView as _0xfde90,MenuBarMenuListView as _0x35792f,MenuBarMenuListItemView as _0x3e4b2a,MenuBarMenuListItemButtonView as _0x1ddfb7,SplitButtonView as _0x3191db,ViewModel as _0x2258fc}from'ckeditor5/src/ui.js';import{Users as _0x2257f2,getDateTimeFormatter as _0x351465,getAllMarkersDomElementsSorted as _0x954807}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x43f093 from'./trackchangesediting.js';import _0x416abb from'./ui/suggestioncontroller.js';import _0x638594 from'./ui/view/suggestionthreadview.js';import _0x31ee33 from'./ui/view/suggestionview.js';import{getTranslation as _0x26a472}from'./utils/common-translations.js';import _0x19cf2f from'../theme/icons/track-changes.svg';export default class d extends _0x4845cd{static get[_0x10285d(0x230)](){const _0x586b72=_0x10285d;return[_0x43f093,_0x2257f2,_0x586b72(0x1a2),_0x586b72(0x212),_0x586b72(0x1a4)];}static get[_0x10285d(0x1b0)](){const _0x47db25=_0x10285d;return _0x47db25(0x205);}constructor(_0x35b596){const _0x511419=_0x10285d;super(_0x35b596),this[_0x511419(0x1a9)]=new Map(),this[_0x511419(0x224)]=new Map(),this[_0x511419(0x1d5)]=new Map(),this[_0x511419(0x21f)]=new Map();const _0x5f8a75=this[_0x511419(0x1fe)][_0x511419(0x1e8)];_0x5f8a75[_0x511419(0x20e)](_0x511419(0x1da),_0x638594),_0x5f8a75[_0x511419(0x20e)](_0x511419(0x1c0),_0x31ee33),_0x5f8a75[_0x511419(0x20e)](_0x511419(0x1fd),!0x1),this[_0x511419(0x1e6)]=_0x5f8a75[_0x511419(0x1b7)](_0x511419(0x1fd));}[_0x10285d(0x19d)](_0xdbe5e1,_0x44cdc3){const _0x28f5cb=_0x10285d;0x0===this[_0x28f5cb(0x21f)][_0x28f5cb(0x1b6)]&&setTimeout(()=>{const _0x992a0a=_0x28f5cb;for(const [_0xc058d2,_0x46aa1f]of this[_0x992a0a(0x21f)]){const _0x37c09c=this[_0x992a0a(0x1a9)][_0x992a0a(0x1e4)](_0xc058d2);_0x37c09c||_0x46aa1f?_0x37c09c&&_0x46aa1f&&this[_0x992a0a(0x22e)](_0xc058d2):this[_0x992a0a(0x209)](_0xc058d2);}this[_0x992a0a(0x21f)][_0x992a0a(0x1c4)](),this[_0x992a0a(0x1fe)][_0x992a0a(0x233)][_0x992a0a(0x1b7)](_0x992a0a(0x1a4))[_0x992a0a(0x1b3)](),this[_0x992a0a(0x21b)]();},0xa),this[_0x28f5cb(0x21f)][_0x28f5cb(0x1a7)](_0xdbe5e1,_0x44cdc3);}[_0x10285d(0x1df)](){const _0x1261cd=_0x10285d,_0x300f06=this[_0x1261cd(0x1fe)],_0x4e5eca=_0x300f06[_0x1261cd(0x233)][_0x1261cd(0x1b7)](_0x1261cd(0x222)),_0x37a7f0=_0x300f06[_0x1261cd(0x233)][_0x1261cd(0x1b7)](_0x1261cd(0x212)),_0x3dc490=_0x300f06[_0x1261cd(0x233)][_0x1261cd(0x1b7)](_0x1261cd(0x1a4)),_0x257fba=_0x300f06[_0x1261cd(0x233)][_0x1261cd(0x1b7)](_0x1261cd(0x1a2));this[_0x1261cd(0x1db)](),_0x3dc490[_0x1261cd(0x1aa)](()=>{const _0x315743=_0x1261cd,_0x54ad1a=[];for(const [_0x32a682,_0x32b276]of Array[_0x315743(0x1cd)](this[_0x315743(0x1a9)])){const _0x4745dc=_0x32a682[_0x315743(0x1c6)](),_0x11475c=[];for(const _0x19c344 of _0x4745dc){if(!_0x19c344[_0x315743(0x217)])continue;if(_0x19c344[_0x315743(0x232)]){_0x11475c[_0x315743(0x1eb)](..._0x19c344[_0x315743(0x1b1)]());continue;}const _0x40c587=_0x19c344[_0x315743(0x1e9)]();if(_0x11475c[_0x315743(0x19f)]>0x0){const _0xc6b5dc=_0x11475c[0x0][_0x315743(0x1a6)](_0x40c587);if(_0xc6b5dc){_0x11475c[0x0]=_0xc6b5dc;continue;}}_0x11475c[_0x315743(0x1eb)](_0x40c587);}_0x54ad1a[_0x315743(0x1eb)]([_0x32b276[_0x315743(0x1d6)],_0x11475c]);}return _0x54ad1a;}),this[_0x1261cd(0x21a)](_0x4e5eca,_0x1261cd(0x1fc),(_0x25f141,_0x5831e5)=>{const _0x46a860=_0x1261cd;this[_0x46a860(0x21a)](_0x5831e5,_0x46a860(0x1d9),(_0x229136,_0x1d5e60,_0x2c6ea9,_0x15c0c6)=>{const _0x585c90=_0x46a860;_0x5831e5[_0x585c90(0x217)]&&(null==_0x2c6ea9?(this[_0x585c90(0x1a3)](_0x15c0c6[_0x585c90(0x1be)]),this[_0x585c90(0x19d)](_0x5831e5,!0x1)):(this[_0x585c90(0x1a3)](_0x2c6ea9[_0x585c90(0x1be)]),null==_0x15c0c6&&this[_0x585c90(0x19d)](_0x5831e5,!0x0)));}),null!==_0x5831e5[_0x46a860(0x22a)]?this[_0x46a860(0x1a3)](_0x5831e5[_0x46a860(0x1be)]):this[_0x46a860(0x19d)](_0x5831e5,!0x1);}),this[_0x1261cd(0x21a)](_0x4e5eca,_0x1261cd(0x1d4),(_0x52ba52,_0x1656a5,_0x46393a)=>{const _0x55a6f6=_0x1261cd;this[_0x55a6f6(0x1ea)](_0x1656a5,_0x55a6f6(0x1d9)),this[_0x55a6f6(0x21f)][_0x55a6f6(0x1ab)](_0x1656a5),this[_0x55a6f6(0x1a9)][_0x55a6f6(0x1e4)](_0x1656a5)&&this[_0x55a6f6(0x22e)](_0x1656a5),_0x46393a&&this[_0x55a6f6(0x1a3)](_0x46393a[_0x55a6f6(0x1be)]);}),this[_0x1261cd(0x21a)](_0x4e5eca,_0x1261cd(0x1e7),(_0x12899c,_0x36aa1f)=>{const _0x340418=_0x1261cd;this[_0x340418(0x1a3)](_0x36aa1f);}),this[_0x1261cd(0x21a)](_0x37a7f0,_0x1261cd(0x1d8),()=>{const _0x8ed38e=_0x1261cd;this[_0x8ed38e(0x21b)]();}),this[_0x1261cd(0x21a)](_0x257fba,_0x1261cd(0x231),(_0x5c7688,{threadId:_0x6bec35,isFromAdapter:_0x2995af})=>{const _0x149cb6=_0x1261cd;if(_0x2995af||!_0x4e5eca[_0x149cb6(0x1cb)](_0x6bec35))return;const _0x52205c=_0x4e5eca[_0x149cb6(0x1f8)](_0x6bec35);this[_0x149cb6(0x1a9)][_0x149cb6(0x1b7)](_0x52205c)[_0x149cb6(0x1d6)][_0x149cb6(0x1e5)][_0x149cb6(0x226)](-0x1);},{'priority':_0x1261cd(0x1f4)});}[_0x10285d(0x21b)](){const _0x403e3d=_0x10285d,_0x3a72f0=this[_0x403e3d(0x1fe)][_0x403e3d(0x233)][_0x403e3d(0x1b7)](_0x403e3d(0x212)),_0x4a1985=this[_0x403e3d(0x1fe)][_0x403e3d(0x233)][_0x403e3d(0x1b7)](_0x403e3d(0x222)),_0x2d4203=Array[_0x403e3d(0x1cd)](_0x3a72f0[_0x403e3d(0x1de)],_0x40f514=>_0x40f514[_0x403e3d(0x1a0)])[_0x403e3d(0x1bf)](_0x29c387=>this[_0x403e3d(0x224)][_0x403e3d(0x1e4)](_0x29c387)),_0x29f8d2=[];for(const _0x30953d of _0x2d4203){const _0x59b1f3=this[_0x403e3d(0x224)][_0x403e3d(0x1b7)](_0x30953d)[_0x403e3d(0x1ee)][_0x403e3d(0x1c6)]();_0x29f8d2[_0x403e3d(0x1eb)](..._0x59b1f3[_0x403e3d(0x19e)]((_0x18cf79,_0x10c5ba)=>[..._0x18cf79,..._0x10c5ba[_0x403e3d(0x210)]()],[]));}_0x4a1985[_0x403e3d(0x22c)]=_0x29f8d2;}[_0x10285d(0x1db)](){const _0x2942cc=_0x10285d,_0x54ae46=this[_0x2942cc(0x1fe)],_0x4a80cc=_0x54ae46[_0x2942cc(0x20a)],_0x4500e2=_0x26a472(_0x4a80cc,_0x2942cc(0x1b8)),_0x4270e4=new _0x5d032c([{'type':_0x2942cc(0x1a1),'model':new _0x2258fc({'withText':!0x0,'isToggleable':!0x0,'label':_0x4500e2,'commandName':_0x2942cc(0x227),'role':_0x2942cc(0x20b)})},{'type':_0x2942cc(0x1ac)},{'type':_0x2942cc(0x214),'model':new _0x2258fc({'withText':!0x0,'label':_0x26a472(_0x4a80cc,_0x2942cc(0x219)),'commandName':_0x2942cc(0x1ce),'role':_0x2942cc(0x208)})},{'type':_0x2942cc(0x214),'model':new _0x2258fc({'withText':!0x0,'label':_0x26a472(_0x4a80cc,_0x2942cc(0x20f)),'commandName':_0x2942cc(0x1bb),'role':_0x2942cc(0x208)})},{'type':_0x2942cc(0x214),'model':new _0x2258fc({'withText':!0x0,'label':_0x26a472(_0x4a80cc,_0x2942cc(0x211)),'commandName':_0x2942cc(0x1b2),'role':_0x2942cc(0x208)})},{'type':_0x2942cc(0x214),'model':new _0x2258fc({'withText':!0x0,'label':_0x26a472(_0x4a80cc,_0x2942cc(0x1ed)),'commandName':_0x2942cc(0x22f),'role':_0x2942cc(0x208)})}]);for(const _0x11868e of _0x4270e4)if(me(_0x11868e)){const _0x20cb7a=_0x54ae46[_0x2942cc(0x1e1)][_0x2942cc(0x1b7)](_0x11868e[_0x2942cc(0x1ee)][_0x2942cc(0x206)]);_0x11868e[_0x2942cc(0x1ee)][_0x2942cc(0x21e)](_0x2942cc(0x223),_0x2942cc(0x1bc))['to'](_0x20cb7a,_0x2942cc(0x1dd),_0x2942cc(0x1bc));}_0x54ae46['ui'][_0x2942cc(0x1ba)][_0x2942cc(0x1ad)](_0x2942cc(0x227),_0x6eec78=>this[_0x2942cc(0x225)](_0x6eec78,_0x4270e4,_0x4500e2)),_0x54ae46['ui'][_0x2942cc(0x1ba)][_0x2942cc(0x1ad)](_0x2942cc(0x1f9),_0x4cfcb6=>this[_0x2942cc(0x200)](_0x4cfcb6,_0x4270e4,_0x4500e2));}[_0x10285d(0x225)](_0x521965,_0x3220d2,_0x38fa41){const _0x52b821=_0x10285d,_0x38d1df=_0x2447c0(_0x521965,_0x3191db),_0x41f3a7=this[_0x52b821(0x1fe)][_0x52b821(0x1e1)][_0x52b821(0x1b7)](_0x52b821(0x227));_0x38d1df[_0x52b821(0x1ef)][_0x52b821(0x1a7)]({'tooltip':_0x38fa41,'label':_0x38fa41,'icon':_0x19cf2f}),_0x38d1df[_0x52b821(0x1ef)][_0x52b821(0x21e)](_0x52b821(0x223))['to'](_0x41f3a7,_0x52b821(0x1dd)),_0x38d1df[_0x52b821(0x1ef)]['on'](_0x52b821(0x1c8),()=>{const _0x5e5976=_0x52b821;_0x41f3a7[_0x5e5976(0x1c8)](),this[_0x5e5976(0x1fe)][_0x5e5976(0x218)][_0x5e5976(0x1d6)][_0x5e5976(0x226)]();}),_0x24396e(_0x38d1df,_0x3220d2,{'role':_0x52b821(0x1d7)});const _0x408d6d=[];for(const _0x2ee580 of _0x3220d2)me(_0x2ee580)&&_0x408d6d[_0x52b821(0x1eb)](this[_0x52b821(0x1fe)][_0x52b821(0x1e1)][_0x52b821(0x1b7)](_0x2ee580[_0x52b821(0x1ee)][_0x52b821(0x206)]));const _0x1192d1=_0x38d1df[_0x52b821(0x1ef)];return _0x1192d1[_0x52b821(0x204)][_0x52b821(0x22b)](_0x52b821(0x1bc)),_0x1192d1[_0x52b821(0x1ec)][_0x52b821(0x22b)](_0x52b821(0x1bc)),_0x1192d1[_0x52b821(0x204)][_0x52b821(0x21e)](_0x52b821(0x1bc))['to'](_0x41f3a7,_0x52b821(0x1bc)),_0x1192d1[_0x52b821(0x1ec)][_0x52b821(0x21e)](_0x52b821(0x1bc))[_0x52b821(0x201)](_0x408d6d,_0x52b821(0x1bc),(..._0x22aa29)=>_0x22aa29[_0x52b821(0x1dc)](_0x5b0773=>_0x5b0773)),_0x38d1df['on'](_0x52b821(0x1c8),_0x571421=>{const _0x527bbf=_0x52b821;this[_0x527bbf(0x1fe)][_0x527bbf(0x1c8)](_0x571421[_0x527bbf(0x1d2)][_0x527bbf(0x206)]),this[_0x527bbf(0x1fe)][_0x527bbf(0x218)][_0x527bbf(0x1d6)][_0x527bbf(0x226)]();}),_0x38d1df;}[_0x10285d(0x200)](_0x198b50,_0x13ccc4,_0x5c1e70){const _0x1d307e=_0x10285d,_0x2b0144=new _0xfde90(_0x198b50),_0x1beec1=this[_0x1d307e(0x1fe)][_0x1d307e(0x1e1)][_0x1d307e(0x1b7)](_0x1d307e(0x227));_0x2b0144[_0x1d307e(0x1ef)][_0x1d307e(0x1a7)]({'label':_0x5c1e70,'icon':_0x19cf2f});const _0x58a6dc=new _0x35792f(_0x198b50);for(const _0x33cbb4 of _0x13ccc4){if(_0x1d307e(0x1ac)==_0x33cbb4[_0x1d307e(0x1b5)]){_0x58a6dc[_0x1d307e(0x1ca)][_0x1d307e(0x1ad)](new _0x472aab(_0x198b50));continue;}const _0x53a9fa=new _0x3e4b2a(_0x198b50,_0x2b0144),_0x3a75bd=new _0x1ddfb7(_0x198b50),_0x66dfa9=_0x33cbb4[_0x1d307e(0x1ee)];_0x3a75bd[_0x1d307e(0x21e)](...Object[_0x1d307e(0x21d)](_0x66dfa9))['to'](_0x66dfa9),_0x3a75bd[_0x1d307e(0x228)](_0x1d307e(0x1c8))['to'](_0x2b0144),_0x3a75bd['on'](_0x1d307e(0x1c8),()=>{const _0x2eee46=_0x1d307e;this[_0x2eee46(0x1fe)][_0x2eee46(0x1c8)](_0x66dfa9[_0x2eee46(0x206)]),this[_0x2eee46(0x1fe)][_0x2eee46(0x218)][_0x2eee46(0x1d6)][_0x2eee46(0x226)]();}),_0x53a9fa[_0x1d307e(0x1e2)][_0x1d307e(0x1ad)](_0x3a75bd),_0x58a6dc[_0x1d307e(0x1ca)][_0x1d307e(0x1ad)](_0x53a9fa);}return _0x2b0144[_0x1d307e(0x21e)](_0x1d307e(0x1bc))['to'](_0x1beec1,_0x1d307e(0x1bc)),_0x2b0144[_0x1d307e(0x1c9)][_0x1d307e(0x1e2)][_0x1d307e(0x1ad)](_0x58a6dc),_0x2b0144;}[_0x10285d(0x209)](_0x2ae8a6){const _0x404617=_0x10285d,_0x1c052d=this[_0x404617(0x1fe)],_0x1994ae=_0x1c052d[_0x404617(0x1e8)],_0x41ebf7=_0x1c052d[_0x404617(0x233)][_0x404617(0x1b7)](_0x404617(0x212)),_0x1d6773=_0x1c052d[_0x404617(0x233)][_0x404617(0x1b7)](_0x404617(0x1a2)),_0x358cac=_0x1c052d[_0x404617(0x233)][_0x404617(0x1b7)](_0x404617(0x1a4)),_0x1f2790=_0x1c052d[_0x404617(0x233)][_0x404617(0x1b7)](_0x2257f2)['me'],_0x599860=_0x1994ae[_0x404617(0x1b7)](_0x404617(0x227))[_0x404617(0x1c5)],_0x599b3c=_0x1994ae[_0x404617(0x1b7)](_0x404617(0x227))[_0x404617(0x203)],{CommentsListView:_0x224486,CommentThreadInputView:_0x3c137a}=_0x1c052d[_0x404617(0x233)][_0x404617(0x1b7)](_0x404617(0x22d));let _0x2f35ab,_0x287e05,_0x166b58;this[_0x404617(0x1d5)][_0x404617(0x1e4)](_0x2ae8a6['id'])?(_0x287e05=this[_0x404617(0x1d5)][_0x404617(0x1b7)](_0x2ae8a6['id']),_0x2f35ab=_0x287e05[_0x404617(0x1af)]):(_0x2f35ab=new _0x599860(_0x1c052d[_0x404617(0x20a)],_0x2ae8a6,_0x1f2790,{'disableComments':this[_0x404617(0x1e6)],'editorConfig':_0x1994ae[_0x404617(0x1b7)](_0x404617(0x1f5)),'maxCommentsWhenCollapsed':_0x1994ae[_0x404617(0x1b7)](_0x404617(0x19c)),'maxThreadTotalWeight':_0x1994ae[_0x404617(0x1b7)](_0x404617(0x1d3)),'maxCommentCharsWhenCollapsed':_0x1994ae[_0x404617(0x1b7)](_0x404617(0x1f7)),'formatDateTime':_0x351465(_0x1994ae[_0x404617(0x1b7)](_0x404617(0x20a))),'CommentView':_0x1994ae[_0x404617(0x1b7)](_0x404617(0x1cc))[_0x404617(0x1e3)],'CommentsListView':_0x224486,'CommentThreadInputView':_0x3c137a,'SuggestionView':_0x599b3c}),_0x2f35ab[_0x404617(0x221)][_0x404617(0x1c3)]['on'](_0x404617(0x1c8),()=>{const _0x1088e9=_0x404617;_0x1c052d[_0x1088e9(0x218)][_0x1088e9(0x1d6)][_0x1088e9(0x226)]();}),_0x2f35ab[_0x404617(0x221)][_0x404617(0x1f1)]['on'](_0x404617(0x1c8),()=>{const _0x4641a2=_0x404617;_0x1c052d[_0x4641a2(0x218)][_0x4641a2(0x1d6)][_0x4641a2(0x226)]();}),_0x287e05=_0x41ebf7[_0x404617(0x20c)](this[_0x404617(0x1fe)][_0x404617(0x20a)],_0x2f35ab),_0x287e05[_0x404617(0x21e)](_0x404617(0x229))['to'](_0x2f35ab,_0x404617(0x229)),_0x287e05[_0x404617(0x21e)](_0x404617(0x19f))['to'](_0x2f35ab),_0x287e05[_0x404617(0x21e)](_0x404617(0x1b5))['to'](_0x2f35ab,_0x404617(0x1b5),_0x7106b4=>_0x404617(0x1d0)+_0x7106b4),_0x2f35ab['on'](_0x404617(0x1b9),()=>{const _0x5a64d4=_0x404617;_0x166b58[_0x5a64d4(0x213)](_0x5a64d4(0x1b9));}),this[_0x404617(0x1d5)][_0x404617(0x1a7)](_0x2ae8a6['id'],_0x287e05));const _0x5ad24f=_0x1d6773[_0x404617(0x1fa)](_0x2ae8a6[_0x404617(0x216)],_0x2f35ab),_0x567062=new _0x416abb(_0x1c052d,_0x2ae8a6,_0x2f35ab,_0x5ad24f),_0x3e1205=_0x2ae8a6[_0x404617(0x1c6)]()[_0x404617(0x1bf)](_0x19f936=>_0x19f936[_0x404617(0x217)]);_0x2f35ab[_0x404617(0x1e0)]=_0x1c052d[_0x404617(0x233)][_0x404617(0x1b7)](_0x404617(0x222))[_0x404617(0x1a8)][_0x404617(0x1b4)](_0x3e1205),this[_0x404617(0x1a9)][_0x404617(0x1a7)](_0x2ae8a6,_0x567062),this[_0x404617(0x224)][_0x404617(0x1a7)](_0x2f35ab,_0x567062),_0x166b58=_0x41ebf7[_0x404617(0x20d)]({'view':_0x287e05,'target':()=>{const _0x54757f=_0x404617,_0x38479e=[],_0x1c177d=_0x2ae8a6[_0x54757f(0x1c6)]()[_0x54757f(0x1bf)](_0x1c2794=>_0x1c2794[_0x54757f(0x217)]);for(const _0x83b115 of _0x1c177d)_0x38479e[_0x54757f(0x1eb)](..._0x83b115[_0x54757f(0x1ff)]());return _0x954807(_0x1c052d[_0x54757f(0x218)],_0x38479e);},'type':()=>_0x404617(0x1d0)+_0x567062[_0x404617(0x1d6)][_0x404617(0x1b5)]}),_0x1d6773[_0x404617(0x1cf)](_0x2f35ab,_0x166b58),_0x41ebf7[_0x404617(0x1ad)](_0x166b58),_0x358cac[_0x404617(0x1bd)](_0x166b58);}[_0x10285d(0x22e)](_0x3a67d3){const _0x506c64=_0x10285d,_0x415612=this[_0x506c64(0x1fe)][_0x506c64(0x233)][_0x506c64(0x1b7)](_0x506c64(0x1a2)),_0x462ae8=this[_0x506c64(0x1fe)][_0x506c64(0x233)][_0x506c64(0x1b7)](_0x506c64(0x212)),_0x27647a=this[_0x506c64(0x1a9)][_0x506c64(0x1b7)](_0x3a67d3),_0x597a7d=_0x27647a[_0x506c64(0x1d6)],_0xde8c94=_0x462ae8[_0x506c64(0x1f2)](_0x597a7d);_0x415612[_0x506c64(0x1f3)](_0x597a7d),_0xde8c94&&_0x462ae8[_0x506c64(0x19b)](_0xde8c94),this[_0x506c64(0x1a9)][_0x506c64(0x1ab)](_0x3a67d3),this[_0x506c64(0x224)][_0x506c64(0x1ab)](_0x597a7d),_0x27647a[_0x506c64(0x1f0)]();}[_0x10285d(0x1a3)](_0x487361){const _0x7302cb=_0x10285d;if(!_0x487361[_0x7302cb(0x217)]||!this[_0x7302cb(0x1a9)][_0x7302cb(0x1e4)](_0x487361))return;const _0x232535=this[_0x7302cb(0x1fe)][_0x7302cb(0x233)][_0x7302cb(0x1b7)](_0x7302cb(0x222)),_0x3046b7=this[_0x7302cb(0x1a9)][_0x7302cb(0x1b7)](_0x487361),_0x382f3f=_0x487361[_0x7302cb(0x1c6)]();_0x3046b7[_0x7302cb(0x1d6)][_0x7302cb(0x1e0)]=_0x232535[_0x7302cb(0x1a8)][_0x7302cb(0x1b4)](_0x382f3f);}[_0x10285d(0x1f0)](){const _0x37b7d4=_0x10285d;for(const _0x3228b9 of this[_0x37b7d4(0x1a9)][_0x37b7d4(0x21d)]())this[_0x37b7d4(0x22e)](_0x3228b9);for(const _0x59e4c1 of this[_0x37b7d4(0x1d5)][_0x37b7d4(0x215)]())_0x59e4c1[_0x37b7d4(0x1af)][_0x37b7d4(0x1f0)]();super[_0x37b7d4(0x1f0)]();}}function me(_0x59e4d1){const _0x1f7ce7=_0x10285d;return _0x1f7ce7(0x1ee)in _0x59e4d1;}
|
|
23
|
+
const _0x12ab3b=_0x4ccf;(function(_0x26a3a1,_0x4f266c){const _0x180b17=_0x4ccf,_0x356971=_0x26a3a1();while(!![]){try{const _0x39ff6f=-parseInt(_0x180b17(0xdb))/0x1+-parseInt(_0x180b17(0x130))/0x2+parseInt(_0x180b17(0xd1))/0x3*(parseInt(_0x180b17(0x145))/0x4)+-parseInt(_0x180b17(0x153))/0x5*(-parseInt(_0x180b17(0x14a))/0x6)+parseInt(_0x180b17(0xe3))/0x7+parseInt(_0x180b17(0x11c))/0x8*(parseInt(_0x180b17(0x10a))/0x9)+parseInt(_0x180b17(0x151))/0xa*(-parseInt(_0x180b17(0x12b))/0xb);if(_0x39ff6f===_0x4f266c)break;else _0x356971['push'](_0x356971['shift']());}catch(_0x38e862){_0x356971['push'](_0x356971['shift']());}}}(_0x141a,0xb222b));import{Plugin as _0x364633}from'ckeditor5/src/core.js';import{Collection as _0x4857a6}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x4cb063,createDropdown as _0xa0c3a3,ListSeparatorView as _0x2dc324,MenuBarMenuView as _0x1f1e85,MenuBarMenuListView as _0x429d4a,MenuBarMenuListItemView as _0x127f50,MenuBarMenuListItemButtonView as _0x5aebd7,SplitButtonView as _0x48c448,ViewModel as _0x256756}from'ckeditor5/src/ui.js';import{Users as _0x4c3694,getDateTimeFormatter as _0x31dea8,getAllMarkersDomElementsSorted as _0x351e35}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x59b7ba from'./trackchangesediting.js';import _0x334b9d from'./ui/suggestioncontroller.js';import _0x2cfb26 from'./ui/view/suggestionthreadview.js';function _0x141a(){const _0x4620dd=['bind','previous','CommentsRepository','Accept\x20all\x20suggestions','getDescriptions','commentsListView','SuggestionThreadView','descriptionParts','from','editor','add','change:activeAnnotations','keys','trackChanges.disableComments','acceptSelectedSuggestions','lowest','activeMarkers','trackChanges','listenTo','isOn','has','remove','registerAnnotation','Annotations','EditorAnnotations','suggestionView','init','comments.editorConfig','items','buttonView','_createMenuBarMenu','3711483GpJgFY','_disableComments','addComment','getFirstRange','discardButton','discardSelectedSuggestions','isInContent','trackChanges.SuggestionView','descriptionFactory','createCommentThreadController','Discard\x20all\x20selected\x20suggestions','set','getByInnerView','delegate','trackChanges.SuggestionThreadView','createAnnotation','panelView','locale','8ECZaCg','_refreshActiveMarkers','getSuggestion','menuitem','CommentView','isMultiRange','SuggestionView','menuitemcheckbox','push','getJoined','filter','pluginName','toMany','Accept\x20all\x20selected\x20suggestions','addSourceCollector','33sNBuUI','comments.maxCommentCharsWhenCollapsed','suggestion-','change:previous','delete','60608HtoxUm','comments.maxCommentsWhenCollapsed','reduce','execute','acceptAllSuggestions','view','length','children','separator','size','_handleSuggestionControllerDelayed','unbind','Track\x20changes','innerView','TrackChangesUI','plugins','activeAnnotations','suggestionLoaded','commands','_initializeController','TrackChangesEditing','8NQwEgt','hasSuggestion','getAllAdjacentSuggestions','value','arrowView','6vyiaWw','config','comments','componentFactory','focus','model','type','3581610dPanJG','comments.maxThreadTotalWeight','2301315baKtDa','_bindAnnotationToEditors','refreshSelectedViews','suggestionUnloaded','_createToolbarButton','suggestionChanged','mainView','define','_annotationViews','stopListening','head','_unbindEditors','getRanges','Discard\x20all\x20suggestions','getMarkerNames','editing','CommentsUI','menuBar:trackChanges','discardAllSuggestions','actionView','acceptButton','some','1962546odhyqy','_addUIComponentsToFactory','_handleControllerBuffer','isEnabled','destroy','get','commandName','clear','getMarkers','_suggestionToController','1289961fiLuht','switchbutton','button','escape','isDirty','requires','_updateController','_destroyController','6603639xDjoEq','menu','createAnnotationView','source','_viewToController','fire','values','commentThread'];_0x141a=function(){return _0x4620dd;};return _0x141a();}import _0x47f918 from'./ui/view/suggestionview.js';import{getTranslation as _0x1dacbc}from'./utils/common-translations.js';import _0x592f75 from'../theme/icons/track-changes.svg';function _0x4ccf(_0x4b3a3c,_0x2bb4d2){const _0x141a42=_0x141a();return _0x4ccf=function(_0x4ccfbe,_0x36dc38){_0x4ccfbe=_0x4ccfbe-0xc7;let _0x4c2c28=_0x141a42[_0x4ccfbe];return _0x4c2c28;},_0x4ccf(_0x4b3a3c,_0x2bb4d2);}export default class d extends _0x364633{static get[_0x12ab3b(0xe0)](){const _0x5465f9=_0x12ab3b;return[_0x59b7ba,_0x4c3694,_0x5465f9(0xed),_0x5465f9(0x102),_0x5465f9(0x103)];}static get[_0x12ab3b(0x127)](){const _0x5a414d=_0x12ab3b;return _0x5a414d(0x13e);}constructor(_0x223064){const _0x3e09c9=_0x12ab3b;super(_0x223064),this[_0x3e09c9(0xda)]=new Map(),this[_0x3e09c9(0xe7)]=new Map(),this[_0x3e09c9(0x15b)]=new Map(),this[_0x3e09c9(0xd3)]=new Map();const _0x1d255a=this[_0x3e09c9(0xf4)][_0x3e09c9(0x14b)];_0x1d255a[_0x3e09c9(0x15a)](_0x3e09c9(0x118),_0x2cfb26),_0x1d255a[_0x3e09c9(0x15a)](_0x3e09c9(0x111),_0x47f918),_0x1d255a[_0x3e09c9(0x15a)](_0x3e09c9(0xf8),!0x1),this[_0x3e09c9(0x10b)]=_0x1d255a[_0x3e09c9(0xd6)](_0x3e09c9(0xf8));}[_0x12ab3b(0x13a)](_0x55c4c9,_0x3fbe44){const _0x479e74=_0x12ab3b;0x0===this[_0x479e74(0xd3)][_0x479e74(0x139)]&&setTimeout(()=>{const _0x1cd8e2=_0x479e74;for(const [_0x32ddcf,_0x3843ce]of this[_0x1cd8e2(0xd3)]){const _0x146280=this[_0x1cd8e2(0xda)][_0x1cd8e2(0xff)](_0x32ddcf);_0x146280||_0x3843ce?_0x146280&&_0x3843ce&&this[_0x1cd8e2(0xe2)](_0x32ddcf):this[_0x1cd8e2(0x143)](_0x32ddcf);}this[_0x1cd8e2(0xd3)][_0x1cd8e2(0xd8)](),this[_0x1cd8e2(0xf4)][_0x1cd8e2(0x13f)][_0x1cd8e2(0xd6)](_0x1cd8e2(0x103))[_0x1cd8e2(0x155)](),this[_0x1cd8e2(0x11d)]();},0xa),this[_0x479e74(0xd3)][_0x479e74(0x115)](_0x55c4c9,_0x3fbe44);}[_0x12ab3b(0x105)](){const _0x4cef45=_0x12ab3b,_0x50e487=this[_0x4cef45(0xf4)],_0x2c4bd3=_0x50e487[_0x4cef45(0x13f)][_0x4cef45(0xd6)](_0x4cef45(0x144)),_0x21cecb=_0x50e487[_0x4cef45(0x13f)][_0x4cef45(0xd6)](_0x4cef45(0x102)),_0x3dfac0=_0x50e487[_0x4cef45(0x13f)][_0x4cef45(0xd6)](_0x4cef45(0x103)),_0x2175dd=_0x50e487[_0x4cef45(0x13f)][_0x4cef45(0xd6)](_0x4cef45(0xed));this[_0x4cef45(0xd2)](),_0x3dfac0[_0x4cef45(0x12a)](()=>{const _0x25d23d=_0x4cef45,_0xaefaa0=[];for(const [_0x3c7493,_0x37b1f7]of Array[_0x25d23d(0xf3)](this[_0x25d23d(0xda)])){const _0x2df43c=_0x3c7493[_0x25d23d(0x147)](),_0x4bdeff=[];for(const _0x32c7d9 of _0x2df43c){if(!_0x32c7d9[_0x25d23d(0x110)])continue;if(_0x32c7d9[_0x25d23d(0x121)]){_0x4bdeff[_0x25d23d(0x124)](..._0x32c7d9[_0x25d23d(0xc7)]());continue;}const _0xa62fe5=_0x32c7d9[_0x25d23d(0x10d)]();if(_0x4bdeff[_0x25d23d(0x136)]>0x0){const _0x270808=_0x4bdeff[0x0][_0x25d23d(0x125)](_0xa62fe5);if(_0x270808){_0x4bdeff[0x0]=_0x270808;continue;}}_0x4bdeff[_0x25d23d(0x124)](_0xa62fe5);}_0xaefaa0[_0x25d23d(0x124)]([_0x37b1f7[_0x25d23d(0x135)],_0x4bdeff]);}return _0xaefaa0;}),this[_0x4cef45(0xfd)](_0x2c4bd3,_0x4cef45(0x141),(_0x1b7883,_0x504a01)=>{const _0x570043=_0x4cef45;this[_0x570043(0xfd)](_0x504a01,_0x570043(0x12e),(_0x22c66d,_0x439169,_0x1de87f,_0x4e1172)=>{const _0x270165=_0x570043;_0x504a01[_0x270165(0x110)]&&(null==_0x1de87f?(this[_0x270165(0xe1)](_0x4e1172[_0x270165(0x15d)]),this[_0x270165(0x13a)](_0x504a01,!0x1)):(this[_0x270165(0xe1)](_0x1de87f[_0x270165(0x15d)]),null==_0x4e1172&&this[_0x270165(0x13a)](_0x504a01,!0x0)));}),null!==_0x504a01[_0x570043(0xec)]?this[_0x570043(0xe1)](_0x504a01[_0x570043(0x15d)]):this[_0x570043(0x13a)](_0x504a01,!0x1);}),this[_0x4cef45(0xfd)](_0x2c4bd3,_0x4cef45(0x156),(_0xb95f35,_0xef9818,_0x355d96)=>{const _0x33a16b=_0x4cef45;this[_0x33a16b(0x15c)](_0xef9818,_0x33a16b(0x12e)),this[_0x33a16b(0xd3)][_0x33a16b(0x12f)](_0xef9818),this[_0x33a16b(0xda)][_0x33a16b(0xff)](_0xef9818)&&this[_0x33a16b(0xe2)](_0xef9818),_0x355d96&&this[_0x33a16b(0xe1)](_0x355d96[_0x33a16b(0x15d)]);}),this[_0x4cef45(0xfd)](_0x2c4bd3,_0x4cef45(0x158),(_0x1aaa4b,_0x36ffc9)=>{const _0x1d81d2=_0x4cef45;this[_0x1d81d2(0xe1)](_0x36ffc9);}),this[_0x4cef45(0xfd)](_0x21cecb,_0x4cef45(0xf6),()=>{const _0xcfbcd2=_0x4cef45;this[_0xcfbcd2(0x11d)]();}),this[_0x4cef45(0xfd)](_0x2175dd,_0x4cef45(0x10c),(_0x31bae6,{threadId:_0x1af0c2,isFromAdapter:_0x28f84f})=>{const _0x33a036=_0x4cef45;if(_0x28f84f||!_0x2c4bd3[_0x33a036(0x146)](_0x1af0c2))return;const _0x312a30=_0x2c4bd3[_0x33a036(0x11e)](_0x1af0c2);this[_0x33a036(0xda)][_0x33a036(0xd6)](_0x312a30)[_0x33a036(0x135)][_0x33a036(0xf0)][_0x33a036(0x14e)](-0x1);},{'priority':_0x4cef45(0xfa)});}[_0x12ab3b(0x11d)](){const _0x5be61d=_0x12ab3b,_0x37857b=this[_0x5be61d(0xf4)][_0x5be61d(0x13f)][_0x5be61d(0xd6)](_0x5be61d(0x102)),_0x489dcd=this[_0x5be61d(0xf4)][_0x5be61d(0x13f)][_0x5be61d(0xd6)](_0x5be61d(0x144)),_0xd282fe=Array[_0x5be61d(0xf3)](_0x37857b[_0x5be61d(0x140)],_0x41936d=>_0x41936d[_0x5be61d(0x13d)])[_0x5be61d(0x126)](_0x4a67d5=>this[_0x5be61d(0xe7)][_0x5be61d(0xff)](_0x4a67d5)),_0x390735=[];for(const _0x44ab41 of _0xd282fe){const _0x49aa64=this[_0x5be61d(0xe7)][_0x5be61d(0xd6)](_0x44ab41)[_0x5be61d(0x14f)][_0x5be61d(0x147)]();_0x390735[_0x5be61d(0x124)](..._0x49aa64[_0x5be61d(0x132)]((_0x3fa9a1,_0x1f4319)=>[..._0x3fa9a1,..._0x1f4319[_0x5be61d(0xc9)]()],[]));}_0x489dcd[_0x5be61d(0xfb)]=_0x390735;}[_0x12ab3b(0xd2)](){const _0x474441=_0x12ab3b,_0x83df47=this[_0x474441(0xf4)],_0x5a2248=_0x83df47[_0x474441(0x11b)],_0x12f69c=_0x1dacbc(_0x5a2248,_0x474441(0x13c)),_0x1ecb64=new _0x4857a6([{'type':_0x474441(0xdc),'model':new _0x256756({'withText':!0x0,'isToggleable':!0x0,'label':_0x12f69c,'commandName':_0x474441(0xfc),'role':_0x474441(0x123)})},{'type':_0x474441(0x138)},{'type':_0x474441(0xdd),'model':new _0x256756({'withText':!0x0,'label':_0x1dacbc(_0x5a2248,_0x474441(0xee)),'commandName':_0x474441(0x134),'role':_0x474441(0x11f)})},{'type':_0x474441(0xdd),'model':new _0x256756({'withText':!0x0,'label':_0x1dacbc(_0x5a2248,_0x474441(0x129)),'commandName':_0x474441(0xf9),'role':_0x474441(0x11f)})},{'type':_0x474441(0xdd),'model':new _0x256756({'withText':!0x0,'label':_0x1dacbc(_0x5a2248,_0x474441(0xc8)),'commandName':_0x474441(0xcd),'role':_0x474441(0x11f)})},{'type':_0x474441(0xdd),'model':new _0x256756({'withText':!0x0,'label':_0x1dacbc(_0x5a2248,_0x474441(0x114)),'commandName':_0x474441(0x10f),'role':_0x474441(0x11f)})}]);for(const _0x47e4cd of _0x1ecb64)if(me(_0x47e4cd)){const _0x3f83ea=_0x83df47[_0x474441(0x142)][_0x474441(0xd6)](_0x47e4cd[_0x474441(0x14f)][_0x474441(0xd7)]);_0x47e4cd[_0x474441(0x14f)][_0x474441(0xeb)](_0x474441(0xfe),_0x474441(0xd4))['to'](_0x3f83ea,_0x474441(0x148),_0x474441(0xd4));}_0x83df47['ui'][_0x474441(0x14d)][_0x474441(0xf5)](_0x474441(0xfc),_0x2c03bb=>this[_0x474441(0x157)](_0x2c03bb,_0x1ecb64,_0x12f69c)),_0x83df47['ui'][_0x474441(0x14d)][_0x474441(0xf5)](_0x474441(0xcc),_0x2a86fe=>this[_0x474441(0x109)](_0x2a86fe,_0x1ecb64,_0x12f69c));}[_0x12ab3b(0x157)](_0x272bda,_0x1cce38,_0x3c918d){const _0x630b98=_0x12ab3b,_0x1ff1fa=_0xa0c3a3(_0x272bda,_0x48c448),_0x565938=this[_0x630b98(0xf4)][_0x630b98(0x142)][_0x630b98(0xd6)](_0x630b98(0xfc));_0x1ff1fa[_0x630b98(0x108)][_0x630b98(0x115)]({'tooltip':_0x3c918d,'label':_0x3c918d,'icon':_0x592f75}),_0x1ff1fa[_0x630b98(0x108)][_0x630b98(0xeb)](_0x630b98(0xfe))['to'](_0x565938,_0x630b98(0x148)),_0x1ff1fa[_0x630b98(0x108)]['on'](_0x630b98(0x133),()=>{const _0x4e62eb=_0x630b98;_0x565938[_0x4e62eb(0x133)](),this[_0x4e62eb(0xf4)][_0x4e62eb(0xca)][_0x4e62eb(0x135)][_0x4e62eb(0x14e)]();}),_0x4cb063(_0x1ff1fa,_0x1cce38,{'role':_0x630b98(0xe4)});const _0x48fe4a=[];for(const _0x2bf5e3 of _0x1cce38)me(_0x2bf5e3)&&_0x48fe4a[_0x630b98(0x124)](this[_0x630b98(0xf4)][_0x630b98(0x142)][_0x630b98(0xd6)](_0x2bf5e3[_0x630b98(0x14f)][_0x630b98(0xd7)]));const _0x43181b=_0x1ff1fa[_0x630b98(0x108)];return _0x43181b[_0x630b98(0xce)][_0x630b98(0x13b)](_0x630b98(0xd4)),_0x43181b[_0x630b98(0x149)][_0x630b98(0x13b)](_0x630b98(0xd4)),_0x43181b[_0x630b98(0xce)][_0x630b98(0xeb)](_0x630b98(0xd4))['to'](_0x565938,_0x630b98(0xd4)),_0x43181b[_0x630b98(0x149)][_0x630b98(0xeb)](_0x630b98(0xd4))[_0x630b98(0x128)](_0x48fe4a,_0x630b98(0xd4),(..._0x4538b2)=>_0x4538b2[_0x630b98(0xd0)](_0xd7fdc6=>_0xd7fdc6)),_0x1ff1fa['on'](_0x630b98(0x133),_0x570538=>{const _0x48c1a8=_0x630b98;this[_0x48c1a8(0xf4)][_0x48c1a8(0x133)](_0x570538[_0x48c1a8(0xe6)][_0x48c1a8(0xd7)]),this[_0x48c1a8(0xf4)][_0x48c1a8(0xca)][_0x48c1a8(0x135)][_0x48c1a8(0x14e)]();}),_0x1ff1fa;}[_0x12ab3b(0x109)](_0x4c9431,_0x293e30,_0x1aa3ee){const _0x407577=_0x12ab3b,_0x5e64bf=new _0x1f1e85(_0x4c9431),_0x3108ca=this[_0x407577(0xf4)][_0x407577(0x142)][_0x407577(0xd6)](_0x407577(0xfc));_0x5e64bf[_0x407577(0x108)][_0x407577(0x115)]({'label':_0x1aa3ee,'icon':_0x592f75});const _0x52597e=new _0x429d4a(_0x4c9431);for(const _0x389d6c of _0x293e30){if(_0x407577(0x138)==_0x389d6c[_0x407577(0x150)]){_0x52597e[_0x407577(0x107)][_0x407577(0xf5)](new _0x2dc324(_0x4c9431));continue;}const _0x509eae=new _0x127f50(_0x4c9431,_0x5e64bf),_0x1277d6=new _0x5aebd7(_0x4c9431),_0x2ae8e0=_0x389d6c[_0x407577(0x14f)];_0x1277d6[_0x407577(0xeb)](...Object[_0x407577(0xf7)](_0x2ae8e0))['to'](_0x2ae8e0),_0x1277d6[_0x407577(0x117)](_0x407577(0x133))['to'](_0x5e64bf),_0x1277d6['on'](_0x407577(0x133),()=>{const _0x54de94=_0x407577;this[_0x54de94(0xf4)][_0x54de94(0x133)](_0x2ae8e0[_0x54de94(0xd7)]),this[_0x54de94(0xf4)][_0x54de94(0xca)][_0x54de94(0x135)][_0x54de94(0x14e)]();}),_0x509eae[_0x407577(0x137)][_0x407577(0xf5)](_0x1277d6),_0x52597e[_0x407577(0x107)][_0x407577(0xf5)](_0x509eae);}return _0x5e64bf[_0x407577(0xeb)](_0x407577(0xd4))['to'](_0x3108ca,_0x407577(0xd4)),_0x5e64bf[_0x407577(0x11a)][_0x407577(0x137)][_0x407577(0xf5)](_0x52597e),_0x5e64bf;}[_0x12ab3b(0x143)](_0x4d6fcd){const _0x416725=_0x12ab3b,_0x2cb442=this[_0x416725(0xf4)],_0x1e08d7=_0x2cb442[_0x416725(0x14b)],_0x26a835=_0x2cb442[_0x416725(0x13f)][_0x416725(0xd6)](_0x416725(0x102)),_0xcd7856=_0x2cb442[_0x416725(0x13f)][_0x416725(0xd6)](_0x416725(0xed)),_0xa4ef83=_0x2cb442[_0x416725(0x13f)][_0x416725(0xd6)](_0x416725(0x103)),_0x10c5bc=_0x2cb442[_0x416725(0x13f)][_0x416725(0xd6)](_0x4c3694)['me'],_0x6fb655=_0x1e08d7[_0x416725(0xd6)](_0x416725(0xfc))[_0x416725(0xf1)],_0x76f1a2=_0x1e08d7[_0x416725(0xd6)](_0x416725(0xfc))[_0x416725(0x122)],{CommentsListView:_0xdbaa7c,CommentThreadInputView:_0x2618d5}=_0x2cb442[_0x416725(0x13f)][_0x416725(0xd6)](_0x416725(0xcb));let _0x1f5389,_0x3d8844,_0x3c3bd1;this[_0x416725(0x15b)][_0x416725(0xff)](_0x4d6fcd['id'])?(_0x3d8844=this[_0x416725(0x15b)][_0x416725(0xd6)](_0x4d6fcd['id']),_0x1f5389=_0x3d8844[_0x416725(0x159)]):(_0x1f5389=new _0x6fb655(_0x2cb442[_0x416725(0x11b)],_0x4d6fcd,_0x10c5bc,{'disableComments':this[_0x416725(0x10b)],'editorConfig':_0x1e08d7[_0x416725(0xd6)](_0x416725(0x106)),'maxCommentsWhenCollapsed':_0x1e08d7[_0x416725(0xd6)](_0x416725(0x131)),'maxThreadTotalWeight':_0x1e08d7[_0x416725(0xd6)](_0x416725(0x152)),'maxCommentCharsWhenCollapsed':_0x1e08d7[_0x416725(0xd6)](_0x416725(0x12c)),'formatDateTime':_0x31dea8(_0x1e08d7[_0x416725(0xd6)](_0x416725(0x11b))),'CommentView':_0x1e08d7[_0x416725(0xd6)](_0x416725(0x14c))[_0x416725(0x120)],'CommentsListView':_0xdbaa7c,'CommentThreadInputView':_0x2618d5,'SuggestionView':_0x76f1a2}),_0x1f5389[_0x416725(0x104)][_0x416725(0xcf)]['on'](_0x416725(0x133),()=>{const _0x1d3634=_0x416725;_0x2cb442[_0x1d3634(0xca)][_0x1d3634(0x135)][_0x1d3634(0x14e)]();}),_0x1f5389[_0x416725(0x104)][_0x416725(0x10e)]['on'](_0x416725(0x133),()=>{const _0x2f38f2=_0x416725;_0x2cb442[_0x2f38f2(0xca)][_0x2f38f2(0x135)][_0x2f38f2(0x14e)]();}),_0x3d8844=_0x26a835[_0x416725(0xe5)](this[_0x416725(0xf4)][_0x416725(0x11b)],_0x1f5389),_0x3d8844[_0x416725(0xeb)](_0x416725(0xdf))['to'](_0x1f5389,_0x416725(0xdf)),_0x3d8844[_0x416725(0xeb)](_0x416725(0x136))['to'](_0x1f5389),_0x3d8844[_0x416725(0xeb)](_0x416725(0x150))['to'](_0x1f5389,_0x416725(0x150),_0xd3bef4=>_0x416725(0x12d)+_0xd3bef4),_0x1f5389['on'](_0x416725(0xde),()=>{const _0x5c3802=_0x416725;_0x3c3bd1[_0x5c3802(0xe8)](_0x5c3802(0xde));}),this[_0x416725(0x15b)][_0x416725(0x115)](_0x4d6fcd['id'],_0x3d8844));const _0x4f0717=_0xcd7856[_0x416725(0x113)](_0x4d6fcd[_0x416725(0xea)],_0x1f5389),_0x6e0c08=new _0x334b9d(_0x2cb442,_0x4d6fcd,_0x1f5389,_0x4f0717),_0x394d3b=_0x4d6fcd[_0x416725(0x147)]()[_0x416725(0x126)](_0x2fcc23=>_0x2fcc23[_0x416725(0x110)]);_0x1f5389[_0x416725(0xf2)]=_0x2cb442[_0x416725(0x13f)][_0x416725(0xd6)](_0x416725(0x144))[_0x416725(0x112)][_0x416725(0xef)](_0x394d3b),this[_0x416725(0xda)][_0x416725(0x115)](_0x4d6fcd,_0x6e0c08),this[_0x416725(0xe7)][_0x416725(0x115)](_0x1f5389,_0x6e0c08),_0x3c3bd1=_0x26a835[_0x416725(0x119)]({'view':_0x3d8844,'target':()=>{const _0x40956f=_0x416725,_0x53e1c7=[],_0x4016e8=_0x4d6fcd[_0x40956f(0x147)]()[_0x40956f(0x126)](_0x1e4ce0=>_0x1e4ce0[_0x40956f(0x110)]);for(const _0x45521a of _0x4016e8)_0x53e1c7[_0x40956f(0x124)](..._0x45521a[_0x40956f(0xd9)]());return _0x351e35(_0x2cb442[_0x40956f(0xca)],_0x53e1c7);},'type':()=>_0x416725(0x12d)+_0x6e0c08[_0x416725(0x135)][_0x416725(0x150)]}),_0xcd7856[_0x416725(0x154)](_0x1f5389,_0x3c3bd1),_0x26a835[_0x416725(0xf5)](_0x3c3bd1),_0xa4ef83[_0x416725(0x101)](_0x3c3bd1);}[_0x12ab3b(0xe2)](_0x43a416){const _0x24a946=_0x12ab3b,_0x29f85d=this[_0x24a946(0xf4)][_0x24a946(0x13f)][_0x24a946(0xd6)](_0x24a946(0xed)),_0x66aa70=this[_0x24a946(0xf4)][_0x24a946(0x13f)][_0x24a946(0xd6)](_0x24a946(0x102)),_0x4bc7b1=this[_0x24a946(0xda)][_0x24a946(0xd6)](_0x43a416),_0x4170a6=_0x4bc7b1[_0x24a946(0x135)],_0x7b0b64=_0x66aa70[_0x24a946(0x116)](_0x4170a6);_0x29f85d[_0x24a946(0x15e)](_0x4170a6),_0x7b0b64&&_0x66aa70[_0x24a946(0x100)](_0x7b0b64),this[_0x24a946(0xda)][_0x24a946(0x12f)](_0x43a416),this[_0x24a946(0xe7)][_0x24a946(0x12f)](_0x4170a6),_0x4bc7b1[_0x24a946(0xd5)]();}[_0x12ab3b(0xe1)](_0x6589e5){const _0x32bcd1=_0x12ab3b;if(!_0x6589e5[_0x32bcd1(0x110)]||!this[_0x32bcd1(0xda)][_0x32bcd1(0xff)](_0x6589e5))return;const _0x1c1823=this[_0x32bcd1(0xf4)][_0x32bcd1(0x13f)][_0x32bcd1(0xd6)](_0x32bcd1(0x144)),_0x3d5918=this[_0x32bcd1(0xda)][_0x32bcd1(0xd6)](_0x6589e5),_0x8e545e=_0x6589e5[_0x32bcd1(0x147)]();_0x3d5918[_0x32bcd1(0x135)][_0x32bcd1(0xf2)]=_0x1c1823[_0x32bcd1(0x112)][_0x32bcd1(0xef)](_0x8e545e);}[_0x12ab3b(0xd5)](){const _0xcb2478=_0x12ab3b;for(const _0x5cc648 of this[_0xcb2478(0xda)][_0xcb2478(0xf7)]())this[_0xcb2478(0xe2)](_0x5cc648);for(const _0xf2b44 of this[_0xcb2478(0x15b)][_0xcb2478(0xe9)]())_0xf2b44[_0xcb2478(0x159)][_0xcb2478(0xd5)]();super[_0xcb2478(0xd5)]();}}function me(_0x35fb3c){const _0x54acfe=_0x12ab3b;return _0x54acfe(0x14f)in _0x35fb3c;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1de604=_0x48fb;(function(_0x50324b,_0x7ccd72){const _0x1d7fd2=_0x48fb,_0x574336=_0x50324b();while(!![]){try{const _0x42831b=-parseInt(_0x1d7fd2(0x1f0))/0x1*(parseInt(_0x1d7fd2(0x202))/0x2)+-parseInt(_0x1d7fd2(0x1e7))/0x3*(parseInt(_0x1d7fd2(0x1dc))/0x4)+-parseInt(_0x1d7fd2(0x200))/0x5+-parseInt(_0x1d7fd2(0x1e0))/0x6+-parseInt(_0x1d7fd2(0x1ee))/0x7+-parseInt(_0x1d7fd2(0x1f7))/0x8+parseInt(_0x1d7fd2(0x1ef))/0x9*(parseInt(_0x1d7fd2(0x1f6))/0xa);if(_0x42831b===_0x7ccd72)break;else _0x574336['push'](_0x574336['shift']());}catch(_0x499f76){_0x574336['push'](_0x574336['shift']());}}}(_0x4094,0xee483));import{ObservableMixin as _0x4a8725}from'ckeditor5/src/utils.js';function _0x4094(){const _0x25ad53=['bind','view','change:isDirty','discardSuggestion','_pendingAction','listenTo','123JpdtQW','isEnabled','canAccept','canDiscard','locale','_editor','remove','3139675YnuTVs','42742719kpsfYj','1bgJHnD','_setPendingAction','unbind','canEditAt','getRanges','plugins','10UNZzKZ','4439608KIPXGA','commentThreadController','_acceptCommand','PENDING_ACTION_SUGGESTION','get','destroy','model','stopListening','_removePendingAction','723310NNyHlI','PendingActions','2382574UNWtMw','add','commands','isDirty','121544bcvJyr','acceptSuggestion','_discardCommand','execute','1127622xMnrrD'];_0x4094=function(){return _0x25ad53;};return _0x4094();}function _0x48fb(_0x8deefa,_0x3b42b0){const _0x409444=_0x4094();return _0x48fb=function(_0x48fb7e,_0x29559e){_0x48fb7e=_0x48fb7e-0x1d9;let _0x5ba794=_0x409444[_0x48fb7e];return _0x5ba794;},_0x48fb(_0x8deefa,_0x3b42b0);}import{getTranslation as _0x819063}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4a8725(){constructor(_0x534212,_0x4a77c5,_0x578037,_0x1bb3fa){const _0x14ceed=_0x48fb;super(),this[_0x14ceed(0x1fd)]=_0x4a77c5,this[_0x14ceed(0x1e2)]=_0x578037,this[_0x14ceed(0x1f8)]=_0x1bb3fa,this[_0x14ceed(0x1ec)]=_0x534212,this[_0x14ceed(0x1f9)]=_0x534212[_0x14ceed(0x1da)][_0x14ceed(0x1fb)](_0x14ceed(0x1dd)),this[_0x14ceed(0x1de)]=_0x534212[_0x14ceed(0x1da)][_0x14ceed(0x1fb)](_0x14ceed(0x1e4)),this[_0x14ceed(0x1e2)][_0x14ceed(0x1e1)](_0x14ceed(0x1e8))['to'](this[_0x14ceed(0x1f9)],this[_0x14ceed(0x1de)],(_0x4c4fe4,_0x11b309)=>_0x4c4fe4||_0x11b309),this[_0x14ceed(0x1e2)][_0x14ceed(0x1e1)](_0x14ceed(0x1e9))['to'](this[_0x14ceed(0x1f9)],_0x14ceed(0x1e8),_0x14bf84=>_0x14bf84&&this[_0x14ceed(0x1ec)][_0x14ceed(0x1fd)][_0x14ceed(0x1f3)](_0x4a77c5[_0x14ceed(0x1f4)]())),this[_0x14ceed(0x1e2)][_0x14ceed(0x1e1)](_0x14ceed(0x1ea))['to'](this[_0x14ceed(0x1de)],_0x14ceed(0x1e8),_0x46c83b=>_0x46c83b&&this[_0x14ceed(0x1ec)][_0x14ceed(0x1fd)][_0x14ceed(0x1f3)](_0x4a77c5[_0x14ceed(0x1f4)]())),this[_0x14ceed(0x1e5)]=null,_0x578037[_0x14ceed(0x1db)]&&this[_0x14ceed(0x1f1)](),this[_0x14ceed(0x1e6)](_0x578037,_0x14ceed(0x1dd),()=>this[_0x14ceed(0x1dd)]()),this[_0x14ceed(0x1e6)](_0x578037,_0x14ceed(0x1e4),()=>this[_0x14ceed(0x1e4)]()),this[_0x14ceed(0x1e6)](_0x578037,_0x14ceed(0x1e3),()=>{const _0x58a692=_0x14ceed;_0x578037[_0x58a692(0x1db)]?this[_0x58a692(0x1f1)]():this[_0x58a692(0x1ff)]();});}[_0x1de604(0x1dd)](){const _0x2f740e=_0x1de604;this[_0x2f740e(0x1f9)][_0x2f740e(0x1df)](this[_0x2f740e(0x1fd)]['id']);}[_0x1de604(0x1e4)](){const _0x55ca61=_0x1de604;this[_0x55ca61(0x1de)][_0x55ca61(0x1df)](this[_0x55ca61(0x1fd)]['id']);}[_0x1de604(0x1fc)](){const _0x15f2aa=_0x1de604;this[_0x15f2aa(0x1e2)][_0x15f2aa(0x1f2)](_0x15f2aa(0x1e8)),this[_0x15f2aa(0x1e2)][_0x15f2aa(0x1f2)](_0x15f2aa(0x1e9)),this[_0x15f2aa(0x1e2)][_0x15f2aa(0x1f2)](_0x15f2aa(0x1ea)),this[_0x15f2aa(0x1fe)](),this[_0x15f2aa(0x1f8)][_0x15f2aa(0x1fc)](),this[_0x15f2aa(0x1e5)]&&this[_0x15f2aa(0x1ff)]();}[_0x1de604(0x1f1)](){const _0x2a664f=_0x1de604,_0x3550ed=_0x819063(this[_0x2a664f(0x1ec)][_0x2a664f(0x1eb)],_0x2a664f(0x1fa));this[_0x2a664f(0x1e5)]=this[_0x2a664f(0x1ec)][_0x2a664f(0x1f5)][_0x2a664f(0x1fb)](_0x2a664f(0x201))[_0x2a664f(0x1d9)](_0x3550ed);}[_0x1de604(0x1ff)](){const _0x55c3f0=_0x1de604;null!==this[_0x55c3f0(0x1e5)]&&this[_0x55c3f0(0x1ec)][_0x55c3f0(0x1f5)][_0x55c3f0(0x1fb)](_0x55c3f0(0x201))[_0x55c3f0(0x1ed)](this[_0x55c3f0(0x1e5)]),this[_0x55c3f0(0x1e5)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x599971=_0x3edb;(function(_0xeec3a6,_0x1be0c5){const _0x57352c=_0x3edb,_0x26ce40=_0xeec3a6();while(!![]){try{const _0x350ee9=parseInt(_0x57352c(0x99))/0x1+parseInt(_0x57352c(0x8b))/0x2*(-parseInt(_0x57352c(0xc3))/0x3)+-parseInt(_0x57352c(0xc6))/0x4*(-parseInt(_0x57352c(0x83))/0x5)+parseInt(_0x57352c(0xbd))/0x6+parseInt(_0x57352c(0x86))/0x7+-parseInt(_0x57352c(0xb7))/0x8*(-parseInt(_0x57352c(0x9d))/0x9)+parseInt(_0x57352c(0xa5))/0xa*(-parseInt(_0x57352c(0x97))/0xb);if(_0x350ee9===_0x1be0c5)break;else _0x26ce40['push'](_0x26ce40['shift']());}catch(_0xdb9bb8){_0x26ce40['push'](_0x26ce40['shift']());}}}(_0x44c8,0x81893));import{FocusCycler as _0xba83f7,View as _0x48a7e2,ViewCollection as _0x2f9699}from'ckeditor5/src/ui.js';function _0x3edb(_0x25a910,_0x4aa233){const _0x44c899=_0x44c8();return _0x3edb=function(_0x3edbf4,_0x38f9f2){_0x3edbf4=_0x3edbf4-0x82;let _0x10ee84=_0x44c899[_0x3edbf4];return _0x10ee84;},_0x3edb(_0x25a910,_0x4aa233);}import{FocusTracker as _0x359cda,KeystrokeHandler as _0x2bc8e1}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x568115,setupThreadKeyboardNavigation as _0x1df03e}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x4b698f}from'../../utils/common-translations.js';import{renderDescription as _0x2ed97d}from'../../utils/utils.js';export default class us extends _0x48a7e2{constructor(_0x177b34,_0x294347,_0x5711a3,_0x431a10){const _0x56134e=_0x3edb;super(_0x177b34),this[_0x56134e(0xcb)]=null,this[_0x56134e(0xbc)]=null,this[_0x56134e(0x9b)]=new _0x568115(_0x177b34,_0x4b698f(_0x177b34,_0x56134e(0xa3))),this[_0x56134e(0x9a)](_0x56134e(0xa6),!0x1),this[_0x56134e(0x9a)](_0x56134e(0xa2),_0x294347[_0x56134e(0xa2)]),this[_0x56134e(0xc4)](_0x56134e(0xa2))['to'](_0x294347),this[_0x56134e(0x9a)](_0x56134e(0xc1),[]),this[_0x56134e(0x9a)](_0x56134e(0xbf),!0x1),this[_0x56134e(0x9a)](_0x56134e(0x98),!0x1),this[_0x56134e(0x9a)](_0x56134e(0xa9),!0x1),this[_0x56134e(0x9a)](_0x56134e(0xb6),!0x1),this[_0x56134e(0xc4)](_0x56134e(0xb3))['to'](this,_0x56134e(0xaf),_0x294347,_0x56134e(0xa2),this,_0x56134e(0xc1),(_0x582f40,_0x27bbb7,_0x2ad2e6)=>{const _0x3cba21=_0x56134e,_0x5a300a=_0x2ad2e6[_0x3cba21(0xae)](_0x4eb851=>_0x2ed97d(_0x4eb851[_0x3cba21(0x88)]))[_0x3cba21(0xa8)]('.\x20')+'.';return _0x4b698f(this[_0x3cba21(0xa7)],_0x3cba21(0xc7),[_0x582f40-0x1,_0x294347[_0x3cba21(0x93)][_0x3cba21(0xb4)],_0x27bbb7?_0x431a10[_0x3cba21(0xac)](_0x27bbb7):'',new DOMParser()[_0x3cba21(0x94)](_0x5a300a,_0x3cba21(0xc8))[_0x3cba21(0xad)][_0x3cba21(0xa1)]]);}),this[_0x56134e(0xb5)]=new _0x2f9699(),this[_0x56134e(0xb8)]=new _0x359cda(),this[_0x56134e(0x9f)]=new _0x2bc8e1(),this[_0x56134e(0x82)]=new _0xba83f7({'focusables':this[_0x56134e(0xb5)],'focusTracker':this[_0x56134e(0xb8)],'keystrokeHandler':this[_0x56134e(0x9f)],'keystrokeHandlerOptions':{'filter':_0x18377a=>_0x18377a[_0x56134e(0xbb)]!==this[_0x56134e(0x95)]},'actions':{'focusPrevious':_0x56134e(0xaa),'focusNext':_0x56134e(0xb1)}}),this[_0x56134e(0x92)]=_0x294347,this[_0x56134e(0x85)]=_0x5711a3,this[_0x56134e(0x89)]=_0x431a10,_0x431a10[_0x56134e(0x8e)]?this[_0x56134e(0x9a)](_0x56134e(0xaf),0x1):this[_0x56134e(0xc2)]();}[_0x599971(0xca)](){const _0x47f812=_0x599971;super[_0x47f812(0xca)](),_0x1df03e(this,this[_0x47f812(0xb5)]);}[_0x599971(0x87)](){const _0x46082f=_0x599971;this[_0x46082f(0x95)][_0x46082f(0x87)]();}[_0x599971(0xc9)](){const _0x221184=_0x599971;this[_0x221184(0xcb)]&&this[_0x221184(0xcb)][_0x221184(0xc9)](),this[_0x221184(0xbc)]&&this[_0x221184(0xbc)][_0x221184(0xc9)](),super[_0x221184(0xc9)]();}[_0x599971(0xc2)](){const _0x469eb0=_0x599971,{CommentsListView:_0x555ca0}=this[_0x469eb0(0x89)];this[_0x469eb0(0xcb)]=new _0x555ca0(this[_0x469eb0(0xa7)],this[_0x469eb0(0x92)][_0x469eb0(0x9c)],Object[_0x469eb0(0x8c)]({'CommentView':this[_0x469eb0(0x89)][_0x469eb0(0xb0)]},this[_0x469eb0(0x89)])),this[_0x469eb0(0xcb)][_0x469eb0(0x84)](_0x469eb0(0x96))['to'](this),this[_0x469eb0(0xcb)][_0x469eb0(0x84)](_0x469eb0(0x8f))['to'](this),this[_0x469eb0(0xcb)][_0x469eb0(0xc4)](_0x469eb0(0xa6))['to'](this),this[_0x469eb0(0x9a)](_0x469eb0(0xaf),this[_0x469eb0(0xcb)][_0x469eb0(0xaf)]+0x1),this[_0x469eb0(0xc4)](_0x469eb0(0xaf))['to'](this[_0x469eb0(0xcb)],_0x469eb0(0xaf),_0x17e58e=>_0x17e58e+0x1),this[_0x469eb0(0xbc)]=this[_0x469eb0(0x9e)](),this['on'](_0x469eb0(0x96),()=>this[_0x469eb0(0x87)]()),this[_0x469eb0(0xc4)](_0x469eb0(0xbf))['to'](this[_0x469eb0(0xcb)],_0x469eb0(0xc5),this[_0x469eb0(0xbc)][_0x469eb0(0xc0)],_0x469eb0(0xb2),(_0x1fab3f,_0x2e8478)=>_0x1fab3f||!!_0x2e8478);}[_0x599971(0x9e)](){const _0x17f496=_0x599971,{CommentThreadInputView:_0x60eb0a}=this[_0x17f496(0x89)],_0x39706b=new _0x60eb0a(this[_0x17f496(0xa7)],this[_0x17f496(0x85)],this[_0x17f496(0x89)][_0x17f496(0xa4)]),_0x31a619=_0x39706b[_0x17f496(0xc0)];return _0x39706b[_0x17f496(0xc4)](_0x17f496(0x91))['to'](this,_0x17f496(0xa6),this[_0x17f496(0x92)][_0x17f496(0x9c)],_0x17f496(0xbe),_0x31a619,_0x17f496(0xb2),(_0x2542aa,_0x3fb592,_0x211ec5)=>!!_0x211ec5||_0x2542aa&&!_0x3fb592),_0x31a619['on'](_0x17f496(0x90),(_0x55f7cc,_0x512a30)=>{const _0x3d37fd=_0x17f496;this[_0x3d37fd(0x8a)](_0x3d37fd(0xb9),_0x512a30),_0x31a619[_0x3d37fd(0xa0)][_0x3d37fd(0xab)]('');}),_0x31a619['on'](_0x17f496(0x8d),()=>this[_0x17f496(0x87)]()),_0x31a619[_0x17f496(0xc4)](_0x17f496(0xba))['to'](this[_0x17f496(0x92)][_0x17f496(0x9c)],_0x17f496(0xbe)),_0x39706b;}}function _0x44c8(){const _0x531013=['set','ariaDescriptionView','commentThread','2281275TfhwMO','_createCommentThreadInputView','keystrokes','editor','textContent','authoredAt','SUGGESTION_THREAD_DESCRIPTION','editorConfig','10ZiYusw','isActive','locale','join','canAccept','shift+tab','setData','formatDateTime','body','map','length','CommentView','tab','value','ariaLabel','name','focusables','canDiscard','24ZCCmBj','focusTracker','addComment','disabledSubmit','target','commentThreadInputView','618828fDtYRC','isReadOnly','isDirty','commentInputView','descriptionParts','_createCommentViews','11529zVbFJn','bind','hasDirtyComment','16HnBcQC','SUGGESTION_THREAD_ARIA_LABEL','text/html','destroy','render','commentsListView','focusCycler','747215ZEnmNS','delegate','_localUser','3933412QHWiqC','focus','content','_config','fire','474EsweDM','assign','cancel','disableComments','updateComment','submit','showInput','_model','author','parseFromString','element','removeComment','14562317iEvBrJ','isEnabled','741966yPQYbC'];_0x44c8=function(){return _0x531013;};return _0x44c8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17b633=_0x22cf;(function(_0x2874e7,_0x3ef771){const _0x48f41c=_0x22cf,_0x448cef=_0x2874e7();while(!![]){try{const _0x44cafe=-parseInt(_0x48f41c(0x14c))/0x1+-parseInt(_0x48f41c(0x163))/0x2+parseInt(_0x48f41c(0x16c))/0x3+parseInt(_0x48f41c(0x145))/0x4+parseInt(_0x48f41c(0x169))/0x5*(parseInt(_0x48f41c(0x158))/0x6)+-parseInt(_0x48f41c(0x151))/0x7*(parseInt(_0x48f41c(0x152))/0x8)+parseInt(_0x48f41c(0x16b))/0x9;if(_0x44cafe===_0x3ef771)break;else _0x448cef['push'](_0x448cef['shift']());}catch(_0x35fd0c){_0x448cef['push'](_0x448cef['shift']());}}}(_0x13ae,0x8858f));function _0x22cf(_0x390c70,_0x366484){const _0x13ae94=_0x13ae();return _0x22cf=function(_0x22cf25,_0x3afa47){_0x22cf25=_0x22cf25-0x140;let _0x4ad08f=_0x13ae94[_0x22cf25];return _0x4ad08f;},_0x22cf(_0x390c70,_0x366484);}import{default as _0x5cf745}from'./basesuggestionthreadview.js';import{trimHtml as _0x823c88}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x5b4ddb}from'../../utils/utils.js';function _0x13ae(){const _0x3f26a1=['20kLXfCc','commentThread','12783456xNWQtk','871344GdOsPO','_config','acceptSuggestion','bind','canDiscard','color','discardSuggestion','disableComments','render','_model','ck-suggestion-wrapper','editorReady','getTemplate','discardButton','div','<p>','bindTemplate','925972wNPGRs','description','commentsListView','ariaDescriptionView','isEnabled','focusables','isActive','492137GhtjWH','descriptionParts','SuggestionView','ck-suggestion-wrapper--active','set','2737rjlwdT','568ZTgjzG','delegate','ariaLabel','formatDateTime','</p>','suggestionView','243546iGkmGN','ck-suggestion-','ck-rounded-corners','editorDestroyed','push','canAccept','author','acceptButton','content','type','ck-suggestion--disabled-comments','2052624DDQmij','setTemplate','_descriptionElement','listitem','commentThreadInputView','add'];_0x13ae=function(){return _0x3f26a1;};return _0x13ae();}export default class re extends _0x5cf745{constructor(_0x4686ed,_0x3d9a96,_0x274997,_0x4de648){const _0x362bb9=_0x22cf;super(_0x4686ed,_0x3d9a96,_0x274997,_0x4de648),this[_0x362bb9(0x150)](_0x362bb9(0x161),''),this[_0x362bb9(0x16f)](_0x362bb9(0x161))['to'](this,_0x362bb9(0x14d),_0x4c7f91=>_0x4c7f91&&_0x4c7f91[0x0]?_0x4c7f91[0x0][_0x362bb9(0x161)]:''),this[_0x362bb9(0x16f)](_0x362bb9(0x146))['to'](this,_0x362bb9(0x14d),this,_0x362bb9(0x14b),(_0x10a259,_0x16287b)=>{const _0x35b14e=_0x362bb9;let _0x33c4bc='';for(const _0x32c612 of _0x10a259)_0x33c4bc+=_0x35b14e(0x143)+_0x5b4ddb(_0x32c612[_0x35b14e(0x160)],_0x32c612[_0x35b14e(0x171)])+_0x35b14e(0x156);return _0x16287b?_0x33c4bc:_0x823c88(_0x33c4bc,{'limit':0x8c});}),this[_0x362bb9(0x165)]=null,this[_0x362bb9(0x157)]=new _0x4de648[(_0x362bb9(0x14e))](_0x4686ed,_0x3d9a96,{'formatDateTime':_0x4de648[_0x362bb9(0x155)]}),this[_0x362bb9(0x157)][_0x362bb9(0x16f)](_0x362bb9(0x146))['to'](this),this[_0x362bb9(0x157)][_0x362bb9(0x153)](_0x362bb9(0x16e),_0x362bb9(0x172))['to'](this),this[_0x362bb9(0x157)][_0x362bb9(0x15f)][_0x362bb9(0x16f)](_0x362bb9(0x149))['to'](this,_0x362bb9(0x15d)),this[_0x362bb9(0x157)][_0x362bb9(0x141)][_0x362bb9(0x16f)](_0x362bb9(0x149))['to'](this,_0x362bb9(0x170)),this[_0x362bb9(0x14a)][_0x362bb9(0x168)](this[_0x362bb9(0x157)]),this[_0x362bb9(0x147)]&&this[_0x362bb9(0x14a)][_0x362bb9(0x168)](this[_0x362bb9(0x147)]),this[_0x362bb9(0x167)]&&this[_0x362bb9(0x14a)][_0x362bb9(0x168)](this[_0x362bb9(0x167)]),this[_0x362bb9(0x164)](this[_0x362bb9(0x140)]());}[_0x17b633(0x140)](){const _0x3bd085=_0x17b633,_0x217b99=this[_0x3bd085(0x144)],_0x4dec88=[this[_0x3bd085(0x157)]];return this[_0x3bd085(0x147)]&&_0x4dec88[_0x3bd085(0x15c)](this[_0x3bd085(0x147)]),this[_0x3bd085(0x167)]&&_0x4dec88[_0x3bd085(0x15c)](this[_0x3bd085(0x167)]),_0x4dec88[_0x3bd085(0x15c)](this[_0x3bd085(0x148)]),{'tag':_0x3bd085(0x142),'attributes':{'class':['ck',_0x3bd085(0x15a),_0x3bd085(0x176),_0x217b99['if'](_0x3bd085(0x14b),_0x3bd085(0x14f)),_0x217b99['to'](_0x3bd085(0x161),_0x5df816=>_0x3bd085(0x159)+_0x5df816),this[_0x3bd085(0x16d)][_0x3bd085(0x173)]&&_0x3bd085(0x162)],'data-suggestion-id':this[_0x3bd085(0x175)]['id'],'data-thread-id':this[_0x3bd085(0x175)][_0x3bd085(0x16a)]['id'],'data-author-id':this[_0x3bd085(0x175)][_0x3bd085(0x15e)]['id'],'tabindex':0x0,'role':_0x3bd085(0x166),'aria-label':_0x217b99['to'](_0x3bd085(0x154)),'aria-describedby':this[_0x3bd085(0x148)]['id']},'children':_0x4dec88};}[_0x17b633(0x174)](){const _0x532764=_0x17b633;super[_0x532764(0x174)](),this[_0x532764(0x147)]&&(this[_0x532764(0x147)][_0x532764(0x153)](_0x532764(0x177))['to'](this),this[_0x532764(0x147)][_0x532764(0x153)](_0x532764(0x15b))['to'](this)),this[_0x532764(0x167)]&&(this[_0x532764(0x167)][_0x532764(0x153)](_0x532764(0x177))['to'](this),this[_0x532764(0x167)][_0x532764(0x153)](_0x532764(0x15b))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f8038=_0x53f2;function _0x4146(){const _0x5b15ec=['ck-annotation__actions','name','attributes','querySelector','add','4302QsuVMf','element','focusTracker','esc','formatDateTime','shift+tab','source','ck-comment__external','isExternal','ck-suggestion__user','ck-suggestion--accept','9901iLOyxQ','check','24KsPFNg','innerHTML','ck-annotation__info','presentation','getUserViewNotificationText','1782428dnuIub','ck-suggestion','focusables','37420vTjyUS','ck-annotation','_config','div','EXTERNAL_AVATAR','acceptButton','_createButton','focusFirst','set','execute','ck-suggestion__info','1849990EvwqPd','focusCycler','time','focus','2050239BtWGip','ck-annotation__info-time','ck-annotation__info-name','_setupKeyboardNavigation','getTemplate','bind','extendTemplate','push','1022273GfbCWP','change:description','ck-suggestion__main','46Xyvwln','ck-suggestion__actions','setTemplate','Accept\x20suggestion','EXTERNAL_SUGGESTION','discardButton','_model','acceptSuggestion','2666652HmAyGE','discardSuggestion','ck-suggestion__info-name','Discard\x20suggestion','authoredAt','EXTERNAL_IMPORT_WORD_SUGGESTION','listenTo','getExternalSuggestionNote','tab','cancel','author','ck-suggestion--discard','fire','.ck-annotation__content-wrapper','description','keystrokes','target','ck-annotation__content-wrapper','userView','creator','locale','ck-comment__info-time','ck-annotation__main','@external','span','enter','render','bindTemplate','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__user','importWord'];_0x4146=function(){return _0x5b15ec;};return _0x4146();}(function(_0x2a41d2,_0x4d1167){const _0x57e1ab=_0x53f2,_0x2d02e7=_0x2a41d2();while(!![]){try{const _0x317fd5=parseInt(_0x57e1ab(0x19c))/0x1*(parseInt(_0x57e1ab(0x1c0))/0x2)+-parseInt(_0x57e1ab(0x1b5))/0x3+-parseInt(_0x57e1ab(0x1a3))/0x4+parseInt(_0x57e1ab(0x1b1))/0x5+-parseInt(_0x57e1ab(0x1c8))/0x6+-parseInt(_0x57e1ab(0x1bd))/0x7*(parseInt(_0x57e1ab(0x19e))/0x8)+parseInt(_0x57e1ab(0x191))/0x9*(parseInt(_0x57e1ab(0x1a6))/0xa);if(_0x317fd5===_0x4d1167)break;else _0x2d02e7['push'](_0x2d02e7['shift']());}catch(_0x39ab7c){_0x2d02e7['push'](_0x2d02e7['shift']());}}}(_0x4146,0x5b822));import{FocusTracker as _0x329eda,KeystrokeHandler as _0x177755}from'ckeditor5/src/utils.js';import{View as _0x2f5b82,ViewCollection as _0x4b1f4c,FocusCycler as _0x509746}from'ckeditor5/src/ui.js';function _0x53f2(_0x54f75d,_0x43bdde){const _0x4146be=_0x4146();return _0x53f2=function(_0x53f211,_0x19a6ac){_0x53f211=_0x53f211-0x188;let _0x43a1aa=_0x4146be[_0x53f211];return _0x43a1aa;},_0x53f2(_0x54f75d,_0x43bdde);}import{LateFocusButtonView as _0x241aa5,UserView as _0x436971}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x4017ee}from'ckeditor5/src/core.js';import{getTranslation as _0x55c695}from'../../utils/common-translations.js';export default class ce extends _0x2f5b82{constructor(_0x1430ae,_0x53a5cc,_0x5d6831){const _0x2cc405=_0x53f2;super(_0x1430ae),this[_0x2cc405(0x1c6)]=_0x53a5cc,this[_0x2cc405(0x1a8)]=_0x5d6831,this[_0x2cc405(0x1ae)](_0x2cc405(0x1d6),''),this[_0x2cc405(0x1ba)](_0x2cc405(0x1cc))['to'](_0x53a5cc),this[_0x2cc405(0x1ab)]=this[_0x2cc405(0x1ac)](_0x55c695(_0x1430ae,_0x2cc405(0x1c3)),_0x4017ee[_0x2cc405(0x19d)],_0x2cc405(0x19b),_0x2cc405(0x1c7),'sw'),this[_0x2cc405(0x1c5)]=this[_0x2cc405(0x1ac)](_0x55c695(_0x1430ae,_0x2cc405(0x1cb)),_0x4017ee[_0x2cc405(0x1d1)],_0x2cc405(0x1d3),_0x2cc405(0x1c9),'sw'),this[_0x2cc405(0x1da)]=new _0x436971(_0x1430ae,_0x53a5cc[_0x2cc405(0x1d2)],this[_0x2cc405(0x1a2)]()),this[_0x2cc405(0x1da)][_0x2cc405(0x1bb)]({'attributes':{'class':[_0x2cc405(0x19a),_0x2cc405(0x18a)],'aria-hidden':!0x0}}),this[_0x2cc405(0x1a5)]=new _0x4b1f4c([this[_0x2cc405(0x1ab)],this[_0x2cc405(0x1c5)]]),this[_0x2cc405(0x193)]=new _0x329eda(),this[_0x2cc405(0x1d7)]=new _0x177755(),this[_0x2cc405(0x1b2)]=new _0x509746({'focusables':this[_0x2cc405(0x1a5)],'focusTracker':this[_0x2cc405(0x193)],'keystrokeHandler':this[_0x2cc405(0x1d7)],'actions':{'focusPrevious':_0x2cc405(0x196),'focusNext':_0x2cc405(0x1d0)},'keystrokeHandlerOptions':{'filter':_0xe6e60c=>_0xe6e60c[_0x2cc405(0x1d8)]!==this[_0x2cc405(0x192)]}}),this[_0x2cc405(0x1c2)](this[_0x2cc405(0x1b9)]());}[_0x2f8038(0x1e2)](){const _0x249375=_0x2f8038;super[_0x249375(0x1e2)]();const _0x3b70a6=this[_0x249375(0x192)][_0x249375(0x18f)](_0x249375(0x1d5));_0x3b70a6[_0x249375(0x19f)]=this[_0x249375(0x1d6)],this['on'](_0x249375(0x1be),(_0x579868,_0x48853c,_0x6bcdcb)=>{const _0xf13da4=_0x249375;_0x3b70a6[_0xf13da4(0x19f)]=_0x6bcdcb;}),this[_0x249375(0x1b8)]();}[_0x2f8038(0x1b9)](){const _0x29e6cf=_0x2f8038,_0x255a73=this[_0x29e6cf(0x188)],_0x101509=[{'tag':_0x29e6cf(0x1a9),'attributes':{'class':[_0x29e6cf(0x1b0),_0x29e6cf(0x1a0)]},'children':[{'tag':_0x29e6cf(0x1e0),'children':[{'text':this[_0x29e6cf(0x1da)][_0x29e6cf(0x18d)]}],'attributes':{'class':[_0x29e6cf(0x1ca),_0x29e6cf(0x1b7)]}},{'tag':_0x29e6cf(0x1b3),'attributes':{'datetime':_0x255a73['to'](_0x29e6cf(0x1cc)),'class':[_0x29e6cf(0x1dd),_0x29e6cf(0x1b6)]},'children':[{'text':_0x255a73['to'](_0x29e6cf(0x1cc),_0x28ccc1=>this[_0x29e6cf(0x1a8)][_0x29e6cf(0x195)](_0x28ccc1))}]}]},{'tag':_0x29e6cf(0x1a9),'attributes':{'class':[_0x29e6cf(0x1c1),_0x29e6cf(0x18c)]},'children':[this[_0x29e6cf(0x1ab)],this[_0x29e6cf(0x1c5)]]},{'tag':_0x29e6cf(0x1a9),'attributes':{'class':[_0x29e6cf(0x1d9)]}}];return this[_0x29e6cf(0x1c6)][_0x29e6cf(0x199)]&&_0x101509[_0x29e6cf(0x1bc)]({'tag':_0x29e6cf(0x1a9),'attributes':{'class':[_0x29e6cf(0x198)]},'children':[{'text':this[_0x29e6cf(0x1cf)]()}]}),{'tag':_0x29e6cf(0x1a9),'attributes':{'class':[_0x29e6cf(0x1a4),_0x29e6cf(0x1a7)],'tabindex':-0x1},'children':[this[_0x29e6cf(0x1da)],{'tag':_0x29e6cf(0x1a9),'attributes':{'class':[_0x29e6cf(0x1bf),_0x29e6cf(0x1de)],'role':_0x29e6cf(0x1a1)},'children':_0x101509}]};}[_0x2f8038(0x1b4)](){const _0x579591=_0x2f8038;this[_0x579591(0x192)][_0x579591(0x1b4)]();}[_0x2f8038(0x1a2)](){const _0x2524db=_0x2f8038;return this[_0x2524db(0x1c6)][_0x2524db(0x199)]?_0x2524db(0x18b)===this[_0x2524db(0x1c6)][_0x2524db(0x18e)][_0x2524db(0x1df)][_0x2524db(0x197)]?_0x55c695(this[_0x2524db(0x1dc)],_0x2524db(0x189),this[_0x2524db(0x1c6)][_0x2524db(0x1db)][_0x2524db(0x18d)]):_0x55c695(this[_0x2524db(0x1dc)],_0x2524db(0x1aa),this[_0x2524db(0x1c6)][_0x2524db(0x1db)][_0x2524db(0x18d)]):null;}[_0x2f8038(0x1cf)](){const _0xcf70ed=_0x2f8038;return _0xcf70ed(0x18b)===this[_0xcf70ed(0x1c6)][_0xcf70ed(0x18e)][_0xcf70ed(0x1df)][_0xcf70ed(0x197)]?_0x55c695(this[_0xcf70ed(0x1dc)],_0xcf70ed(0x1cd)):_0x55c695(this[_0xcf70ed(0x1dc)],_0xcf70ed(0x1c4));}[_0x2f8038(0x1ac)](_0x1bab48,_0x21c6a7,_0xa5434d,_0x19572f,_0x4c0845){const _0x96d9b2=_0x2f8038,_0x42341a=new _0x241aa5(this[_0x96d9b2(0x1dc)]);return _0x42341a[_0x96d9b2(0x1ae)]({'label':_0x1bab48,'icon':_0x21c6a7,'tooltip':!0x0,'tooltipPosition':_0x4c0845}),_0x42341a[_0x96d9b2(0x1bb)]({'attributes':{'class':_0xa5434d}}),_0x42341a['on'](_0x96d9b2(0x1af),()=>{const _0x1048b4=_0x96d9b2;this[_0x1048b4(0x1d4)](_0x19572f,this[_0x1048b4(0x1c6)]['id']);}),_0x42341a;}[_0x2f8038(0x1b8)](){const _0x4b1e99=_0x2f8038,_0xf03514=this[_0x4b1e99(0x192)];this[_0x4b1e99(0x1d7)][_0x4b1e99(0x1ce)](_0xf03514);for(const _0x1740b1 of this[_0x4b1e99(0x1a5)])this[_0x4b1e99(0x193)][_0x4b1e99(0x190)](_0x1740b1[_0x4b1e99(0x192)]),this[_0x4b1e99(0x1d7)][_0x4b1e99(0x1ce)](_0x1740b1[_0x4b1e99(0x192)]);this[_0x4b1e99(0x1d7)][_0x4b1e99(0x1ae)](_0x4b1e99(0x1e1),(_0x9d383a,_0x4b96f2)=>{const _0x357c4f=_0x4b1e99;_0xf03514===_0x9d383a[_0x357c4f(0x1d8)]&&(this[_0x357c4f(0x1b2)][_0x357c4f(0x1ad)](),_0x4b96f2());}),this[_0x4b1e99(0x1d7)][_0x4b1e99(0x1ae)](_0x4b1e99(0x194),(_0x23f1af,_0x27d35d)=>{const _0x230eeb=_0x4b1e99;_0xf03514!==_0x23f1af[_0x230eeb(0x1d8)]&&(this[_0x230eeb(0x1b4)](),_0x27d35d());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x23b691,_0x493054,_0x252f0b){const t=_0x23b691['t'];switch(_0x493054){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',_0x252f0b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x252f0b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x252f0b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x252f0b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x252f0b);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',_0x252f0b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x252f0b);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',_0x252f0b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x252f0b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x252f0b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x252f0b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x252f0b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x252f0b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x252f0b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x252f0b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x252f0b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x252f0b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x252f0b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x252f0b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x252f0b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x252f0b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x252f0b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x252f0b);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'},_0x252f0b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x252f0b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x252f0b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x252f0b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x252f0b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x252f0b);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'},_0x252f0b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x252f0b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x252f0b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x252f0b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x252f0b);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'},_0x252f0b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x252f0b);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'},_0x252f0b);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'},_0x252f0b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x252f0b);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'},_0x252f0b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x252f0b);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'},_0x252f0b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x252f0b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x252f0b);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'},_0x252f0b);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'},_0x252f0b);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'},_0x252f0b);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x252f0b);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'},_0x252f0b);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'},_0x252f0b);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'},_0x252f0b);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x493054;}}
|
|
23
|
+
export function getTranslation(_0xc26b32,_0x38b0f5,_0x5b6e95){const t=_0xc26b32['t'];switch(_0x38b0f5){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',_0x5b6e95);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5b6e95);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5b6e95);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5b6e95);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5b6e95);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',_0x5b6e95);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5b6e95);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',_0x5b6e95);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5b6e95);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5b6e95);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5b6e95);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5b6e95);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5b6e95);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5b6e95);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5b6e95);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5b6e95);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5b6e95);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5b6e95);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5b6e95);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5b6e95);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5b6e95);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5b6e95);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5b6e95);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'},_0x5b6e95);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5b6e95);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5b6e95);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5b6e95);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5b6e95);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5b6e95);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'},_0x5b6e95);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5b6e95);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5b6e95);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5b6e95);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5b6e95);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'},_0x5b6e95);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5b6e95);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'},_0x5b6e95);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'},_0x5b6e95);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5b6e95);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'},_0x5b6e95);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5b6e95);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'},_0x5b6e95);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5b6e95);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5b6e95);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'},_0x5b6e95);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'},_0x5b6e95);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'},_0x5b6e95);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5b6e95);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'},_0x5b6e95);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'},_0x5b6e95);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'},_0x5b6e95);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x38b0f5;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x14df46,_0x21cc98){const _0x25be08=_0x5bee,_0x418842=_0x14df46();while(!![]){try{const _0x53db42=-parseInt(_0x25be08(0x182))/0x1+parseInt(_0x25be08(0x175))/0x2+-parseInt(_0x25be08(0x1a2))/0x3*(parseInt(_0x25be08(0x199))/0x4)+-parseInt(_0x25be08(0x183))/0x5+parseInt(_0x25be08(0x17b))/0x6+parseInt(_0x25be08(0x184))/0x7*(-parseInt(_0x25be08(0x1a4))/0x8)+-parseInt(_0x25be08(0x197))/0x9*(-parseInt(_0x25be08(0x172))/0xa);if(_0x53db42===_0x21cc98)break;else _0x418842['push'](_0x418842['shift']());}catch(_0x325346){_0x418842['push'](_0x418842['shift']());}}}(_0x6db7,0xc68c8));export function normalizeDescription(_0x515197){const _0x57d6f8=_0x5bee;return Array[_0x57d6f8(0x188)](_0x515197)||(_0x515197=[_0x515197]),_0x515197[_0x57d6f8(0x171)](_0x19faae=>{const _0xf938da=_0x57d6f8,_0x2055a8=_0x19faae[_0xf938da(0x181)][_0xf938da(0x174)](/\*/g,''),_0x44aba6=_0x19faae[_0xf938da(0x19b)]?_0xf938da(0x18b)+_0x19faae[_0xf938da(0x19b)][_0xf938da(0x1a3)]+']':'';return'['+_0x19faae[_0xf938da(0x17f)]+']\x20'+_0x2055a8+_0x44aba6;})[_0x57d6f8(0x194)](';\x20');}export function renderDescription(_0x549133,_0x6c9c1b){const _0x349d4f=_0x5bee;let _0x2ff1b3='';return _0x2ff1b3+=_0x549133[_0x349d4f(0x187)]('*')[_0x349d4f(0x171)]((_0x3c54ab,_0x30b2a7)=>_0x30b2a7%0x2!=0x0?_0x349d4f(0x186)+nn(_0x3c54ab)+_0x349d4f(0x196):nn(_0x3c54ab))[_0x349d4f(0x194)](''),_0x6c9c1b&&(_0x2ff1b3+=_0x349d4f(0x19a)+_0x6c9c1b[_0x349d4f(0x1a3)]+_0x349d4f(0x193)+_0x6c9c1b[_0x349d4f(0x173)]+_0x349d4f(0x198)),_0x2ff1b3;}function nn(_0x553b66){const _0x4c91fe=_0x5bee,_0x4e4dd3=document[_0x4c91fe(0x1a1)](_0x4c91fe(0x177));return _0x4e4dd3[_0x4c91fe(0x18a)]=_0x553b66,_0x4e4dd3[_0x4c91fe(0x1a0)];}export function sortSuggestions(_0x122575){const _0x27ffca=_0x5bee;return _0x122575[_0x27ffca(0x178)]((_0x55c724,_0x545613)=>_0x27ffca(0x176)==_0x55c724[_0x27ffca(0x17f)]&&_0x27ffca(0x176)!=_0x545613[_0x27ffca(0x17f)]?-0x1:_0x27ffca(0x176)!=_0x55c724[_0x27ffca(0x17f)]&&_0x27ffca(0x176)==_0x545613[_0x27ffca(0x17f)]?0x1:0x0);}function _0x5bee(_0x3d2c61,_0x430dcd){const _0x6db7e3=_0x6db7();return _0x5bee=function(_0x5bee72,_0x4ee59b){_0x5bee72=_0x5bee72-0x170;let _0x37a625=_0x6db7e3[_0x5bee72];return _0x37a625;},_0x5bee(_0x3d2c61,_0x430dcd);}export function getSelectedSuggestions(_0x4238b9,_0x2b6932){const _0x345dd7=_0x5bee,_0x4b6ffd=Array[_0x345dd7(0x179)](_0x4238b9[_0x345dd7(0x17c)]()),_0x50e61e=new Set();for(const _0x25abe1 of _0x2b6932)if(_0x25abe1[_0x345dd7(0x17e)]){for(const _0x1cfc39 of _0x4b6ffd)for(const _0x583091 of _0x25abe1[_0x345dd7(0x17c)]())(_0x1cfc39[_0x345dd7(0x190)](_0x583091)||_0x4238b9[_0x345dd7(0x18f)]&&!_0x25abe1[_0x345dd7(0x170)]&&_0x25abe1[_0x345dd7(0x180)]&&_0x583091[_0x345dd7(0x185)][_0x345dd7(0x17a)](_0x1cfc39[_0x345dd7(0x191)]))&&_0x50e61e[_0x345dd7(0x195)](_0x25abe1);}return _0x50e61e;}export function getRangesOfBlockGroups(_0x5d307f,_0x34268e){const _0x4a7139=_0x5bee;let _0x3a9584,_0x2d33d5=0x0;const _0x35e48b=[],_0x2ae3c2=_0x34268e[_0x4a7139(0x17d)];for(;_0x2d33d5<_0x5d307f[_0x4a7139(0x1a5)];){const _0x5c065b=_0x5d307f[_0x2d33d5],_0x38419f=_0x5d307f[_0x2d33d5+0x1];_0x3a9584||(_0x3a9584=_0x34268e[_0x4a7139(0x18e)](_0x5c065b)),on(_0x34268e,_0x5c065b,_0x38419f)||(_0x35e48b[_0x4a7139(0x18c)](_0x34268e[_0x4a7139(0x189)](_0x3a9584,_0x2ae3c2[_0x4a7139(0x18d)](_0x5c065b)?_0x34268e[_0x4a7139(0x19f)](_0x5c065b):_0x34268e[_0x4a7139(0x19d)](_0x5c065b,_0x4a7139(0x185)))),_0x3a9584=null),_0x2d33d5++;}return _0x35e48b;}function _0x6db7(){const _0x2eafbe=['3ARyCYU','value','1369856vesNfq','length','isMultiRange','map','61430cQGqJG','title','replace','1071510MeQkBz','deletion','span','sort','from','isTouching','1482156PfxFsq','getRanges','schema','isInContent','type','next','content','451596zQSxLZ','1394285IqtLSK','7tYETRx','end','<span\x20class=\x22ck-suggestion-type\x22>','split','isArray','createRange','innerText','\x20[color\x20','push','isObject','createPositionBefore','isCollapsed','isIntersecting','start','change','\x22\x20title=\x22','join','add','</span>','2799fCnFqG','\x22></span>','3913252KGYIJG','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','color','execute','createPositionAt','splice','createPositionAfter','innerHTML','createElement'];_0x6db7=function(){return _0x2eafbe;};return _0x6db7();}function on(_0x47e2d4,_0x2e0970,_0x4a5fa3){const _0x52c603=_0x5bee;if(!_0x4a5fa3)return!0x1;const _0x1c7edf=_0x47e2d4[_0x52c603(0x19f)](_0x2e0970),_0x2e3d49=_0x47e2d4[_0x52c603(0x18e)](_0x4a5fa3);return _0x1c7edf[_0x52c603(0x17a)](_0x2e3d49);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x54bfc6,_0x92c63e,_0x4af54e){const _0x40e7f9=_0x5bee;for(;_0x4af54e[_0x40e7f9(0x1a5)];){const _0x5861be=_0x4af54e[_0x40e7f9(0x19e)](0x0,0x64);_0x54bfc6[_0x40e7f9(0x192)](()=>{const _0x4c39c2=_0x40e7f9;for(const _0x49539a of _0x5861be)_0x49539a[_0x4c39c2(0x17e)]&&_0x92c63e[_0x4c39c2(0x19c)](_0x49539a['id']);});}}
|