@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240917.0 → 0.0.0-nightly-20240918.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 _0x28a2cf=_0x295d;(function(_0x32e926,_0x10060e){const _0x23d7f2=_0x295d,_0xe27d75=_0x32e926();while(!![]){try{const _0x1a742c=-parseInt(_0x23d7f2(0x185))/0x1+parseInt(_0x23d7f2(0x1c0))/0x2*(-parseInt(_0x23d7f2(0x165))/0x3)+parseInt(_0x23d7f2(0x199))/0x4+-parseInt(_0x23d7f2(0x1d3))/0x5+-parseInt(_0x23d7f2(0x1a4))/0x6*(parseInt(_0x23d7f2(0x1a7))/0x7)+-parseInt(_0x23d7f2(0x172))/0x8*(parseInt(_0x23d7f2(0x1c1))/0x9)+-parseInt(_0x23d7f2(0x17b))/0xa*(-parseInt(_0x23d7f2(0x1e5))/0xb);if(_0x1a742c===_0x10060e)break;else _0xe27d75['push'](_0xe27d75['shift']());}catch(_0x40cf02){_0xe27d75['push'](_0xe27d75['shift']());}}}(_0x4107,0xa2610));function _0x4107(){const _0x1de504=['TrackChangesEditing','delegate','keys','_unbindEditors','_destroyController','trackChanges.SuggestionThreadView','addSourceCollector','1034126BmCdyA','9iAdFAZ','set','fire','previous','init','menuitem','button','view','add','discardAllSuggestions','createAnnotationView','model','reduce','getAllAdjacentSuggestions','value','define','_createMenuBarMenu','descriptionParts','1099750WBIlPq','source','activeMarkers','execute','_annotationViews','getFirstRange','from','isOn','_viewToController','acceptButton','unbind','get','commentsListView','head','_handleControllerBuffer','getByInnerView','trackChanges.SuggestionView','remove','17628974lIGHiP','registerAnnotation','editing','discardSelectedSuggestions','actionView','suggestionView','suggestionChanged','has','createCommentThreadController','trackChanges','Accept\x20all\x20suggestions','suggestionUnloaded','getJoined','lowest','_disableComments','type','escape','switchbutton','separator','commandName','panelView','discardButton','CommentView','pluginName','3iZuCzX','componentFactory','isInContent','getMarkers','descriptionFactory','trackChanges.disableComments','change:previous','refreshSelectedViews','some','comments.maxCommentCharsWhenCollapsed','innerView','values','comments.editorConfig','2658520vnszJj','mainView','menuBar:trackChanges','activeAnnotations','Discard\x20all\x20suggestions','bind','buttonView','commentThread','getDescriptions','20FiVkIT','stopListening','listenTo','comments','suggestion-','change:activeAnnotations','Track\x20changes','hasSuggestion','menu','TrackChangesUI','527214ZpATEa','SuggestionThreadView','destroy','length','editor','Annotations','delete','children','locale','suggestionLoaded','push','acceptSelectedSuggestions','isEnabled','isMultiRange','comments.maxCommentsWhenCollapsed','config','CommentsUI','isDirty','toMany','_handleSuggestionControllerDelayed','200120prytmn','menuitemcheckbox','_bindAnnotationToEditors','_refreshActiveMarkers','SuggestionView','acceptAllSuggestions','createAnnotation','getMarkerNames','arrowView','clear','comments.maxThreadTotalWeight','726uiQHQJ','CommentsRepository','_updateController','57484SGCJtP','plugins','size','EditorAnnotations','commands','_addUIComponentsToFactory','_suggestionToController','Accept\x20all\x20selected\x20suggestions','items','_initializeController','getRanges','getSuggestion','_createToolbarButton','focus','addComment','requires','filter','Discard\x20all\x20selected\x20suggestions'];_0x4107=function(){return _0x1de504;};return _0x4107();}import{Plugin as _0x27fc16}from'ckeditor5/src/core.js';import{Collection as _0x44f7db}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x5cebb0,createDropdown as _0x35d066,ListSeparatorView as _0x3f316a,MenuBarMenuView as _0x35badf,MenuBarMenuListView as _0x533aa6,MenuBarMenuListItemView as _0x5a2575,MenuBarMenuListItemButtonView as _0x29c165,SplitButtonView as _0x37dda2,ViewModel as _0x437cf1}from'ckeditor5/src/ui.js';function _0x295d(_0x28a0fc,_0x1b7120){const _0x410746=_0x4107();return _0x295d=function(_0x295ddf,_0x499725){_0x295ddf=_0x295ddf-0x152;let _0x3fbcde=_0x410746[_0x295ddf];return _0x3fbcde;},_0x295d(_0x28a0fc,_0x1b7120);}import{Users as _0x4b351a,getDateTimeFormatter as _0xde81a7,getAllMarkersDomElementsSorted as _0x23222b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x18fe5a from'./trackchangesediting.js';import _0x2ab0d8 from'./ui/suggestioncontroller.js';import _0x2ebece from'./ui/view/suggestionthreadview.js';import _0x274686 from'./ui/view/suggestionview.js';import{getTranslation as _0x2f6b2c}from'./utils/common-translations.js';import _0x5f2d22 from'../theme/icons/track-changes.svg';export default class d extends _0x27fc16{static get[_0x28a2cf(0x1b6)](){const _0x2236dd=_0x28a2cf;return[_0x18fe5a,_0x4b351a,_0x2236dd(0x1a5),_0x2236dd(0x18a),_0x2236dd(0x1aa)];}static get[_0x28a2cf(0x164)](){const _0x3a48c2=_0x28a2cf;return _0x3a48c2(0x184);}constructor(_0x254e8a){const _0x4e2380=_0x28a2cf;super(_0x254e8a),this[_0x4e2380(0x1ad)]=new Map(),this[_0x4e2380(0x1db)]=new Map(),this[_0x4e2380(0x1d7)]=new Map(),this[_0x4e2380(0x1e1)]=new Map();const _0x428fbc=this[_0x4e2380(0x189)][_0x4e2380(0x194)];_0x428fbc[_0x4e2380(0x1d0)](_0x4e2380(0x1be),_0x2ebece),_0x428fbc[_0x4e2380(0x1d0)](_0x4e2380(0x1e3),_0x274686),_0x428fbc[_0x4e2380(0x1d0)](_0x4e2380(0x16a),!0x1),this[_0x4e2380(0x15b)]=_0x428fbc[_0x4e2380(0x1de)](_0x4e2380(0x16a));}[_0x28a2cf(0x198)](_0x3fd29f,_0x4ba735){const _0x39117e=_0x28a2cf;0x0===this[_0x39117e(0x1e1)][_0x39117e(0x1a9)]&&setTimeout(()=>{const _0x32a8a1=_0x39117e;for(const [_0x30d57e,_0x45cebe]of this[_0x32a8a1(0x1e1)]){const _0x345b4f=this[_0x32a8a1(0x1ad)][_0x32a8a1(0x154)](_0x30d57e);_0x345b4f||_0x45cebe?_0x345b4f&&_0x45cebe&&this[_0x32a8a1(0x1bd)](_0x30d57e):this[_0x32a8a1(0x1b0)](_0x30d57e);}this[_0x32a8a1(0x1e1)][_0x32a8a1(0x1a2)](),this[_0x32a8a1(0x189)][_0x32a8a1(0x1a8)][_0x32a8a1(0x1de)](_0x32a8a1(0x1aa))[_0x32a8a1(0x16c)](),this[_0x32a8a1(0x19c)]();},0xa),this[_0x39117e(0x1e1)][_0x39117e(0x1c2)](_0x3fd29f,_0x4ba735);}[_0x28a2cf(0x1c5)](){const _0x8a08c3=_0x28a2cf,_0x3128c9=this[_0x8a08c3(0x189)],_0x3a2ffe=_0x3128c9[_0x8a08c3(0x1a8)][_0x8a08c3(0x1de)](_0x8a08c3(0x1b9)),_0x788d72=_0x3128c9[_0x8a08c3(0x1a8)][_0x8a08c3(0x1de)](_0x8a08c3(0x18a)),_0x698a01=_0x3128c9[_0x8a08c3(0x1a8)][_0x8a08c3(0x1de)](_0x8a08c3(0x1aa)),_0x591efb=_0x3128c9[_0x8a08c3(0x1a8)][_0x8a08c3(0x1de)](_0x8a08c3(0x1a5));this[_0x8a08c3(0x1ac)](),_0x698a01[_0x8a08c3(0x1bf)](()=>{const _0x1f1257=_0x8a08c3,_0x1de7ce=[];for(const [_0xc7ec51,_0x7388ea]of Array[_0x1f1257(0x1d9)](this[_0x1f1257(0x1ad)])){const _0x31fc8d=_0xc7ec51[_0x1f1257(0x1ce)](),_0x4afe22=[];for(const _0x1bb794 of _0x31fc8d){if(!_0x1bb794[_0x1f1257(0x167)])continue;if(_0x1bb794[_0x1f1257(0x192)]){_0x4afe22[_0x1f1257(0x18f)](..._0x1bb794[_0x1f1257(0x1b1)]());continue;}const _0x2004df=_0x1bb794[_0x1f1257(0x1d8)]();if(_0x4afe22[_0x1f1257(0x188)]>0x0){const _0x22b7da=_0x4afe22[0x0][_0x1f1257(0x159)](_0x2004df);if(_0x22b7da){_0x4afe22[0x0]=_0x22b7da;continue;}}_0x4afe22[_0x1f1257(0x18f)](_0x2004df);}_0x1de7ce[_0x1f1257(0x18f)]([_0x7388ea[_0x1f1257(0x1c8)],_0x4afe22]);}return _0x1de7ce;}),this[_0x8a08c3(0x17d)](_0x3a2ffe,_0x8a08c3(0x18e),(_0x1a712c,_0x170bbe)=>{const _0x5017e4=_0x8a08c3;this[_0x5017e4(0x17d)](_0x170bbe,_0x5017e4(0x16b),(_0x20de85,_0x4a3e16,_0x3ddcfb,_0x23173d)=>{const _0x16a303=_0x5017e4;_0x170bbe[_0x16a303(0x167)]&&(null==_0x3ddcfb?(this[_0x16a303(0x1a6)](_0x23173d[_0x16a303(0x1e0)]),this[_0x16a303(0x198)](_0x170bbe,!0x1)):(this[_0x16a303(0x1a6)](_0x3ddcfb[_0x16a303(0x1e0)]),null==_0x23173d&&this[_0x16a303(0x198)](_0x170bbe,!0x0)));}),null!==_0x170bbe[_0x5017e4(0x1c4)]?this[_0x5017e4(0x1a6)](_0x170bbe[_0x5017e4(0x1e0)]):this[_0x5017e4(0x198)](_0x170bbe,!0x1);}),this[_0x8a08c3(0x17d)](_0x3a2ffe,_0x8a08c3(0x158),(_0x1249db,_0x249058,_0x1d8233)=>{const _0x4c7f37=_0x8a08c3;this[_0x4c7f37(0x17c)](_0x249058,_0x4c7f37(0x16b)),this[_0x4c7f37(0x1e1)][_0x4c7f37(0x18b)](_0x249058),this[_0x4c7f37(0x1ad)][_0x4c7f37(0x154)](_0x249058)&&this[_0x4c7f37(0x1bd)](_0x249058),_0x1d8233&&this[_0x4c7f37(0x1a6)](_0x1d8233[_0x4c7f37(0x1e0)]);}),this[_0x8a08c3(0x17d)](_0x3a2ffe,_0x8a08c3(0x153),(_0xa01a4,_0x551b4f)=>{const _0x1238d7=_0x8a08c3;this[_0x1238d7(0x1a6)](_0x551b4f);}),this[_0x8a08c3(0x17d)](_0x788d72,_0x8a08c3(0x180),()=>{const _0x396c30=_0x8a08c3;this[_0x396c30(0x19c)]();}),this[_0x8a08c3(0x17d)](_0x591efb,_0x8a08c3(0x1b5),(_0x376478,{threadId:_0x3c9531,isFromAdapter:_0x245047})=>{const _0x231856=_0x8a08c3;if(_0x245047||!_0x3a2ffe[_0x231856(0x182)](_0x3c9531))return;const _0x34e5f9=_0x3a2ffe[_0x231856(0x1b2)](_0x3c9531);this[_0x231856(0x1ad)][_0x231856(0x1de)](_0x34e5f9)[_0x231856(0x1c8)][_0x231856(0x1df)][_0x231856(0x1b4)](-0x1);},{'priority':_0x8a08c3(0x15a)});}[_0x28a2cf(0x19c)](){const _0x201d27=_0x28a2cf,_0x5079cf=this[_0x201d27(0x189)][_0x201d27(0x1a8)][_0x201d27(0x1de)](_0x201d27(0x18a)),_0x454ac9=this[_0x201d27(0x189)][_0x201d27(0x1a8)][_0x201d27(0x1de)](_0x201d27(0x1b9)),_0x418dbe=Array[_0x201d27(0x1d9)](_0x5079cf[_0x201d27(0x175)],_0x2575d3=>_0x2575d3[_0x201d27(0x16f)])[_0x201d27(0x1b7)](_0x41e437=>this[_0x201d27(0x1db)][_0x201d27(0x154)](_0x41e437)),_0x437e52=[];for(const _0x10add0 of _0x418dbe){const _0x3dad30=this[_0x201d27(0x1db)][_0x201d27(0x1de)](_0x10add0)[_0x201d27(0x1cc)][_0x201d27(0x1ce)]();_0x437e52[_0x201d27(0x18f)](..._0x3dad30[_0x201d27(0x1cd)]((_0x54735e,_0xcf6b8)=>[..._0x54735e,..._0xcf6b8[_0x201d27(0x1a0)]()],[]));}_0x454ac9[_0x201d27(0x1d5)]=_0x437e52;}[_0x28a2cf(0x1ac)](){const _0x1bf8d0=_0x28a2cf,_0x3e58ed=this[_0x1bf8d0(0x189)],_0x4456b9=_0x3e58ed[_0x1bf8d0(0x18d)],_0x247fee=_0x2f6b2c(_0x4456b9,_0x1bf8d0(0x181)),_0x1e71c1=new _0x44f7db([{'type':_0x1bf8d0(0x15e),'model':new _0x437cf1({'withText':!0x0,'isToggleable':!0x0,'label':_0x247fee,'commandName':_0x1bf8d0(0x156),'role':_0x1bf8d0(0x19a)})},{'type':_0x1bf8d0(0x15f)},{'type':_0x1bf8d0(0x1c7),'model':new _0x437cf1({'withText':!0x0,'label':_0x2f6b2c(_0x4456b9,_0x1bf8d0(0x157)),'commandName':_0x1bf8d0(0x19e),'role':_0x1bf8d0(0x1c6)})},{'type':_0x1bf8d0(0x1c7),'model':new _0x437cf1({'withText':!0x0,'label':_0x2f6b2c(_0x4456b9,_0x1bf8d0(0x1ae)),'commandName':_0x1bf8d0(0x190),'role':_0x1bf8d0(0x1c6)})},{'type':_0x1bf8d0(0x1c7),'model':new _0x437cf1({'withText':!0x0,'label':_0x2f6b2c(_0x4456b9,_0x1bf8d0(0x176)),'commandName':_0x1bf8d0(0x1ca),'role':_0x1bf8d0(0x1c6)})},{'type':_0x1bf8d0(0x1c7),'model':new _0x437cf1({'withText':!0x0,'label':_0x2f6b2c(_0x4456b9,_0x1bf8d0(0x1b8)),'commandName':_0x1bf8d0(0x1e8),'role':_0x1bf8d0(0x1c6)})}]);for(const _0x4c5cbc of _0x1e71c1)if(me(_0x4c5cbc)){const _0x485412=_0x3e58ed[_0x1bf8d0(0x1ab)][_0x1bf8d0(0x1de)](_0x4c5cbc[_0x1bf8d0(0x1cc)][_0x1bf8d0(0x160)]);_0x4c5cbc[_0x1bf8d0(0x1cc)][_0x1bf8d0(0x177)](_0x1bf8d0(0x1da),_0x1bf8d0(0x191))['to'](_0x485412,_0x1bf8d0(0x1cf),_0x1bf8d0(0x191));}_0x3e58ed['ui'][_0x1bf8d0(0x166)][_0x1bf8d0(0x1c9)](_0x1bf8d0(0x156),_0x5fd464=>this[_0x1bf8d0(0x1b3)](_0x5fd464,_0x1e71c1,_0x247fee)),_0x3e58ed['ui'][_0x1bf8d0(0x166)][_0x1bf8d0(0x1c9)](_0x1bf8d0(0x174),_0x372cc0=>this[_0x1bf8d0(0x1d1)](_0x372cc0,_0x1e71c1,_0x247fee));}[_0x28a2cf(0x1b3)](_0x5b7dea,_0x13ea62,_0x526c9c){const _0x5ed209=_0x28a2cf,_0x5becf9=_0x35d066(_0x5b7dea,_0x37dda2),_0x343e29=this[_0x5ed209(0x189)][_0x5ed209(0x1ab)][_0x5ed209(0x1de)](_0x5ed209(0x156));_0x5becf9[_0x5ed209(0x178)][_0x5ed209(0x1c2)]({'tooltip':_0x526c9c,'label':_0x526c9c,'icon':_0x5f2d22}),_0x5becf9[_0x5ed209(0x178)][_0x5ed209(0x177)](_0x5ed209(0x1da))['to'](_0x343e29,_0x5ed209(0x1cf)),_0x5becf9[_0x5ed209(0x178)]['on'](_0x5ed209(0x1d6),()=>{const _0x5c5091=_0x5ed209;_0x343e29[_0x5c5091(0x1d6)](),this[_0x5c5091(0x189)][_0x5c5091(0x1e7)][_0x5c5091(0x1c8)][_0x5c5091(0x1b4)]();}),_0x5cebb0(_0x5becf9,_0x13ea62,{'role':_0x5ed209(0x183)});const _0x15b149=[];for(const _0x62cdf8 of _0x13ea62)me(_0x62cdf8)&&_0x15b149[_0x5ed209(0x18f)](this[_0x5ed209(0x189)][_0x5ed209(0x1ab)][_0x5ed209(0x1de)](_0x62cdf8[_0x5ed209(0x1cc)][_0x5ed209(0x160)]));const _0xfa3413=_0x5becf9[_0x5ed209(0x178)];return _0xfa3413[_0x5ed209(0x1e9)][_0x5ed209(0x1dd)](_0x5ed209(0x191)),_0xfa3413[_0x5ed209(0x1a1)][_0x5ed209(0x1dd)](_0x5ed209(0x191)),_0xfa3413[_0x5ed209(0x1e9)][_0x5ed209(0x177)](_0x5ed209(0x191))['to'](_0x343e29,_0x5ed209(0x191)),_0xfa3413[_0x5ed209(0x1a1)][_0x5ed209(0x177)](_0x5ed209(0x191))[_0x5ed209(0x197)](_0x15b149,_0x5ed209(0x191),(..._0x2a55cb)=>_0x2a55cb[_0x5ed209(0x16d)](_0x47502b=>_0x47502b)),_0x5becf9['on'](_0x5ed209(0x1d6),_0x4e5067=>{const _0x3f252d=_0x5ed209;this[_0x3f252d(0x189)][_0x3f252d(0x1d6)](_0x4e5067[_0x3f252d(0x1d4)][_0x3f252d(0x160)]),this[_0x3f252d(0x189)][_0x3f252d(0x1e7)][_0x3f252d(0x1c8)][_0x3f252d(0x1b4)]();}),_0x5becf9;}[_0x28a2cf(0x1d1)](_0x1ae389,_0x43207d,_0x506a6a){const _0x4b6120=_0x28a2cf,_0x451538=new _0x35badf(_0x1ae389),_0x37af05=this[_0x4b6120(0x189)][_0x4b6120(0x1ab)][_0x4b6120(0x1de)](_0x4b6120(0x156));_0x451538[_0x4b6120(0x178)][_0x4b6120(0x1c2)]({'label':_0x506a6a,'icon':_0x5f2d22});const _0x717638=new _0x533aa6(_0x1ae389);for(const _0x44b22f of _0x43207d){if(_0x4b6120(0x15f)==_0x44b22f[_0x4b6120(0x15c)]){_0x717638[_0x4b6120(0x1af)][_0x4b6120(0x1c9)](new _0x3f316a(_0x1ae389));continue;}const _0x1ad048=new _0x5a2575(_0x1ae389,_0x451538),_0x36f612=new _0x29c165(_0x1ae389),_0x47e3d7=_0x44b22f[_0x4b6120(0x1cc)];_0x36f612[_0x4b6120(0x177)](...Object[_0x4b6120(0x1bb)](_0x47e3d7))['to'](_0x47e3d7),_0x36f612[_0x4b6120(0x1ba)](_0x4b6120(0x1d6))['to'](_0x451538),_0x36f612['on'](_0x4b6120(0x1d6),()=>{const _0x4db70c=_0x4b6120;this[_0x4db70c(0x189)][_0x4db70c(0x1d6)](_0x47e3d7[_0x4db70c(0x160)]),this[_0x4db70c(0x189)][_0x4db70c(0x1e7)][_0x4db70c(0x1c8)][_0x4db70c(0x1b4)]();}),_0x1ad048[_0x4b6120(0x18c)][_0x4b6120(0x1c9)](_0x36f612),_0x717638[_0x4b6120(0x1af)][_0x4b6120(0x1c9)](_0x1ad048);}return _0x451538[_0x4b6120(0x177)](_0x4b6120(0x191))['to'](_0x37af05,_0x4b6120(0x191)),_0x451538[_0x4b6120(0x161)][_0x4b6120(0x18c)][_0x4b6120(0x1c9)](_0x717638),_0x451538;}[_0x28a2cf(0x1b0)](_0x16120c){const _0x1bcfae=_0x28a2cf,_0x15821f=this[_0x1bcfae(0x189)],_0x17b13f=_0x15821f[_0x1bcfae(0x194)],_0x1ae7b9=_0x15821f[_0x1bcfae(0x1a8)][_0x1bcfae(0x1de)](_0x1bcfae(0x18a)),_0xb4a6c2=_0x15821f[_0x1bcfae(0x1a8)][_0x1bcfae(0x1de)](_0x1bcfae(0x1a5)),_0x5e752d=_0x15821f[_0x1bcfae(0x1a8)][_0x1bcfae(0x1de)](_0x1bcfae(0x1aa)),_0x12a4fa=_0x15821f[_0x1bcfae(0x1a8)][_0x1bcfae(0x1de)](_0x4b351a)['me'],_0x5b43ed=_0x17b13f[_0x1bcfae(0x1de)](_0x1bcfae(0x156))[_0x1bcfae(0x186)],_0x144e2d=_0x17b13f[_0x1bcfae(0x1de)](_0x1bcfae(0x156))[_0x1bcfae(0x19d)],{CommentsListView:_0x575314,CommentThreadInputView:_0x2281db}=_0x15821f[_0x1bcfae(0x1a8)][_0x1bcfae(0x1de)](_0x1bcfae(0x195));let _0x2bd287,_0x5809ec,_0x186b7a;this[_0x1bcfae(0x1d7)][_0x1bcfae(0x154)](_0x16120c['id'])?(_0x5809ec=this[_0x1bcfae(0x1d7)][_0x1bcfae(0x1de)](_0x16120c['id']),_0x2bd287=_0x5809ec[_0x1bcfae(0x173)]):(_0x2bd287=new _0x5b43ed(_0x15821f[_0x1bcfae(0x18d)],_0x16120c,_0x12a4fa,{'disableComments':this[_0x1bcfae(0x15b)],'editorConfig':_0x17b13f[_0x1bcfae(0x1de)](_0x1bcfae(0x171)),'maxCommentsWhenCollapsed':_0x17b13f[_0x1bcfae(0x1de)](_0x1bcfae(0x193)),'maxThreadTotalWeight':_0x17b13f[_0x1bcfae(0x1de)](_0x1bcfae(0x1a3)),'maxCommentCharsWhenCollapsed':_0x17b13f[_0x1bcfae(0x1de)](_0x1bcfae(0x16e)),'formatDateTime':_0xde81a7(_0x17b13f[_0x1bcfae(0x1de)](_0x1bcfae(0x18d))),'CommentView':_0x17b13f[_0x1bcfae(0x1de)](_0x1bcfae(0x17e))[_0x1bcfae(0x163)],'CommentsListView':_0x575314,'CommentThreadInputView':_0x2281db,'SuggestionView':_0x144e2d}),_0x2bd287[_0x1bcfae(0x152)][_0x1bcfae(0x1dc)]['on'](_0x1bcfae(0x1d6),()=>{const _0x2f1163=_0x1bcfae;_0x15821f[_0x2f1163(0x1e7)][_0x2f1163(0x1c8)][_0x2f1163(0x1b4)]();}),_0x2bd287[_0x1bcfae(0x152)][_0x1bcfae(0x162)]['on'](_0x1bcfae(0x1d6),()=>{const _0x290228=_0x1bcfae;_0x15821f[_0x290228(0x1e7)][_0x290228(0x1c8)][_0x290228(0x1b4)]();}),_0x5809ec=_0x1ae7b9[_0x1bcfae(0x1cb)](this[_0x1bcfae(0x189)][_0x1bcfae(0x18d)],_0x2bd287),_0x5809ec[_0x1bcfae(0x177)](_0x1bcfae(0x196))['to'](_0x2bd287,_0x1bcfae(0x196)),_0x5809ec[_0x1bcfae(0x177)](_0x1bcfae(0x188))['to'](_0x2bd287),_0x5809ec[_0x1bcfae(0x177)](_0x1bcfae(0x15c))['to'](_0x2bd287,_0x1bcfae(0x15c),_0x1f7482=>_0x1bcfae(0x17f)+_0x1f7482),_0x2bd287['on'](_0x1bcfae(0x15d),()=>{const _0x38fbef=_0x1bcfae;_0x186b7a[_0x38fbef(0x1c3)](_0x38fbef(0x15d));}),this[_0x1bcfae(0x1d7)][_0x1bcfae(0x1c2)](_0x16120c['id'],_0x5809ec));const _0x581cf5=_0xb4a6c2[_0x1bcfae(0x155)](_0x16120c[_0x1bcfae(0x179)],_0x2bd287),_0x4b84a2=new _0x2ab0d8(_0x15821f,_0x16120c,_0x2bd287,_0x581cf5),_0x5b6eec=_0x16120c[_0x1bcfae(0x1ce)]()[_0x1bcfae(0x1b7)](_0x12c180=>_0x12c180[_0x1bcfae(0x167)]);_0x2bd287[_0x1bcfae(0x1d2)]=_0x15821f[_0x1bcfae(0x1a8)][_0x1bcfae(0x1de)](_0x1bcfae(0x1b9))[_0x1bcfae(0x169)][_0x1bcfae(0x17a)](_0x5b6eec),this[_0x1bcfae(0x1ad)][_0x1bcfae(0x1c2)](_0x16120c,_0x4b84a2),this[_0x1bcfae(0x1db)][_0x1bcfae(0x1c2)](_0x2bd287,_0x4b84a2),_0x186b7a=_0x1ae7b9[_0x1bcfae(0x19f)]({'view':_0x5809ec,'target':()=>{const _0x83e8e6=_0x1bcfae,_0x133e9c=[],_0x3c3acd=_0x16120c[_0x83e8e6(0x1ce)]()[_0x83e8e6(0x1b7)](_0x19dd08=>_0x19dd08[_0x83e8e6(0x167)]);for(const _0x5056ea of _0x3c3acd)_0x133e9c[_0x83e8e6(0x18f)](..._0x5056ea[_0x83e8e6(0x168)]());return _0x23222b(_0x15821f[_0x83e8e6(0x1e7)],_0x133e9c);},'type':()=>_0x1bcfae(0x17f)+_0x4b84a2[_0x1bcfae(0x1c8)][_0x1bcfae(0x15c)]}),_0xb4a6c2[_0x1bcfae(0x19b)](_0x2bd287,_0x186b7a),_0x1ae7b9[_0x1bcfae(0x1c9)](_0x186b7a),_0x5e752d[_0x1bcfae(0x1e6)](_0x186b7a);}[_0x28a2cf(0x1bd)](_0x430017){const _0x4eb541=_0x28a2cf,_0x3cf9e8=this[_0x4eb541(0x189)][_0x4eb541(0x1a8)][_0x4eb541(0x1de)](_0x4eb541(0x1a5)),_0x3d17ff=this[_0x4eb541(0x189)][_0x4eb541(0x1a8)][_0x4eb541(0x1de)](_0x4eb541(0x18a)),_0xea1a4a=this[_0x4eb541(0x1ad)][_0x4eb541(0x1de)](_0x430017),_0xf865b2=_0xea1a4a[_0x4eb541(0x1c8)],_0x15f566=_0x3d17ff[_0x4eb541(0x1e2)](_0xf865b2);_0x3cf9e8[_0x4eb541(0x1bc)](_0xf865b2),_0x15f566&&_0x3d17ff[_0x4eb541(0x1e4)](_0x15f566),this[_0x4eb541(0x1ad)][_0x4eb541(0x18b)](_0x430017),this[_0x4eb541(0x1db)][_0x4eb541(0x18b)](_0xf865b2),_0xea1a4a[_0x4eb541(0x187)]();}[_0x28a2cf(0x1a6)](_0x35f565){const _0x34b459=_0x28a2cf;if(!_0x35f565[_0x34b459(0x167)]||!this[_0x34b459(0x1ad)][_0x34b459(0x154)](_0x35f565))return;const _0x5b6a37=this[_0x34b459(0x189)][_0x34b459(0x1a8)][_0x34b459(0x1de)](_0x34b459(0x1b9)),_0x75ece4=this[_0x34b459(0x1ad)][_0x34b459(0x1de)](_0x35f565),_0x508428=_0x35f565[_0x34b459(0x1ce)]();_0x75ece4[_0x34b459(0x1c8)][_0x34b459(0x1d2)]=_0x5b6a37[_0x34b459(0x169)][_0x34b459(0x17a)](_0x508428);}[_0x28a2cf(0x187)](){const _0x2e0240=_0x28a2cf;for(const _0x377c8f of this[_0x2e0240(0x1ad)][_0x2e0240(0x1bb)]())this[_0x2e0240(0x1bd)](_0x377c8f);for(const _0x1d63ea of this[_0x2e0240(0x1d7)][_0x2e0240(0x170)]())_0x1d63ea[_0x2e0240(0x173)][_0x2e0240(0x187)]();super[_0x2e0240(0x187)]();}}function me(_0x2fcb33){const _0x260d10=_0x28a2cf;return _0x260d10(0x1cc)in _0x2fcb33;}
|
|
23
|
+
const _0x36bb4e=_0x15ec;(function(_0x21e0cc,_0x3c8eb0){const _0x17853f=_0x15ec,_0x1ca42b=_0x21e0cc();while(!![]){try{const _0x5a8ac8=-parseInt(_0x17853f(0x1ca))/0x1*(parseInt(_0x17853f(0x1d0))/0x2)+-parseInt(_0x17853f(0x1e5))/0x3+parseInt(_0x17853f(0x1d5))/0x4*(parseInt(_0x17853f(0x249))/0x5)+-parseInt(_0x17853f(0x241))/0x6+-parseInt(_0x17853f(0x21a))/0x7+-parseInt(_0x17853f(0x216))/0x8*(-parseInt(_0x17853f(0x1fd))/0x9)+parseInt(_0x17853f(0x1eb))/0xa;if(_0x5a8ac8===_0x3c8eb0)break;else _0x1ca42b['push'](_0x1ca42b['shift']());}catch(_0x36e20e){_0x1ca42b['push'](_0x1ca42b['shift']());}}}(_0x1e24,0xc0f47));function _0x15ec(_0x42c8a0,_0x4a7513){const _0x1e2486=_0x1e24();return _0x15ec=function(_0x15ec23,_0x4f0c39){_0x15ec23=_0x15ec23-0x1bb;let _0xb35615=_0x1e2486[_0x15ec23];return _0xb35615;},_0x15ec(_0x42c8a0,_0x4a7513);}import{Plugin as _0x470884}from'ckeditor5/src/core.js';import{Collection as _0x15f85b}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x38cc59,createDropdown as _0x1f1fb4,ListSeparatorView as _0x36fe39,MenuBarMenuView as _0x1b1828,MenuBarMenuListView as _0x44e1f4,MenuBarMenuListItemView as _0x4bddda,MenuBarMenuListItemButtonView as _0x4ab7ec,SplitButtonView as _0xa5c4e8,ViewModel as _0x3bec4c}from'ckeditor5/src/ui.js';import{Users as _0x56a880,getDateTimeFormatter as _0x29c954,getAllMarkersDomElementsSorted as _0x491f6d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1e24(){const _0xbe2fe2=['registerAnnotation','getMarkerNames','discardSelectedSuggestions','plugins','commandName','buttonView','Accept\x20all\x20suggestions','comments.maxCommentCharsWhenCollapsed','_handleSuggestionControllerDelayed','innerView','Discard\x20all\x20suggestions','acceptSelectedSuggestions','actionView','_bindAnnotationToEditors','menuBar:trackChanges','editing','_updateController','from','length','stopListening','_disableComments','head','isInContent','TrackChangesUI','SuggestionThreadView','4869966YaqxHr','getAllAdjacentSuggestions','addSourceCollector','destroy','_destroyController','editor','_viewToController','arrowView','263080tjJUrB','getRanges','values','refreshSelectedViews','remove','panelView','source','_unbindEditors','suggestionLoaded','reduce','change:previous','trackChanges.SuggestionThreadView','EditorAnnotations','hasSuggestion','lowest','menuitemcheckbox','componentFactory','_createToolbarButton','_suggestionToController','unbind','descriptionParts','switchbutton','SuggestionView','delegate','5993ptiFCD','CommentsUI','CommentView','getJoined','getFirstRange','isEnabled','4EVXPhM','push','focus','value','view','80nGcveU','discardButton','delete','Accept\x20all\x20selected\x20suggestions','_annotationViews','createAnnotation','comments.editorConfig','acceptAllSuggestions','escape','trackChanges.SuggestionView','CommentsRepository','_refreshActiveMarkers','children','comments.maxCommentsWhenCollapsed','requires','fire','4504788nflbij','size','getByInnerView','bind','filter','toMany','16398310Fplqoj','config','some','change:activeAnnotations','previous','descriptionFactory','suggestionChanged','pluginName','suggestionView','get','createAnnotationView','add','createCommentThreadController','isDirty','trackChanges','items','getMarkers','addComment','19683EUsDha','comments.maxThreadTotalWeight','suggestionUnloaded','clear','commentThread','set','acceptButton','TrackChangesEditing','comments','discardAllSuggestions','Discard\x20all\x20selected\x20suggestions','Track\x20changes','activeMarkers','mainView','commands','Annotations','getSuggestion','activeAnnotations','listenTo','_addUIComponentsToFactory','separator','_initializeController','commentsListView','_handleControllerBuffer','button','5368yLQWjh','init','_createMenuBarMenu','menu','7308294ustztb','menuitem','define','trackChanges.disableComments','isMultiRange','has','execute','suggestion-','getDescriptions','model','isOn','locale','keys','type'];_0x1e24=function(){return _0xbe2fe2;};return _0x1e24();}import _0x1f6746 from'./trackchangesediting.js';import _0x2fd686 from'./ui/suggestioncontroller.js';import _0x2a522b from'./ui/view/suggestionthreadview.js';import _0x3cc4a7 from'./ui/view/suggestionview.js';import{getTranslation as _0x30dcda}from'./utils/common-translations.js';import _0x367481 from'../theme/icons/track-changes.svg';export default class d extends _0x470884{static get[_0x36bb4e(0x1e3)](){const _0x22f438=_0x36bb4e;return[_0x1f6746,_0x56a880,_0x22f438(0x1df),_0x22f438(0x20c),_0x22f438(0x1be)];}static get[_0x36bb4e(0x1f2)](){const _0x26fb56=_0x36bb4e;return _0x26fb56(0x23f);}constructor(_0x318d9b){const _0x24bdf7=_0x36bb4e;super(_0x318d9b),this[_0x24bdf7(0x1c4)]=new Map(),this[_0x24bdf7(0x247)]=new Map(),this[_0x24bdf7(0x1d9)]=new Map(),this[_0x24bdf7(0x214)]=new Map();const _0x1c00ec=this[_0x24bdf7(0x246)][_0x24bdf7(0x1ec)];_0x1c00ec[_0x24bdf7(0x21c)](_0x24bdf7(0x1bd),_0x2a522b),_0x1c00ec[_0x24bdf7(0x21c)](_0x24bdf7(0x1de),_0x3cc4a7),_0x1c00ec[_0x24bdf7(0x21c)](_0x24bdf7(0x21d),!0x1),this[_0x24bdf7(0x23c)]=_0x1c00ec[_0x24bdf7(0x1f4)](_0x24bdf7(0x21d));}[_0x36bb4e(0x230)](_0x3e54bc,_0x4c7d1d){const _0x2d0e2d=_0x36bb4e;0x0===this[_0x2d0e2d(0x214)][_0x2d0e2d(0x1e6)]&&setTimeout(()=>{const _0x31a8ca=_0x2d0e2d;for(const [_0x4f5101,_0x1710d0]of this[_0x31a8ca(0x214)]){const _0x18dbce=this[_0x31a8ca(0x1c4)][_0x31a8ca(0x21f)](_0x4f5101);_0x18dbce||_0x1710d0?_0x18dbce&&_0x1710d0&&this[_0x31a8ca(0x245)](_0x4f5101):this[_0x31a8ca(0x212)](_0x4f5101);}this[_0x31a8ca(0x214)][_0x31a8ca(0x200)](),this[_0x31a8ca(0x246)][_0x31a8ca(0x22b)][_0x31a8ca(0x1f4)](_0x31a8ca(0x1be))[_0x31a8ca(0x24c)](),this[_0x31a8ca(0x1e0)]();},0xa),this[_0x2d0e2d(0x214)][_0x2d0e2d(0x202)](_0x3e54bc,_0x4c7d1d);}[_0x36bb4e(0x217)](){const _0x4c45bc=_0x36bb4e,_0x10ab71=this[_0x4c45bc(0x246)],_0x2f7daf=_0x10ab71[_0x4c45bc(0x22b)][_0x4c45bc(0x1f4)](_0x4c45bc(0x204)),_0x30c11d=_0x10ab71[_0x4c45bc(0x22b)][_0x4c45bc(0x1f4)](_0x4c45bc(0x20c)),_0x13f0a8=_0x10ab71[_0x4c45bc(0x22b)][_0x4c45bc(0x1f4)](_0x4c45bc(0x1be)),_0x18ccc5=_0x10ab71[_0x4c45bc(0x22b)][_0x4c45bc(0x1f4)](_0x4c45bc(0x1df));this[_0x4c45bc(0x210)](),_0x13f0a8[_0x4c45bc(0x243)](()=>{const _0x518911=_0x4c45bc,_0xc640c7=[];for(const [_0x402963,_0x57f75a]of Array[_0x518911(0x239)](this[_0x518911(0x1c4)])){const _0x3c7db6=_0x402963[_0x518911(0x242)](),_0x1a1756=[];for(const _0x144e65 of _0x3c7db6){if(!_0x144e65[_0x518911(0x23e)])continue;if(_0x144e65[_0x518911(0x21e)]){_0x1a1756[_0x518911(0x1d1)](..._0x144e65[_0x518911(0x24a)]());continue;}const _0x3b54d9=_0x144e65[_0x518911(0x1ce)]();if(_0x1a1756[_0x518911(0x23a)]>0x0){const _0x44eeb7=_0x1a1756[0x0][_0x518911(0x1cd)](_0x3b54d9);if(_0x44eeb7){_0x1a1756[0x0]=_0x44eeb7;continue;}}_0x1a1756[_0x518911(0x1d1)](_0x3b54d9);}_0xc640c7[_0x518911(0x1d1)]([_0x57f75a[_0x518911(0x1d4)],_0x1a1756]);}return _0xc640c7;}),this[_0x4c45bc(0x20f)](_0x2f7daf,_0x4c45bc(0x251),(_0x320488,_0x1b61e0)=>{const _0x1c2fd5=_0x4c45bc;this[_0x1c2fd5(0x20f)](_0x1b61e0,_0x1c2fd5(0x1bc),(_0x220dcd,_0x4962bf,_0x2daecb,_0x2138c0)=>{const _0x33ec2e=_0x1c2fd5;_0x1b61e0[_0x33ec2e(0x23e)]&&(null==_0x2daecb?(this[_0x33ec2e(0x238)](_0x2138c0[_0x33ec2e(0x23d)]),this[_0x33ec2e(0x230)](_0x1b61e0,!0x1)):(this[_0x33ec2e(0x238)](_0x2daecb[_0x33ec2e(0x23d)]),null==_0x2138c0&&this[_0x33ec2e(0x230)](_0x1b61e0,!0x0)));}),null!==_0x1b61e0[_0x1c2fd5(0x1ef)]?this[_0x1c2fd5(0x238)](_0x1b61e0[_0x1c2fd5(0x23d)]):this[_0x1c2fd5(0x230)](_0x1b61e0,!0x1);}),this[_0x4c45bc(0x20f)](_0x2f7daf,_0x4c45bc(0x1ff),(_0x39da56,_0x4d9f82,_0x1637be)=>{const _0x355f98=_0x4c45bc;this[_0x355f98(0x23b)](_0x4d9f82,_0x355f98(0x1bc)),this[_0x355f98(0x214)][_0x355f98(0x1d7)](_0x4d9f82),this[_0x355f98(0x1c4)][_0x355f98(0x21f)](_0x4d9f82)&&this[_0x355f98(0x245)](_0x4d9f82),_0x1637be&&this[_0x355f98(0x238)](_0x1637be[_0x355f98(0x23d)]);}),this[_0x4c45bc(0x20f)](_0x2f7daf,_0x4c45bc(0x1f1),(_0x55aaf9,_0x39a60e)=>{const _0x4fdae3=_0x4c45bc;this[_0x4fdae3(0x238)](_0x39a60e);}),this[_0x4c45bc(0x20f)](_0x30c11d,_0x4c45bc(0x1ee),()=>{const _0x3619c8=_0x4c45bc;this[_0x3619c8(0x1e0)]();}),this[_0x4c45bc(0x20f)](_0x18ccc5,_0x4c45bc(0x1fc),(_0xfdbb6b,{threadId:_0x58406a,isFromAdapter:_0x426dab})=>{const _0xb23890=_0x4c45bc;if(_0x426dab||!_0x2f7daf[_0xb23890(0x1bf)](_0x58406a))return;const _0x30d10e=_0x2f7daf[_0xb23890(0x20d)](_0x58406a);this[_0xb23890(0x1c4)][_0xb23890(0x1f4)](_0x30d10e)[_0xb23890(0x1d4)][_0xb23890(0x213)][_0xb23890(0x1d2)](-0x1);},{'priority':_0x4c45bc(0x1c0)});}[_0x36bb4e(0x1e0)](){const _0x2478aa=_0x36bb4e,_0x2485f2=this[_0x2478aa(0x246)][_0x2478aa(0x22b)][_0x2478aa(0x1f4)](_0x2478aa(0x20c)),_0x2a7bf5=this[_0x2478aa(0x246)][_0x2478aa(0x22b)][_0x2478aa(0x1f4)](_0x2478aa(0x204)),_0x1a88ef=Array[_0x2478aa(0x239)](_0x2485f2[_0x2478aa(0x20e)],_0x55735e=>_0x55735e[_0x2478aa(0x231)])[_0x2478aa(0x1e9)](_0x32dee9=>this[_0x2478aa(0x247)][_0x2478aa(0x21f)](_0x32dee9)),_0x30da8f=[];for(const _0x1f58ca of _0x1a88ef){const _0x18ef13=this[_0x2478aa(0x247)][_0x2478aa(0x1f4)](_0x1f58ca)[_0x2478aa(0x223)][_0x2478aa(0x242)]();_0x30da8f[_0x2478aa(0x1d1)](..._0x18ef13[_0x2478aa(0x1bb)]((_0x45e988,_0x1054b8)=>[..._0x45e988,..._0x1054b8[_0x2478aa(0x229)]()],[]));}_0x2a7bf5[_0x2478aa(0x209)]=_0x30da8f;}[_0x36bb4e(0x210)](){const _0x23cd57=_0x36bb4e,_0x2440e4=this[_0x23cd57(0x246)],_0x293333=_0x2440e4[_0x23cd57(0x225)],_0x223e1f=_0x30dcda(_0x293333,_0x23cd57(0x208)),_0x3fcf0f=new _0x15f85b([{'type':_0x23cd57(0x1c7),'model':new _0x3bec4c({'withText':!0x0,'isToggleable':!0x0,'label':_0x223e1f,'commandName':_0x23cd57(0x1f9),'role':_0x23cd57(0x1c1)})},{'type':_0x23cd57(0x211)},{'type':_0x23cd57(0x215),'model':new _0x3bec4c({'withText':!0x0,'label':_0x30dcda(_0x293333,_0x23cd57(0x22e)),'commandName':_0x23cd57(0x1dc),'role':_0x23cd57(0x21b)})},{'type':_0x23cd57(0x215),'model':new _0x3bec4c({'withText':!0x0,'label':_0x30dcda(_0x293333,_0x23cd57(0x1d8)),'commandName':_0x23cd57(0x233),'role':_0x23cd57(0x21b)})},{'type':_0x23cd57(0x215),'model':new _0x3bec4c({'withText':!0x0,'label':_0x30dcda(_0x293333,_0x23cd57(0x232)),'commandName':_0x23cd57(0x206),'role':_0x23cd57(0x21b)})},{'type':_0x23cd57(0x215),'model':new _0x3bec4c({'withText':!0x0,'label':_0x30dcda(_0x293333,_0x23cd57(0x207)),'commandName':_0x23cd57(0x22a),'role':_0x23cd57(0x21b)})}]);for(const _0x258241 of _0x3fcf0f)if(me(_0x258241)){const _0x35a5e0=_0x2440e4[_0x23cd57(0x20b)][_0x23cd57(0x1f4)](_0x258241[_0x23cd57(0x223)][_0x23cd57(0x22c)]);_0x258241[_0x23cd57(0x223)][_0x23cd57(0x1e8)](_0x23cd57(0x224),_0x23cd57(0x1cf))['to'](_0x35a5e0,_0x23cd57(0x1d3),_0x23cd57(0x1cf));}_0x2440e4['ui'][_0x23cd57(0x1c2)][_0x23cd57(0x1f6)](_0x23cd57(0x1f9),_0x1ec83b=>this[_0x23cd57(0x1c3)](_0x1ec83b,_0x3fcf0f,_0x223e1f)),_0x2440e4['ui'][_0x23cd57(0x1c2)][_0x23cd57(0x1f6)](_0x23cd57(0x236),_0x1e6e5b=>this[_0x23cd57(0x218)](_0x1e6e5b,_0x3fcf0f,_0x223e1f));}[_0x36bb4e(0x1c3)](_0x30f385,_0x4d4af1,_0x18a3b2){const _0x1c6e9d=_0x36bb4e,_0x42c5fd=_0x1f1fb4(_0x30f385,_0xa5c4e8),_0x2bae51=this[_0x1c6e9d(0x246)][_0x1c6e9d(0x20b)][_0x1c6e9d(0x1f4)](_0x1c6e9d(0x1f9));_0x42c5fd[_0x1c6e9d(0x22d)][_0x1c6e9d(0x202)]({'tooltip':_0x18a3b2,'label':_0x18a3b2,'icon':_0x367481}),_0x42c5fd[_0x1c6e9d(0x22d)][_0x1c6e9d(0x1e8)](_0x1c6e9d(0x224))['to'](_0x2bae51,_0x1c6e9d(0x1d3)),_0x42c5fd[_0x1c6e9d(0x22d)]['on'](_0x1c6e9d(0x220),()=>{const _0x4ae509=_0x1c6e9d;_0x2bae51[_0x4ae509(0x220)](),this[_0x4ae509(0x246)][_0x4ae509(0x237)][_0x4ae509(0x1d4)][_0x4ae509(0x1d2)]();}),_0x38cc59(_0x42c5fd,_0x4d4af1,{'role':_0x1c6e9d(0x219)});const _0x3b3c48=[];for(const _0x49e337 of _0x4d4af1)me(_0x49e337)&&_0x3b3c48[_0x1c6e9d(0x1d1)](this[_0x1c6e9d(0x246)][_0x1c6e9d(0x20b)][_0x1c6e9d(0x1f4)](_0x49e337[_0x1c6e9d(0x223)][_0x1c6e9d(0x22c)]));const _0x390af9=_0x42c5fd[_0x1c6e9d(0x22d)];return _0x390af9[_0x1c6e9d(0x234)][_0x1c6e9d(0x1c5)](_0x1c6e9d(0x1cf)),_0x390af9[_0x1c6e9d(0x248)][_0x1c6e9d(0x1c5)](_0x1c6e9d(0x1cf)),_0x390af9[_0x1c6e9d(0x234)][_0x1c6e9d(0x1e8)](_0x1c6e9d(0x1cf))['to'](_0x2bae51,_0x1c6e9d(0x1cf)),_0x390af9[_0x1c6e9d(0x248)][_0x1c6e9d(0x1e8)](_0x1c6e9d(0x1cf))[_0x1c6e9d(0x1ea)](_0x3b3c48,_0x1c6e9d(0x1cf),(..._0xfee06b)=>_0xfee06b[_0x1c6e9d(0x1ed)](_0x1bfb38=>_0x1bfb38)),_0x42c5fd['on'](_0x1c6e9d(0x220),_0x387d15=>{const _0x58d5a5=_0x1c6e9d;this[_0x58d5a5(0x246)][_0x58d5a5(0x220)](_0x387d15[_0x58d5a5(0x24f)][_0x58d5a5(0x22c)]),this[_0x58d5a5(0x246)][_0x58d5a5(0x237)][_0x58d5a5(0x1d4)][_0x58d5a5(0x1d2)]();}),_0x42c5fd;}[_0x36bb4e(0x218)](_0x8aa3f6,_0x5a053a,_0x59bf5c){const _0x2501c6=_0x36bb4e,_0x1bf8d2=new _0x1b1828(_0x8aa3f6),_0x361f1b=this[_0x2501c6(0x246)][_0x2501c6(0x20b)][_0x2501c6(0x1f4)](_0x2501c6(0x1f9));_0x1bf8d2[_0x2501c6(0x22d)][_0x2501c6(0x202)]({'label':_0x59bf5c,'icon':_0x367481});const _0x176d7c=new _0x44e1f4(_0x8aa3f6);for(const _0x35f514 of _0x5a053a){if(_0x2501c6(0x211)==_0x35f514[_0x2501c6(0x227)]){_0x176d7c[_0x2501c6(0x1fa)][_0x2501c6(0x1f6)](new _0x36fe39(_0x8aa3f6));continue;}const _0x5dbfee=new _0x4bddda(_0x8aa3f6,_0x1bf8d2),_0x38fc5e=new _0x4ab7ec(_0x8aa3f6),_0x3a338b=_0x35f514[_0x2501c6(0x223)];_0x38fc5e[_0x2501c6(0x1e8)](...Object[_0x2501c6(0x226)](_0x3a338b))['to'](_0x3a338b),_0x38fc5e[_0x2501c6(0x1c9)](_0x2501c6(0x220))['to'](_0x1bf8d2),_0x38fc5e['on'](_0x2501c6(0x220),()=>{const _0x35d084=_0x2501c6;this[_0x35d084(0x246)][_0x35d084(0x220)](_0x3a338b[_0x35d084(0x22c)]),this[_0x35d084(0x246)][_0x35d084(0x237)][_0x35d084(0x1d4)][_0x35d084(0x1d2)]();}),_0x5dbfee[_0x2501c6(0x1e1)][_0x2501c6(0x1f6)](_0x38fc5e),_0x176d7c[_0x2501c6(0x1fa)][_0x2501c6(0x1f6)](_0x5dbfee);}return _0x1bf8d2[_0x2501c6(0x1e8)](_0x2501c6(0x1cf))['to'](_0x361f1b,_0x2501c6(0x1cf)),_0x1bf8d2[_0x2501c6(0x24e)][_0x2501c6(0x1e1)][_0x2501c6(0x1f6)](_0x176d7c),_0x1bf8d2;}[_0x36bb4e(0x212)](_0x3a3dc4){const _0x5736f9=_0x36bb4e,_0x24cde4=this[_0x5736f9(0x246)],_0x5c344c=_0x24cde4[_0x5736f9(0x1ec)],_0x5a2d2a=_0x24cde4[_0x5736f9(0x22b)][_0x5736f9(0x1f4)](_0x5736f9(0x20c)),_0x6c8870=_0x24cde4[_0x5736f9(0x22b)][_0x5736f9(0x1f4)](_0x5736f9(0x1df)),_0x3c507e=_0x24cde4[_0x5736f9(0x22b)][_0x5736f9(0x1f4)](_0x5736f9(0x1be)),_0x23434f=_0x24cde4[_0x5736f9(0x22b)][_0x5736f9(0x1f4)](_0x56a880)['me'],_0x2820d5=_0x5c344c[_0x5736f9(0x1f4)](_0x5736f9(0x1f9))[_0x5736f9(0x240)],_0x252ac8=_0x5c344c[_0x5736f9(0x1f4)](_0x5736f9(0x1f9))[_0x5736f9(0x1c8)],{CommentsListView:_0x5f8ae0,CommentThreadInputView:_0x4239ee}=_0x24cde4[_0x5736f9(0x22b)][_0x5736f9(0x1f4)](_0x5736f9(0x1cb));let _0x4f75fb,_0x3dbb83,_0x3c1c5d;this[_0x5736f9(0x1d9)][_0x5736f9(0x21f)](_0x3a3dc4['id'])?(_0x3dbb83=this[_0x5736f9(0x1d9)][_0x5736f9(0x1f4)](_0x3a3dc4['id']),_0x4f75fb=_0x3dbb83[_0x5736f9(0x20a)]):(_0x4f75fb=new _0x2820d5(_0x24cde4[_0x5736f9(0x225)],_0x3a3dc4,_0x23434f,{'disableComments':this[_0x5736f9(0x23c)],'editorConfig':_0x5c344c[_0x5736f9(0x1f4)](_0x5736f9(0x1db)),'maxCommentsWhenCollapsed':_0x5c344c[_0x5736f9(0x1f4)](_0x5736f9(0x1e2)),'maxThreadTotalWeight':_0x5c344c[_0x5736f9(0x1f4)](_0x5736f9(0x1fe)),'maxCommentCharsWhenCollapsed':_0x5c344c[_0x5736f9(0x1f4)](_0x5736f9(0x22f)),'formatDateTime':_0x29c954(_0x5c344c[_0x5736f9(0x1f4)](_0x5736f9(0x225))),'CommentView':_0x5c344c[_0x5736f9(0x1f4)](_0x5736f9(0x205))[_0x5736f9(0x1cc)],'CommentsListView':_0x5f8ae0,'CommentThreadInputView':_0x4239ee,'SuggestionView':_0x252ac8}),_0x4f75fb[_0x5736f9(0x1f3)][_0x5736f9(0x203)]['on'](_0x5736f9(0x220),()=>{const _0x53291b=_0x5736f9;_0x24cde4[_0x53291b(0x237)][_0x53291b(0x1d4)][_0x53291b(0x1d2)]();}),_0x4f75fb[_0x5736f9(0x1f3)][_0x5736f9(0x1d6)]['on'](_0x5736f9(0x220),()=>{const _0x1baf20=_0x5736f9;_0x24cde4[_0x1baf20(0x237)][_0x1baf20(0x1d4)][_0x1baf20(0x1d2)]();}),_0x3dbb83=_0x5a2d2a[_0x5736f9(0x1f5)](this[_0x5736f9(0x246)][_0x5736f9(0x225)],_0x4f75fb),_0x3dbb83[_0x5736f9(0x1e8)](_0x5736f9(0x1f8))['to'](_0x4f75fb,_0x5736f9(0x1f8)),_0x3dbb83[_0x5736f9(0x1e8)](_0x5736f9(0x23a))['to'](_0x4f75fb),_0x3dbb83[_0x5736f9(0x1e8)](_0x5736f9(0x227))['to'](_0x4f75fb,_0x5736f9(0x227),_0x274e71=>_0x5736f9(0x221)+_0x274e71),_0x4f75fb['on'](_0x5736f9(0x1dd),()=>{const _0x4a140d=_0x5736f9;_0x3c1c5d[_0x4a140d(0x1e4)](_0x4a140d(0x1dd));}),this[_0x5736f9(0x1d9)][_0x5736f9(0x202)](_0x3a3dc4['id'],_0x3dbb83));const _0x585593=_0x6c8870[_0x5736f9(0x1f7)](_0x3a3dc4[_0x5736f9(0x201)],_0x4f75fb),_0x48d432=new _0x2fd686(_0x24cde4,_0x3a3dc4,_0x4f75fb,_0x585593),_0x2f4ce6=_0x3a3dc4[_0x5736f9(0x242)]()[_0x5736f9(0x1e9)](_0x3dcedf=>_0x3dcedf[_0x5736f9(0x23e)]);_0x4f75fb[_0x5736f9(0x1c6)]=_0x24cde4[_0x5736f9(0x22b)][_0x5736f9(0x1f4)](_0x5736f9(0x204))[_0x5736f9(0x1f0)][_0x5736f9(0x222)](_0x2f4ce6),this[_0x5736f9(0x1c4)][_0x5736f9(0x202)](_0x3a3dc4,_0x48d432),this[_0x5736f9(0x247)][_0x5736f9(0x202)](_0x4f75fb,_0x48d432),_0x3c1c5d=_0x5a2d2a[_0x5736f9(0x1da)]({'view':_0x3dbb83,'target':()=>{const _0x108eed=_0x5736f9,_0x1f2d96=[],_0x4b18d4=_0x3a3dc4[_0x108eed(0x242)]()[_0x108eed(0x1e9)](_0x38e0ee=>_0x38e0ee[_0x108eed(0x23e)]);for(const _0x25c290 of _0x4b18d4)_0x1f2d96[_0x108eed(0x1d1)](..._0x25c290[_0x108eed(0x1fb)]());return _0x491f6d(_0x24cde4[_0x108eed(0x237)],_0x1f2d96);},'type':()=>_0x5736f9(0x221)+_0x48d432[_0x5736f9(0x1d4)][_0x5736f9(0x227)]}),_0x6c8870[_0x5736f9(0x235)](_0x4f75fb,_0x3c1c5d),_0x5a2d2a[_0x5736f9(0x1f6)](_0x3c1c5d),_0x3c507e[_0x5736f9(0x228)](_0x3c1c5d);}[_0x36bb4e(0x245)](_0x3eb6e4){const _0x428ff9=_0x36bb4e,_0x456704=this[_0x428ff9(0x246)][_0x428ff9(0x22b)][_0x428ff9(0x1f4)](_0x428ff9(0x1df)),_0x5a3036=this[_0x428ff9(0x246)][_0x428ff9(0x22b)][_0x428ff9(0x1f4)](_0x428ff9(0x20c)),_0x1b435c=this[_0x428ff9(0x1c4)][_0x428ff9(0x1f4)](_0x3eb6e4),_0x14be6a=_0x1b435c[_0x428ff9(0x1d4)],_0x37e659=_0x5a3036[_0x428ff9(0x1e7)](_0x14be6a);_0x456704[_0x428ff9(0x250)](_0x14be6a),_0x37e659&&_0x5a3036[_0x428ff9(0x24d)](_0x37e659),this[_0x428ff9(0x1c4)][_0x428ff9(0x1d7)](_0x3eb6e4),this[_0x428ff9(0x247)][_0x428ff9(0x1d7)](_0x14be6a),_0x1b435c[_0x428ff9(0x244)]();}[_0x36bb4e(0x238)](_0x42be4c){const _0xb38c66=_0x36bb4e;if(!_0x42be4c[_0xb38c66(0x23e)]||!this[_0xb38c66(0x1c4)][_0xb38c66(0x21f)](_0x42be4c))return;const _0xcb9f74=this[_0xb38c66(0x246)][_0xb38c66(0x22b)][_0xb38c66(0x1f4)](_0xb38c66(0x204)),_0x3ba8bf=this[_0xb38c66(0x1c4)][_0xb38c66(0x1f4)](_0x42be4c),_0x462fbb=_0x42be4c[_0xb38c66(0x242)]();_0x3ba8bf[_0xb38c66(0x1d4)][_0xb38c66(0x1c6)]=_0xcb9f74[_0xb38c66(0x1f0)][_0xb38c66(0x222)](_0x462fbb);}[_0x36bb4e(0x244)](){const _0x3e73ac=_0x36bb4e;for(const _0x2d41e1 of this[_0x3e73ac(0x1c4)][_0x3e73ac(0x226)]())this[_0x3e73ac(0x245)](_0x2d41e1);for(const _0xc85b3 of this[_0x3e73ac(0x1d9)][_0x3e73ac(0x24b)]())_0xc85b3[_0x3e73ac(0x20a)][_0x3e73ac(0x244)]();super[_0x3e73ac(0x244)]();}}function me(_0x2d11f7){const _0x3b373f=_0x36bb4e;return _0x3b373f(0x223)in _0x2d11f7;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x172a(){const _0x311f18=['6778878rAXgkJ','commentThreadController','_setPendingAction','31580890XbwfyI','_discardCommand','canAccept','bind','plugins','remove','PendingActions','186746anzVbN','getRanges','canEditAt','360LtNzPi','2210556rQmXic','listenTo','_pendingAction','locale','discardSuggestion','_editor','_acceptCommand','isEnabled','acceptSuggestion','1012141WrysOx','9iETwia','10gJaLYQ','_removePendingAction','unbind','destroy','view','get','execute','929362KhzWPm','5832108kUErQl','5BeUQqs','change:isDirty','PENDING_ACTION_SUGGESTION','canDiscard','stopListening','isDirty','model','commands','add'];_0x172a=function(){return _0x311f18;};return _0x172a();}function _0x2202(_0x57ea33,_0x47fd8c){const _0x172a6b=_0x172a();return _0x2202=function(_0x22023c,_0x27c374){_0x22023c=_0x22023c-0xcf;let _0x24bc90=_0x172a6b[_0x22023c];return _0x24bc90;},_0x2202(_0x57ea33,_0x47fd8c);}const _0x50913a=_0x2202;(function(_0x3f877a,_0x2221dd){const _0x10fa1d=_0x2202,_0x4b261e=_0x3f877a();while(!![]){try{const _0x51e2a5=parseInt(_0x10fa1d(0xf3))/0x1+parseInt(_0x10fa1d(0xd1))/0x2+parseInt(_0x10fa1d(0xf4))/0x3*(parseInt(_0x10fa1d(0xea))/0x4)+-parseInt(_0x10fa1d(0xd3))/0x5*(-parseInt(_0x10fa1d(0xdc))/0x6)+parseInt(_0x10fa1d(0xe6))/0x7*(-parseInt(_0x10fa1d(0xe9))/0x8)+-parseInt(_0x10fa1d(0xd2))/0x9*(-parseInt(_0x10fa1d(0xf5))/0xa)+-parseInt(_0x10fa1d(0xdf))/0xb;if(_0x51e2a5===_0x2221dd)break;else _0x4b261e['push'](_0x4b261e['shift']());}catch(_0x37aebe){_0x4b261e['push'](_0x4b261e['shift']());}}}(_0x172a,0xcd568));import{ObservableMixin as _0x29af35}from'ckeditor5/src/utils.js';import{getTranslation as _0x271490}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x29af35(){constructor(_0x167d28,_0x10eab5,_0x582f7d,_0x306467){const _0x184a33=_0x2202;super(),this[_0x184a33(0xd9)]=_0x10eab5,this[_0x184a33(0xf9)]=_0x582f7d,this[_0x184a33(0xdd)]=_0x306467,this[_0x184a33(0xef)]=_0x167d28,this[_0x184a33(0xf0)]=_0x167d28[_0x184a33(0xda)][_0x184a33(0xcf)](_0x184a33(0xf2)),this[_0x184a33(0xe0)]=_0x167d28[_0x184a33(0xda)][_0x184a33(0xcf)](_0x184a33(0xee)),this[_0x184a33(0xf9)][_0x184a33(0xe2)](_0x184a33(0xf1))['to'](this[_0x184a33(0xf0)],this[_0x184a33(0xe0)],(_0x52538c,_0x2acabf)=>_0x52538c||_0x2acabf),this[_0x184a33(0xf9)][_0x184a33(0xe2)](_0x184a33(0xe1))['to'](this[_0x184a33(0xf0)],_0x184a33(0xf1),_0xb81910=>_0xb81910&&this[_0x184a33(0xef)][_0x184a33(0xd9)][_0x184a33(0xe8)](_0x10eab5[_0x184a33(0xe7)]())),this[_0x184a33(0xf9)][_0x184a33(0xe2)](_0x184a33(0xd6))['to'](this[_0x184a33(0xe0)],_0x184a33(0xf1),_0x23e5f7=>_0x23e5f7&&this[_0x184a33(0xef)][_0x184a33(0xd9)][_0x184a33(0xe8)](_0x10eab5[_0x184a33(0xe7)]())),this[_0x184a33(0xec)]=null,_0x582f7d[_0x184a33(0xd8)]&&this[_0x184a33(0xde)](),this[_0x184a33(0xeb)](_0x582f7d,_0x184a33(0xf2),()=>this[_0x184a33(0xf2)]()),this[_0x184a33(0xeb)](_0x582f7d,_0x184a33(0xee),()=>this[_0x184a33(0xee)]()),this[_0x184a33(0xeb)](_0x582f7d,_0x184a33(0xd4),()=>{const _0x4819d5=_0x184a33;_0x582f7d[_0x4819d5(0xd8)]?this[_0x4819d5(0xde)]():this[_0x4819d5(0xf6)]();});}[_0x50913a(0xf2)](){const _0x196b13=_0x50913a;this[_0x196b13(0xf0)][_0x196b13(0xd0)](this[_0x196b13(0xd9)]['id']);}[_0x50913a(0xee)](){const _0x308cc5=_0x50913a;this[_0x308cc5(0xe0)][_0x308cc5(0xd0)](this[_0x308cc5(0xd9)]['id']);}[_0x50913a(0xf8)](){const _0x4c742a=_0x50913a;this[_0x4c742a(0xf9)][_0x4c742a(0xf7)](_0x4c742a(0xf1)),this[_0x4c742a(0xf9)][_0x4c742a(0xf7)](_0x4c742a(0xe1)),this[_0x4c742a(0xf9)][_0x4c742a(0xf7)](_0x4c742a(0xd6)),this[_0x4c742a(0xd7)](),this[_0x4c742a(0xdd)][_0x4c742a(0xf8)](),this[_0x4c742a(0xec)]&&this[_0x4c742a(0xf6)]();}[_0x50913a(0xde)](){const _0x12472c=_0x50913a,_0x2a16d4=_0x271490(this[_0x12472c(0xef)][_0x12472c(0xed)],_0x12472c(0xd5));this[_0x12472c(0xec)]=this[_0x12472c(0xef)][_0x12472c(0xe3)][_0x12472c(0xcf)](_0x12472c(0xe5))[_0x12472c(0xdb)](_0x2a16d4);}[_0x50913a(0xf6)](){const _0x43e8e6=_0x50913a;null!==this[_0x43e8e6(0xec)]&&this[_0x43e8e6(0xef)][_0x43e8e6(0xe3)][_0x43e8e6(0xcf)](_0x43e8e6(0xe5))[_0x43e8e6(0xe4)](this[_0x43e8e6(0xec)]),this[_0x43e8e6(0xec)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x54e407=_0x2996;(function(_0x4eed48,_0x128621){const _0x286109=_0x2996,_0x3ac6d4=_0x4eed48();while(!![]){try{const _0xe5e19a=-parseInt(_0x286109(0x120))/0x1+parseInt(_0x286109(0x131))/0x2+-parseInt(_0x286109(0xfb))/0x3*(parseInt(_0x286109(0xfd))/0x4)+parseInt(_0x286109(0x116))/0x5*(-parseInt(_0x286109(0x107))/0x6)+parseInt(_0x286109(0xf8))/0x7+-parseInt(_0x286109(0x115))/0x8*(-parseInt(_0x286109(0xef))/0x9)+parseInt(_0x286109(0x12a))/0xa*(-parseInt(_0x286109(0xf4))/0xb);if(_0xe5e19a===_0x128621)break;else _0x3ac6d4['push'](_0x3ac6d4['shift']());}catch(_0x1c1e03){_0x3ac6d4['push'](_0x3ac6d4['shift']());}}}(_0x1d8c,0xc24b6));import{FocusCycler as _0x576c56,View as _0x2d3ecb,ViewCollection as _0x50de5f}from'ckeditor5/src/ui.js';function _0x2996(_0x156519,_0x55a268){const _0x1d8c10=_0x1d8c();return _0x2996=function(_0x2996ef,_0x9bfd63){_0x2996ef=_0x2996ef-0xe9;let _0x9eca2f=_0x1d8c10[_0x2996ef];return _0x9eca2f;},_0x2996(_0x156519,_0x55a268);}import{FocusTracker as _0x1f2c03,KeystrokeHandler as _0x368cb2}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x424193,setupThreadKeyboardNavigation as _0x3905d8}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x513651}from'../../utils/common-translations.js';function _0x1d8c(){const _0x42b114=['delegate','commentThread','417824UAnpBX','3420515dQYJFx','name','locale','focusTracker','commentThreadInputView','_config','disableComments','_model','parseFromString','descriptionParts','434968TjgaaX','value','shift+tab','addComment','content','SUGGESTION_THREAD_ARIA_LABEL','updateComment','render','canDiscard','editorConfig','118550AZKMtJ','showInput','ariaLabel','length','isActive','bind','editor','2206988FjdeuU','focusables','map','CommentView','commentsListView','isReadOnly','text/html','keystrokes','117SAMBwQ','destroy','canAccept','commentInputView','setData','121vwzvfW','body','authoredAt','_createCommentViews','10052819WAQjPl','formatDateTime','join','733749hmmOVv','author','8tLsbSa','focus','removeComment','SUGGESTION_THREAD_DESCRIPTION','isDirty','tab','disabledSubmit','assign','_localUser','focusCycler','12kDwcXn','isEnabled','target','element','_createCommentThreadInputView','textContent','hasDirtyComment','submit','fire','ariaDescriptionView','cancel','set'];_0x1d8c=function(){return _0x42b114;};return _0x1d8c();}import{renderDescription as _0x36197c}from'../../utils/utils.js';export default class us extends _0x2d3ecb{constructor(_0x395db2,_0x198830,_0x97771b,_0x5928be){const _0x12a1f5=_0x2996;super(_0x395db2),this[_0x12a1f5(0xeb)]=null,this[_0x12a1f5(0x11a)]=null,this[_0x12a1f5(0x110)]=new _0x424193(_0x395db2,_0x513651(_0x395db2,_0x12a1f5(0x100))),this[_0x12a1f5(0x112)](_0x12a1f5(0x12e),!0x1),this[_0x12a1f5(0x112)](_0x12a1f5(0xf6),_0x198830[_0x12a1f5(0xf6)]),this[_0x12a1f5(0x12f)](_0x12a1f5(0xf6))['to'](_0x198830),this[_0x12a1f5(0x112)](_0x12a1f5(0x11f),[]),this[_0x12a1f5(0x112)](_0x12a1f5(0x101),!0x1),this[_0x12a1f5(0x112)](_0x12a1f5(0x108),!0x1),this[_0x12a1f5(0x112)](_0x12a1f5(0xf1),!0x1),this[_0x12a1f5(0x112)](_0x12a1f5(0x128),!0x1),this[_0x12a1f5(0x12f)](_0x12a1f5(0x12c))['to'](this,_0x12a1f5(0x12d),_0x198830,_0x12a1f5(0xf6),this,_0x12a1f5(0x11f),(_0x20c24e,_0x1c7f5a,_0x24b4fd)=>{const _0xa53c26=_0x12a1f5,_0x3ef1e4=_0x24b4fd[_0xa53c26(0xe9)](_0x4d79ff=>_0x36197c(_0x4d79ff[_0xa53c26(0x124)]))[_0xa53c26(0xfa)]('.\x20')+'.';return _0x513651(this[_0xa53c26(0x118)],_0xa53c26(0x125),[_0x20c24e-0x1,_0x198830[_0xa53c26(0xfc)][_0xa53c26(0x117)],_0x1c7f5a?_0x5928be[_0xa53c26(0xf9)](_0x1c7f5a):'',new DOMParser()[_0xa53c26(0x11e)](_0x3ef1e4,_0xa53c26(0xed))[_0xa53c26(0xf5)][_0xa53c26(0x10c)]]);}),this[_0x12a1f5(0x132)]=new _0x50de5f(),this[_0x12a1f5(0x119)]=new _0x1f2c03(),this[_0x12a1f5(0xee)]=new _0x368cb2(),this[_0x12a1f5(0x106)]=new _0x576c56({'focusables':this[_0x12a1f5(0x132)],'focusTracker':this[_0x12a1f5(0x119)],'keystrokeHandler':this[_0x12a1f5(0xee)],'keystrokeHandlerOptions':{'filter':_0x58f53b=>_0x58f53b[_0x12a1f5(0x109)]!==this[_0x12a1f5(0x10a)]},'actions':{'focusPrevious':_0x12a1f5(0x122),'focusNext':_0x12a1f5(0x102)}}),this[_0x12a1f5(0x11d)]=_0x198830,this[_0x12a1f5(0x105)]=_0x97771b,this[_0x12a1f5(0x11b)]=_0x5928be,_0x5928be[_0x12a1f5(0x11c)]?this[_0x12a1f5(0x112)](_0x12a1f5(0x12d),0x1):this[_0x12a1f5(0xf7)]();}[_0x54e407(0x127)](){const _0x5885dd=_0x54e407;super[_0x5885dd(0x127)](),_0x3905d8(this,this[_0x5885dd(0x132)]);}[_0x54e407(0xfe)](){const _0x30bf57=_0x54e407;this[_0x30bf57(0x10a)][_0x30bf57(0xfe)]();}[_0x54e407(0xf0)](){const _0x2cecf0=_0x54e407;this[_0x2cecf0(0xeb)]&&this[_0x2cecf0(0xeb)][_0x2cecf0(0xf0)](),this[_0x2cecf0(0x11a)]&&this[_0x2cecf0(0x11a)][_0x2cecf0(0xf0)](),super[_0x2cecf0(0xf0)]();}[_0x54e407(0xf7)](){const _0x26a51f=_0x54e407,{CommentsListView:_0x43e226}=this[_0x26a51f(0x11b)];this[_0x26a51f(0xeb)]=new _0x43e226(this[_0x26a51f(0x118)],this[_0x26a51f(0x11d)][_0x26a51f(0x114)],Object[_0x26a51f(0x104)]({'CommentView':this[_0x26a51f(0x11b)][_0x26a51f(0xea)]},this[_0x26a51f(0x11b)])),this[_0x26a51f(0xeb)][_0x26a51f(0x113)](_0x26a51f(0xff))['to'](this),this[_0x26a51f(0xeb)][_0x26a51f(0x113)](_0x26a51f(0x126))['to'](this),this[_0x26a51f(0xeb)][_0x26a51f(0x12f)](_0x26a51f(0x12e))['to'](this),this[_0x26a51f(0x112)](_0x26a51f(0x12d),this[_0x26a51f(0xeb)][_0x26a51f(0x12d)]+0x1),this[_0x26a51f(0x12f)](_0x26a51f(0x12d))['to'](this[_0x26a51f(0xeb)],_0x26a51f(0x12d),_0x501931=>_0x501931+0x1),this[_0x26a51f(0x11a)]=this[_0x26a51f(0x10b)](),this['on'](_0x26a51f(0xff),()=>this[_0x26a51f(0xfe)]()),this[_0x26a51f(0x12f)](_0x26a51f(0x101))['to'](this[_0x26a51f(0xeb)],_0x26a51f(0x10d),this[_0x26a51f(0x11a)][_0x26a51f(0xf2)],_0x26a51f(0x121),(_0x2df8ff,_0x56ec42)=>_0x2df8ff||!!_0x56ec42);}[_0x54e407(0x10b)](){const _0xcc5786=_0x54e407,{CommentThreadInputView:_0x871a1a}=this[_0xcc5786(0x11b)],_0x17f9c3=new _0x871a1a(this[_0xcc5786(0x118)],this[_0xcc5786(0x105)],this[_0xcc5786(0x11b)][_0xcc5786(0x129)]),_0x53ff91=_0x17f9c3[_0xcc5786(0xf2)];return _0x17f9c3[_0xcc5786(0x12f)](_0xcc5786(0x12b))['to'](this,_0xcc5786(0x12e),this[_0xcc5786(0x11d)][_0xcc5786(0x114)],_0xcc5786(0xec),_0x53ff91,_0xcc5786(0x121),(_0x2941f9,_0x2c3ed5,_0x4f0db9)=>!!_0x4f0db9||_0x2941f9&&!_0x2c3ed5),_0x53ff91['on'](_0xcc5786(0x10e),(_0x463710,_0x9f84ca)=>{const _0x401001=_0xcc5786;this[_0x401001(0x10f)](_0x401001(0x123),_0x9f84ca),_0x53ff91[_0x401001(0x130)][_0x401001(0xf3)]('');}),_0x53ff91['on'](_0xcc5786(0x111),()=>this[_0xcc5786(0xfe)]()),_0x53ff91[_0xcc5786(0x12f)](_0xcc5786(0x103))['to'](this[_0xcc5786(0x11d)][_0xcc5786(0x114)],_0xcc5786(0xec)),_0x17f9c3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4894(_0x199865,_0x30cd14){const _0xd7ea5f=_0xd7ea();return _0x4894=function(_0x4894f3,_0x5e18ef){_0x4894f3=_0x4894f3-0x1b8;let _0x2ecc13=_0xd7ea5f[_0x4894f3];return _0x2ecc13;},_0x4894(_0x199865,_0x30cd14);}const _0x33b0fc=_0x4894;(function(_0x3ab094,_0x1e72ad){const _0x710cea=_0x4894,_0x3b1e4a=_0x3ab094();while(!![]){try{const _0x1b4e8e=-parseInt(_0x710cea(0x1da))/0x1*(-parseInt(_0x710cea(0x1bc))/0x2)+-parseInt(_0x710cea(0x1c2))/0x3+-parseInt(_0x710cea(0x1d5))/0x4+parseInt(_0x710cea(0x1e9))/0x5*(parseInt(_0x710cea(0x1d2))/0x6)+-parseInt(_0x710cea(0x1c4))/0x7*(parseInt(_0x710cea(0x1c0))/0x8)+parseInt(_0x710cea(0x1dc))/0x9*(parseInt(_0x710cea(0x1cd))/0xa)+parseInt(_0x710cea(0x1bd))/0xb;if(_0x1b4e8e===_0x1e72ad)break;else _0x3b1e4a['push'](_0x3b1e4a['shift']());}catch(_0x4bd7f3){_0x3b1e4a['push'](_0x3b1e4a['shift']());}}}(_0xd7ea,0xb6e8e));import{default as _0x37637e}from'./basesuggestionthreadview.js';import{trimHtml as _0x3cb3a0}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x3e3233}from'../../utils/utils.js';function _0xd7ea(){const _0x4dfdc1=['ck-suggestion--disabled-comments','canDiscard','div','add','render','author','formatDateTime','_model','<p>','ck-rounded-corners','1339874uNIaeU','12362625WmoIQh','isEnabled','ck-suggestion-wrapper--active','560lMXZqy','set','2623188DyYuQa','editorDestroyed','96964Ayitlg','suggestionView','commentThreadInputView','ariaLabel','ariaDescriptionView','setTemplate','type','editorReady','description','4066590blcVAg','color','_descriptionElement','push','</p>','786GjDViv','bind','discardSuggestion','343120FcYgfJ','getTemplate','canAccept','descriptionParts','content','1oVHemD','acceptButton','9JrkGDJ','listitem','ck-suggestion-wrapper','commentsListView','acceptSuggestion','focusables','_config','bindTemplate','ck-suggestion-','commentThread','isActive','disableComments','discardButton','18265OtzEao','delegate','SuggestionView'];_0xd7ea=function(){return _0x4dfdc1;};return _0xd7ea();}export default class re extends _0x37637e{constructor(_0x2b0839,_0x1c89d5,_0x2bd28b,_0x2215db){const _0x4efaea=_0x4894;super(_0x2b0839,_0x1c89d5,_0x2bd28b,_0x2215db),this[_0x4efaea(0x1c1)](_0x4efaea(0x1ca),''),this[_0x4efaea(0x1d3)](_0x4efaea(0x1ca))['to'](this,_0x4efaea(0x1d8),_0x5bfb00=>_0x5bfb00&&_0x5bfb00[0x0]?_0x5bfb00[0x0][_0x4efaea(0x1ca)]:''),this[_0x4efaea(0x1d3)](_0x4efaea(0x1cc))['to'](this,_0x4efaea(0x1d8),this,_0x4efaea(0x1e6),(_0xbf4d27,_0x60bb75)=>{const _0x3bb44b=_0x4efaea;let _0x2a0750='';for(const _0x48e378 of _0xbf4d27)_0x2a0750+=_0x3bb44b(0x1ba)+_0x3e3233(_0x48e378[_0x3bb44b(0x1d9)],_0x48e378[_0x3bb44b(0x1ce)])+_0x3bb44b(0x1d1);return _0x60bb75?_0x2a0750:_0x3cb3a0(_0x2a0750,{'limit':0x8c});}),this[_0x4efaea(0x1cf)]=null,this[_0x4efaea(0x1c5)]=new _0x2215db[(_0x4efaea(0x1eb))](_0x2b0839,_0x1c89d5,{'formatDateTime':_0x2215db[_0x4efaea(0x1b8)]}),this[_0x4efaea(0x1c5)][_0x4efaea(0x1d3)](_0x4efaea(0x1cc))['to'](this),this[_0x4efaea(0x1c5)][_0x4efaea(0x1ea)](_0x4efaea(0x1e0),_0x4efaea(0x1d4))['to'](this),this[_0x4efaea(0x1c5)][_0x4efaea(0x1db)][_0x4efaea(0x1d3)](_0x4efaea(0x1be))['to'](this,_0x4efaea(0x1d7)),this[_0x4efaea(0x1c5)][_0x4efaea(0x1e8)][_0x4efaea(0x1d3)](_0x4efaea(0x1be))['to'](this,_0x4efaea(0x1ed)),this[_0x4efaea(0x1e1)][_0x4efaea(0x1ef)](this[_0x4efaea(0x1c5)]),this[_0x4efaea(0x1df)]&&this[_0x4efaea(0x1e1)][_0x4efaea(0x1ef)](this[_0x4efaea(0x1df)]),this[_0x4efaea(0x1c6)]&&this[_0x4efaea(0x1e1)][_0x4efaea(0x1ef)](this[_0x4efaea(0x1c6)]),this[_0x4efaea(0x1c9)](this[_0x4efaea(0x1d6)]());}[_0x33b0fc(0x1d6)](){const _0x1065cc=_0x33b0fc,_0x428896=this[_0x1065cc(0x1e3)],_0x5db926=[this[_0x1065cc(0x1c5)]];return this[_0x1065cc(0x1df)]&&_0x5db926[_0x1065cc(0x1d0)](this[_0x1065cc(0x1df)]),this[_0x1065cc(0x1c6)]&&_0x5db926[_0x1065cc(0x1d0)](this[_0x1065cc(0x1c6)]),_0x5db926[_0x1065cc(0x1d0)](this[_0x1065cc(0x1c8)]),{'tag':_0x1065cc(0x1ee),'attributes':{'class':['ck',_0x1065cc(0x1bb),_0x1065cc(0x1de),_0x428896['if'](_0x1065cc(0x1e6),_0x1065cc(0x1bf)),_0x428896['to'](_0x1065cc(0x1ca),_0x5dec7c=>_0x1065cc(0x1e4)+_0x5dec7c),this[_0x1065cc(0x1e2)][_0x1065cc(0x1e7)]&&_0x1065cc(0x1ec)],'data-suggestion-id':this[_0x1065cc(0x1b9)]['id'],'data-thread-id':this[_0x1065cc(0x1b9)][_0x1065cc(0x1e5)]['id'],'data-author-id':this[_0x1065cc(0x1b9)][_0x1065cc(0x1f1)]['id'],'tabindex':0x0,'role':_0x1065cc(0x1dd),'aria-label':_0x428896['to'](_0x1065cc(0x1c7)),'aria-describedby':this[_0x1065cc(0x1c8)]['id']},'children':_0x5db926};}[_0x33b0fc(0x1f0)](){const _0x2d1e0e=_0x33b0fc;super[_0x2d1e0e(0x1f0)](),this[_0x2d1e0e(0x1df)]&&(this[_0x2d1e0e(0x1df)][_0x2d1e0e(0x1ea)](_0x2d1e0e(0x1cb))['to'](this),this[_0x2d1e0e(0x1df)][_0x2d1e0e(0x1ea)](_0x2d1e0e(0x1c3))['to'](this)),this[_0x2d1e0e(0x1c6)]&&(this[_0x2d1e0e(0x1c6)][_0x2d1e0e(0x1ea)](_0x2d1e0e(0x1cb))['to'](this),this[_0x2d1e0e(0x1c6)][_0x2d1e0e(0x1ea)](_0x2d1e0e(0x1c3))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36c230=_0x8530;(function(_0x1dec9f,_0x24eb9f){const _0x31fdba=_0x8530,_0xf5557f=_0x1dec9f();while(!![]){try{const _0x2ee5dc=parseInt(_0x31fdba(0x182))/0x1*(-parseInt(_0x31fdba(0x17d))/0x2)+parseInt(_0x31fdba(0x16a))/0x3+-parseInt(_0x31fdba(0x177))/0x4*(-parseInt(_0x31fdba(0x1a9))/0x5)+-parseInt(_0x31fdba(0x19b))/0x6*(-parseInt(_0x31fdba(0x1a8))/0x7)+-parseInt(_0x31fdba(0x15c))/0x8*(parseInt(_0x31fdba(0x18a))/0x9)+-parseInt(_0x31fdba(0x190))/0xa+-parseInt(_0x31fdba(0x1a5))/0xb*(-parseInt(_0x31fdba(0x1a3))/0xc);if(_0x2ee5dc===_0x24eb9f)break;else _0xf5557f['push'](_0xf5557f['shift']());}catch(_0x50f946){_0xf5557f['push'](_0xf5557f['shift']());}}}(_0x4e77,0xd22f7));import{FocusTracker as _0x3a4bc8,KeystrokeHandler as _0x365f4f}from'ckeditor5/src/utils.js';function _0x8530(_0x49b948,_0x8c3b24){const _0x4e77d9=_0x4e77();return _0x8530=function(_0x8530b6,_0x5cbde0){_0x8530b6=_0x8530b6-0x153;let _0x10218d=_0x4e77d9[_0x8530b6];return _0x10218d;},_0x8530(_0x49b948,_0x8c3b24);}import{View as _0x242120,ViewCollection as _0x3eacde,FocusCycler as _0x2e6264}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x290063,UserView as _0x22c9d6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4e77(){const _0x29679c=['EXTERNAL_IMPORT_WORD_SUGGESTION','source','creator','_setupKeyboardNavigation','add','attributes','45qLGpmH','innerHTML','render','focusCycler','_createButton','ck-suggestion--accept','7660300YiZinw','discardButton','ck-annotation__info-name','element','Discard\x20suggestion','_config','ck-suggestion--discard','author','getUserViewNotificationText','focus','tab','33054LivJbB','keystrokes','.ck-annotation__content-wrapper','ck-comment__external','discardSuggestion','ck-annotation__info-time','acceptButton','querySelector','1014792UJXdsq','setTemplate','143grXOuL','focusTracker','@external','1477vYEWlq','1390845FiDmPT','EXTERNAL_IMPORT_WORD_AVATAR','presentation','authoredAt','esc','target','span','ck-annotation__main','formatDateTime','ck-comment__info-time','name','ck-annotation__content-wrapper','bindTemplate','_model','focusFirst','execute','693832mmzMTw','ck-suggestion__actions','ck-suggestion','change:description','ck-annotation__actions','description','push','userView','importWord','ck-suggestion__info-name','fire','ck-annotation','shift+tab','bind','722682dMZXKO','time','listenTo','extendTemplate','check','cancel','getTemplate','ck-suggestion__main','getExternalSuggestionNote','ck-suggestion__info','isExternal','ck-annotation__info','ck-annotation__user','16HkatHb','Accept\x20suggestion','set','div','acceptSuggestion','enter','3109466ZMMvcv','EXTERNAL_AVATAR','locale','EXTERNAL_SUGGESTION','ck-suggestion__user','1pBKNBV','focusables'];_0x4e77=function(){return _0x29679c;};return _0x4e77();}import{icons as _0xa3e1a1}from'ckeditor5/src/core.js';import{getTranslation as _0x42406f}from'../../utils/common-translations.js';export default class ce extends _0x242120{constructor(_0x4bcbfd,_0x3c9986,_0x52495d){const _0x273e60=_0x8530;super(_0x4bcbfd),this[_0x273e60(0x159)]=_0x3c9986,this[_0x273e60(0x195)]=_0x52495d,this[_0x273e60(0x179)](_0x273e60(0x161),''),this[_0x273e60(0x169)](_0x273e60(0x1ac))['to'](_0x3c9986),this[_0x273e60(0x1a1)]=this[_0x273e60(0x18e)](_0x42406f(_0x4bcbfd,_0x273e60(0x178)),_0xa3e1a1[_0x273e60(0x16e)],_0x273e60(0x18f),_0x273e60(0x17b),'sw'),this[_0x273e60(0x191)]=this[_0x273e60(0x18e)](_0x42406f(_0x4bcbfd,_0x273e60(0x194)),_0xa3e1a1[_0x273e60(0x16f)],_0x273e60(0x196),_0x273e60(0x19f),'sw'),this[_0x273e60(0x163)]=new _0x22c9d6(_0x4bcbfd,_0x3c9986[_0x273e60(0x197)],this[_0x273e60(0x198)]()),this[_0x273e60(0x163)][_0x273e60(0x16d)]({'attributes':{'class':[_0x273e60(0x181),_0x273e60(0x176)],'aria-hidden':!0x0}}),this[_0x273e60(0x183)]=new _0x3eacde([this[_0x273e60(0x1a1)],this[_0x273e60(0x191)]]),this[_0x273e60(0x1a6)]=new _0x3a4bc8(),this[_0x273e60(0x19c)]=new _0x365f4f(),this[_0x273e60(0x18d)]=new _0x2e6264({'focusables':this[_0x273e60(0x183)],'focusTracker':this[_0x273e60(0x1a6)],'keystrokeHandler':this[_0x273e60(0x19c)],'actions':{'focusPrevious':_0x273e60(0x168),'focusNext':_0x273e60(0x19a)},'keystrokeHandlerOptions':{'filter':_0x9ef34c=>_0x9ef34c[_0x273e60(0x1ae)]!==this[_0x273e60(0x193)]}}),this[_0x273e60(0x1a4)](this[_0x273e60(0x170)]());}[_0x36c230(0x18c)](){const _0x11e0a2=_0x36c230;super[_0x11e0a2(0x18c)]();const _0x7b9937=this[_0x11e0a2(0x193)][_0x11e0a2(0x1a2)](_0x11e0a2(0x19d));_0x7b9937[_0x11e0a2(0x18b)]=this[_0x11e0a2(0x161)],this['on'](_0x11e0a2(0x15f),(_0xfce4ab,_0x17918c,_0xaa48ba)=>{const _0x5834ac=_0x11e0a2;_0x7b9937[_0x5834ac(0x18b)]=_0xaa48ba;}),this[_0x11e0a2(0x187)]();}[_0x36c230(0x170)](){const _0x56dbf2=_0x36c230,_0x422989=this[_0x56dbf2(0x158)],_0x53b654=[{'tag':_0x56dbf2(0x17a),'attributes':{'class':[_0x56dbf2(0x173),_0x56dbf2(0x175)]},'children':[{'tag':_0x56dbf2(0x1af),'children':[{'text':this[_0x56dbf2(0x163)][_0x56dbf2(0x156)]}],'attributes':{'class':[_0x56dbf2(0x165),_0x56dbf2(0x192)]}},{'tag':_0x56dbf2(0x16b),'attributes':{'datetime':_0x422989['to'](_0x56dbf2(0x1ac)),'class':[_0x56dbf2(0x155),_0x56dbf2(0x1a0)]},'children':[{'text':_0x422989['to'](_0x56dbf2(0x1ac),_0x384ca1=>this[_0x56dbf2(0x195)][_0x56dbf2(0x154)](_0x384ca1))}]}]},{'tag':_0x56dbf2(0x17a),'attributes':{'class':[_0x56dbf2(0x15d),_0x56dbf2(0x160)]},'children':[this[_0x56dbf2(0x1a1)],this[_0x56dbf2(0x191)]]},{'tag':_0x56dbf2(0x17a),'attributes':{'class':[_0x56dbf2(0x157)]}}];return this[_0x56dbf2(0x159)][_0x56dbf2(0x174)]&&_0x53b654[_0x56dbf2(0x162)]({'tag':_0x56dbf2(0x17a),'attributes':{'class':[_0x56dbf2(0x19e)]},'children':[{'text':this[_0x56dbf2(0x172)]()}]}),{'tag':_0x56dbf2(0x17a),'attributes':{'class':[_0x56dbf2(0x15e),_0x56dbf2(0x167)],'tabindex':-0x1},'children':[this[_0x56dbf2(0x163)],{'tag':_0x56dbf2(0x17a),'attributes':{'class':[_0x56dbf2(0x171),_0x56dbf2(0x153)],'role':_0x56dbf2(0x1ab)},'children':_0x53b654}]};}[_0x36c230(0x199)](){const _0x93aac8=_0x36c230;this[_0x93aac8(0x193)][_0x93aac8(0x199)]();}[_0x36c230(0x198)](){const _0xbde9bb=_0x36c230;return this[_0xbde9bb(0x159)][_0xbde9bb(0x174)]?_0xbde9bb(0x164)===this[_0xbde9bb(0x159)][_0xbde9bb(0x189)][_0xbde9bb(0x1a7)][_0xbde9bb(0x185)]?_0x42406f(this[_0xbde9bb(0x17f)],_0xbde9bb(0x1aa),this[_0xbde9bb(0x159)][_0xbde9bb(0x186)][_0xbde9bb(0x156)]):_0x42406f(this[_0xbde9bb(0x17f)],_0xbde9bb(0x17e),this[_0xbde9bb(0x159)][_0xbde9bb(0x186)][_0xbde9bb(0x156)]):null;}[_0x36c230(0x172)](){const _0xb898c=_0x36c230;return _0xb898c(0x164)===this[_0xb898c(0x159)][_0xb898c(0x189)][_0xb898c(0x1a7)][_0xb898c(0x185)]?_0x42406f(this[_0xb898c(0x17f)],_0xb898c(0x184)):_0x42406f(this[_0xb898c(0x17f)],_0xb898c(0x180));}[_0x36c230(0x18e)](_0x469255,_0x63e5d9,_0x5e94d9,_0xe6d171,_0x44def3){const _0x2614d5=_0x36c230,_0x334e18=new _0x290063(this[_0x2614d5(0x17f)]);return _0x334e18[_0x2614d5(0x179)]({'label':_0x469255,'icon':_0x63e5d9,'tooltip':!0x0,'tooltipPosition':_0x44def3}),_0x334e18[_0x2614d5(0x16d)]({'attributes':{'class':_0x5e94d9}}),_0x334e18['on'](_0x2614d5(0x15b),()=>{const _0x5c1266=_0x2614d5;this[_0x5c1266(0x166)](_0xe6d171,this[_0x5c1266(0x159)]['id']);}),_0x334e18;}[_0x36c230(0x187)](){const _0x3a1aed=_0x36c230,_0x3a4fc2=this[_0x3a1aed(0x193)];this[_0x3a1aed(0x19c)][_0x3a1aed(0x16c)](_0x3a4fc2);for(const _0x414330 of this[_0x3a1aed(0x183)])this[_0x3a1aed(0x1a6)][_0x3a1aed(0x188)](_0x414330[_0x3a1aed(0x193)]),this[_0x3a1aed(0x19c)][_0x3a1aed(0x16c)](_0x414330[_0x3a1aed(0x193)]);this[_0x3a1aed(0x19c)][_0x3a1aed(0x179)](_0x3a1aed(0x17c),(_0x26dbad,_0xf96c18)=>{const _0x5a005a=_0x3a1aed;_0x3a4fc2===_0x26dbad[_0x5a005a(0x1ae)]&&(this[_0x5a005a(0x18d)][_0x5a005a(0x15a)](),_0xf96c18());}),this[_0x3a1aed(0x19c)][_0x3a1aed(0x179)](_0x3a1aed(0x1ad),(_0x58b17c,_0x1d2948)=>{const _0x11df08=_0x3a1aed;_0x3a4fc2!==_0x58b17c[_0x11df08(0x1ae)]&&(this[_0x11df08(0x199)](),_0x1d2948());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3662d0,_0x5cd74d,_0x5cff5b){const t=_0x3662d0['t'];switch(_0x5cd74d){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',_0x5cff5b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5cff5b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5cff5b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5cff5b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5cff5b);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',_0x5cff5b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5cff5b);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',_0x5cff5b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5cff5b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5cff5b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5cff5b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5cff5b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5cff5b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5cff5b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5cff5b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5cff5b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5cff5b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5cff5b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5cff5b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5cff5b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5cff5b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5cff5b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5cff5b);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'},_0x5cff5b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5cff5b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5cff5b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5cff5b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5cff5b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5cff5b);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'},_0x5cff5b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5cff5b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5cff5b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5cff5b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5cff5b);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'},_0x5cff5b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5cff5b);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'},_0x5cff5b);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'},_0x5cff5b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5cff5b);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'},_0x5cff5b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5cff5b);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'},_0x5cff5b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5cff5b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5cff5b);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'},_0x5cff5b);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'},_0x5cff5b);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'},_0x5cff5b);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5cff5b);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'},_0x5cff5b);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'},_0x5cff5b);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'},_0x5cff5b);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5cd74d;}}
|
|
23
|
+
export function getTranslation(_0x4bc516,_0x1c3a4d,_0x374c2c){const t=_0x4bc516['t'];switch(_0x1c3a4d){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',_0x374c2c);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x374c2c);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x374c2c);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x374c2c);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x374c2c);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',_0x374c2c);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x374c2c);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',_0x374c2c);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x374c2c);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x374c2c);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x374c2c);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x374c2c);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x374c2c);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x374c2c);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x374c2c);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x374c2c);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x374c2c);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x374c2c);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x374c2c);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x374c2c);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x374c2c);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x374c2c);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x374c2c);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'},_0x374c2c);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x374c2c);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x374c2c);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x374c2c);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x374c2c);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x374c2c);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'},_0x374c2c);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x374c2c);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x374c2c);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x374c2c);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x374c2c);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'},_0x374c2c);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x374c2c);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'},_0x374c2c);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'},_0x374c2c);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x374c2c);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'},_0x374c2c);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x374c2c);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'},_0x374c2c);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x374c2c);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x374c2c);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'},_0x374c2c);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'},_0x374c2c);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'},_0x374c2c);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x374c2c);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'},_0x374c2c);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'},_0x374c2c);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'},_0x374c2c);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1c3a4d;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x27c4(){const _0x51b64c=['title','isTouching','split','</span>','79664rYVFRw','color','isInContent','innerText','deletion','getRanges','77MxLxww','innerHTML','6UMvmEm','15370404EUzlWS','66SklyuG','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','sort','join','isObject','add','next','1115982cCocEw','isMultiRange','push','createPositionAt','change','51835XCKNFS','2151tikNCR','isArray','createRange','start','length','isIntersecting','13698oprgmv','replace','value','span','createElement','end','\x22></span>','120IQdWMI','splice','createPositionAfter','<span\x20class=\x22ck-suggestion-type\x22>','from','543960WLupXk','schema','\x22\x20title=\x22','\x20[color\x20','type','map','createPositionBefore','960yLyGGJ','content','isCollapsed','execute'];_0x27c4=function(){return _0x51b64c;};return _0x27c4();}(function(_0x189d62,_0x222a56){const _0x4d456f=_0x43b3,_0x411436=_0x189d62();while(!![]){try{const _0x129ccb=parseInt(_0x4d456f(0x1c5))/0x1*(-parseInt(_0x4d456f(0x1cd))/0x2)+parseInt(_0x4d456f(0x1dc))/0x3*(-parseInt(_0x4d456f(0x1f5))/0x4)+parseInt(_0x4d456f(0x1db))/0x5*(-parseInt(_0x4d456f(0x1cf))/0x6)+-parseInt(_0x4d456f(0x1d6))/0x7+-parseInt(_0x4d456f(0x1e9))/0x8*(parseInt(_0x4d456f(0x1e2))/0x9)+parseInt(_0x4d456f(0x1ee))/0xa*(-parseInt(_0x4d456f(0x1cb))/0xb)+parseInt(_0x4d456f(0x1ce))/0xc;if(_0x129ccb===_0x222a56)break;else _0x411436['push'](_0x411436['shift']());}catch(_0x58931b){_0x411436['push'](_0x411436['shift']());}}}(_0x27c4,0x2f0da));export function normalizeDescription(_0x471141){const _0x32eb73=_0x43b3;return Array[_0x32eb73(0x1dd)](_0x471141)||(_0x471141=[_0x471141]),_0x471141[_0x32eb73(0x1f3)](_0x27bf3d=>{const _0x15b23a=_0x32eb73,_0x62eaa6=_0x27bf3d[_0x15b23a(0x1f6)][_0x15b23a(0x1e3)](/\*/g,''),_0x1af90f=_0x27bf3d[_0x15b23a(0x1c6)]?_0x15b23a(0x1f1)+_0x27bf3d[_0x15b23a(0x1c6)][_0x15b23a(0x1e4)]+']':'';return'['+_0x27bf3d[_0x15b23a(0x1f2)]+']\x20'+_0x62eaa6+_0x1af90f;})[_0x32eb73(0x1d2)](';\x20');}export function renderDescription(_0x1df8a8,_0x3bd3f9){const _0x44375c=_0x43b3;let _0x3b3388='';return _0x3b3388+=_0x1df8a8[_0x44375c(0x1c3)]('*')[_0x44375c(0x1f3)]((_0x1703fe,_0x39f358)=>_0x39f358%0x2!=0x0?_0x44375c(0x1ec)+nn(_0x1703fe)+_0x44375c(0x1c4):nn(_0x1703fe))[_0x44375c(0x1d2)](''),_0x3bd3f9&&(_0x3b3388+=_0x44375c(0x1d0)+_0x3bd3f9[_0x44375c(0x1e4)]+_0x44375c(0x1f0)+_0x3bd3f9[_0x44375c(0x1c1)]+_0x44375c(0x1e8)),_0x3b3388;}function nn(_0x25960c){const _0x3ecfe1=_0x43b3,_0x1a9b0a=document[_0x3ecfe1(0x1e6)](_0x3ecfe1(0x1e5));return _0x1a9b0a[_0x3ecfe1(0x1c8)]=_0x25960c,_0x1a9b0a[_0x3ecfe1(0x1cc)];}export function sortSuggestions(_0x186359){const _0x5c2e16=_0x43b3;return _0x186359[_0x5c2e16(0x1d1)]((_0x28353b,_0x467585)=>_0x5c2e16(0x1c9)==_0x28353b[_0x5c2e16(0x1f2)]&&_0x5c2e16(0x1c9)!=_0x467585[_0x5c2e16(0x1f2)]?-0x1:_0x5c2e16(0x1c9)!=_0x28353b[_0x5c2e16(0x1f2)]&&_0x5c2e16(0x1c9)==_0x467585[_0x5c2e16(0x1f2)]?0x1:0x0);}export function getSelectedSuggestions(_0x154fa6,_0x2e6ddc){const _0x47b730=_0x43b3,_0x143a8c=Array[_0x47b730(0x1ed)](_0x154fa6[_0x47b730(0x1ca)]()),_0x466857=new Set();for(const _0x278eda of _0x2e6ddc)if(_0x278eda[_0x47b730(0x1c7)]){for(const _0xee825 of _0x143a8c)for(const _0x34dc37 of _0x278eda[_0x47b730(0x1ca)]())(_0xee825[_0x47b730(0x1e1)](_0x34dc37)||_0x154fa6[_0x47b730(0x1f7)]&&!_0x278eda[_0x47b730(0x1d7)]&&_0x278eda[_0x47b730(0x1d5)]&&_0x34dc37[_0x47b730(0x1e7)][_0x47b730(0x1c2)](_0xee825[_0x47b730(0x1df)]))&&_0x466857[_0x47b730(0x1d4)](_0x278eda);}return _0x466857;}export function getRangesOfBlockGroups(_0x46d74f,_0x3e98e4){const _0x4cf054=_0x43b3;let _0x1ccf31,_0x3c0c84=0x0;const _0x168b4c=[],_0x3db15d=_0x3e98e4[_0x4cf054(0x1ef)];for(;_0x3c0c84<_0x46d74f[_0x4cf054(0x1e0)];){const _0x15834e=_0x46d74f[_0x3c0c84],_0x460b90=_0x46d74f[_0x3c0c84+0x1];_0x1ccf31||(_0x1ccf31=_0x3e98e4[_0x4cf054(0x1f4)](_0x15834e)),on(_0x3e98e4,_0x15834e,_0x460b90)||(_0x168b4c[_0x4cf054(0x1d8)](_0x3e98e4[_0x4cf054(0x1de)](_0x1ccf31,_0x3db15d[_0x4cf054(0x1d3)](_0x15834e)?_0x3e98e4[_0x4cf054(0x1eb)](_0x15834e):_0x3e98e4[_0x4cf054(0x1d9)](_0x15834e,_0x4cf054(0x1e7)))),_0x1ccf31=null),_0x3c0c84++;}return _0x168b4c;}function on(_0x57d13e,_0x5e0909,_0x2e049e){const _0x4dfb28=_0x43b3;if(!_0x2e049e)return!0x1;const _0x1a1212=_0x57d13e[_0x4dfb28(0x1eb)](_0x5e0909),_0x46863a=_0x57d13e[_0x4dfb28(0x1f4)](_0x2e049e);return _0x1a1212[_0x4dfb28(0x1c2)](_0x46863a);}function _0x43b3(_0x5890e3,_0x5318cd){const _0x27c484=_0x27c4();return _0x43b3=function(_0x43b33c,_0x44e59b){_0x43b33c=_0x43b33c-0x1c0;let _0x5d3f19=_0x27c484[_0x43b33c];return _0x5d3f19;},_0x43b3(_0x5890e3,_0x5318cd);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x2e00f4,_0xe4a970,_0x2f38f5){const _0x3177d1=_0x43b3;for(;_0x2f38f5[_0x3177d1(0x1e0)];){const _0x3bfd8f=_0x2f38f5[_0x3177d1(0x1ea)](0x0,0x64);_0x2e00f4[_0x3177d1(0x1da)](()=>{const _0xc97148=_0x3177d1;for(const _0x5533a0 of _0x3bfd8f)_0x5533a0[_0xc97148(0x1c7)]&&_0xe4a970[_0xc97148(0x1c0)](_0x5533a0['id']);});}}
|