@ckeditor/ckeditor5-track-changes 46.0.0-alpha.3 → 46.0.0-alpha.5
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 +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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/bs.js +1 -1
- package/dist/translations/bs.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-ch.js +1 -1
- package/dist/translations/de-ch.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.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/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.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/ti.js +1 -1
- package/dist/translations/ti.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/ug.js +1 -1
- package/dist/translations/ug.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/uz.js +1 -1
- package/dist/translations/uz.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/lang/contexts.json +16 -0
- package/package.json +27 -27
- 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/previewfinalcontentcommand.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/bookmark.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/emoji.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/lineheight.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/replacesourcecommand.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 +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.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/uploadcare.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/trackchangespreview.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/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x28433a=_0x14c0;(function(_0x37deb5,_0x5e585d){const _0x494804=_0x14c0,_0x1a4cc4=_0x37deb5();while(!![]){try{const _0x5dcd31=parseInt(_0x494804(0x82))/0x1*(parseInt(_0x494804(0x98))/0x2)+-parseInt(_0x494804(0x73))/0x3*(-parseInt(_0x494804(0x8d))/0x4)+parseInt(_0x494804(0xa7))/0x5*(-parseInt(_0x494804(0x86))/0x6)+parseInt(_0x494804(0x88))/0x7+parseInt(_0x494804(0x79))/0x8*(-parseInt(_0x494804(0x95))/0x9)+-parseInt(_0x494804(0xb3))/0xa*(parseInt(_0x494804(0xb5))/0xb)+parseInt(_0x494804(0x84))/0xc*(parseInt(_0x494804(0x94))/0xd);if(_0x5dcd31===_0x5e585d)break;else _0x1a4cc4['push'](_0x1a4cc4['shift']());}catch(_0x2bba73){_0x1a4cc4['push'](_0x1a4cc4['shift']());}}}(_0x3162,0xa95fd));import{Plugin as _0x55d82d}from'ckeditor5/src/core.js';function _0x3162(){const _0xedaf0b=['registerCustomCallback','get','format','commandParams','data','*Format:*\x20%0','cell','nodeBefore','commandName','90OKkUhU','headingRows','1032119iJCJeI','accept','createTableWalker','activeMarkers','enableDefaultAttributesIntegration','showSuggestionHighlights','addClass','forceValue','locale','includes','getCellLocation','markerRange','formatBlock','_suggestionFactory','_splitMarkerName','start','setAttribute','TrackChangesEditing','FORMAT_HEADER_ROW','removeClass','FORMAT_REGULAR_ROW','markerNameToElements','item','10149hEWciU','plugins','type','registerBlockAttribute','options','removeMarker:suggestion','8528HQzqAd','consumable','afterInit','_acceptFormatSuggestionCallbackFactory','ck-suggestion-marker-','descriptionFactory','editor','name','nodeAfter','839203TcUSlQ','registerDescriptionCallback','384ZafjOo','highest','236226RDMPUL','end','8997562nClQXn','writer','ck-suggestion-marker--active','addMarker:suggestion','downcastDispatcher','916sGSoho','registerAttributeLabel','consume','parent','_registerLegacyDescription','toViewElement','data-suggestion','127816zwCtLW','8829ChHyiL','getSuggestion','setTableRowHeader','2FPEqaF','stop','markerName','headingColumns','FORMAT_REGULAR_COLUMN','FORMAT_HEADER_COLUMN','editing','setTableColumnHeader','unbindElementFromMarkerName','TableEditing','has','_handleLegacySuggestions','bindElementToMarker','requires','removeAttribute','80mpfwYp','mapper','TableUtils'];_0x3162=function(){return _0xedaf0b;};return _0x3162();}import{TrackChangesTable as _0x5366ce}from'./table.js';import{getTranslation as _0x46d0ce}from'../utils/common-translations.js';function _0x14c0(_0x3315d7,_0x405cd9){const _0x31625b=_0x3162();return _0x14c0=function(_0x14c019,_0x40afe1){_0x14c019=_0x14c019-0x64;let _0x105fd=_0x31625b[_0x14c019];return _0x105fd;},_0x14c0(_0x3315d7,_0x405cd9);}export class TrackChangesTableHeadings extends _0x55d82d{static get[_0x28433a(0xa5)](){return[_0x5366ce];}[_0x28433a(0x7b)](){const _0x56e815=_0x28433a,_0xa6773f=this[_0x56e815(0x7f)];if(!_0xa6773f[_0x56e815(0x74)][_0x56e815(0xa2)](_0x56e815(0xa1)))return;const _0x5b9a75=_0xa6773f[_0x56e815(0x64)],_0x4b53cd=_0xa6773f[_0x56e815(0x74)][_0x56e815(0xab)](_0x56e815(0x6d));_0x4b53cd[_0x56e815(0xb9)](_0x56e815(0x97)),_0x4b53cd[_0x56e815(0xb9)](_0x56e815(0x9f)),_0x4b53cd[_0x56e815(0x76)](_0x56e815(0xb4)),_0x4b53cd[_0x56e815(0x76)](_0x56e815(0x9b)),_0x4b53cd[_0x56e815(0x7e)][_0x56e815(0x8e)](_0x56e815(0xb4),_0x46d0ce(_0x5b9a75,_0x56e815(0x6e))),_0x4b53cd[_0x56e815(0x7e)][_0x56e815(0x8e)](_0x56e815(0x9b),_0x46d0ce(_0x5b9a75,_0x56e815(0x9d))),this[_0x56e815(0xa3)]();}[_0x28433a(0xa3)](){const _0x660e4d=_0x28433a,_0x5d0c39=this[_0x660e4d(0x7f)][_0x660e4d(0x74)][_0x660e4d(0xab)](_0x660e4d(0x6d)),_0x38bdb2=this[_0x660e4d(0x7f)][_0x660e4d(0x74)][_0x660e4d(0xab)](_0x660e4d(0xa9)),_0x1d31e1=this[_0x660e4d(0x7f)][_0x660e4d(0x74)][_0x660e4d(0xab)](_0x5366ce)[_0x660e4d(0x7c)]();function _0x1d7fc3({showActiveMarker:_0x362a28=!0x0,setDataAttribute:_0x5b4f46=!0x0}={}){return(_0x30a9e2,_0x2f64eb,_0x12fe00)=>{const _0x365804=_0x14c0,{type:_0x2ce837,id:_0x62b38}=_0x5d0c39[_0x365804(0x6a)](_0x2f64eb[_0x365804(0x9a)]),_0x11d9ba=_0x5d0c39[_0x365804(0x96)](_0x62b38),_0xdc0b58=_0x11d9ba[_0x365804(0xae)];if(_0x365804(0x68)!=_0x11d9ba[_0x365804(0x75)]||!_0xdc0b58||_0x365804(0x9f)!=_0xdc0b58[_0x365804(0xb2)])return;if(_0x2f64eb[_0x365804(0x72)])return void _0x30a9e2[_0x365804(0x99)]();if(!_0x12fe00[_0x365804(0x7a)][_0x365804(0x8f)](_0x2f64eb[_0x365804(0x67)],_0x30a9e2[_0x365804(0x80)]))return;const _0x5d9b5e=_0x2f64eb[_0x365804(0x67)][_0x365804(0x6b)][_0x365804(0x81)],_0xdec4b3=_0x2f64eb[_0x365804(0x67)][_0x365804(0x87)][_0x365804(0xb1)],_0x550ab0=_0x5d9b5e[_0x365804(0x90)][_0x365804(0x90)],{column:_0x1dccf5}=_0x38bdb2[_0x365804(0x66)](_0x5d9b5e),{column:_0x8d9ef1}=_0x38bdb2[_0x365804(0x66)](_0xdec4b3);for(let _0x52c652=_0x1dccf5;_0x52c652<=_0x8d9ef1;_0x52c652++){const _0x2b3b9f=_0x38bdb2[_0x365804(0xb7)](_0x550ab0,{'column':_0x52c652,'includeAllSlots':!0x1});for(const _0x79885f of _0x2b3b9f){const _0x10d647=_0x79885f[_0x365804(0xb0)],_0xca086d=_0x12fe00[_0x365804(0xa8)][_0x365804(0x92)](_0x10d647);_0x12fe00[_0x365804(0x89)][_0x365804(0xbb)](_0x365804(0x7d)+_0x2ce837,_0xca086d),_0x5b4f46&&_0x12fe00[_0x365804(0x89)][_0x365804(0x6c)](_0x365804(0x93),_0x62b38,_0xca086d),_0x12fe00[_0x365804(0xa8)][_0x365804(0xa4)](_0xca086d,_0x2f64eb[_0x365804(0x9a)]),_0x362a28&&(_0x5d0c39[_0x365804(0xb8)][_0x365804(0x65)](_0x2f64eb[_0x365804(0x9a)])?_0x12fe00[_0x365804(0x89)][_0x365804(0xbb)](_0x365804(0x8a),_0xca086d):_0x12fe00[_0x365804(0x89)][_0x365804(0x6f)](_0x365804(0x8a),_0xca086d));}}};}_0x5d0c39[_0x660e4d(0x69)][_0x660e4d(0xaa)](_0x660e4d(0x68),_0x660e4d(0x97),_0x660e4d(0xb6),_0x1d31e1),_0x5d0c39[_0x660e4d(0x69)][_0x660e4d(0xaa)](_0x660e4d(0x68),_0x660e4d(0x9f),_0x660e4d(0xb6),_0x1d31e1),this[_0x660e4d(0x7f)][_0x660e4d(0x9e)][_0x660e4d(0x8c)]['on'](_0x660e4d(0x8b),_0x1d7fc3(),{'priority':_0x660e4d(0x85)}),this[_0x660e4d(0x7f)][_0x660e4d(0xae)][_0x660e4d(0x8c)]['on'](_0x660e4d(0x8b),(_0x550df3,_0x3bb277,_0x4124d9)=>{const _0x4e6951=_0x660e4d;_0x4124d9[_0x4e6951(0x77)][_0x4e6951(0xba)]&&_0x1d7fc3({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x550df3,_0x3bb277,_0x4124d9);},{'priority':_0x660e4d(0x85)}),this[_0x660e4d(0x7f)][_0x660e4d(0x9e)][_0x660e4d(0x8c)]['on'](_0x660e4d(0x78),(_0x13cb47,_0x377be8,_0x3ef1e7)=>{const _0x2f8309=_0x660e4d,{type:_0x29b45a,id:_0x548c2d}=_0x5d0c39[_0x2f8309(0x6a)](_0x377be8[_0x2f8309(0x9a)]),_0x4c2573=_0x5d0c39[_0x2f8309(0x96)](_0x548c2d),_0x26e579=_0x4c2573[_0x2f8309(0xae)];if(_0x2f8309(0x68)!=_0x4c2573[_0x2f8309(0x75)]||!_0x26e579||_0x2f8309(0x9f)!=_0x26e579[_0x2f8309(0xb2)])return;const _0x1789ac=_0x3ef1e7[_0x2f8309(0xa8)][_0x2f8309(0x71)](_0x377be8[_0x2f8309(0x9a)]);if(_0x1789ac){for(const _0x3427ac of _0x1789ac)_0x3ef1e7[_0x2f8309(0x89)][_0x2f8309(0x6f)](_0x2f8309(0x7d)+_0x29b45a,_0x3427ac),_0x3ef1e7[_0x2f8309(0x89)][_0x2f8309(0x6f)](_0x2f8309(0x8a),_0x3427ac),_0x3ef1e7[_0x2f8309(0x89)][_0x2f8309(0xa6)](_0x2f8309(0x93),_0x3427ac),_0x3ef1e7[_0x2f8309(0xa8)][_0x2f8309(0xa0)](_0x3427ac,_0x377be8[_0x2f8309(0x9a)]);}},{'priority':_0x660e4d(0x85)}),this[_0x660e4d(0x91)]();}[_0x28433a(0x91)](){const _0x29639c=_0x28433a,_0x50b19e=this[_0x29639c(0x7f)],_0x42ee70=_0x50b19e[_0x29639c(0x64)];function _0x41e066(_0x51d54f){const _0x1138ff=_0x29639c;return{'type':_0x1138ff(0xac),'content':_0x46d0ce(_0x42ee70,_0x1138ff(0xaf),_0x51d54f)};}_0x50b19e[_0x29639c(0x74)][_0x29639c(0xab)](_0x29639c(0x6d))[_0x29639c(0x7e)][_0x29639c(0x83)](_0x762754=>{const _0x4849cc=_0x29639c;if(_0x4849cc(0x68)!=_0x762754[_0x4849cc(0x75)])return;const {data:_0x4ae985}=_0x762754;if(_0x4ae985){if(_0x4849cc(0x97)==_0x4ae985[_0x4849cc(0xb2)]){const _0x4774a9=_0x4ae985[_0x4849cc(0xad)][0x0][_0x4849cc(0xbc)];return _0x41e066(_0x46d0ce(_0x42ee70,_0x4774a9?_0x4849cc(0x6e):_0x4849cc(0x70)));}if(_0x4849cc(0x9f)==_0x4ae985[_0x4849cc(0xb2)]){const _0x1981e0=_0x4ae985[_0x4849cc(0xad)][0x0][_0x4849cc(0xbc)];return _0x41e066(_0x46d0ce(_0x42ee70,_0x1981e0?_0x4849cc(0x9d):_0x4849cc(0x9c)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5086f5=_0x140b;(function(_0x2f27e9,_0x4c9299){const _0x37c93a=_0x140b,_0x2468c0=_0x2f27e9();while(!![]){try{const _0x178fc4=-parseInt(_0x37c93a(0x145))/0x1+parseInt(_0x37c93a(0x132))/0x2*(-parseInt(_0x37c93a(0x13c))/0x3)+parseInt(_0x37c93a(0x13f))/0x4*(-parseInt(_0x37c93a(0x14a))/0x5)+parseInt(_0x37c93a(0x130))/0x6+parseInt(_0x37c93a(0x12f))/0x7+parseInt(_0x37c93a(0x143))/0x8*(parseInt(_0x37c93a(0x134))/0x9)+parseInt(_0x37c93a(0x150))/0xa;if(_0x178fc4===_0x4c9299)break;else _0x2468c0['push'](_0x2468c0['shift']());}catch(_0x1fb39b){_0x2468c0['push'](_0x2468c0['shift']());}}}(_0x2e02,0x1ae51));import{Plugin as _0x22bf06}from'ckeditor5/src/core.js';import{getTranslation as _0x822404}from'../utils/common-translations.js';function _0x140b(_0x224858,_0x3f8bc4){const _0x2e02d1=_0x2e02();return _0x140b=function(_0x140b98,_0x21ffc3){_0x140b98=_0x140b98-0x12f;let _0x1cd462=_0x2e02d1[_0x140b98];return _0x1cd462;},_0x140b(_0x224858,_0x3f8bc4);}function _0x2e02(){const _0x4c48c7=['get','key','registerBlockAttribute','tableType','TrackChangesEditing','252708GbCGDC','newValue','editor','944btxeYq','*Set\x20table\x20type:*\x20%0','TableLayout','afterInit','8RwkfCk','insertTableLayout','201643MMPdVY','table','registerDescriptionCallback','locale','layout','3485JiLtBs','registerElementLabel','plugins','ELEMENT_LAYOUT_TABLE','enableCommand','element','4062940kEIROd','getAttribute','format','content','60725KgWWQm','62688qINauq','enableDefaultAttributesIntegration','2ojNfsy','descriptionFactory','1216035BlcrjZ','ELEMENT_CONTENT_TABLE','has'];_0x2e02=function(){return _0x4c48c7;};return _0x2e02();}export class TrackChangesTableLayout extends _0x22bf06{[_0x5086f5(0x142)](){const _0x3a3a26=_0x5086f5,_0x2ed55c=this[_0x3a3a26(0x13e)],_0x526aa5=_0x2ed55c[_0x3a3a26(0x148)],_0x29a17c=_0x2ed55c[_0x3a3a26(0x14c)][_0x3a3a26(0x137)](_0x3a3a26(0x13b));function _0x15d839(_0x541b8a){const _0x1900d4=_0x3a3a26;return{'type':_0x1900d4(0x152),'content':''+_0x822404(_0x526aa5,_0x1900d4(0x140),_0x541b8a)};}_0x2ed55c[_0x3a3a26(0x14c)][_0x3a3a26(0x136)](_0x3a3a26(0x141))&&(_0x29a17c[_0x3a3a26(0x14e)](_0x3a3a26(0x144)),_0x29a17c[_0x3a3a26(0x131)](_0x3a3a26(0x13a)),_0x29a17c[_0x3a3a26(0x139)](_0x3a3a26(0x13a)),_0x29a17c[_0x3a3a26(0x133)][_0x3a3a26(0x14b)](_0x2a5ab2=>_0x2a5ab2['is'](_0x3a3a26(0x14f),_0x3a3a26(0x146))&&_0x3a3a26(0x149)===_0x2a5ab2[_0x3a3a26(0x151)](_0x3a3a26(0x13a)),_0x4a7796=>_0x822404(_0x526aa5,_0x3a3a26(0x14d),_0x4a7796)),_0x29a17c[_0x3a3a26(0x133)][_0x3a3a26(0x147)](_0x26194c=>{const _0x108360=_0x3a3a26,{data:_0xdd97de}=_0x26194c;if(_0xdd97de&&_0x108360(0x13a)==_0xdd97de[_0x108360(0x138)])switch(_0xdd97de[_0x108360(0x13d)]){case _0x108360(0x149):return _0x15d839(_0x822404(_0x526aa5,_0x108360(0x14d)));case _0x108360(0x153):return _0x15d839(_0x822404(_0x526aa5,_0x108360(0x135)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x27f073=_0x31f2;(function(_0xa9df7c,_0x397b50){const _0x588fba=_0x31f2,_0x4e1df3=_0xa9df7c();while(!![]){try{const _0xf6dcb2=parseInt(_0x588fba(0x154))/0x1*(parseInt(_0x588fba(0x137))/0x2)+parseInt(_0x588fba(0x14a))/0x3*(parseInt(_0x588fba(0x133))/0x4)+parseInt(_0x588fba(0x104))/0x5*(-parseInt(_0x588fba(0xf1))/0x6)+-parseInt(_0x588fba(0x102))/0x7*(parseInt(_0x588fba(0x149))/0x8)+-parseInt(_0x588fba(0x120))/0x9*(-parseInt(_0x588fba(0x132))/0xa)+parseInt(_0x588fba(0x12b))/0xb+parseInt(_0x588fba(0x118))/0xc*(-parseInt(_0x588fba(0x119))/0xd);if(_0xf6dcb2===_0x397b50)break;else _0x4e1df3['push'](_0x4e1df3['shift']());}catch(_0x1bbb1f){_0x4e1df3['push'](_0x4e1df3['shift']());}}}(_0x4aa7,0xe1411));function _0x31f2(_0x51631d,_0x4b2791){const _0x4aa7a0=_0x4aa7();return _0x31f2=function(_0x31f20b,_0x5f3370){_0x31f20b=_0x31f20b-0xf0;let _0x3755c7=_0x4aa7a0[_0x31f20b];return _0x3755c7;},_0x31f2(_0x51631d,_0x4b2791);}import{Plugin as _0x43c4a0}from'ckeditor5/src/core.js';function _0x4aa7(){const _0x2c456c=['mergeTableCellRight','2031618pwEgCE','afterInit','root','registerCustomCallback','getRanges','length','containsRange','TrackChangesEditing','markBlockFormat','_acceptFormatSuggestionCallbackFactory','createTableWalker','setSelection','*Merge\x20cells*','change','registerDescriptionCallback','highest','author','set:isEnabled','1480MbmJDo','164037rnUGyF','mergeTableCells','getSuggestions','return','mergeTableCellLeft','from','stop','TableUtils','splitTableCellHorizontally','_isForcedDefaultExecutionBlock','1Vhdatc','getAncestors','getCellLocation','451614UmQXKS','tableCell','editor','TableEditing','splitTableCellVertically','table','size','_areSelectedCellsMergable','isInContent','execute','insertion','mergeTableCellDown','markMultiRangeBlockFormat','refresh','deletion','$graveyard','subType','59157HSLiCL','*Split\x20cell:*\x20horizontally','40CCnqZV','*Split\x20cell:*\x20vertically','getSelectionAffectedTableCells','fromRange','horizontally','model','document','mergeTableCellUp','find','trackChanges','_tablePostFixingSubtypes','enableCommand','has','value','formatBlock','descriptionFactory','findAncestor','requires','_suggestionFactory','get','1128hFfqQi','385034XbwLRT','filter','commandName','createRangeOn','forceDefaultExecution','push','low','62622siXHMQ','accept','cell','element','detach','format','direction','map','formatInline','locale','selection','20168159TbSGwb','_areMergableCells','commands','type','isEnabled','add','rootName','1830kebnUK','128MbcymZ','getFirstPosition','plugins'];_0x4aa7=function(){return _0x2c456c;};return _0x4aa7();}import{TrackChangesTable as _0x92b35b}from'./table.js';import{ModelLiveRange as _0x48ad22}from'ckeditor5/src/engine.js';import{getTranslation as _0x201e22}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x43c4a0{static get[_0x27f073(0x115)](){return[_0x92b35b];}[_0x27f073(0x138)](){const _0x3026ef=_0x27f073,_0xa2fe41=this[_0x3026ef(0xf3)],_0xb0b403=_0xa2fe41[_0x3026ef(0x109)][_0x3026ef(0x10a)][_0x3026ef(0x12a)],_0x2add3c=_0xa2fe41[_0x3026ef(0x129)];if(!_0xa2fe41[_0x3026ef(0x135)][_0x3026ef(0x110)](_0x3026ef(0xf4)))return;const _0x19101f=_0xa2fe41[_0x3026ef(0x135)][_0x3026ef(0x117)](_0x3026ef(0x13e)),_0xa89c31=_0xa2fe41[_0x3026ef(0x135)][_0x3026ef(0x117)](_0x3026ef(0x151)),_0x187e8e=_0xa2fe41[_0x3026ef(0x135)][_0x3026ef(0x117)](_0x92b35b);_0x187e8e[_0x3026ef(0x10e)][_0x3026ef(0x11e)](_0x3026ef(0x14b)),_0x19101f[_0x3026ef(0x10f)](_0x3026ef(0x14b),()=>{const _0x552986=_0x3026ef,_0x115f7c=_0xa89c31[_0x552986(0x106)](_0xa2fe41[_0x552986(0x109)][_0x552986(0x10a)][_0x552986(0x12a)]);_0xa2fe41[_0x552986(0x109)][_0x552986(0x144)](()=>{const _0x27267a=_0x552986;_0x19101f[_0x27267a(0xfd)](_0x115f7c,{'commandName':_0x27267a(0x14b),'commandParams':[]},[],_0x27267a(0x14b));});}),_0xa2fe41[_0x3026ef(0x12d)][_0x3026ef(0x117)](_0x3026ef(0x14b))['on'](_0x3026ef(0xfa),(_0x1b5c93,_0x3bbaf2)=>{const _0x4b161d=_0x3026ef;_0xa2fe41[_0x4b161d(0x12d)][_0x4b161d(0x117)](_0x4b161d(0x10d))[_0x4b161d(0x111)]&&(_0x3bbaf2[_0x4b161d(0x13c)]>0x0&&_0x3bbaf2[_0x3bbaf2[_0x4b161d(0x13c)]-0x1]&&_0x3bbaf2[_0x3bbaf2[_0x4b161d(0x13c)]-0x1][_0x4b161d(0x11d)]||_0x19101f[_0x4b161d(0x153)]||this[_0x4b161d(0xf8)]()||_0x1b5c93[_0x4b161d(0x150)]());},{'priority':_0x3026ef(0x146)});for(const _0x50a8ac of[_0x3026ef(0x10b),_0x3026ef(0x136),_0x3026ef(0xfc),_0x3026ef(0x14e)]){const _0x4bd648=_0xa2fe41[_0x3026ef(0x12d)][_0x3026ef(0x117)](_0x50a8ac);_0x19101f[_0x3026ef(0x10f)](_0x50a8ac,()=>{const _0x12e512=_0x3026ef,_0xb70b1a=_0xa2fe41[_0x12e512(0x109)][_0x12e512(0x10a)][_0x12e512(0x12a)][_0x12e512(0x134)]()[_0x12e512(0x155)]()[_0x12e512(0x10c)](_0x54726a=>_0x54726a['is'](_0x12e512(0x123),_0x12e512(0xf2))),_0x50aa7e=_0x4bd648[_0x12e512(0x111)];_0xa2fe41[_0x12e512(0x109)][_0x12e512(0x144)](()=>{const _0x576deb=_0x12e512;_0x19101f[_0x576deb(0xfd)]([_0xb70b1a,_0x50aa7e],{'commandName':_0x576deb(0x14b),'commandParams':[]},[],_0x576deb(0x14b));});});}for(const _0x4d95a3 of[_0x3026ef(0xf5),_0x3026ef(0x152)]){const _0x3c0476=_0xa2fe41[_0x3026ef(0x12d)][_0x3026ef(0x117)](_0x4d95a3);_0x19101f[_0x3026ef(0x10f)](_0x4d95a3,()=>{const _0x37e171=_0x3026ef,_0xfbc1cc=_0xa89c31[_0x37e171(0x106)](_0xa2fe41[_0x37e171(0x109)][_0x37e171(0x10a)][_0x37e171(0x12a)])[0x0],_0x17d4b4=_0xfbc1cc[_0x37e171(0x114)](_0x37e171(0xf6)),{column:_0x58c84e,row:_0x4446f2}=_0xa89c31[_0x37e171(0xf0)](_0xfbc1cc);let _0x18d52b=[];if(_0x37e171(0x108)==_0x3c0476[_0x37e171(0x126)]){const _0x2dfb26=_0xa89c31[_0x37e171(0x141)](_0x17d4b4,{'startRow':_0x4446f2,'endRow':_0x4446f2,'includeAllSlots':!0x0});_0x18d52b=Array[_0x37e171(0x14f)](_0x2dfb26)[_0x37e171(0x127)](_0x2be29c=>_0x2be29c[_0x37e171(0x122)]);}else{const _0x43def8=_0xa89c31[_0x37e171(0x141)](_0x17d4b4,{'column':_0x58c84e,'includeAllSlots':!0x0});_0x18d52b=Array[_0x37e171(0x14f)](_0x43def8)[_0x37e171(0x127)](_0x306890=>_0x306890[_0x37e171(0x122)]);}_0xa2fe41[_0x37e171(0x109)][_0x37e171(0x144)](_0x356a37=>{const _0x30c4b4=_0x37e171;_0x19101f[_0x30c4b4(0x13f)](_0x356a37[_0x30c4b4(0x11c)](_0xfbc1cc),{'commandName':_0x4d95a3,'commandParams':[]},_0x18d52b,_0x4d95a3);});});}_0x19101f[_0x3026ef(0x113)][_0x3026ef(0x145)](_0x470274=>{const _0x12922b=_0x3026ef;if(_0x12922b(0x112)!=_0x470274[_0x12922b(0x12e)]&&_0x12922b(0x128)!=_0x470274[_0x12922b(0x12e)])return;const {data:_0x319f4b}=_0x470274;return _0x319f4b&&_0x12922b(0x14b)==_0x319f4b[_0x12922b(0x11b)]?{'type':_0x12922b(0x125),'content':_0x201e22(_0x2add3c,_0x12922b(0x143))}:void 0x0;}),_0x19101f[_0x3026ef(0x113)][_0x3026ef(0x145)](_0x4012b0=>{const _0x2782b6=_0x3026ef;if(_0x2782b6(0x112)!=_0x4012b0[_0x2782b6(0x12e)]&&_0x2782b6(0x128)!=_0x4012b0[_0x2782b6(0x12e)])return;const {data:_0x18b61b}=_0x4012b0;return _0x18b61b?_0x2782b6(0xf5)==_0x18b61b[_0x2782b6(0x11b)]?{'type':_0x2782b6(0x125),'content':_0x201e22(_0x2add3c,_0x2782b6(0x105))}:_0x2782b6(0x152)==_0x18b61b[_0x2782b6(0x11b)]?{'type':_0x2782b6(0x125),'content':_0x201e22(_0x2add3c,_0x2782b6(0x103))}:void 0x0:void 0x0;});const _0x5cae23=_0x187e8e[_0x3026ef(0x140)]();for(const _0xa4272b of[_0x3026ef(0x10b),_0x3026ef(0x136),_0x3026ef(0xfc),_0x3026ef(0x14e)])_0x19101f[_0x3026ef(0x116)][_0x3026ef(0x13a)](_0x3026ef(0x112),_0xa4272b,_0x3026ef(0x121),_0x5cae23);for(const _0x439ea3 of[_0x3026ef(0xf5),_0x3026ef(0x152)])_0x19101f[_0x3026ef(0x116)][_0x3026ef(0x13a)](_0x3026ef(0x112),_0x439ea3,_0x3026ef(0x121),_0x5cae23);_0x19101f[_0x3026ef(0x116)][_0x3026ef(0x13a)](_0x3026ef(0x112),_0x3026ef(0x14b),_0x3026ef(0x121),_0x498a1e=>{const _0x26da06=_0x3026ef;_0xa2fe41[_0x26da06(0x109)][_0x26da06(0x144)](_0x379626=>{const _0x3a87ff=_0x26da06,_0x20e888=Array[_0x3a87ff(0x14f)](_0xb0b403[_0x3a87ff(0x13b)]())[_0x3a87ff(0x127)](_0x5941f1=>_0x48ad22[_0x3a87ff(0x107)](_0x5941f1));_0x379626[_0x3a87ff(0x142)](_0x498a1e),_0xa2fe41[_0x3a87ff(0x12d)][_0x3a87ff(0x117)](_0x3a87ff(0x14b))[_0x3a87ff(0xfe)](),_0xa2fe41[_0x3a87ff(0xfa)](_0x3a87ff(0x14b),{'forceDefaultExecution':!0x0});const _0x2719f0=_0x20e888[_0x3a87ff(0x11a)](_0x23e81c=>_0x3a87ff(0x100)!=_0x23e81c[_0x3a87ff(0x139)][_0x3a87ff(0x131)]);_0x2719f0[_0x3a87ff(0x13c)]>0x0&&_0x379626[_0x3a87ff(0x142)](_0x2719f0);for(const _0x267788 of _0x20e888)_0x267788[_0x3a87ff(0x124)]();});});for(const _0x1c45fe of[_0x3026ef(0x10b),_0x3026ef(0xfc),_0x3026ef(0x14e),_0x3026ef(0x136)]){const _0x31cd8a=_0xa2fe41[_0x3026ef(0x12d)][_0x3026ef(0x117)](_0x1c45fe);_0x31cd8a['on'](_0x3026ef(0x148),(_0x23ef6b,_0x4c85d2,_0x3cdbcc)=>{const _0x20dfca=_0x3026ef;if(_0x3cdbcc){const _0x4265a3=_0xa2fe41[_0x20dfca(0x109)][_0x20dfca(0x10a)][_0x20dfca(0x12a)][_0x20dfca(0x134)]()[_0x20dfca(0x155)]()[_0x20dfca(0x10c)](_0x2edfc5=>_0x2edfc5['is'](_0x20dfca(0x123),_0x20dfca(0xf2)));this[_0x20dfca(0x12c)](_0x31cd8a[_0x20dfca(0x111)],_0x4265a3)||(_0x23ef6b[_0x20dfca(0x14d)]=!0x1,_0x23ef6b[_0x20dfca(0x150)]());}},{'priority':_0x3026ef(0x11f)});}}[_0x27f073(0xf8)](){const _0x2f0768=_0x27f073,_0x165425=this[_0x2f0768(0xf3)][_0x2f0768(0x12d)][_0x2f0768(0x117)](_0x2f0768(0x14b)),_0x300053=this[_0x2f0768(0xf3)][_0x2f0768(0x135)][_0x2f0768(0x117)](_0x2f0768(0x151));if(!_0x165425[_0x2f0768(0x12f)])return!0x1;const _0x216aa1=_0x300053[_0x2f0768(0x106)](this[_0x2f0768(0xf3)][_0x2f0768(0x109)][_0x2f0768(0x10a)][_0x2f0768(0x12a)]);for(const _0x565cb3 of _0x216aa1)for(const _0x4636f2 of _0x216aa1)if(_0x565cb3!=_0x4636f2&&!this[_0x2f0768(0x12c)](_0x565cb3,_0x4636f2))return!0x1;return!0x0;}[_0x27f073(0x12c)](_0x50b363,_0x11b372){const _0x48b67c=_0x27f073,_0x314350=this[_0x48b67c(0xf3)][_0x48b67c(0x135)][_0x48b67c(0x117)](_0x48b67c(0x13e)),_0x2d0d54=this[_0x48b67c(0xf3)][_0x48b67c(0x109)][_0x48b67c(0x11c)](_0x50b363),_0x5bb34d=this[_0x48b67c(0xf3)][_0x48b67c(0x109)][_0x48b67c(0x11c)](_0x11b372),_0x198451=new Set(),_0x2800d1=new Set();for(const _0x5f5c18 of _0x314350[_0x48b67c(0x14c)]())if((_0x48b67c(0xfb)==_0x5f5c18[_0x48b67c(0x12e)]||_0x48b67c(0xff)==_0x5f5c18[_0x48b67c(0x12e)]||_0x48b67c(0x14b)==_0x5f5c18[_0x48b67c(0x101)])&&_0x5f5c18[_0x48b67c(0xf9)]){for(const _0x291944 of _0x5f5c18[_0x48b67c(0x13b)]())_0x291944[_0x48b67c(0x13d)](_0x2d0d54,!0x0)&&_0x198451[_0x48b67c(0x130)](_0x5f5c18[_0x48b67c(0x12e)]+':'+_0x5f5c18[_0x48b67c(0x147)]['id']),_0x291944[_0x48b67c(0x13d)](_0x5bb34d,!0x0)&&_0x2800d1[_0x48b67c(0x130)](_0x5f5c18[_0x48b67c(0x12e)]+':'+_0x5f5c18[_0x48b67c(0x147)]['id']);}if(_0x198451[_0x48b67c(0xf7)]!=_0x2800d1[_0x48b67c(0xf7)])return!0x1;for(const _0x1ce664 of _0x198451)if(!_0x2800d1[_0x48b67c(0x110)](_0x1ce664))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x41c6bd=_0x1e1f;(function(_0x54ef33,_0x4463b8){const _0x5d2cf0=_0x1e1f,_0xdfc118=_0x54ef33();while(!![]){try{const _0x1222fd=parseInt(_0x5d2cf0(0x1bc))/0x1*(-parseInt(_0x5d2cf0(0x17c))/0x2)+parseInt(_0x5d2cf0(0x19d))/0x3+-parseInt(_0x5d2cf0(0x19a))/0x4*(parseInt(_0x5d2cf0(0x1aa))/0x5)+parseInt(_0x5d2cf0(0x16a))/0x6*(parseInt(_0x5d2cf0(0x17e))/0x7)+parseInt(_0x5d2cf0(0x187))/0x8+parseInt(_0x5d2cf0(0x186))/0x9*(parseInt(_0x5d2cf0(0x1b3))/0xa)+parseInt(_0x5d2cf0(0x172))/0xb*(-parseInt(_0x5d2cf0(0x17f))/0xc);if(_0x1222fd===_0x4463b8)break;else _0xdfc118['push'](_0xdfc118['shift']());}catch(_0x3eadc6){_0xdfc118['push'](_0xdfc118['shift']());}}}(_0x228b,0x59259));function _0x1e1f(_0x342f60,_0x52cdf0){const _0x228bcf=_0x228b();return _0x1e1f=function(_0x1e1fa7,_0x196711){_0x1e1fa7=_0x1e1fa7-0x15e;let _0x22cdb3=_0x228bcf[_0x1e1fa7];return _0x22cdb3;},_0x1e1f(_0x342f60,_0x52cdf0);}import{Plugin as _0xe037f5}from'ckeditor5/src/core.js';function _0x228b(){const _0x5b0f90=['model','_areSelectedCellsMergable','getAncestors','plugins','176JGDuCu','getRanges','element','mergeTableCellUp','add','insertion','document','formatBlock','low','splitTableCellHorizontally','64asCovp','root','182147UjIsEu','435804jNyCPx','tableCell','*Merge\x20cells*','createRangeOn','isEnabled','author','cell','5851719nEBrTW','1297248jXnRYj','from','getSuggestions','$graveyard','getCellLocation','_suggestionFactory','type','containsRange','mergeTableCells','formatInline','_isForcedDefaultExecutionBlock','find','map','fromRange','table','set:isEnabled','refresh','change','TrackChangesEditing','14204WXyAoJ','execute','return','1593558rQcRJN','deletion','TableUtils','isInContent','createTableWalker','_areMergableCells','value','length','mergeTableCellRight','_tablePostFixingSubtypes','get','format','selection','415KaIThr','splitTableCellVertically','forceDefaultExecution','horizontally','findAncestor','detach','registerCustomCallback','accept','rootName','10mtgdRl','push','highest','direction','_acceptFormatSuggestionCallbackFactory','enableCommand','markMultiRangeBlockFormat','editor','trackChanges','20282RNrSwi','commands','registerDescriptionCallback','TableEditing','getFirstPosition','requires','stop','descriptionFactory','has','subType','mergeTableCellLeft','commandName','*Split\x20cell:*\x20vertically','setSelection','markBlockFormat','locale','mergeTableCellDown','getSelectionAffectedTableCells','filter','126liixYS','*Split\x20cell:*\x20horizontally','size','afterInit'];_0x228b=function(){return _0x5b0f90;};return _0x228b();}import{TrackChangesTable as _0x4a6d9c}from'./table.js';import{ModelLiveRange as _0xb82667}from'ckeditor5/src/engine.js';import{getTranslation as _0x12cb89}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0xe037f5{static get[_0x41c6bd(0x1c1)](){return[_0x4a6d9c];}[_0x41c6bd(0x16d)](){const _0x4f72b9=_0x41c6bd,_0x52328d=this[_0x4f72b9(0x1ba)],_0x1024d5=_0x52328d[_0x4f72b9(0x16e)][_0x4f72b9(0x178)][_0x4f72b9(0x1a9)],_0x436d7e=_0x52328d[_0x4f72b9(0x166)];if(!_0x52328d[_0x4f72b9(0x171)][_0x4f72b9(0x15f)](_0x4f72b9(0x1bf)))return;const _0x3df440=_0x52328d[_0x4f72b9(0x171)][_0x4f72b9(0x1a7)](_0x4f72b9(0x199)),_0x1c946d=_0x52328d[_0x4f72b9(0x171)][_0x4f72b9(0x1a7)](_0x4f72b9(0x19f)),_0x45b3f1=_0x52328d[_0x4f72b9(0x171)][_0x4f72b9(0x1a7)](_0x4a6d9c);_0x45b3f1[_0x4f72b9(0x1a6)][_0x4f72b9(0x1b4)](_0x4f72b9(0x18f)),_0x3df440[_0x4f72b9(0x1b8)](_0x4f72b9(0x18f),()=>{const _0x236079=_0x4f72b9,_0x460475=_0x1c946d[_0x236079(0x168)](_0x52328d[_0x236079(0x16e)][_0x236079(0x178)][_0x236079(0x1a9)]);_0x52328d[_0x236079(0x16e)][_0x236079(0x198)](()=>{const _0x3dacf7=_0x236079;_0x3df440[_0x3dacf7(0x1b9)](_0x460475,{'commandName':_0x3dacf7(0x18f),'commandParams':[]},[],_0x3dacf7(0x18f));});}),_0x52328d[_0x4f72b9(0x1bd)][_0x4f72b9(0x1a7)](_0x4f72b9(0x18f))['on'](_0x4f72b9(0x19b),(_0x39e18,_0x1bae7)=>{const _0x16a2c1=_0x4f72b9;_0x52328d[_0x16a2c1(0x1bd)][_0x16a2c1(0x1a7)](_0x16a2c1(0x1bb))[_0x16a2c1(0x1a3)]&&(_0x1bae7[_0x16a2c1(0x1a4)]>0x0&&_0x1bae7[_0x1bae7[_0x16a2c1(0x1a4)]-0x1]&&_0x1bae7[_0x1bae7[_0x16a2c1(0x1a4)]-0x1][_0x16a2c1(0x1ac)]||_0x3df440[_0x16a2c1(0x191)]||this[_0x16a2c1(0x16f)]()||_0x39e18[_0x16a2c1(0x1c2)]());},{'priority':_0x4f72b9(0x1b5)});for(const _0x546e2e of[_0x4f72b9(0x175),_0x4f72b9(0x1a5),_0x4f72b9(0x167),_0x4f72b9(0x161)]){const _0x9d7e8e=_0x52328d[_0x4f72b9(0x1bd)][_0x4f72b9(0x1a7)](_0x546e2e);_0x3df440[_0x4f72b9(0x1b8)](_0x546e2e,()=>{const _0x1717ae=_0x4f72b9,_0x2cdb85=_0x52328d[_0x1717ae(0x16e)][_0x1717ae(0x178)][_0x1717ae(0x1a9)][_0x1717ae(0x1c0)]()[_0x1717ae(0x170)]()[_0x1717ae(0x192)](_0x200ca4=>_0x200ca4['is'](_0x1717ae(0x174),_0x1717ae(0x180))),_0x3ec203=_0x9d7e8e[_0x1717ae(0x1a3)];_0x52328d[_0x1717ae(0x16e)][_0x1717ae(0x198)](()=>{const _0x333bd6=_0x1717ae;_0x3df440[_0x333bd6(0x1b9)]([_0x2cdb85,_0x3ec203],{'commandName':_0x333bd6(0x18f),'commandParams':[]},[],_0x333bd6(0x18f));});});}for(const _0x104a1e of[_0x4f72b9(0x1ab),_0x4f72b9(0x17b)]){const _0x10725c=_0x52328d[_0x4f72b9(0x1bd)][_0x4f72b9(0x1a7)](_0x104a1e);_0x3df440[_0x4f72b9(0x1b8)](_0x104a1e,()=>{const _0x568e5a=_0x4f72b9,_0x58562b=_0x1c946d[_0x568e5a(0x168)](_0x52328d[_0x568e5a(0x16e)][_0x568e5a(0x178)][_0x568e5a(0x1a9)])[0x0],_0x34a6e0=_0x58562b[_0x568e5a(0x1ae)](_0x568e5a(0x195)),{column:_0xaa8f05,row:_0x384516}=_0x1c946d[_0x568e5a(0x18b)](_0x58562b);let _0x2a4dcf=[];if(_0x568e5a(0x1ad)==_0x10725c[_0x568e5a(0x1b6)]){const _0x2e1094=_0x1c946d[_0x568e5a(0x1a1)](_0x34a6e0,{'startRow':_0x384516,'endRow':_0x384516,'includeAllSlots':!0x0});_0x2a4dcf=Array[_0x568e5a(0x188)](_0x2e1094)[_0x568e5a(0x193)](_0x23b20e=>_0x23b20e[_0x568e5a(0x185)]);}else{const _0x25ec1b=_0x1c946d[_0x568e5a(0x1a1)](_0x34a6e0,{'column':_0xaa8f05,'includeAllSlots':!0x0});_0x2a4dcf=Array[_0x568e5a(0x188)](_0x25ec1b)[_0x568e5a(0x193)](_0x596c0b=>_0x596c0b[_0x568e5a(0x185)]);}_0x52328d[_0x568e5a(0x16e)][_0x568e5a(0x198)](_0x3fad69=>{const _0x294c7e=_0x568e5a;_0x3df440[_0x294c7e(0x165)](_0x3fad69[_0x294c7e(0x182)](_0x58562b),{'commandName':_0x104a1e,'commandParams':[]},_0x2a4dcf,_0x104a1e);});});}_0x3df440[_0x4f72b9(0x15e)][_0x4f72b9(0x1be)](_0x5cbe57=>{const _0x3aae52=_0x4f72b9;if(_0x3aae52(0x179)!=_0x5cbe57[_0x3aae52(0x18d)]&&_0x3aae52(0x190)!=_0x5cbe57[_0x3aae52(0x18d)])return;const {data:_0x183477}=_0x5cbe57;return _0x183477&&_0x3aae52(0x18f)==_0x183477[_0x3aae52(0x162)]?{'type':_0x3aae52(0x1a8),'content':_0x12cb89(_0x436d7e,_0x3aae52(0x181))}:void 0x0;}),_0x3df440[_0x4f72b9(0x15e)][_0x4f72b9(0x1be)](_0x2a571d=>{const _0x137574=_0x4f72b9;if(_0x137574(0x179)!=_0x2a571d[_0x137574(0x18d)]&&_0x137574(0x190)!=_0x2a571d[_0x137574(0x18d)])return;const {data:_0x167c31}=_0x2a571d;return _0x167c31?_0x137574(0x1ab)==_0x167c31[_0x137574(0x162)]?{'type':_0x137574(0x1a8),'content':_0x12cb89(_0x436d7e,_0x137574(0x163))}:_0x137574(0x17b)==_0x167c31[_0x137574(0x162)]?{'type':_0x137574(0x1a8),'content':_0x12cb89(_0x436d7e,_0x137574(0x16b))}:void 0x0:void 0x0;});const _0x55e9ac=_0x45b3f1[_0x4f72b9(0x1b7)]();for(const _0xd75f08 of[_0x4f72b9(0x175),_0x4f72b9(0x1a5),_0x4f72b9(0x167),_0x4f72b9(0x161)])_0x3df440[_0x4f72b9(0x18c)][_0x4f72b9(0x1b0)](_0x4f72b9(0x179),_0xd75f08,_0x4f72b9(0x1b1),_0x55e9ac);for(const _0x37f836 of[_0x4f72b9(0x1ab),_0x4f72b9(0x17b)])_0x3df440[_0x4f72b9(0x18c)][_0x4f72b9(0x1b0)](_0x4f72b9(0x179),_0x37f836,_0x4f72b9(0x1b1),_0x55e9ac);_0x3df440[_0x4f72b9(0x18c)][_0x4f72b9(0x1b0)](_0x4f72b9(0x179),_0x4f72b9(0x18f),_0x4f72b9(0x1b1),_0x36cc6e=>{const _0x1f8eea=_0x4f72b9;_0x52328d[_0x1f8eea(0x16e)][_0x1f8eea(0x198)](_0x2f98c5=>{const _0x1ffe02=_0x1f8eea,_0x233a37=Array[_0x1ffe02(0x188)](_0x1024d5[_0x1ffe02(0x173)]())[_0x1ffe02(0x193)](_0x5271de=>_0xb82667[_0x1ffe02(0x194)](_0x5271de));_0x2f98c5[_0x1ffe02(0x164)](_0x36cc6e),_0x52328d[_0x1ffe02(0x1bd)][_0x1ffe02(0x1a7)](_0x1ffe02(0x18f))[_0x1ffe02(0x197)](),_0x52328d[_0x1ffe02(0x19b)](_0x1ffe02(0x18f),{'forceDefaultExecution':!0x0});const _0x57be9e=_0x233a37[_0x1ffe02(0x169)](_0x203d36=>_0x1ffe02(0x18a)!=_0x203d36[_0x1ffe02(0x17d)][_0x1ffe02(0x1b2)]);_0x57be9e[_0x1ffe02(0x1a4)]>0x0&&_0x2f98c5[_0x1ffe02(0x164)](_0x57be9e);for(const _0x143007 of _0x233a37)_0x143007[_0x1ffe02(0x1af)]();});});for(const _0x5ad348 of[_0x4f72b9(0x175),_0x4f72b9(0x167),_0x4f72b9(0x161),_0x4f72b9(0x1a5)]){const _0x45a304=_0x52328d[_0x4f72b9(0x1bd)][_0x4f72b9(0x1a7)](_0x5ad348);_0x45a304['on'](_0x4f72b9(0x196),(_0x2b02a0,_0x36e160,_0x1c6f94)=>{const _0x29a26e=_0x4f72b9;if(_0x1c6f94){const _0x390d76=_0x52328d[_0x29a26e(0x16e)][_0x29a26e(0x178)][_0x29a26e(0x1a9)][_0x29a26e(0x1c0)]()[_0x29a26e(0x170)]()[_0x29a26e(0x192)](_0x4a813e=>_0x4a813e['is'](_0x29a26e(0x174),_0x29a26e(0x180)));this[_0x29a26e(0x1a2)](_0x45a304[_0x29a26e(0x1a3)],_0x390d76)||(_0x2b02a0[_0x29a26e(0x19c)]=!0x1,_0x2b02a0[_0x29a26e(0x1c2)]());}},{'priority':_0x4f72b9(0x17a)});}}[_0x41c6bd(0x16f)](){const _0x55e0a6=_0x41c6bd,_0x1c6384=this[_0x55e0a6(0x1ba)][_0x55e0a6(0x1bd)][_0x55e0a6(0x1a7)](_0x55e0a6(0x18f)),_0x921b3b=this[_0x55e0a6(0x1ba)][_0x55e0a6(0x171)][_0x55e0a6(0x1a7)](_0x55e0a6(0x19f));if(!_0x1c6384[_0x55e0a6(0x183)])return!0x1;const _0x22955f=_0x921b3b[_0x55e0a6(0x168)](this[_0x55e0a6(0x1ba)][_0x55e0a6(0x16e)][_0x55e0a6(0x178)][_0x55e0a6(0x1a9)]);for(const _0x29025e of _0x22955f)for(const _0x19d502 of _0x22955f)if(_0x29025e!=_0x19d502&&!this[_0x55e0a6(0x1a2)](_0x29025e,_0x19d502))return!0x1;return!0x0;}[_0x41c6bd(0x1a2)](_0x2d4d63,_0x3df0ca){const _0x42a365=_0x41c6bd,_0x1fe5ec=this[_0x42a365(0x1ba)][_0x42a365(0x171)][_0x42a365(0x1a7)](_0x42a365(0x199)),_0x2789da=this[_0x42a365(0x1ba)][_0x42a365(0x16e)][_0x42a365(0x182)](_0x2d4d63),_0xe13958=this[_0x42a365(0x1ba)][_0x42a365(0x16e)][_0x42a365(0x182)](_0x3df0ca),_0x4dee9d=new Set(),_0x8b24c9=new Set();for(const _0x265ce1 of _0x1fe5ec[_0x42a365(0x189)]())if((_0x42a365(0x177)==_0x265ce1[_0x42a365(0x18d)]||_0x42a365(0x19e)==_0x265ce1[_0x42a365(0x18d)]||_0x42a365(0x18f)==_0x265ce1[_0x42a365(0x160)])&&_0x265ce1[_0x42a365(0x1a0)]){for(const _0x4820ba of _0x265ce1[_0x42a365(0x173)]())_0x4820ba[_0x42a365(0x18e)](_0x2789da,!0x0)&&_0x4dee9d[_0x42a365(0x176)](_0x265ce1[_0x42a365(0x18d)]+':'+_0x265ce1[_0x42a365(0x184)]['id']),_0x4820ba[_0x42a365(0x18e)](_0xe13958,!0x0)&&_0x8b24c9[_0x42a365(0x176)](_0x265ce1[_0x42a365(0x18d)]+':'+_0x265ce1[_0x42a365(0x184)]['id']);}if(_0x4dee9d[_0x42a365(0x16c)]!=_0x8b24c9[_0x42a365(0x16c)])return!0x1;for(const _0xd020ff of _0x4dee9d)if(!_0x8b24c9[_0x42a365(0x15f)](_0xd020ff))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x14504e=_0x4701;(function(_0xe28c07,_0x479924){const _0x7d0bc5=_0x4701,_0x23623e=_0xe28c07();while(!![]){try{const _0xa719e4=-parseInt(_0x7d0bc5(0xf1))/0x1*(-parseInt(_0x7d0bc5(0xe2))/0x2)+parseInt(_0x7d0bc5(0xf0))/0x3*(parseInt(_0x7d0bc5(0xdf))/0x4)+-parseInt(_0x7d0bc5(0xe1))/0x5+parseInt(_0x7d0bc5(0xe3))/0x6*(parseInt(_0x7d0bc5(0xea))/0x7)+parseInt(_0x7d0bc5(0xf2))/0x8*(parseInt(_0x7d0bc5(0xed))/0x9)+parseInt(_0x7d0bc5(0xee))/0xa+-parseInt(_0x7d0bc5(0xe8))/0xb*(parseInt(_0x7d0bc5(0xe7))/0xc);if(_0xa719e4===_0x479924)break;else _0x23623e['push'](_0x23623e['shift']());}catch(_0x14a3bb){_0x23623e['push'](_0x23623e['shift']());}}}(_0x497f,0xf173e));function _0x4701(_0x5a2c9d,_0x36608e){const _0x497f6a=_0x497f();return _0x4701=function(_0x470175,_0x53c5d6){_0x470175=_0x470175-0xde;let _0x539d71=_0x497f6a[_0x470175];return _0x539d71;},_0x4701(_0x5a2c9d,_0x36608e);}import{Plugin as _0x29b62d}from'ckeditor5/src/core.js';import{getTranslation as _0x448ae6}from'../utils/common-translations.js';export class TrackChangesTableOfContents extends _0x29b62d{[_0x14504e(0xf6)](){const _0x10c043=_0x14504e,_0x55dad0=this[_0x10c043(0xe9)];if(!_0x55dad0[_0x10c043(0xde)][_0x10c043(0xef)](_0x10c043(0xf3)))return;_0x55dad0[_0x10c043(0xf4)][_0x10c043(0xef)](_0x10c043(0xeb))[_0x10c043(0xe5)](_0x10c043(0xf3));const _0x5f2c43=_0x55dad0[_0x10c043(0xf4)][_0x10c043(0xef)](_0x10c043(0xeb)),_0x2a7654=_0x55dad0[_0x10c043(0xe6)];_0x5f2c43[_0x10c043(0xec)][_0x10c043(0xf5)](_0x10c043(0xe4),_0x1ed822=>_0x448ae6(_0x2a7654,_0x10c043(0xe0),_0x1ed822));}}function _0x497f(){const _0x484315=['commands','3094752arRNJD','ELEMENT_TABLE_OF_CONTENTS','8557590OdjkvZ','1191516adpfFc','6QGfGov','tableOfContents','enableCommand','locale','47429304TDbXsm','11SSTtmQ','editor','10022145irTuQd','TrackChangesEditing','descriptionFactory','612aFTzBu','19078430FFSvbI','get','3lmWDgw','2WGxDDq','158608jFSwnq','insertTableOfContents','plugins','registerElementLabel','afterInit'];_0x497f=function(){return _0x484315;};return _0x497f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5cee(){const _0x11e48f=['16PMoUJB','enableCommand','tableCellBackgroundColor','tableBorderStyle','has','enqueueChange','tableCellHeight','pluginName','_registerTablePropertiesAttributes','registerBlockAttribute','*Format:*\x20change\x20table\x20properties','toUpperCase','tableCellBorderWidth','findAncestor','FORMAT_','tableBackgroundColor','isPremiumPlugin','TableCellPropertiesEditing','tableCellBorderStyle','document','_getSuggestion','registerAttributeLabel','getSelectionAffectedTableCells','TrackChangesEditing','plugins','tableWidth','start','219321btxRIL','isOfficialPlugin','accept','commandParams','tableAlignment','getSuggestions','TrackChangesTableProperties','_suggestionFactory','*Format:*\x20change\x20table\x20cell\x20properties','tableBorderWidth','handleSuggestionDescription','markBlockFormat','10XjXApl','batch','data','subType','locale','_handlePropertyChange','model','_$1','registerDescriptionCallback','format','handleDiscardAction','97808TYRLpM','TableUtils','getContainedElement','tableProperties','2729062wwHZCl','afterInit','TablePropertiesEditing','discard','replace','tableCellProperties','tableCellBorderColor','selection','editor','join','tableCellPadding','387slqsOY','setAttribute','873465OnLuzw','registerCustomCallback','getFirstPosition','tableHeight','40jJezZF','nodeAfter','getSuggestionCallback','get','tableCellVerticalAlignment','formatBlock','tableBorderColor','1697062dZlSlo','table','getAttribute','descriptionFactory','change','4134482sdOWXq','removeAttribute','2010006PFUCQf','tableCellHorizontalAlignment','tableCellWidth'];_0x5cee=function(){return _0x11e48f;};return _0x5cee();}const _0x91437e=_0x52a6;(function(_0x56ed46,_0x1dbf2c){const _0x360605=_0x52a6,_0x1e06b0=_0x56ed46();while(!![]){try{const _0x30a2c7=parseInt(_0x360605(0x117))/0x1+-parseInt(_0x360605(0xf2))/0x2+parseInt(_0x360605(0xe7))/0x3*(parseInt(_0x360605(0xfc))/0x4)+-parseInt(_0x360605(0xcb))/0x5*(-parseInt(_0x360605(0xf9))/0x6)+parseInt(_0x360605(0xda))/0x7+parseInt(_0x360605(0xd6))/0x8*(parseInt(_0x360605(0xe5))/0x9)+parseInt(_0x360605(0xeb))/0xa*(-parseInt(_0x360605(0xf7))/0xb);if(_0x30a2c7===_0x1dbf2c)break;else _0x1e06b0['push'](_0x1e06b0['shift']());}catch(_0x25e6ac){_0x1e06b0['push'](_0x1e06b0['shift']());}}}(_0x5cee,0x96c4c));import{Plugin as _0x31f8fe}from'ckeditor5/src/core.js';function _0x52a6(_0x932bc5,_0x49d686){const _0x5cee62=_0x5cee();return _0x52a6=function(_0x52a617,_0x171eac){_0x52a617=_0x52a617-0xc2;let _0x2d2c97=_0x5cee62[_0x52a617];return _0x2d2c97;},_0x52a6(_0x932bc5,_0x49d686);}import{getTranslation as _0x4588d3}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x31f8fe{[_0x91437e(0xd9)];[_0x91437e(0xdf)];constructor(_0xd3056){const _0x874f2f=_0x91437e;super(_0xd3056),this[_0x874f2f(0xd9)]=[_0x874f2f(0xf1),_0x874f2f(0xff),_0x874f2f(0xc8),_0x874f2f(0xc3),_0x874f2f(0x115),_0x874f2f(0xea),_0x874f2f(0x10b)],this[_0x874f2f(0xdf)]=[_0x874f2f(0xe0),_0x874f2f(0x10e),_0x874f2f(0x108),_0x874f2f(0xe4),_0x874f2f(0xfb),_0x874f2f(0x102),_0x874f2f(0xfe),_0x874f2f(0xfa),_0x874f2f(0xef)];}static get[_0x91437e(0x103)](){const _0x41e301=_0x91437e;return _0x41e301(0xc5);}static get[_0x91437e(0x118)](){return!0x0;}static get[_0x91437e(0x10c)](){return!0x0;}[_0x91437e(0xdb)](){const _0x22ecd5=_0x91437e,_0x24ea6e=this[_0x22ecd5(0xe2)][_0x22ecd5(0x114)][_0x22ecd5(0xee)](_0x22ecd5(0x113));if(this[_0x22ecd5(0xe2)][_0x22ecd5(0x114)][_0x22ecd5(0x100)](_0x22ecd5(0xdc))){for(const _0x3ffd8a of this[_0x22ecd5(0xd9)])_0x24ea6e[_0x22ecd5(0xfd)](_0x3ffd8a,(_0x486f75,_0x54ed73)=>{const _0x7b9a33=_0x22ecd5,_0x205d49=this[_0x7b9a33(0xe2)][_0x7b9a33(0xd1)][_0x7b9a33(0x10f)][_0x7b9a33(0xe1)][_0x7b9a33(0xe9)]()[_0x7b9a33(0x109)](_0x7b9a33(0xf3));this[_0x7b9a33(0xd0)](_0x3ffd8a,[_0x205d49],this[_0x7b9a33(0xd9)],_0x7b9a33(0xd9),_0x486f75,_0x54ed73);});_0x24ea6e[_0x22ecd5(0xc6)][_0x22ecd5(0xe8)](_0x22ecd5(0xf0),_0x22ecd5(0xd9),_0x22ecd5(0x119),_0x24ea6e[_0x22ecd5(0xc6)][_0x22ecd5(0xed)](_0x22ecd5(0xf0),null,_0x22ecd5(0xdd))),_0x24ea6e[_0x22ecd5(0xc6)][_0x22ecd5(0xe8)](_0x22ecd5(0xf0),_0x22ecd5(0xd9),_0x22ecd5(0xdd),(_0x514172,_0x5cd4a0)=>this[_0x22ecd5(0xd5)](this[_0x22ecd5(0xd9)],_0x514172,_0x5cd4a0)),_0x24ea6e[_0x22ecd5(0xc6)][_0x22ecd5(0xe8)](_0x22ecd5(0xf0),_0x22ecd5(0xd9),_0x22ecd5(0xe3),()=>!0x1);}if(this[_0x22ecd5(0xe2)][_0x22ecd5(0x114)][_0x22ecd5(0x100)](_0x22ecd5(0x10d))){for(const _0x54089e of this[_0x22ecd5(0xdf)])_0x24ea6e[_0x22ecd5(0xfd)](_0x54089e,(_0x286f1d,_0x11b2d2)=>{const _0x54d880=_0x22ecd5,_0x59e4b4=this[_0x54d880(0xe2)][_0x54d880(0x114)][_0x54d880(0xee)](_0x54d880(0xd7))[_0x54d880(0x112)](this[_0x54d880(0xe2)][_0x54d880(0xd1)][_0x54d880(0x10f)][_0x54d880(0xe1)]);this[_0x54d880(0xd0)](_0x54089e,_0x59e4b4,this[_0x54d880(0xdf)],_0x54d880(0xdf),_0x286f1d,_0x11b2d2);});_0x24ea6e[_0x22ecd5(0xc6)][_0x22ecd5(0xe8)](_0x22ecd5(0xf0),_0x22ecd5(0xdf),_0x22ecd5(0x119),_0x24ea6e[_0x22ecd5(0xc6)][_0x22ecd5(0xed)](_0x22ecd5(0xf0),null,_0x22ecd5(0xdd))),_0x24ea6e[_0x22ecd5(0xc6)][_0x22ecd5(0xe8)](_0x22ecd5(0xf0),_0x22ecd5(0xdf),_0x22ecd5(0xdd),(_0x328fec,_0x5965b2)=>this[_0x22ecd5(0xd5)](this[_0x22ecd5(0xdf)],_0x328fec,_0x5965b2)),_0x24ea6e[_0x22ecd5(0xc6)][_0x22ecd5(0xe8)](_0x22ecd5(0xf0),_0x22ecd5(0xdf),_0x22ecd5(0xe3),()=>!0x1);}_0x24ea6e[_0x22ecd5(0xf5)][_0x22ecd5(0xd3)](_0x47ede8=>this[_0x22ecd5(0xc9)](_0x47ede8)),this[_0x22ecd5(0x104)]();}[_0x91437e(0xd0)](_0x5b092a,_0x54704d,_0x11d2d8,_0x16e805,_0x2217af,_0x214a2a){const _0x540814=_0x91437e,_0x49a748=this[_0x540814(0xe2)][_0x540814(0x114)][_0x540814(0xee)](_0x540814(0x113));this[_0x540814(0xe2)][_0x540814(0xd1)][_0x540814(0x101)](_0x214a2a[_0x540814(0xcc)],()=>{const _0x42682a=_0x540814;for(const _0x248d5e of _0x54704d){if(this[_0x42682a(0x110)](_0x248d5e,_0x16e805))_0x2217af(_0x214a2a);else{const _0x6f74d5={};for(const _0x3edf55 of _0x11d2d8){const _0x3e9a1e=_0x248d5e[_0x42682a(0xf4)](_0x3edf55);void 0x0!==_0x3e9a1e&&(_0x6f74d5[_0x3edf55]=_0x3e9a1e);}_0x2217af(_0x214a2a),_0x49a748[_0x42682a(0xca)](_0x248d5e,{'commandParams':[_0x6f74d5]},[],_0x16e805);}}});}[_0x91437e(0xd5)](_0x28c65b,_0x593c3d,_0x5e3178){const _0x1e07e1=_0x91437e,_0x3cc5a8=_0x593c3d[0x0][_0x1e07e1(0x116)][_0x1e07e1(0xec)],_0x1022c8=_0x5e3178[_0x1e07e1(0xc2)][0x0];this[_0x1e07e1(0xe2)][_0x1e07e1(0xd1)][_0x1e07e1(0xf6)](_0x10875f=>{const _0x1b1e13=_0x1e07e1;for(const _0x3fb221 of _0x28c65b)void 0x0!==_0x1022c8[_0x3fb221]?_0x10875f[_0x1b1e13(0xe6)](_0x3fb221,_0x1022c8[_0x3fb221],_0x3cc5a8):_0x10875f[_0x1b1e13(0xf8)](_0x3fb221,_0x3cc5a8);});}[_0x91437e(0xc9)](_0x4d83d1){const _0x5dac54=_0x91437e;if(_0x4d83d1[_0x5dac54(0xcd)])switch(_0x4d83d1[_0x5dac54(0xce)]){case _0x5dac54(0xd9):return{'type':_0x5dac54(0xd4),'content':_0x4588d3(this[_0x5dac54(0xe2)][_0x5dac54(0xcf)],_0x5dac54(0x106))};case _0x5dac54(0xdf):return{'type':_0x5dac54(0xd4),'content':_0x4588d3(this[_0x5dac54(0xe2)][_0x5dac54(0xcf)],_0x5dac54(0xc7))};}}[_0x91437e(0x110)](_0x311bb3,_0x2d7c71){const _0x396e5f=_0x91437e,_0x2494d8=this[_0x396e5f(0xe2)][_0x396e5f(0x114)][_0x396e5f(0xee)](_0x396e5f(0x113));for(const _0x41417d of _0x2494d8[_0x396e5f(0xc4)]({'skipNotAttached':!0x0})){const _0x26655b=_0x41417d[_0x396e5f(0xd8)]();if(_0x41417d[_0x396e5f(0xce)]===_0x2d7c71&&_0x26655b===_0x311bb3)return _0x41417d;}return null;}[_0x91437e(0x104)](){const _0x250cb7=_0x91437e,_0x271831=this[_0x250cb7(0xe2)][_0x250cb7(0x114)][_0x250cb7(0xee)](_0x250cb7(0x113)),_0x5bfb83=[...this[_0x250cb7(0xd9)],...this[_0x250cb7(0xdf)]];for(const _0x495c91 of _0x5bfb83){const _0x439159=_0x495c91[_0x250cb7(0xde)](/([A-Z])/g,_0x250cb7(0xd2))[_0x250cb7(0x107)]();_0x271831[_0x250cb7(0x105)](_0x495c91),_0x271831[_0x250cb7(0xf5)][_0x250cb7(0x111)](_0x495c91,_0x4588d3(this[_0x250cb7(0xe2)][_0x250cb7(0xcf)],_0x250cb7(0x10a)+_0x439159));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2d8d(){const _0x2b8560=['1038zeetgl','3605485KARAdy','594IDZPTP','4702dXzPRq','98rMrXAl','afterInit','editor','Template','insertTemplate','1424856ZnbjCr','314472WWSpry','875604DCnYUr','has','plugins','212320OghSnn','4294624NWAMJw','get','enableCommand','TrackChangesEditing'];_0x2d8d=function(){return _0x2b8560;};return _0x2d8d();}const _0x6af27a=_0x4c74;(function(_0x5b45ac,_0x26e5fe){const _0x217203=_0x4c74,_0x4381fa=_0x5b45ac();while(!![]){try{const _0x3d8af6=parseInt(_0x217203(0xfd))/0x1+parseInt(_0x217203(0xf5))/0x2*(parseInt(_0x217203(0xf2))/0x3)+-parseInt(_0x217203(0xfb))/0x4+parseInt(_0x217203(0xf3))/0x5+-parseInt(_0x217203(0xfc))/0x6*(parseInt(_0x217203(0xf6))/0x7)+parseInt(_0x217203(0x101))/0x8+parseInt(_0x217203(0xf4))/0x9*(-parseInt(_0x217203(0x100))/0xa);if(_0x3d8af6===_0x26e5fe)break;else _0x4381fa['push'](_0x4381fa['shift']());}catch(_0x3148b0){_0x4381fa['push'](_0x4381fa['shift']());}}}(_0x2d8d,0x6f401));import{Plugin as _0x3f5ad6}from'ckeditor5/src/core.js';function _0x4c74(_0x408411,_0xcb95b0){const _0x2d8d4c=_0x2d8d();return _0x4c74=function(_0x4c744d,_0x4f43b3){_0x4c744d=_0x4c744d-0xf2;let _0x18b58b=_0x2d8d4c[_0x4c744d];return _0x18b58b;},_0x4c74(_0x408411,_0xcb95b0);}export class TrackChangesTemplate extends _0x3f5ad6{[_0x6af27a(0xf7)](){const _0x311388=_0x6af27a,_0x2dec9a=this[_0x311388(0xf8)];_0x2dec9a[_0x311388(0xff)][_0x311388(0xfe)](_0x311388(0xf9))&&_0x2dec9a[_0x311388(0xff)][_0x311388(0x102)](_0x311388(0x104))[_0x311388(0x103)](_0x311388(0xfa));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15b991=_0x30fe;(function(_0x140ed8,_0x19021d){const _0x1bc049=_0x30fe,_0x700444=_0x140ed8();while(!![]){try{const _0x34dc65=-parseInt(_0x1bc049(0x7f))/0x1*(-parseInt(_0x1bc049(0x81))/0x2)+parseInt(_0x1bc049(0x9c))/0x3+parseInt(_0x1bc049(0x9a))/0x4+-parseInt(_0x1bc049(0x9e))/0x5+-parseInt(_0x1bc049(0x9f))/0x6+-parseInt(_0x1bc049(0x8c))/0x7+-parseInt(_0x1bc049(0x94))/0x8*(-parseInt(_0x1bc049(0xa2))/0x9);if(_0x34dc65===_0x19021d)break;else _0x700444['push'](_0x700444['shift']());}catch(_0x249e70){_0x700444['push'](_0x700444['shift']());}}}(_0x2eb6,0x8b87e));import{Plugin as _0x105aaa}from'ckeditor5/src/core.js';function _0x30fe(_0x470352,_0xeaf130){const _0x2eb621=_0x2eb6();return _0x30fe=function(_0x30fe08,_0x2c73f2){_0x30fe08=_0x30fe08-0x7d;let _0x39ea2c=_0x2eb621[_0x30fe08];return _0x39ea2c;},_0x30fe(_0x470352,_0xeaf130);}import{getTranslation as _0x30a58b}from'../utils/common-translations.js';function _0x2eb6(){const _0x228a28=['TrackChangesEditing','has','2734605bCYAzQ','editor','descriptionFactory','isCollapsed','get','newRange','createRange','title-content','1iMMrfB','document','150352YzEZHx','element','registerElementLabel','Title','getChangedMarkers','isTouching','isEqual','updateMarker','plugins','differ','forward','6242999YPeLLq','registerPostFixer','model','ELEMENT_TITLE','start','nodeBefore','locale','_splitMarkerName','40lqcnLc','suggestion','schema','afterInit','getNearestSelectionRange','from','1469808RtUbhS','removeMarker','3385650FQSvdw','end','5351965EErBll','3339810RSXoCW'];_0x2eb6=function(){return _0x228a28;};return _0x2eb6();}export class TrackChangesTitle extends _0x105aaa{[_0x15b991(0x97)](){const _0x464f8a=_0x15b991,_0x3dfd9e=this[_0x464f8a(0xa3)];if(!_0x3dfd9e[_0x464f8a(0x89)][_0x464f8a(0xa1)](_0x464f8a(0x84)))return;const _0x3c76fc=_0x3dfd9e[_0x464f8a(0x89)][_0x464f8a(0xa6)](_0x464f8a(0xa0));_0x3c76fc[_0x464f8a(0xa4)][_0x464f8a(0x83)](_0x464f8a(0x7e),()=>_0x30a58b(_0x3dfd9e[_0x464f8a(0x92)],_0x464f8a(0x8f))),_0x3dfd9e[_0x464f8a(0x8e)][_0x464f8a(0x80)][_0x464f8a(0x8d)](_0x1de2e7=>{const _0x1ed799=_0x464f8a;let _0x530397=!0x1;const _0x4e9723=Array[_0x1ed799(0x99)](_0x3dfd9e[_0x1ed799(0x8e)][_0x1ed799(0x80)][_0x1ed799(0x8a)][_0x1ed799(0x85)]());for(const {name:_0x33a2d9,data:_0x551fdf}of _0x4e9723){const {group:_0x1b1d6f}=_0x3c76fc[_0x1ed799(0x93)](_0x33a2d9);if(_0x1ed799(0x95)!==_0x1b1d6f||!_0x551fdf[_0x1ed799(0xa7)])continue;const _0x53ad08=_0x551fdf[_0x1ed799(0xa7)],_0x57ab30=_0x53ad08[_0x1ed799(0x9d)][_0x1ed799(0x91)];if(!_0x57ab30||!_0x57ab30['is'](_0x1ed799(0x82),_0x1ed799(0x7e)))continue;if(!_0x53ad08[_0x1ed799(0x90)][_0x1ed799(0x86)](_0x53ad08[_0x1ed799(0x9d)]))continue;const _0x2f40d0=_0x3dfd9e[_0x1ed799(0x8e)][_0x1ed799(0x96)][_0x1ed799(0x98)](_0x53ad08[_0x1ed799(0x9d)],_0x1ed799(0x8b));if(_0x2f40d0&&_0x2f40d0[_0x1ed799(0xa5)]){const _0xd6ada9=_0x1de2e7[_0x1ed799(0x7d)](_0x53ad08[_0x1ed799(0x90)],_0x2f40d0[_0x1ed799(0x90)]);_0xd6ada9[_0x1ed799(0x87)](_0x53ad08)||(_0x1de2e7[_0x1ed799(0x88)](_0x33a2d9,{'range':_0xd6ada9}),_0x530397=!0x0);}_0x530397||(_0x1de2e7[_0x1ed799(0x9b)](_0x33a2d9),_0x530397=!0x0);}return _0x530397;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x20ab(_0x15a5f2,_0x2a1e3b){const _0x18d4d1=_0x18d4();return _0x20ab=function(_0x20abb0,_0x561bcb){_0x20abb0=_0x20abb0-0xd9;let _0xae8f7=_0x18d4d1[_0x20abb0];return _0xae8f7;},_0x20ab(_0x15a5f2,_0x2a1e3b);}const _0x6d9c6e=_0x20ab;(function(_0x805176,_0x24c3cf){const _0x3b6476=_0x20ab,_0x3eb27b=_0x805176();while(!![]){try{const _0x467801=-parseInt(_0x3b6476(0xdd))/0x1*(parseInt(_0x3b6476(0xdf))/0x2)+parseInt(_0x3b6476(0xe0))/0x3*(parseInt(_0x3b6476(0xdc))/0x4)+parseInt(_0x3b6476(0xdb))/0x5*(-parseInt(_0x3b6476(0xe5))/0x6)+parseInt(_0x3b6476(0xec))/0x7+parseInt(_0x3b6476(0xe8))/0x8+parseInt(_0x3b6476(0xe4))/0x9+parseInt(_0x3b6476(0xe6))/0xa;if(_0x467801===_0x24c3cf)break;else _0x3eb27b['push'](_0x3eb27b['shift']());}catch(_0x250eb7){_0x3eb27b['push'](_0x3eb27b['shift']());}}}(_0x18d4,0xe499d));function _0x18d4(){const _0x2af6ba=['UndoEditing','undo','get','203724IkwyCQ','114JrQvbx','5954930fqLhFf','plugins','5873048abzJyH','afterInit','has','redo','2774016GvsaSn','TrackChangesEditing','editor','34955POWbjH','15140PLYDLt','1hoknHj','enableCommand','2274710JLzlES','363prHfBO'];_0x18d4=function(){return _0x2af6ba;};return _0x18d4();}import{Plugin as _0x2ace66}from'ckeditor5/src/core.js';export class TrackChangesUndo extends _0x2ace66{[_0x6d9c6e(0xe9)](){const _0x3e49b7=_0x6d9c6e,_0x1f9ada=this[_0x3e49b7(0xda)],_0x591a20=_0x1f9ada[_0x3e49b7(0xe7)][_0x3e49b7(0xe3)](_0x3e49b7(0xd9));_0x1f9ada[_0x3e49b7(0xe7)][_0x3e49b7(0xea)](_0x3e49b7(0xe1))&&(_0x591a20[_0x3e49b7(0xde)](_0x3e49b7(0xe2)),_0x591a20[_0x3e49b7(0xde)](_0x3e49b7(0xeb)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46db5c=_0x455b;(function(_0x5dff92,_0x17aadc){const _0x1e782c=_0x455b,_0x49417a=_0x5dff92();while(!![]){try{const _0x26c728=parseInt(_0x1e782c(0x12e))/0x1+-parseInt(_0x1e782c(0x126))/0x2*(-parseInt(_0x1e782c(0x137))/0x3)+-parseInt(_0x1e782c(0x13b))/0x4*(parseInt(_0x1e782c(0x129))/0x5)+-parseInt(_0x1e782c(0x140))/0x6*(parseInt(_0x1e782c(0x132))/0x7)+parseInt(_0x1e782c(0x141))/0x8*(parseInt(_0x1e782c(0x128))/0x9)+parseInt(_0x1e782c(0x138))/0xa+-parseInt(_0x1e782c(0x12c))/0xb;if(_0x26c728===_0x17aadc)break;else _0x49417a['push'](_0x49417a['shift']());}catch(_0x1e0494){_0x49417a['push'](_0x49417a['shift']());}}}(_0x3043,0x9be21));function _0x3043(){const _0x47f36d=['uploadcareImageReplace','uploadcareImageEdit','registerDescriptionCallback','uploadcare','12PJfoIU','type','27837IoAstp','527385nCnmyl','enableDefaultAttributesIntegration','attribute','1968395UkIfuP','key','205939mlTpJV','get','TrackChangesEditing','format','2425311tnGzeR','uploadcareImageId','has','enableCommand','Uploadcare','161079iUkdEb','12751810bieBFC','editor','afterInit','28diABot','UploadcareImageEdit','descriptionFactory','registerBlockAttribute','plugins','6vfCcKI','256ykJudw'];_0x3043=function(){return _0x47f36d;};return _0x3043();}function _0x455b(_0x380e18,_0x4e650f){const _0x304303=_0x3043();return _0x455b=function(_0x455b55,_0x162095){_0x455b55=_0x455b55-0x126;let _0xa9973f=_0x304303[_0x455b55];return _0xa9973f;},_0x455b(_0x380e18,_0x4e650f);}import{Plugin as _0x3ef46a}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x3ef46a{[_0x46db5c(0x13a)](){const _0x52aacc=_0x46db5c,_0x2ba737=this[_0x52aacc(0x139)],_0x4d8f7a=_0x2ba737[_0x52aacc(0x13f)][_0x52aacc(0x12f)](_0x52aacc(0x130));_0x2ba737[_0x52aacc(0x13f)][_0x52aacc(0x134)](_0x52aacc(0x136))&&(_0x4d8f7a[_0x52aacc(0x135)](_0x52aacc(0x145)),_0x2ba737[_0x52aacc(0x13f)][_0x52aacc(0x134)](_0x52aacc(0x13c))&&(_0x4d8f7a[_0x52aacc(0x135)](_0x52aacc(0x143)),_0x4d8f7a[_0x52aacc(0x12a)](_0x52aacc(0x142)),_0x4d8f7a[_0x52aacc(0x13e)](_0x52aacc(0x133)),_0x4d8f7a[_0x52aacc(0x13d)][_0x52aacc(0x144)](_0x4c48df=>{const _0x3bfc86=_0x52aacc;if(_0x3bfc86(0x12b)!=_0x4c48df[_0x3bfc86(0x127)])return;const {data:_0x1057f8}=_0x4c48df;return _0x1057f8&&_0x3bfc86(0x133)==_0x1057f8[_0x3bfc86(0x12d)]?{'type':_0x3bfc86(0x131),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5041(){const _0x31531b=['get','getItems','bindElementToMarker','consumable','nextSibling','start','addHighlight','toViewPosition','span','isAtEnd','parent','insert','getWalker','writer','push','markerName','2309202czwPAo','type','createRangeOn','item','previousPosition','ck-suggestion-marker--active','model','_splitMarkerName','test','10795auNMWj','includes','6DwSRba','TrackChangesEditing','getCustomProperty','addClass','ck-suggestion-marker-','createUIElement','isLimit','schema','hasAttribute','plugins','activeMarkers','name','toViewElement','mapper','markerRange','elementEnd','692Ulqbnr','4112019osXVxQ','138738dKOjKc','1331268NekeeM','isContent','isBlock','336928xBhfDt','3203624gTIxYV'];_0x5041=function(){return _0x31531b;};return _0x5041();}function _0x1118(_0x4c67e0,_0xb7d639){const _0x5041f9=_0x5041();return _0x1118=function(_0x1118d4,_0x5a4aef){_0x1118d4=_0x1118d4-0x184;let _0x2aa596=_0x5041f9[_0x1118d4];return _0x2aa596;},_0x1118(_0x4c67e0,_0xb7d639);}(function(_0x1eb4c2,_0x293704){const _0xed2ff0=_0x1118,_0x5e7fa6=_0x1eb4c2();while(!![]){try{const _0x2c357b=-parseInt(_0xed2ff0(0x19a))/0x1+-parseInt(_0xed2ff0(0x184))/0x2*(parseInt(_0xed2ff0(0x196))/0x3)+parseInt(_0xed2ff0(0x194))/0x4*(parseInt(_0xed2ff0(0x1b5))/0x5)+-parseInt(_0xed2ff0(0x197))/0x6+-parseInt(_0xed2ff0(0x1ac))/0x7+parseInt(_0xed2ff0(0x19b))/0x8+parseInt(_0xed2ff0(0x195))/0x9;if(_0x2c357b===_0x293704)break;else _0x5e7fa6['push'](_0x5e7fa6['shift']());}catch(_0x1ebb2a){_0x5e7fa6['push'](_0x5e7fa6['shift']());}}}(_0x5041,0x31a9d));export function getRangesWithAttribute(_0x106421,_0x54ac37,_0x5c6d93){const _0x455a83=_0x1118,_0x1184d9=[];for(const _0xb42808 of _0x54ac37[_0x455a83(0x19d)]())_0xb42808[_0x455a83(0x18c)](_0x106421)&&_0x1184d9[_0x455a83(0x1aa)](_0x5c6d93[_0x455a83(0x1ae)](_0xb42808));return _0x1184d9;}export function downcastSplitMergeMarker(_0x33a5b8,_0x136605,{showActiveMarker:_0x51f47f=!0x0}={}){const _0x2f885f=_0x1118,_0x2db039=_0x33a5b8[_0x2f885f(0x18d)][_0x2f885f(0x19c)](_0x2f885f(0x185));return(_0x380a57,_0x447398,_0x236276)=>{const _0x593c0a=_0x2f885f;if(!_0x236276[_0x593c0a(0x19f)][_0x593c0a(0x1b4)](_0x447398[_0x593c0a(0x192)],_0x380a57[_0x593c0a(0x18f)]))return;const _0x1eafc3=_0x447398[_0x593c0a(0x192)][_0x593c0a(0x1a8)](),_0x23ea78=_0x447398[_0x593c0a(0x192)][_0x593c0a(0x1a1)],_0x10c65c=_0x33a5b8[_0x593c0a(0x1b2)][_0x593c0a(0x18b)];let _0x505bca=null,_0x23c543=null,_0x443845=!0x1,_0x362763=!0x1;for(const _0x4ab05e of _0x1eafc3){const _0x1aea9c=_0x4ab05e[_0x593c0a(0x1af)];_0x443845=_0x443845||_0x10c65c[_0x593c0a(0x198)](_0x1aea9c);const _0x281dbb=_0x236276[_0x593c0a(0x191)][_0x593c0a(0x190)](_0x1aea9c);if(_0x281dbb&&_0x281dbb[_0x593c0a(0x186)](_0x593c0a(0x1a2)))return;_0x593c0a(0x193)==_0x4ab05e[_0x593c0a(0x1ad)]&&(_0x10c65c[_0x593c0a(0x199)](_0x1aea9c)&&!_0x10c65c[_0x593c0a(0x18a)](_0x1aea9c)&&(_0x1aea9c[_0x593c0a(0x1a0)]||_0x23ea78[_0x593c0a(0x1a5)]?_0x505bca&&_0x505bca[_0x593c0a(0x1a6)]==_0x1aea9c||(_0x505bca=_0x1aea9c,_0x335717(_0x4ab05e[_0x593c0a(0x1b0)]),_0x362763=!0x0):_0x23c543=_0x23c543||_0x4ab05e[_0x593c0a(0x1b0)]));}function _0x335717(_0x56f0b9){const _0xab0b78=_0x593c0a,{id:_0x4b900f,authorId:_0x41f891}=_0x2db039[_0xab0b78(0x1b3)](_0x447398[_0xab0b78(0x1ab)]),_0xf9c115=_0x236276[_0xab0b78(0x1a9)][_0xab0b78(0x189)](_0xab0b78(0x1a4),{'class':_0xab0b78(0x188)+_0x136605,'data-suggestion':_0x4b900f,'data-author-id':_0x41f891}),_0x1bddcd=_0x236276[_0xab0b78(0x191)][_0xab0b78(0x1a3)](_0x56f0b9);_0x51f47f&&_0x2db039[_0xab0b78(0x18e)][_0xab0b78(0x1b6)](_0x447398[_0xab0b78(0x1ab)])&&_0x236276[_0xab0b78(0x1a9)][_0xab0b78(0x187)](_0xab0b78(0x1b1),_0xf9c115),_0x236276[_0xab0b78(0x1a9)][_0xab0b78(0x1a7)](_0x1bddcd,_0xf9c115),_0x236276[_0xab0b78(0x191)][_0xab0b78(0x19e)](_0xf9c115,_0x447398[_0xab0b78(0x1ab)]);}_0x443845||_0x362763||!_0x23c543||_0x335717(_0x23c543);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4cfdd9=_0x40c9;function _0x2fe0(){const _0x4b4075=['getMultiRangeId','decorate','183368OLluzy','isIntersectingWithRange','_model','discard','_markerNames','accept','isMultiRange','reduce','hasComments','isInContent','addRange','_saved','26myvCwV','isExternal','size','getFirstMarker','getRange','getMarkers','_onAccept','substr','getFirstRange','push','commentThread','onAttributesChange','clear','2809989FGcKZp','author','nodeAfter','nodeBefore','removeMarkers','next','originalSuggestionId','get','onAccept','filter','getItems','createdAt','creator','getMarkerNames','length','attributes','addMarker','getAllAdjacentSuggestions','split','_originalSuggestionId','_isDataLoaded','getContainedElement','change','22925bteJCK','suggestion:','addMarkerName','set','add','authoredAt','subType','257362igWHwo','from','onDiscard','27oVLrEI','map','type','_onDiscard','83310BDSdnV','previous','@external','delete','getRanges','toJSON','start','data','end','276gZCPpn','_onAttributesChange','removeMarker','96819sXjVFC','isIntersecting','markers','removeAttribute','head','1512894iRTGGv','setAttribute'];_0x2fe0=function(){return _0x4b4075;};return _0x2fe0();}function _0x40c9(_0x2f2d79,_0x54481a){const _0x2fe06e=_0x2fe0();return _0x40c9=function(_0x40c9bd,_0x2308c8){_0x40c9bd=_0x40c9bd-0x183;let _0xdc0a18=_0x2fe06e[_0x40c9bd];return _0xdc0a18;},_0x40c9(_0x2f2d79,_0x54481a);}(function(_0x2481fe,_0x5081bf){const _0x5e9af4=_0x40c9,_0x44a0dd=_0x2481fe();while(!![]){try{const _0xc952de=parseInt(_0x5e9af4(0x196))/0x1+-parseInt(_0x5e9af4(0x1be))/0x2*(parseInt(_0x5e9af4(0x1a9))/0x3)+parseInt(_0x5e9af4(0x1a6))/0x4*(-parseInt(_0x5e9af4(0x18f))/0x5)+parseInt(_0x5e9af4(0x1ae))/0x6+parseInt(_0x5e9af4(0x1cb))/0x7+parseInt(_0x5e9af4(0x1b2))/0x8+parseInt(_0x5e9af4(0x199))/0x9*(parseInt(_0x5e9af4(0x19d))/0xa);if(_0xc952de===_0x5081bf)break;else _0x44a0dd['push'](_0x44a0dd['shift']());}catch(_0x487c5d){_0x44a0dd['push'](_0x44a0dd['shift']());}}}(_0x2fe0,0x366da));import{ModelElement as _0x135b64}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x25d67c,uid as _0x37e29b}from'ckeditor5/src/utils.js';import{cloneDeep as _0x4c5664,isEqual as _0x3e90b3,set as _0x34e930,unset as _0x463646}from'es-toolkit/compat';export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x25d67c(){['id'];[_0x4cfdd9(0x19b)];[_0x4cfdd9(0x195)];[_0x4cfdd9(0x1cc)];[_0x4cfdd9(0x184)];[_0x4cfdd9(0x1bf)];[_0x4cfdd9(0x1a4)];[_0x4cfdd9(0x183)];[_0x4cfdd9(0x18b)];[_0x4cfdd9(0x18c)]=!0x1;[_0x4cfdd9(0x1b4)];[_0x4cfdd9(0x1c4)];[_0x4cfdd9(0x19c)];[_0x4cfdd9(0x1a7)];[_0x4cfdd9(0x1b6)];constructor(_0x4e3aa0,_0xaad2a8){const _0xf76d91=_0x4cfdd9;super(),this['id']=_0xaad2a8['id'],this[_0xf76d91(0x19b)]=_0xaad2a8[_0xf76d91(0x19b)],this[_0xf76d91(0x195)]=_0xaad2a8[_0xf76d91(0x195)]||null,this[_0xf76d91(0x1cc)]=_0xaad2a8[_0xf76d91(0x1cc)],this[_0xf76d91(0x184)]=_0xaad2a8[_0xf76d91(0x184)]||_0xaad2a8[_0xf76d91(0x1cc)],this[_0xf76d91(0x1bf)]=Boolean(_0xaad2a8[_0xf76d91(0x187)]&&_0xaad2a8[_0xf76d91(0x187)][_0xf76d91(0x19f)]),this[_0xf76d91(0x1a4)]=null,this[_0xf76d91(0x18b)]=_0xaad2a8[_0xf76d91(0x1d1)]||null,this[_0xf76d91(0x1b4)]=_0x4e3aa0,this[_0xf76d91(0x1c4)]=_0xaad2a8[_0xf76d91(0x1d3)],this[_0xf76d91(0x19c)]=_0xaad2a8[_0xf76d91(0x198)],this[_0xf76d91(0x1a7)]=_0xaad2a8[_0xf76d91(0x1c9)],this[_0xf76d91(0x1b6)]=new Set(),this[_0xf76d91(0x183)]=null,this[_0xf76d91(0x192)](_0xf76d91(0x194),null),this[_0xf76d91(0x192)](_0xf76d91(0x187),_0xaad2a8[_0xf76d91(0x187)]||{}),this[_0xf76d91(0x192)](_0xf76d91(0x19e),null),this[_0xf76d91(0x192)](_0xf76d91(0x1d0),null),this[_0xf76d91(0x192)](_0xf76d91(0x1c8),null),this[_0xf76d91(0x192)](_0xf76d91(0x1bd),!0x1),this[_0xf76d91(0x1b1)](_0xf76d91(0x1b7)),this[_0xf76d91(0x1b1)](_0xf76d91(0x1b5));}get[_0x4cfdd9(0x1ad)](){const _0xa0fac6=_0x4cfdd9;let _0x45c733=this;for(;_0x45c733[_0xa0fac6(0x19e)];)_0x45c733=_0x45c733[_0xa0fac6(0x19e)];return _0x45c733;}get[_0x4cfdd9(0x1ba)](){const _0x11ce7f=_0x4cfdd9;return!!this[_0x11ce7f(0x1c8)]&&this[_0x11ce7f(0x1c8)][_0x11ce7f(0x186)]>0x0;}get[_0x4cfdd9(0x1b8)](){const _0x4bb337=_0x4cfdd9;if(0x0==this[_0x4bb337(0x1b6)][_0x4bb337(0x1c0)])return!0x1;return 0x6==Array[_0x4bb337(0x197)](this[_0x4bb337(0x1b6)])[0x0][_0x4bb337(0x18a)](':')[_0x4bb337(0x186)];}get[_0x4cfdd9(0x1bb)](){const _0x422b45=_0x4cfdd9;return null!==this[_0x422b45(0x1c1)]();}[_0x4cfdd9(0x191)](_0x5be292){const _0x39e59a=_0x4cfdd9;this[_0x39e59a(0x1b6)][_0x39e59a(0x193)](_0x5be292);}[_0x4cfdd9(0x185)](){const _0xbfdea9=_0x4cfdd9;return Array[_0xbfdea9(0x197)](this[_0xbfdea9(0x1b6)]);}[_0x4cfdd9(0x1c3)](){const _0x5bae19=_0x4cfdd9;return this[_0x5bae19(0x185)]()[_0x5bae19(0x19a)](_0x351179=>this[_0x5bae19(0x1b4)][_0x5bae19(0x1ab)][_0x5bae19(0x1d2)](_0x351179))[_0x5bae19(0x1d4)](_0xca3e50=>_0xca3e50);}[_0x4cfdd9(0x1c1)](){const _0xcdc62b=_0x4cfdd9;return this[_0xcdc62b(0x1c3)]()[0x0]||null;}[_0x4cfdd9(0x1cf)](){const _0x3ff362=_0x4cfdd9;this[_0x3ff362(0x1b4)][_0x3ff362(0x18e)](_0xd41595=>{const _0x2a30c4=_0x3ff362;for(const _0x2a5334 of this[_0x2a30c4(0x1c3)]())_0xd41595[_0x2a30c4(0x1a8)](_0x2a5334);}),this[_0x3ff362(0x1b6)][_0x3ff362(0x1ca)]();}[_0x4cfdd9(0x1a8)](_0x2f29f0){const _0x57ccb4=_0x4cfdd9;this[_0x57ccb4(0x1b4)][_0x57ccb4(0x18e)](_0x50efc7=>{const _0x2604b1=_0x57ccb4;_0x50efc7[_0x2604b1(0x1a8)](_0x2f29f0);}),this[_0x57ccb4(0x1b6)][_0x57ccb4(0x1a0)](_0x2f29f0);}[_0x4cfdd9(0x1bc)](_0x22b80d){const _0x1818eb=_0x4cfdd9,_0x365a95=_0x1818eb(0x190)+this[_0x1818eb(0x19b)]+':'+this[_0x1818eb(0x195)]+':'+this['id']+':'+this[_0x1818eb(0x184)]['id']+':'+Suggestion[_0x1818eb(0x1b0)]();this[_0x1818eb(0x191)](_0x365a95),this[_0x1818eb(0x1b4)][_0x1818eb(0x18e)](_0x5829cb=>{const _0x9f0ce0=_0x1818eb;_0x5829cb[_0x9f0ce0(0x188)](_0x365a95,{'range':_0x22b80d,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4cfdd9(0x1b3)](_0x3190c0){const _0xf3284c=_0x4cfdd9;for(const _0x48d270 of this[_0xf3284c(0x1a1)]())if(_0x48d270[_0xf3284c(0x1aa)](_0x3190c0))return!0x0;return!0x1;}[_0x4cfdd9(0x1a1)](){const _0x1a75a7=_0x4cfdd9;return this[_0x1a75a7(0x1c3)]()[_0x1a75a7(0x19a)](_0x34bacf=>_0x34bacf[_0x1a75a7(0x1c2)]());}[_0x4cfdd9(0x1d5)](){const _0x346562=_0x4cfdd9;return this[_0x346562(0x1a1)]()[_0x346562(0x1b9)]((_0x125da0,_0x188d9e)=>[..._0x125da0,..._0x188d9e[_0x346562(0x1d5)]()],[]);}[_0x4cfdd9(0x1c6)](){const _0x1b0c5e=_0x4cfdd9;return this[_0x1b0c5e(0x1c1)]()?.[_0x1b0c5e(0x1c2)]()||null;}[_0x4cfdd9(0x18d)](){const _0x3e6053=_0x4cfdd9,_0xd53d09=this[_0x3e6053(0x1a1)]();if(0x1!=_0xd53d09[_0x3e6053(0x186)])return null;const _0x4dbcbd=_0xd53d09[0x0],_0x5b0da3=_0x4dbcbd[_0x3e6053(0x1a3)][_0x3e6053(0x1cd)],_0x2f55a0=_0x4dbcbd[_0x3e6053(0x1a5)][_0x3e6053(0x1ce)];return _0x5b0da3 instanceof _0x135b64?_0x5b0da3!=_0x2f55a0?null:_0x5b0da3:null;}[_0x4cfdd9(0x1b7)](){const _0x22d38a=_0x4cfdd9;this[_0x22d38a(0x1c4)](this[_0x22d38a(0x1a1)](),this[_0x22d38a(0x1a4)],this[_0x22d38a(0x187)]),this[_0x22d38a(0x1cf)]();}[_0x4cfdd9(0x1b5)](){const _0x1ebb75=_0x4cfdd9;this[_0x1ebb75(0x19c)](this[_0x1ebb75(0x1a1)](),this[_0x1ebb75(0x1a4)],this[_0x1ebb75(0x187)]),this[_0x1ebb75(0x1cf)]();}[_0x4cfdd9(0x189)](){const _0x6ddcdc=_0x4cfdd9,_0x200b74=[];let _0xfa4dce=this[_0x6ddcdc(0x1ad)];for(;_0xfa4dce;)_0x200b74[_0x6ddcdc(0x1c7)](_0xfa4dce),_0xfa4dce=_0xfa4dce[_0x6ddcdc(0x1d0)];return _0x200b74;}[_0x4cfdd9(0x1af)](_0x213317,_0x615bc3){const _0x12dcfc=_0x4cfdd9,_0x1fe67d=_0x4c5664(this[_0x12dcfc(0x187)]);_0x34e930(_0x1fe67d,_0x213317,_0x615bc3),_0x3e90b3(_0x1fe67d,this[_0x12dcfc(0x187)])||(this[_0x12dcfc(0x187)]=_0x1fe67d,this[_0x12dcfc(0x1a7)](_0x1fe67d));}[_0x4cfdd9(0x1ac)](_0x11fe82){const _0x8a74a7=_0x4cfdd9,_0x5b6000=_0x4c5664(this[_0x8a74a7(0x187)]);_0x463646(_0x5b6000,_0x11fe82),_0x3e90b3(_0x5b6000,this[_0x8a74a7(0x187)])||(this[_0x8a74a7(0x187)]=_0x5b6000,this[_0x8a74a7(0x1a7)](this[_0x8a74a7(0x187)]));}[_0x4cfdd9(0x1a2)](){const _0x556a6d=_0x4cfdd9;return{'id':this['id'],'type':this[_0x556a6d(0x195)]?this[_0x556a6d(0x19b)]+':'+this[_0x556a6d(0x195)]:this[_0x556a6d(0x19b)],'authorId':this[_0x556a6d(0x184)]['id'],'createdAt':this[_0x556a6d(0x183)],'hasComments':this[_0x556a6d(0x1ba)],'data':this[_0x556a6d(0x1a4)],'attributes':this[_0x556a6d(0x187)]};}static[_0x4cfdd9(0x1b0)](){const _0x3db41a=_0x4cfdd9;return _0x37e29b()[_0x3db41a(0x1c5)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x35fe(_0x2a047b,_0x1a068e){const _0xf3e0f1=_0xf3e0();return _0x35fe=function(_0x35fea9,_0x483db1){_0x35fea9=_0x35fea9-0x142;let _0x1ce64c=_0xf3e0f1[_0x35fea9];return _0x1ce64c;},_0x35fe(_0x2a047b,_0x1a068e);}const _0x3d3478=_0x35fe;(function(_0x1b600a,_0x4b2df6){const _0x284f41=_0x35fe,_0x13a176=_0x1b600a();while(!![]){try{const _0x1accbb=parseInt(_0x284f41(0x178))/0x1+parseInt(_0x284f41(0x153))/0x2+parseInt(_0x284f41(0x181))/0x3*(parseInt(_0x284f41(0x18a))/0x4)+parseInt(_0x284f41(0x171))/0x5+parseInt(_0x284f41(0x179))/0x6*(parseInt(_0x284f41(0x16e))/0x7)+parseInt(_0x284f41(0x167))/0x8+-parseInt(_0x284f41(0x147))/0x9*(parseInt(_0x284f41(0x16a))/0xa);if(_0x1accbb===_0x4b2df6)break;else _0x13a176['push'](_0x13a176['shift']());}catch(_0x5d062a){_0x13a176['push'](_0x13a176['shift']());}}}(_0xf3e0,0xd63b4));import{getTranslation as _0x1d837c}from'./utils/common-translations.js';import{priorities as _0xb35d1c,insertToPriorityArray as _0x3f7f1b}from'ckeditor5/src/utils.js';function _0xf3e0(){const _0x175eef=['match','elementEnd','nodeAfter','addObject','*Change\x20to:*\x20%0','deletion','elementStart','$1\x20$2','*Insert:*\x20%0','_handleInsertRemoveSuggestionDescription','join','softBreak','getItemLabel','Object','length','removeFormat','text','2239752gSdNBi','_locale','*Split:*\x20%0','15479410IquNyb','$textProxy','removeEmptyContainer','_attributeLabels','6874OywFOk','_handleRenameSuggestionDescription','set','5149135rzygUp','$text','replace','nextSibling','insertion','item','end','663797LhFBFE','3234HOObhW','_schema','get','type','getFirstRange','registerAttributeLabel','add','subType','1750776GxKYjB','removeContainer','skip','removeObject','remove','newValue','*Set\x20format:*\x20%0','previousSibling','push','8hlQeHb','start','_handleAttributeSuggestionDescription','Container','registerDescriptionCallback','format','map','has','isObject','attribute','EmptyContainer','name','_handleCustomCallbackDescription','addEmptyContainer','*Merge:*\x20%0','_itemLabels','checkChild','addContainer','isInContent','indexOf','isEqual','quantity','*Remove\x20format:*\x20%0','registerElementLabel','pop','getDescriptions','data','isEmpty','ELEMENT_SPACE','label','18tLKuXS','key','*Remove:*\x20%0','addFormat','matchingCallback','_resolveDescriptionItems','_customCallbacks','normal','_addDescriptionItems','function','getWalker','element','606598cLQtvY','REPLACE_TEXT','_itemLabelsCallbacks'];_0xf3e0=function(){return _0x175eef;};return _0xf3e0();}import{renameAttributeKey as _0x11ec99}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x3d3478(0x14d)];[_0x3d3478(0x199)];[_0x3d3478(0x155)];[_0x3d3478(0x16d)];[_0x3d3478(0x17a)];[_0x3d3478(0x168)];constructor(_0x2c8b0e,_0x2e977c){const _0x36cc1d=_0x3d3478;this[_0x36cc1d(0x14d)]=[],this[_0x36cc1d(0x199)]=new Map(),this[_0x36cc1d(0x155)]=[],this[_0x36cc1d(0x16d)]=new Map(),this[_0x36cc1d(0x17a)]=_0x2c8b0e,this[_0x36cc1d(0x168)]=_0x2e977c;}[_0x3d3478(0x142)](_0x3dda61){const _0x175bd7=_0x3d3478,_0x261820=[],_0x185afa=new Set(),_0x432ea8=new Set();for(let _0x588f17=0x0;_0x588f17<_0x3dda61[_0x175bd7(0x164)];_0x588f17++){const _0x1031e1=_0x3dda61[_0x588f17];if(!_0x1031e1[_0x175bd7(0x19c)])continue;const _0x277c7d=this[_0x175bd7(0x196)](_0x1031e1);if(_0x277c7d){if(null!=_0x1031e1[_0x175bd7(0x180)]){if(_0x185afa[_0x175bd7(0x191)](_0x1031e1[_0x175bd7(0x180)]))continue;_0x185afa[_0x175bd7(0x17f)](_0x1031e1[_0x175bd7(0x180)]);}_0x261820[_0x175bd7(0x189)](_0x277c7d);}else{if(_0x175bd7(0x193)==_0x1031e1[_0x175bd7(0x17c)]){const _0x1ffab4=_0x1031e1[_0x175bd7(0x143)][_0x175bd7(0x148)];if(_0x432ea8[_0x175bd7(0x191)](_0x1ffab4))continue;_0x432ea8[_0x175bd7(0x17f)](_0x1031e1[_0x175bd7(0x143)][_0x175bd7(0x148)]),_0x1ffab4==_0x11ec99?this[_0x175bd7(0x16f)](_0x261820,_0x1031e1):this[_0x175bd7(0x18c)](_0x261820,_0x1031e1);continue;}_0x175bd7(0x175)!=_0x1031e1[_0x175bd7(0x17c)]&&_0x175bd7(0x15b)!=_0x1031e1[_0x175bd7(0x17c)]||this[_0x175bd7(0x15f)](_0x261820,_0x1031e1,_0x3dda61[_0x588f17+0x1]);}}return this[_0x175bd7(0x14c)](_0x261820);}[_0x3d3478(0x18e)](_0x277d5f){const _0x577a93=_0x3d3478;this[_0x577a93(0x14d)][_0x577a93(0x189)](_0x277d5f);}[_0x3d3478(0x1a1)](_0x5e4723,_0x1e7141,_0x32fe80=_0xb35d1c[_0x3d3478(0x14e)]){const _0x480ec5=_0x3d3478;_0x480ec5(0x150)==typeof _0x5e4723?_0x3f7f1b(this[_0x480ec5(0x155)],{'matchingCallback':_0x5e4723,'label':_0x1e7141,'priority':_0x32fe80}):this[_0x480ec5(0x199)][_0x480ec5(0x170)](_0x5e4723,_0x1e7141);}[_0x3d3478(0x17e)](_0x32e93e,_0x53478e){const _0x295562=_0x3d3478;this[_0x295562(0x16d)][_0x295562(0x170)](_0x32e93e,_0x53478e);}[_0x3d3478(0x162)](_0x2ebb3d,_0x5e9b87=0x1){const _0x404d23=_0x3d3478;let _0x422a90;for(const _0x16c5de of this[_0x404d23(0x155)])if(_0x16c5de[_0x404d23(0x14b)](_0x2ebb3d)){_0x422a90=_0x16c5de[_0x404d23(0x146)];break;}return _0x422a90||(_0x422a90=this[_0x404d23(0x199)][_0x404d23(0x17b)](_0x2ebb3d[_0x404d23(0x195)])),_0x422a90?_0x422a90(_0x5e9b87):0x1!==_0x5e9b87?_0x5e9b87+'\x20'+_0x2ebb3d[_0x404d23(0x195)]+'s':''+_0x2ebb3d[_0x404d23(0x195)];}[_0x3d3478(0x14f)](_0x219361,_0x29f340){const _0x177762=_0x3d3478,_0xfecbad=_0x29f340[_0x177762(0x17d)]()[_0x177762(0x151)](),_0x268a67=_0x177762(0x175)==_0x29f340[_0x177762(0x17c)]?_0x177762(0x17f):_0x177762(0x185);for(const _0x3b9590 of _0xfecbad){const _0x11d87e=_0x3b9590[_0x177762(0x176)],_0x716806=_0x219361[_0x219361[_0x177762(0x164)]-0x1];if(_0x11d87e['is'](_0x177762(0x16b)))_0x716806&&_0x716806[_0x177762(0x17c)][_0x177762(0x19d)](_0x177762(0x18d))>-0x1&&_0x219361[_0x177762(0x1a2)](),_0x716806&&_0x177762(0x166)==_0x716806[_0x177762(0x17c)]?_0x716806[_0x268a67]+=_0x11d87e[_0x177762(0x143)]:_0x219361[_0x177762(0x189)]({'type':_0x177762(0x166),'add':_0x177762(0x17f)==_0x268a67?_0x11d87e[_0x177762(0x143)]:'','remove':_0x177762(0x185)==_0x268a67?_0x11d87e[_0x177762(0x143)]:''});else{if(this[_0x177762(0x17a)][_0x177762(0x192)](_0x11d87e)){const _0x38a3b0=_0x11d87e;if(_0x716806&&_0x716806[_0x177762(0x17c)][_0x177762(0x19d)](_0x177762(0x18d))>-0x1&&_0x219361[_0x177762(0x1a2)](),_0x177762(0x157)==_0x3b9590[_0x177762(0x17c)])continue;_0x716806&&_0x716806[_0x177762(0x17c)]==_0x268a67+_0x177762(0x163)&&_0x716806[_0x177762(0x152)][_0x177762(0x195)]==_0x38a3b0[_0x177762(0x195)]?_0x716806[_0x177762(0x19f)]++:_0x219361[_0x177762(0x189)]({'type':_0x268a67+_0x177762(0x163),'element':_0x38a3b0,'quantity':0x1}),_0xfecbad[_0x177762(0x183)](_0xe437cc=>!(_0x177762(0x157)==_0xe437cc[_0x177762(0x17c)]&&_0xe437cc[_0x177762(0x176)]==_0x11d87e));}else{if(this[_0x177762(0x17a)][_0x177762(0x19a)](_0x11d87e,_0x177762(0x172))||_0x11d87e['is'](_0x177762(0x152),_0x177762(0x161))){const _0x34d32f=_0x11d87e;if(_0x177762(0x17f)==_0x268a67&&_0x177762(0x15c)==_0x3b9590[_0x177762(0x17c)]||_0x177762(0x185)==_0x268a67&&_0x177762(0x157)==_0x3b9590[_0x177762(0x17c)])continue;if(_0x716806&&-0x1==_0x716806[_0x177762(0x17c)][_0x177762(0x19d)](_0x177762(0x18d))){_0x177762(0x166)==_0x716806[_0x177762(0x17c)]&&(_0x716806[_0x268a67]+='\x0a');continue;}let _0x4a76be;if(_0x4a76be=_0x177762(0x17f)==_0x268a67?_0x34d32f[_0x177762(0x174)]&&!this[_0x177762(0x17a)][_0x177762(0x192)](_0x34d32f[_0x177762(0x174)])?_0x34d32f[_0x177762(0x174)]:null:_0x34d32f[_0x177762(0x188)]&&!this[_0x177762(0x17a)][_0x177762(0x192)](_0x34d32f[_0x177762(0x188)])?_0x34d32f[_0x177762(0x188)]:null,_0x34d32f[_0x177762(0x144)]||_0x4a76be&&_0x4a76be[_0x177762(0x144)]){const _0x184a79=_0x4a76be&&_0x4a76be[_0x177762(0x144)]?_0x4a76be:_0x34d32f;_0x716806&&_0x716806[_0x177762(0x17c)]==_0x268a67+_0x177762(0x194)&&_0x716806[_0x177762(0x152)][_0x177762(0x195)]==_0x184a79[_0x177762(0x195)]?_0x716806[_0x177762(0x19f)]++:_0x219361[_0x177762(0x189)]({'type':_0x268a67+_0x177762(0x194),'element':_0x184a79,'quantity':0x1});}else _0x219361[_0x177762(0x189)]({'type':_0x268a67+_0x177762(0x18d),'element':_0x34d32f});}}}}}[_0x3d3478(0x14c)](_0x904278){const _0x10bf70=_0x3d3478,_0x205eef=this[_0x10bf70(0x168)],_0x2071d7=[],_0x8129d2=[],_0xeb6f5=[];for(const _0x419b0c of _0x904278)switch(_0x419b0c[_0x10bf70(0x17c)]){case _0x10bf70(0x166):if(_0x419b0c[_0x10bf70(0x17f)]=_0x419b0c[_0x10bf70(0x17f)][_0x10bf70(0x173)](/(\S)\u000A+(\S)/g,_0x10bf70(0x15d))[_0x10bf70(0x173)](/\u000A/g,''),_0x419b0c[_0x10bf70(0x185)]=_0x419b0c[_0x10bf70(0x185)][_0x10bf70(0x173)](/(\S)\u000A+(\S)/g,_0x10bf70(0x15d))[_0x10bf70(0x173)](/\u000A/g,''),''!=_0x419b0c[_0x10bf70(0x17f)]&&''!=_0x419b0c[_0x10bf70(0x185)]){_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x173),'content':_0x1d837c(_0x205eef,_0x10bf70(0x154),['\x22'+_0x419b0c[_0x10bf70(0x185)]+'\x22','\x22'+_0x419b0c[_0x10bf70(0x17f)]+'\x22'])});continue;}if(null!=_0x419b0c[_0x10bf70(0x17f)][_0x10bf70(0x156)](/^ +$/)){_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x175),'content':_0x1d837c(_0x205eef,_0x10bf70(0x15e),_0x1d837c(_0x205eef,_0x10bf70(0x145),_0x419b0c[_0x10bf70(0x17f)][_0x10bf70(0x164)]))});continue;}if(null!=_0x419b0c[_0x10bf70(0x185)][_0x10bf70(0x156)](/^ +$/)){_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x15b),'content':_0x1d837c(_0x205eef,_0x10bf70(0x149),_0x1d837c(_0x205eef,_0x10bf70(0x145),_0x419b0c[_0x10bf70(0x185)][_0x10bf70(0x164)]))});continue;}if(''!=_0x419b0c[_0x10bf70(0x17f)]){_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x175),'content':_0x1d837c(_0x205eef,_0x10bf70(0x15e),'\x22'+_0x419b0c[_0x10bf70(0x17f)]+'\x22')});continue;}_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x15b),'content':_0x1d837c(_0x205eef,_0x10bf70(0x149),'\x22'+_0x419b0c[_0x10bf70(0x185)]+'\x22')});continue;case _0x10bf70(0x197):case _0x10bf70(0x159):_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x175),'content':_0x1d837c(_0x205eef,_0x10bf70(0x15e),this[_0x10bf70(0x162)](_0x419b0c[_0x10bf70(0x152)],_0x419b0c[_0x10bf70(0x19f)]))});continue;case _0x10bf70(0x16c):case _0x10bf70(0x184):_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x15b),'content':_0x1d837c(_0x205eef,_0x10bf70(0x149),this[_0x10bf70(0x162)](_0x419b0c[_0x10bf70(0x152)],_0x419b0c[_0x10bf70(0x19f)]))});continue;case _0x10bf70(0x19b):_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x175),'content':_0x1d837c(_0x205eef,_0x10bf70(0x169),this[_0x10bf70(0x162)](_0x419b0c[_0x10bf70(0x152)],_0x419b0c[_0x10bf70(0x19f)]))});continue;case _0x10bf70(0x182):_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x15b),'content':_0x1d837c(_0x205eef,_0x10bf70(0x198),this[_0x10bf70(0x162)](_0x419b0c[_0x10bf70(0x152)],_0x419b0c[_0x10bf70(0x19f)]))});continue;case _0x10bf70(0x14a):_0x8129d2[_0x10bf70(0x189)](_0x419b0c[_0x10bf70(0x148)]);continue;case _0x10bf70(0x165):_0xeb6f5[_0x10bf70(0x189)](_0x419b0c[_0x10bf70(0x148)]);continue;default:_0x2071d7[_0x10bf70(0x189)](_0x419b0c);}if(_0x8129d2[_0x10bf70(0x164)]){const _0x2c8114=_0x8129d2[_0x10bf70(0x190)](_0x18e383=>this[_0x10bf70(0x16d)][_0x10bf70(0x191)](_0x18e383)?this[_0x10bf70(0x16d)][_0x10bf70(0x17b)](_0x18e383):_0x18e383)[_0x10bf70(0x160)](',\x20');_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x18f),'content':_0x1d837c(this[_0x10bf70(0x168)],_0x10bf70(0x187),_0x2c8114)});}if(_0xeb6f5[_0x10bf70(0x164)]){const _0x4fa329=_0xeb6f5[_0x10bf70(0x190)](_0x5bb1fe=>this[_0x10bf70(0x16d)][_0x10bf70(0x191)](_0x5bb1fe)?this[_0x10bf70(0x16d)][_0x10bf70(0x17b)](_0x5bb1fe):_0x5bb1fe)[_0x10bf70(0x160)](',\x20');_0x2071d7[_0x10bf70(0x189)]({'type':_0x10bf70(0x18f),'content':_0x1d837c(this[_0x10bf70(0x168)],_0x10bf70(0x1a0),_0x4fa329)});}return _0x2071d7;}[_0x3d3478(0x196)](_0x2fc1d8){const _0x5355fe=_0x3d3478;for(const _0x451f0d of this[_0x5355fe(0x14d)]){const _0x52866e=_0x451f0d(_0x2fc1d8);if(_0x52866e&&_0x5355fe(0x17c)in _0x52866e)return _0x52866e;}}[_0x3d3478(0x18c)](_0x11e742,_0x1d1da2){const _0xa892c0=_0x3d3478,_0x4feef8=_0x1d1da2[_0xa892c0(0x143)],_0x215e2e=void 0x0===_0x4feef8[_0xa892c0(0x186)]?_0xa892c0(0x165):_0xa892c0(0x14a);_0x11e742[_0xa892c0(0x189)]({'type':_0x215e2e,'key':_0x4feef8[_0xa892c0(0x148)]});}[_0x3d3478(0x16f)](_0x187ef7,_0x2b30e8){const _0x25a573=_0x3d3478;_0x187ef7[_0x25a573(0x189)]({'type':_0x25a573(0x18f),'content':_0x1d837c(this[_0x25a573(0x168)],_0x25a573(0x15a),this[_0x25a573(0x162)](_0x2b30e8[_0x25a573(0x17d)]()[_0x25a573(0x18b)][_0x25a573(0x158)],0x1))});}[_0x3d3478(0x15f)](_0x43a375,_0x2d889f,_0x3ac6a8){const _0x47e12f=_0x3d3478;if(this[_0x47e12f(0x14f)](_0x43a375,_0x2d889f),_0x3ac6a8&&_0x3ac6a8[_0x47e12f(0x17d)]()&&!_0x2d889f[_0x47e12f(0x17d)]()[_0x47e12f(0x177)][_0x47e12f(0x19e)](_0x3ac6a8[_0x47e12f(0x17d)]()[_0x47e12f(0x18b)])){const _0x23256b=_0x43a375[_0x43a375[_0x47e12f(0x164)]-0x1],_0x320820=_0x47e12f(0x175)==_0x2d889f[_0x47e12f(0x17c)]?_0x47e12f(0x17f):_0x47e12f(0x185);_0x23256b&&_0x47e12f(0x166)==_0x23256b[_0x47e12f(0x17c)]&&(_0x23256b[_0x320820]+='\x0a');}}}
|
|
23
|
+
const _0x27d15d=_0x427b;(function(_0xf7bdb4,_0x3ef922){const _0x31ce0=_0x427b,_0x2f55e9=_0xf7bdb4();while(!![]){try{const _0xebeade=parseInt(_0x31ce0(0x13d))/0x1*(parseInt(_0x31ce0(0x14a))/0x2)+-parseInt(_0x31ce0(0x127))/0x3*(-parseInt(_0x31ce0(0x138))/0x4)+parseInt(_0x31ce0(0x148))/0x5*(parseInt(_0x31ce0(0x160))/0x6)+parseInt(_0x31ce0(0x11d))/0x7+-parseInt(_0x31ce0(0x13f))/0x8*(-parseInt(_0x31ce0(0x135))/0x9)+parseInt(_0x31ce0(0x12b))/0xa+-parseInt(_0x31ce0(0x12e))/0xb;if(_0xebeade===_0x3ef922)break;else _0x2f55e9['push'](_0x2f55e9['shift']());}catch(_0x224746){_0x2f55e9['push'](_0x2f55e9['shift']());}}}(_0x54b5,0x1cfba));import{getTranslation as _0x240e45}from'./utils/common-translations.js';import{priorities as _0x3fc5f1,insertToPriorityArray as _0x10167b}from'ckeditor5/src/utils.js';function _0x54b5(){const _0x133680=['softBreak','19833mIOPAq','$text','ELEMENT_SPACE','_handleInsertRemoveSuggestionDescription','2238220qwKdYq','format','normal','8086067QIuRbJ','removeContainer','registerDescriptionCallback','checkChild','set','start','getDescriptions','18MNnDdC','_customCallbacks','*Merge:*\x20%0','100SNKHKp','nextSibling','*Split:*\x20%0','map','text','1SVkwDV','removeFormat','547464zxddWh','isObject','*Change\x20to:*\x20%0','data','key','element','newValue','addFormat','nodeAfter','5BpNAjS','name','104982AVaNkL','addContainer','_locale','_handleCustomCallbackDescription','item','_handleRenameSuggestionDescription','_addDescriptionItems','has','label','push','addEmptyContainer','Container','remove','insertion','registerAttributeLabel','function','matchingCallback','match','_attributeLabels','registerElementLabel','_itemLabels','removeObject','1273554ZeygtR','EmptyContainer','*Remove\x20format:*\x20%0','type','*Insert:*\x20%0','skip','Object','removeEmptyContainer','REPLACE_TEXT','elementStart','pop','$textProxy','$1\x20$2','quantity','addObject','indexOf','getItemLabel','add','deletion','attribute','join','isEmpty','end','*Remove:*\x20%0','_handleAttributeSuggestionDescription','length','_resolveDescriptionItems','replace','getWalker','*Set\x20format:*\x20%0','_itemLabelsCallbacks','441686lZqTlA','previousSibling','_schema','subType','isEqual','get','getFirstRange','isInContent','elementEnd'];_0x54b5=function(){return _0x133680;};return _0x54b5();}import{renameAttributeKey as _0x390afb}from'./trackchangesediting.js';function _0x427b(_0x1d7871,_0x439aff){const _0x54b5a6=_0x54b5();return _0x427b=function(_0x427b83,_0x357e2e){_0x427b83=_0x427b83-0x116;let _0x5c1558=_0x54b5a6[_0x427b83];return _0x5c1558;},_0x427b(_0x1d7871,_0x439aff);}export class SuggestionDescriptionFactory{[_0x27d15d(0x136)];[_0x27d15d(0x15e)];[_0x27d15d(0x11c)];[_0x27d15d(0x15c)];[_0x27d15d(0x11f)];[_0x27d15d(0x14c)];constructor(_0x5d1158,_0x57cc52){const _0x30d390=_0x27d15d;this[_0x30d390(0x136)]=[],this[_0x30d390(0x15e)]=new Map(),this[_0x30d390(0x11c)]=[],this[_0x30d390(0x15c)]=new Map(),this[_0x30d390(0x11f)]=_0x5d1158,this[_0x30d390(0x14c)]=_0x57cc52;}[_0x27d15d(0x134)](_0x175355){const _0x5eabb4=_0x27d15d,_0x20349a=[],_0x30b60f=new Set(),_0x9e47d3=new Set();for(let _0x5c656f=0x0;_0x5c656f<_0x175355[_0x5eabb4(0x117)];_0x5c656f++){const _0x2d2142=_0x175355[_0x5c656f];if(!_0x2d2142[_0x5eabb4(0x124)])continue;const _0x32fd84=this[_0x5eabb4(0x14d)](_0x2d2142);if(_0x32fd84){if(null!=_0x2d2142[_0x5eabb4(0x120)]){if(_0x30b60f[_0x5eabb4(0x151)](_0x2d2142[_0x5eabb4(0x120)]))continue;_0x30b60f[_0x5eabb4(0x171)](_0x2d2142[_0x5eabb4(0x120)]);}_0x20349a[_0x5eabb4(0x153)](_0x32fd84);}else{if(_0x5eabb4(0x173)==_0x2d2142[_0x5eabb4(0x163)]){const _0x232f7b=_0x2d2142[_0x5eabb4(0x142)][_0x5eabb4(0x143)];if(_0x9e47d3[_0x5eabb4(0x151)](_0x232f7b))continue;_0x9e47d3[_0x5eabb4(0x171)](_0x2d2142[_0x5eabb4(0x142)][_0x5eabb4(0x143)]),_0x232f7b==_0x390afb?this[_0x5eabb4(0x14f)](_0x20349a,_0x2d2142):this[_0x5eabb4(0x116)](_0x20349a,_0x2d2142);continue;}_0x5eabb4(0x157)!=_0x2d2142[_0x5eabb4(0x163)]&&_0x5eabb4(0x172)!=_0x2d2142[_0x5eabb4(0x163)]||this[_0x5eabb4(0x12a)](_0x20349a,_0x2d2142,_0x175355[_0x5c656f+0x1]);}}return this[_0x5eabb4(0x118)](_0x20349a);}[_0x27d15d(0x130)](_0xc6288e){const _0x29ddaf=_0x27d15d;this[_0x29ddaf(0x136)][_0x29ddaf(0x153)](_0xc6288e);}[_0x27d15d(0x15d)](_0x56b939,_0x5f0ea0,_0x4b828e=_0x3fc5f1[_0x27d15d(0x12d)]){const _0x286f1f=_0x27d15d;_0x286f1f(0x159)==typeof _0x56b939?_0x10167b(this[_0x286f1f(0x11c)],{'matchingCallback':_0x56b939,'label':_0x5f0ea0,'priority':_0x4b828e}):this[_0x286f1f(0x15e)][_0x286f1f(0x132)](_0x56b939,_0x5f0ea0);}[_0x27d15d(0x158)](_0x2ce3bb,_0xae8ed6){const _0x553a82=_0x27d15d;this[_0x553a82(0x15c)][_0x553a82(0x132)](_0x2ce3bb,_0xae8ed6);}[_0x27d15d(0x170)](_0x81aca9,_0x23ae7e=0x1){const _0x31d202=_0x27d15d;let _0x2b0258;for(const _0x5d97e3 of this[_0x31d202(0x11c)])if(_0x5d97e3[_0x31d202(0x15a)](_0x81aca9)){_0x2b0258=_0x5d97e3[_0x31d202(0x152)];break;}return _0x2b0258||(_0x2b0258=this[_0x31d202(0x15e)][_0x31d202(0x122)](_0x81aca9[_0x31d202(0x149)])),_0x2b0258?_0x2b0258(_0x23ae7e):0x1!==_0x23ae7e?_0x23ae7e+'\x20'+_0x81aca9[_0x31d202(0x149)]+'s':''+_0x81aca9[_0x31d202(0x149)];}[_0x27d15d(0x150)](_0x290812,_0x1de072){const _0x12c6cf=_0x27d15d,_0x1b9d12=_0x1de072[_0x12c6cf(0x123)]()[_0x12c6cf(0x11a)](),_0x276422=_0x12c6cf(0x157)==_0x1de072[_0x12c6cf(0x163)]?_0x12c6cf(0x171):_0x12c6cf(0x156);for(const _0x364d83 of _0x1b9d12){const _0x47de6a=_0x364d83[_0x12c6cf(0x14e)],_0x3979aa=_0x290812[_0x290812[_0x12c6cf(0x117)]-0x1];if(_0x47de6a['is'](_0x12c6cf(0x16b)))_0x3979aa&&_0x3979aa[_0x12c6cf(0x163)][_0x12c6cf(0x16f)](_0x12c6cf(0x155))>-0x1&&_0x290812[_0x12c6cf(0x16a)](),_0x3979aa&&_0x12c6cf(0x13c)==_0x3979aa[_0x12c6cf(0x163)]?_0x3979aa[_0x276422]+=_0x47de6a[_0x12c6cf(0x142)]:_0x290812[_0x12c6cf(0x153)]({'type':_0x12c6cf(0x13c),'add':_0x12c6cf(0x171)==_0x276422?_0x47de6a[_0x12c6cf(0x142)]:'','remove':_0x12c6cf(0x156)==_0x276422?_0x47de6a[_0x12c6cf(0x142)]:''});else{if(this[_0x12c6cf(0x11f)][_0x12c6cf(0x140)](_0x47de6a)){const _0x3d8230=_0x47de6a;if(_0x3979aa&&_0x3979aa[_0x12c6cf(0x163)][_0x12c6cf(0x16f)](_0x12c6cf(0x155))>-0x1&&_0x290812[_0x12c6cf(0x16a)](),_0x12c6cf(0x125)==_0x364d83[_0x12c6cf(0x163)])continue;_0x3979aa&&_0x3979aa[_0x12c6cf(0x163)]==_0x276422+_0x12c6cf(0x166)&&_0x3979aa[_0x12c6cf(0x144)][_0x12c6cf(0x149)]==_0x3d8230[_0x12c6cf(0x149)]?_0x3979aa[_0x12c6cf(0x16d)]++:_0x290812[_0x12c6cf(0x153)]({'type':_0x276422+_0x12c6cf(0x166),'element':_0x3d8230,'quantity':0x1}),_0x1b9d12[_0x12c6cf(0x165)](_0x3976cd=>!(_0x12c6cf(0x125)==_0x3976cd[_0x12c6cf(0x163)]&&_0x3976cd[_0x12c6cf(0x14e)]==_0x47de6a));}else{if(this[_0x12c6cf(0x11f)][_0x12c6cf(0x131)](_0x47de6a,_0x12c6cf(0x128))||_0x47de6a['is'](_0x12c6cf(0x144),_0x12c6cf(0x126))){const _0x93c4da=_0x47de6a;if(_0x12c6cf(0x171)==_0x276422&&_0x12c6cf(0x169)==_0x364d83[_0x12c6cf(0x163)]||_0x12c6cf(0x156)==_0x276422&&_0x12c6cf(0x125)==_0x364d83[_0x12c6cf(0x163)])continue;if(_0x3979aa&&-0x1==_0x3979aa[_0x12c6cf(0x163)][_0x12c6cf(0x16f)](_0x12c6cf(0x155))){_0x12c6cf(0x13c)==_0x3979aa[_0x12c6cf(0x163)]&&(_0x3979aa[_0x276422]+='\x0a');continue;}let _0x5ab43f;if(_0x5ab43f=_0x12c6cf(0x171)==_0x276422?_0x93c4da[_0x12c6cf(0x139)]&&!this[_0x12c6cf(0x11f)][_0x12c6cf(0x140)](_0x93c4da[_0x12c6cf(0x139)])?_0x93c4da[_0x12c6cf(0x139)]:null:_0x93c4da[_0x12c6cf(0x11e)]&&!this[_0x12c6cf(0x11f)][_0x12c6cf(0x140)](_0x93c4da[_0x12c6cf(0x11e)])?_0x93c4da[_0x12c6cf(0x11e)]:null,_0x93c4da[_0x12c6cf(0x175)]||_0x5ab43f&&_0x5ab43f[_0x12c6cf(0x175)]){const _0x383c24=_0x5ab43f&&_0x5ab43f[_0x12c6cf(0x175)]?_0x5ab43f:_0x93c4da;_0x3979aa&&_0x3979aa[_0x12c6cf(0x163)]==_0x276422+_0x12c6cf(0x161)&&_0x3979aa[_0x12c6cf(0x144)][_0x12c6cf(0x149)]==_0x383c24[_0x12c6cf(0x149)]?_0x3979aa[_0x12c6cf(0x16d)]++:_0x290812[_0x12c6cf(0x153)]({'type':_0x276422+_0x12c6cf(0x161),'element':_0x383c24,'quantity':0x1});}else _0x290812[_0x12c6cf(0x153)]({'type':_0x276422+_0x12c6cf(0x155),'element':_0x93c4da});}}}}}[_0x27d15d(0x118)](_0x49f953){const _0x471408=_0x27d15d,_0x529ed4=this[_0x471408(0x14c)],_0x1da196=[],_0x4fc216=[],_0x439543=[];for(const _0x553442 of _0x49f953)switch(_0x553442[_0x471408(0x163)]){case _0x471408(0x13c):if(_0x553442[_0x471408(0x171)]=_0x553442[_0x471408(0x171)][_0x471408(0x119)](/(\S)\u000A+(\S)/g,_0x471408(0x16c))[_0x471408(0x119)](/\u000A/g,''),_0x553442[_0x471408(0x156)]=_0x553442[_0x471408(0x156)][_0x471408(0x119)](/(\S)\u000A+(\S)/g,_0x471408(0x16c))[_0x471408(0x119)](/\u000A/g,''),''!=_0x553442[_0x471408(0x171)]&&''!=_0x553442[_0x471408(0x156)]){_0x1da196[_0x471408(0x153)]({'type':_0x471408(0x119),'content':_0x240e45(_0x529ed4,_0x471408(0x168),['\x22'+_0x553442[_0x471408(0x156)]+'\x22','\x22'+_0x553442[_0x471408(0x171)]+'\x22'])});continue;}if(null!=_0x553442[_0x471408(0x171)][_0x471408(0x15b)](/^ +$/)){_0x1da196[_0x471408(0x153)]({'type':_0x471408(0x157),'content':_0x240e45(_0x529ed4,_0x471408(0x164),_0x240e45(_0x529ed4,_0x471408(0x129),_0x553442[_0x471408(0x171)][_0x471408(0x117)]))});continue;}if(null!=_0x553442[_0x471408(0x156)][_0x471408(0x15b)](/^ +$/)){_0x1da196[_0x471408(0x153)]({'type':_0x471408(0x172),'content':_0x240e45(_0x529ed4,_0x471408(0x177),_0x240e45(_0x529ed4,_0x471408(0x129),_0x553442[_0x471408(0x156)][_0x471408(0x117)]))});continue;}if(''!=_0x553442[_0x471408(0x171)]){_0x1da196[_0x471408(0x153)]({'type':_0x471408(0x157),'content':_0x240e45(_0x529ed4,_0x471408(0x164),'\x22'+_0x553442[_0x471408(0x171)]+'\x22')});continue;}_0x1da196[_0x471408(0x153)]({'type':_0x471408(0x172),'content':_0x240e45(_0x529ed4,_0x471408(0x177),'\x22'+_0x553442[_0x471408(0x156)]+'\x22')});continue;case _0x471408(0x154):case _0x471408(0x16e):_0x1da196[_0x471408(0x153)]({'type':_0x471408(0x157),'content':_0x240e45(_0x529ed4,_0x471408(0x164),this[_0x471408(0x170)](_0x553442[_0x471408(0x144)],_0x553442[_0x471408(0x16d)]))});continue;case _0x471408(0x167):case _0x471408(0x15f):_0x1da196[_0x471408(0x153)]({'type':_0x471408(0x172),'content':_0x240e45(_0x529ed4,_0x471408(0x177),this[_0x471408(0x170)](_0x553442[_0x471408(0x144)],_0x553442[_0x471408(0x16d)]))});continue;case _0x471408(0x14b):_0x1da196[_0x471408(0x153)]({'type':_0x471408(0x157),'content':_0x240e45(_0x529ed4,_0x471408(0x13a),this[_0x471408(0x170)](_0x553442[_0x471408(0x144)],_0x553442[_0x471408(0x16d)]))});continue;case _0x471408(0x12f):_0x1da196[_0x471408(0x153)]({'type':_0x471408(0x172),'content':_0x240e45(_0x529ed4,_0x471408(0x137),this[_0x471408(0x170)](_0x553442[_0x471408(0x144)],_0x553442[_0x471408(0x16d)]))});continue;case _0x471408(0x146):_0x4fc216[_0x471408(0x153)](_0x553442[_0x471408(0x143)]);continue;case _0x471408(0x13e):_0x439543[_0x471408(0x153)](_0x553442[_0x471408(0x143)]);continue;default:_0x1da196[_0x471408(0x153)](_0x553442);}if(_0x4fc216[_0x471408(0x117)]){const _0x3ddc2b=_0x4fc216[_0x471408(0x13b)](_0x96a86=>this[_0x471408(0x15c)][_0x471408(0x151)](_0x96a86)?this[_0x471408(0x15c)][_0x471408(0x122)](_0x96a86):_0x96a86)[_0x471408(0x174)](',\x20');_0x1da196[_0x471408(0x153)]({'type':_0x471408(0x12c),'content':_0x240e45(this[_0x471408(0x14c)],_0x471408(0x11b),_0x3ddc2b)});}if(_0x439543[_0x471408(0x117)]){const _0x236217=_0x439543[_0x471408(0x13b)](_0x2983b3=>this[_0x471408(0x15c)][_0x471408(0x151)](_0x2983b3)?this[_0x471408(0x15c)][_0x471408(0x122)](_0x2983b3):_0x2983b3)[_0x471408(0x174)](',\x20');_0x1da196[_0x471408(0x153)]({'type':_0x471408(0x12c),'content':_0x240e45(this[_0x471408(0x14c)],_0x471408(0x162),_0x236217)});}return _0x1da196;}[_0x27d15d(0x14d)](_0x15c0b9){const _0xee974=_0x27d15d;for(const _0x3e5520 of this[_0xee974(0x136)]){const _0x4be6f0=_0x3e5520(_0x15c0b9);if(_0x4be6f0&&_0xee974(0x163)in _0x4be6f0)return _0x4be6f0;}}[_0x27d15d(0x116)](_0x2fd164,_0x2ba694){const _0x528506=_0x27d15d,_0x29ee4b=_0x2ba694[_0x528506(0x142)],_0x19880b=void 0x0===_0x29ee4b[_0x528506(0x145)]?_0x528506(0x13e):_0x528506(0x146);_0x2fd164[_0x528506(0x153)]({'type':_0x19880b,'key':_0x29ee4b[_0x528506(0x143)]});}[_0x27d15d(0x14f)](_0x3b693a,_0x99555b){const _0x3e2087=_0x27d15d;_0x3b693a[_0x3e2087(0x153)]({'type':_0x3e2087(0x12c),'content':_0x240e45(this[_0x3e2087(0x14c)],_0x3e2087(0x141),this[_0x3e2087(0x170)](_0x99555b[_0x3e2087(0x123)]()[_0x3e2087(0x133)][_0x3e2087(0x147)],0x1))});}[_0x27d15d(0x12a)](_0x38cce1,_0x957f3a,_0x45b7d4){const _0xab311=_0x27d15d;if(this[_0xab311(0x150)](_0x38cce1,_0x957f3a),_0x45b7d4&&_0x45b7d4[_0xab311(0x123)]()&&!_0x957f3a[_0xab311(0x123)]()[_0xab311(0x176)][_0xab311(0x121)](_0x45b7d4[_0xab311(0x123)]()[_0xab311(0x133)])){const _0x3a66fe=_0x38cce1[_0x38cce1[_0xab311(0x117)]-0x1],_0x13b75a=_0xab311(0x157)==_0x957f3a[_0xab311(0x163)]?_0xab311(0x171):_0xab311(0x156);_0x3a66fe&&_0xab311(0x13c)==_0x3a66fe[_0xab311(0x163)]&&(_0x3a66fe[_0x13b75a]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x116d3c=_0x586f;(function(_0x240793,_0x38c38f){var _0x363bb3=_0x586f,_0x360832=_0x240793();while(!![]){try{var _0x259ad6=-parseInt(_0x363bb3(0xef))/0x1*(-parseInt(_0x363bb3(0xda))/0x2)+parseInt(_0x363bb3(0xe6))/0x3+-parseInt(_0x363bb3(0xdc))/0x4+-parseInt(_0x363bb3(0xe1))/0x5*(-parseInt(_0x363bb3(0xee))/0x6)+-parseInt(_0x363bb3(0xe9))/0x7+-parseInt(_0x363bb3(0xd8))/0x8*(parseInt(_0x363bb3(0xe8))/0x9)+-parseInt(_0x363bb3(0xdb))/0xa;if(_0x259ad6===_0x38c38f)break;else _0x360832['push'](_0x360832['shift']());}catch(_0x5e9671){_0x360832['push'](_0x360832['shift']());}}}(_0x1c83,0x8d972));function _0x586f(_0x59d136,_0x232d53){var _0x1c8385=_0x1c83();return _0x586f=function(_0x586f45,_0x534cad){_0x586f45=_0x586f45-0xd8;var _0x5111bb=_0x1c8385[_0x586f45];return _0x5111bb;},_0x586f(_0x59d136,_0x232d53);}import{Plugin as _0x22e262}from'ckeditor5/src/core.js';function _0x1c83(){var _0x253bfb=['5pHivHn','pluginName','addSuggestionData','Comments','isOfficialPlugin','1688862dvshBB','adapter','9AfzFkV','4278456zJBQYc','get','requires','getSuggestions','getSuggestion','2588472hiDAVk','141773fcZLQL','3527272rgVTfv','editor','14ChNLYn','352920budWms','1277656EoCijD','addSuggestion','plugins','isPremiumPlugin','TrackChanges'];_0x1c83=function(){return _0x253bfb;};return _0x1c83();}import{TrackChangesUI as _0x4070b}from'./trackchangesui.js';import{TrackChangesEditing as _0x5189b6}from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x22e262{static get[_0x116d3c(0xeb)](){var _0xe218b5=_0x116d3c;return[_0x5189b6,_0x4070b,_0xe218b5(0xe4)];}static get[_0x116d3c(0xe2)](){var _0x6b605e=_0x116d3c;return _0x6b605e(0xe0);}static get[_0x116d3c(0xe5)](){return!0x0;}static get[_0x116d3c(0xdf)](){return!0x0;}set[_0x116d3c(0xe7)](_0x8a07d8){var _0x5cfe76=_0x116d3c;this[_0x5cfe76(0xd9)][_0x5cfe76(0xde)][_0x5cfe76(0xea)](_0x5189b6)[_0x5cfe76(0xe7)]=_0x8a07d8;}get[_0x116d3c(0xe7)](){var _0x5b2c2d=_0x116d3c;return this[_0x5b2c2d(0xd9)][_0x5b2c2d(0xde)][_0x5b2c2d(0xea)](_0x5189b6)[_0x5b2c2d(0xe7)];}[_0x116d3c(0xdd)](_0x3834bc){var _0x5542c9=_0x116d3c;return this[_0x5542c9(0xd9)][_0x5542c9(0xde)][_0x5542c9(0xea)](_0x5189b6)[_0x5542c9(0xe3)](_0x3834bc);}[_0x116d3c(0xec)]({skipNotAttached:_0x39db99=!0x1,toJSON:_0x2c4150=!0x1}={}){var _0x2ba102=_0x116d3c;return this[_0x2ba102(0xd9)][_0x2ba102(0xde)][_0x2ba102(0xea)](_0x5189b6)[_0x2ba102(0xec)]({'skipNotAttached':_0x39db99,'toJSON':_0x2c4150});}[_0x116d3c(0xed)](_0x40578b){var _0x504fab=_0x116d3c;return this[_0x504fab(0xd9)][_0x504fab(0xde)][_0x504fab(0xea)](_0x5189b6)[_0x504fab(0xed)](_0x40578b);}}
|