@ckeditor/ckeditor5-track-changes 46.0.0-alpha.7 → 46.0.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.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 _0x4fdefa=_0x446c;function _0x446c(_0x549420,_0x3bc540){const _0x433c48=_0x433c();return _0x446c=function(_0x446c75,_0x15e3be){_0x446c75=_0x446c75-0x182;let _0x5ec6ce=_0x433c48[_0x446c75];return _0x5ec6ce;},_0x446c(_0x549420,_0x3bc540);}(function(_0x1e8228,_0x1be47a){const _0x167ec4=_0x446c,_0x2c8db6=_0x1e8228();while(!![]){try{const _0x187d88=-parseInt(_0x167ec4(0x193))/0x1+-parseInt(_0x167ec4(0x1d0))/0x2*(parseInt(_0x167ec4(0x1bc))/0x3)+parseInt(_0x167ec4(0x191))/0x4+parseInt(_0x167ec4(0x1ba))/0x5+-parseInt(_0x167ec4(0x19e))/0x6*(parseInt(_0x167ec4(0x183))/0x7)+-parseInt(_0x167ec4(0x1bd))/0x8*(-parseInt(_0x167ec4(0x1ca))/0x9)+parseInt(_0x167ec4(0x1c8))/0xa;if(_0x187d88===_0x1be47a)break;else _0x2c8db6['push'](_0x2c8db6['shift']());}catch(_0x399249){_0x2c8db6['push'](_0x2c8db6['shift']());}}}(_0x433c,0x7db5c));import{Plugin as _0x55a3d4}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x573dc4}from'./table.js';import{getTranslation as _0x56c517}from'../utils/common-translations.js';export class TrackChangesTableHeadings extends _0x55a3d4{static get[_0x4fdefa(0x18e)](){return[_0x573dc4];}[_0x4fdefa(0x1a2)](){const _0x9bbbee=_0x4fdefa,_0x26e786=this[_0x9bbbee(0x1af)];if(!_0x26e786[_0x9bbbee(0x1c6)][_0x9bbbee(0x186)](_0x9bbbee(0x1ce)))return;const _0x19618f=_0x26e786[_0x9bbbee(0x1d3)],_0x2c0f29=_0x26e786[_0x9bbbee(0x1c6)][_0x9bbbee(0x1a9)](_0x9bbbee(0x1d4));_0x2c0f29[_0x9bbbee(0x19a)](_0x9bbbee(0x1b8)),_0x2c0f29[_0x9bbbee(0x19a)](_0x9bbbee(0x1cc)),_0x2c0f29[_0x9bbbee(0x18c)](_0x9bbbee(0x1a7)),_0x2c0f29[_0x9bbbee(0x18c)](_0x9bbbee(0x1c1)),_0x2c0f29[_0x9bbbee(0x19f)][_0x9bbbee(0x18f)](_0x9bbbee(0x1a7),_0x56c517(_0x19618f,_0x9bbbee(0x1c0))),_0x2c0f29[_0x9bbbee(0x19f)][_0x9bbbee(0x18f)](_0x9bbbee(0x1c1),_0x56c517(_0x19618f,_0x9bbbee(0x184))),this[_0x9bbbee(0x1b2)]();}[_0x4fdefa(0x1b2)](){const _0x55df1e=_0x4fdefa,_0x3cb7b5=this[_0x55df1e(0x1af)][_0x55df1e(0x1c6)][_0x55df1e(0x1a9)](_0x55df1e(0x1d4)),_0x5143e6=this[_0x55df1e(0x1af)][_0x55df1e(0x1c6)][_0x55df1e(0x1a9)](_0x55df1e(0x1a3)),_0x107790=this[_0x55df1e(0x1af)][_0x55df1e(0x1c6)][_0x55df1e(0x1a9)](_0x573dc4)[_0x55df1e(0x1b9)]();function _0x230726({showActiveMarker:_0x1a8a86=!0x0,setDataAttribute:_0x49ded7=!0x0}={}){return(_0x2cd20b,_0x10f046,_0x5256d2)=>{const _0x518262=_0x446c,{type:_0x38f73d,id:_0xeb7940}=_0x3cb7b5[_0x518262(0x1c3)](_0x10f046[_0x518262(0x1cd)]),_0x4ef34b=_0x3cb7b5[_0x518262(0x1a4)](_0xeb7940),_0x49811a=_0x4ef34b[_0x518262(0x19b)];if(_0x518262(0x197)!=_0x4ef34b[_0x518262(0x1ab)]||!_0x49811a||_0x518262(0x1cc)!=_0x49811a[_0x518262(0x1cf)])return;if(_0x10f046[_0x518262(0x1a1)])return void _0x2cd20b[_0x518262(0x1d7)]();if(!_0x5256d2[_0x518262(0x18a)][_0x518262(0x1ae)](_0x10f046[_0x518262(0x1b0)],_0x2cd20b[_0x518262(0x1a6)]))return;const _0x53d735=_0x10f046[_0x518262(0x1b0)][_0x518262(0x1d6)][_0x518262(0x1d1)],_0xb45464=_0x10f046[_0x518262(0x1b0)][_0x518262(0x1b1)][_0x518262(0x18d)],_0x31e10b=_0x53d735[_0x518262(0x1ad)][_0x518262(0x1ad)],{column:_0x595ee9}=_0x5143e6[_0x518262(0x19c)](_0x53d735),{column:_0x4347ed}=_0x5143e6[_0x518262(0x19c)](_0xb45464);for(let _0x588fea=_0x595ee9;_0x588fea<=_0x4347ed;_0x588fea++){const _0x168276=_0x5143e6[_0x518262(0x1b7)](_0x31e10b,{'column':_0x588fea,'includeAllSlots':!0x1});for(const _0x253aff of _0x168276){const _0x2838a9=_0x253aff[_0x518262(0x190)],_0x175302=_0x5256d2[_0x518262(0x1ac)][_0x518262(0x1d2)](_0x2838a9);_0x5256d2[_0x518262(0x199)][_0x518262(0x1c2)](_0x518262(0x192)+_0x38f73d,_0x175302),_0x49ded7&&_0x5256d2[_0x518262(0x199)][_0x518262(0x1a0)](_0x518262(0x196),_0xeb7940,_0x175302),_0x5256d2[_0x518262(0x1ac)][_0x518262(0x1b3)](_0x175302,_0x10f046[_0x518262(0x1cd)]),_0x1a8a86&&(_0x3cb7b5[_0x518262(0x195)][_0x518262(0x1bb)](_0x10f046[_0x518262(0x1cd)])?_0x5256d2[_0x518262(0x199)][_0x518262(0x1c2)](_0x518262(0x18b),_0x175302):_0x5256d2[_0x518262(0x199)][_0x518262(0x1aa)](_0x518262(0x18b),_0x175302));}}};}_0x3cb7b5[_0x55df1e(0x1a5)][_0x55df1e(0x188)](_0x55df1e(0x197),_0x55df1e(0x1b8),_0x55df1e(0x1b5),_0x107790),_0x3cb7b5[_0x55df1e(0x1a5)][_0x55df1e(0x188)](_0x55df1e(0x197),_0x55df1e(0x1cc),_0x55df1e(0x1b5),_0x107790),this[_0x55df1e(0x1af)][_0x55df1e(0x1be)][_0x55df1e(0x1a8)]['on'](_0x55df1e(0x1c7),_0x230726(),{'priority':_0x55df1e(0x185)}),this[_0x55df1e(0x1af)][_0x55df1e(0x19b)][_0x55df1e(0x1a8)]['on'](_0x55df1e(0x1c7),(_0x45998a,_0x204f65,_0x576a5c)=>{const _0x20e6f8=_0x55df1e;_0x576a5c[_0x20e6f8(0x1c5)][_0x20e6f8(0x1c9)]&&_0x230726({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x45998a,_0x204f65,_0x576a5c);},{'priority':_0x55df1e(0x185)}),this[_0x55df1e(0x1af)][_0x55df1e(0x1be)][_0x55df1e(0x1a8)]['on'](_0x55df1e(0x194),(_0x409d2f,_0x464c25,_0x1e7458)=>{const _0x5417d4=_0x55df1e,{type:_0x4454c6,id:_0x42efa4}=_0x3cb7b5[_0x5417d4(0x1c3)](_0x464c25[_0x5417d4(0x1cd)]),_0x33b513=_0x3cb7b5[_0x5417d4(0x1a4)](_0x42efa4),_0x18c0b6=_0x33b513[_0x5417d4(0x19b)];if(_0x5417d4(0x197)!=_0x33b513[_0x5417d4(0x1ab)]||!_0x18c0b6||_0x5417d4(0x1cc)!=_0x18c0b6[_0x5417d4(0x1cf)])return;const _0x42470e=_0x1e7458[_0x5417d4(0x1ac)][_0x5417d4(0x198)](_0x464c25[_0x5417d4(0x1cd)]);if(_0x42470e){for(const _0x6dada of _0x42470e)_0x1e7458[_0x5417d4(0x199)][_0x5417d4(0x1aa)](_0x5417d4(0x192)+_0x4454c6,_0x6dada),_0x1e7458[_0x5417d4(0x199)][_0x5417d4(0x1aa)](_0x5417d4(0x18b),_0x6dada),_0x1e7458[_0x5417d4(0x199)][_0x5417d4(0x1bf)](_0x5417d4(0x196),_0x6dada),_0x1e7458[_0x5417d4(0x1ac)][_0x5417d4(0x1b4)](_0x6dada,_0x464c25[_0x5417d4(0x1cd)]);}},{'priority':_0x55df1e(0x185)}),this[_0x55df1e(0x182)]();}[_0x4fdefa(0x182)](){const _0x39ebf5=_0x4fdefa,_0x1af4f2=this[_0x39ebf5(0x1af)],_0x3eb362=_0x1af4f2[_0x39ebf5(0x1d3)];function _0x2916cb(_0x30cae8){const _0x1e3e54=_0x39ebf5;return{'type':_0x1e3e54(0x1cb),'content':_0x56c517(_0x3eb362,_0x1e3e54(0x1d5),_0x30cae8)};}_0x1af4f2[_0x39ebf5(0x1c6)][_0x39ebf5(0x1a9)](_0x39ebf5(0x1d4))[_0x39ebf5(0x19f)][_0x39ebf5(0x187)](_0x23460e=>{const _0x58d99d=_0x39ebf5;if(_0x58d99d(0x197)!=_0x23460e[_0x58d99d(0x1ab)])return;const {data:_0x2f1cc3}=_0x23460e;if(_0x2f1cc3){if(_0x58d99d(0x1b8)==_0x2f1cc3[_0x58d99d(0x1cf)]){const _0x14a0ad=_0x2f1cc3[_0x58d99d(0x189)][0x0][_0x58d99d(0x1c4)];return _0x2916cb(_0x56c517(_0x3eb362,_0x14a0ad?_0x58d99d(0x1c0):_0x58d99d(0x1b6)));}if(_0x58d99d(0x1cc)==_0x2f1cc3[_0x58d99d(0x1cf)]){const _0x83f819=_0x2f1cc3[_0x58d99d(0x189)][0x0][_0x58d99d(0x1c4)];return _0x2916cb(_0x56c517(_0x3eb362,_0x83f819?_0x58d99d(0x184):_0x58d99d(0x19d)));}}});}}function _0x433c(){const _0x1d521b=['consume','editor','markerRange','end','_handleLegacySuggestions','bindElementToMarker','unbindElementFromMarkerName','accept','FORMAT_REGULAR_ROW','createTableWalker','setTableRowHeader','_acceptFormatSuggestionCallbackFactory','1090005mfVMMa','includes','48705RITIsC','551808NtyZDW','editing','removeAttribute','FORMAT_HEADER_ROW','headingColumns','addClass','_splitMarkerName','forceValue','options','plugins','addMarker:suggestion','11730890jPRhSX','showSuggestionHighlights','36bOkhXl','format','setTableColumnHeader','markerName','TableEditing','commandName','10UmUrgX','nodeAfter','toViewElement','locale','TrackChangesEditing','*Format:*\x20%0','start','stop','_registerLegacyDescription','3799054IPMnBs','FORMAT_HEADER_COLUMN','highest','has','registerDescriptionCallback','registerCustomCallback','commandParams','consumable','ck-suggestion-marker--active','registerBlockAttribute','nodeBefore','requires','registerAttributeLabel','cell','996764rFOyHf','ck-suggestion-marker-','777380bzUvXR','removeMarker:suggestion','activeMarkers','data-suggestion','formatBlock','markerNameToElements','writer','enableDefaultAttributesIntegration','data','getCellLocation','FORMAT_REGULAR_COLUMN','6Ctzofq','descriptionFactory','setAttribute','item','afterInit','TableUtils','getSuggestion','_suggestionFactory','name','headingRows','downcastDispatcher','get','removeClass','type','mapper','parent'];_0x433c=function(){return _0x1d521b;};return _0x433c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc61ab2=_0x5908;function _0x5908(_0xf91f78,_0x211c07){const _0x12cfdb=_0x12cf();return _0x5908=function(_0x590867,_0x41f135){_0x590867=_0x590867-0x126;let _0x2bdbdf=_0x12cfdb[_0x590867];return _0x2bdbdf;},_0x5908(_0xf91f78,_0x211c07);}(function(_0x56d685,_0xb06221){const _0x577e3f=_0x5908,_0x58fc6d=_0x56d685();while(!![]){try{const _0x2fe68f=-parseInt(_0x577e3f(0x13c))/0x1+-parseInt(_0x577e3f(0x13a))/0x2*(parseInt(_0x577e3f(0x142))/0x3)+-parseInt(_0x577e3f(0x12d))/0x4*(-parseInt(_0x577e3f(0x143))/0x5)+parseInt(_0x577e3f(0x12a))/0x6*(parseInt(_0x577e3f(0x127))/0x7)+-parseInt(_0x577e3f(0x144))/0x8+-parseInt(_0x577e3f(0x129))/0x9+parseInt(_0x577e3f(0x12b))/0xa;if(_0x2fe68f===_0xb06221)break;else _0x58fc6d['push'](_0x58fc6d['shift']());}catch(_0x44a6b7){_0x58fc6d['push'](_0x58fc6d['shift']());}}}(_0x12cf,0x333b6));function _0x12cf(){const _0x5eed94=['3kkoIpZ','9665cCGFWp','2443272KqcGIU','ELEMENT_CONTENT_TABLE','getAttribute','newValue','editor','get','layout','format','45297TfGmXt','afterInit','2304162TNMUHV','162ImlOeN','10019780uPJxpd','insertTableLayout','388YzcPnb','registerElementLabel','ELEMENT_LAYOUT_TABLE','enableCommand','*Set\x20table\x20type:*\x20%0','locale','registerBlockAttribute','descriptionFactory','TrackChangesEditing','element','plugins','registerDescriptionCallback','tableType','619820eUDEmR','content','283013fEWkHV','TableLayout','table','has','key','enableDefaultAttributesIntegration'];_0x12cf=function(){return _0x5eed94;};return _0x12cf();}import{Plugin as _0x3b67f9}from'ckeditor5/src/core.js';import{getTranslation as _0x5bb187}from'../utils/common-translations.js';export class TrackChangesTableLayout extends _0x3b67f9{[_0xc61ab2(0x128)](){const _0xcc73c1=_0xc61ab2,_0x51f803=this[_0xcc73c1(0x148)],_0x1f0326=_0x51f803[_0xcc73c1(0x132)],_0x5f5567=_0x51f803[_0xcc73c1(0x137)][_0xcc73c1(0x149)](_0xcc73c1(0x135));function _0x1106e1(_0x39e807){const _0x18fbcf=_0xcc73c1;return{'type':_0x18fbcf(0x126),'content':''+_0x5bb187(_0x1f0326,_0x18fbcf(0x131),_0x39e807)};}_0x51f803[_0xcc73c1(0x137)][_0xcc73c1(0x13f)](_0xcc73c1(0x13d))&&(_0x5f5567[_0xcc73c1(0x130)](_0xcc73c1(0x12c)),_0x5f5567[_0xcc73c1(0x141)](_0xcc73c1(0x139)),_0x5f5567[_0xcc73c1(0x133)](_0xcc73c1(0x139)),_0x5f5567[_0xcc73c1(0x134)][_0xcc73c1(0x12e)](_0x22d35a=>_0x22d35a['is'](_0xcc73c1(0x136),_0xcc73c1(0x13e))&&_0xcc73c1(0x14a)===_0x22d35a[_0xcc73c1(0x146)](_0xcc73c1(0x139)),_0x560489=>_0x5bb187(_0x1f0326,_0xcc73c1(0x12f),_0x560489)),_0x5f5567[_0xcc73c1(0x134)][_0xcc73c1(0x138)](_0x25ce59=>{const _0x3f0e91=_0xcc73c1,{data:_0x2dd4e8}=_0x25ce59;if(_0x2dd4e8&&_0x3f0e91(0x139)==_0x2dd4e8[_0x3f0e91(0x140)])switch(_0x2dd4e8[_0x3f0e91(0x147)]){case _0x3f0e91(0x14a):return _0x1106e1(_0x5bb187(_0x1f0326,_0x3f0e91(0x12f)));case _0x3f0e91(0x13b):return _0x1106e1(_0x5bb187(_0x1f0326,_0x3f0e91(0x145)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3aef1f=_0x4cb8;function _0x4cb8(_0x10e00e,_0x54c6a1){const _0x2b3546=_0x2b35();return _0x4cb8=function(_0x4cb84f,_0x20bcc5){_0x4cb84f=_0x4cb84f-0x17d;let _0x52c15a=_0x2b3546[_0x4cb84f];return _0x52c15a;},_0x4cb8(_0x10e00e,_0x54c6a1);}(function(_0x50104b,_0x4ca9f9){const _0x45f651=_0x4cb8,_0x1a1ec6=_0x50104b();while(!![]){try{const _0x253941=parseInt(_0x45f651(0x182))/0x1+-parseInt(_0x45f651(0x1be))/0x2*(parseInt(_0x45f651(0x181))/0x3)+-parseInt(_0x45f651(0x1b2))/0x4+parseInt(_0x45f651(0x1ae))/0x5*(parseInt(_0x45f651(0x17f))/0x6)+-parseInt(_0x45f651(0x1bc))/0x7+parseInt(_0x45f651(0x1d6))/0x8+-parseInt(_0x45f651(0x1aa))/0x9*(-parseInt(_0x45f651(0x1c8))/0xa);if(_0x253941===_0x4ca9f9)break;else _0x1a1ec6['push'](_0x1a1ec6['shift']());}catch(_0x52b45e){_0x1a1ec6['push'](_0x1a1ec6['shift']());}}}(_0x2b35,0xbd494));import{Plugin as _0x418fd4}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x1d03d2}from'./table.js';import{ModelLiveRange as _0x29c9b5}from'ckeditor5/src/engine.js';import{getTranslation as _0x1a6a3c}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x418fd4{static get[_0x3aef1f(0x18b)](){return[_0x1d03d2];}[_0x3aef1f(0x1cf)](){const _0x2ca584=_0x3aef1f,_0x556e51=this[_0x2ca584(0x1bf)],_0x32a6b0=_0x556e51[_0x2ca584(0x190)][_0x2ca584(0x1de)][_0x2ca584(0x1b8)],_0x17c522=_0x556e51[_0x2ca584(0x19d)];if(!_0x556e51[_0x2ca584(0x195)][_0x2ca584(0x1c0)](_0x2ca584(0x1ce)))return;const _0x44433b=_0x556e51[_0x2ca584(0x195)][_0x2ca584(0x19b)](_0x2ca584(0x19c)),_0x8f1fae=_0x556e51[_0x2ca584(0x195)][_0x2ca584(0x19b)](_0x2ca584(0x186)),_0x15e3cd=_0x556e51[_0x2ca584(0x195)][_0x2ca584(0x19b)](_0x1d03d2);_0x15e3cd[_0x2ca584(0x1dd)][_0x2ca584(0x1df)](_0x2ca584(0x1cd)),_0x44433b[_0x2ca584(0x1bd)](_0x2ca584(0x1cd),()=>{const _0x5030b5=_0x2ca584,_0x7ba3a8=_0x8f1fae[_0x5030b5(0x1c9)](_0x556e51[_0x5030b5(0x190)][_0x5030b5(0x1de)][_0x5030b5(0x1b8)]);_0x556e51[_0x5030b5(0x190)][_0x5030b5(0x196)](()=>{const _0x181a75=_0x5030b5;_0x44433b[_0x181a75(0x191)](_0x7ba3a8,{'commandName':_0x181a75(0x1cd),'commandParams':[]},[],_0x181a75(0x1cd));});}),_0x556e51[_0x2ca584(0x1da)][_0x2ca584(0x19b)](_0x2ca584(0x1cd))['on'](_0x2ca584(0x1b0),(_0x11ff24,_0xc183dc)=>{const _0x42f755=_0x2ca584;_0x556e51[_0x42f755(0x1da)][_0x42f755(0x19b)](_0x42f755(0x1c1))[_0x42f755(0x189)]&&(_0xc183dc[_0x42f755(0x1d9)]>0x0&&_0xc183dc[_0xc183dc[_0x42f755(0x1d9)]-0x1]&&_0xc183dc[_0xc183dc[_0x42f755(0x1d9)]-0x1][_0x42f755(0x1c5)]||_0x44433b[_0x42f755(0x1a2)]||this[_0x42f755(0x1b3)]()||_0x11ff24[_0x42f755(0x1dc)]());},{'priority':_0x2ca584(0x1b1)});for(const _0x4b3d35 of[_0x2ca584(0x197),_0x2ca584(0x1b4),_0x2ca584(0x1a1),_0x2ca584(0x187)]){const _0x43e5eb=_0x556e51[_0x2ca584(0x1da)][_0x2ca584(0x19b)](_0x4b3d35);_0x44433b[_0x2ca584(0x1bd)](_0x4b3d35,()=>{const _0xe927a=_0x2ca584,_0x224f0c=_0x556e51[_0xe927a(0x190)][_0xe927a(0x1de)][_0xe927a(0x1b8)][_0xe927a(0x1a8)]()[_0xe927a(0x1bb)]()[_0xe927a(0x194)](_0x550974=>_0x550974['is'](_0xe927a(0x1d2),_0xe927a(0x1ab))),_0x1ab631=_0x43e5eb[_0xe927a(0x189)];_0x556e51[_0xe927a(0x190)][_0xe927a(0x196)](()=>{const _0x33743f=_0xe927a;_0x44433b[_0x33743f(0x191)]([_0x224f0c,_0x1ab631],{'commandName':_0x33743f(0x1cd),'commandParams':[]},[],_0x33743f(0x1cd));});});}for(const _0x6f2b96 of[_0x2ca584(0x184),_0x2ca584(0x1c2)]){const _0x1af147=_0x556e51[_0x2ca584(0x1da)][_0x2ca584(0x19b)](_0x6f2b96);_0x44433b[_0x2ca584(0x1bd)](_0x6f2b96,()=>{const _0x52e8de=_0x2ca584,_0x58358f=_0x8f1fae[_0x52e8de(0x1c9)](_0x556e51[_0x52e8de(0x190)][_0x52e8de(0x1de)][_0x52e8de(0x1b8)])[0x0],_0x1af518=_0x58358f[_0x52e8de(0x17d)](_0x52e8de(0x1cb)),{column:_0x56d02a,row:_0x2cbd4b}=_0x8f1fae[_0x52e8de(0x180)](_0x58358f);let _0x4a375c=[];if(_0x52e8de(0x19a)==_0x1af147[_0x52e8de(0x1a3)]){const _0x259e26=_0x8f1fae[_0x52e8de(0x1a5)](_0x1af518,{'startRow':_0x2cbd4b,'endRow':_0x2cbd4b,'includeAllSlots':!0x0});_0x4a375c=Array[_0x52e8de(0x19e)](_0x259e26)[_0x52e8de(0x1a7)](_0xbb8ce0=>_0xbb8ce0[_0x52e8de(0x18e)]);}else{const _0x15f5d5=_0x8f1fae[_0x52e8de(0x1a5)](_0x1af518,{'column':_0x56d02a,'includeAllSlots':!0x0});_0x4a375c=Array[_0x52e8de(0x19e)](_0x15f5d5)[_0x52e8de(0x1a7)](_0x4da71a=>_0x4da71a[_0x52e8de(0x18e)]);}_0x556e51[_0x52e8de(0x190)][_0x52e8de(0x196)](_0x352160=>{const _0x1c0118=_0x52e8de;_0x44433b[_0x1c0118(0x1db)](_0x352160[_0x1c0118(0x1b6)](_0x58358f),{'commandName':_0x6f2b96,'commandParams':[]},_0x4a375c,_0x6f2b96);});});}_0x44433b[_0x2ca584(0x1ca)][_0x2ca584(0x1d3)](_0x184d5c=>{const _0x393829=_0x2ca584;if(_0x393829(0x1cc)!=_0x184d5c[_0x393829(0x1ac)]&&_0x393829(0x1a9)!=_0x184d5c[_0x393829(0x1ac)])return;const {data:_0x4c8bb3}=_0x184d5c;return _0x4c8bb3&&_0x393829(0x1cd)==_0x4c8bb3[_0x393829(0x18d)]?{'type':_0x393829(0x183),'content':_0x1a6a3c(_0x17c522,_0x393829(0x18f))}:void 0x0;}),_0x44433b[_0x2ca584(0x1ca)][_0x2ca584(0x1d3)](_0x43096c=>{const _0x5ed6d4=_0x2ca584;if(_0x5ed6d4(0x1cc)!=_0x43096c[_0x5ed6d4(0x1ac)]&&_0x5ed6d4(0x1a9)!=_0x43096c[_0x5ed6d4(0x1ac)])return;const {data:_0x41e328}=_0x43096c;return _0x41e328?_0x5ed6d4(0x184)==_0x41e328[_0x5ed6d4(0x18d)]?{'type':_0x5ed6d4(0x183),'content':_0x1a6a3c(_0x17c522,_0x5ed6d4(0x192))}:_0x5ed6d4(0x1c2)==_0x41e328[_0x5ed6d4(0x18d)]?{'type':_0x5ed6d4(0x183),'content':_0x1a6a3c(_0x17c522,_0x5ed6d4(0x1ba))}:void 0x0:void 0x0;});const _0x1183bc=_0x15e3cd[_0x2ca584(0x193)]();for(const _0x371a07 of[_0x2ca584(0x197),_0x2ca584(0x1b4),_0x2ca584(0x1a1),_0x2ca584(0x187)])_0x44433b[_0x2ca584(0x199)][_0x2ca584(0x1a0)](_0x2ca584(0x1cc),_0x371a07,_0x2ca584(0x1b7),_0x1183bc);for(const _0x5c0eb1 of[_0x2ca584(0x184),_0x2ca584(0x1c2)])_0x44433b[_0x2ca584(0x199)][_0x2ca584(0x1a0)](_0x2ca584(0x1cc),_0x5c0eb1,_0x2ca584(0x1b7),_0x1183bc);_0x44433b[_0x2ca584(0x199)][_0x2ca584(0x1a0)](_0x2ca584(0x1cc),_0x2ca584(0x1cd),_0x2ca584(0x1b7),_0xe020a3=>{const _0xba4a9c=_0x2ca584;_0x556e51[_0xba4a9c(0x190)][_0xba4a9c(0x196)](_0x3636f1=>{const _0x2e379d=_0xba4a9c,_0x3ef8f2=Array[_0x2e379d(0x19e)](_0x32a6b0[_0x2e379d(0x18a)]())[_0x2e379d(0x1a7)](_0x4f1477=>_0x29c9b5[_0x2e379d(0x1af)](_0x4f1477));_0x3636f1[_0x2e379d(0x1d1)](_0xe020a3),_0x556e51[_0x2e379d(0x1da)][_0x2e379d(0x19b)](_0x2e379d(0x1cd))[_0x2e379d(0x1d4)](),_0x556e51[_0x2e379d(0x1b0)](_0x2e379d(0x1cd),{'forceDefaultExecution':!0x0});const _0x462e06=_0x3ef8f2[_0x2e379d(0x1d5)](_0xf66d89=>_0x2e379d(0x18c)!=_0xf66d89[_0x2e379d(0x1a6)][_0x2e379d(0x1c4)]);_0x462e06[_0x2e379d(0x1d9)]>0x0&&_0x3636f1[_0x2e379d(0x1d1)](_0x462e06);for(const _0x340f29 of _0x3ef8f2)_0x340f29[_0x2e379d(0x17e)]();});});for(const _0x44ed6d of[_0x2ca584(0x197),_0x2ca584(0x1a1),_0x2ca584(0x187),_0x2ca584(0x1b4)]){const _0x20bb4a=_0x556e51[_0x2ca584(0x1da)][_0x2ca584(0x19b)](_0x44ed6d);_0x20bb4a['on'](_0x2ca584(0x1ad),(_0x51dd77,_0x216b74,_0x24b0cc)=>{const _0x485879=_0x2ca584;if(_0x24b0cc){const _0x4fb009=_0x556e51[_0x485879(0x190)][_0x485879(0x1de)][_0x485879(0x1b8)][_0x485879(0x1a8)]()[_0x485879(0x1bb)]()[_0x485879(0x194)](_0x42e5b8=>_0x42e5b8['is'](_0x485879(0x1d2),_0x485879(0x1ab)));this[_0x485879(0x1a4)](_0x20bb4a[_0x485879(0x189)],_0x4fb009)||(_0x51dd77[_0x485879(0x1b5)]=!0x1,_0x51dd77[_0x485879(0x1dc)]());}},{'priority':_0x2ca584(0x1c7)});}}[_0x3aef1f(0x1b3)](){const _0x1d9d68=_0x3aef1f,_0x4f9208=this[_0x1d9d68(0x1bf)][_0x1d9d68(0x1da)][_0x1d9d68(0x19b)](_0x1d9d68(0x1cd)),_0x1c2ee1=this[_0x1d9d68(0x1bf)][_0x1d9d68(0x195)][_0x1d9d68(0x19b)](_0x1d9d68(0x186));if(!_0x4f9208[_0x1d9d68(0x1d7)])return!0x1;const _0x1cedc2=_0x1c2ee1[_0x1d9d68(0x1c9)](this[_0x1d9d68(0x1bf)][_0x1d9d68(0x190)][_0x1d9d68(0x1de)][_0x1d9d68(0x1b8)]);for(const _0x57bf85 of _0x1cedc2)for(const _0x4284de of _0x1cedc2)if(_0x57bf85!=_0x4284de&&!this[_0x1d9d68(0x1a4)](_0x57bf85,_0x4284de))return!0x1;return!0x0;}[_0x3aef1f(0x1a4)](_0x49da75,_0x5daabe){const _0x13a79=_0x3aef1f,_0x22d290=this[_0x13a79(0x1bf)][_0x13a79(0x195)][_0x13a79(0x19b)](_0x13a79(0x19c)),_0x4410ab=this[_0x13a79(0x1bf)][_0x13a79(0x190)][_0x13a79(0x1b6)](_0x49da75),_0x191d89=this[_0x13a79(0x1bf)][_0x13a79(0x190)][_0x13a79(0x1b6)](_0x5daabe),_0x557a3b=new Set(),_0x5cce38=new Set();for(const _0xdea3f9 of _0x22d290[_0x13a79(0x198)]())if((_0x13a79(0x1c3)==_0xdea3f9[_0x13a79(0x1ac)]||_0x13a79(0x1b9)==_0xdea3f9[_0x13a79(0x1ac)]||_0x13a79(0x1cd)==_0xdea3f9[_0x13a79(0x1c6)])&&_0xdea3f9[_0x13a79(0x188)]){for(const _0x49d5be of _0xdea3f9[_0x13a79(0x18a)]())_0x49d5be[_0x13a79(0x1d0)](_0x4410ab,!0x0)&&_0x557a3b[_0x13a79(0x185)](_0xdea3f9[_0x13a79(0x1ac)]+':'+_0xdea3f9[_0x13a79(0x1d8)]['id']),_0x49d5be[_0x13a79(0x1d0)](_0x191d89,!0x0)&&_0x5cce38[_0x13a79(0x185)](_0xdea3f9[_0x13a79(0x1ac)]+':'+_0xdea3f9[_0x13a79(0x1d8)]['id']);}if(_0x557a3b[_0x13a79(0x19f)]!=_0x5cce38[_0x13a79(0x19f)])return!0x1;for(const _0x55a88b of _0x557a3b)if(!_0x5cce38[_0x13a79(0x1c0)](_0x55a88b))return!0x1;return!0x0;}}function _0x2b35(){const _0x1d0c0b=['setSelection','element','registerDescriptionCallback','refresh','filter','3457336lzfxhn','isEnabled','author','length','commands','markBlockFormat','stop','_tablePostFixingSubtypes','document','push','findAncestor','detach','34158ilaYiR','getCellLocation','4031454EmEwIU','1181176KrAahp','format','splitTableCellVertically','add','TableUtils','mergeTableCellLeft','isInContent','value','getRanges','requires','$graveyard','commandName','cell','*Merge\x20cells*','model','markMultiRangeBlockFormat','*Split\x20cell:*\x20vertically','_acceptFormatSuggestionCallbackFactory','find','plugins','change','mergeTableCellUp','getSuggestions','_suggestionFactory','horizontally','get','TrackChangesEditing','locale','from','size','registerCustomCallback','mergeTableCellDown','_isForcedDefaultExecutionBlock','direction','_areMergableCells','createTableWalker','root','map','getFirstPosition','formatInline','221310NZfIbV','tableCell','type','set:isEnabled','905TZySSw','fromRange','execute','highest','4789532tLyxmT','_areSelectedCellsMergable','mergeTableCellRight','return','createRangeOn','accept','selection','deletion','*Split\x20cell:*\x20horizontally','getAncestors','5274353OZrifW','enableCommand','2jSlgfS','editor','has','trackChanges','splitTableCellHorizontally','insertion','rootName','forceDefaultExecution','subType','low','580Egkywx','getSelectionAffectedTableCells','descriptionFactory','table','formatBlock','mergeTableCells','TableEditing','afterInit','containsRange'];_0x2b35=function(){return _0x1d0c0b;};return _0x2b35();}
|
|
23
|
+
function _0x4754(_0x4540d0,_0x70caa){const _0x217f17=_0x217f();return _0x4754=function(_0x475464,_0x1b1adb){_0x475464=_0x475464-0xb9;let _0x4871bd=_0x217f17[_0x475464];return _0x4871bd;},_0x4754(_0x4540d0,_0x70caa);}const _0xfac3fc=_0x4754;(function(_0x240dd,_0x2cf625){const _0xd7ef17=_0x4754,_0x3a491e=_0x240dd();while(!![]){try{const _0x367d5f=-parseInt(_0xd7ef17(0xd6))/0x1*(parseInt(_0xd7ef17(0xdc))/0x2)+-parseInt(_0xd7ef17(0xf2))/0x3*(-parseInt(_0xd7ef17(0x104))/0x4)+parseInt(_0xd7ef17(0xed))/0x5+-parseInt(_0xd7ef17(0xff))/0x6+-parseInt(_0xd7ef17(0x117))/0x7*(-parseInt(_0xd7ef17(0xf1))/0x8)+-parseInt(_0xd7ef17(0xfd))/0x9+parseInt(_0xd7ef17(0xea))/0xa;if(_0x367d5f===_0x2cf625)break;else _0x3a491e['push'](_0x3a491e['shift']());}catch(_0xd95be2){_0x3a491e['push'](_0x3a491e['shift']());}}}(_0x217f,0xe068e));import{Plugin as _0x964918}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x4c2b8b}from'./table.js';import{ModelLiveRange as _0xf5d9eb}from'ckeditor5/src/engine.js';function _0x217f(){const _0x1c36b4=['504123IkVigz','formatInline','mergeTableCells','descriptionFactory','splitTableCellHorizontally','getSuggestions','6IIiLJt','getCellLocation','get','filter','commands','afterInit','isInContent','mergeTableCellLeft','from','registerDescriptionCallback','getAncestors','splitTableCellVertically','*Merge\x20cells*','isEnabled','4622630KbeGvf','_tablePostFixingSubtypes','selection','8002990ulTBrD','requires','set:isEnabled','_areSelectedCellsMergable','2920YwflHK','3353145CHikWu','stop','TrackChangesEditing','$graveyard','createRangeOn','enableCommand','forceDefaultExecution','containsRange','has','horizontally','detach','8681103UfRexE','author','2795478cmZBaP','getFirstPosition','format','setSelection','highest','4huwvzO','root','rootName','deletion','low','execute','markBlockFormat','_acceptFormatSuggestionCallbackFactory','push','tableCell','editor','mergeTableCellDown','TableUtils','locale','mergeTableCellRight','getRanges','accept','refresh','type','13069GMxOVJ','*Split\x20cell:*\x20horizontally','value','element','return','add','change','direction','model','createTableWalker','registerCustomCallback','_isForcedDefaultExecutionBlock','formatBlock','*Split\x20cell:*\x20vertically','mergeTableCellUp','findAncestor','commandName','table','_suggestionFactory','getSelectionAffectedTableCells','fromRange','cell','_areMergableCells','subType','trackChanges','TableEditing','plugins','length','size','insertion','markMultiRangeBlockFormat','find','map','document'];_0x217f=function(){return _0x1c36b4;};return _0x217f();}import{getTranslation as _0x3749ec}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x964918{static get[_0xfac3fc(0xee)](){return[_0x4c2b8b];}[_0xfac3fc(0xe1)](){const _0x4499ef=_0xfac3fc,_0x7749d1=this[_0x4499ef(0x10e)],_0x2441f6=_0x7749d1[_0x4499ef(0xbc)][_0x4499ef(0xd5)][_0x4499ef(0xec)],_0x2ad6b0=_0x7749d1[_0x4499ef(0x111)];if(!_0x7749d1[_0x4499ef(0xce)][_0x4499ef(0xfa)](_0x4499ef(0xcd)))return;const _0x9ad7fc=_0x7749d1[_0x4499ef(0xce)][_0x4499ef(0xde)](_0x4499ef(0xf4)),_0xa9ceb4=_0x7749d1[_0x4499ef(0xce)][_0x4499ef(0xde)](_0x4499ef(0x110)),_0x59e866=_0x7749d1[_0x4499ef(0xce)][_0x4499ef(0xde)](_0x4c2b8b);_0x59e866[_0x4499ef(0xeb)][_0x4499ef(0x10c)](_0x4499ef(0xd8)),_0x9ad7fc[_0x4499ef(0xf7)](_0x4499ef(0xd8),()=>{const _0xd182ce=_0x4499ef,_0x57fe71=_0xa9ceb4[_0xd182ce(0xc7)](_0x7749d1[_0xd182ce(0xbc)][_0xd182ce(0xd5)][_0xd182ce(0xec)]);_0x7749d1[_0xd182ce(0xbc)][_0xd182ce(0xba)](()=>{const _0x435108=_0xd182ce;_0x9ad7fc[_0x435108(0xd2)](_0x57fe71,{'commandName':_0x435108(0xd8),'commandParams':[]},[],_0x435108(0xd8));});}),_0x7749d1[_0x4499ef(0xe0)][_0x4499ef(0xde)](_0x4499ef(0xd8))['on'](_0x4499ef(0x109),(_0x3da751,_0x351585)=>{const _0x2de240=_0x4499ef;_0x7749d1[_0x2de240(0xe0)][_0x2de240(0xde)](_0x2de240(0xcc))[_0x2de240(0x119)]&&(_0x351585[_0x2de240(0xcf)]>0x0&&_0x351585[_0x351585[_0x2de240(0xcf)]-0x1]&&_0x351585[_0x351585[_0x2de240(0xcf)]-0x1][_0x2de240(0xf8)]||_0x9ad7fc[_0x2de240(0xbf)]||this[_0x2de240(0xf0)]()||_0x3da751[_0x2de240(0xf3)]());},{'priority':_0x4499ef(0x103)});for(const _0x3dbdcc of[_0x4499ef(0xc2),_0x4499ef(0x112),_0x4499ef(0x10f),_0x4499ef(0xe3)]){const _0x4f3b7b=_0x7749d1[_0x4499ef(0xe0)][_0x4499ef(0xde)](_0x3dbdcc);_0x9ad7fc[_0x4499ef(0xf7)](_0x3dbdcc,()=>{const _0x35b827=_0x4499ef,_0xb8c6a8=_0x7749d1[_0x35b827(0xbc)][_0x35b827(0xd5)][_0x35b827(0xec)][_0x35b827(0x100)]()[_0x35b827(0xe6)]()[_0x35b827(0xd3)](_0xb7c5b5=>_0xb7c5b5['is'](_0x35b827(0x11a),_0x35b827(0x10d))),_0x521f84=_0x4f3b7b[_0x35b827(0x119)];_0x7749d1[_0x35b827(0xbc)][_0x35b827(0xba)](()=>{const _0x2433bc=_0x35b827;_0x9ad7fc[_0x2433bc(0xd2)]([_0xb8c6a8,_0x521f84],{'commandName':_0x2433bc(0xd8),'commandParams':[]},[],_0x2433bc(0xd8));});});}for(const _0x2ffcee of[_0x4499ef(0xe7),_0x4499ef(0xda)]){const _0x3d985b=_0x7749d1[_0x4499ef(0xe0)][_0x4499ef(0xde)](_0x2ffcee);_0x9ad7fc[_0x4499ef(0xf7)](_0x2ffcee,()=>{const _0x399e07=_0x4499ef,_0x5cee07=_0xa9ceb4[_0x399e07(0xc7)](_0x7749d1[_0x399e07(0xbc)][_0x399e07(0xd5)][_0x399e07(0xec)])[0x0],_0x2f2a98=_0x5cee07[_0x399e07(0xc3)](_0x399e07(0xc5)),{column:_0x28727e,row:_0x1648c9}=_0xa9ceb4[_0x399e07(0xdd)](_0x5cee07);let _0x4d1138=[];if(_0x399e07(0xfb)==_0x3d985b[_0x399e07(0xbb)]){const _0x2aaaac=_0xa9ceb4[_0x399e07(0xbd)](_0x2f2a98,{'startRow':_0x1648c9,'endRow':_0x1648c9,'includeAllSlots':!0x0});_0x4d1138=Array[_0x399e07(0xe4)](_0x2aaaac)[_0x399e07(0xd4)](_0x30a863=>_0x30a863[_0x399e07(0xc9)]);}else{const _0x362535=_0xa9ceb4[_0x399e07(0xbd)](_0x2f2a98,{'column':_0x28727e,'includeAllSlots':!0x0});_0x4d1138=Array[_0x399e07(0xe4)](_0x362535)[_0x399e07(0xd4)](_0x7b6930=>_0x7b6930[_0x399e07(0xc9)]);}_0x7749d1[_0x399e07(0xbc)][_0x399e07(0xba)](_0x8ea375=>{const _0xb96969=_0x399e07;_0x9ad7fc[_0xb96969(0x10a)](_0x8ea375[_0xb96969(0xf6)](_0x5cee07),{'commandName':_0x2ffcee,'commandParams':[]},_0x4d1138,_0x2ffcee);});});}_0x9ad7fc[_0x4499ef(0xd9)][_0x4499ef(0xe5)](_0x1e789b=>{const _0x5d3cb5=_0x4499ef;if(_0x5d3cb5(0xc0)!=_0x1e789b[_0x5d3cb5(0x116)]&&_0x5d3cb5(0xd7)!=_0x1e789b[_0x5d3cb5(0x116)])return;const {data:_0x44af96}=_0x1e789b;return _0x44af96&&_0x5d3cb5(0xd8)==_0x44af96[_0x5d3cb5(0xc4)]?{'type':_0x5d3cb5(0x101),'content':_0x3749ec(_0x2ad6b0,_0x5d3cb5(0xe8))}:void 0x0;}),_0x9ad7fc[_0x4499ef(0xd9)][_0x4499ef(0xe5)](_0x3163f8=>{const _0x1833fd=_0x4499ef;if(_0x1833fd(0xc0)!=_0x3163f8[_0x1833fd(0x116)]&&_0x1833fd(0xd7)!=_0x3163f8[_0x1833fd(0x116)])return;const {data:_0x5c0b0b}=_0x3163f8;return _0x5c0b0b?_0x1833fd(0xe7)==_0x5c0b0b[_0x1833fd(0xc4)]?{'type':_0x1833fd(0x101),'content':_0x3749ec(_0x2ad6b0,_0x1833fd(0xc1))}:_0x1833fd(0xda)==_0x5c0b0b[_0x1833fd(0xc4)]?{'type':_0x1833fd(0x101),'content':_0x3749ec(_0x2ad6b0,_0x1833fd(0x118))}:void 0x0:void 0x0;});const _0x431fda=_0x59e866[_0x4499ef(0x10b)]();for(const _0x17e242 of[_0x4499ef(0xc2),_0x4499ef(0x112),_0x4499ef(0x10f),_0x4499ef(0xe3)])_0x9ad7fc[_0x4499ef(0xc6)][_0x4499ef(0xbe)](_0x4499ef(0xc0),_0x17e242,_0x4499ef(0x114),_0x431fda);for(const _0x35da72 of[_0x4499ef(0xe7),_0x4499ef(0xda)])_0x9ad7fc[_0x4499ef(0xc6)][_0x4499ef(0xbe)](_0x4499ef(0xc0),_0x35da72,_0x4499ef(0x114),_0x431fda);_0x9ad7fc[_0x4499ef(0xc6)][_0x4499ef(0xbe)](_0x4499ef(0xc0),_0x4499ef(0xd8),_0x4499ef(0x114),_0x2ddd6d=>{const _0x1be9ca=_0x4499ef;_0x7749d1[_0x1be9ca(0xbc)][_0x1be9ca(0xba)](_0x5c5195=>{const _0x14f420=_0x1be9ca,_0x551607=Array[_0x14f420(0xe4)](_0x2441f6[_0x14f420(0x113)]())[_0x14f420(0xd4)](_0x94832f=>_0xf5d9eb[_0x14f420(0xc8)](_0x94832f));_0x5c5195[_0x14f420(0x102)](_0x2ddd6d),_0x7749d1[_0x14f420(0xe0)][_0x14f420(0xde)](_0x14f420(0xd8))[_0x14f420(0x115)](),_0x7749d1[_0x14f420(0x109)](_0x14f420(0xd8),{'forceDefaultExecution':!0x0});const _0x5d4a02=_0x551607[_0x14f420(0xdf)](_0x19166c=>_0x14f420(0xf5)!=_0x19166c[_0x14f420(0x105)][_0x14f420(0x106)]);_0x5d4a02[_0x14f420(0xcf)]>0x0&&_0x5c5195[_0x14f420(0x102)](_0x5d4a02);for(const _0x36bb2b of _0x551607)_0x36bb2b[_0x14f420(0xfc)]();});});for(const _0x14da78 of[_0x4499ef(0xc2),_0x4499ef(0x10f),_0x4499ef(0xe3),_0x4499ef(0x112)]){const _0x590cfd=_0x7749d1[_0x4499ef(0xe0)][_0x4499ef(0xde)](_0x14da78);_0x590cfd['on'](_0x4499ef(0xef),(_0x3bcd2f,_0x94a60b,_0x3bbd33)=>{const _0x11046f=_0x4499ef;if(_0x3bbd33){const _0x179b9c=_0x7749d1[_0x11046f(0xbc)][_0x11046f(0xd5)][_0x11046f(0xec)][_0x11046f(0x100)]()[_0x11046f(0xe6)]()[_0x11046f(0xd3)](_0x60468e=>_0x60468e['is'](_0x11046f(0x11a),_0x11046f(0x10d)));this[_0x11046f(0xca)](_0x590cfd[_0x11046f(0x119)],_0x179b9c)||(_0x3bcd2f[_0x11046f(0x11b)]=!0x1,_0x3bcd2f[_0x11046f(0xf3)]());}},{'priority':_0x4499ef(0x108)});}}[_0xfac3fc(0xf0)](){const _0x5ad0b5=_0xfac3fc,_0xfe30ff=this[_0x5ad0b5(0x10e)][_0x5ad0b5(0xe0)][_0x5ad0b5(0xde)](_0x5ad0b5(0xd8)),_0x2df90b=this[_0x5ad0b5(0x10e)][_0x5ad0b5(0xce)][_0x5ad0b5(0xde)](_0x5ad0b5(0x110));if(!_0xfe30ff[_0x5ad0b5(0xe9)])return!0x1;const _0x45e3d0=_0x2df90b[_0x5ad0b5(0xc7)](this[_0x5ad0b5(0x10e)][_0x5ad0b5(0xbc)][_0x5ad0b5(0xd5)][_0x5ad0b5(0xec)]);for(const _0x2fd152 of _0x45e3d0)for(const _0x2bfc6a of _0x45e3d0)if(_0x2fd152!=_0x2bfc6a&&!this[_0x5ad0b5(0xca)](_0x2fd152,_0x2bfc6a))return!0x1;return!0x0;}[_0xfac3fc(0xca)](_0x362fd3,_0x37d7df){const _0x37da16=_0xfac3fc,_0x59807a=this[_0x37da16(0x10e)][_0x37da16(0xce)][_0x37da16(0xde)](_0x37da16(0xf4)),_0x654441=this[_0x37da16(0x10e)][_0x37da16(0xbc)][_0x37da16(0xf6)](_0x362fd3),_0xba0822=this[_0x37da16(0x10e)][_0x37da16(0xbc)][_0x37da16(0xf6)](_0x37d7df),_0x277b57=new Set(),_0x44025e=new Set();for(const _0x83086b of _0x59807a[_0x37da16(0xdb)]())if((_0x37da16(0xd1)==_0x83086b[_0x37da16(0x116)]||_0x37da16(0x107)==_0x83086b[_0x37da16(0x116)]||_0x37da16(0xd8)==_0x83086b[_0x37da16(0xcb)])&&_0x83086b[_0x37da16(0xe2)]){for(const _0x32f57b of _0x83086b[_0x37da16(0x113)]())_0x32f57b[_0x37da16(0xf9)](_0x654441,!0x0)&&_0x277b57[_0x37da16(0xb9)](_0x83086b[_0x37da16(0x116)]+':'+_0x83086b[_0x37da16(0xfe)]['id']),_0x32f57b[_0x37da16(0xf9)](_0xba0822,!0x0)&&_0x44025e[_0x37da16(0xb9)](_0x83086b[_0x37da16(0x116)]+':'+_0x83086b[_0x37da16(0xfe)]['id']);}if(_0x277b57[_0x37da16(0xd0)]!=_0x44025e[_0x37da16(0xd0)])return!0x1;for(const _0x2b8298 of _0x277b57)if(!_0x44025e[_0x37da16(0xfa)](_0x2b8298))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30acd1=_0x1efd;(function(_0x57d40b,_0x57afbe){const _0x469a97=_0x1efd,_0x1afd3b=_0x57d40b();while(!![]){try{const _0x1c0def=parseInt(_0x469a97(0x1ac))/0x1+parseInt(_0x469a97(0x1a9))/0x2*(-parseInt(_0x469a97(0x1a7))/0x3)+-parseInt(_0x469a97(0x1b7))/0x4*(parseInt(_0x469a97(0x1b6))/0x5)+-parseInt(_0x469a97(0x1b5))/0x6*(-parseInt(_0x469a97(0x1a8))/0x7)+-parseInt(_0x469a97(0x1b0))/0x8+parseInt(_0x469a97(0x1bb))/0x9*(parseInt(_0x469a97(0x1b8))/0xa)+-parseInt(_0x469a97(0x1a6))/0xb;if(_0x1c0def===_0x57afbe)break;else _0x1afd3b['push'](_0x1afd3b['shift']());}catch(_0x3d8d07){_0x1afd3b['push'](_0x1afd3b['shift']());}}}(_0x27b6,0xabd30));function _0x1efd(_0x4ffb36,_0x17146d){const _0x27b6d7=_0x27b6();return _0x1efd=function(_0x1efd21,_0x96b0d9){_0x1efd21=_0x1efd21-0x1a6;let _0x35230f=_0x27b6d7[_0x1efd21];return _0x35230f;},_0x1efd(_0x4ffb36,_0x17146d);}import{Plugin as _0x1f4f41}from'ckeditor5/src/core.js';import{getTranslation as _0x574d26}from'../utils/common-translations.js';function _0x27b6(){const _0x222a7a=['91215LNqFdS','editor','commands','14433474AelyuZ','3sMpSTP','501739JUHVxQ','405834daQLEz','insertTableOfContents','afterInit','1207475fzNKHA','TrackChangesEditing','get','descriptionFactory','5028264oAWabv','ELEMENT_TABLE_OF_CONTENTS','registerElementLabel','plugins','locale','114Yyyyoy','5tBbgul','468908qCXVWr','390XSjHJd','tableOfContents','enableCommand'];_0x27b6=function(){return _0x222a7a;};return _0x27b6();}export class TrackChangesTableOfContents extends _0x1f4f41{[_0x30acd1(0x1ab)](){const _0x4a1fdf=_0x30acd1,_0xbef11=this[_0x4a1fdf(0x1bc)];if(!_0xbef11[_0x4a1fdf(0x1bd)][_0x4a1fdf(0x1ae)](_0x4a1fdf(0x1aa)))return;_0xbef11[_0x4a1fdf(0x1b3)][_0x4a1fdf(0x1ae)](_0x4a1fdf(0x1ad))[_0x4a1fdf(0x1ba)](_0x4a1fdf(0x1aa));const _0x169ba1=_0xbef11[_0x4a1fdf(0x1b3)][_0x4a1fdf(0x1ae)](_0x4a1fdf(0x1ad)),_0x231506=_0xbef11[_0x4a1fdf(0x1b4)];_0x169ba1[_0x4a1fdf(0x1af)][_0x4a1fdf(0x1b2)](_0x4a1fdf(0x1b9),_0x11cadf=>_0x574d26(_0x231506,_0x4a1fdf(0x1b1),_0x11cadf));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x432fe4=_0x5852;function _0x3258(){const _0x40d778=['TrackChangesTableProperties','2640jXHTcb','getSelectionAffectedTableCells','tableBorderStyle','registerBlockAttribute','toUpperCase','discard','handleSuggestionDescription','TableCellPropertiesEditing','data','accept','enableCommand','290eNkapV','21583270NULlgh','22839ODLESn','start','getContainedElement','commandParams','join','getSuggestionCallback','markBlockFormat','batch','tableProperties','nodeAfter','registerDescriptionCallback','9194031FzItGj','table','removeAttribute','4968ZjMAxA','handleDiscardAction','tableHeight','isPremiumPlugin','5704964cilCSs','format','change','tableBorderWidth','_handlePropertyChange','subType','6692440SEgDNG','tableCellProperties','tableCellHorizontalAlignment','tableCellBackgroundColor','TableUtils','FORMAT_','findAncestor','getFirstPosition','isOfficialPlugin','selection','pluginName','get','afterInit','tableCellPadding','_suggestionFactory','registerCustomCallback','9sRGIvS','replace','document','*Format:*\x20change\x20table\x20properties','TablePropertiesEditing','tableCellBorderColor','tableCellBorderStyle','tableAlignment','tableCellVerticalAlignment','tableCellWidth','setAttribute','_$1','editor','tableCellHeight','descriptionFactory','has','tableBackgroundColor','tableWidth','tableBorderColor','getSuggestions','enqueueChange','tableCellBorderWidth','getAttribute','754397EwGqae','formatBlock','*Format:*\x20change\x20table\x20cell\x20properties','plugins','TrackChangesEditing','_registerTablePropertiesAttributes','model','_getSuggestion','registerAttributeLabel','locale'];_0x3258=function(){return _0x40d778;};return _0x3258();}(function(_0x128bfe,_0x225b78){const _0x479579=_0x5852,_0x4ca5a6=_0x128bfe();while(!![]){try{const _0x466620=parseInt(_0x479579(0x1d7))/0x1+parseInt(_0x479579(0x1ed))/0x2*(parseInt(_0x479579(0x1ef))/0x3)+-parseInt(_0x479579(0x1aa))/0x4+parseInt(_0x479579(0x1e2))/0x5*(parseInt(_0x479579(0x1a6))/0x6)+-parseInt(_0x479579(0x1a3))/0x7+-parseInt(_0x479579(0x1b0))/0x8+parseInt(_0x479579(0x1c0))/0x9*(parseInt(_0x479579(0x1ee))/0xa);if(_0x466620===_0x225b78)break;else _0x4ca5a6['push'](_0x4ca5a6['shift']());}catch(_0x1159b2){_0x4ca5a6['push'](_0x4ca5a6['shift']());}}}(_0x3258,0xd63fc));function _0x5852(_0x1fc020,_0x31cf14){const _0x3258cc=_0x3258();return _0x5852=function(_0x5852a9,_0x337d8c){_0x5852a9=_0x5852a9-0x1a0;let _0x179634=_0x3258cc[_0x5852a9];return _0x179634;},_0x5852(_0x1fc020,_0x31cf14);}import{Plugin as _0x37fd1b}from'ckeditor5/src/core.js';import{getTranslation as _0x99fad7}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x37fd1b{[_0x432fe4(0x1a0)];[_0x432fe4(0x1b1)];constructor(_0x399da4){const _0xb0f9ea=_0x432fe4;super(_0x399da4),this[_0xb0f9ea(0x1a0)]=[_0xb0f9ea(0x1d2),_0xb0f9ea(0x1e4),_0xb0f9ea(0x1ad),_0xb0f9ea(0x1c7),_0xb0f9ea(0x1d1),_0xb0f9ea(0x1a8),_0xb0f9ea(0x1d0)],this[_0xb0f9ea(0x1b1)]=[_0xb0f9ea(0x1c5),_0xb0f9ea(0x1c6),_0xb0f9ea(0x1d5),_0xb0f9ea(0x1bd),_0xb0f9ea(0x1c9),_0xb0f9ea(0x1cd),_0xb0f9ea(0x1b3),_0xb0f9ea(0x1b2),_0xb0f9ea(0x1c8)];}static get[_0x432fe4(0x1ba)](){const _0xef3772=_0x432fe4;return _0xef3772(0x1e1);}static get[_0x432fe4(0x1b8)](){return!0x0;}static get[_0x432fe4(0x1a9)](){return!0x0;}[_0x432fe4(0x1bc)](){const _0x2fd712=_0x432fe4,_0x3cb8d=this[_0x2fd712(0x1cc)][_0x2fd712(0x1da)][_0x2fd712(0x1bb)](_0x2fd712(0x1db));if(this[_0x2fd712(0x1cc)][_0x2fd712(0x1da)][_0x2fd712(0x1cf)](_0x2fd712(0x1c4))){for(const _0x3b1be4 of this[_0x2fd712(0x1a0)])_0x3cb8d[_0x2fd712(0x1ec)](_0x3b1be4,(_0x56767c,_0x504c09)=>{const _0x4d9781=_0x2fd712,_0x1da45c=this[_0x4d9781(0x1cc)][_0x4d9781(0x1dd)][_0x4d9781(0x1c2)][_0x4d9781(0x1b9)][_0x4d9781(0x1b7)]()[_0x4d9781(0x1b6)](_0x4d9781(0x1a4));this[_0x4d9781(0x1ae)](_0x3b1be4,[_0x1da45c],this[_0x4d9781(0x1a0)],_0x4d9781(0x1a0),_0x56767c,_0x504c09);});_0x3cb8d[_0x2fd712(0x1be)][_0x2fd712(0x1bf)](_0x2fd712(0x1d8),_0x2fd712(0x1a0),_0x2fd712(0x1eb),_0x3cb8d[_0x2fd712(0x1be)][_0x2fd712(0x1f4)](_0x2fd712(0x1d8),null,_0x2fd712(0x1e7))),_0x3cb8d[_0x2fd712(0x1be)][_0x2fd712(0x1bf)](_0x2fd712(0x1d8),_0x2fd712(0x1a0),_0x2fd712(0x1e7),(_0x5454b1,_0xb80193)=>this[_0x2fd712(0x1a7)](this[_0x2fd712(0x1a0)],_0x5454b1,_0xb80193)),_0x3cb8d[_0x2fd712(0x1be)][_0x2fd712(0x1bf)](_0x2fd712(0x1d8),_0x2fd712(0x1a0),_0x2fd712(0x1f3),()=>!0x1);}if(this[_0x2fd712(0x1cc)][_0x2fd712(0x1da)][_0x2fd712(0x1cf)](_0x2fd712(0x1e9))){for(const _0x3a6974 of this[_0x2fd712(0x1b1)])_0x3cb8d[_0x2fd712(0x1ec)](_0x3a6974,(_0x386449,_0xa198e3)=>{const _0x44d073=_0x2fd712,_0x36e4b3=this[_0x44d073(0x1cc)][_0x44d073(0x1da)][_0x44d073(0x1bb)](_0x44d073(0x1b4))[_0x44d073(0x1e3)](this[_0x44d073(0x1cc)][_0x44d073(0x1dd)][_0x44d073(0x1c2)][_0x44d073(0x1b9)]);this[_0x44d073(0x1ae)](_0x3a6974,_0x36e4b3,this[_0x44d073(0x1b1)],_0x44d073(0x1b1),_0x386449,_0xa198e3);});_0x3cb8d[_0x2fd712(0x1be)][_0x2fd712(0x1bf)](_0x2fd712(0x1d8),_0x2fd712(0x1b1),_0x2fd712(0x1eb),_0x3cb8d[_0x2fd712(0x1be)][_0x2fd712(0x1f4)](_0x2fd712(0x1d8),null,_0x2fd712(0x1e7))),_0x3cb8d[_0x2fd712(0x1be)][_0x2fd712(0x1bf)](_0x2fd712(0x1d8),_0x2fd712(0x1b1),_0x2fd712(0x1e7),(_0x360ed9,_0x215bc2)=>this[_0x2fd712(0x1a7)](this[_0x2fd712(0x1b1)],_0x360ed9,_0x215bc2)),_0x3cb8d[_0x2fd712(0x1be)][_0x2fd712(0x1bf)](_0x2fd712(0x1d8),_0x2fd712(0x1b1),_0x2fd712(0x1f3),()=>!0x1);}_0x3cb8d[_0x2fd712(0x1ce)][_0x2fd712(0x1a2)](_0x380089=>this[_0x2fd712(0x1e8)](_0x380089)),this[_0x2fd712(0x1dc)]();}[_0x432fe4(0x1ae)](_0x44e978,_0x3f7f10,_0x57e8ce,_0x589d23,_0x34694d,_0x244c95){const _0x45dab1=_0x432fe4,_0x191537=this[_0x45dab1(0x1cc)][_0x45dab1(0x1da)][_0x45dab1(0x1bb)](_0x45dab1(0x1db));this[_0x45dab1(0x1cc)][_0x45dab1(0x1dd)][_0x45dab1(0x1d4)](_0x244c95[_0x45dab1(0x1f6)],()=>{const _0xc06cad=_0x45dab1;for(const _0x1ba38c of _0x3f7f10){if(this[_0xc06cad(0x1de)](_0x1ba38c,_0x589d23))_0x34694d(_0x244c95);else{const _0x518287={};for(const _0x2b0371 of _0x57e8ce){const _0x4523db=_0x1ba38c[_0xc06cad(0x1d6)](_0x2b0371);void 0x0!==_0x4523db&&(_0x518287[_0x2b0371]=_0x4523db);}_0x34694d(_0x244c95),_0x191537[_0xc06cad(0x1f5)](_0x1ba38c,{'commandParams':[_0x518287]},[],_0x589d23);}}});}[_0x432fe4(0x1a7)](_0x5f560b,_0x181fab,_0x3b448a){const _0x36578d=_0x432fe4,_0x220a62=_0x181fab[0x0][_0x36578d(0x1f0)][_0x36578d(0x1a1)],_0x48ac2f=_0x3b448a[_0x36578d(0x1f2)][0x0];this[_0x36578d(0x1cc)][_0x36578d(0x1dd)][_0x36578d(0x1ac)](_0x507fcb=>{const _0x55c96a=_0x36578d;for(const _0x2e742b of _0x5f560b)void 0x0!==_0x48ac2f[_0x2e742b]?_0x507fcb[_0x55c96a(0x1ca)](_0x2e742b,_0x48ac2f[_0x2e742b],_0x220a62):_0x507fcb[_0x55c96a(0x1a5)](_0x2e742b,_0x220a62);});}[_0x432fe4(0x1e8)](_0x598d8b){const _0x561f47=_0x432fe4;if(_0x598d8b[_0x561f47(0x1ea)])switch(_0x598d8b[_0x561f47(0x1af)]){case _0x561f47(0x1a0):return{'type':_0x561f47(0x1ab),'content':_0x99fad7(this[_0x561f47(0x1cc)][_0x561f47(0x1e0)],_0x561f47(0x1c3))};case _0x561f47(0x1b1):return{'type':_0x561f47(0x1ab),'content':_0x99fad7(this[_0x561f47(0x1cc)][_0x561f47(0x1e0)],_0x561f47(0x1d9))};}}[_0x432fe4(0x1de)](_0x3d782,_0x4957d1){const _0x1447c5=_0x432fe4,_0x4592e5=this[_0x1447c5(0x1cc)][_0x1447c5(0x1da)][_0x1447c5(0x1bb)](_0x1447c5(0x1db));for(const _0xf9ceb8 of _0x4592e5[_0x1447c5(0x1d3)]({'skipNotAttached':!0x0})){const _0x15a733=_0xf9ceb8[_0x1447c5(0x1f1)]();if(_0xf9ceb8[_0x1447c5(0x1af)]===_0x4957d1&&_0x15a733===_0x3d782)return _0xf9ceb8;}return null;}[_0x432fe4(0x1dc)](){const _0x221152=_0x432fe4,_0x2c5b3c=this[_0x221152(0x1cc)][_0x221152(0x1da)][_0x221152(0x1bb)](_0x221152(0x1db)),_0x54d577=[...this[_0x221152(0x1a0)],...this[_0x221152(0x1b1)]];for(const _0x482724 of _0x54d577){const _0x5e4a31=_0x482724[_0x221152(0x1c1)](/([A-Z])/g,_0x221152(0x1cb))[_0x221152(0x1e6)]();_0x2c5b3c[_0x221152(0x1e5)](_0x482724),_0x2c5b3c[_0x221152(0x1ce)][_0x221152(0x1df)](_0x482724,_0x99fad7(this[_0x221152(0x1cc)][_0x221152(0x1e0)],_0x221152(0x1b5)+_0x5e4a31));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e34bb=_0x31ce;function _0x31ce(_0x331a76,_0xf81dcd){const _0xe8bb91=_0xe8bb();return _0x31ce=function(_0x31cefb,_0x29e31e){_0x31cefb=_0x31cefb-0x64;let _0x223f82=_0xe8bb91[_0x31cefb];return _0x223f82;},_0x31ce(_0x331a76,_0xf81dcd);}(function(_0x3b5021,_0x381ecf){const _0x215e2d=_0x31ce,_0xb44ecf=_0x3b5021();while(!![]){try{const _0x474b44=-parseInt(_0x215e2d(0x76))/0x1*(-parseInt(_0x215e2d(0x66))/0x2)+-parseInt(_0x215e2d(0x6d))/0x3*(-parseInt(_0x215e2d(0x73))/0x4)+parseInt(_0x215e2d(0x70))/0x5+parseInt(_0x215e2d(0x6b))/0x6*(parseInt(_0x215e2d(0x72))/0x7)+-parseInt(_0x215e2d(0x6a))/0x8*(-parseInt(_0x215e2d(0x6f))/0x9)+-parseInt(_0x215e2d(0x64))/0xa+-parseInt(_0x215e2d(0x68))/0xb;if(_0x474b44===_0x381ecf)break;else _0xb44ecf['push'](_0xb44ecf['shift']());}catch(_0xbe6fbc){_0xb44ecf['push'](_0xb44ecf['shift']());}}}(_0xe8bb,0xc8e55));function _0xe8bb(){const _0x4d752d=['has','editor','1991sYpvpK','TrackChangesEditing','5024270mQJvjM','afterInit','1606dazlir','enableCommand','32522952mRpHUF','insertTemplate','176tJaFgQ','129870IcsSgF','Template','3Ujlisf','get','345987WRAIEY','7982565RGFKeC','plugins','63TbHGNe','184364mhmPig'];_0xe8bb=function(){return _0x4d752d;};return _0xe8bb();}import{Plugin as _0x33f682}from'ckeditor5/src/core.js';export class TrackChangesTemplate extends _0x33f682{[_0x5e34bb(0x65)](){const _0x5e167f=_0x5e34bb,_0x17f144=this[_0x5e167f(0x75)];_0x17f144[_0x5e167f(0x71)][_0x5e167f(0x74)](_0x5e167f(0x6c))&&_0x17f144[_0x5e167f(0x71)][_0x5e167f(0x6e)](_0x5e167f(0x77))[_0x5e167f(0x67)](_0x5e167f(0x69));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e44fb=_0x48a4;(function(_0x35189e,_0x1dfc9e){const _0x22cf9a=_0x48a4,_0x263b4c=_0x35189e();while(!![]){try{const _0xc8320c=parseInt(_0x22cf9a(0x16f))/0x1+parseInt(_0x22cf9a(0x186))/0x2*(-parseInt(_0x22cf9a(0x184))/0x3)+-parseInt(_0x22cf9a(0x177))/0x4+-parseInt(_0x22cf9a(0x18c))/0x5+parseInt(_0x22cf9a(0x183))/0x6*(parseInt(_0x22cf9a(0x187))/0x7)+parseInt(_0x22cf9a(0x180))/0x8*(-parseInt(_0x22cf9a(0x182))/0x9)+parseInt(_0x22cf9a(0x17a))/0xa;if(_0xc8320c===_0x1dfc9e)break;else _0x263b4c['push'](_0x263b4c['shift']());}catch(_0x1c67a5){_0x263b4c['push'](_0x263b4c['shift']());}}}(_0x1e28,0xdb16d));import{Plugin as _0x1651c0}from'ckeditor5/src/core.js';function _0x1e28(){const _0x77e947=['ELEMENT_TITLE','schema','forward','isCollapsed','model','874720gXFgPC','locale','removeMarker','getChangedMarkers','get','getNearestSelectionRange','descriptionFactory','TrackChangesEditing','5688792KbaYoD','newRange','differ','40552930nHeKnm','editor','registerElementLabel','isEqual','createRange','Title','1147912PMcZqO','has','72kBooNS','42CDoBFZ','39utesgY','nodeBefore','253216BGOmus','1497923nAQEvV','registerPostFixer','afterInit','isTouching','suggestion','6572665cMGjTh','end','from','document','plugins','start','_splitMarkerName','element','updateMarker','title-content'];_0x1e28=function(){return _0x77e947;};return _0x1e28();}import{getTranslation as _0x34cd71}from'../utils/common-translations.js';function _0x48a4(_0x4c257b,_0x4c4adb){const _0x1e285f=_0x1e28();return _0x48a4=function(_0x48a4dc,_0x5e1d0d){_0x48a4dc=_0x48a4dc-0x16b;let _0x4320b4=_0x1e285f[_0x48a4dc];return _0x4320b4;},_0x48a4(_0x4c257b,_0x4c4adb);}export class TrackChangesTitle extends _0x1651c0{[_0x4e44fb(0x189)](){const _0x452158=_0x4e44fb,_0x4c9a8c=this[_0x452158(0x17b)];if(!_0x4c9a8c[_0x452158(0x190)][_0x452158(0x181)](_0x452158(0x17f)))return;const _0x113502=_0x4c9a8c[_0x452158(0x190)][_0x452158(0x173)](_0x452158(0x176));_0x113502[_0x452158(0x175)][_0x452158(0x17c)](_0x452158(0x195),()=>_0x34cd71(_0x4c9a8c[_0x452158(0x170)],_0x452158(0x196))),_0x4c9a8c[_0x452158(0x16e)][_0x452158(0x18f)][_0x452158(0x188)](_0x47e1fd=>{const _0x220fa6=_0x452158;let _0x37db5b=!0x1;const _0x2f60ea=Array[_0x220fa6(0x18e)](_0x4c9a8c[_0x220fa6(0x16e)][_0x220fa6(0x18f)][_0x220fa6(0x179)][_0x220fa6(0x172)]());for(const {name:_0x27701b,data:_0x1130f1}of _0x2f60ea){const {group:_0x5411bc}=_0x113502[_0x220fa6(0x192)](_0x27701b);if(_0x220fa6(0x18b)!==_0x5411bc||!_0x1130f1[_0x220fa6(0x178)])continue;const _0x3d8f23=_0x1130f1[_0x220fa6(0x178)],_0x35893b=_0x3d8f23[_0x220fa6(0x18d)][_0x220fa6(0x185)];if(!_0x35893b||!_0x35893b['is'](_0x220fa6(0x193),_0x220fa6(0x195)))continue;if(!_0x3d8f23[_0x220fa6(0x191)][_0x220fa6(0x18a)](_0x3d8f23[_0x220fa6(0x18d)]))continue;const _0x5f5345=_0x4c9a8c[_0x220fa6(0x16e)][_0x220fa6(0x16b)][_0x220fa6(0x174)](_0x3d8f23[_0x220fa6(0x18d)],_0x220fa6(0x16c));if(_0x5f5345&&_0x5f5345[_0x220fa6(0x16d)]){const _0x2ab555=_0x47e1fd[_0x220fa6(0x17e)](_0x3d8f23[_0x220fa6(0x191)],_0x5f5345[_0x220fa6(0x191)]);_0x2ab555[_0x220fa6(0x17d)](_0x3d8f23)||(_0x47e1fd[_0x220fa6(0x194)](_0x27701b,{'range':_0x2ab555}),_0x37db5b=!0x0);}_0x37db5b||(_0x47e1fd[_0x220fa6(0x171)](_0x27701b),_0x37db5b=!0x0);}return _0x37db5b;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f2ce2=_0x1360;(function(_0x57a5f8,_0x5edd73){const _0x5c9cd6=_0x1360,_0x4f74a2=_0x57a5f8();while(!![]){try{const _0x41a9ad=parseInt(_0x5c9cd6(0x11f))/0x1+-parseInt(_0x5c9cd6(0x12d))/0x2+-parseInt(_0x5c9cd6(0x126))/0x3+parseInt(_0x5c9cd6(0x123))/0x4*(-parseInt(_0x5c9cd6(0x124))/0x5)+-parseInt(_0x5c9cd6(0x127))/0x6+parseInt(_0x5c9cd6(0x120))/0x7*(-parseInt(_0x5c9cd6(0x122))/0x8)+parseInt(_0x5c9cd6(0x12c))/0x9;if(_0x41a9ad===_0x5edd73)break;else _0x4f74a2['push'](_0x4f74a2['shift']());}catch(_0xbc0f89){_0x4f74a2['push'](_0x4f74a2['shift']());}}}(_0x5fdb,0xa9d58));import{Plugin as _0x496152}from'ckeditor5/src/core.js';function _0x5fdb(){const _0x19cd50=['428771uwZCQR','get','40veANrF','260JeUeXj','745IqVOrB','editor','2296950cKoRbX','5619276PaFFGq','enableCommand','UndoEditing','plugins','afterInit','16698897KJdape','785950CcowtR','has','TrackChangesEditing','redo','undo','1251328REdRLo'];_0x5fdb=function(){return _0x19cd50;};return _0x5fdb();}function _0x1360(_0x58e0ee,_0x567040){const _0x5fdb97=_0x5fdb();return _0x1360=function(_0x1360fe,_0x31eb48){_0x1360fe=_0x1360fe-0x11b;let _0x443403=_0x5fdb97[_0x1360fe];return _0x443403;},_0x1360(_0x58e0ee,_0x567040);}export class TrackChangesUndo extends _0x496152{[_0x3f2ce2(0x12b)](){const _0x4c47da=_0x3f2ce2,_0x3f8ed0=this[_0x4c47da(0x125)],_0x347246=_0x3f8ed0[_0x4c47da(0x12a)][_0x4c47da(0x121)](_0x4c47da(0x11c));_0x3f8ed0[_0x4c47da(0x12a)][_0x4c47da(0x11b)](_0x4c47da(0x129))&&(_0x347246[_0x4c47da(0x128)](_0x4c47da(0x11e)),_0x347246[_0x4c47da(0x128)](_0x4c47da(0x11d)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xfde2b7=_0x56d4;function _0x56d4(_0xe29a9,_0x3fcbd1){const _0x4e9972=_0x4e99();return _0x56d4=function(_0x56d48f,_0x3f58ed){_0x56d48f=_0x56d48f-0x142;let _0x2ac4a0=_0x4e9972[_0x56d48f];return _0x2ac4a0;},_0x56d4(_0xe29a9,_0x3fcbd1);}(function(_0x20d0c8,_0x56da89){const _0x5b2e1b=_0x56d4,_0x3b7f7d=_0x20d0c8();while(!![]){try{const _0x26328a=parseInt(_0x5b2e1b(0x159))/0x1*(-parseInt(_0x5b2e1b(0x15a))/0x2)+parseInt(_0x5b2e1b(0x156))/0x3*(-parseInt(_0x5b2e1b(0x14e))/0x4)+-parseInt(_0x5b2e1b(0x158))/0x5+-parseInt(_0x5b2e1b(0x14b))/0x6*(-parseInt(_0x5b2e1b(0x151))/0x7)+parseInt(_0x5b2e1b(0x14f))/0x8*(parseInt(_0x5b2e1b(0x144))/0x9)+-parseInt(_0x5b2e1b(0x153))/0xa*(-parseInt(_0x5b2e1b(0x162))/0xb)+parseInt(_0x5b2e1b(0x160))/0xc;if(_0x26328a===_0x56da89)break;else _0x3b7f7d['push'](_0x3b7f7d['shift']());}catch(_0x8d6ea5){_0x3b7f7d['push'](_0x3b7f7d['shift']());}}}(_0x4e99,0xa301f));import{Plugin as _0x1e0743}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x1e0743{[_0xfde2b7(0x14d)](){const _0x3b7d9f=_0xfde2b7,_0x30040a=this[_0x3b7d9f(0x146)],_0x4feb16=_0x30040a[_0x3b7d9f(0x145)][_0x3b7d9f(0x147)](_0x3b7d9f(0x15c));_0x30040a[_0x3b7d9f(0x145)][_0x3b7d9f(0x15f)](_0x3b7d9f(0x149))&&(_0x4feb16[_0x3b7d9f(0x15d)](_0x3b7d9f(0x148)),_0x30040a[_0x3b7d9f(0x145)][_0x3b7d9f(0x15f)](_0x3b7d9f(0x15b))&&(_0x4feb16[_0x3b7d9f(0x15d)](_0x3b7d9f(0x152)),_0x4feb16[_0x3b7d9f(0x14c)](_0x3b7d9f(0x14a)),_0x4feb16[_0x3b7d9f(0x142)](_0x3b7d9f(0x143)),_0x4feb16[_0x3b7d9f(0x154)][_0x3b7d9f(0x15e)](_0x3d6792=>{const _0x703eb4=_0x3b7d9f;if(_0x703eb4(0x150)!=_0x3d6792[_0x703eb4(0x155)])return;const {data:_0x54d4b1}=_0x3d6792;return _0x54d4b1&&_0x703eb4(0x143)==_0x54d4b1[_0x703eb4(0x161)]?{'type':_0x703eb4(0x157),'content':''}:void 0x0;})));}}function _0x4e99(){const _0xc450c2=['enableDefaultAttributesIntegration','afterInit','2147648UkEYZH','178936bMIrwN','attribute','282156IyiNsZ','uploadcareImageEdit','2955160RXEJXX','descriptionFactory','type','3ueWWVb','format','1995595LWQIZS','53651TwEGte','24torSyr','UploadcareImageEdit','TrackChangesEditing','enableCommand','registerDescriptionCallback','has','10315872EDmBAH','key','22baQnJO','registerBlockAttribute','uploadcareImageId','126TVkYDA','plugins','editor','get','uploadcare','Uploadcare','uploadcareImageReplace','72qwWhem'];_0x4e99=function(){return _0xc450c2;};return _0x4e99();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x39b5a3,_0x155614){const _0x2ca027=_0x4f64,_0x1ea347=_0x39b5a3();while(!![]){try{const _0x39e17c=parseInt(_0x2ca027(0xdd))/0x1+-parseInt(_0x2ca027(0xe8))/0x2*(-parseInt(_0x2ca027(0xe2))/0x3)+-parseInt(_0x2ca027(0xea))/0x4+parseInt(_0x2ca027(0xc2))/0x5*(-parseInt(_0x2ca027(0xd6))/0x6)+parseInt(_0x2ca027(0xdb))/0x7*(parseInt(_0x2ca027(0xed))/0x8)+parseInt(_0x2ca027(0xc6))/0x9*(-parseInt(_0x2ca027(0xef))/0xa)+-parseInt(_0x2ca027(0xe9))/0xb*(-parseInt(_0x2ca027(0xe1))/0xc);if(_0x39e17c===_0x155614)break;else _0x1ea347['push'](_0x1ea347['shift']());}catch(_0x422544){_0x1ea347['push'](_0x1ea347['shift']());}}}(_0x279c,0x6b6d2));export function getRangesWithAttribute(_0x22c936,_0xea1279,_0x367466){const _0x3551c6=_0x4f64,_0x5672d8=[];for(const _0x4c8009 of _0xea1279[_0x3551c6(0xd7)]())_0x4c8009[_0x3551c6(0xdf)](_0x22c936)&&_0x5672d8[_0x3551c6(0xde)](_0x367466[_0x3551c6(0xda)](_0x4c8009));return _0x5672d8;}function _0x4f64(_0x52fc5c,_0x105abc){const _0x279cb8=_0x279c();return _0x4f64=function(_0x4f643c,_0x2f049f){_0x4f643c=_0x4f643c-0xbd;let _0x5b407f=_0x279cb8[_0x4f643c];return _0x5b407f;},_0x4f64(_0x52fc5c,_0x105abc);}function _0x279c(){const _0x54c5dd=['previousPosition','12909228mUgvBz','2637cHctzl','insert','addClass','isContent','start','markerRange','862ibpgND','11EMsBJj','58668xdXmPd','plugins','schema','3466136zxklLR','getCustomProperty','10GaPFsN','isAtEnd','_splitMarkerName','isLimit','getWalker','markerName','elementEnd','model','nextSibling','4345165vOxfka','consumable','get','parent','7579548MrzFiq','bindElementToMarker','mapper','name','TrackChangesEditing','writer','isBlock','test','activeMarkers','ck-suggestion-marker-','type','toViewPosition','includes','createUIElement','addHighlight','item','6mkqcmO','getItems','ck-suggestion-marker--active','span','createRangeOn','7vvFAoJ','toViewElement','278005yDotIj','push','hasAttribute'];_0x279c=function(){return _0x54c5dd;};return _0x279c();}export function downcastSplitMergeMarker(_0x2b529c,_0xa3a304,{showActiveMarker:_0xddd9fd=!0x0}={}){const _0x54312d=_0x4f64,_0xd2c355=_0x2b529c[_0x54312d(0xeb)][_0x54312d(0xc4)](_0x54312d(0xca));return(_0x37d94a,_0x4fcc8e,_0x5636ed)=>{const _0x338dc8=_0x54312d;if(!_0x5636ed[_0x338dc8(0xc3)][_0x338dc8(0xcd)](_0x4fcc8e[_0x338dc8(0xe7)],_0x37d94a[_0x338dc8(0xc9)]))return;const _0x382293=_0x4fcc8e[_0x338dc8(0xe7)][_0x338dc8(0xbd)](),_0x4d6454=_0x4fcc8e[_0x338dc8(0xe7)][_0x338dc8(0xe6)],_0x2a0314=_0x2b529c[_0x338dc8(0xc0)][_0x338dc8(0xec)];let _0x231e12=null,_0x40f396=null,_0x148e34=!0x1,_0x3532b2=!0x1;for(const _0x4ced9f of _0x382293){const _0x44af3f=_0x4ced9f[_0x338dc8(0xd5)];_0x148e34=_0x148e34||_0x2a0314[_0x338dc8(0xe5)](_0x44af3f);const _0xd7c3dd=_0x5636ed[_0x338dc8(0xc8)][_0x338dc8(0xdc)](_0x44af3f);if(_0xd7c3dd&&_0xd7c3dd[_0x338dc8(0xee)](_0x338dc8(0xd4)))return;_0x338dc8(0xbf)==_0x4ced9f[_0x338dc8(0xd0)]&&(_0x2a0314[_0x338dc8(0xcc)](_0x44af3f)&&!_0x2a0314[_0x338dc8(0xf2)](_0x44af3f)&&(_0x44af3f[_0x338dc8(0xc1)]||_0x4d6454[_0x338dc8(0xf0)]?_0x231e12&&_0x231e12[_0x338dc8(0xc5)]==_0x44af3f||(_0x231e12=_0x44af3f,_0x38b24d(_0x4ced9f[_0x338dc8(0xe0)]),_0x3532b2=!0x0):_0x40f396=_0x40f396||_0x4ced9f[_0x338dc8(0xe0)]));}function _0x38b24d(_0x34cf2d){const _0x334887=_0x338dc8,{id:_0xd7abdb,authorId:_0x182351}=_0xd2c355[_0x334887(0xf1)](_0x4fcc8e[_0x334887(0xbe)]),_0x44429d=_0x5636ed[_0x334887(0xcb)][_0x334887(0xd3)](_0x334887(0xd9),{'class':_0x334887(0xcf)+_0xa3a304,'data-suggestion':_0xd7abdb,'data-author-id':_0x182351}),_0x2d3898=_0x5636ed[_0x334887(0xc8)][_0x334887(0xd1)](_0x34cf2d);_0xddd9fd&&_0xd2c355[_0x334887(0xce)][_0x334887(0xd2)](_0x4fcc8e[_0x334887(0xbe)])&&_0x5636ed[_0x334887(0xcb)][_0x334887(0xe4)](_0x334887(0xd8),_0x44429d),_0x5636ed[_0x334887(0xcb)][_0x334887(0xe3)](_0x2d3898,_0x44429d),_0x5636ed[_0x334887(0xc8)][_0x334887(0xc7)](_0x44429d,_0x4fcc8e[_0x334887(0xbe)]);}_0x148e34||_0x3532b2||!_0x40f396||_0x38b24d(_0x40f396);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x422718=_0x5bfd;function _0x5bfd(_0x45ed7d,_0x6df0a1){const _0x3c0d55=_0x3c0d();return _0x5bfd=function(_0x5bfdff,_0x1644ec){_0x5bfdff=_0x5bfdff-0x95;let _0x3772dc=_0x3c0d55[_0x5bfdff];return _0x3772dc;},_0x5bfd(_0x45ed7d,_0x6df0a1);}(function(_0x53a66f,_0x850241){const _0x2b4168=_0x5bfd,_0x5a02ee=_0x53a66f();while(!![]){try{const _0x10d08f=-parseInt(_0x2b4168(0xcb))/0x1+parseInt(_0x2b4168(0xa9))/0x2*(-parseInt(_0x2b4168(0xbc))/0x3)+parseInt(_0x2b4168(0xb4))/0x4*(parseInt(_0x2b4168(0xc5))/0x5)+-parseInt(_0x2b4168(0xd4))/0x6*(parseInt(_0x2b4168(0xe7))/0x7)+-parseInt(_0x2b4168(0xe5))/0x8*(parseInt(_0x2b4168(0xb9))/0x9)+-parseInt(_0x2b4168(0xd5))/0xa+parseInt(_0x2b4168(0xd7))/0xb;if(_0x10d08f===_0x850241)break;else _0x5a02ee['push'](_0x5a02ee['shift']());}catch(_0x3e05fa){_0x5a02ee['push'](_0x5a02ee['shift']());}}}(_0x3c0d,0x18f76));import{ModelElement as _0x2655f5}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x5aa095,uid as _0x91f826}from'ckeditor5/src/utils.js';import{cloneDeep as _0x48b9fc,isEqual as _0x4e6b5a,set as _0xdfc2c2,unset as _0x34f713}from'es-toolkit/compat';export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5aa095(){['id'];[_0x422718(0xb1)];[_0x422718(0xd1)];[_0x422718(0xac)];[_0x422718(0xe8)];[_0x422718(0xc0)];[_0x422718(0x9e)];[_0x422718(0xbb)];[_0x422718(0xda)];[_0x422718(0xd6)]=!0x1;[_0x422718(0xe1)];[_0x422718(0xe0)];[_0x422718(0xa8)];[_0x422718(0xcf)];[_0x422718(0x97)];constructor(_0xc28f12,_0x5a33b5){const _0xc3b765=_0x422718;super(),this['id']=_0x5a33b5['id'],this[_0xc3b765(0xb1)]=_0x5a33b5[_0xc3b765(0xb1)],this[_0xc3b765(0xd1)]=_0x5a33b5[_0xc3b765(0xd1)]||null,this[_0xc3b765(0xac)]=_0x5a33b5[_0xc3b765(0xac)],this[_0xc3b765(0xe8)]=_0x5a33b5[_0xc3b765(0xe8)]||_0x5a33b5[_0xc3b765(0xac)],this[_0xc3b765(0xc0)]=Boolean(_0x5a33b5[_0xc3b765(0xc1)]&&_0x5a33b5[_0xc3b765(0xc1)][_0xc3b765(0x95)]),this[_0xc3b765(0x9e)]=null,this[_0xc3b765(0xda)]=_0x5a33b5[_0xc3b765(0x9a)]||null,this[_0xc3b765(0xe1)]=_0xc28f12,this[_0xc3b765(0xe0)]=_0x5a33b5[_0xc3b765(0xa4)],this[_0xc3b765(0xa8)]=_0x5a33b5[_0xc3b765(0x9d)],this[_0xc3b765(0xcf)]=_0x5a33b5[_0xc3b765(0xbe)],this[_0xc3b765(0x97)]=new Set(),this[_0xc3b765(0xbb)]=null,this[_0xc3b765(0xa3)](_0xc3b765(0xc7),null),this[_0xc3b765(0xa3)](_0xc3b765(0xc1),_0x5a33b5[_0xc3b765(0xc1)]||{}),this[_0xc3b765(0xa3)](_0xc3b765(0xa7),null),this[_0xc3b765(0xa3)](_0xc3b765(0xbf),null),this[_0xc3b765(0xa3)](_0xc3b765(0xa1),null),this[_0xc3b765(0xa3)](_0xc3b765(0x96),!0x1),this[_0xc3b765(0xc9)](_0xc3b765(0x99)),this[_0xc3b765(0xc9)](_0xc3b765(0xe6));}get[_0x422718(0x9c)](){const _0x43d971=_0x422718;let _0x2efa99=this;for(;_0x2efa99[_0x43d971(0xa7)];)_0x2efa99=_0x2efa99[_0x43d971(0xa7)];return _0x2efa99;}get[_0x422718(0xcc)](){const _0x5d84bd=_0x422718;return!!this[_0x5d84bd(0xa1)]&&this[_0x5d84bd(0xa1)][_0x5d84bd(0xdf)]>0x0;}get[_0x422718(0xc8)](){const _0x5f4b93=_0x422718;if(0x0==this[_0x5f4b93(0x97)][_0x5f4b93(0xdc)])return!0x1;return 0x6==Array[_0x5f4b93(0xb8)](this[_0x5f4b93(0x97)])[0x0][_0x5f4b93(0xaa)](':')[_0x5f4b93(0xdf)];}get[_0x422718(0xd8)](){const _0x3509af=_0x422718;return null!==this[_0x3509af(0xae)]();}[_0x422718(0xa0)](_0x156083){const _0x386a36=_0x422718;this[_0x386a36(0x97)][_0x386a36(0xb3)](_0x156083);}[_0x422718(0xa6)](){const _0x108c13=_0x422718;return Array[_0x108c13(0xb8)](this[_0x108c13(0x97)]);}[_0x422718(0xcd)](){const _0x219833=_0x422718;return this[_0x219833(0xa6)]()[_0x219833(0xb2)](_0xc2b72=>this[_0x219833(0xe1)][_0x219833(0xc2)][_0x219833(0xd3)](_0xc2b72))[_0x219833(0xe4)](_0x27fed6=>_0x27fed6);}[_0x422718(0xae)](){const _0x470ca7=_0x422718;return this[_0x470ca7(0xcd)]()[0x0]||null;}[_0x422718(0xe2)](){const _0x31d190=_0x422718;this[_0x31d190(0xe1)][_0x31d190(0xd9)](_0x3d8cb5=>{const _0x1eb252=_0x31d190;for(const _0x208f3d of this[_0x1eb252(0xcd)]())_0x3d8cb5[_0x1eb252(0xc4)](_0x208f3d);}),this[_0x31d190(0x97)][_0x31d190(0xa5)]();}[_0x422718(0xc4)](_0x35b79f){const _0x307f66=_0x422718;this[_0x307f66(0xe1)][_0x307f66(0xd9)](_0x49ed39=>{const _0x409e82=_0x307f66;_0x49ed39[_0x409e82(0xc4)](_0x35b79f);}),this[_0x307f66(0x97)][_0x307f66(0xca)](_0x35b79f);}[_0x422718(0xd2)](_0x5bd28e){const _0x389061=_0x422718,_0x177b3e=_0x389061(0xdd)+this[_0x389061(0xb1)]+':'+this[_0x389061(0xd1)]+':'+this['id']+':'+this[_0x389061(0xe8)]['id']+':'+Suggestion[_0x389061(0x9b)]();this[_0x389061(0xa0)](_0x177b3e),this[_0x389061(0xe1)][_0x389061(0xd9)](_0x513944=>{const _0x22c356=_0x389061;_0x513944[_0x22c356(0xdb)](_0x177b3e,{'range':_0x5bd28e,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x422718(0xad)](_0x319e44){const _0x586e04=_0x422718;for(const _0x30e0b0 of this[_0x586e04(0x9f)]())if(_0x30e0b0[_0x586e04(0xbd)](_0x319e44))return!0x0;return!0x1;}[_0x422718(0x9f)](){const _0x2b496a=_0x422718;return this[_0x2b496a(0xcd)]()[_0x2b496a(0xb2)](_0x43665f=>_0x43665f[_0x2b496a(0xb6)]());}[_0x422718(0x98)](){const _0x54d697=_0x422718;return this[_0x54d697(0x9f)]()[_0x54d697(0xb5)]((_0x59807b,_0x4011fa)=>[..._0x59807b,..._0x4011fa[_0x54d697(0x98)]()],[]);}[_0x422718(0xa2)](){const _0x3dcc6f=_0x422718;return this[_0x3dcc6f(0xae)]()?.[_0x3dcc6f(0xb6)]()||null;}[_0x422718(0xde)](){const _0x140b25=_0x422718,_0x513b62=this[_0x140b25(0x9f)]();if(0x1!=_0x513b62[_0x140b25(0xdf)])return null;const _0x2ce05e=_0x513b62[0x0],_0x2fcc40=_0x2ce05e[_0x140b25(0xab)][_0x140b25(0xe3)],_0x26ae7b=_0x2ce05e[_0x140b25(0xce)][_0x140b25(0xaf)];return _0x2fcc40 instanceof _0x2655f5?_0x2fcc40!=_0x26ae7b?null:_0x2fcc40:null;}[_0x422718(0x99)](){const _0x100133=_0x422718;this[_0x100133(0xe0)](this[_0x100133(0x9f)](),this[_0x100133(0x9e)],this[_0x100133(0xc1)]),this[_0x100133(0xe2)]();}[_0x422718(0xe6)](){const _0x2d01f8=_0x422718;this[_0x2d01f8(0xa8)](this[_0x2d01f8(0x9f)](),this[_0x2d01f8(0x9e)],this[_0x2d01f8(0xc1)]),this[_0x2d01f8(0xe2)]();}[_0x422718(0xba)](){const _0x5e9f69=_0x422718,_0x4a3d9d=[];let _0x4a8e13=this[_0x5e9f69(0x9c)];for(;_0x4a8e13;)_0x4a3d9d[_0x5e9f69(0xb7)](_0x4a8e13),_0x4a8e13=_0x4a8e13[_0x5e9f69(0xbf)];return _0x4a3d9d;}[_0x422718(0xc6)](_0x4c24b4,_0x1ca6c0){const _0x10ee95=_0x422718,_0x19c77f=_0x48b9fc(this[_0x10ee95(0xc1)]);_0xdfc2c2(_0x19c77f,_0x4c24b4,_0x1ca6c0),_0x4e6b5a(_0x19c77f,this[_0x10ee95(0xc1)])||(this[_0x10ee95(0xc1)]=_0x19c77f,this[_0x10ee95(0xcf)](_0x19c77f));}[_0x422718(0xd0)](_0x52c9e7){const _0x1c951b=_0x422718,_0x32b006=_0x48b9fc(this[_0x1c951b(0xc1)]);_0x34f713(_0x32b006,_0x52c9e7),_0x4e6b5a(_0x32b006,this[_0x1c951b(0xc1)])||(this[_0x1c951b(0xc1)]=_0x32b006,this[_0x1c951b(0xcf)](this[_0x1c951b(0xc1)]));}[_0x422718(0xb0)](){const _0x7123b3=_0x422718;return{'id':this['id'],'type':this[_0x7123b3(0xd1)]?this[_0x7123b3(0xb1)]+':'+this[_0x7123b3(0xd1)]:this[_0x7123b3(0xb1)],'authorId':this[_0x7123b3(0xe8)]['id'],'createdAt':this[_0x7123b3(0xbb)],'hasComments':this[_0x7123b3(0xcc)],'data':this[_0x7123b3(0x9e)],'attributes':this[_0x7123b3(0xc1)]};}static[_0x422718(0x9b)](){const _0x1b532b=_0x422718;return _0x91f826()[_0x1b532b(0xc3)](0x1,0x5);}}function _0x3c0d(){const _0xa53589=['discard','63Ekkmrd','creator','@external','_saved','_markerNames','getItems','accept','originalSuggestionId','getMultiRangeId','head','onDiscard','data','getRanges','addMarkerName','commentThread','getFirstRange','set','onAccept','clear','getMarkerNames','previous','_onDiscard','38OAIFbT','split','start','author','isIntersectingWithRange','getFirstMarker','nodeBefore','toJSON','type','map','add','4276IPweOn','reduce','getRange','push','from','171iJGtbP','getAllAdjacentSuggestions','createdAt','93XzLUjE','isIntersecting','onAttributesChange','next','isExternal','attributes','markers','substr','removeMarker','55SLfzEw','setAttribute','authoredAt','isMultiRange','decorate','delete','27426rfhjyv','hasComments','getMarkers','end','_onAttributesChange','removeAttribute','subType','addRange','get','97938mVPuxC','1764320UAeaWm','_isDataLoaded','5972934rQFgzO','isInContent','change','_originalSuggestionId','addMarker','size','suggestion:','getContainedElement','length','_onAccept','_model','removeMarkers','nodeAfter','filter','42584tPrFGn'];_0x3c0d=function(){return _0xa53589;};return _0x3c0d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xf67cec=_0x1e3e;(function(_0x573284,_0x433ff9){const _0xca89a=_0x1e3e,_0x25693f=_0x573284();while(!![]){try{const _0x296aa7=parseInt(_0xca89a(0x20d))/0x1*(-parseInt(_0xca89a(0x1d9))/0x2)+parseInt(_0xca89a(0x1f4))/0x3*(-parseInt(_0xca89a(0x1ff))/0x4)+parseInt(_0xca89a(0x22e))/0x5*(parseInt(_0xca89a(0x1f5))/0x6)+-parseInt(_0xca89a(0x1ef))/0x7+-parseInt(_0xca89a(0x219))/0x8*(-parseInt(_0xca89a(0x1df))/0x9)+parseInt(_0xca89a(0x220))/0xa+parseInt(_0xca89a(0x1fd))/0xb;if(_0x296aa7===_0x433ff9)break;else _0x25693f['push'](_0x25693f['shift']());}catch(_0x324d2e){_0x25693f['push'](_0x25693f['shift']());}}}(_0x22ff,0xe0b60));function _0x1e3e(_0x1c9077,_0x4febd3){const _0x22ffaa=_0x22ff();return _0x1e3e=function(_0x1e3e35,_0x22a8da){_0x1e3e35=_0x1e3e35-0x1d0;let _0x2798f3=_0x22ffaa[_0x1e3e35];return _0x2798f3;},_0x1e3e(_0x1c9077,_0x4febd3);}import{getTranslation as _0x389560}from'./utils/common-translations.js';import{priorities as _0x2b47f6,insertToPriorityArray as _0x4d48d5}from'ckeditor5/src/utils.js';function _0x22ff(){const _0x137421=['isObject','9964745rGQEPI','removeContainer','isEmpty','attribute','getWalker','9nYYdfl','444eUxRBp','subType','remove','addObject','label','nodeAfter','removeObject','push','27450588eRpSDl','*Set\x20format:*\x20%0','1164824NGhDWl','addContainer','add','previousSibling','_itemLabels','isEqual','_handleRenameSuggestionDescription','_customCallbacks','*Merge:*\x20%0','checkChild','$textProxy','replace','Object','*Change\x20to:*\x20%0','1bcEvmQ','match','set','$text','addFormat','REPLACE_TEXT','getDescriptions','Container','*Insert:*\x20%0','quantity','$1\x20$2','get','1074440sttMAM','nextSibling','*Remove:*\x20%0','insertion','getItemLabel','function','_locale','4348430lloReV','data','_handleInsertRemoveSuggestionDescription','_handleAttributeSuggestionDescription','length','elementStart','deletion','has','_handleCustomCallbackDescription','_schema','addEmptyContainer','element','text','indexOf','30865vruhBf','ELEMENT_SPACE','pop','isInContent','getFirstRange','softBreak','registerElementLabel','end','registerAttributeLabel','*Split:*\x20%0','_addDescriptionItems','registerDescriptionCallback','type','607778UwknkX','item','format','key','matchingCallback','join','9lvuaXr','map','_itemLabelsCallbacks','normal','EmptyContainer','start','_resolveDescriptionItems','skip','*Remove\x20format:*\x20%0','removeFormat','_attributeLabels','elementEnd','newValue','name','removeEmptyContainer'];_0x22ff=function(){return _0x137421;};return _0x22ff();}import{renameAttributeKey as _0x9eb281}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0xf67cec(0x206)];[_0xf67cec(0x203)];[_0xf67cec(0x1e1)];[_0xf67cec(0x1e9)];[_0xf67cec(0x229)];[_0xf67cec(0x21f)];constructor(_0x2ac091,_0x26baa6){const _0x4ae6d5=_0xf67cec;this[_0x4ae6d5(0x206)]=[],this[_0x4ae6d5(0x203)]=new Map(),this[_0x4ae6d5(0x1e1)]=[],this[_0x4ae6d5(0x1e9)]=new Map(),this[_0x4ae6d5(0x229)]=_0x2ac091,this[_0x4ae6d5(0x21f)]=_0x26baa6;}[_0xf67cec(0x213)](_0x19b4fb){const _0x4af558=_0xf67cec,_0x5140ab=[],_0x1f0712=new Set(),_0x3a5c11=new Set();for(let _0x31c992=0x0;_0x31c992<_0x19b4fb[_0x4af558(0x224)];_0x31c992++){const _0x242d00=_0x19b4fb[_0x31c992];if(!_0x242d00[_0x4af558(0x231)])continue;const _0x466c2b=this[_0x4af558(0x228)](_0x242d00);if(_0x466c2b){if(null!=_0x242d00[_0x4af558(0x1f6)]){if(_0x1f0712[_0x4af558(0x227)](_0x242d00[_0x4af558(0x1f6)]))continue;_0x1f0712[_0x4af558(0x201)](_0x242d00[_0x4af558(0x1f6)]);}_0x5140ab[_0x4af558(0x1fc)](_0x466c2b);}else{if(_0x4af558(0x1f2)==_0x242d00[_0x4af558(0x1d8)]){const _0x3bad87=_0x242d00[_0x4af558(0x221)][_0x4af558(0x1dc)];if(_0x3a5c11[_0x4af558(0x227)](_0x3bad87))continue;_0x3a5c11[_0x4af558(0x201)](_0x242d00[_0x4af558(0x221)][_0x4af558(0x1dc)]),_0x3bad87==_0x9eb281?this[_0x4af558(0x205)](_0x5140ab,_0x242d00):this[_0x4af558(0x223)](_0x5140ab,_0x242d00);continue;}_0x4af558(0x21c)!=_0x242d00[_0x4af558(0x1d8)]&&_0x4af558(0x226)!=_0x242d00[_0x4af558(0x1d8)]||this[_0x4af558(0x222)](_0x5140ab,_0x242d00,_0x19b4fb[_0x31c992+0x1]);}}return this[_0x4af558(0x1e5)](_0x5140ab);}[_0xf67cec(0x1d7)](_0x1c12bd){const _0xf8453=_0xf67cec;this[_0xf8453(0x206)][_0xf8453(0x1fc)](_0x1c12bd);}[_0xf67cec(0x1d2)](_0x4cbf14,_0x1a6da1,_0x1159a7=_0x2b47f6[_0xf67cec(0x1e2)]){const _0x29557b=_0xf67cec;_0x29557b(0x21e)==typeof _0x4cbf14?_0x4d48d5(this[_0x29557b(0x1e1)],{'matchingCallback':_0x4cbf14,'label':_0x1a6da1,'priority':_0x1159a7}):this[_0x29557b(0x203)][_0x29557b(0x20f)](_0x4cbf14,_0x1a6da1);}[_0xf67cec(0x1d4)](_0x1a31e4,_0x171dc7){const _0xf70f79=_0xf67cec;this[_0xf70f79(0x1e9)][_0xf70f79(0x20f)](_0x1a31e4,_0x171dc7);}[_0xf67cec(0x21d)](_0x1eb311,_0x4f16a7=0x1){const _0x57d5c9=_0xf67cec;let _0x5bd5f7;for(const _0x481cf2 of this[_0x57d5c9(0x1e1)])if(_0x481cf2[_0x57d5c9(0x1dd)](_0x1eb311)){_0x5bd5f7=_0x481cf2[_0x57d5c9(0x1f9)];break;}return _0x5bd5f7||(_0x5bd5f7=this[_0x57d5c9(0x203)][_0x57d5c9(0x218)](_0x1eb311[_0x57d5c9(0x1ec)])),_0x5bd5f7?_0x5bd5f7(_0x4f16a7):0x1!==_0x4f16a7?_0x4f16a7+'\x20'+_0x1eb311[_0x57d5c9(0x1ec)]+'s':''+_0x1eb311[_0x57d5c9(0x1ec)];}[_0xf67cec(0x1d6)](_0x114ce2,_0x2b9688){const _0x2167db=_0xf67cec,_0x2f83d8=_0x2b9688[_0x2167db(0x1d0)]()[_0x2167db(0x1f3)](),_0x487508=_0x2167db(0x21c)==_0x2b9688[_0x2167db(0x1d8)]?_0x2167db(0x201):_0x2167db(0x1f7);for(const _0x58ef6b of _0x2f83d8){const _0x45f137=_0x58ef6b[_0x2167db(0x1da)],_0x2267b5=_0x114ce2[_0x114ce2[_0x2167db(0x224)]-0x1];if(_0x45f137['is'](_0x2167db(0x209)))_0x2267b5&&_0x2267b5[_0x2167db(0x1d8)][_0x2167db(0x22d)](_0x2167db(0x214))>-0x1&&_0x114ce2[_0x2167db(0x230)](),_0x2267b5&&_0x2167db(0x22c)==_0x2267b5[_0x2167db(0x1d8)]?_0x2267b5[_0x487508]+=_0x45f137[_0x2167db(0x221)]:_0x114ce2[_0x2167db(0x1fc)]({'type':_0x2167db(0x22c),'add':_0x2167db(0x201)==_0x487508?_0x45f137[_0x2167db(0x221)]:'','remove':_0x2167db(0x1f7)==_0x487508?_0x45f137[_0x2167db(0x221)]:''});else{if(this[_0x2167db(0x229)][_0x2167db(0x1ee)](_0x45f137)){const _0x74fe12=_0x45f137;if(_0x2267b5&&_0x2267b5[_0x2167db(0x1d8)][_0x2167db(0x22d)](_0x2167db(0x214))>-0x1&&_0x114ce2[_0x2167db(0x230)](),_0x2167db(0x1ea)==_0x58ef6b[_0x2167db(0x1d8)])continue;_0x2267b5&&_0x2267b5[_0x2167db(0x1d8)]==_0x487508+_0x2167db(0x20b)&&_0x2267b5[_0x2167db(0x22b)][_0x2167db(0x1ec)]==_0x74fe12[_0x2167db(0x1ec)]?_0x2267b5[_0x2167db(0x216)]++:_0x114ce2[_0x2167db(0x1fc)]({'type':_0x487508+_0x2167db(0x20b),'element':_0x74fe12,'quantity':0x1}),_0x2f83d8[_0x2167db(0x1e6)](_0x2bbd95=>!(_0x2167db(0x1ea)==_0x2bbd95[_0x2167db(0x1d8)]&&_0x2bbd95[_0x2167db(0x1da)]==_0x45f137));}else{if(this[_0x2167db(0x229)][_0x2167db(0x208)](_0x45f137,_0x2167db(0x210))||_0x45f137['is'](_0x2167db(0x22b),_0x2167db(0x1d1))){const _0x450f3c=_0x45f137;if(_0x2167db(0x201)==_0x487508&&_0x2167db(0x225)==_0x58ef6b[_0x2167db(0x1d8)]||_0x2167db(0x1f7)==_0x487508&&_0x2167db(0x1ea)==_0x58ef6b[_0x2167db(0x1d8)])continue;if(_0x2267b5&&-0x1==_0x2267b5[_0x2167db(0x1d8)][_0x2167db(0x22d)](_0x2167db(0x214))){_0x2167db(0x22c)==_0x2267b5[_0x2167db(0x1d8)]&&(_0x2267b5[_0x487508]+='\x0a');continue;}let _0x17a1b2;if(_0x17a1b2=_0x2167db(0x201)==_0x487508?_0x450f3c[_0x2167db(0x21a)]&&!this[_0x2167db(0x229)][_0x2167db(0x1ee)](_0x450f3c[_0x2167db(0x21a)])?_0x450f3c[_0x2167db(0x21a)]:null:_0x450f3c[_0x2167db(0x202)]&&!this[_0x2167db(0x229)][_0x2167db(0x1ee)](_0x450f3c[_0x2167db(0x202)])?_0x450f3c[_0x2167db(0x202)]:null,_0x450f3c[_0x2167db(0x1f1)]||_0x17a1b2&&_0x17a1b2[_0x2167db(0x1f1)]){const _0x569643=_0x17a1b2&&_0x17a1b2[_0x2167db(0x1f1)]?_0x17a1b2:_0x450f3c;_0x2267b5&&_0x2267b5[_0x2167db(0x1d8)]==_0x487508+_0x2167db(0x1e3)&&_0x2267b5[_0x2167db(0x22b)][_0x2167db(0x1ec)]==_0x569643[_0x2167db(0x1ec)]?_0x2267b5[_0x2167db(0x216)]++:_0x114ce2[_0x2167db(0x1fc)]({'type':_0x487508+_0x2167db(0x1e3),'element':_0x569643,'quantity':0x1});}else _0x114ce2[_0x2167db(0x1fc)]({'type':_0x487508+_0x2167db(0x214),'element':_0x450f3c});}}}}}[_0xf67cec(0x1e5)](_0x3ef8b6){const _0x59f931=_0xf67cec,_0x5400d3=this[_0x59f931(0x21f)],_0x5f0a69=[],_0x28fd34=[],_0x383ba2=[];for(const _0xd3a2de of _0x3ef8b6)switch(_0xd3a2de[_0x59f931(0x1d8)]){case _0x59f931(0x22c):if(_0xd3a2de[_0x59f931(0x201)]=_0xd3a2de[_0x59f931(0x201)][_0x59f931(0x20a)](/(\S)\u000A+(\S)/g,_0x59f931(0x217))[_0x59f931(0x20a)](/\u000A/g,''),_0xd3a2de[_0x59f931(0x1f7)]=_0xd3a2de[_0x59f931(0x1f7)][_0x59f931(0x20a)](/(\S)\u000A+(\S)/g,_0x59f931(0x217))[_0x59f931(0x20a)](/\u000A/g,''),''!=_0xd3a2de[_0x59f931(0x201)]&&''!=_0xd3a2de[_0x59f931(0x1f7)]){_0x5f0a69[_0x59f931(0x1fc)]({'type':_0x59f931(0x20a),'content':_0x389560(_0x5400d3,_0x59f931(0x212),['\x22'+_0xd3a2de[_0x59f931(0x1f7)]+'\x22','\x22'+_0xd3a2de[_0x59f931(0x201)]+'\x22'])});continue;}if(null!=_0xd3a2de[_0x59f931(0x201)][_0x59f931(0x20e)](/^ +$/)){_0x5f0a69[_0x59f931(0x1fc)]({'type':_0x59f931(0x21c),'content':_0x389560(_0x5400d3,_0x59f931(0x215),_0x389560(_0x5400d3,_0x59f931(0x22f),_0xd3a2de[_0x59f931(0x201)][_0x59f931(0x224)]))});continue;}if(null!=_0xd3a2de[_0x59f931(0x1f7)][_0x59f931(0x20e)](/^ +$/)){_0x5f0a69[_0x59f931(0x1fc)]({'type':_0x59f931(0x226),'content':_0x389560(_0x5400d3,_0x59f931(0x21b),_0x389560(_0x5400d3,_0x59f931(0x22f),_0xd3a2de[_0x59f931(0x1f7)][_0x59f931(0x224)]))});continue;}if(''!=_0xd3a2de[_0x59f931(0x201)]){_0x5f0a69[_0x59f931(0x1fc)]({'type':_0x59f931(0x21c),'content':_0x389560(_0x5400d3,_0x59f931(0x215),'\x22'+_0xd3a2de[_0x59f931(0x201)]+'\x22')});continue;}_0x5f0a69[_0x59f931(0x1fc)]({'type':_0x59f931(0x226),'content':_0x389560(_0x5400d3,_0x59f931(0x21b),'\x22'+_0xd3a2de[_0x59f931(0x1f7)]+'\x22')});continue;case _0x59f931(0x22a):case _0x59f931(0x1f8):_0x5f0a69[_0x59f931(0x1fc)]({'type':_0x59f931(0x21c),'content':_0x389560(_0x5400d3,_0x59f931(0x215),this[_0x59f931(0x21d)](_0xd3a2de[_0x59f931(0x22b)],_0xd3a2de[_0x59f931(0x216)]))});continue;case _0x59f931(0x1ed):case _0x59f931(0x1fb):_0x5f0a69[_0x59f931(0x1fc)]({'type':_0x59f931(0x226),'content':_0x389560(_0x5400d3,_0x59f931(0x21b),this[_0x59f931(0x21d)](_0xd3a2de[_0x59f931(0x22b)],_0xd3a2de[_0x59f931(0x216)]))});continue;case _0x59f931(0x200):_0x5f0a69[_0x59f931(0x1fc)]({'type':_0x59f931(0x21c),'content':_0x389560(_0x5400d3,_0x59f931(0x1d5),this[_0x59f931(0x21d)](_0xd3a2de[_0x59f931(0x22b)],_0xd3a2de[_0x59f931(0x216)]))});continue;case _0x59f931(0x1f0):_0x5f0a69[_0x59f931(0x1fc)]({'type':_0x59f931(0x226),'content':_0x389560(_0x5400d3,_0x59f931(0x207),this[_0x59f931(0x21d)](_0xd3a2de[_0x59f931(0x22b)],_0xd3a2de[_0x59f931(0x216)]))});continue;case _0x59f931(0x211):_0x28fd34[_0x59f931(0x1fc)](_0xd3a2de[_0x59f931(0x1dc)]);continue;case _0x59f931(0x1e8):_0x383ba2[_0x59f931(0x1fc)](_0xd3a2de[_0x59f931(0x1dc)]);continue;default:_0x5f0a69[_0x59f931(0x1fc)](_0xd3a2de);}if(_0x28fd34[_0x59f931(0x224)]){const _0x233a35=_0x28fd34[_0x59f931(0x1e0)](_0x45555f=>this[_0x59f931(0x1e9)][_0x59f931(0x227)](_0x45555f)?this[_0x59f931(0x1e9)][_0x59f931(0x218)](_0x45555f):_0x45555f)[_0x59f931(0x1de)](',\x20');_0x5f0a69[_0x59f931(0x1fc)]({'type':_0x59f931(0x1db),'content':_0x389560(this[_0x59f931(0x21f)],_0x59f931(0x1fe),_0x233a35)});}if(_0x383ba2[_0x59f931(0x224)]){const _0x27e817=_0x383ba2[_0x59f931(0x1e0)](_0x4981e0=>this[_0x59f931(0x1e9)][_0x59f931(0x227)](_0x4981e0)?this[_0x59f931(0x1e9)][_0x59f931(0x218)](_0x4981e0):_0x4981e0)[_0x59f931(0x1de)](',\x20');_0x5f0a69[_0x59f931(0x1fc)]({'type':_0x59f931(0x1db),'content':_0x389560(this[_0x59f931(0x21f)],_0x59f931(0x1e7),_0x27e817)});}return _0x5f0a69;}[_0xf67cec(0x228)](_0xee22db){const _0x139d87=_0xf67cec;for(const _0x53a13a of this[_0x139d87(0x206)]){const _0xb0ca26=_0x53a13a(_0xee22db);if(_0xb0ca26&&_0x139d87(0x1d8)in _0xb0ca26)return _0xb0ca26;}}[_0xf67cec(0x223)](_0x48c126,_0x5e9289){const _0x48795a=_0xf67cec,_0x189886=_0x5e9289[_0x48795a(0x221)],_0x5112c6=void 0x0===_0x189886[_0x48795a(0x1eb)]?_0x48795a(0x1e8):_0x48795a(0x211);_0x48c126[_0x48795a(0x1fc)]({'type':_0x5112c6,'key':_0x189886[_0x48795a(0x1dc)]});}[_0xf67cec(0x205)](_0x1c624f,_0x4db72d){const _0x3b7a85=_0xf67cec;_0x1c624f[_0x3b7a85(0x1fc)]({'type':_0x3b7a85(0x1db),'content':_0x389560(this[_0x3b7a85(0x21f)],_0x3b7a85(0x20c),this[_0x3b7a85(0x21d)](_0x4db72d[_0x3b7a85(0x1d0)]()[_0x3b7a85(0x1e4)][_0x3b7a85(0x1fa)],0x1))});}[_0xf67cec(0x222)](_0x57e4da,_0x38c012,_0x458905){const _0xd9615=_0xf67cec;if(this[_0xd9615(0x1d6)](_0x57e4da,_0x38c012),_0x458905&&_0x458905[_0xd9615(0x1d0)]()&&!_0x38c012[_0xd9615(0x1d0)]()[_0xd9615(0x1d3)][_0xd9615(0x204)](_0x458905[_0xd9615(0x1d0)]()[_0xd9615(0x1e4)])){const _0x292829=_0x57e4da[_0x57e4da[_0xd9615(0x224)]-0x1],_0xa3a03b=_0xd9615(0x21c)==_0x38c012[_0xd9615(0x1d8)]?_0xd9615(0x201):_0xd9615(0x1f7);_0x292829&&_0xd9615(0x22c)==_0x292829[_0xd9615(0x1d8)]&&(_0x292829[_0xa3a03b]+='\x0a');}}}
|
|
23
|
+
const _0x39a643=_0x15b0;function _0x15b0(_0x5d9bc3,_0x41e7df){const _0x1d7604=_0x1d76();return _0x15b0=function(_0x15b0fd,_0x446a9a){_0x15b0fd=_0x15b0fd-0x1d6;let _0x39be1b=_0x1d7604[_0x15b0fd];return _0x39be1b;},_0x15b0(_0x5d9bc3,_0x41e7df);}function _0x1d76(){const _0x283973=['start','softBreak','14649767WkkVPQ','*Split:*\x20%0','removeFormat','pop','add','12YKxVYe','checkChild','skip','map','_customCallbacks','32101KevZcJ','addContainer','registerElementLabel','removeObject','has','_addDescriptionItems','nextSibling','label','isEqual','elementEnd','data','isInContent','name','16BIZkwF','join','_handleCustomCallbackDescription','12KOPCJm','_locale','end','$textProxy','1250757WBdFbR','remove','_handleInsertRemoveSuggestionDescription','registerDescriptionCallback','366WxnjpR','quantity','*Set\x20format:*\x20%0','getWalker','nodeAfter','_attributeLabels','EmptyContainer','_itemLabels','REPLACE_TEXT','format','isEmpty','_schema','isObject','replace','5125dUlFQt','elementStart','5287926fATXUB','length','940948jlkdSL','addEmptyContainer','ELEMENT_SPACE','*Remove\x20format:*\x20%0','type','element','push','attribute','addFormat','normal','*Insert:*\x20%0','_itemLabelsCallbacks','2qivLvr','function','$1\x20$2','*Change\x20to:*\x20%0','newValue','$text','addObject','item','text','registerAttributeLabel','match','removeEmptyContainer','*Remove:*\x20%0','6501810WRnklL','removeContainer','get','matchingCallback','set','getItemLabel','Container','_handleRenameSuggestionDescription','indexOf','*Merge:*\x20%0','previousSibling','key','_handleAttributeSuggestionDescription','getFirstRange','deletion','insertion','Object','getDescriptions','subType','_resolveDescriptionItems'];_0x1d76=function(){return _0x283973;};return _0x1d76();}(function(_0x349da1,_0xea6b9){const _0x1a175c=_0x15b0,_0x487041=_0x349da1();while(!![]){try{const _0x2b64dd=-parseInt(_0x1a175c(0x214))/0x1*(parseInt(_0x1a175c(0x1e7))/0x2)+-parseInt(_0x1a175c(0x20f))/0x3*(-parseInt(_0x1a175c(0x1db))/0x4)+-parseInt(_0x1a175c(0x1d7))/0x5*(parseInt(_0x1a175c(0x22c))/0x6)+-parseInt(_0x1a175c(0x1d9))/0x7+-parseInt(_0x1a175c(0x221))/0x8*(parseInt(_0x1a175c(0x228))/0x9)+-parseInt(_0x1a175c(0x1f4))/0xa+parseInt(_0x1a175c(0x20a))/0xb*(parseInt(_0x1a175c(0x224))/0xc);if(_0x2b64dd===_0xea6b9)break;else _0x487041['push'](_0x487041['shift']());}catch(_0x5b1b02){_0x487041['push'](_0x487041['shift']());}}}(_0x1d76,0x78bee));import{getTranslation as _0x446ead}from'./utils/common-translations.js';import{priorities as _0x44ff51,insertToPriorityArray as _0x10ead8}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x3dc1fb}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x39a643(0x213)];[_0x39a643(0x233)];[_0x39a643(0x1e6)];[_0x39a643(0x231)];[_0x39a643(0x237)];[_0x39a643(0x225)];constructor(_0x4b8235,_0x4bf85e){const _0x44c823=_0x39a643;this[_0x44c823(0x213)]=[],this[_0x44c823(0x233)]=new Map(),this[_0x44c823(0x1e6)]=[],this[_0x44c823(0x231)]=new Map(),this[_0x44c823(0x237)]=_0x4b8235,this[_0x44c823(0x225)]=_0x4bf85e;}[_0x39a643(0x205)](_0x4254b9){const _0x458728=_0x39a643,_0x15f213=[],_0x1f0c56=new Set(),_0x2150b3=new Set();for(let _0x518be5=0x0;_0x518be5<_0x4254b9[_0x458728(0x1da)];_0x518be5++){const _0x573d9b=_0x4254b9[_0x518be5];if(!_0x573d9b[_0x458728(0x21f)])continue;const _0x510d34=this[_0x458728(0x223)](_0x573d9b);if(_0x510d34){if(null!=_0x573d9b[_0x458728(0x206)]){if(_0x1f0c56[_0x458728(0x218)](_0x573d9b[_0x458728(0x206)]))continue;_0x1f0c56[_0x458728(0x20e)](_0x573d9b[_0x458728(0x206)]);}_0x15f213[_0x458728(0x1e1)](_0x510d34);}else{if(_0x458728(0x1e2)==_0x573d9b[_0x458728(0x1df)]){const _0xe83a42=_0x573d9b[_0x458728(0x21e)][_0x458728(0x1ff)];if(_0x2150b3[_0x458728(0x218)](_0xe83a42))continue;_0x2150b3[_0x458728(0x20e)](_0x573d9b[_0x458728(0x21e)][_0x458728(0x1ff)]),_0xe83a42==_0x3dc1fb?this[_0x458728(0x1fb)](_0x15f213,_0x573d9b):this[_0x458728(0x200)](_0x15f213,_0x573d9b);continue;}_0x458728(0x203)!=_0x573d9b[_0x458728(0x1df)]&&_0x458728(0x202)!=_0x573d9b[_0x458728(0x1df)]||this[_0x458728(0x22a)](_0x15f213,_0x573d9b,_0x4254b9[_0x518be5+0x1]);}}return this[_0x458728(0x207)](_0x15f213);}[_0x39a643(0x22b)](_0x21f384){const _0x7dd37d=_0x39a643;this[_0x7dd37d(0x213)][_0x7dd37d(0x1e1)](_0x21f384);}[_0x39a643(0x216)](_0x1efd61,_0x4b7581,_0x43b930=_0x44ff51[_0x39a643(0x1e4)]){const _0x33fbe4=_0x39a643;_0x33fbe4(0x1e8)==typeof _0x1efd61?_0x10ead8(this[_0x33fbe4(0x1e6)],{'matchingCallback':_0x1efd61,'label':_0x4b7581,'priority':_0x43b930}):this[_0x33fbe4(0x233)][_0x33fbe4(0x1f8)](_0x1efd61,_0x4b7581);}[_0x39a643(0x1f0)](_0x5467ab,_0x1b15db){const _0x5ca01d=_0x39a643;this[_0x5ca01d(0x231)][_0x5ca01d(0x1f8)](_0x5467ab,_0x1b15db);}[_0x39a643(0x1f9)](_0x4f8135,_0x28bd13=0x1){const _0x560ad0=_0x39a643;let _0x4fe345;for(const _0x45d879 of this[_0x560ad0(0x1e6)])if(_0x45d879[_0x560ad0(0x1f7)](_0x4f8135)){_0x4fe345=_0x45d879[_0x560ad0(0x21b)];break;}return _0x4fe345||(_0x4fe345=this[_0x560ad0(0x233)][_0x560ad0(0x1f6)](_0x4f8135[_0x560ad0(0x220)])),_0x4fe345?_0x4fe345(_0x28bd13):0x1!==_0x28bd13?_0x28bd13+'\x20'+_0x4f8135[_0x560ad0(0x220)]+'s':''+_0x4f8135[_0x560ad0(0x220)];}[_0x39a643(0x219)](_0x1a2b9c,_0x5bedc4){const _0x1e0abf=_0x39a643,_0x48aa99=_0x5bedc4[_0x1e0abf(0x201)]()[_0x1e0abf(0x22f)](),_0x4d04b2=_0x1e0abf(0x203)==_0x5bedc4[_0x1e0abf(0x1df)]?_0x1e0abf(0x20e):_0x1e0abf(0x229);for(const _0x87870b of _0x48aa99){const _0x1df14a=_0x87870b[_0x1e0abf(0x1ee)],_0x3217e4=_0x1a2b9c[_0x1a2b9c[_0x1e0abf(0x1da)]-0x1];if(_0x1df14a['is'](_0x1e0abf(0x227)))_0x3217e4&&_0x3217e4[_0x1e0abf(0x1df)][_0x1e0abf(0x1fc)](_0x1e0abf(0x1fa))>-0x1&&_0x1a2b9c[_0x1e0abf(0x20d)](),_0x3217e4&&_0x1e0abf(0x1ef)==_0x3217e4[_0x1e0abf(0x1df)]?_0x3217e4[_0x4d04b2]+=_0x1df14a[_0x1e0abf(0x21e)]:_0x1a2b9c[_0x1e0abf(0x1e1)]({'type':_0x1e0abf(0x1ef),'add':_0x1e0abf(0x20e)==_0x4d04b2?_0x1df14a[_0x1e0abf(0x21e)]:'','remove':_0x1e0abf(0x229)==_0x4d04b2?_0x1df14a[_0x1e0abf(0x21e)]:''});else{if(this[_0x1e0abf(0x237)][_0x1e0abf(0x238)](_0x1df14a)){const _0x1f2762=_0x1df14a;if(_0x3217e4&&_0x3217e4[_0x1e0abf(0x1df)][_0x1e0abf(0x1fc)](_0x1e0abf(0x1fa))>-0x1&&_0x1a2b9c[_0x1e0abf(0x20d)](),_0x1e0abf(0x21d)==_0x87870b[_0x1e0abf(0x1df)])continue;_0x3217e4&&_0x3217e4[_0x1e0abf(0x1df)]==_0x4d04b2+_0x1e0abf(0x204)&&_0x3217e4[_0x1e0abf(0x1e0)][_0x1e0abf(0x220)]==_0x1f2762[_0x1e0abf(0x220)]?_0x3217e4[_0x1e0abf(0x22d)]++:_0x1a2b9c[_0x1e0abf(0x1e1)]({'type':_0x4d04b2+_0x1e0abf(0x204),'element':_0x1f2762,'quantity':0x1}),_0x48aa99[_0x1e0abf(0x211)](_0x182774=>!(_0x1e0abf(0x21d)==_0x182774[_0x1e0abf(0x1df)]&&_0x182774[_0x1e0abf(0x1ee)]==_0x1df14a));}else{if(this[_0x1e0abf(0x237)][_0x1e0abf(0x210)](_0x1df14a,_0x1e0abf(0x1ec))||_0x1df14a['is'](_0x1e0abf(0x1e0),_0x1e0abf(0x209))){const _0x2bc521=_0x1df14a;if(_0x1e0abf(0x20e)==_0x4d04b2&&_0x1e0abf(0x1d8)==_0x87870b[_0x1e0abf(0x1df)]||_0x1e0abf(0x229)==_0x4d04b2&&_0x1e0abf(0x21d)==_0x87870b[_0x1e0abf(0x1df)])continue;if(_0x3217e4&&-0x1==_0x3217e4[_0x1e0abf(0x1df)][_0x1e0abf(0x1fc)](_0x1e0abf(0x1fa))){_0x1e0abf(0x1ef)==_0x3217e4[_0x1e0abf(0x1df)]&&(_0x3217e4[_0x4d04b2]+='\x0a');continue;}let _0x154b62;if(_0x154b62=_0x1e0abf(0x20e)==_0x4d04b2?_0x2bc521[_0x1e0abf(0x21a)]&&!this[_0x1e0abf(0x237)][_0x1e0abf(0x238)](_0x2bc521[_0x1e0abf(0x21a)])?_0x2bc521[_0x1e0abf(0x21a)]:null:_0x2bc521[_0x1e0abf(0x1fe)]&&!this[_0x1e0abf(0x237)][_0x1e0abf(0x238)](_0x2bc521[_0x1e0abf(0x1fe)])?_0x2bc521[_0x1e0abf(0x1fe)]:null,_0x2bc521[_0x1e0abf(0x236)]||_0x154b62&&_0x154b62[_0x1e0abf(0x236)]){const _0xfa0a47=_0x154b62&&_0x154b62[_0x1e0abf(0x236)]?_0x154b62:_0x2bc521;_0x3217e4&&_0x3217e4[_0x1e0abf(0x1df)]==_0x4d04b2+_0x1e0abf(0x232)&&_0x3217e4[_0x1e0abf(0x1e0)][_0x1e0abf(0x220)]==_0xfa0a47[_0x1e0abf(0x220)]?_0x3217e4[_0x1e0abf(0x22d)]++:_0x1a2b9c[_0x1e0abf(0x1e1)]({'type':_0x4d04b2+_0x1e0abf(0x232),'element':_0xfa0a47,'quantity':0x1});}else _0x1a2b9c[_0x1e0abf(0x1e1)]({'type':_0x4d04b2+_0x1e0abf(0x1fa),'element':_0x2bc521});}}}}}[_0x39a643(0x207)](_0x29a1ed){const _0x351fe9=_0x39a643,_0x3e8fdd=this[_0x351fe9(0x225)],_0x358ff1=[],_0x14027c=[],_0x594fbe=[];for(const _0x5325ea of _0x29a1ed)switch(_0x5325ea[_0x351fe9(0x1df)]){case _0x351fe9(0x1ef):if(_0x5325ea[_0x351fe9(0x20e)]=_0x5325ea[_0x351fe9(0x20e)][_0x351fe9(0x1d6)](/(\S)\u000A+(\S)/g,_0x351fe9(0x1e9))[_0x351fe9(0x1d6)](/\u000A/g,''),_0x5325ea[_0x351fe9(0x229)]=_0x5325ea[_0x351fe9(0x229)][_0x351fe9(0x1d6)](/(\S)\u000A+(\S)/g,_0x351fe9(0x1e9))[_0x351fe9(0x1d6)](/\u000A/g,''),''!=_0x5325ea[_0x351fe9(0x20e)]&&''!=_0x5325ea[_0x351fe9(0x229)]){_0x358ff1[_0x351fe9(0x1e1)]({'type':_0x351fe9(0x1d6),'content':_0x446ead(_0x3e8fdd,_0x351fe9(0x234),['\x22'+_0x5325ea[_0x351fe9(0x229)]+'\x22','\x22'+_0x5325ea[_0x351fe9(0x20e)]+'\x22'])});continue;}if(null!=_0x5325ea[_0x351fe9(0x20e)][_0x351fe9(0x1f1)](/^ +$/)){_0x358ff1[_0x351fe9(0x1e1)]({'type':_0x351fe9(0x203),'content':_0x446ead(_0x3e8fdd,_0x351fe9(0x1e5),_0x446ead(_0x3e8fdd,_0x351fe9(0x1dd),_0x5325ea[_0x351fe9(0x20e)][_0x351fe9(0x1da)]))});continue;}if(null!=_0x5325ea[_0x351fe9(0x229)][_0x351fe9(0x1f1)](/^ +$/)){_0x358ff1[_0x351fe9(0x1e1)]({'type':_0x351fe9(0x202),'content':_0x446ead(_0x3e8fdd,_0x351fe9(0x1f3),_0x446ead(_0x3e8fdd,_0x351fe9(0x1dd),_0x5325ea[_0x351fe9(0x229)][_0x351fe9(0x1da)]))});continue;}if(''!=_0x5325ea[_0x351fe9(0x20e)]){_0x358ff1[_0x351fe9(0x1e1)]({'type':_0x351fe9(0x203),'content':_0x446ead(_0x3e8fdd,_0x351fe9(0x1e5),'\x22'+_0x5325ea[_0x351fe9(0x20e)]+'\x22')});continue;}_0x358ff1[_0x351fe9(0x1e1)]({'type':_0x351fe9(0x202),'content':_0x446ead(_0x3e8fdd,_0x351fe9(0x1f3),'\x22'+_0x5325ea[_0x351fe9(0x229)]+'\x22')});continue;case _0x351fe9(0x1dc):case _0x351fe9(0x1ed):_0x358ff1[_0x351fe9(0x1e1)]({'type':_0x351fe9(0x203),'content':_0x446ead(_0x3e8fdd,_0x351fe9(0x1e5),this[_0x351fe9(0x1f9)](_0x5325ea[_0x351fe9(0x1e0)],_0x5325ea[_0x351fe9(0x22d)]))});continue;case _0x351fe9(0x1f2):case _0x351fe9(0x217):_0x358ff1[_0x351fe9(0x1e1)]({'type':_0x351fe9(0x202),'content':_0x446ead(_0x3e8fdd,_0x351fe9(0x1f3),this[_0x351fe9(0x1f9)](_0x5325ea[_0x351fe9(0x1e0)],_0x5325ea[_0x351fe9(0x22d)]))});continue;case _0x351fe9(0x215):_0x358ff1[_0x351fe9(0x1e1)]({'type':_0x351fe9(0x203),'content':_0x446ead(_0x3e8fdd,_0x351fe9(0x20b),this[_0x351fe9(0x1f9)](_0x5325ea[_0x351fe9(0x1e0)],_0x5325ea[_0x351fe9(0x22d)]))});continue;case _0x351fe9(0x1f5):_0x358ff1[_0x351fe9(0x1e1)]({'type':_0x351fe9(0x202),'content':_0x446ead(_0x3e8fdd,_0x351fe9(0x1fd),this[_0x351fe9(0x1f9)](_0x5325ea[_0x351fe9(0x1e0)],_0x5325ea[_0x351fe9(0x22d)]))});continue;case _0x351fe9(0x1e3):_0x14027c[_0x351fe9(0x1e1)](_0x5325ea[_0x351fe9(0x1ff)]);continue;case _0x351fe9(0x20c):_0x594fbe[_0x351fe9(0x1e1)](_0x5325ea[_0x351fe9(0x1ff)]);continue;default:_0x358ff1[_0x351fe9(0x1e1)](_0x5325ea);}if(_0x14027c[_0x351fe9(0x1da)]){const _0x3a7402=_0x14027c[_0x351fe9(0x212)](_0x1bf840=>this[_0x351fe9(0x231)][_0x351fe9(0x218)](_0x1bf840)?this[_0x351fe9(0x231)][_0x351fe9(0x1f6)](_0x1bf840):_0x1bf840)[_0x351fe9(0x222)](',\x20');_0x358ff1[_0x351fe9(0x1e1)]({'type':_0x351fe9(0x235),'content':_0x446ead(this[_0x351fe9(0x225)],_0x351fe9(0x22e),_0x3a7402)});}if(_0x594fbe[_0x351fe9(0x1da)]){const _0x2a74bf=_0x594fbe[_0x351fe9(0x212)](_0x47a89f=>this[_0x351fe9(0x231)][_0x351fe9(0x218)](_0x47a89f)?this[_0x351fe9(0x231)][_0x351fe9(0x1f6)](_0x47a89f):_0x47a89f)[_0x351fe9(0x222)](',\x20');_0x358ff1[_0x351fe9(0x1e1)]({'type':_0x351fe9(0x235),'content':_0x446ead(this[_0x351fe9(0x225)],_0x351fe9(0x1de),_0x2a74bf)});}return _0x358ff1;}[_0x39a643(0x223)](_0x329c95){const _0x4a3774=_0x39a643;for(const _0x3d6ad7 of this[_0x4a3774(0x213)]){const _0x2716b7=_0x3d6ad7(_0x329c95);if(_0x2716b7&&_0x4a3774(0x1df)in _0x2716b7)return _0x2716b7;}}[_0x39a643(0x200)](_0x382316,_0x35e683){const _0x1d13dc=_0x39a643,_0x1cf46c=_0x35e683[_0x1d13dc(0x21e)],_0x1aaaba=void 0x0===_0x1cf46c[_0x1d13dc(0x1eb)]?_0x1d13dc(0x20c):_0x1d13dc(0x1e3);_0x382316[_0x1d13dc(0x1e1)]({'type':_0x1aaaba,'key':_0x1cf46c[_0x1d13dc(0x1ff)]});}[_0x39a643(0x1fb)](_0x1c152d,_0x4920f5){const _0x11a15f=_0x39a643;_0x1c152d[_0x11a15f(0x1e1)]({'type':_0x11a15f(0x235),'content':_0x446ead(this[_0x11a15f(0x225)],_0x11a15f(0x1ea),this[_0x11a15f(0x1f9)](_0x4920f5[_0x11a15f(0x201)]()[_0x11a15f(0x208)][_0x11a15f(0x230)],0x1))});}[_0x39a643(0x22a)](_0x265cd3,_0xf12618,_0x106f63){const _0x581f33=_0x39a643;if(this[_0x581f33(0x219)](_0x265cd3,_0xf12618),_0x106f63&&_0x106f63[_0x581f33(0x201)]()&&!_0xf12618[_0x581f33(0x201)]()[_0x581f33(0x226)][_0x581f33(0x21c)](_0x106f63[_0x581f33(0x201)]()[_0x581f33(0x208)])){const _0x6e9a04=_0x265cd3[_0x265cd3[_0x581f33(0x1da)]-0x1],_0xe846d2=_0x581f33(0x203)==_0xf12618[_0x581f33(0x1df)]?_0x581f33(0x20e):_0x581f33(0x229);_0x6e9a04&&_0x581f33(0x1ef)==_0x6e9a04[_0x581f33(0x1df)]&&(_0x6e9a04[_0xe846d2]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x577219=_0x1a2e;function _0x7e53(){var _0x369a08=['adapter','addSuggestionData','4484mnCofO','addSuggestion','plugins','208Ilnbqz','getSuggestion','isPremiumPlugin','232330vhrgHJ','get','TrackChanges','editor','3592460aVmMTG','getSuggestions','pluginName','2601823ugPQrH','10LauAHM','requires','579LIoXgA','923934GGYwnR','isOfficialPlugin','656538kDxNCI','66087QgFWOv','Comments'];_0x7e53=function(){return _0x369a08;};return _0x7e53();}(function(_0x1a2d03,_0x585d68){var _0x88825e=_0x1a2e,_0x25ef8f=_0x1a2d03();while(!![]){try{var _0x1d1da2=parseInt(_0x88825e(0x1d1))/0x1+-parseInt(_0x88825e(0x1c4))/0x2+-parseInt(_0x88825e(0x1c3))/0x3*(parseInt(_0x88825e(0x1cb))/0x4)+-parseInt(_0x88825e(0x1c1))/0x5*(parseInt(_0x88825e(0x1c6))/0x6)+parseInt(_0x88825e(0x1c0))/0x7+parseInt(_0x88825e(0x1ce))/0x8*(parseInt(_0x88825e(0x1c7))/0x9)+parseInt(_0x88825e(0x1d5))/0xa;if(_0x1d1da2===_0x585d68)break;else _0x25ef8f['push'](_0x25ef8f['shift']());}catch(_0x4d3876){_0x25ef8f['push'](_0x25ef8f['shift']());}}}(_0x7e53,0x3ebf9));import{Plugin as _0x5bd8a6}from'ckeditor5/src/core.js';import{TrackChangesUI as _0x1c3b9e}from'./trackchangesui.js';import{TrackChangesEditing as _0x47b966}from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x1a2e(_0x234393,_0x2ab6b8){var _0x7e53d9=_0x7e53();return _0x1a2e=function(_0x1a2eaa,_0x5179f2){_0x1a2eaa=_0x1a2eaa-0x1be;var _0xe6b74a=_0x7e53d9[_0x1a2eaa];return _0xe6b74a;},_0x1a2e(_0x234393,_0x2ab6b8);}export class TrackChanges extends _0x5bd8a6{static get[_0x577219(0x1c2)](){var _0x5e1c5e=_0x577219;return[_0x47b966,_0x1c3b9e,_0x5e1c5e(0x1c8)];}static get[_0x577219(0x1bf)](){var _0x4fb848=_0x577219;return _0x4fb848(0x1d3);}static get[_0x577219(0x1c5)](){return!0x0;}static get[_0x577219(0x1d0)](){return!0x0;}set[_0x577219(0x1c9)](_0x5e2459){var _0xf79d3e=_0x577219;this[_0xf79d3e(0x1d4)][_0xf79d3e(0x1cd)][_0xf79d3e(0x1d2)](_0x47b966)[_0xf79d3e(0x1c9)]=_0x5e2459;}get[_0x577219(0x1c9)](){var _0x7f1cf1=_0x577219;return this[_0x7f1cf1(0x1d4)][_0x7f1cf1(0x1cd)][_0x7f1cf1(0x1d2)](_0x47b966)[_0x7f1cf1(0x1c9)];}[_0x577219(0x1cc)](_0x1249a0){var _0x4c3497=_0x577219;return this[_0x4c3497(0x1d4)][_0x4c3497(0x1cd)][_0x4c3497(0x1d2)](_0x47b966)[_0x4c3497(0x1ca)](_0x1249a0);}[_0x577219(0x1be)]({skipNotAttached:_0xe03146=!0x1,toJSON:_0xb1417e=!0x1}={}){var _0x36954c=_0x577219;return this[_0x36954c(0x1d4)][_0x36954c(0x1cd)][_0x36954c(0x1d2)](_0x47b966)[_0x36954c(0x1be)]({'skipNotAttached':_0xe03146,'toJSON':_0xb1417e});}[_0x577219(0x1cf)](_0x2a617f){var _0x146dd3=_0x577219;return this[_0x146dd3(0x1d4)][_0x146dd3(0x1cd)][_0x146dd3(0x1d2)](_0x47b966)[_0x146dd3(0x1cf)](_0x2a617f);}}
|