@ckeditor/ckeditor5-track-changes 46.1.1 → 47.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +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/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.d.ts +3 -3
- 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
|
-
const
|
|
23
|
+
const _0x5c78be=_0x276a;(function(_0x45319c,_0x17a16f){const _0x26669d=_0x276a,_0x4939bd=_0x45319c();while(!![]){try{const _0x26a1bd=-parseInt(_0x26669d(0x1db))/0x1*(-parseInt(_0x26669d(0x1de))/0x2)+-parseInt(_0x26669d(0x1e6))/0x3+parseInt(_0x26669d(0x218))/0x4+-parseInt(_0x26669d(0x1f6))/0x5*(-parseInt(_0x26669d(0x207))/0x6)+-parseInt(_0x26669d(0x20a))/0x7+-parseInt(_0x26669d(0x20e))/0x8*(parseInt(_0x26669d(0x1dd))/0x9)+-parseInt(_0x26669d(0x1ee))/0xa;if(_0x26a1bd===_0x17a16f)break;else _0x4939bd['push'](_0x4939bd['shift']());}catch(_0x2072d0){_0x4939bd['push'](_0x4939bd['shift']());}}}(_0x3b0a,0xdd536));import{Plugin as _0x348aa6}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x5e3377}from'./table.js';function _0x3b0a(){const _0x56635b=['headingRows','addMarker:suggestion','plugins','formatBlock','*Format:*\x20%0','nodeBefore','removeClass','end','_splitMarkerName','setTableColumnHeader','includes','item','FORMAT_HEADER_COLUMN','_handleLegacySuggestions','registerAttributeLabel','22314FxcjqY','writer','type','2973481PLgvht','commandName','getSuggestion','accept','1808928dXmPQu','getCellLocation','markerName','cell','registerDescriptionCallback','highest','markerRange','removeAttribute','_registerLegacyDescription','nodeAfter','3075016sDoIlW','hasSuggestion','forceValue','addClass','ck-suggestion-marker-','activeMarkers','editor','_acceptFormatSuggestionCallbackFactory','showSuggestionHighlights','consumable','name','FORMAT_REGULAR_COLUMN','unbindElementFromMarkerName','setAttribute','locale','TableEditing','commandParams','_suggestionFactory','editing','data','consume','TableUtils','FORMAT_HEADER_ROW','registerCustomCallback','has','downcastDispatcher','41911MjVQGJ','registerBlockAttribute','9MCNDpO','86tbOuCy','data-suggestion','options','createTableWalker','TrackChangesEditing','mapper','FORMAT_REGULAR_ROW','bindElementToMarker','2789661BmaYGQ','enableDefaultAttributesIntegration','format','afterInit','removeMarker:suggestion','get','requires','setTableRowHeader','14149930FZNBeQ','ck-suggestion-marker--active','headingColumns','markerNameToElements','toViewElement','descriptionFactory','start','parent','1790CpDLGc','stop'];_0x3b0a=function(){return _0x56635b;};return _0x3b0a();}function _0x276a(_0x4a67a5,_0x31c7d4){const _0x3b0a39=_0x3b0a();return _0x276a=function(_0x276a48,_0x38a7ba){_0x276a48=_0x276a48-0x1c6;let _0x9ab094=_0x3b0a39[_0x276a48];return _0x9ab094;},_0x276a(_0x4a67a5,_0x31c7d4);}import{getTranslation as _0x586b15}from'../utils/common-translations.js';export class TrackChangesTableHeadings extends _0x348aa6{static get[_0x5c78be(0x1ec)](){return[_0x5e3377];}[_0x5c78be(0x1e9)](){const _0x3ef3d0=_0x5c78be,_0x3f7dae=this[_0x3ef3d0(0x1c7)];if(!_0x3f7dae[_0x3ef3d0(0x1fa)][_0x3ef3d0(0x1d9)](_0x3ef3d0(0x1d0)))return;const _0x3f2433=_0x3f7dae[_0x3ef3d0(0x1cf)],_0x25e39c=_0x3f7dae[_0x3ef3d0(0x1fa)][_0x3ef3d0(0x1eb)](_0x3ef3d0(0x1e2));_0x25e39c[_0x3ef3d0(0x1e7)](_0x3ef3d0(0x1ed)),_0x25e39c[_0x3ef3d0(0x1e7)](_0x3ef3d0(0x201)),_0x25e39c[_0x3ef3d0(0x1dc)](_0x3ef3d0(0x1f8)),_0x25e39c[_0x3ef3d0(0x1dc)](_0x3ef3d0(0x1f0)),_0x25e39c[_0x3ef3d0(0x1f3)][_0x3ef3d0(0x206)](_0x3ef3d0(0x1f8),_0x586b15(_0x3f2433,_0x3ef3d0(0x1d7))),_0x25e39c[_0x3ef3d0(0x1f3)][_0x3ef3d0(0x206)](_0x3ef3d0(0x1f0),_0x586b15(_0x3f2433,_0x3ef3d0(0x204))),this[_0x3ef3d0(0x205)]();}[_0x5c78be(0x205)](){const _0x1e5f32=_0x5c78be,_0x19fbaa=this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1fa)][_0x1e5f32(0x1eb)](_0x1e5f32(0x1e2)),_0xa231d3=this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1fa)][_0x1e5f32(0x1eb)](_0x1e5f32(0x1d6)),_0x12d7a2=this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1fa)][_0x1e5f32(0x1eb)](_0x5e3377)[_0x1e5f32(0x1c8)]();function _0x2ea3ae({showActiveMarker:_0x3d7d1a=!0x0,setDataAttribute:_0x1f23ee=!0x0}={}){return(_0x37fbb6,_0x143ee8,_0x91316d)=>{const _0x12370f=_0x276a,{type:_0x119c1e,id:_0x212027}=_0x19fbaa[_0x12370f(0x200)](_0x143ee8[_0x12370f(0x210)]);if(!_0x19fbaa[_0x12370f(0x219)](_0x212027))return;const _0x2f2e22=_0x19fbaa[_0x12370f(0x20c)](_0x212027),_0xf3c33e=_0x2f2e22[_0x12370f(0x1d4)];if(_0x12370f(0x1fb)!=_0x2f2e22[_0x12370f(0x209)]||!_0xf3c33e||_0x12370f(0x201)!=_0xf3c33e[_0x12370f(0x20b)])return;if(_0x143ee8[_0x12370f(0x203)])return void _0x37fbb6[_0x12370f(0x1f7)]();if(!_0x91316d[_0x12370f(0x1ca)][_0x12370f(0x1d5)](_0x143ee8[_0x12370f(0x214)],_0x37fbb6[_0x12370f(0x1cb)]))return;const _0x2d515d=_0x143ee8[_0x12370f(0x214)][_0x12370f(0x1f4)][_0x12370f(0x217)],_0x3b68ab=_0x143ee8[_0x12370f(0x214)][_0x12370f(0x1ff)][_0x12370f(0x1fd)],_0x54a451=_0x2d515d[_0x12370f(0x1f5)][_0x12370f(0x1f5)],{column:_0x4de6ec}=_0xa231d3[_0x12370f(0x20f)](_0x2d515d),{column:_0x71fae1}=_0xa231d3[_0x12370f(0x20f)](_0x3b68ab);for(let _0x5bbf4f=_0x4de6ec;_0x5bbf4f<=_0x71fae1;_0x5bbf4f++){const _0x5e63a4=_0xa231d3[_0x12370f(0x1e1)](_0x54a451,{'column':_0x5bbf4f,'includeAllSlots':!0x1});for(const _0x115e91 of _0x5e63a4){const _0x5479ef=_0x115e91[_0x12370f(0x211)],_0x54cb77=_0x91316d[_0x12370f(0x1e3)][_0x12370f(0x1f2)](_0x5479ef);_0x91316d[_0x12370f(0x208)][_0x12370f(0x21b)](_0x12370f(0x21c)+_0x119c1e,_0x54cb77),_0x1f23ee&&_0x91316d[_0x12370f(0x208)][_0x12370f(0x1ce)](_0x12370f(0x1df),_0x212027,_0x54cb77),_0x91316d[_0x12370f(0x1e3)][_0x12370f(0x1e5)](_0x54cb77,_0x143ee8[_0x12370f(0x210)]),_0x3d7d1a&&(_0x19fbaa[_0x12370f(0x1c6)][_0x12370f(0x202)](_0x143ee8[_0x12370f(0x210)])?_0x91316d[_0x12370f(0x208)][_0x12370f(0x21b)](_0x12370f(0x1ef),_0x54cb77):_0x91316d[_0x12370f(0x208)][_0x12370f(0x1fe)](_0x12370f(0x1ef),_0x54cb77));}}};}_0x19fbaa[_0x1e5f32(0x1d2)][_0x1e5f32(0x1d8)](_0x1e5f32(0x1fb),_0x1e5f32(0x1ed),_0x1e5f32(0x20d),_0x12d7a2),_0x19fbaa[_0x1e5f32(0x1d2)][_0x1e5f32(0x1d8)](_0x1e5f32(0x1fb),_0x1e5f32(0x201),_0x1e5f32(0x20d),_0x12d7a2),this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1d3)][_0x1e5f32(0x1da)]['on'](_0x1e5f32(0x1f9),_0x2ea3ae(),{'priority':_0x1e5f32(0x213)}),this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1d4)][_0x1e5f32(0x1da)]['on'](_0x1e5f32(0x1f9),(_0x2e8856,_0x56fb60,_0xd8cd69)=>{const _0x384794=_0x1e5f32;_0xd8cd69[_0x384794(0x1e0)][_0x384794(0x1c9)]&&_0x2ea3ae({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2e8856,_0x56fb60,_0xd8cd69);},{'priority':_0x1e5f32(0x213)}),this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1d3)][_0x1e5f32(0x1da)]['on'](_0x1e5f32(0x1ea),(_0x4d64f4,_0x243318,_0x2253bc)=>{const _0x49a615=_0x1e5f32,{type:_0x3051e8,id:_0x4f8774}=_0x19fbaa[_0x49a615(0x200)](_0x243318[_0x49a615(0x210)]);if(!_0x19fbaa[_0x49a615(0x219)](_0x4f8774))return;const _0x3e5b2c=_0x19fbaa[_0x49a615(0x20c)](_0x4f8774),_0x4673e8=_0x3e5b2c[_0x49a615(0x1d4)];if(_0x49a615(0x1fb)!=_0x3e5b2c[_0x49a615(0x209)]||!_0x4673e8||_0x49a615(0x201)!=_0x4673e8[_0x49a615(0x20b)])return;const _0x8cfdc4=_0x2253bc[_0x49a615(0x1e3)][_0x49a615(0x1f1)](_0x243318[_0x49a615(0x210)]);if(_0x8cfdc4){for(const _0x7c442f of _0x8cfdc4)_0x2253bc[_0x49a615(0x208)][_0x49a615(0x1fe)](_0x49a615(0x21c)+_0x3051e8,_0x7c442f),_0x2253bc[_0x49a615(0x208)][_0x49a615(0x1fe)](_0x49a615(0x1ef),_0x7c442f),_0x2253bc[_0x49a615(0x208)][_0x49a615(0x215)](_0x49a615(0x1df),_0x7c442f),_0x2253bc[_0x49a615(0x1e3)][_0x49a615(0x1cd)](_0x7c442f,_0x243318[_0x49a615(0x210)]);}},{'priority':_0x1e5f32(0x213)}),this[_0x1e5f32(0x216)]();}[_0x5c78be(0x216)](){const _0x21da4b=_0x5c78be,_0xa1dd84=this[_0x21da4b(0x1c7)],_0x57adf4=_0xa1dd84[_0x21da4b(0x1cf)];function _0x3615c9(_0x46f012){const _0x54491f=_0x21da4b;return{'type':_0x54491f(0x1e8),'content':_0x586b15(_0x57adf4,_0x54491f(0x1fc),_0x46f012)};}_0xa1dd84[_0x21da4b(0x1fa)][_0x21da4b(0x1eb)](_0x21da4b(0x1e2))[_0x21da4b(0x1f3)][_0x21da4b(0x212)](_0x23ec4b=>{const _0x240151=_0x21da4b;if(_0x240151(0x1fb)!=_0x23ec4b[_0x240151(0x209)])return;const {data:_0x62fbab}=_0x23ec4b;if(_0x62fbab){if(_0x240151(0x1ed)==_0x62fbab[_0x240151(0x20b)]){const _0x532271=_0x62fbab[_0x240151(0x1d1)][0x0][_0x240151(0x21a)];return _0x3615c9(_0x586b15(_0x57adf4,_0x532271?_0x240151(0x1d7):_0x240151(0x1e4)));}if(_0x240151(0x201)==_0x62fbab[_0x240151(0x20b)]){const _0x16e6a9=_0x62fbab[_0x240151(0x1d1)][0x0][_0x240151(0x21a)];return _0x3615c9(_0x586b15(_0x57adf4,_0x16e6a9?_0x240151(0x204):_0x240151(0x1cc)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x47d4(_0x448335,_0x4e614a){const _0x5b6247=_0x5b62();return _0x47d4=function(_0x47d490,_0x3eac4b){_0x47d490=_0x47d490-0xe5;let _0x137e56=_0x5b6247[_0x47d490];return _0x137e56;},_0x47d4(_0x448335,_0x4e614a);}const _0x106bc3=_0x47d4;function _0x5b62(){const _0x18fcc1=['TrackChangesEditing','634284PbAcgk','enableCommand','newValue','get','insertTableLayout','TableLayout','27805014giqNrV','2554520GrJLPo','enableDefaultAttributesIntegration','table','locale','registerElementLabel','4554888iLEqkW','registerDescriptionCallback','getAttribute','ELEMENT_CONTENT_TABLE','*Set\x20table\x20type:*\x20%0','layout','10CYjSna','tableType','editor','3372060yiVFQm','ELEMENT_LAYOUT_TABLE','content','registerBlockAttribute','format','7dQSvHh','1175895bIVUzw','afterInit','descriptionFactory','key','element','plugins','has','869560PXSylZ'];_0x5b62=function(){return _0x18fcc1;};return _0x5b62();}(function(_0x180e18,_0x538cf5){const _0x1cf158=_0x47d4,_0x353e39=_0x180e18();while(!![]){try{const _0x4befa0=-parseInt(_0x1cf158(0x104))/0x1+-parseInt(_0x1cf158(0xf0))/0x2+-parseInt(_0x1cf158(0xfe))/0x3+parseInt(_0x1cf158(0xe9))/0x4*(parseInt(_0x1cf158(0xfb))/0x5)+parseInt(_0x1cf158(0xf5))/0x6+parseInt(_0x1cf158(0x103))/0x7*(parseInt(_0x1cf158(0xe7))/0x8)+parseInt(_0x1cf158(0xef))/0x9;if(_0x4befa0===_0x538cf5)break;else _0x353e39['push'](_0x353e39['shift']());}catch(_0x41b8c2){_0x353e39['push'](_0x353e39['shift']());}}}(_0x5b62,0xaa3a8));import{Plugin as _0xb55bfe}from'ckeditor5/src/core.js';import{getTranslation as _0xa9799}from'../utils/common-translations.js';export class TrackChangesTableLayout extends _0xb55bfe{[_0x106bc3(0x105)](){const _0x1799dc=_0x106bc3,_0x1cc3db=this[_0x1799dc(0xfd)],_0x5593cc=_0x1cc3db[_0x1799dc(0xf3)],_0x54d0b4=_0x1cc3db[_0x1799dc(0xe5)][_0x1799dc(0xec)](_0x1799dc(0xe8));function _0x2d4d30(_0x527589){const _0x4224bc=_0x1799dc;return{'type':_0x4224bc(0x102),'content':''+_0xa9799(_0x5593cc,_0x4224bc(0xf9),_0x527589)};}_0x1cc3db[_0x1799dc(0xe5)][_0x1799dc(0xe6)](_0x1799dc(0xee))&&(_0x54d0b4[_0x1799dc(0xea)](_0x1799dc(0xed)),_0x54d0b4[_0x1799dc(0xf1)](_0x1799dc(0xfc)),_0x54d0b4[_0x1799dc(0x101)](_0x1799dc(0xfc)),_0x54d0b4[_0x1799dc(0x106)][_0x1799dc(0xf4)](_0x3ac4d5=>_0x3ac4d5['is'](_0x1799dc(0x108),_0x1799dc(0xf2))&&_0x1799dc(0xfa)===_0x3ac4d5[_0x1799dc(0xf7)](_0x1799dc(0xfc)),_0x1ccf5b=>_0xa9799(_0x5593cc,_0x1799dc(0xff),_0x1ccf5b)),_0x54d0b4[_0x1799dc(0x106)][_0x1799dc(0xf6)](_0x43feb7=>{const _0xf3ff81=_0x1799dc,{data:_0x3a3e4c}=_0x43feb7;if(_0x3a3e4c&&_0xf3ff81(0xfc)==_0x3a3e4c[_0xf3ff81(0x107)])switch(_0x3a3e4c[_0xf3ff81(0xeb)]){case _0xf3ff81(0xfa):return _0x2d4d30(_0xa9799(_0x5593cc,_0xf3ff81(0xff)));case _0xf3ff81(0x100):return _0x2d4d30(_0xa9799(_0x5593cc,_0xf3ff81(0xf8)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5dca9b=_0x4da1;function _0x3cef(){const _0x5ce3d3=['isInContent','editor','filter','55265fCAXmF','splitTableCellVertically','4SPLEVE','cell','selection','40VeoZVC','15RENYed','registerCustomCallback','rootName','_acceptFormatSuggestionCallbackFactory','getFirstPosition','type','value','111404cPBDwe','mergeTableCellUp','return','deletion','format','low','refresh','requires','containsRange','set:isEnabled','mergeTableCellRight','descriptionFactory','subType','trackChanges','_areSelectedCellsMergable','insertion','plugins','TableUtils','*Split\x20cell:*\x20vertically','7901490rNvSbP','from','tableCell','change','table','highest','push','forceDefaultExecution','setSelection','registerDescriptionCallback','formatBlock','splitTableCellHorizontally','_isForcedDefaultExecutionBlock','length','detach','mergeTableCellLeft','getCellLocation','locale','_areMergableCells','map','formatInline','mergeTableCells','createRangeOn','_suggestionFactory','model','get','483528jHOFVB','markMultiRangeBlockFormat','3409605KCObtW','execute','stop','379263HJNtMK','commandName','horizontally','afterInit','createTableWalker','$graveyard','document','isEnabled','element','TrackChangesEditing','mergeTableCellDown','getSelectionAffectedTableCells','author','_tablePostFixingSubtypes','add','direction','has','size','*Merge\x20cells*','markBlockFormat','getAncestors','accept','346745LCRaYL','getSuggestions','*Split\x20cell:*\x20horizontally','commands','TableEditing','getRanges','findAncestor','enableCommand','root','fromRange','find'];_0x3cef=function(){return _0x5ce3d3;};return _0x3cef();}(function(_0x164ae9,_0x4fb4f3){const _0x25a1ac=_0x4da1,_0x254634=_0x164ae9();while(!![]){try{const _0xa444b8=-parseInt(_0x25a1ac(0x9e))/0x1+-parseInt(_0x25a1ac(0xa0))/0x2*(-parseInt(_0x25a1ac(0x7a))/0x3)+parseInt(_0x25a1ac(0xab))/0x4*(parseInt(_0x25a1ac(0xa4))/0x5)+parseInt(_0x25a1ac(0x75))/0x6+parseInt(_0x25a1ac(0x90))/0x7*(parseInt(_0x25a1ac(0xa3))/0x8)+parseInt(_0x25a1ac(0x77))/0x9+-parseInt(_0x25a1ac(0xbe))/0xa;if(_0xa444b8===_0x4fb4f3)break;else _0x254634['push'](_0x254634['shift']());}catch(_0x87648c){_0x254634['push'](_0x254634['shift']());}}}(_0x3cef,0x305c9));import{Plugin as _0x30bcdb}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x4f286d}from'./table.js';function _0x4da1(_0x39c163,_0xbc926){const _0x3cefb7=_0x3cef();return _0x4da1=function(_0x4da13d,_0x173095){_0x4da13d=_0x4da13d-0x75;let _0x108cf1=_0x3cefb7[_0x4da13d];return _0x108cf1;},_0x4da1(_0x39c163,_0xbc926);}import{ModelLiveRange as _0x4b7cb4}from'ckeditor5/src/engine.js';import{getTranslation as _0x28f65c}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x30bcdb{static get[_0x5dca9b(0xb2)](){return[_0x4f286d];}[_0x5dca9b(0x7d)](){const _0x4176ca=_0x5dca9b,_0x173d03=this[_0x4176ca(0x9c)],_0x5a5c9b=_0x173d03[_0x4176ca(0xd6)][_0x4176ca(0x80)][_0x4176ca(0xa2)],_0xf473ae=_0x173d03[_0x4176ca(0xcf)];if(!_0x173d03[_0x4176ca(0xbb)][_0x4176ca(0x8a)](_0x4176ca(0x94)))return;const _0x480cab=_0x173d03[_0x4176ca(0xbb)][_0x4176ca(0xd7)](_0x4176ca(0x83)),_0x436dac=_0x173d03[_0x4176ca(0xbb)][_0x4176ca(0xd7)](_0x4176ca(0xbc)),_0x2663d1=_0x173d03[_0x4176ca(0xbb)][_0x4176ca(0xd7)](_0x4f286d);_0x2663d1[_0x4176ca(0x87)][_0x4176ca(0xc4)](_0x4176ca(0xd3)),_0x480cab[_0x4176ca(0x97)](_0x4176ca(0xd3),()=>{const _0x4be77a=_0x4176ca,_0x965259=_0x436dac[_0x4be77a(0x85)](_0x173d03[_0x4be77a(0xd6)][_0x4be77a(0x80)][_0x4be77a(0xa2)]);_0x173d03[_0x4be77a(0xd6)][_0x4be77a(0xc1)](()=>{const _0x49765a=_0x4be77a;_0x480cab[_0x49765a(0x76)](_0x965259,{'commandName':_0x49765a(0xd3),'commandParams':[]},[],_0x49765a(0xd3));});}),_0x173d03[_0x4176ca(0x93)][_0x4176ca(0xd7)](_0x4176ca(0xd3))['on'](_0x4176ca(0x78),(_0x5a4e21,_0x296f6d)=>{const _0x2b77ce=_0x4176ca;_0x173d03[_0x2b77ce(0x93)][_0x2b77ce(0xd7)](_0x2b77ce(0xb8))[_0x2b77ce(0xaa)]&&(_0x296f6d[_0x2b77ce(0xcb)]>0x0&&_0x296f6d[_0x296f6d[_0x2b77ce(0xcb)]-0x1]&&_0x296f6d[_0x296f6d[_0x2b77ce(0xcb)]-0x1][_0x2b77ce(0xc5)]||_0x480cab[_0x2b77ce(0xca)]||this[_0x2b77ce(0xb9)]()||_0x5a4e21[_0x2b77ce(0x79)]());},{'priority':_0x4176ca(0xc3)});for(const _0x5af575 of[_0x4176ca(0xac),_0x4176ca(0xb5),_0x4176ca(0x84),_0x4176ca(0xcd)]){const _0x1a11d0=_0x173d03[_0x4176ca(0x93)][_0x4176ca(0xd7)](_0x5af575);_0x480cab[_0x4176ca(0x97)](_0x5af575,()=>{const _0x26b41a=_0x4176ca,_0x26d7cb=_0x173d03[_0x26b41a(0xd6)][_0x26b41a(0x80)][_0x26b41a(0xa2)][_0x26b41a(0xa8)]()[_0x26b41a(0x8e)]()[_0x26b41a(0x9a)](_0x3be7d3=>_0x3be7d3['is'](_0x26b41a(0x82),_0x26b41a(0xc0))),_0x64965f=_0x1a11d0[_0x26b41a(0xaa)];_0x173d03[_0x26b41a(0xd6)][_0x26b41a(0xc1)](()=>{const _0x202331=_0x26b41a;_0x480cab[_0x202331(0x76)]([_0x26d7cb,_0x64965f],{'commandName':_0x202331(0xd3),'commandParams':[]},[],_0x202331(0xd3));});});}for(const _0x1fb4ff of[_0x4176ca(0x9f),_0x4176ca(0xc9)]){const _0x12b02a=_0x173d03[_0x4176ca(0x93)][_0x4176ca(0xd7)](_0x1fb4ff);_0x480cab[_0x4176ca(0x97)](_0x1fb4ff,()=>{const _0x2fe02b=_0x4176ca,_0x356dc2=_0x436dac[_0x2fe02b(0x85)](_0x173d03[_0x2fe02b(0xd6)][_0x2fe02b(0x80)][_0x2fe02b(0xa2)])[0x0],_0x57ecb1=_0x356dc2[_0x2fe02b(0x96)](_0x2fe02b(0xc2)),{column:_0x448833,row:_0x571816}=_0x436dac[_0x2fe02b(0xce)](_0x356dc2);let _0x58b7ea=[];if(_0x2fe02b(0x7c)==_0x12b02a[_0x2fe02b(0x89)]){const _0x566038=_0x436dac[_0x2fe02b(0x7e)](_0x57ecb1,{'startRow':_0x571816,'endRow':_0x571816,'includeAllSlots':!0x0});_0x58b7ea=Array[_0x2fe02b(0xbf)](_0x566038)[_0x2fe02b(0xd1)](_0x208854=>_0x208854[_0x2fe02b(0xa1)]);}else{const _0x30046b=_0x436dac[_0x2fe02b(0x7e)](_0x57ecb1,{'column':_0x448833,'includeAllSlots':!0x0});_0x58b7ea=Array[_0x2fe02b(0xbf)](_0x30046b)[_0x2fe02b(0xd1)](_0x59a54b=>_0x59a54b[_0x2fe02b(0xa1)]);}_0x173d03[_0x2fe02b(0xd6)][_0x2fe02b(0xc1)](_0x5e4cbb=>{const _0x107e0a=_0x2fe02b;_0x480cab[_0x107e0a(0x8d)](_0x5e4cbb[_0x107e0a(0xd4)](_0x356dc2),{'commandName':_0x1fb4ff,'commandParams':[]},_0x58b7ea,_0x1fb4ff);});});}_0x480cab[_0x4176ca(0xb6)][_0x4176ca(0xc7)](_0x455d6e=>{const _0x1a3ccb=_0x4176ca;if(_0x1a3ccb(0xc8)!=_0x455d6e[_0x1a3ccb(0xa9)]&&_0x1a3ccb(0xd2)!=_0x455d6e[_0x1a3ccb(0xa9)])return;const {data:_0x23b972}=_0x455d6e;return _0x23b972&&_0x1a3ccb(0xd3)==_0x23b972[_0x1a3ccb(0x7b)]?{'type':_0x1a3ccb(0xaf),'content':_0x28f65c(_0xf473ae,_0x1a3ccb(0x8c))}:void 0x0;}),_0x480cab[_0x4176ca(0xb6)][_0x4176ca(0xc7)](_0x267203=>{const _0x48cf21=_0x4176ca;if(_0x48cf21(0xc8)!=_0x267203[_0x48cf21(0xa9)]&&_0x48cf21(0xd2)!=_0x267203[_0x48cf21(0xa9)])return;const {data:_0x3dc33e}=_0x267203;return _0x3dc33e?_0x48cf21(0x9f)==_0x3dc33e[_0x48cf21(0x7b)]?{'type':_0x48cf21(0xaf),'content':_0x28f65c(_0xf473ae,_0x48cf21(0xbd))}:_0x48cf21(0xc9)==_0x3dc33e[_0x48cf21(0x7b)]?{'type':_0x48cf21(0xaf),'content':_0x28f65c(_0xf473ae,_0x48cf21(0x92))}:void 0x0:void 0x0;});const _0x404e28=_0x2663d1[_0x4176ca(0xa7)]();for(const _0x49ebc4 of[_0x4176ca(0xac),_0x4176ca(0xb5),_0x4176ca(0x84),_0x4176ca(0xcd)])_0x480cab[_0x4176ca(0xd5)][_0x4176ca(0xa5)](_0x4176ca(0xc8),_0x49ebc4,_0x4176ca(0x8f),_0x404e28);for(const _0x4d2269 of[_0x4176ca(0x9f),_0x4176ca(0xc9)])_0x480cab[_0x4176ca(0xd5)][_0x4176ca(0xa5)](_0x4176ca(0xc8),_0x4d2269,_0x4176ca(0x8f),_0x404e28);_0x480cab[_0x4176ca(0xd5)][_0x4176ca(0xa5)](_0x4176ca(0xc8),_0x4176ca(0xd3),_0x4176ca(0x8f),_0x39fabf=>{const _0x3d1885=_0x4176ca;_0x173d03[_0x3d1885(0xd6)][_0x3d1885(0xc1)](_0x490bba=>{const _0x96d327=_0x3d1885,_0x445456=Array[_0x96d327(0xbf)](_0x5a5c9b[_0x96d327(0x95)]())[_0x96d327(0xd1)](_0x14e0c2=>_0x4b7cb4[_0x96d327(0x99)](_0x14e0c2));_0x490bba[_0x96d327(0xc6)](_0x39fabf),_0x173d03[_0x96d327(0x93)][_0x96d327(0xd7)](_0x96d327(0xd3))[_0x96d327(0xb1)](),_0x173d03[_0x96d327(0x78)](_0x96d327(0xd3),{'forceDefaultExecution':!0x0});const _0x569cdc=_0x445456[_0x96d327(0x9d)](_0x43713d=>_0x96d327(0x7f)!=_0x43713d[_0x96d327(0x98)][_0x96d327(0xa6)]);_0x569cdc[_0x96d327(0xcb)]>0x0&&_0x490bba[_0x96d327(0xc6)](_0x569cdc);for(const _0x200158 of _0x445456)_0x200158[_0x96d327(0xcc)]();});});for(const _0x1fbcd9 of[_0x4176ca(0xac),_0x4176ca(0x84),_0x4176ca(0xcd),_0x4176ca(0xb5)]){const _0x178285=_0x173d03[_0x4176ca(0x93)][_0x4176ca(0xd7)](_0x1fbcd9);_0x178285['on'](_0x4176ca(0xb4),(_0x8fe63a,_0x30e2a3,_0x47b465)=>{const _0x3ee643=_0x4176ca;if(_0x47b465){const _0x30fb16=_0x173d03[_0x3ee643(0xd6)][_0x3ee643(0x80)][_0x3ee643(0xa2)][_0x3ee643(0xa8)]()[_0x3ee643(0x8e)]()[_0x3ee643(0x9a)](_0x15e033=>_0x15e033['is'](_0x3ee643(0x82),_0x3ee643(0xc0)));this[_0x3ee643(0xd0)](_0x178285[_0x3ee643(0xaa)],_0x30fb16)||(_0x8fe63a[_0x3ee643(0xad)]=!0x1,_0x8fe63a[_0x3ee643(0x79)]());}},{'priority':_0x4176ca(0xb0)});}}[_0x5dca9b(0xb9)](){const _0x43eb4e=_0x5dca9b,_0x2f7805=this[_0x43eb4e(0x9c)][_0x43eb4e(0x93)][_0x43eb4e(0xd7)](_0x43eb4e(0xd3)),_0x5adf4c=this[_0x43eb4e(0x9c)][_0x43eb4e(0xbb)][_0x43eb4e(0xd7)](_0x43eb4e(0xbc));if(!_0x2f7805[_0x43eb4e(0x81)])return!0x1;const _0x1c2e31=_0x5adf4c[_0x43eb4e(0x85)](this[_0x43eb4e(0x9c)][_0x43eb4e(0xd6)][_0x43eb4e(0x80)][_0x43eb4e(0xa2)]);for(const _0x521179 of _0x1c2e31)for(const _0x4e1795 of _0x1c2e31)if(_0x521179!=_0x4e1795&&!this[_0x43eb4e(0xd0)](_0x521179,_0x4e1795))return!0x1;return!0x0;}[_0x5dca9b(0xd0)](_0x4df505,_0x348777){const _0x12e178=_0x5dca9b,_0x2ec971=this[_0x12e178(0x9c)][_0x12e178(0xbb)][_0x12e178(0xd7)](_0x12e178(0x83)),_0x29b0e7=this[_0x12e178(0x9c)][_0x12e178(0xd6)][_0x12e178(0xd4)](_0x4df505),_0x4f28b8=this[_0x12e178(0x9c)][_0x12e178(0xd6)][_0x12e178(0xd4)](_0x348777),_0x125fe1=new Set(),_0x413fae=new Set();for(const _0xa3f2a8 of _0x2ec971[_0x12e178(0x91)]())if((_0x12e178(0xba)==_0xa3f2a8[_0x12e178(0xa9)]||_0x12e178(0xae)==_0xa3f2a8[_0x12e178(0xa9)]||_0x12e178(0xd3)==_0xa3f2a8[_0x12e178(0xb7)])&&_0xa3f2a8[_0x12e178(0x9b)]){for(const _0x39bcba of _0xa3f2a8[_0x12e178(0x95)]())_0x39bcba[_0x12e178(0xb3)](_0x29b0e7,!0x0)&&_0x125fe1[_0x12e178(0x88)](_0xa3f2a8[_0x12e178(0xa9)]+':'+_0xa3f2a8[_0x12e178(0x86)]['id']),_0x39bcba[_0x12e178(0xb3)](_0x4f28b8,!0x0)&&_0x413fae[_0x12e178(0x88)](_0xa3f2a8[_0x12e178(0xa9)]+':'+_0xa3f2a8[_0x12e178(0x86)]['id']);}if(_0x125fe1[_0x12e178(0x8b)]!=_0x413fae[_0x12e178(0x8b)])return!0x1;for(const _0x25a359 of _0x125fe1)if(!_0x413fae[_0x12e178(0x8a)](_0x25a359))return!0x1;return!0x0;}}
|
|
23
|
+
function _0x4ef5(){const _0x368b10=['value','execute','selection','locale','insertion','160posSwf','getAncestors','14602EVWddC','detach','map','TableUtils','has','plugins','type','4qzWvEO','subType','_areSelectedCellsMergable','3679FseSOG','horizontally','table','1474501QILNhr','53081pEESWO','registerCustomCallback','element','*Merge\x20cells*','16yfUppz','getCellLocation','filter','splitTableCellHorizontally','document','mergeTableCellRight','author','direction','295497tkxMYG','afterInit','forceDefaultExecution','tableCell','requires','size','*Split\x20cell:*\x20vertically','4474415PqchKy','mergeTableCellLeft','createRangeOn','root','refresh','stop','accept','editor','TableEditing','splitTableCellVertically','TrackChangesEditing','push','formatBlock','36715QAGLyA','format','isEnabled','deletion','*Split\x20cell:*\x20horizontally','commandName','markBlockFormat','set:isEnabled','_acceptFormatSuggestionCallbackFactory','getSelectionAffectedTableCells','getRanges','14IHtQLV','change','cell','$graveyard','mergeTableCellDown','setSelection','_suggestionFactory','add','trackChanges','model','enableCommand','containsRange','getSuggestions','markMultiRangeBlockFormat','descriptionFactory','_areMergableCells','12NVJYxd','mergeTableCellUp','find','highest','createTableWalker','get','rootName','_tablePostFixingSubtypes','fromRange','getFirstPosition','findAncestor','mergeTableCells','342PhEKPN','from','commands','formatInline','1331214fDROLo','isInContent','registerDescriptionCallback','return','_isForcedDefaultExecutionBlock','length','low'];_0x4ef5=function(){return _0x368b10;};return _0x4ef5();}function _0x1fd4(_0x3c3fb5,_0x5292c7){const _0x4ef550=_0x4ef5();return _0x1fd4=function(_0x1fd469,_0x16065a){_0x1fd469=_0x1fd469-0x65;let _0x284c88=_0x4ef550[_0x1fd469];return _0x284c88;},_0x1fd4(_0x3c3fb5,_0x5292c7);}const _0x1edb68=_0x1fd4;(function(_0x5daf5f,_0x10655e){const _0x29c6bc=_0x1fd4,_0x23bbac=_0x5daf5f();while(!![]){try{const _0x1ddb5e=parseInt(_0x29c6bc(0x86))/0x1*(parseInt(_0x29c6bc(0xb1))/0x2)+parseInt(_0x29c6bc(0x6a))/0x3*(parseInt(_0x29c6bc(0x7f))/0x4)+parseInt(_0x29c6bc(0xa6))/0x5*(-parseInt(_0x29c6bc(0x66))/0x6)+-parseInt(_0x29c6bc(0x85))/0x7*(-parseInt(_0x29c6bc(0x8a))/0x8)+parseInt(_0x29c6bc(0x92))/0x9*(-parseInt(_0x29c6bc(0x76))/0xa)+parseInt(_0x29c6bc(0x99))/0xb*(parseInt(_0x29c6bc(0xc1))/0xc)+parseInt(_0x29c6bc(0x82))/0xd*(-parseInt(_0x29c6bc(0x78))/0xe);if(_0x1ddb5e===_0x10655e)break;else _0x23bbac['push'](_0x23bbac['shift']());}catch(_0x2a3613){_0x23bbac['push'](_0x23bbac['shift']());}}}(_0x4ef5,0x62b54));import{Plugin as _0x5503ac}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x4f700b}from'./table.js';import{ModelLiveRange as _0x5ee60e}from'ckeditor5/src/engine.js';import{getTranslation as _0x2a8b04}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x5503ac{static get[_0x1edb68(0x96)](){return[_0x4f700b];}[_0x1edb68(0x93)](){const _0x190f84=_0x1edb68,_0x3c6446=this[_0x190f84(0xa0)],_0x2b795a=_0x3c6446[_0x190f84(0xba)][_0x190f84(0x8e)][_0x190f84(0x73)],_0xd4e4aa=_0x3c6446[_0x190f84(0x74)];if(!_0x3c6446[_0x190f84(0x7d)][_0x190f84(0x7c)](_0x190f84(0xa1)))return;const _0x2f441c=_0x3c6446[_0x190f84(0x7d)][_0x190f84(0xc6)](_0x190f84(0xa3)),_0x207f02=_0x3c6446[_0x190f84(0x7d)][_0x190f84(0xc6)](_0x190f84(0x7b)),_0x4b0634=_0x3c6446[_0x190f84(0x7d)][_0x190f84(0xc6)](_0x4f700b);_0x4b0634[_0x190f84(0xc8)][_0x190f84(0xa4)](_0x190f84(0x65)),_0x2f441c[_0x190f84(0xbb)](_0x190f84(0x65),()=>{const _0x1a3fd7=_0x190f84,_0x3dea85=_0x207f02[_0x1a3fd7(0xaf)](_0x3c6446[_0x1a3fd7(0xba)][_0x1a3fd7(0x8e)][_0x1a3fd7(0x73)]);_0x3c6446[_0x1a3fd7(0xba)][_0x1a3fd7(0xb2)](()=>{const _0x42e650=_0x1a3fd7;_0x2f441c[_0x42e650(0xbe)](_0x3dea85,{'commandName':_0x42e650(0x65),'commandParams':[]},[],_0x42e650(0x65));});}),_0x3c6446[_0x190f84(0x68)][_0x190f84(0xc6)](_0x190f84(0x65))['on'](_0x190f84(0x72),(_0x39e4a8,_0x43521e)=>{const _0x5f4418=_0x190f84;_0x3c6446[_0x5f4418(0x68)][_0x5f4418(0xc6)](_0x5f4418(0xb9))[_0x5f4418(0x71)]&&(_0x43521e[_0x5f4418(0x6f)]>0x0&&_0x43521e[_0x43521e[_0x5f4418(0x6f)]-0x1]&&_0x43521e[_0x43521e[_0x5f4418(0x6f)]-0x1][_0x5f4418(0x94)]||_0x2f441c[_0x5f4418(0x6e)]||this[_0x5f4418(0x81)]()||_0x39e4a8[_0x5f4418(0x9e)]());},{'priority':_0x190f84(0xc4)});for(const _0x270b38 of[_0x190f84(0xc2),_0x190f84(0x8f),_0x190f84(0xb5),_0x190f84(0x9a)]){const _0x65031=_0x3c6446[_0x190f84(0x68)][_0x190f84(0xc6)](_0x270b38);_0x2f441c[_0x190f84(0xbb)](_0x270b38,()=>{const _0x58e772=_0x190f84,_0x5c2d7f=_0x3c6446[_0x58e772(0xba)][_0x58e772(0x8e)][_0x58e772(0x73)][_0x58e772(0xca)]()[_0x58e772(0x77)]()[_0x58e772(0xc3)](_0x2dcf83=>_0x2dcf83['is'](_0x58e772(0x88),_0x58e772(0x95))),_0x5a88ef=_0x65031[_0x58e772(0x71)];_0x3c6446[_0x58e772(0xba)][_0x58e772(0xb2)](()=>{const _0x520072=_0x58e772;_0x2f441c[_0x520072(0xbe)]([_0x5c2d7f,_0x5a88ef],{'commandName':_0x520072(0x65),'commandParams':[]},[],_0x520072(0x65));});});}for(const _0x2d561e of[_0x190f84(0xa2),_0x190f84(0x8d)]){const _0xbf7994=_0x3c6446[_0x190f84(0x68)][_0x190f84(0xc6)](_0x2d561e);_0x2f441c[_0x190f84(0xbb)](_0x2d561e,()=>{const _0xf21787=_0x190f84,_0x5215c9=_0x207f02[_0xf21787(0xaf)](_0x3c6446[_0xf21787(0xba)][_0xf21787(0x8e)][_0xf21787(0x73)])[0x0],_0x5edbd5=_0x5215c9[_0xf21787(0xcb)](_0xf21787(0x84)),{column:_0x58b396,row:_0x56ed64}=_0x207f02[_0xf21787(0x8b)](_0x5215c9);let _0x4279b3=[];if(_0xf21787(0x83)==_0xbf7994[_0xf21787(0x91)]){const _0x32cd3b=_0x207f02[_0xf21787(0xc5)](_0x5edbd5,{'startRow':_0x56ed64,'endRow':_0x56ed64,'includeAllSlots':!0x0});_0x4279b3=Array[_0xf21787(0x67)](_0x32cd3b)[_0xf21787(0x7a)](_0x39f5ef=>_0x39f5ef[_0xf21787(0xb3)]);}else{const _0x2d3af3=_0x207f02[_0xf21787(0xc5)](_0x5edbd5,{'column':_0x58b396,'includeAllSlots':!0x0});_0x4279b3=Array[_0xf21787(0x67)](_0x2d3af3)[_0xf21787(0x7a)](_0x193ea2=>_0x193ea2[_0xf21787(0xb3)]);}_0x3c6446[_0xf21787(0xba)][_0xf21787(0xb2)](_0x3b8572=>{const _0x21d1d9=_0xf21787;_0x2f441c[_0x21d1d9(0xac)](_0x3b8572[_0x21d1d9(0x9b)](_0x5215c9),{'commandName':_0x2d561e,'commandParams':[]},_0x4279b3,_0x2d561e);});});}_0x2f441c[_0x190f84(0xbf)][_0x190f84(0x6c)](_0x4ef541=>{const _0x3a0ec1=_0x190f84;if(_0x3a0ec1(0xa5)!=_0x4ef541[_0x3a0ec1(0x7e)]&&_0x3a0ec1(0x69)!=_0x4ef541[_0x3a0ec1(0x7e)])return;const {data:_0x3d9c56}=_0x4ef541;return _0x3d9c56&&_0x3a0ec1(0x65)==_0x3d9c56[_0x3a0ec1(0xab)]?{'type':_0x3a0ec1(0xa7),'content':_0x2a8b04(_0xd4e4aa,_0x3a0ec1(0x89))}:void 0x0;}),_0x2f441c[_0x190f84(0xbf)][_0x190f84(0x6c)](_0xf4c7d7=>{const _0x8f963e=_0x190f84;if(_0x8f963e(0xa5)!=_0xf4c7d7[_0x8f963e(0x7e)]&&_0x8f963e(0x69)!=_0xf4c7d7[_0x8f963e(0x7e)])return;const {data:_0x1a4464}=_0xf4c7d7;return _0x1a4464?_0x8f963e(0xa2)==_0x1a4464[_0x8f963e(0xab)]?{'type':_0x8f963e(0xa7),'content':_0x2a8b04(_0xd4e4aa,_0x8f963e(0x98))}:_0x8f963e(0x8d)==_0x1a4464[_0x8f963e(0xab)]?{'type':_0x8f963e(0xa7),'content':_0x2a8b04(_0xd4e4aa,_0x8f963e(0xaa))}:void 0x0:void 0x0;});const _0x56f4a2=_0x4b0634[_0x190f84(0xae)]();for(const _0x5cae5b of[_0x190f84(0xc2),_0x190f84(0x8f),_0x190f84(0xb5),_0x190f84(0x9a)])_0x2f441c[_0x190f84(0xb7)][_0x190f84(0x87)](_0x190f84(0xa5),_0x5cae5b,_0x190f84(0x9f),_0x56f4a2);for(const _0x23efc2 of[_0x190f84(0xa2),_0x190f84(0x8d)])_0x2f441c[_0x190f84(0xb7)][_0x190f84(0x87)](_0x190f84(0xa5),_0x23efc2,_0x190f84(0x9f),_0x56f4a2);_0x2f441c[_0x190f84(0xb7)][_0x190f84(0x87)](_0x190f84(0xa5),_0x190f84(0x65),_0x190f84(0x9f),_0x80cd77=>{const _0x5ab12c=_0x190f84;_0x3c6446[_0x5ab12c(0xba)][_0x5ab12c(0xb2)](_0x9c6a1f=>{const _0x38e752=_0x5ab12c,_0xc6092d=Array[_0x38e752(0x67)](_0x2b795a[_0x38e752(0xb0)]())[_0x38e752(0x7a)](_0x2e9786=>_0x5ee60e[_0x38e752(0xc9)](_0x2e9786));_0x9c6a1f[_0x38e752(0xb6)](_0x80cd77),_0x3c6446[_0x38e752(0x68)][_0x38e752(0xc6)](_0x38e752(0x65))[_0x38e752(0x9d)](),_0x3c6446[_0x38e752(0x72)](_0x38e752(0x65),{'forceDefaultExecution':!0x0});const _0x3cc47b=_0xc6092d[_0x38e752(0x8c)](_0x522b4e=>_0x38e752(0xb4)!=_0x522b4e[_0x38e752(0x9c)][_0x38e752(0xc7)]);_0x3cc47b[_0x38e752(0x6f)]>0x0&&_0x9c6a1f[_0x38e752(0xb6)](_0x3cc47b);for(const _0x2dd238 of _0xc6092d)_0x2dd238[_0x38e752(0x79)]();});});for(const _0x574f5e of[_0x190f84(0xc2),_0x190f84(0xb5),_0x190f84(0x9a),_0x190f84(0x8f)]){const _0x5c7cd3=_0x3c6446[_0x190f84(0x68)][_0x190f84(0xc6)](_0x574f5e);_0x5c7cd3['on'](_0x190f84(0xad),(_0x55efbd,_0x593048,_0x37fa61)=>{const _0x2d6008=_0x190f84;if(_0x37fa61){const _0x2d6720=_0x3c6446[_0x2d6008(0xba)][_0x2d6008(0x8e)][_0x2d6008(0x73)][_0x2d6008(0xca)]()[_0x2d6008(0x77)]()[_0x2d6008(0xc3)](_0x31df23=>_0x31df23['is'](_0x2d6008(0x88),_0x2d6008(0x95)));this[_0x2d6008(0xc0)](_0x5c7cd3[_0x2d6008(0x71)],_0x2d6720)||(_0x55efbd[_0x2d6008(0x6d)]=!0x1,_0x55efbd[_0x2d6008(0x9e)]());}},{'priority':_0x190f84(0x70)});}}[_0x1edb68(0x81)](){const _0x330d9e=_0x1edb68,_0x3d80ac=this[_0x330d9e(0xa0)][_0x330d9e(0x68)][_0x330d9e(0xc6)](_0x330d9e(0x65)),_0x5afd2e=this[_0x330d9e(0xa0)][_0x330d9e(0x7d)][_0x330d9e(0xc6)](_0x330d9e(0x7b));if(!_0x3d80ac[_0x330d9e(0xa8)])return!0x1;const _0x29ba73=_0x5afd2e[_0x330d9e(0xaf)](this[_0x330d9e(0xa0)][_0x330d9e(0xba)][_0x330d9e(0x8e)][_0x330d9e(0x73)]);for(const _0x5eaa55 of _0x29ba73)for(const _0xde2184 of _0x29ba73)if(_0x5eaa55!=_0xde2184&&!this[_0x330d9e(0xc0)](_0x5eaa55,_0xde2184))return!0x1;return!0x0;}[_0x1edb68(0xc0)](_0xa5a023,_0x5f0167){const _0xeb75ad=_0x1edb68,_0x4e3dd8=this[_0xeb75ad(0xa0)][_0xeb75ad(0x7d)][_0xeb75ad(0xc6)](_0xeb75ad(0xa3)),_0x2b2f79=this[_0xeb75ad(0xa0)][_0xeb75ad(0xba)][_0xeb75ad(0x9b)](_0xa5a023),_0x37f8e0=this[_0xeb75ad(0xa0)][_0xeb75ad(0xba)][_0xeb75ad(0x9b)](_0x5f0167),_0x2df627=new Set(),_0x42b10f=new Set();for(const _0x1fb368 of _0x4e3dd8[_0xeb75ad(0xbd)]())if((_0xeb75ad(0x75)==_0x1fb368[_0xeb75ad(0x7e)]||_0xeb75ad(0xa9)==_0x1fb368[_0xeb75ad(0x7e)]||_0xeb75ad(0x65)==_0x1fb368[_0xeb75ad(0x80)])&&_0x1fb368[_0xeb75ad(0x6b)]){for(const _0x2532ef of _0x1fb368[_0xeb75ad(0xb0)]())_0x2532ef[_0xeb75ad(0xbc)](_0x2b2f79,!0x0)&&_0x2df627[_0xeb75ad(0xb8)](_0x1fb368[_0xeb75ad(0x7e)]+':'+_0x1fb368[_0xeb75ad(0x90)]['id']),_0x2532ef[_0xeb75ad(0xbc)](_0x37f8e0,!0x0)&&_0x42b10f[_0xeb75ad(0xb8)](_0x1fb368[_0xeb75ad(0x7e)]+':'+_0x1fb368[_0xeb75ad(0x90)]['id']);}if(_0x2df627[_0xeb75ad(0x97)]!=_0x42b10f[_0xeb75ad(0x97)])return!0x1;for(const _0x689728 of _0x2df627)if(!_0x42b10f[_0xeb75ad(0x7c)](_0x689728))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2b26ff=_0x32a9;(function(_0xc10d2b,_0x1d477a){const _0x2f823b=_0x32a9,_0x18a1db=_0xc10d2b();while(!![]){try{const _0x236844=parseInt(_0x2f823b(0x176))/0x1+-parseInt(_0x2f823b(0x170))/0x2+parseInt(_0x2f823b(0x169))/0x3+-parseInt(_0x2f823b(0x16f))/0x4+-parseInt(_0x2f823b(0x17b))/0x5+parseInt(_0x2f823b(0x173))/0x6+-parseInt(_0x2f823b(0x16d))/0x7;if(_0x236844===_0x1d477a)break;else _0x18a1db['push'](_0x18a1db['shift']());}catch(_0x4f1c23){_0x18a1db['push'](_0x18a1db['shift']());}}}(_0x4338,0xd894c));import{Plugin as _0x243a87}from'ckeditor5/src/core.js';function _0x4338(){const _0x293580=['8690544KswoXE','afterInit','editor','504973JCERpT','tableOfContents','get','ELEMENT_TABLE_OF_CONTENTS','descriptionFactory','3764600Ehdqks','commands','1362612ojnfAH','locale','plugins','TrackChangesEditing','235886QDnlrJ','insertTableOfContents','2772360lLpbcw','81554DrsbbK','registerElementLabel','enableCommand'];_0x4338=function(){return _0x293580;};return _0x4338();}function _0x32a9(_0x53343a,_0x966848){const _0x4338e8=_0x4338();return _0x32a9=function(_0x32a9e3,_0x101d18){_0x32a9e3=_0x32a9e3-0x168;let _0x4b10ca=_0x4338e8[_0x32a9e3];return _0x4b10ca;},_0x32a9(_0x53343a,_0x966848);}import{getTranslation as _0x190d3c}from'../utils/common-translations.js';export class TrackChangesTableOfContents extends _0x243a87{[_0x2b26ff(0x174)](){const _0x1367bd=_0x2b26ff,_0x5e1cc5=this[_0x1367bd(0x175)];if(!_0x5e1cc5[_0x1367bd(0x168)][_0x1367bd(0x178)](_0x1367bd(0x16e)))return;_0x5e1cc5[_0x1367bd(0x16b)][_0x1367bd(0x178)](_0x1367bd(0x16c))[_0x1367bd(0x172)](_0x1367bd(0x16e));const _0x492df6=_0x5e1cc5[_0x1367bd(0x16b)][_0x1367bd(0x178)](_0x1367bd(0x16c)),_0xc4f7=_0x5e1cc5[_0x1367bd(0x16a)];_0x492df6[_0x1367bd(0x17a)][_0x1367bd(0x171)](_0x1367bd(0x177),_0x3ccc98=>_0x190d3c(_0xc4f7,_0x1367bd(0x179),_0x3ccc98));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45493f=_0x73e2;(function(_0x6e99e7,_0x49f193){const _0x2bd62a=_0x73e2,_0x2d271a=_0x6e99e7();while(!![]){try{const _0xd29988=parseInt(_0x2bd62a(0x171))/0x1+-parseInt(_0x2bd62a(0x15f))/0x2+parseInt(_0x2bd62a(0x123))/0x3+-parseInt(_0x2bd62a(0x154))/0x4*(-parseInt(_0x2bd62a(0x158))/0x5)+-parseInt(_0x2bd62a(0x177))/0x6+-parseInt(_0x2bd62a(0x141))/0x7*(parseInt(_0x2bd62a(0x14c))/0x8)+parseInt(_0x2bd62a(0x13f))/0x9*(parseInt(_0x2bd62a(0x142))/0xa);if(_0xd29988===_0x49f193)break;else _0x2d271a['push'](_0x2d271a['shift']());}catch(_0x590601){_0x2d271a['push'](_0x2d271a['shift']());}}}(_0x5c63,0x9bf90));function _0x5c63(){const _0x45578b=['tableCellBackgroundColor','isPremiumPlugin','registerCustomCallback','handleDiscardAction','data','tableBorderWidth','enableCommand','afterInit','TrackChangesTableProperties','markBlockFormat','change','toUpperCase','getSuggestionCallback','table','tableBorderStyle','model','FORMAT_','_registerTablePropertiesAttributes','tableCellVerticalAlignment','accept','TrackChangesEditing','document','_getSuggestion','getAttribute','nodeAfter','getSuggestions','19388979yONBkB','tableBackgroundColor','1589749xqUWmT','10KnkSJN','batch','TableUtils','commandParams','setAttribute','tableProperties','selection','tableCellPadding','tableHeight','get','24KlfjQw','tableCellBorderWidth','has','format','tableCellHorizontalAlignment','replace','handleSuggestionDescription','enqueueChange','8ZEZsVl','findAncestor','editor','start','533765naCEJI','tableCellBorderColor','tableCellHeight','tableCellWidth','plugins','_$1','getFirstPosition','1691624ZMIbmL','registerAttributeLabel','join','registerDescriptionCallback','removeAttribute','_handlePropertyChange','tableWidth','TablePropertiesEditing','pluginName','getSelectionAffectedTableCells','formatBlock','TableCellPropertiesEditing','tableCellProperties','tableAlignment','tableCellBorderStyle','descriptionFactory','isOfficialPlugin','registerBlockAttribute','246624uFUjkr','getContainedElement','*Format:*\x20change\x20table\x20properties','subType','discard','locale','4897776ctLkrK','_suggestionFactory','*Format:*\x20change\x20table\x20cell\x20properties','1103496vGodUE','tableBorderColor'];_0x5c63=function(){return _0x45578b;};return _0x5c63();}import{Plugin as _0x55bb3b}from'ckeditor5/src/core.js';function _0x73e2(_0x55f8e3,_0xb9d260){const _0x5c63d8=_0x5c63();return _0x73e2=function(_0x73e218,_0x5f1e33){_0x73e218=_0x73e218-0x123;let _0x3af7e5=_0x5c63d8[_0x73e218];return _0x3af7e5;},_0x73e2(_0x55f8e3,_0xb9d260);}import{getTranslation as _0x1b0c96}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x55bb3b{[_0x45493f(0x147)];[_0x45493f(0x16b)];constructor(_0x845f58){const _0x5d53cf=_0x45493f;super(_0x845f58),this[_0x5d53cf(0x147)]=[_0x5d53cf(0x124),_0x5d53cf(0x133),_0x5d53cf(0x12a),_0x5d53cf(0x16c),_0x5d53cf(0x165),_0x5d53cf(0x14a),_0x5d53cf(0x140)],this[_0x5d53cf(0x16b)]=[_0x5d53cf(0x159),_0x5d53cf(0x16d),_0x5d53cf(0x14d),_0x5d53cf(0x149),_0x5d53cf(0x15b),_0x5d53cf(0x15a),_0x5d53cf(0x125),_0x5d53cf(0x150),_0x5d53cf(0x137)];}static get[_0x45493f(0x167)](){const _0x2f17ff=_0x45493f;return _0x2f17ff(0x12d);}static get[_0x45493f(0x16f)](){return!0x0;}static get[_0x45493f(0x126)](){return!0x0;}[_0x45493f(0x12c)](){const _0x1b8923=_0x45493f,_0x581b24=this[_0x1b8923(0x156)][_0x1b8923(0x15c)][_0x1b8923(0x14b)](_0x1b8923(0x139));if(this[_0x1b8923(0x156)][_0x1b8923(0x15c)][_0x1b8923(0x14e)](_0x1b8923(0x166))){for(const _0x21dd2c of this[_0x1b8923(0x147)])_0x581b24[_0x1b8923(0x12b)](_0x21dd2c,(_0x26bbec,_0x6dc729)=>{const _0x39a0e6=_0x1b8923,_0x397cc1=this[_0x39a0e6(0x156)][_0x39a0e6(0x134)][_0x39a0e6(0x13a)][_0x39a0e6(0x148)][_0x39a0e6(0x15e)]()[_0x39a0e6(0x155)](_0x39a0e6(0x132));this[_0x39a0e6(0x164)](_0x21dd2c,[_0x397cc1],this[_0x39a0e6(0x147)],_0x39a0e6(0x147),_0x26bbec,_0x6dc729);});_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x147),_0x1b8923(0x138),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x131)](_0x1b8923(0x169),null,_0x1b8923(0x175))),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x147),_0x1b8923(0x175),(_0x23d752,_0x10f433)=>this[_0x1b8923(0x128)](this[_0x1b8923(0x147)],_0x23d752,_0x10f433)),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x147),_0x1b8923(0x161),()=>!0x1);}if(this[_0x1b8923(0x156)][_0x1b8923(0x15c)][_0x1b8923(0x14e)](_0x1b8923(0x16a))){for(const _0x3aa2ac of this[_0x1b8923(0x16b)])_0x581b24[_0x1b8923(0x12b)](_0x3aa2ac,(_0x5368d9,_0x7474d)=>{const _0x3cba19=_0x1b8923,_0x213d88=this[_0x3cba19(0x156)][_0x3cba19(0x15c)][_0x3cba19(0x14b)](_0x3cba19(0x144))[_0x3cba19(0x168)](this[_0x3cba19(0x156)][_0x3cba19(0x134)][_0x3cba19(0x13a)][_0x3cba19(0x148)]);this[_0x3cba19(0x164)](_0x3aa2ac,_0x213d88,this[_0x3cba19(0x16b)],_0x3cba19(0x16b),_0x5368d9,_0x7474d);});_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x16b),_0x1b8923(0x138),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x131)](_0x1b8923(0x169),null,_0x1b8923(0x175))),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x16b),_0x1b8923(0x175),(_0xb07570,_0x40b910)=>this[_0x1b8923(0x128)](this[_0x1b8923(0x16b)],_0xb07570,_0x40b910)),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x16b),_0x1b8923(0x161),()=>!0x1);}_0x581b24[_0x1b8923(0x16e)][_0x1b8923(0x162)](_0x124578=>this[_0x1b8923(0x152)](_0x124578)),this[_0x1b8923(0x136)]();}[_0x45493f(0x164)](_0x3b9dea,_0x30b8e9,_0x525d16,_0x467835,_0x2af7dc,_0x3ea1d7){const _0x5e2ed9=_0x45493f,_0x4bd61a=this[_0x5e2ed9(0x156)][_0x5e2ed9(0x15c)][_0x5e2ed9(0x14b)](_0x5e2ed9(0x139));this[_0x5e2ed9(0x156)][_0x5e2ed9(0x134)][_0x5e2ed9(0x153)](_0x3ea1d7[_0x5e2ed9(0x143)],()=>{const _0x18d827=_0x5e2ed9;for(const _0x4b1b35 of _0x30b8e9){if(this[_0x18d827(0x13b)](_0x4b1b35,_0x467835))_0x2af7dc(_0x3ea1d7);else{const _0x23d1f1={};for(const _0x18f614 of _0x525d16){const _0xdbcf1b=_0x4b1b35[_0x18d827(0x13c)](_0x18f614);void 0x0!==_0xdbcf1b&&(_0x23d1f1[_0x18f614]=_0xdbcf1b);}_0x2af7dc(_0x3ea1d7),_0x4bd61a[_0x18d827(0x12e)](_0x4b1b35,{'commandParams':[_0x23d1f1]},[],_0x467835);}}});}[_0x45493f(0x128)](_0x527f65,_0x1bb146,_0x45f972){const _0x4caa00=_0x45493f,_0x4d3f27=_0x1bb146[0x0][_0x4caa00(0x157)][_0x4caa00(0x13d)],_0x251a87=_0x45f972[_0x4caa00(0x145)][0x0];this[_0x4caa00(0x156)][_0x4caa00(0x134)][_0x4caa00(0x12f)](_0x27306b=>{const _0x1ee351=_0x4caa00;for(const _0x292fce of _0x527f65)void 0x0!==_0x251a87[_0x292fce]?_0x27306b[_0x1ee351(0x146)](_0x292fce,_0x251a87[_0x292fce],_0x4d3f27):_0x27306b[_0x1ee351(0x163)](_0x292fce,_0x4d3f27);});}[_0x45493f(0x152)](_0x17f3f3){const _0x3220cb=_0x45493f;if(_0x17f3f3[_0x3220cb(0x129)])switch(_0x17f3f3[_0x3220cb(0x174)]){case _0x3220cb(0x147):return{'type':_0x3220cb(0x14f),'content':_0x1b0c96(this[_0x3220cb(0x156)][_0x3220cb(0x176)],_0x3220cb(0x173))};case _0x3220cb(0x16b):return{'type':_0x3220cb(0x14f),'content':_0x1b0c96(this[_0x3220cb(0x156)][_0x3220cb(0x176)],_0x3220cb(0x179))};}}[_0x45493f(0x13b)](_0x593e1e,_0x1b05e9){const _0xb8d8f0=_0x45493f,_0x29fe1e=this[_0xb8d8f0(0x156)][_0xb8d8f0(0x15c)][_0xb8d8f0(0x14b)](_0xb8d8f0(0x139));for(const _0x5b82dd of _0x29fe1e[_0xb8d8f0(0x13e)]({'skipNotAttached':!0x0})){const _0x530273=_0x5b82dd[_0xb8d8f0(0x172)]();if(_0x5b82dd[_0xb8d8f0(0x174)]===_0x1b05e9&&_0x530273===_0x593e1e)return _0x5b82dd;}return null;}[_0x45493f(0x136)](){const _0xa2cd94=_0x45493f,_0x1d02bc=this[_0xa2cd94(0x156)][_0xa2cd94(0x15c)][_0xa2cd94(0x14b)](_0xa2cd94(0x139)),_0x5249f0=[...this[_0xa2cd94(0x147)],...this[_0xa2cd94(0x16b)]];for(const _0x5d802d of _0x5249f0){const _0x35325f=_0x5d802d[_0xa2cd94(0x151)](/([A-Z])/g,_0xa2cd94(0x15d))[_0xa2cd94(0x130)]();_0x1d02bc[_0xa2cd94(0x170)](_0x5d802d),_0x1d02bc[_0xa2cd94(0x16e)][_0xa2cd94(0x160)](_0x5d802d,_0x1b0c96(this[_0xa2cd94(0x156)][_0xa2cd94(0x176)],_0xa2cd94(0x135)+_0x35325f));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4922da=_0x157c;function _0x4aee(){const _0x58ea1c=['362380OSVGHI','TrackChangesEditing','684059NoAVAc','82410tvuKaj','enableCommand','185JqOUsc','insertTemplate','341HDCaXa','15993aRaNqV','58818HlSBlJ','2hfHewK','Template','4788IixEWe','has','plugins','712OyhcPe','afterInit','708939blQXYQ','3phIhYB','get','41223iQdiRT','editor'];_0x4aee=function(){return _0x58ea1c;};return _0x4aee();}function _0x157c(_0x3ff0f3,_0x51ce84){const _0x4aeed3=_0x4aee();return _0x157c=function(_0x157c82,_0x1e09e8){_0x157c82=_0x157c82-0x158;let _0x5eafed=_0x4aeed3[_0x157c82];return _0x5eafed;},_0x157c(_0x3ff0f3,_0x51ce84);}(function(_0x22cf3f,_0x20c546){const _0x46327b=_0x157c,_0x901d04=_0x22cf3f();while(!![]){try{const _0x8449c5=-parseInt(_0x46327b(0x15b))/0x1*(parseInt(_0x46327b(0x163))/0x2)+-parseInt(_0x46327b(0x16b))/0x3*(parseInt(_0x46327b(0x159))/0x4)+-parseInt(_0x46327b(0x15e))/0x5*(parseInt(_0x46327b(0x162))/0x6)+-parseInt(_0x46327b(0x16a))/0x7+-parseInt(_0x46327b(0x168))/0x8*(-parseInt(_0x46327b(0x161))/0x9)+parseInt(_0x46327b(0x15c))/0xa*(parseInt(_0x46327b(0x160))/0xb)+-parseInt(_0x46327b(0x165))/0xc*(-parseInt(_0x46327b(0x16d))/0xd);if(_0x8449c5===_0x20c546)break;else _0x901d04['push'](_0x901d04['shift']());}catch(_0xa0621){_0x901d04['push'](_0x901d04['shift']());}}}(_0x4aee,0x6b793));import{Plugin as _0x8037a7}from'ckeditor5/src/core.js';export class TrackChangesTemplate extends _0x8037a7{[_0x4922da(0x169)](){const _0x371255=_0x4922da,_0x5cf4b9=this[_0x371255(0x158)];_0x5cf4b9[_0x371255(0x167)][_0x371255(0x166)](_0x371255(0x164))&&_0x5cf4b9[_0x371255(0x167)][_0x371255(0x16c)](_0x371255(0x15a))[_0x371255(0x15d)](_0x371255(0x15f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b0626=_0x41f5;function _0x2ebc(){const _0x3045fd=['has','getNearestSelectionRange','editor','registerPostFixer','descriptionFactory','forward','7cyCWhX','733336igwxFi','afterInit','document','isTouching','_splitMarkerName','ELEMENT_TITLE','isEqual','Title','createRange','start','model','nodeBefore','differ','1470340XWLZqp','2954372uGUVSd','1273459SyXrtC','removeMarker','573644PGGIpg','get','newRange','plugins','updateMarker','locale','110soxSGj','2900730ekJwYD','registerElementLabel','isCollapsed','448461oWUKPy','schema','getChangedMarkers','element','2RUKRcV','title-content','6BcdaMN','from','TrackChangesEditing','suggestion','end'];_0x2ebc=function(){return _0x3045fd;};return _0x2ebc();}function _0x41f5(_0x4b0518,_0x5edd15){const _0x2ebc70=_0x2ebc();return _0x41f5=function(_0x41f577,_0x1c4752){_0x41f577=_0x41f577-0xce;let _0x55679a=_0x2ebc70[_0x41f577];return _0x55679a;},_0x41f5(_0x4b0518,_0x5edd15);}(function(_0x344455,_0x5d216b){const _0x33f0a9=_0x41f5,_0xd0591c=_0x344455();while(!![]){try{const _0x236cc9=parseInt(_0x33f0a9(0xd6))/0x1*(-parseInt(_0x33f0a9(0xf5))/0x2)+parseInt(_0x33f0a9(0xcf))/0x3+-parseInt(_0x33f0a9(0xf2))/0x4+parseInt(_0x33f0a9(0xf1))/0x5*(-parseInt(_0x33f0a9(0xd8))/0x6)+parseInt(_0x33f0a9(0xe3))/0x7*(-parseInt(_0x33f0a9(0xe4))/0x8)+-parseInt(_0x33f0a9(0xd2))/0x9+-parseInt(_0x33f0a9(0xce))/0xa*(-parseInt(_0x33f0a9(0xf3))/0xb);if(_0x236cc9===_0x5d216b)break;else _0xd0591c['push'](_0xd0591c['shift']());}catch(_0x4a9fc4){_0xd0591c['push'](_0xd0591c['shift']());}}}(_0x2ebc,0x78418));import{Plugin as _0x507793}from'ckeditor5/src/core.js';import{getTranslation as _0x143f46}from'../utils/common-translations.js';export class TrackChangesTitle extends _0x507793{[_0x4b0626(0xe5)](){const _0x1174f6=_0x4b0626,_0xa6d205=this[_0x1174f6(0xdf)];if(!_0xa6d205[_0x1174f6(0xf8)][_0x1174f6(0xdd)](_0x1174f6(0xeb)))return;const _0x4104f7=_0xa6d205[_0x1174f6(0xf8)][_0x1174f6(0xf6)](_0x1174f6(0xda));_0x4104f7[_0x1174f6(0xe1)][_0x1174f6(0xd0)](_0x1174f6(0xd7),()=>_0x143f46(_0xa6d205[_0x1174f6(0xfa)],_0x1174f6(0xe9))),_0xa6d205[_0x1174f6(0xee)][_0x1174f6(0xe6)][_0x1174f6(0xe0)](_0x12737b=>{const _0x59bc49=_0x1174f6;let _0xe38a7a=!0x1;const _0x45ec8b=Array[_0x59bc49(0xd9)](_0xa6d205[_0x59bc49(0xee)][_0x59bc49(0xe6)][_0x59bc49(0xf0)][_0x59bc49(0xd4)]());for(const {name:_0x42a67f,data:_0x50daaf}of _0x45ec8b){const {group:_0x162909}=_0x4104f7[_0x59bc49(0xe8)](_0x42a67f);if(_0x59bc49(0xdb)!==_0x162909||!_0x50daaf[_0x59bc49(0xf7)])continue;const _0x4be0be=_0x50daaf[_0x59bc49(0xf7)],_0x1adf29=_0x4be0be[_0x59bc49(0xdc)][_0x59bc49(0xef)];if(!_0x1adf29||!_0x1adf29['is'](_0x59bc49(0xd5),_0x59bc49(0xd7)))continue;if(!_0x4be0be[_0x59bc49(0xed)][_0x59bc49(0xe7)](_0x4be0be[_0x59bc49(0xdc)]))continue;const _0x283ed7=_0xa6d205[_0x59bc49(0xee)][_0x59bc49(0xd3)][_0x59bc49(0xde)](_0x4be0be[_0x59bc49(0xdc)],_0x59bc49(0xe2));if(_0x283ed7&&_0x283ed7[_0x59bc49(0xd1)]){const _0x21e76b=_0x12737b[_0x59bc49(0xec)](_0x4be0be[_0x59bc49(0xed)],_0x283ed7[_0x59bc49(0xed)]);_0x21e76b[_0x59bc49(0xea)](_0x4be0be)||(_0x12737b[_0x59bc49(0xf9)](_0x42a67f,{'range':_0x21e76b}),_0xe38a7a=!0x0);}_0xe38a7a||(_0x12737b[_0x59bc49(0xf4)](_0x42a67f),_0xe38a7a=!0x0);}return _0xe38a7a;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2afb(_0x4997cd,_0x4c5eed){const _0x14bce7=_0x14bc();return _0x2afb=function(_0x2afb7c,_0x2e41ee){_0x2afb7c=_0x2afb7c-0x93;let _0x7654d4=_0x14bce7[_0x2afb7c];return _0x7654d4;},_0x2afb(_0x4997cd,_0x4c5eed);}const _0x99a204=_0x2afb;function _0x14bc(){const _0x5cd728=['1158878fZymIe','649215AdwOPW','30aGgsvX','redo','594097WsNfGm','undo','enableCommand','669lWvDgE','get','editor','66Jlphik','22024sRLVBQ','has','60264fHuZOY','8675139uHRkpO','afterInit','plugins','378KNgIPt','TrackChangesEditing','2218410aTUYBC','UndoEditing'];_0x14bc=function(){return _0x5cd728;};return _0x14bc();}(function(_0x4a8fdc,_0x4eb1a4){const _0x377808=_0x2afb,_0x17d65c=_0x4a8fdc();while(!![]){try{const _0x38ac14=parseInt(_0x377808(0x99))/0x1+-parseInt(_0x377808(0x98))/0x2+-parseInt(_0x377808(0x9f))/0x3*(-parseInt(_0x377808(0xa3))/0x4)+parseInt(_0x377808(0x96))/0x5+parseInt(_0x377808(0xa2))/0x6*(parseInt(_0x377808(0x9c))/0x7)+-parseInt(_0x377808(0xa5))/0x8*(-parseInt(_0x377808(0x94))/0x9)+parseInt(_0x377808(0x9a))/0xa*(-parseInt(_0x377808(0xa6))/0xb);if(_0x38ac14===_0x4eb1a4)break;else _0x17d65c['push'](_0x17d65c['shift']());}catch(_0x19f5c5){_0x17d65c['push'](_0x17d65c['shift']());}}}(_0x14bc,0x98aa4));import{Plugin as _0x5bc17e}from'ckeditor5/src/core.js';export class TrackChangesUndo extends _0x5bc17e{[_0x99a204(0xa7)](){const _0x329a27=_0x99a204,_0x45e2c6=this[_0x329a27(0xa1)],_0x394abb=_0x45e2c6[_0x329a27(0x93)][_0x329a27(0xa0)](_0x329a27(0x95));_0x45e2c6[_0x329a27(0x93)][_0x329a27(0xa4)](_0x329a27(0x97))&&(_0x394abb[_0x329a27(0x9e)](_0x329a27(0x9d)),_0x394abb[_0x329a27(0x9e)](_0x329a27(0x9b)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3ba4bc=_0x2b0a;function _0x2b0a(_0x1ef731,_0x4e678e){const _0x4341d9=_0x4341();return _0x2b0a=function(_0x2b0ace,_0x1fea68){_0x2b0ace=_0x2b0ace-0x125;let _0x4b94ce=_0x4341d9[_0x2b0ace];return _0x4b94ce;},_0x2b0a(_0x1ef731,_0x4e678e);}function _0x4341(){const _0x32453b=['3928iHXeHr','has','type','format','uploadcareImageReplace','665559WwVEzm','enableDefaultAttributesIntegration','2523CXnNzr','4304169FMCgNq','afterInit','TrackChangesEditing','66gojECU','plugins','key','enableCommand','registerBlockAttribute','563435sWpWJA','editor','uploadcareImageEdit','1762596xBSZda','registerDescriptionCallback','uploadcare','8106259xPBPhI','descriptionFactory','Uploadcare','uploadcareImageId','attribute','get','8BIJapl','UploadcareImageEdit','41072000fzhKCF'];_0x4341=function(){return _0x32453b;};return _0x4341();}(function(_0x40e90a,_0x22f055){const _0x3c5cd9=_0x2b0a,_0x5b3124=_0x40e90a();while(!![]){try{const _0x96f7a2=-parseInt(_0x3c5cd9(0x141))/0x1+parseInt(_0x3c5cd9(0x130))/0x2+parseInt(_0x3c5cd9(0x143))/0x3*(-parseInt(_0x3c5cd9(0x13c))/0x4)+parseInt(_0x3c5cd9(0x12d))/0x5*(-parseInt(_0x3c5cd9(0x128))/0x6)+-parseInt(_0x3c5cd9(0x133))/0x7+-parseInt(_0x3c5cd9(0x139))/0x8*(parseInt(_0x3c5cd9(0x125))/0x9)+parseInt(_0x3c5cd9(0x13b))/0xa;if(_0x96f7a2===_0x22f055)break;else _0x5b3124['push'](_0x5b3124['shift']());}catch(_0x361ec5){_0x5b3124['push'](_0x5b3124['shift']());}}}(_0x4341,0x97aba));import{Plugin as _0x123a2f}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x123a2f{[_0x3ba4bc(0x126)](){const _0x2ba76b=_0x3ba4bc,_0x567750=this[_0x2ba76b(0x12e)],_0x5a20d9=_0x567750[_0x2ba76b(0x129)][_0x2ba76b(0x138)](_0x2ba76b(0x127));_0x567750[_0x2ba76b(0x129)][_0x2ba76b(0x13d)](_0x2ba76b(0x135))&&(_0x5a20d9[_0x2ba76b(0x12b)](_0x2ba76b(0x132)),_0x567750[_0x2ba76b(0x129)][_0x2ba76b(0x13d)](_0x2ba76b(0x13a))&&(_0x5a20d9[_0x2ba76b(0x12b)](_0x2ba76b(0x12f)),_0x5a20d9[_0x2ba76b(0x142)](_0x2ba76b(0x140)),_0x5a20d9[_0x2ba76b(0x12c)](_0x2ba76b(0x136)),_0x5a20d9[_0x2ba76b(0x134)][_0x2ba76b(0x131)](_0x1b68e8=>{const _0x1d6a89=_0x2ba76b;if(_0x1d6a89(0x137)!=_0x1b68e8[_0x1d6a89(0x13e)])return;const {data:_0x47c2d1}=_0x1b68e8;return _0x47c2d1&&_0x1d6a89(0x136)==_0x47c2d1[_0x1d6a89(0x12a)]?{'type':_0x1d6a89(0x13f),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x579079,_0x59771b){const _0x504c26=_0x2c86,_0x352467=_0x579079();while(!![]){try{const _0x12c59b=-parseInt(_0x504c26(0x1f4))/0x1*(parseInt(_0x504c26(0x20f))/0x2)+-parseInt(_0x504c26(0x1fe))/0x3*(-parseInt(_0x504c26(0x1e0))/0x4)+parseInt(_0x504c26(0x212))/0x5*(parseInt(_0x504c26(0x1ea))/0x6)+-parseInt(_0x504c26(0x1de))/0x7+-parseInt(_0x504c26(0x1dd))/0x8*(parseInt(_0x504c26(0x1e7))/0x9)+-parseInt(_0x504c26(0x1ff))/0xa+parseInt(_0x504c26(0x1e8))/0xb*(parseInt(_0x504c26(0x203))/0xc);if(_0x12c59b===_0x59771b)break;else _0x352467['push'](_0x352467['shift']());}catch(_0x3e6df7){_0x352467['push'](_0x352467['shift']());}}}(_0x46e9,0x1d1b1));function _0x2c86(_0x3752c3,_0x356f6f){const _0x46e9fa=_0x46e9();return _0x2c86=function(_0x2c86af,_0x5a1d33){_0x2c86af=_0x2c86af-0x1dd;let _0x19c10f=_0x46e9fa[_0x2c86af];return _0x19c10f;},_0x2c86(_0x3752c3,_0x356f6f);}export function getRangesWithAttribute(_0x4ae8b3,_0xb30be9,_0x2d7404){const _0x364fec=_0x2c86,_0xe7bc1d=[];for(const _0x2612d9 of _0xb30be9[_0x364fec(0x201)]())_0x2612d9[_0x364fec(0x1fb)](_0x4ae8b3)&&_0xe7bc1d[_0x364fec(0x1fa)](_0x2d7404[_0x364fec(0x1fd)](_0x2612d9));return _0xe7bc1d;}export function downcastSplitMergeMarker(_0x4617e4,_0x3d3587,{showActiveMarker:_0x26b288=!0x0}={}){const _0x19193e=_0x2c86,_0x389654=_0x4617e4[_0x19193e(0x1ef)][_0x19193e(0x200)](_0x19193e(0x1eb));return(_0x58f17f,_0x2842c2,_0x4e509d)=>{const _0x356d8a=_0x19193e;if(!_0x4e509d[_0x356d8a(0x1e5)][_0x356d8a(0x20e)](_0x2842c2[_0x356d8a(0x20b)],_0x58f17f[_0x356d8a(0x1f8)]))return;const _0x48e81c=_0x2842c2[_0x356d8a(0x20b)][_0x356d8a(0x1fc)](),_0xb9164=_0x2842c2[_0x356d8a(0x20b)][_0x356d8a(0x206)],_0x4ed21d=_0x4617e4[_0x356d8a(0x20c)][_0x356d8a(0x1e4)];let _0x324a41=null,_0x3d5e19=null,_0x1ccb25=!0x1,_0x146f31=!0x1;for(const _0x3563bb of _0x48e81c){const _0x58b8b1=_0x3563bb[_0x356d8a(0x211)];_0x1ccb25=_0x1ccb25||_0x4ed21d[_0x356d8a(0x1f7)](_0x58b8b1);const _0x363acb=_0x4e509d[_0x356d8a(0x1f0)][_0x356d8a(0x20a)](_0x58b8b1);if(_0x363acb&&_0x363acb[_0x356d8a(0x207)](_0x356d8a(0x1f1)))return;_0x356d8a(0x1f3)==_0x3563bb[_0x356d8a(0x205)]&&(_0x4ed21d[_0x356d8a(0x210)](_0x58b8b1)&&!_0x4ed21d[_0x356d8a(0x1f9)](_0x58b8b1)&&(_0x58b8b1[_0x356d8a(0x1ee)]||_0xb9164[_0x356d8a(0x1e3)]?_0x324a41&&_0x324a41[_0x356d8a(0x1f6)]==_0x58b8b1||(_0x324a41=_0x58b8b1,_0x2f8a66(_0x3563bb[_0x356d8a(0x1df)]),_0x146f31=!0x0):_0x3d5e19=_0x3d5e19||_0x3563bb[_0x356d8a(0x1df)]));}function _0x2f8a66(_0x1ab03c){const _0x1c1370=_0x356d8a,{id:_0x167887,authorId:_0x2fe0fd}=_0x389654[_0x1c1370(0x1ed)](_0x2842c2[_0x1c1370(0x1e2)]),_0x4b2a09=_0x4e509d[_0x1c1370(0x209)][_0x1c1370(0x1e6)](_0x1c1370(0x1ec),{'class':_0x1c1370(0x204)+_0x3d3587,'data-suggestion':_0x167887,'data-author-id':_0x2fe0fd}),_0x1c0e5d=_0x4e509d[_0x1c1370(0x1f0)][_0x1c1370(0x1e1)](_0x1ab03c);_0x26b288&&_0x389654[_0x1c1370(0x202)][_0x1c1370(0x1f2)](_0x2842c2[_0x1c1370(0x1e2)])&&_0x4e509d[_0x1c1370(0x209)][_0x1c1370(0x208)](_0x1c1370(0x1e9),_0x4b2a09),_0x4e509d[_0x1c1370(0x209)][_0x1c1370(0x20d)](_0x1c0e5d,_0x4b2a09),_0x4e509d[_0x1c1370(0x1f0)][_0x1c1370(0x1f5)](_0x4b2a09,_0x2842c2[_0x1c1370(0x1e2)]);}_0x1ccb25||_0x146f31||!_0x3d5e19||_0x2f8a66(_0x3d5e19);};}function _0x46e9(){const _0x34e5bd=['1141032xIZFRJ','677516lWeROw','previousPosition','4wChOco','toViewPosition','markerName','isAtEnd','schema','consumable','createUIElement','9EzfVdK','2930917YzkJGd','ck-suggestion-marker--active','516QAHiQm','TrackChangesEditing','span','_splitMarkerName','nextSibling','plugins','mapper','addHighlight','includes','elementEnd','1yhUynO','bindElementToMarker','parent','isContent','name','isLimit','push','hasAttribute','getWalker','createRangeOn','500223JDhpQX','1434590AMzoqb','get','getItems','activeMarkers','12UcDHMm','ck-suggestion-marker-','type','start','getCustomProperty','addClass','writer','toViewElement','markerRange','model','insert','test','308874kEMqqe','isBlock','item','12985diPoWh'];_0x46e9=function(){return _0x34e5bd;};return _0x46e9();}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x66ffd6=_0x3d61;(function(_0x4de4c3,_0x53c4f8){const _0x47893d=_0x3d61,_0x561000=_0x4de4c3();while(!![]){try{const _0x339e9d=parseInt(_0x47893d(0xab))/0x1+parseInt(_0x47893d(0xb8))/0x2+parseInt(_0x47893d(0xbd))/0x3*(parseInt(_0x47893d(0xb4))/0x4)+parseInt(_0x47893d(0xac))/0x5+-parseInt(_0x47893d(0xb2))/0x6+parseInt(_0x47893d(0xe3))/0x7*(-parseInt(_0x47893d(0xb1))/0x8)+-parseInt(_0x47893d(0xeb))/0x9*(-parseInt(_0x47893d(0xcd))/0xa);if(_0x339e9d===_0x53c4f8)break;else _0x561000['push'](_0x561000['shift']());}catch(_0x19c338){_0x561000['push'](_0x561000['shift']());}}}(_0x3e8b,0x7c67b));import{ModelElement as _0x6653d6}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x133577,uid as _0x94e58a}from'ckeditor5/src/utils.js';import{cloneDeep as _0x19279b,isEqual as _0x55b5a0,set as _0x48f64f,unset as _0x2d5506}from'es-toolkit/compat';function _0x3d61(_0x5a3db3,_0x1748b8){const _0x3e8b36=_0x3e8b();return _0x3d61=function(_0x3d6185,_0x453d37){_0x3d6185=_0x3d6185-0x9f;let _0x3d61bd=_0x3e8b36[_0x3d6185];return _0x3d61bd;},_0x3d61(_0x5a3db3,_0x1748b8);}export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x133577(){['id'];[_0x66ffd6(0xb0)];[_0x66ffd6(0xba)];[_0x66ffd6(0xaa)];[_0x66ffd6(0xc1)];[_0x66ffd6(0xcb)];[_0x66ffd6(0xc5)];[_0x66ffd6(0xb6)];[_0x66ffd6(0xb9)];[_0x66ffd6(0xa9)]=!0x1;[_0x66ffd6(0xd7)];[_0x66ffd6(0xc0)];[_0x66ffd6(0xdb)];[_0x66ffd6(0xc7)];[_0x66ffd6(0xe9)];constructor(_0x291163,_0xdd169e){const _0x335e6f=_0x66ffd6;super(),this['id']=_0xdd169e['id'],this[_0x335e6f(0xb0)]=_0xdd169e[_0x335e6f(0xb0)],this[_0x335e6f(0xba)]=_0xdd169e[_0x335e6f(0xba)]||null,this[_0x335e6f(0xaa)]=_0xdd169e[_0x335e6f(0xaa)],this[_0x335e6f(0xc1)]=_0xdd169e[_0x335e6f(0xc1)]||_0xdd169e[_0x335e6f(0xaa)],this[_0x335e6f(0xcb)]=Boolean(_0xdd169e[_0x335e6f(0xa8)]&&_0xdd169e[_0x335e6f(0xa8)][_0x335e6f(0xda)]),this[_0x335e6f(0xc5)]=null,this[_0x335e6f(0xb9)]=_0xdd169e[_0x335e6f(0xec)]||null,this[_0x335e6f(0xd7)]=_0x291163,this[_0x335e6f(0xc0)]=_0xdd169e[_0x335e6f(0xf0)],this[_0x335e6f(0xdb)]=_0xdd169e[_0x335e6f(0xc2)],this[_0x335e6f(0xc7)]=_0xdd169e[_0x335e6f(0xc9)],this[_0x335e6f(0xe9)]=new Set(),this[_0x335e6f(0xb6)]=null,this[_0x335e6f(0xaf)](_0x335e6f(0xd5),null),this[_0x335e6f(0xaf)](_0x335e6f(0xa8),_0xdd169e[_0x335e6f(0xa8)]||{}),this[_0x335e6f(0xaf)](_0x335e6f(0xe0),null),this[_0x335e6f(0xaf)](_0x335e6f(0xd9),null),this[_0x335e6f(0xaf)](_0x335e6f(0xbc),null),this[_0x335e6f(0xaf)](_0x335e6f(0xa5),!0x1),this[_0x335e6f(0xef)](_0x335e6f(0xe1)),this[_0x335e6f(0xef)](_0x335e6f(0xdf));}get[_0x66ffd6(0xcf)](){const _0x5ec9ee=_0x66ffd6;let _0x21258d=this;for(;_0x21258d[_0x5ec9ee(0xe0)];)_0x21258d=_0x21258d[_0x5ec9ee(0xe0)];return _0x21258d;}get[_0x66ffd6(0xd4)](){const _0x34e2b8=_0x66ffd6;return!!this[_0x34e2b8(0xbc)]&&this[_0x34e2b8(0xbc)][_0x34e2b8(0xc6)]>0x0;}get[_0x66ffd6(0xa3)](){const _0x5a6f66=_0x66ffd6;if(0x0==this[_0x5a6f66(0xe9)][_0x5a6f66(0xf1)])return!0x1;return 0x6==Array[_0x5a6f66(0xa2)](this[_0x5a6f66(0xe9)])[0x0][_0x5a6f66(0xd1)](':')[_0x5a6f66(0xc6)];}get[_0x66ffd6(0xa1)](){const _0x41810a=_0x66ffd6;return null!==this[_0x41810a(0xb7)]();}[_0x66ffd6(0xa4)](_0x3551f4){const _0x3411c9=_0x66ffd6;this[_0x3411c9(0xe9)][_0x3411c9(0xbe)](_0x3551f4);}[_0x66ffd6(0xd0)](){const _0x29e38d=_0x66ffd6;return Array[_0x29e38d(0xa2)](this[_0x29e38d(0xe9)]);}[_0x66ffd6(0xce)](){const _0x502cdf=_0x66ffd6;return this[_0x502cdf(0xd0)]()[_0x502cdf(0xdc)](_0xc04f06=>this[_0x502cdf(0xd7)][_0x502cdf(0xc4)][_0x502cdf(0xe2)](_0xc04f06))[_0x502cdf(0x9f)](_0x2a2d69=>_0x2a2d69);}[_0x66ffd6(0xb7)](){const _0x2ba55d=_0x66ffd6;return this[_0x2ba55d(0xce)]()[0x0]||null;}[_0x66ffd6(0xca)](){const _0x5e7375=_0x66ffd6;this[_0x5e7375(0xd7)][_0x5e7375(0xe4)](_0x334fc7=>{const _0x36a6e7=_0x5e7375;for(const _0x5bc5e5 of this[_0x36a6e7(0xce)]())_0x334fc7[_0x36a6e7(0xb3)](_0x5bc5e5);}),this[_0x5e7375(0xe9)][_0x5e7375(0xed)]();}[_0x66ffd6(0xb3)](_0xf8337){const _0x33c1f7=_0x66ffd6;this[_0x33c1f7(0xd7)][_0x33c1f7(0xe4)](_0x5e4c4a=>{const _0x21d3ce=_0x33c1f7;_0x5e4c4a[_0x21d3ce(0xb3)](_0xf8337);}),this[_0x33c1f7(0xe9)][_0x33c1f7(0xee)](_0xf8337);}[_0x66ffd6(0xb5)](_0x41b052){const _0x5d8e00=_0x66ffd6,_0x75e03a=_0x5d8e00(0xbb)+this[_0x5d8e00(0xb0)]+':'+this[_0x5d8e00(0xba)]+':'+this['id']+':'+this[_0x5d8e00(0xc1)]['id']+':'+Suggestion[_0x5d8e00(0xe7)]();this[_0x5d8e00(0xa4)](_0x75e03a),this[_0x5d8e00(0xd7)][_0x5d8e00(0xe4)](_0x4e07a3=>{const _0x5af07f=_0x5d8e00;_0x4e07a3[_0x5af07f(0xdd)](_0x75e03a,{'range':_0x41b052,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x66ffd6(0xe5)](_0x3b350b){const _0x1646f3=_0x66ffd6;for(const _0x5c1906 of this[_0x1646f3(0xad)]())if(_0x5c1906[_0x1646f3(0xea)](_0x3b350b))return!0x0;return!0x1;}[_0x66ffd6(0xad)](){const _0x53a665=_0x66ffd6;return this[_0x53a665(0xce)]()[_0x53a665(0xdc)](_0x19340f=>_0x19340f[_0x53a665(0xd3)]());}[_0x66ffd6(0xa6)](){const _0x32f5af=_0x66ffd6;return this[_0x32f5af(0xad)]()[_0x32f5af(0xa0)]((_0x310440,_0xaf27fa)=>[..._0x310440,..._0xaf27fa[_0x32f5af(0xa6)]()],[]);}[_0x66ffd6(0xe6)](){const _0x3a5ade=_0x66ffd6;return this[_0x3a5ade(0xb7)]()?.[_0x3a5ade(0xd3)]()||null;}[_0x66ffd6(0xae)](){const _0x2a2189=_0x66ffd6,_0x505f56=this[_0x2a2189(0xad)]();if(0x1!=_0x505f56[_0x2a2189(0xc6)])return null;const _0x1a5f71=_0x505f56[0x0],_0x23af34=_0x1a5f71[_0x2a2189(0xe8)][_0x2a2189(0xc8)],_0x5cdfa8=_0x1a5f71[_0x2a2189(0xd6)][_0x2a2189(0xcc)];return _0x23af34 instanceof _0x6653d6?_0x23af34!=_0x5cdfa8?null:_0x23af34:null;}[_0x66ffd6(0xe1)](){const _0x367d93=_0x66ffd6;this[_0x367d93(0xc0)](this[_0x367d93(0xad)](),this[_0x367d93(0xc5)],this[_0x367d93(0xa8)]),this[_0x367d93(0xca)]();}[_0x66ffd6(0xdf)](){const _0x12e4b4=_0x66ffd6;this[_0x12e4b4(0xdb)](this[_0x12e4b4(0xad)](),this[_0x12e4b4(0xc5)],this[_0x12e4b4(0xa8)]),this[_0x12e4b4(0xca)]();}[_0x66ffd6(0xbf)](){const _0x4f8e01=_0x66ffd6,_0x1a37b2=[];let _0x2157b0=this[_0x4f8e01(0xcf)];for(;_0x2157b0;)_0x1a37b2[_0x4f8e01(0xd2)](_0x2157b0),_0x2157b0=_0x2157b0[_0x4f8e01(0xd9)];return _0x1a37b2;}[_0x66ffd6(0xa7)](_0x4450f2,_0x5527dc){const _0x863f85=_0x66ffd6,_0x4c7640=_0x19279b(this[_0x863f85(0xa8)]);_0x48f64f(_0x4c7640,_0x4450f2,_0x5527dc),_0x55b5a0(_0x4c7640,this[_0x863f85(0xa8)])||(this[_0x863f85(0xa8)]=_0x4c7640,this[_0x863f85(0xc7)](_0x4c7640));}[_0x66ffd6(0xde)](_0xa3c95a){const _0x220872=_0x66ffd6,_0x51234f=_0x19279b(this[_0x220872(0xa8)]);_0x2d5506(_0x51234f,_0xa3c95a),_0x55b5a0(_0x51234f,this[_0x220872(0xa8)])||(this[_0x220872(0xa8)]=_0x51234f,this[_0x220872(0xc7)](this[_0x220872(0xa8)]));}[_0x66ffd6(0xd8)](){const _0x2ff851=_0x66ffd6;return{'id':this['id'],'type':this[_0x2ff851(0xba)]?this[_0x2ff851(0xb0)]+':'+this[_0x2ff851(0xba)]:this[_0x2ff851(0xb0)],'authorId':this[_0x2ff851(0xc1)]['id'],'createdAt':this[_0x2ff851(0xb6)],'hasComments':this[_0x2ff851(0xd4)],'data':this[_0x2ff851(0xc5)],'attributes':this[_0x2ff851(0xa8)]};}static[_0x66ffd6(0xe7)](){const _0x5b2f4f=_0x66ffd6;return _0x94e58a()[_0x5b2f4f(0xc3)](0x1,0x5);}}function _0x3e8b(){const _0x53ce94=['getRanges','getContainedElement','set','type','6409528iKAxXm','4991220JtfOyA','removeMarker','16756MWBXoL','addRange','createdAt','getFirstMarker','695430LyEZCI','_originalSuggestionId','subType','suggestion:','commentThread','318IhndPZ','add','getAllAdjacentSuggestions','_onAccept','creator','onDiscard','substr','markers','data','length','_onAttributesChange','nodeAfter','onAttributesChange','removeMarkers','isExternal','nodeBefore','10CllvWi','getMarkers','head','getMarkerNames','split','push','getRange','hasComments','authoredAt','end','_model','toJSON','next','@external','_onDiscard','map','addMarker','removeAttribute','discard','previous','accept','get','7jqiUDI','change','isIntersectingWithRange','getFirstRange','getMultiRangeId','start','_markerNames','isIntersecting','3819600NVlkDN','originalSuggestionId','clear','delete','decorate','onAccept','size','filter','reduce','isInContent','from','isMultiRange','addMarkerName','_saved','getItems','setAttribute','attributes','_isDataLoaded','author','37929eKTsPg','4442730zDhoQU'];_0x3e8b=function(){return _0x53ce94;};return _0x3e8b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1cba0c=_0x5583;(function(_0x254245,_0xed63d2){const _0x22bffd=_0x5583,_0x6f9be1=_0x254245();while(!![]){try{const _0x30b164=parseInt(_0x22bffd(0x166))/0x1+parseInt(_0x22bffd(0x135))/0x2*(parseInt(_0x22bffd(0x148))/0x3)+parseInt(_0x22bffd(0x183))/0x4*(parseInt(_0x22bffd(0x178))/0x5)+-parseInt(_0x22bffd(0x147))/0x6+-parseInt(_0x22bffd(0x139))/0x7*(parseInt(_0x22bffd(0x138))/0x8)+-parseInt(_0x22bffd(0x156))/0x9+parseInt(_0x22bffd(0x15a))/0xa;if(_0x30b164===_0xed63d2)break;else _0x6f9be1['push'](_0x6f9be1['shift']());}catch(_0x18433b){_0x6f9be1['push'](_0x6f9be1['shift']());}}}(_0x144e,0x1f78d));import{getTranslation as _0x1b7637}from'./utils/common-translations.js';import{priorities as _0x5b6226,insertToPriorityArray as _0x5ab40d}from'ckeditor5/src/utils.js';function _0x5583(_0x37ba22,_0x5caf16){const _0x144e20=_0x144e();return _0x5583=function(_0x558377,_0x25573a){_0x558377=_0x558377-0x135;let _0x58263b=_0x144e20[_0x558377];return _0x58263b;},_0x5583(_0x37ba22,_0x5caf16);}import{renameAttributeKey as _0x3d97c6}from'./trackchangesediting.js';function _0x144e(){const _0x448660=['3878100AzYOEw','$1\x20$2','_handleRenameSuggestionDescription','_customCallbacks','start','elementStart','nodeAfter','insertion','isEmpty','elementEnd','add','has','83122hhPYLk','Object','checkChild','*Insert:*\x20%0','REPLACE_TEXT','_itemLabels','_handleAttributeSuggestionDescription','replace','key','normal','indexOf','registerAttributeLabel','quantity','attribute','skip','end','*Change\x20to:*\x20%0','_schema','120OANPsX','label','element','isObject','_handleCustomCallbackDescription','removeObject','$textProxy','ELEMENT_SPACE','isInContent','*Remove\x20format:*\x20%0','join','36836QFxCCs','EmptyContainer','addEmptyContainer','$text','addObject','*Set\x20format:*\x20%0','removeContainer','text','push','registerElementLabel','_handleInsertRemoveSuggestionDescription','pop','getWalker','*Split:*\x20%0','_locale','_itemLabelsCallbacks','addFormat','match','data','2fqUkyJ','set','registerDescriptionCallback','56fVXBAh','160713fimvVA','isEqual','previousSibling','item','newValue','getItemLabel','_attributeLabels','Container','matchingCallback','remove','deletion','getDescriptions','type','*Remove:*\x20%0','1209984TdxvQu','1047JFxjZX','length','getFirstRange','_addDescriptionItems','softBreak','nextSibling','addContainer','removeEmptyContainer','map','_resolveDescriptionItems','*Merge:*\x20%0','subType','format','function','1809099FYafzm','get','name','removeFormat'];_0x144e=function(){return _0x448660;};return _0x144e();}export class SuggestionDescriptionFactory{[_0x1cba0c(0x15d)];[_0x1cba0c(0x16b)];[_0x1cba0c(0x192)];[_0x1cba0c(0x13f)];[_0x1cba0c(0x177)];[_0x1cba0c(0x191)];constructor(_0xf33859,_0x5d6013){const _0x1fee24=_0x1cba0c;this[_0x1fee24(0x15d)]=[],this[_0x1fee24(0x16b)]=new Map(),this[_0x1fee24(0x192)]=[],this[_0x1fee24(0x13f)]=new Map(),this[_0x1fee24(0x177)]=_0xf33859,this[_0x1fee24(0x191)]=_0x5d6013;}[_0x1cba0c(0x144)](_0x46d010){const _0x9530db=_0x1cba0c,_0x5a0174=[],_0x62409a=new Set(),_0x4cbb68=new Set();for(let _0x4cfb20=0x0;_0x4cfb20<_0x46d010[_0x9530db(0x149)];_0x4cfb20++){const _0x6bd32d=_0x46d010[_0x4cfb20];if(!_0x6bd32d[_0x9530db(0x180)])continue;const _0x194a06=this[_0x9530db(0x17c)](_0x6bd32d);if(_0x194a06){if(null!=_0x6bd32d[_0x9530db(0x153)]){if(_0x62409a[_0x9530db(0x165)](_0x6bd32d[_0x9530db(0x153)]))continue;_0x62409a[_0x9530db(0x164)](_0x6bd32d[_0x9530db(0x153)]);}_0x5a0174[_0x9530db(0x18b)](_0x194a06);}else{if(_0x9530db(0x173)==_0x6bd32d[_0x9530db(0x145)]){const _0x470ce2=_0x6bd32d[_0x9530db(0x195)][_0x9530db(0x16e)];if(_0x4cbb68[_0x9530db(0x165)](_0x470ce2))continue;_0x4cbb68[_0x9530db(0x164)](_0x6bd32d[_0x9530db(0x195)][_0x9530db(0x16e)]),_0x470ce2==_0x3d97c6?this[_0x9530db(0x15c)](_0x5a0174,_0x6bd32d):this[_0x9530db(0x16c)](_0x5a0174,_0x6bd32d);continue;}_0x9530db(0x161)!=_0x6bd32d[_0x9530db(0x145)]&&_0x9530db(0x143)!=_0x6bd32d[_0x9530db(0x145)]||this[_0x9530db(0x18d)](_0x5a0174,_0x6bd32d,_0x46d010[_0x4cfb20+0x1]);}}return this[_0x9530db(0x151)](_0x5a0174);}[_0x1cba0c(0x137)](_0x36517d){const _0x157682=_0x1cba0c;this[_0x157682(0x15d)][_0x157682(0x18b)](_0x36517d);}[_0x1cba0c(0x18c)](_0x4275be,_0x1dd926,_0xce5499=_0x5b6226[_0x1cba0c(0x16f)]){const _0x39a951=_0x1cba0c;_0x39a951(0x155)==typeof _0x4275be?_0x5ab40d(this[_0x39a951(0x192)],{'matchingCallback':_0x4275be,'label':_0x1dd926,'priority':_0xce5499}):this[_0x39a951(0x16b)][_0x39a951(0x136)](_0x4275be,_0x1dd926);}[_0x1cba0c(0x171)](_0x3ee575,_0x314e5e){const _0x5a9f29=_0x1cba0c;this[_0x5a9f29(0x13f)][_0x5a9f29(0x136)](_0x3ee575,_0x314e5e);}[_0x1cba0c(0x13e)](_0x2849d8,_0x3c1e0a=0x1){const _0x2a1fb6=_0x1cba0c;let _0x5c299b;for(const _0x4f9f36 of this[_0x2a1fb6(0x192)])if(_0x4f9f36[_0x2a1fb6(0x141)](_0x2849d8)){_0x5c299b=_0x4f9f36[_0x2a1fb6(0x179)];break;}return _0x5c299b||(_0x5c299b=this[_0x2a1fb6(0x16b)][_0x2a1fb6(0x157)](_0x2849d8[_0x2a1fb6(0x158)])),_0x5c299b?_0x5c299b(_0x3c1e0a):0x1!==_0x3c1e0a?_0x3c1e0a+'\x20'+_0x2849d8[_0x2a1fb6(0x158)]+'s':''+_0x2849d8[_0x2a1fb6(0x158)];}[_0x1cba0c(0x14b)](_0x8a8373,_0x47e10f){const _0x4f462e=_0x1cba0c,_0x2b9eb6=_0x47e10f[_0x4f462e(0x14a)]()[_0x4f462e(0x18f)](),_0x18598f=_0x4f462e(0x161)==_0x47e10f[_0x4f462e(0x145)]?_0x4f462e(0x164):_0x4f462e(0x142);for(const _0x3db38b of _0x2b9eb6){const _0x3b5fb3=_0x3db38b[_0x4f462e(0x13c)],_0x531d43=_0x8a8373[_0x8a8373[_0x4f462e(0x149)]-0x1];if(_0x3b5fb3['is'](_0x4f462e(0x17e)))_0x531d43&&_0x531d43[_0x4f462e(0x145)][_0x4f462e(0x170)](_0x4f462e(0x140))>-0x1&&_0x8a8373[_0x4f462e(0x18e)](),_0x531d43&&_0x4f462e(0x18a)==_0x531d43[_0x4f462e(0x145)]?_0x531d43[_0x18598f]+=_0x3b5fb3[_0x4f462e(0x195)]:_0x8a8373[_0x4f462e(0x18b)]({'type':_0x4f462e(0x18a),'add':_0x4f462e(0x164)==_0x18598f?_0x3b5fb3[_0x4f462e(0x195)]:'','remove':_0x4f462e(0x142)==_0x18598f?_0x3b5fb3[_0x4f462e(0x195)]:''});else{if(this[_0x4f462e(0x177)][_0x4f462e(0x17b)](_0x3b5fb3)){const _0x5ab93a=_0x3b5fb3;if(_0x531d43&&_0x531d43[_0x4f462e(0x145)][_0x4f462e(0x170)](_0x4f462e(0x140))>-0x1&&_0x8a8373[_0x4f462e(0x18e)](),_0x4f462e(0x163)==_0x3db38b[_0x4f462e(0x145)])continue;_0x531d43&&_0x531d43[_0x4f462e(0x145)]==_0x18598f+_0x4f462e(0x167)&&_0x531d43[_0x4f462e(0x17a)][_0x4f462e(0x158)]==_0x5ab93a[_0x4f462e(0x158)]?_0x531d43[_0x4f462e(0x172)]++:_0x8a8373[_0x4f462e(0x18b)]({'type':_0x18598f+_0x4f462e(0x167),'element':_0x5ab93a,'quantity':0x1}),_0x2b9eb6[_0x4f462e(0x174)](_0x5acc93=>!(_0x4f462e(0x163)==_0x5acc93[_0x4f462e(0x145)]&&_0x5acc93[_0x4f462e(0x13c)]==_0x3b5fb3));}else{if(this[_0x4f462e(0x177)][_0x4f462e(0x168)](_0x3b5fb3,_0x4f462e(0x186))||_0x3b5fb3['is'](_0x4f462e(0x17a),_0x4f462e(0x14c))){const _0x5088f9=_0x3b5fb3;if(_0x4f462e(0x164)==_0x18598f&&_0x4f462e(0x15f)==_0x3db38b[_0x4f462e(0x145)]||_0x4f462e(0x142)==_0x18598f&&_0x4f462e(0x163)==_0x3db38b[_0x4f462e(0x145)])continue;if(_0x531d43&&-0x1==_0x531d43[_0x4f462e(0x145)][_0x4f462e(0x170)](_0x4f462e(0x140))){_0x4f462e(0x18a)==_0x531d43[_0x4f462e(0x145)]&&(_0x531d43[_0x18598f]+='\x0a');continue;}let _0x276bfb;if(_0x276bfb=_0x4f462e(0x164)==_0x18598f?_0x5088f9[_0x4f462e(0x14d)]&&!this[_0x4f462e(0x177)][_0x4f462e(0x17b)](_0x5088f9[_0x4f462e(0x14d)])?_0x5088f9[_0x4f462e(0x14d)]:null:_0x5088f9[_0x4f462e(0x13b)]&&!this[_0x4f462e(0x177)][_0x4f462e(0x17b)](_0x5088f9[_0x4f462e(0x13b)])?_0x5088f9[_0x4f462e(0x13b)]:null,_0x5088f9[_0x4f462e(0x162)]||_0x276bfb&&_0x276bfb[_0x4f462e(0x162)]){const _0x2d30d3=_0x276bfb&&_0x276bfb[_0x4f462e(0x162)]?_0x276bfb:_0x5088f9;_0x531d43&&_0x531d43[_0x4f462e(0x145)]==_0x18598f+_0x4f462e(0x184)&&_0x531d43[_0x4f462e(0x17a)][_0x4f462e(0x158)]==_0x2d30d3[_0x4f462e(0x158)]?_0x531d43[_0x4f462e(0x172)]++:_0x8a8373[_0x4f462e(0x18b)]({'type':_0x18598f+_0x4f462e(0x184),'element':_0x2d30d3,'quantity':0x1});}else _0x8a8373[_0x4f462e(0x18b)]({'type':_0x18598f+_0x4f462e(0x140),'element':_0x5088f9});}}}}}[_0x1cba0c(0x151)](_0x391596){const _0x4da8af=_0x1cba0c,_0x1a8a54=this[_0x4da8af(0x191)],_0x84f31e=[],_0x344d30=[],_0x6dc965=[];for(const _0x233bf1 of _0x391596)switch(_0x233bf1[_0x4da8af(0x145)]){case _0x4da8af(0x18a):if(_0x233bf1[_0x4da8af(0x164)]=_0x233bf1[_0x4da8af(0x164)][_0x4da8af(0x16d)](/(\S)\u000A+(\S)/g,_0x4da8af(0x15b))[_0x4da8af(0x16d)](/\u000A/g,''),_0x233bf1[_0x4da8af(0x142)]=_0x233bf1[_0x4da8af(0x142)][_0x4da8af(0x16d)](/(\S)\u000A+(\S)/g,_0x4da8af(0x15b))[_0x4da8af(0x16d)](/\u000A/g,''),''!=_0x233bf1[_0x4da8af(0x164)]&&''!=_0x233bf1[_0x4da8af(0x142)]){_0x84f31e[_0x4da8af(0x18b)]({'type':_0x4da8af(0x16d),'content':_0x1b7637(_0x1a8a54,_0x4da8af(0x16a),['\x22'+_0x233bf1[_0x4da8af(0x142)]+'\x22','\x22'+_0x233bf1[_0x4da8af(0x164)]+'\x22'])});continue;}if(null!=_0x233bf1[_0x4da8af(0x164)][_0x4da8af(0x194)](/^ +$/)){_0x84f31e[_0x4da8af(0x18b)]({'type':_0x4da8af(0x161),'content':_0x1b7637(_0x1a8a54,_0x4da8af(0x169),_0x1b7637(_0x1a8a54,_0x4da8af(0x17f),_0x233bf1[_0x4da8af(0x164)][_0x4da8af(0x149)]))});continue;}if(null!=_0x233bf1[_0x4da8af(0x142)][_0x4da8af(0x194)](/^ +$/)){_0x84f31e[_0x4da8af(0x18b)]({'type':_0x4da8af(0x143),'content':_0x1b7637(_0x1a8a54,_0x4da8af(0x146),_0x1b7637(_0x1a8a54,_0x4da8af(0x17f),_0x233bf1[_0x4da8af(0x142)][_0x4da8af(0x149)]))});continue;}if(''!=_0x233bf1[_0x4da8af(0x164)]){_0x84f31e[_0x4da8af(0x18b)]({'type':_0x4da8af(0x161),'content':_0x1b7637(_0x1a8a54,_0x4da8af(0x169),'\x22'+_0x233bf1[_0x4da8af(0x164)]+'\x22')});continue;}_0x84f31e[_0x4da8af(0x18b)]({'type':_0x4da8af(0x143),'content':_0x1b7637(_0x1a8a54,_0x4da8af(0x146),'\x22'+_0x233bf1[_0x4da8af(0x142)]+'\x22')});continue;case _0x4da8af(0x185):case _0x4da8af(0x187):_0x84f31e[_0x4da8af(0x18b)]({'type':_0x4da8af(0x161),'content':_0x1b7637(_0x1a8a54,_0x4da8af(0x169),this[_0x4da8af(0x13e)](_0x233bf1[_0x4da8af(0x17a)],_0x233bf1[_0x4da8af(0x172)]))});continue;case _0x4da8af(0x14f):case _0x4da8af(0x17d):_0x84f31e[_0x4da8af(0x18b)]({'type':_0x4da8af(0x143),'content':_0x1b7637(_0x1a8a54,_0x4da8af(0x146),this[_0x4da8af(0x13e)](_0x233bf1[_0x4da8af(0x17a)],_0x233bf1[_0x4da8af(0x172)]))});continue;case _0x4da8af(0x14e):_0x84f31e[_0x4da8af(0x18b)]({'type':_0x4da8af(0x161),'content':_0x1b7637(_0x1a8a54,_0x4da8af(0x190),this[_0x4da8af(0x13e)](_0x233bf1[_0x4da8af(0x17a)],_0x233bf1[_0x4da8af(0x172)]))});continue;case _0x4da8af(0x189):_0x84f31e[_0x4da8af(0x18b)]({'type':_0x4da8af(0x143),'content':_0x1b7637(_0x1a8a54,_0x4da8af(0x152),this[_0x4da8af(0x13e)](_0x233bf1[_0x4da8af(0x17a)],_0x233bf1[_0x4da8af(0x172)]))});continue;case _0x4da8af(0x193):_0x344d30[_0x4da8af(0x18b)](_0x233bf1[_0x4da8af(0x16e)]);continue;case _0x4da8af(0x159):_0x6dc965[_0x4da8af(0x18b)](_0x233bf1[_0x4da8af(0x16e)]);continue;default:_0x84f31e[_0x4da8af(0x18b)](_0x233bf1);}if(_0x344d30[_0x4da8af(0x149)]){const _0x52c032=_0x344d30[_0x4da8af(0x150)](_0x2871cb=>this[_0x4da8af(0x13f)][_0x4da8af(0x165)](_0x2871cb)?this[_0x4da8af(0x13f)][_0x4da8af(0x157)](_0x2871cb):_0x2871cb)[_0x4da8af(0x182)](',\x20');_0x84f31e[_0x4da8af(0x18b)]({'type':_0x4da8af(0x154),'content':_0x1b7637(this[_0x4da8af(0x191)],_0x4da8af(0x188),_0x52c032)});}if(_0x6dc965[_0x4da8af(0x149)]){const _0x2f239c=_0x6dc965[_0x4da8af(0x150)](_0x334439=>this[_0x4da8af(0x13f)][_0x4da8af(0x165)](_0x334439)?this[_0x4da8af(0x13f)][_0x4da8af(0x157)](_0x334439):_0x334439)[_0x4da8af(0x182)](',\x20');_0x84f31e[_0x4da8af(0x18b)]({'type':_0x4da8af(0x154),'content':_0x1b7637(this[_0x4da8af(0x191)],_0x4da8af(0x181),_0x2f239c)});}return _0x84f31e;}[_0x1cba0c(0x17c)](_0x405c7f){const _0x24dd3d=_0x1cba0c;for(const _0x14c0bc of this[_0x24dd3d(0x15d)]){const _0xa40223=_0x14c0bc(_0x405c7f);if(_0xa40223&&_0x24dd3d(0x145)in _0xa40223)return _0xa40223;}}[_0x1cba0c(0x16c)](_0x3762ee,_0x110068){const _0xdc11a2=_0x1cba0c,_0x5828ee=_0x110068[_0xdc11a2(0x195)],_0x87ed3c=void 0x0===_0x5828ee[_0xdc11a2(0x13d)]?_0xdc11a2(0x159):_0xdc11a2(0x193);_0x3762ee[_0xdc11a2(0x18b)]({'type':_0x87ed3c,'key':_0x5828ee[_0xdc11a2(0x16e)]});}[_0x1cba0c(0x15c)](_0x17783e,_0x4e4d3a){const _0x48ccf7=_0x1cba0c;_0x17783e[_0x48ccf7(0x18b)]({'type':_0x48ccf7(0x154),'content':_0x1b7637(this[_0x48ccf7(0x191)],_0x48ccf7(0x176),this[_0x48ccf7(0x13e)](_0x4e4d3a[_0x48ccf7(0x14a)]()[_0x48ccf7(0x15e)][_0x48ccf7(0x160)],0x1))});}[_0x1cba0c(0x18d)](_0x426ac8,_0x159507,_0x56004f){const _0x563a2e=_0x1cba0c;if(this[_0x563a2e(0x14b)](_0x426ac8,_0x159507),_0x56004f&&_0x56004f[_0x563a2e(0x14a)]()&&!_0x159507[_0x563a2e(0x14a)]()[_0x563a2e(0x175)][_0x563a2e(0x13a)](_0x56004f[_0x563a2e(0x14a)]()[_0x563a2e(0x15e)])){const _0x3bd0d3=_0x426ac8[_0x426ac8[_0x563a2e(0x149)]-0x1],_0x317734=_0x563a2e(0x161)==_0x159507[_0x563a2e(0x145)]?_0x563a2e(0x164):_0x563a2e(0x142);_0x3bd0d3&&_0x563a2e(0x18a)==_0x3bd0d3[_0x563a2e(0x145)]&&(_0x3bd0d3[_0x317734]+='\x0a');}}}
|
|
23
|
+
const _0x3a6b68=_0x32e2;function _0x45df(){const _0x3e7443=['push','text','_handleInsertRemoveSuggestionDescription','_handleCustomCallbackDescription','pop','checkChild','removeContainer','addEmptyContainer','_customCallbacks','_itemLabels','$1\x20$2','name','registerAttributeLabel','310UYosUZ','join','elementStart','4nIRbDG','removeObject','remove','addObject','ELEMENT_SPACE','*Merge:*\x20%0','_addDescriptionItems','isInContent','item','registerDescriptionCallback','start','elementEnd','*Change\x20to:*\x20%0','softBreak','element','$textProxy','nodeAfter','indexOf','isEmpty','205938SPbWSt','removeFormat','format','7678qJScAp','*Remove\x20format:*\x20%0','label','type','getFirstRange','_schema','end','match','set','1096WtxuyZ','insertion','_resolveDescriptionItems','_handleAttributeSuggestionDescription','_attributeLabels','previousSibling','data','EmptyContainer','*Split:*\x20%0','getItemLabel','replace','Object','getDescriptions','quantity','skip','getWalker','810516acPQpK','isObject','19355gIMizV','key','deletion','get','228CqpPTr','normal','subType','attribute','835473UXmBjd','3IdGkJU','has','removeEmptyContainer','*Insert:*\x20%0','5184910djQLEV','addFormat','addContainer','_handleRenameSuggestionDescription','_itemLabelsCallbacks','isEqual','nextSibling','*Remove:*\x20%0','matchingCallback','*Set\x20format:*\x20%0','_locale','function','registerElementLabel','add','map','newValue','6289452jCnoVU','$text','Container','REPLACE_TEXT','length'];_0x45df=function(){return _0x3e7443;};return _0x45df();}(function(_0x145185,_0x44efc2){const _0x183170=_0x32e2,_0x22d6f6=_0x145185();while(!![]){try{const _0x51a2ad=parseInt(_0x183170(0x1f6))/0x1+parseInt(_0x183170(0x1ec))/0x2*(-parseInt(_0x183170(0x1f7))/0x3)+parseInt(_0x183170(0x220))/0x4*(-parseInt(_0x183170(0x1fb))/0x5)+parseInt(_0x183170(0x20b))/0x6+parseInt(_0x183170(0x1ee))/0x7*(-parseInt(_0x183170(0x1dc))/0x8)+parseInt(_0x183170(0x233))/0x9*(parseInt(_0x183170(0x21d))/0xa)+parseInt(_0x183170(0x236))/0xb*(parseInt(_0x183170(0x1f2))/0xc);if(_0x51a2ad===_0x44efc2)break;else _0x22d6f6['push'](_0x22d6f6['shift']());}catch(_0x31c2d1){_0x22d6f6['push'](_0x22d6f6['shift']());}}}(_0x45df,0xbfb7a));function _0x32e2(_0x363ba3,_0x32c938){const _0x45df9b=_0x45df();return _0x32e2=function(_0x32e2c5,_0x435076){_0x32e2c5=_0x32e2c5-0x1d5;let _0x35fb19=_0x45df9b[_0x32e2c5];return _0x35fb19;},_0x32e2(_0x363ba3,_0x32c938);}import{getTranslation as _0x4d344e}from'./utils/common-translations.js';import{priorities as _0x57a74b,insertToPriorityArray as _0x20e74c}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x57e2ec}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x3a6b68(0x218)];[_0x3a6b68(0x219)];[_0x3a6b68(0x1ff)];[_0x3a6b68(0x1e0)];[_0x3a6b68(0x1d8)];[_0x3a6b68(0x205)];constructor(_0x5f503a,_0xd50b27){const _0x5e130a=_0x3a6b68;this[_0x5e130a(0x218)]=[],this[_0x5e130a(0x219)]=new Map(),this[_0x5e130a(0x1ff)]=[],this[_0x5e130a(0x1e0)]=new Map(),this[_0x5e130a(0x1d8)]=_0x5f503a,this[_0x5e130a(0x205)]=_0xd50b27;}[_0x3a6b68(0x1e8)](_0x40fd68){const _0x48a34f=_0x3a6b68,_0x1fd28a=[],_0x7ad9a5=new Set(),_0x2c2b4b=new Set();for(let _0x4a3259=0x0;_0x4a3259<_0x40fd68[_0x48a34f(0x20f)];_0x4a3259++){const _0x493c20=_0x40fd68[_0x4a3259];if(!_0x493c20[_0x48a34f(0x227)])continue;const _0x58c4f9=this[_0x48a34f(0x213)](_0x493c20);if(_0x58c4f9){if(null!=_0x493c20[_0x48a34f(0x1f4)]){if(_0x7ad9a5[_0x48a34f(0x1f8)](_0x493c20[_0x48a34f(0x1f4)]))continue;_0x7ad9a5[_0x48a34f(0x208)](_0x493c20[_0x48a34f(0x1f4)]);}_0x1fd28a[_0x48a34f(0x210)](_0x58c4f9);}else{if(_0x48a34f(0x1f5)==_0x493c20[_0x48a34f(0x1d6)]){const _0x455c57=_0x493c20[_0x48a34f(0x1e2)][_0x48a34f(0x1ef)];if(_0x2c2b4b[_0x48a34f(0x1f8)](_0x455c57))continue;_0x2c2b4b[_0x48a34f(0x208)](_0x493c20[_0x48a34f(0x1e2)][_0x48a34f(0x1ef)]),_0x455c57==_0x57e2ec?this[_0x48a34f(0x1fe)](_0x1fd28a,_0x493c20):this[_0x48a34f(0x1df)](_0x1fd28a,_0x493c20);continue;}_0x48a34f(0x1dd)!=_0x493c20[_0x48a34f(0x1d6)]&&_0x48a34f(0x1f0)!=_0x493c20[_0x48a34f(0x1d6)]||this[_0x48a34f(0x212)](_0x1fd28a,_0x493c20,_0x40fd68[_0x4a3259+0x1]);}}return this[_0x48a34f(0x1de)](_0x1fd28a);}[_0x3a6b68(0x229)](_0xfef669){const _0x5ab5ae=_0x3a6b68;this[_0x5ab5ae(0x218)][_0x5ab5ae(0x210)](_0xfef669);}[_0x3a6b68(0x207)](_0x154170,_0x41a0f6,_0xd38d5b=_0x57a74b[_0x3a6b68(0x1f3)]){const _0x54f024=_0x3a6b68;_0x54f024(0x206)==typeof _0x154170?_0x20e74c(this[_0x54f024(0x1ff)],{'matchingCallback':_0x154170,'label':_0x41a0f6,'priority':_0xd38d5b}):this[_0x54f024(0x219)][_0x54f024(0x1db)](_0x154170,_0x41a0f6);}[_0x3a6b68(0x21c)](_0x13c32c,_0x1a0aab){const _0x75786=_0x3a6b68;this[_0x75786(0x1e0)][_0x75786(0x1db)](_0x13c32c,_0x1a0aab);}[_0x3a6b68(0x1e5)](_0xcb6c3b,_0x4f929f=0x1){const _0x4d6fad=_0x3a6b68;let _0x5a454b;for(const _0x57f60c of this[_0x4d6fad(0x1ff)])if(_0x57f60c[_0x4d6fad(0x203)](_0xcb6c3b)){_0x5a454b=_0x57f60c[_0x4d6fad(0x1d5)];break;}return _0x5a454b||(_0x5a454b=this[_0x4d6fad(0x219)][_0x4d6fad(0x1f1)](_0xcb6c3b[_0x4d6fad(0x21b)])),_0x5a454b?_0x5a454b(_0x4f929f):0x1!==_0x4f929f?_0x4f929f+'\x20'+_0xcb6c3b[_0x4d6fad(0x21b)]+'s':''+_0xcb6c3b[_0x4d6fad(0x21b)];}[_0x3a6b68(0x226)](_0x304eba,_0x231ae9){const _0x8b1345=_0x3a6b68,_0xf600e0=_0x231ae9[_0x8b1345(0x1d7)]()[_0x8b1345(0x1eb)](),_0x49f4b6=_0x8b1345(0x1dd)==_0x231ae9[_0x8b1345(0x1d6)]?_0x8b1345(0x208):_0x8b1345(0x222);for(const _0x23394c of _0xf600e0){const _0x47467a=_0x23394c[_0x8b1345(0x228)],_0x36bb0e=_0x304eba[_0x304eba[_0x8b1345(0x20f)]-0x1];if(_0x47467a['is'](_0x8b1345(0x22f)))_0x36bb0e&&_0x36bb0e[_0x8b1345(0x1d6)][_0x8b1345(0x231)](_0x8b1345(0x20d))>-0x1&&_0x304eba[_0x8b1345(0x214)](),_0x36bb0e&&_0x8b1345(0x211)==_0x36bb0e[_0x8b1345(0x1d6)]?_0x36bb0e[_0x49f4b6]+=_0x47467a[_0x8b1345(0x1e2)]:_0x304eba[_0x8b1345(0x210)]({'type':_0x8b1345(0x211),'add':_0x8b1345(0x208)==_0x49f4b6?_0x47467a[_0x8b1345(0x1e2)]:'','remove':_0x8b1345(0x222)==_0x49f4b6?_0x47467a[_0x8b1345(0x1e2)]:''});else{if(this[_0x8b1345(0x1d8)][_0x8b1345(0x1ed)](_0x47467a)){const _0x1b0a7b=_0x47467a;if(_0x36bb0e&&_0x36bb0e[_0x8b1345(0x1d6)][_0x8b1345(0x231)](_0x8b1345(0x20d))>-0x1&&_0x304eba[_0x8b1345(0x214)](),_0x8b1345(0x22b)==_0x23394c[_0x8b1345(0x1d6)])continue;_0x36bb0e&&_0x36bb0e[_0x8b1345(0x1d6)]==_0x49f4b6+_0x8b1345(0x1e7)&&_0x36bb0e[_0x8b1345(0x22e)][_0x8b1345(0x21b)]==_0x1b0a7b[_0x8b1345(0x21b)]?_0x36bb0e[_0x8b1345(0x1e9)]++:_0x304eba[_0x8b1345(0x210)]({'type':_0x49f4b6+_0x8b1345(0x1e7),'element':_0x1b0a7b,'quantity':0x1}),_0xf600e0[_0x8b1345(0x1ea)](_0x203bda=>!(_0x8b1345(0x22b)==_0x203bda[_0x8b1345(0x1d6)]&&_0x203bda[_0x8b1345(0x228)]==_0x47467a));}else{if(this[_0x8b1345(0x1d8)][_0x8b1345(0x215)](_0x47467a,_0x8b1345(0x20c))||_0x47467a['is'](_0x8b1345(0x22e),_0x8b1345(0x22d))){const _0x4d5dc6=_0x47467a;if(_0x8b1345(0x208)==_0x49f4b6&&_0x8b1345(0x21f)==_0x23394c[_0x8b1345(0x1d6)]||_0x8b1345(0x222)==_0x49f4b6&&_0x8b1345(0x22b)==_0x23394c[_0x8b1345(0x1d6)])continue;if(_0x36bb0e&&-0x1==_0x36bb0e[_0x8b1345(0x1d6)][_0x8b1345(0x231)](_0x8b1345(0x20d))){_0x8b1345(0x211)==_0x36bb0e[_0x8b1345(0x1d6)]&&(_0x36bb0e[_0x49f4b6]+='\x0a');continue;}let _0x298802;if(_0x298802=_0x8b1345(0x208)==_0x49f4b6?_0x4d5dc6[_0x8b1345(0x201)]&&!this[_0x8b1345(0x1d8)][_0x8b1345(0x1ed)](_0x4d5dc6[_0x8b1345(0x201)])?_0x4d5dc6[_0x8b1345(0x201)]:null:_0x4d5dc6[_0x8b1345(0x1e1)]&&!this[_0x8b1345(0x1d8)][_0x8b1345(0x1ed)](_0x4d5dc6[_0x8b1345(0x1e1)])?_0x4d5dc6[_0x8b1345(0x1e1)]:null,_0x4d5dc6[_0x8b1345(0x232)]||_0x298802&&_0x298802[_0x8b1345(0x232)]){const _0x2fb666=_0x298802&&_0x298802[_0x8b1345(0x232)]?_0x298802:_0x4d5dc6;_0x36bb0e&&_0x36bb0e[_0x8b1345(0x1d6)]==_0x49f4b6+_0x8b1345(0x1e3)&&_0x36bb0e[_0x8b1345(0x22e)][_0x8b1345(0x21b)]==_0x2fb666[_0x8b1345(0x21b)]?_0x36bb0e[_0x8b1345(0x1e9)]++:_0x304eba[_0x8b1345(0x210)]({'type':_0x49f4b6+_0x8b1345(0x1e3),'element':_0x2fb666,'quantity':0x1});}else _0x304eba[_0x8b1345(0x210)]({'type':_0x49f4b6+_0x8b1345(0x20d),'element':_0x4d5dc6});}}}}}[_0x3a6b68(0x1de)](_0x2ca8d5){const _0x19f9da=_0x3a6b68,_0x100a64=this[_0x19f9da(0x205)],_0x2debdd=[],_0x3232f5=[],_0x399cc2=[];for(const _0xae806f of _0x2ca8d5)switch(_0xae806f[_0x19f9da(0x1d6)]){case _0x19f9da(0x211):if(_0xae806f[_0x19f9da(0x208)]=_0xae806f[_0x19f9da(0x208)][_0x19f9da(0x1e6)](/(\S)\u000A+(\S)/g,_0x19f9da(0x21a))[_0x19f9da(0x1e6)](/\u000A/g,''),_0xae806f[_0x19f9da(0x222)]=_0xae806f[_0x19f9da(0x222)][_0x19f9da(0x1e6)](/(\S)\u000A+(\S)/g,_0x19f9da(0x21a))[_0x19f9da(0x1e6)](/\u000A/g,''),''!=_0xae806f[_0x19f9da(0x208)]&&''!=_0xae806f[_0x19f9da(0x222)]){_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1e6),'content':_0x4d344e(_0x100a64,_0x19f9da(0x20e),['\x22'+_0xae806f[_0x19f9da(0x222)]+'\x22','\x22'+_0xae806f[_0x19f9da(0x208)]+'\x22'])});continue;}if(null!=_0xae806f[_0x19f9da(0x208)][_0x19f9da(0x1da)](/^ +$/)){_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1dd),'content':_0x4d344e(_0x100a64,_0x19f9da(0x1fa),_0x4d344e(_0x100a64,_0x19f9da(0x224),_0xae806f[_0x19f9da(0x208)][_0x19f9da(0x20f)]))});continue;}if(null!=_0xae806f[_0x19f9da(0x222)][_0x19f9da(0x1da)](/^ +$/)){_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1f0),'content':_0x4d344e(_0x100a64,_0x19f9da(0x202),_0x4d344e(_0x100a64,_0x19f9da(0x224),_0xae806f[_0x19f9da(0x222)][_0x19f9da(0x20f)]))});continue;}if(''!=_0xae806f[_0x19f9da(0x208)]){_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1dd),'content':_0x4d344e(_0x100a64,_0x19f9da(0x1fa),'\x22'+_0xae806f[_0x19f9da(0x208)]+'\x22')});continue;}_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1f0),'content':_0x4d344e(_0x100a64,_0x19f9da(0x202),'\x22'+_0xae806f[_0x19f9da(0x222)]+'\x22')});continue;case _0x19f9da(0x217):case _0x19f9da(0x223):_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1dd),'content':_0x4d344e(_0x100a64,_0x19f9da(0x1fa),this[_0x19f9da(0x1e5)](_0xae806f[_0x19f9da(0x22e)],_0xae806f[_0x19f9da(0x1e9)]))});continue;case _0x19f9da(0x1f9):case _0x19f9da(0x221):_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1f0),'content':_0x4d344e(_0x100a64,_0x19f9da(0x202),this[_0x19f9da(0x1e5)](_0xae806f[_0x19f9da(0x22e)],_0xae806f[_0x19f9da(0x1e9)]))});continue;case _0x19f9da(0x1fd):_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1dd),'content':_0x4d344e(_0x100a64,_0x19f9da(0x1e4),this[_0x19f9da(0x1e5)](_0xae806f[_0x19f9da(0x22e)],_0xae806f[_0x19f9da(0x1e9)]))});continue;case _0x19f9da(0x216):_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1f0),'content':_0x4d344e(_0x100a64,_0x19f9da(0x225),this[_0x19f9da(0x1e5)](_0xae806f[_0x19f9da(0x22e)],_0xae806f[_0x19f9da(0x1e9)]))});continue;case _0x19f9da(0x1fc):_0x3232f5[_0x19f9da(0x210)](_0xae806f[_0x19f9da(0x1ef)]);continue;case _0x19f9da(0x234):_0x399cc2[_0x19f9da(0x210)](_0xae806f[_0x19f9da(0x1ef)]);continue;default:_0x2debdd[_0x19f9da(0x210)](_0xae806f);}if(_0x3232f5[_0x19f9da(0x20f)]){const _0x48caba=_0x3232f5[_0x19f9da(0x209)](_0x330cbd=>this[_0x19f9da(0x1e0)][_0x19f9da(0x1f8)](_0x330cbd)?this[_0x19f9da(0x1e0)][_0x19f9da(0x1f1)](_0x330cbd):_0x330cbd)[_0x19f9da(0x21e)](',\x20');_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x235),'content':_0x4d344e(this[_0x19f9da(0x205)],_0x19f9da(0x204),_0x48caba)});}if(_0x399cc2[_0x19f9da(0x20f)]){const _0x4064b1=_0x399cc2[_0x19f9da(0x209)](_0x2af253=>this[_0x19f9da(0x1e0)][_0x19f9da(0x1f8)](_0x2af253)?this[_0x19f9da(0x1e0)][_0x19f9da(0x1f1)](_0x2af253):_0x2af253)[_0x19f9da(0x21e)](',\x20');_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x235),'content':_0x4d344e(this[_0x19f9da(0x205)],_0x19f9da(0x237),_0x4064b1)});}return _0x2debdd;}[_0x3a6b68(0x213)](_0x140487){const _0x1bcd0e=_0x3a6b68;for(const _0x476d6c of this[_0x1bcd0e(0x218)]){const _0x589e32=_0x476d6c(_0x140487);if(_0x589e32&&_0x1bcd0e(0x1d6)in _0x589e32)return _0x589e32;}}[_0x3a6b68(0x1df)](_0x5ab578,_0x469dac){const _0x1fe5a2=_0x3a6b68,_0x273c7f=_0x469dac[_0x1fe5a2(0x1e2)],_0x43c2a5=void 0x0===_0x273c7f[_0x1fe5a2(0x20a)]?_0x1fe5a2(0x234):_0x1fe5a2(0x1fc);_0x5ab578[_0x1fe5a2(0x210)]({'type':_0x43c2a5,'key':_0x273c7f[_0x1fe5a2(0x1ef)]});}[_0x3a6b68(0x1fe)](_0x4dc397,_0x210809){const _0x58adae=_0x3a6b68;_0x4dc397[_0x58adae(0x210)]({'type':_0x58adae(0x235),'content':_0x4d344e(this[_0x58adae(0x205)],_0x58adae(0x22c),this[_0x58adae(0x1e5)](_0x210809[_0x58adae(0x1d7)]()[_0x58adae(0x22a)][_0x58adae(0x230)],0x1))});}[_0x3a6b68(0x212)](_0x93a075,_0x44163a,_0x508786){const _0x5d821d=_0x3a6b68;if(this[_0x5d821d(0x226)](_0x93a075,_0x44163a),_0x508786&&_0x508786[_0x5d821d(0x1d7)]()&&!_0x44163a[_0x5d821d(0x1d7)]()[_0x5d821d(0x1d9)][_0x5d821d(0x200)](_0x508786[_0x5d821d(0x1d7)]()[_0x5d821d(0x22a)])){const _0x34f09a=_0x93a075[_0x93a075[_0x5d821d(0x20f)]-0x1],_0x4b4b4f=_0x5d821d(0x1dd)==_0x44163a[_0x5d821d(0x1d6)]?_0x5d821d(0x208):_0x5d821d(0x222);_0x34f09a&&_0x5d821d(0x211)==_0x34f09a[_0x5d821d(0x1d6)]&&(_0x34f09a[_0x4b4b4f]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x50c922=_0x4eea;(function(_0x4c1fe9,_0x2c17dd){var _0x573aaa=_0x4eea,_0x309884=_0x4c1fe9();while(!![]){try{var _0xf0773=parseInt(_0x573aaa(0x177))/0x1*(-parseInt(_0x573aaa(0x183))/0x2)+-parseInt(_0x573aaa(0x17a))/0x3*(parseInt(_0x573aaa(0x186))/0x4)+-parseInt(_0x573aaa(0x180))/0x5+-parseInt(_0x573aaa(0x187))/0x6*(parseInt(_0x573aaa(0x18e))/0x7)+parseInt(_0x573aaa(0x18a))/0x8+parseInt(_0x573aaa(0x18b))/0x9*(parseInt(_0x573aaa(0x17c))/0xa)+parseInt(_0x573aaa(0x18d))/0xb;if(_0xf0773===_0x2c17dd)break;else _0x309884['push'](_0x309884['shift']());}catch(_0x1f9a97){_0x309884['push'](_0x309884['shift']());}}}(_0x8eb1,0x18c11));import{Plugin as _0x58c2aa}from'ckeditor5/src/core.js';function _0x8eb1(){var _0x4f042e=['getSuggestions','5912555kcXymw','569366QOygJl','addSuggestionData','11786Sfvvst','Comments','get','121278JVqeMc','requires','5690JqzYyM','addSuggestion','editor','pluginName','502360Oooyjo','isPremiumPlugin','plugins','34SssvXK','isOfficialPlugin','TrackChanges','8ZnGtbh','12GWNlhW','getSuggestion','adapter','124024LNwMQQ','1467pPMPdX'];_0x8eb1=function(){return _0x4f042e;};return _0x8eb1();}import{TrackChangesUI as _0x48df3e}from'./trackchangesui.js';function _0x4eea(_0x38bb42,_0xef5498){var _0x8eb195=_0x8eb1();return _0x4eea=function(_0x4eeabf,_0x208da5){_0x4eeabf=_0x4eeabf-0x176;var _0x4e741b=_0x8eb195[_0x4eeabf];return _0x4e741b;},_0x4eea(_0x38bb42,_0xef5498);}import{TrackChangesEditing as _0x34fce4}from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x58c2aa{static get[_0x50c922(0x17b)](){var _0xfbbe5b=_0x50c922;return[_0x34fce4,_0x48df3e,_0xfbbe5b(0x178)];}static get[_0x50c922(0x17f)](){var _0x31ad63=_0x50c922;return _0x31ad63(0x185);}static get[_0x50c922(0x184)](){return!0x0;}static get[_0x50c922(0x181)](){return!0x0;}set[_0x50c922(0x189)](_0x490234){var _0x6929c8=_0x50c922;this[_0x6929c8(0x17e)][_0x6929c8(0x182)][_0x6929c8(0x179)](_0x34fce4)[_0x6929c8(0x189)]=_0x490234;}get[_0x50c922(0x189)](){var _0x323f81=_0x50c922;return this[_0x323f81(0x17e)][_0x323f81(0x182)][_0x323f81(0x179)](_0x34fce4)[_0x323f81(0x189)];}[_0x50c922(0x17d)](_0x1665dc){var _0xb69ab0=_0x50c922;return this[_0xb69ab0(0x17e)][_0xb69ab0(0x182)][_0xb69ab0(0x179)](_0x34fce4)[_0xb69ab0(0x176)](_0x1665dc);}[_0x50c922(0x18c)]({skipNotAttached:_0x21ce0a=!0x1,toJSON:_0x2c538e=!0x1}={}){var _0x7f3c86=_0x50c922;return this[_0x7f3c86(0x17e)][_0x7f3c86(0x182)][_0x7f3c86(0x179)](_0x34fce4)[_0x7f3c86(0x18c)]({'skipNotAttached':_0x21ce0a,'toJSON':_0x2c538e});}[_0x50c922(0x188)](_0x4e6a84){var _0x2a5081=_0x50c922;return this[_0x2a5081(0x17e)][_0x2a5081(0x182)][_0x2a5081(0x179)](_0x34fce4)[_0x2a5081(0x188)](_0x4e6a84);}}
|