@ckeditor/ckeditor5-ai 47.3.0-alpha.1 → 47.3.0-alpha.2
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/ai.js +1 -1
- package/dist/index-editor.css +0 -4
- package/dist/index.css +0 -4
- package/dist/index.js +5 -5
- 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 +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/theme/aiquickactions/aiquickactions.css +0 -4
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x58ec(_0x2aeee5,_0x117cea){const _0x54b80d=_0x54b8();return _0x58ec=function(_0x58ec8f,_0x9668db){_0x58ec8f=_0x58ec8f-0xac;let _0x320b25=_0x54b80d[_0x58ec8f];return _0x320b25;},_0x58ec(_0x2aeee5,_0x117cea);}(function(_0x4fea3f,_0x100c75){const _0xd07fd4=_0x58ec,_0x49d42d=_0x4fea3f();while(!![]){try{const _0x1fafc5=-parseInt(_0xd07fd4(0xc1))/0x1+-parseInt(_0xd07fd4(0xae))/0x2+parseInt(_0xd07fd4(0xbd))/0x3*(parseInt(_0xd07fd4(0xbf))/0x4)+-parseInt(_0xd07fd4(0xb6))/0x5*(-parseInt(_0xd07fd4(0xb4))/0x6)+-parseInt(_0xd07fd4(0xbc))/0x7*(parseInt(_0xd07fd4(0xb0))/0x8)+parseInt(_0xd07fd4(0xac))/0x9*(-parseInt(_0xd07fd4(0xbb))/0xa)+parseInt(_0xd07fd4(0xb2))/0xb;if(_0x1fafc5===_0x100c75)break;else _0x49d42d['push'](_0x49d42d['shift']());}catch(_0x57af69){_0x49d42d['push'](_0x49d42d['shift']());}}}(_0x54b8,0xd8012));import{ButtonView as _0xdafc55}from'ckeditor5/src/ui.js';function _0x54b8(){const _0x36f4b5=['1345306AmnSeX','icon','13358331DmpRRc','resizeTabs','2329886kcLJiQ','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','6056KEcAwi','isOn','48652857AGGKaK','AI_TABS_LABEL_MINIMIZE','41124SOBnpt','label','295cCitfd','fire','AI_TABS_LABEL_MAXIMIZE','execute','set','10vMJPqK','7483gdHwRR','2583366MUmJdk','bind','4tjsJUk','isMaximized'];_0x54b8=function(){return _0x36f4b5;};return _0x54b8();}import{IconMaximize as _0xe16b4e,IconMinimize as _0x583475}from'ckeditor5/src/icons.js';import{getTranslation as _0xf01f81}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x40f66c,_0x17ca6a){const _0x34f337=_0x58ec,_0x5e4323=new _0xdafc55(_0x40f66c),_0x572a79=_0xf01f81(_0x40f66c,_0x34f337(0xb3)),_0x2af796=_0xf01f81(_0x40f66c,_0x34f337(0xb8));return _0x5e4323[_0x34f337(0xba)]({'withText':!0x1,'icon':_0xe16b4e,'tooltip':!0x0,'class':_0x34f337(0xaf)}),_0x5e4323[_0x34f337(0xbe)](_0x34f337(0xb5))['to'](_0x17ca6a,_0x34f337(0xc0),_0x5d94dc=>_0x5d94dc?_0x572a79:_0x2af796),_0x5e4323[_0x34f337(0xbe)](_0x34f337(0xc2))['to'](_0x17ca6a,_0x34f337(0xc0),_0x156fa7=>_0x156fa7?_0x583475:_0xe16b4e),_0x5e4323[_0x34f337(0xbe)](_0x34f337(0xb1))['to'](_0x17ca6a,_0x34f337(0xc0)),_0x5e4323['on'](_0x34f337(0xb9),()=>{const _0x4bae99=_0x34f337;_0x17ca6a[_0x4bae99(0xb7)](_0x4bae99(0xad));}),_0x5e4323;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x284d(_0x40c840,_0x193622){const _0x5b9804=_0x5b98();return _0x284d=function(_0x284db6,_0x4c9c45){_0x284db6=_0x284db6-0x141;let _0x538b10=_0x5b9804[_0x284db6];return _0x538b10;},_0x284d(_0x40c840,_0x193622);}const _0x3dd021=_0x284d;(function(_0x345a24,_0x66f06e){const _0x39af18=_0x284d,_0x21551e=_0x345a24();while(!![]){try{const _0x208acf=parseInt(_0x39af18(0x145))/0x1+-parseInt(_0x39af18(0x143))/0x2*(-parseInt(_0x39af18(0x147))/0x3)+parseInt(_0x39af18(0x158))/0x4+parseInt(_0x39af18(0x14a))/0x5+parseInt(_0x39af18(0x15b))/0x6*(parseInt(_0x39af18(0x15c))/0x7)+-parseInt(_0x39af18(0x14c))/0x8+parseInt(_0x39af18(0x14f))/0x9*(-parseInt(_0x39af18(0x149))/0xa);if(_0x208acf===_0x66f06e)break;else _0x21551e['push'](_0x21551e['shift']());}catch(_0x2f3e44){_0x21551e['push'](_0x21551e['shift']());}}}(_0x5b98,0x60c7c));import{CKEditorError as _0x17a5d1,compareArrays as _0x5e9f7e}from'ckeditor5/src/utils.js';import{getNodePath as _0x383cf6,isText as _0x1e4d3c,getChildren as _0x428b6a,isDocument as _0x13bbfd,getParent as _0x5b5ed9,textContent as _0x479d8a,hasChildren as _0x31b8c2}from'./htmlparser.js';export class DocumentPosition{[_0x3dd021(0x159)];[_0x3dd021(0x15a)];[_0x3dd021(0x160)];constructor(_0x50c435,_0x39b474,_0x269b0e){const _0x4f1867=_0x3dd021;if(_0x1e4d3c(_0x39b474)&&_0x269b0e>_0x39b474[_0x4f1867(0x153)][_0x4f1867(0x142)])throw new _0x17a5d1(_0x4f1867(0x161),null,{'index':_0x269b0e,'parent':_0x39b474});if(_0x31b8c2(_0x39b474)&&_0x269b0e>_0x428b6a(_0x39b474)[_0x4f1867(0x142)])throw new _0x17a5d1(_0x4f1867(0x161),null,{'index':_0x269b0e,'parent':_0x39b474});if(_0x269b0e<0x0)throw new _0x17a5d1(_0x4f1867(0x161),null,{'index':_0x269b0e,'parent':_0x39b474});this[_0x4f1867(0x159)]=_0x39b474,this[_0x4f1867(0x15a)]=_0x269b0e,this[_0x4f1867(0x160)]=_0x50c435;}get[_0x3dd021(0x155)](){const _0x5cc18d=_0x3dd021;return[..._0x383cf6(this[_0x5cc18d(0x159)]),this[_0x5cc18d(0x15a)]];}[_0x3dd021(0x148)](_0x4c4e24){const _0x4c557b=_0x3dd021;return this[_0x4c557b(0x160)]==_0x4c4e24[_0x4c557b(0x160)]&&_0x4c557b(0x154)===_0x5e9f7e(this[_0x4c557b(0x155)],_0x4c4e24[_0x4c557b(0x155)]);}get[_0x3dd021(0x14b)](){const _0x15140d=_0x3dd021;if(_0x31b8c2(this[_0x15140d(0x159)])){const _0x145da2=_0x428b6a(this[_0x15140d(0x159)])[this[_0x15140d(0x15a)]];if(_0x145da2)return _0x145da2;{const _0x5d284f=DocumentPosition[_0x15140d(0x150)](this[_0x15140d(0x160)],this[_0x15140d(0x159)]);if(_0x5d284f)return _0x5d284f[_0x15140d(0x14b)];}}return null;}get[_0x3dd021(0x146)](){const _0x50f157=_0x3dd021;if(_0x31b8c2(this[_0x50f157(0x159)])){const _0x1b3d15=_0x428b6a(this[_0x50f157(0x159)])[this[_0x50f157(0x15a)]-0x1];if(_0x1b3d15)return _0x1b3d15;{const _0x29d34a=DocumentPosition[_0x50f157(0x15e)](this[_0x50f157(0x160)],this[_0x50f157(0x159)]);if(_0x29d34a)return _0x29d34a[_0x50f157(0x146)];}}return null;}[_0x3dd021(0x15f)](_0x44e380=_0x3dd021(0x152)){const _0x1ee13b=_0x3dd021;if(!_0x1e4d3c(this[_0x1ee13b(0x159)]))return this;const _0x41dc0e=this[_0x1ee13b(0x155)][this[_0x1ee13b(0x155)][_0x1ee13b(0x142)]-0x1],_0x3eb666=_0x479d8a(this[_0x1ee13b(0x159)])[_0x1ee13b(0x14e)](/(?:\s*\S+\s*)/g);let _0x537c70=0x0,_0x1ed685=_0x41dc0e;for(const _0x11dbd3 of _0x3eb666){if(_0x537c70+_0x11dbd3[_0x1ee13b(0x142)]===_0x41dc0e)return this;if(_0x537c70+_0x11dbd3[_0x1ee13b(0x142)]>_0x41dc0e){_0x1ed685=_0x1ee13b(0x152)===_0x44e380?_0x537c70:_0x537c70+_0x11dbd3[_0x1ee13b(0x142)];break;}_0x537c70+=_0x11dbd3[_0x1ee13b(0x142)];}return DocumentPosition[_0x1ee13b(0x14d)](this[_0x1ee13b(0x160)],this[_0x1ee13b(0x159)],_0x1ed685);}static[_0x3dd021(0x150)](_0x3610ba,_0x2db4c4){const _0x4a260a=_0x3dd021;if(_0x13bbfd(_0x2db4c4))return null;const _0x3b1e27=_0x5b5ed9(_0x2db4c4);return DocumentPosition[_0x4a260a(0x14d)](_0x3610ba,_0x3b1e27,_0x428b6a(_0x3b1e27)[_0x4a260a(0x156)](_0x2db4c4)+0x1);}static[_0x3dd021(0x15e)](_0x36267b,_0x12e672){const _0x413037=_0x3dd021;if(_0x13bbfd(_0x12e672))return null;const _0x5cfcc9=_0x5b5ed9(_0x12e672);return DocumentPosition[_0x413037(0x14d)](_0x36267b,_0x5cfcc9,_0x428b6a(_0x5cfcc9)[_0x413037(0x156)](_0x12e672));}static[_0x3dd021(0x14d)](_0x229b8d,_0x4e1058,_0x33cb55=_0x3dd021(0x152)){const _0x2e0b0b=_0x3dd021;return new DocumentPosition(_0x229b8d,_0x4e1058,_0x2e0b0b(0x152)===_0x33cb55?0x0:_0x2e0b0b(0x157)===_0x33cb55?_0x1e4d3c(_0x4e1058)?_0x4e1058[_0x2e0b0b(0x153)][_0x2e0b0b(0x142)]:_0x428b6a(_0x4e1058)[_0x2e0b0b(0x142)]:_0x33cb55);}static[_0x3dd021(0x144)](_0x2e9ed7,_0x1ba92a){const _0x2ae82b=_0x3dd021;if(!_0x1ba92a[_0x2ae82b(0x142)])throw new _0x17a5d1(_0x2ae82b(0x151),null,{'path':_0x1ba92a});const _0x394a91=_0x1ba92a[_0x2ae82b(0x15d)](0x0,-0x1)[_0x2ae82b(0x141)]((_0x57d085,_0x5da1df)=>_0x1e4d3c(_0x57d085)?_0x57d085:_0x428b6a(_0x57d085)[_0x5da1df],_0x2e9ed7);return DocumentPosition[_0x2ae82b(0x14d)](_0x2e9ed7,_0x394a91,_0x1ba92a[_0x1ba92a[_0x2ae82b(0x142)]-0x1]);}}function _0x5b98(){const _0x252e0c=['index','6iTAWkd','4990706lTjNPT','slice','createBefore','getNudgedToWordBoundary','document','ai-documentposition-index-out-of-bounds','reduce','length','34646tAaugh','createFromPath','82554XAqVKQ','previousNode','69dfayGS','isEqual','110WZXHqS','2935205ccetbe','nextNode','3098088hLmNKt','createAt','match','1023255oYWwgG','createAfter','ai-documentposition-createfrompath-path-cannot-be-empty','start','data','same','path','indexOf','end','1013344exAgta','parent'];_0x5b98=function(){return _0x252e0c;};return _0x5b98();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5b3d78=_0x2979;function _0x2979(_0x209404,_0x2b1cb2){const _0x28ee5a=_0x28ee();return _0x2979=function(_0x29796a,_0x108405){_0x29796a=_0x29796a-0x1ef;let _0x9a2262=_0x28ee5a[_0x29796a];return _0x9a2262;},_0x2979(_0x209404,_0x2b1cb2);}(function(_0x4a7907,_0x1527be){const _0x202c6d=_0x2979,_0x4a71ad=_0x4a7907();while(!![]){try{const _0x57204f=-parseInt(_0x202c6d(0x1ef))/0x1+parseInt(_0x202c6d(0x1f5))/0x2+-parseInt(_0x202c6d(0x20c))/0x3+parseInt(_0x202c6d(0x205))/0x4+-parseInt(_0x202c6d(0x201))/0x5*(parseInt(_0x202c6d(0x1fd))/0x6)+parseInt(_0x202c6d(0x1fa))/0x7+-parseInt(_0x202c6d(0x20e))/0x8*(-parseInt(_0x202c6d(0x204))/0x9);if(_0x57204f===_0x1527be)break;else _0x4a71ad['push'](_0x4a71ad['shift']());}catch(_0x34a6c4){_0x4a71ad['push'](_0x4a71ad['shift']());}}}(_0x28ee,0x2e18e));import{DocumentPosition as _0x426643}from'./documentposition.js';function _0x28ee(){const _0x33dd42=['previousNode','data','forEach','103962lwcbGr','lastChild','40bNoTks','36386anZmQc','push','getContent','isEqual','slice','createBefore','365408MGzviN','path','getNudgedToWordBoundary','createFromPath','document','339507jLwSEq','parent','length','450ZtwvuG','includes','nextNode','firstChild','5875DxTMxs','start','reverse','199161DpyKTQ','24516WDYxGg','createAt','createAfter','end'];_0x28ee=function(){return _0x33dd42;};return _0x28ee();}import{clone as _0x20e5d9,getParents as _0x1b89d8,Document as _0x1bbd52,Text as _0x341d46,isTag as _0x5cc48f,isText as _0x2bab18,replaceElement as _0x48e900,removeElement as _0x3ee2b4}from'./htmlparser.js';export class DocumentRange{[_0x5b3d78(0x202)];[_0x5b3d78(0x208)];constructor(_0x48dd6c,_0x22e635){const _0x541323=_0x5b3d78;this[_0x541323(0x202)]=_0x48dd6c,this[_0x541323(0x208)]=_0x22e635;}[_0x5b3d78(0x1f2)](_0x1e39ec){const _0x3457bc=_0x5b3d78;return this==_0x1e39ec||this[_0x3457bc(0x202)][_0x3457bc(0x1f2)](_0x1e39ec[_0x3457bc(0x202)])&&this[_0x3457bc(0x208)][_0x3457bc(0x1f2)](_0x1e39ec[_0x3457bc(0x208)]);}[_0x5b3d78(0x1f7)](){const _0x12f197=_0x5b3d78;return new DocumentRange(this[_0x12f197(0x202)][_0x12f197(0x1f7)](_0x12f197(0x202)),this[_0x12f197(0x208)][_0x12f197(0x1f7)](_0x12f197(0x208)));}[_0x5b3d78(0x1f1)](){const _0xd966bf=_0x5b3d78,_0x1d8327=_0x20e5d9(this[_0xd966bf(0x202)][_0xd966bf(0x1f9)]),_0x34f8e1=_0x426643[_0xd966bf(0x1f8)](_0x1d8327,this[_0xd966bf(0x202)][_0xd966bf(0x1f6)]),_0x54b931=_0x426643[_0xd966bf(0x1f8)](_0x1d8327,this[_0xd966bf(0x208)][_0xd966bf(0x1f6)]);let _0x35dead,_0x275c21;if(_0x2bab18(_0x34f8e1[_0xd966bf(0x1fb)])){const _0x21b3e7=_0x34f8e1[_0xd966bf(0x1f6)][_0x34f8e1[_0xd966bf(0x1f6)][_0xd966bf(0x1fc)]-0x1],_0x309908=new _0x341d46(_0x34f8e1[_0xd966bf(0x1fb)][_0xd966bf(0x20a)][_0xd966bf(0x1f3)](_0x21b3e7));_0x48e900(_0x34f8e1[_0xd966bf(0x1fb)],_0x309908),_0x35dead=_0x309908;}else _0x35dead=_0x34f8e1[_0xd966bf(0x1ff)];if(_0x2bab18(_0x54b931[_0xd966bf(0x1fb)])){const _0x3cd236=_0x54b931[_0xd966bf(0x1f6)][_0x54b931[_0xd966bf(0x1f6)][_0xd966bf(0x1fc)]-0x1],_0x3f661a=new _0x341d46(_0x54b931[_0xd966bf(0x1fb)][_0xd966bf(0x20a)][_0xd966bf(0x1f3)](0x0,_0x3cd236));_0x48e900(_0x54b931[_0xd966bf(0x1fb)],_0x3f661a),_0x275c21=_0x3f661a;}else _0x275c21=_0x54b931[_0xd966bf(0x209)];if(!(_0x35dead&&_0x275c21&&_0x1d8327[_0xd966bf(0x200)]&&_0x1d8327[_0xd966bf(0x20d)]))return new _0x1bbd52([]);const _0x50311d=_0x1b89d8(_0x35dead),_0x2c8687=_0x1b89d8(_0x275c21),_0x220b2e=[],_0x34da90=[];let _0x56c438=_0x1d8327[_0xd966bf(0x200)];for(;_0x56c438&&_0x56c438!==_0x35dead;){let _0x2b12bc;_0x50311d[_0xd966bf(0x1fe)](_0x56c438)||_0x220b2e[_0xd966bf(0x1f0)](_0x56c438),_0x2b12bc=_0x5cc48f(_0x56c438)?_0x426643[_0xd966bf(0x206)](_0x1d8327,_0x56c438,_0xd966bf(0x202)):_0x426643[_0xd966bf(0x207)](_0x1d8327,_0x56c438),_0x56c438=_0x2b12bc?_0x2b12bc[_0xd966bf(0x1ff)]:null;}for(_0x56c438=_0x1d8327[_0xd966bf(0x20d)];_0x56c438&&_0x56c438!==_0x275c21;){let _0x13b01a;_0x2c8687[_0xd966bf(0x1fe)](_0x56c438)||_0x34da90[_0xd966bf(0x1f0)](_0x56c438),_0x13b01a=_0x5cc48f(_0x56c438)?_0x426643[_0xd966bf(0x206)](_0x1d8327,_0x56c438,_0xd966bf(0x208)):_0x426643[_0xd966bf(0x1f4)](_0x1d8327,_0x56c438),_0x56c438=_0x13b01a?_0x13b01a[_0xd966bf(0x209)]:null;}return _0x220b2e[_0xd966bf(0x20b)](_0x243c57=>{_0x3ee2b4(_0x243c57);}),_0x34da90[_0xd966bf(0x203)]()[_0xd966bf(0x20b)](_0x440209=>{_0x3ee2b4(_0x440209);}),_0x1d8327;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3d4a(){const _0x137d91=['781915lscjOP','2404347nlvayj','136974NebmtF','showChangeInText','like','4DqcNZW','12455019BHigGu','dislike','195hgNVHu','10yJaWkC','applySuggestion','mouseOverSuggestion','mouseLeaveSuggestion','269120lzMpsx','insertSuggestion','rejectSuggestion','toggleSuggestionDisplayMode','410126UWhsxz','24308CHmvYP','108ZpqhMg','14XTPfuw'];_0x3d4a=function(){return _0x137d91;};return _0x3d4a();}function _0x8bb0(_0x318282,_0x1a231b){const _0x3d4a3c=_0x3d4a();return _0x8bb0=function(_0x8bb0ab,_0x92a638){_0x8bb0ab=_0x8bb0ab-0x69;let _0x209313=_0x3d4a3c[_0x8bb0ab];return _0x209313;},_0x8bb0(_0x318282,_0x1a231b);}const _0x58775d=_0x8bb0;(function(_0x53729e,_0x50da95){const _0x5bbcd1=_0x8bb0,_0x3d61fb=_0x53729e();while(!![]){try{const _0xb26d9=parseInt(_0x5bbcd1(0x7a))/0x1+parseInt(_0x5bbcd1(0x7b))/0x2*(parseInt(_0x5bbcd1(0x71))/0x3)+-parseInt(_0x5bbcd1(0x6e))/0x4*(-parseInt(_0x5bbcd1(0x69))/0x5)+-parseInt(_0x5bbcd1(0x6b))/0x6*(-parseInt(_0x5bbcd1(0x7d))/0x7)+parseInt(_0x5bbcd1(0x76))/0x8+-parseInt(_0x5bbcd1(0x6f))/0x9*(-parseInt(_0x5bbcd1(0x72))/0xa)+parseInt(_0x5bbcd1(0x6a))/0xb*(-parseInt(_0x5bbcd1(0x7c))/0xc);if(_0xb26d9===_0x50da95)break;else _0x3d61fb['push'](_0x3d61fb['shift']());}catch(_0x1e9ae9){_0x3d61fb['push'](_0x3d61fb['shift']());}}}(_0x3d4a,0xd0223));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x58775d(0x6c),_0x58775d(0x77),_0x58775d(0x73),_0x58775d(0x78),_0x58775d(0x74),_0x58775d(0x75),_0x58775d(0x79),_0x58775d(0x6d),_0x58775d(0x70)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x222f(){var _0x465063=['31444qVuDWI','145368NJDYZe','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','476058noUeYa','723078RulYIp','length','460mODWNi','13755xTsGBt','ai-get-editor-from-context-no-editor','5604oBowEo','warn','104CcRHlp','455949puamCN','editors','get'];_0x222f=function(){return _0x465063;};return _0x222f();}(function(_0x1aeaaa,_0x8201db){var _0x31d159=_0x471b,_0x5041b9=_0x1aeaaa();while(!![]){try{var _0x51f359=-parseInt(_0x31d159(0x179))/0x1+parseInt(_0x31d159(0x175))/0x2+-parseInt(_0x31d159(0x16f))/0x3+-parseInt(_0x31d159(0x173))/0x4+parseInt(_0x31d159(0x178))/0x5*(parseInt(_0x31d159(0x17b))/0x6)+-parseInt(_0x31d159(0x172))/0x7*(parseInt(_0x31d159(0x16e))/0x8)+parseInt(_0x31d159(0x176))/0x9;if(_0x51f359===_0x8201db)break;else _0x5041b9['push'](_0x5041b9['shift']());}catch(_0x578875){_0x5041b9['push'](_0x5041b9['shift']());}}}(_0x222f,0x231cf));import{CKEditorError as _0x594084}from'ckeditor5/src/utils.js';function _0x471b(_0xe4681e,_0x39c158){var _0x222fc8=_0x222f();return _0x471b=function(_0x471bf8,_0x1ab64a){_0x471bf8=_0x471bf8-0x16d;var _0x44340b=_0x222fc8[_0x471bf8];return _0x44340b;},_0x471b(_0xe4681e,_0x39c158);}import{Editor as _0x24e168}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x39fb76){var _0x357634=_0x471b;if(_0x39fb76 instanceof _0x24e168)return _0x39fb76;if(_0x39fb76?.[_0x357634(0x170)]&&_0x39fb76[_0x357634(0x170)][_0x357634(0x171)](0x0))return _0x39fb76[_0x357634(0x170)][_0x357634(0x177)]>0x1&&console[_0x357634(0x16d)](_0x357634(0x174)),_0x39fb76[_0x357634(0x170)][_0x357634(0x171)](0x0);throw new _0x594084(_0x357634(0x17a));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x32a6(){const _0x17b730=['previousSibling','3906180zCLYmS','document','getDocumentContext','length','removed','8ioJimN','839202XTQflB','cloneNode','map','getRange','filter','147WSHamn','anchorId','24mlpgAj','get','node','547604gYJMjF','112016BqUebb','markers','shift','getDiff','137512rurKTN','99vVDpet','type','version','marker','model','data-id','new','getOperations','2391576BSYSpt','10SsILFQ','18186BoSshK','oldRange','name','documentContextContent','history','operationsA','content'];_0x32a6=function(){return _0x17b730;};return _0x32a6();}(function(_0x10bee9,_0x26abba){const _0x11c3b2=_0x1a7a,_0x4c7560=_0x10bee9();while(!![]){try{const _0xdcd8d3=parseInt(_0x11c3b2(0x187))/0x1*(-parseInt(_0x11c3b2(0x17b))/0x2)+-parseInt(_0x11c3b2(0x17c))/0x3+parseInt(_0x11c3b2(0x186))/0x4*(parseInt(_0x11c3b2(0x195))/0x5)+-parseInt(_0x11c3b2(0x196))/0x6*(-parseInt(_0x11c3b2(0x181))/0x7)+parseInt(_0x11c3b2(0x18b))/0x8*(-parseInt(_0x11c3b2(0x18c))/0x9)+parseInt(_0x11c3b2(0x19e))/0xa+parseInt(_0x11c3b2(0x194))/0xb*(parseInt(_0x11c3b2(0x183))/0xc);if(_0xdcd8d3===_0x26abba)break;else _0x4c7560['push'](_0x4c7560['shift']());}catch(_0x499147){_0x4c7560['push'](_0x4c7560['shift']());}}}(_0x32a6,0x3c10a));import{transformOperationSets as _0x4130d4}from'ckeditor5/src/engine.js';function _0x1a7a(_0x519ed6,_0x6d7a92){const _0x32a622=_0x32a6();return _0x1a7a=function(_0x1a7abc,_0x50e5f3){_0x1a7abc=_0x1a7abc-0x17b;let _0x41d5ff=_0x32a622[_0x1a7abc];return _0x41d5ff;},_0x1a7a(_0x519ed6,_0x6d7a92);}import{append as _0x286c36,findByAttribute as _0x444768,prependChild as _0x3917c8,removeElement as _0x563851,serialize as _0x55764c}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x1a811e,interaction:_0x4603da,reply:_0x537088,groups:_0x2305fa,transform:_0x3cb9f9,documentCompare:_0x97e2de,documentCompareOptions:_0x424301}){const _0x468e8b=_0x1a7a,_0x176195=_0x4603da[_0x468e8b(0x1a0)]();if(!_0x176195)return[];const _0x4bf10f=_0x176195[_0x468e8b(0x19c)],_0xc50f2e=_0x176195[_0x468e8b(0x18e)],_0x5736ca=_0x537088[_0x468e8b(0x199)][_0x468e8b(0x17d)](!0x0);for(const {changes:_0x371a60}of _0x2305fa){const _0x249ff7=_0x371a60[_0x468e8b(0x180)](_0x797a65=>_0x468e8b(0x192)!=_0x797a65[_0x468e8b(0x18d)])[_0x468e8b(0x17e)](_0x4b822f=>_0x444768(_0x468e8b(0x191),_0x4b822f['id'],_0x5736ca)),_0x5177f6=_0x371a60[_0x468e8b(0x180)](_0x16f0e3=>_0x468e8b(0x1a2)!=_0x16f0e3[_0x468e8b(0x18d)])[_0x468e8b(0x17e)](_0x37390a=>_0x37390a[_0x468e8b(0x185)][_0x468e8b(0x17d)](!0x0));let _0x22f79b=null;if(_0x249ff7[_0x468e8b(0x1a1)]){_0x22f79b=_0x249ff7[0x0][_0x468e8b(0x19d)];for(let _0x5f1442=0x0;_0x5f1442<_0x249ff7[_0x468e8b(0x1a1)];_0x5f1442++)_0x563851(_0x249ff7[_0x5f1442]);}if(_0x5177f6[_0x468e8b(0x1a1)]){_0x22f79b||(_0x371a60[0x0][_0x468e8b(0x182)]?_0x22f79b=_0x444768(_0x468e8b(0x191),_0x371a60[0x0][_0x468e8b(0x182)],_0x5736ca):(_0x22f79b=_0x5177f6[_0x468e8b(0x189)](),_0x3917c8(_0x5736ca,_0x22f79b)));for(let _0x3cefac=0x0;_0x3cefac<_0x5177f6[_0x468e8b(0x1a1)];_0x3cefac++)_0x286c36(_0x22f79b,_0x5177f6[_0x3cefac]),_0x22f79b=_0x5177f6[_0x3cefac];}}const _0x508d15=_0x55764c(_0x5736ca),_0x1c61c3=_0x97e2de[_0x468e8b(0x18a)](_0x4bf10f,_0x508d15,_0x424301)[_0x468e8b(0x193)]();if(_0x3cb9f9){const _0x1f4ff5=_0x1a811e[_0x468e8b(0x190)][_0x468e8b(0x19f)][_0x468e8b(0x19a)][_0x468e8b(0x193)](_0xc50f2e),_0x6935d5={'document':_0x1a811e[_0x468e8b(0x190)][_0x468e8b(0x19f)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x4130d4(_0x1c61c3,_0x1f4ff5,_0x6935d5)[_0x468e8b(0x19b)];}return _0x1c61c3;}export function fixMarkerOperationOldRange(_0x3abafd,_0x4b6ebc){const _0x189f55=_0x1a7a;if(_0x189f55(0x18f)!=_0x4b6ebc[_0x189f55(0x18d)])return;const _0x3e921c=_0x3abafd[_0x189f55(0x190)][_0x189f55(0x188)][_0x189f55(0x184)](_0x4b6ebc[_0x189f55(0x198)]);_0x3e921c&&(_0x4b6ebc[_0x189f55(0x197)]=_0x3e921c[_0x189f55(0x17f)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x1d18e7,_0x19c488){const _0x432e9c=_0x1566,_0x22c77a=_0x1d18e7();while(!![]){try{const _0x202481=parseInt(_0x432e9c(0x222))/0x1*(-parseInt(_0x432e9c(0x208))/0x2)+parseInt(_0x432e9c(0x1df))/0x3*(parseInt(_0x432e9c(0x1ee))/0x4)+-parseInt(_0x432e9c(0x20e))/0x5+parseInt(_0x432e9c(0x21b))/0x6*(-parseInt(_0x432e9c(0x1d4))/0x7)+parseInt(_0x432e9c(0x23c))/0x8*(-parseInt(_0x432e9c(0x205))/0x9)+parseInt(_0x432e9c(0x23a))/0xa+parseInt(_0x432e9c(0x213))/0xb;if(_0x202481===_0x19c488)break;else _0x22c77a['push'](_0x22c77a['shift']());}catch(_0x126159){_0x22c77a['push'](_0x22c77a['shift']());}}}(_0x3040,0xa7c1e));import{findOne as _0x205c5a,getAttribute as _0x13663b,Document as _0x14c822,serialize as _0x4415c7,parse as _0x50767e}from'./htmlparser.js';import{fixElementSuggestionRange as _0x10ef65}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x2bd821,_DetachOperation as _0x2eef05,_removeFromModelNodeList as _0x3591a7,_insertIntoModelNodeList as _0x15640b}from'ckeditor5/src/engine.js';function _0x1566(_0x3263df,_0x3c6aba){const _0x304011=_0x3040();return _0x1566=function(_0x1566b4,_0xd8676d){_0x1566b4=_0x1566b4-0x1d0;let _0x3f72b6=_0x304011[_0x1566b4];return _0x3f72b6;},_0x1566(_0x3263df,_0x3c6aba);}import{uid as _0xbf78d6}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x12ace7,changeGroups:_0x30710d,documentContextContent:_0x5192a4,showDiff:_0x2d81bd,trimUnchanged:_0x395336=!0x0}){const _0x49359f=_0x1566;return _0x30710d[_0x49359f(0x233)](_0x16bfdb=>{const _0x202830=_0x49359f,_0x11ad8b=new _0x14c822([]),_0x703e29=new _0x14c822([]);for(const _0x4555d2 of _0x16bfdb[_0x202830(0x215)])if(_0x2d81bd&&_0x202830(0x1e7)==_0x4555d2[_0x202830(0x1e4)]||_0x703e29[_0x202830(0x22c)][_0x202830(0x1ef)](_0x4555d2[_0x202830(0x229)][_0x202830(0x21a)](!0x0)),_0x202830(0x231)!=_0x4555d2[_0x202830(0x1e4)]&&(_0x2d81bd||_0x202830(0x1e7)!=_0x4555d2[_0x202830(0x1e4)])){const _0x8071f4=_0x205c5a(_0x44b2c5=>_0x13663b(_0x44b2c5,_0x202830(0x212))==_0x4555d2['id'],_0x5192a4,!0x0);_0x8071f4&&_0x11ad8b[_0x202830(0x22c)][_0x202830(0x1ef)](_0x8071f4[_0x202830(0x21a)](!0x0));}const {content:_0x34e1bc,hasChanges:_0x4a9650}=function(_0x34851a,_0xa100c7,_0x3df713,_0x29a628,_0x1d1f1f=!0x0){const _0x3d4b03=_0x202830,_0x24670c=_0x34851a[_0x3d4b03(0x1f4)][_0x3d4b03(0x21d)](_0x3d4b03(0x1f9)),_0x339e32=_0x4415c7(_0xa100c7),_0x5a0611=_0x4415c7(_0x3df713),_0x1d3ff5=_0x34851a[_0x3d4b03(0x1d6)][_0x3d4b03(0x20c)](_0x339e32,_0x3d4b03(0x1d8)),_0x369985=_0x34851a[_0x3d4b03(0x209)][_0x3d4b03(0x1fe)](_0x1d3ff5,0x0),_0x17254a=_0x24670c[_0x3d4b03(0x241)](_0x339e32,_0x5a0611,{'anchor':_0x369985,'markDeletions':_0x29a628}),_0x14ef20=_0x17254a[_0x3d4b03(0x1db)]();if(0x0==_0x14ef20[_0x3d4b03(0x214)])return{'content':_0xa100c7[_0x3d4b03(0x21a)](!0x0),'hasChanges':!0x1};_0x29a628?function(_0x401377,_0x49eb8c,_0x11206d){const _0xfcd166=_0x3d4b03;if(0x0==_0x401377[_0xfcd166(0x214)])return;const _0x474f47=_0x11206d[_0xfcd166(0x1f4)][_0xfcd166(0x21d)](_0xfcd166(0x1f9)),_0x290189=_0x11206d[_0xfcd166(0x1f4)][_0xfcd166(0x21d)](_0xfcd166(0x1d0));_0x11206d[_0xfcd166(0x209)][_0xfcd166(0x210)](_0x2403c2=>{const _0x2ac013=_0xfcd166,_0x2c20e8=new Set();for(let _0x37e240=0x0;_0x37e240<_0x401377[_0x2ac013(0x214)];_0x37e240++){const _0x1d0cc4=_0x401377[_0x37e240];if(_0x1d0cc4[_0x2ac013(0x1e6)]=null,_0x1d0cc4[_0x2ac013(0x21c)]=!0x1,_0x474f47[_0x2ac013(0x219)](_0x1d0cc4)){const _0x43b26b=_0x10ef65(_0x1d0cc4[_0x2ac013(0x21e)],_0x11206d[_0x2ac013(0x209)]),_0x36bb62=_0x2ac013(0x1d5)+_0xbf78d6()+_0x2ac013(0x1ed);_0x49eb8c[_0x2ac013(0x204)][_0x2ac013(0x21f)](_0x36bb62,_0x43b26b);}else switch(_0x1d0cc4[_0x2ac013(0x1e4)]){case _0x2ac013(0x1e8):{if(_0x1d0cc4[_0x2ac013(0x23e)]==_0x1d0cc4[_0x2ac013(0x245)])break;_0x2403c2[_0x2ac013(0x218)][_0x2ac013(0x1da)](_0x1d0cc4),_0x11206d[_0x2ac013(0x209)][_0x2ac013(0x1f1)](_0x1d0cc4);const _0x375425=_0x2ac013(0x237),_0xe7d2f7=_0x1d0cc4[_0x2ac013(0x1e5)],_0x1b1984=_0x11206d[_0x2ac013(0x209)][_0x2ac013(0x1dc)](_0xe7d2f7,_0x11206d[_0x2ac013(0x209)][_0x2ac013(0x1fe)](_0xe7d2f7[_0x2ac013(0x228)],_0x2ac013(0x22f))),_0x348c75=_0x2ac013(0x1d7)+_0x375425+':'+_0xbf78d6()+_0x2ac013(0x1ed);_0x49eb8c[_0x2ac013(0x204)][_0x2ac013(0x21f)](_0x348c75,_0x1b1984);break;}case _0x2ac013(0x1f3):case _0x2ac013(0x239):case _0x2ac013(0x1d3):{if(_0x1d0cc4[_0x2ac013(0x203)]==_0x1d0cc4[_0x2ac013(0x201)])break;_0x2403c2[_0x2ac013(0x218)][_0x2ac013(0x1da)](_0x1d0cc4),_0x11206d[_0x2ac013(0x209)][_0x2ac013(0x1f1)](_0x1d0cc4);const _0x33a737=_0x1d0cc4[_0x2ac013(0x1dd)];if(!_0x290189[_0x2ac013(0x1eb)](_0x33a737))break;const _0x3d8753=_0x10ef65(_0x1d0cc4[_0x2ac013(0x1e1)],_0x11206d[_0x2ac013(0x209)]),_0x14ba8a=_0x2ac013(0x1d7)+_0x33a737+':'+_0xbf78d6()+_0x2ac013(0x1ed);_0x49eb8c[_0x2ac013(0x204)][_0x2ac013(0x21f)](_0x14ba8a,_0x3d8753);break;}case _0x2ac013(0x22d):{_0x2403c2[_0x2ac013(0x218)][_0x2ac013(0x1da)](_0x1d0cc4),_0x11206d[_0x2ac013(0x209)][_0x2ac013(0x1f1)](_0x1d0cc4);if(_0x401377[_0x37e240+0x1]&&_0x2ac013(0x232)==_0x401377[_0x37e240+0x1][_0x2ac013(0x1e4)]){ro(_0x49eb8c,_0x1d0cc4);break;}const _0x2cec97=_0x1d0cc4[_0x2ac013(0x1e5)],_0x49a892=_0x1d0cc4[_0x2ac013(0x1fd)],_0x3c8976=_0x10ef65(_0x11206d[_0x2ac013(0x209)][_0x2ac013(0x1dc)](_0x2cec97,_0x2cec97[_0x2ac013(0x1fa)](_0x49a892)),_0x11206d[_0x2ac013(0x209)]),_0x377a4a=_0x2ac013(0x1e3)+_0xbf78d6()+_0x2ac013(0x1ed);_0x49eb8c[_0x2ac013(0x204)][_0x2ac013(0x21f)](_0x377a4a,_0x3c8976);break;}case _0x2ac013(0x226):{_0x2403c2[_0x2ac013(0x218)][_0x2ac013(0x1da)](_0x1d0cc4),_0x11206d[_0x2ac013(0x209)][_0x2ac013(0x1f1)](_0x1d0cc4);const _0x626ead=_0x1d0cc4[_0x2ac013(0x20f)],_0x593c77=_0x1d0cc4[_0x2ac013(0x1de)],_0x134c21=_0x11206d[_0x2ac013(0x209)][_0x2ac013(0x1dc)](_0x626ead,_0x593c77),_0x27717e=_0x2ac013(0x1e3)+_0xbf78d6()+_0x2ac013(0x1ed);_0x49eb8c[_0x2ac013(0x204)][_0x2ac013(0x21f)](_0x27717e,_0x134c21);break;}case _0x2ac013(0x232):{_0x2403c2[_0x2ac013(0x218)][_0x2ac013(0x1da)](_0x1d0cc4),_0x11206d[_0x2ac013(0x209)][_0x2ac013(0x1f1)](_0x1d0cc4),_0x401377[_0x37e240-0x1]&&_0x2ac013(0x22d)==_0x401377[_0x37e240-0x1][_0x2ac013(0x1e4)]&&ro(_0x49eb8c,_0x1d0cc4);const _0x17958b=_0x1d0cc4[_0x2ac013(0x216)](),_0x35e503=_0x1d0cc4[_0x2ac013(0x1fd)];for(let _0x1b9400=0x0;_0x1b9400<_0x35e503;_0x1b9400++){const _0xa55b6b=_0x17958b[_0x2ac013(0x1fa)](_0x1b9400)[_0x2ac013(0x228)];_0x2c20e8[_0x2ac013(0x220)](_0xa55b6b);}break;}case _0x2ac013(0x236):{const _0xd64b8b=_0x1d0cc4[_0x2ac013(0x1f6)],_0xbeabd6=_0x1d0cc4[_0x2ac013(0x1fd)],_0x714221=new _0x2eef05(_0xd64b8b,_0xbeabd6);_0x2403c2[_0x2ac013(0x218)][_0x2ac013(0x1da)](_0x714221),_0x11206d[_0x2ac013(0x209)][_0x2ac013(0x1f1)](_0x714221);break;}}}for(const _0x13d033 of _0x2c20e8){const _0x45584f=_0x11206d[_0x2ac013(0x209)][_0x2ac013(0x211)](_0x13d033),_0x2807a9=_0x2ac013(0x200)+_0xbf78d6()+_0x2ac013(0x1ed);_0x49eb8c[_0x2ac013(0x204)][_0x2ac013(0x21f)](_0x2807a9,_0x10ef65(_0x45584f,_0x11206d[_0x2ac013(0x209)]));}});}(_0x14ef20,_0x1d3ff5,_0x34851a):_0x34851a[_0x3d4b03(0x209)][_0x3d4b03(0x210)](_0x5b930a=>{const _0x858acb=_0x3d4b03;for(const _0xcf19c0 of _0x14ef20)if(_0x858acb(0x236)==_0xcf19c0[_0x858acb(0x1e4)]){const _0x2915fe=_0xcf19c0[_0x858acb(0x1f6)],_0x415f27=_0xcf19c0[_0x858acb(0x1fd)],_0x3d68ad=new _0x2eef05(_0x2915fe,_0x415f27);_0x5b930a[_0x858acb(0x218)][_0x858acb(0x1da)](_0x3d68ad),_0x34851a[_0x858acb(0x209)][_0x858acb(0x1f1)](_0x3d68ad);}else{if(_0x858acb(0x238)==_0xcf19c0[_0x858acb(0x1e4)]){const _0x3b5182=_0xcf19c0[_0x858acb(0x223)],_0x40b30e=_0xcf19c0[_0x858acb(0x21e)];_0x1d3ff5[_0x858acb(0x204)][_0x858acb(0x21f)](_0x3b5182,_0x40b30e);}else _0xcf19c0[_0x858acb(0x1e6)]=null,_0xcf19c0[_0x858acb(0x21c)]=!0x1,_0x5b930a[_0x858acb(0x218)][_0x858acb(0x1da)](_0xcf19c0),_0x34851a[_0x858acb(0x209)][_0x858acb(0x1f1)](_0xcf19c0);}});if(_0x1d1f1f){const _0x42c69e=getMinimalSelection(_0x34851a,_0x14ef20,_0x1d3ff5);expandSelectionWithContext(_0x34851a[_0x3d4b03(0x209)],_0x42c69e),function(_0x1edda6,_0x2d89e2){const _0x4f7f88=_0x3d4b03,_0x457823=_0x2d89e2[_0x4f7f88(0x23b)]()[_0x4f7f88(0x242)];let _0x27da99=_0x2d89e2[_0x4f7f88(0x23b)]()[_0x4f7f88(0x22f)];const _0x435794=_0x457823[_0x4f7f88(0x1e0)];(_0x27da99[_0x4f7f88(0x1f8)]||_0x27da99[_0x4f7f88(0x228)]&&_0x27da99[_0x4f7f88(0x228)]['is'](_0x4f7f88(0x1ea)))&&(_0x15640b(_0x27da99,_0x4f7f88(0x240)),_0x27da99=_0x27da99[_0x4f7f88(0x1fa)](0x3)),(_0x457823[_0x4f7f88(0x1f8)]||_0x457823[_0x4f7f88(0x217)]&&_0x457823[_0x4f7f88(0x217)]['is'](_0x4f7f88(0x1ea)))&&(_0x15640b(_0x457823,_0x4f7f88(0x240)),function(_0x1cd15f,_0x59a7ee,_0x284eea){const _0x4baf26=_0x4f7f88;for(let [_0x53bd42,_0xaf0457]of _0x1cd15f[_0x4baf26(0x204)]){const _0x37ada9=_0xaf0457[_0x4baf26(0x20a)](_0x59a7ee,_0x284eea,!0x1);_0xaf0457=_0x37ada9[0x0],_0x1cd15f[_0x4baf26(0x204)][_0x4baf26(0x21f)](_0x53bd42,_0xaf0457);}}(_0x435794,_0x457823,0x3),_0x457823[_0x4f7f88(0x1fc)]==_0x27da99[_0x4f7f88(0x1fc)]&&(_0x27da99=_0x27da99[_0x4f7f88(0x1fa)](0x3)));const _0x5cecc7=_0x1edda6[_0x4f7f88(0x1dc)](_0x1edda6[_0x4f7f88(0x1fe)](_0x435794,0x0),_0x457823),_0x4f97ac=_0x1edda6[_0x4f7f88(0x1dc)](_0x27da99,_0x1edda6[_0x4f7f88(0x1fe)](_0x435794,_0x4f7f88(0x22f))),_0x4bf011=[..._0x5cecc7[_0x4f7f88(0x244)](),..._0x4f97ac[_0x4f7f88(0x244)]()];_0x4bf011[_0x4f7f88(0x207)]();for(const _0x100816 of _0x4bf011)_0x3591a7(_0x100816),_transformMarkersByDeletion(_0x435794,_0x100816);}(_0x34851a[_0x3d4b03(0x209)],_0x42c69e);}const _0x3237de=_0x34851a[_0x3d4b03(0x1d6)][_0x3d4b03(0x234)](_0x1d3ff5,{'showSuggestionHighlights':!0x0});return{'content':_0x50767e(_0x3237de),'hasChanges':!0x0};}(_0x12ace7,_0x11ad8b,_0x703e29,_0x2d81bd,_0x395336);return{'type':_0x16bfdb[_0x202830(0x215)][0x0][_0x202830(0x1e4)],'index':_0x16bfdb[_0x202830(0x23d)],'content':_0x34e1bc,'hasChanges':_0x4a9650};});}function ro(_0x49a69e,_0x14e51b){const _0x2072a3=_0x1566;for(const [_0x306926,_0x4bbbfa]of _0x49a69e[_0x2072a3(0x204)]){const _0x235150=_0x2bd821[_0x2072a3(0x22a)](_0x4bbbfa[_0x2072a3(0x230)](_0x14e51b));_0x49a69e[_0x2072a3(0x204)][_0x2072a3(0x21f)](_0x306926,_0x235150);}}export function getMinimalSelection(_0x24c32c,_0x1f6339,_0x4466a6){const _0x5a7441=_0x1566,_0x186f13=_0x24c32c[_0x5a7441(0x1f4)][_0x5a7441(0x21d)](_0x5a7441(0x1f9));let _0x1762f3=_0x24c32c[_0x5a7441(0x209)][_0x5a7441(0x1fe)](_0x4466a6,Number[_0x5a7441(0x1d1)]),_0x17303e=_0x24c32c[_0x5a7441(0x209)][_0x5a7441(0x1fe)](_0x4466a6,0x0);for(const _0x1d4aec of _0x1f6339){let _0x25170d,_0x4e8b34;if(_0x186f13[_0x5a7441(0x219)](_0x1d4aec))_0x25170d=_0x1d4aec[_0x5a7441(0x21e)][_0x5a7441(0x242)],_0x4e8b34=_0x1d4aec[_0x5a7441(0x21e)][_0x5a7441(0x22f)];else switch(_0x1762f3=_0x1762f3[_0x5a7441(0x230)](_0x1d4aec),_0x17303e=_0x17303e[_0x5a7441(0x230)](_0x1d4aec),_0x1d4aec[_0x5a7441(0x1e4)]){case _0x5a7441(0x1e8):_0x25170d=_0x1d4aec[_0x5a7441(0x1e5)],_0x4e8b34=_0x25170d[_0x5a7441(0x1fa)](0x1);break;case _0x5a7441(0x1f3):case _0x5a7441(0x239):case _0x5a7441(0x1d3):_0x25170d=_0x1d4aec[_0x5a7441(0x1e1)][_0x5a7441(0x242)],_0x4e8b34=_0x1d4aec[_0x5a7441(0x1e1)][_0x5a7441(0x22f)];break;case _0x5a7441(0x22d):_0x25170d=_0x1d4aec[_0x5a7441(0x1e5)],_0x4e8b34=_0x25170d[_0x5a7441(0x1fa)](_0x1d4aec[_0x5a7441(0x1fd)]);break;case _0x5a7441(0x226):_0x25170d=_0x1d4aec[_0x5a7441(0x20f)],_0x4e8b34=_0x1d4aec[_0x5a7441(0x1de)];break;case _0x5a7441(0x1e2):{const _0x3e03ad=_0x1d4aec[_0x5a7441(0x22e)][_0x5a7441(0x1f7)][_0x5a7441(0x235)](0x0,-0x1);_0x25170d=_0x24c32c[_0x5a7441(0x209)][_0x5a7441(0x202)](_0x4466a6,_0x3e03ad),_0x4e8b34=_0x25170d[_0x5a7441(0x1fa)](0x1);break;}case _0x5a7441(0x236):{const _0x5dd28e=_0x1d4aec[_0x5a7441(0x1fd)],_0x3dfc6f=_0x1d4aec[_0x5a7441(0x1f6)][_0x5a7441(0x20a)](_0x1d4aec[_0x5a7441(0x22e)],_0x5dd28e),_0x3db078=_0x1d4aec[_0x5a7441(0x216)]();_0x5a7441(0x236)==_0x1d4aec[_0x5a7441(0x1e4)]?(_0x25170d=_0x3dfc6f,_0x4e8b34=_0x3dfc6f):(_0x25170d=_0x3db078,_0x4e8b34=_0x3db078[_0x5a7441(0x1fa)](_0x5dd28e));break;}}_0x25170d&&_0x25170d[_0x5a7441(0x1f0)](_0x1762f3)&&(_0x1762f3=_0x25170d[_0x5a7441(0x224)](),_0x1762f3[_0x5a7441(0x227)]=_0x5a7441(0x20b)),_0x4e8b34&&_0x4e8b34[_0x5a7441(0x1ec)](_0x17303e)&&(_0x17303e=_0x4e8b34[_0x5a7441(0x224)](),_0x17303e[_0x5a7441(0x227)]=_0x5a7441(0x20b));}return _0x24c32c[_0x5a7441(0x209)][_0x5a7441(0x1e9)](_0x24c32c[_0x5a7441(0x209)][_0x5a7441(0x1dc)](_0x1762f3,_0x17303e));}export function expandSelectionWithContext(_0x320f7e,_0x320da2){const _0x18e105=_0x1566;so(_0x320f7e,_0x320da2,_0x18e105(0x206));const _0x3d614b=_0x320da2[_0x18e105(0x23b)]();_0x320da2[_0x18e105(0x1fb)]([]),_0x320da2[_0x18e105(0x1fb)](_0x3d614b,{'backward':!0x0}),so(_0x320f7e,_0x320da2,_0x18e105(0x23f));}function _0x3040(){const _0xe8a5ef=['suggestion:insertion:','type','position','baseVersion','removed','rename','createSelection','$text','isRegisteredAttribute','isAfter',':$aiSuggestion','84fIQEXl','push','isBefore','applyOperation','isObject','addAttribute','plugins','offset','sourcePosition','path','textNode','DocumentCompare','getShiftedBy','setTo','parent','howMany','createPositionAt','modifySelection','suggestion:formatBlock:$fakeWrap:','newValue','createPositionFromPath','oldValue','markers','911394KikCwv','forward','reverse','6tcDCNA','model','_getTransformedByInsertion','toNone','parse','element','6230950duJwee','splitPosition','change','createRangeOn','data-id','17604169OeoRPp','length','changes','getMovedRangeStart','nodeBefore','batch','isMarkedRemoveOperation','cloneNode','5413236JKhXtn','isDocumentOperation','get','newRange','set','add','focus','87610FDpkqN','name','clone','isBlock','split','stickiness','nodeAfter','node','_createFromRanges','delete','children','insert','targetPosition','end','getTransformedByOperation','new','move','map','stringify','slice','remove','$elementName','marker','removeAttribute','5272850uINivh','getFirstRange','16VDixgi','index','oldName','backward','...','getDiff','start','_getTransformedByDeletion','getMinimalFlatRanges','newName','SuggestionsConversion','POSITIVE_INFINITY','schema','changeAttribute','7hsKpGT','suggestion:deletion:','data','suggestion:attribute:','$root','word','addOperation','getOperations','createRange','key','moveTargetPosition','167604DvqEie','root','range','merge'];_0x3040=function(){return _0xe8a5ef;};return _0x3040();}function so(_0x48418e,_0x3b604f,_0x5a91bc){const _0x5bc2c4=_0x1566;let _0x4d6090=0x14;for(;_0x4d6090;){_0x48418e[_0x5bc2c4(0x1ff)](_0x3b604f,{'unit':_0x5bc2c4(0x1d9),'direction':_0x5a91bc}),_0x4d6090--;const _0x4756e2=_0x3b604f[_0x5bc2c4(0x221)][_0x5bc2c4(0x206)==_0x5a91bc?_0x5bc2c4(0x217):_0x5bc2c4(0x228)];if(_0x4756e2&&_0x4756e2['is'](_0x5bc2c4(0x20d))&&_0x48418e[_0x5bc2c4(0x1d2)][_0x5bc2c4(0x225)](_0x4756e2)&&_0x48418e[_0x5bc2c4(0x1d2)][_0x5bc2c4(0x1f2)](_0x4756e2))break;}}export function _transformMarkersByDeletion(_0x594f42,_0x4251b3){const _0x1ef62d=_0x1566;for(const [_0x17f290,_0x5c5825]of _0x594f42[_0x1ef62d(0x204)]){const _0x324f7f=_0x5c5825[_0x1ef62d(0x243)](_0x4251b3[_0x1ef62d(0x242)],_0x4251b3[_0x1ef62d(0x22f)][_0x1ef62d(0x1f5)]-_0x4251b3[_0x1ef62d(0x242)][_0x1ef62d(0x1f5)]);null!=_0x324f7f?_0x594f42[_0x1ef62d(0x204)][_0x1ef62d(0x21f)](_0x17f290,_0x324f7f):_0x594f42[_0x1ef62d(0x204)][_0x1ef62d(0x22b)](_0x17f290);}}
|
|
23
|
+
(function(_0x546166,_0x2bfeff){const _0x272721=_0xddd2,_0x58f306=_0x546166();while(!![]){try{const _0x201673=parseInt(_0x272721(0x1db))/0x1*(parseInt(_0x272721(0x1d9))/0x2)+parseInt(_0x272721(0x223))/0x3*(parseInt(_0x272721(0x213))/0x4)+parseInt(_0x272721(0x21e))/0x5*(parseInt(_0x272721(0x22a))/0x6)+-parseInt(_0x272721(0x1de))/0x7+-parseInt(_0x272721(0x1c7))/0x8+parseInt(_0x272721(0x1dd))/0x9+-parseInt(_0x272721(0x216))/0xa;if(_0x201673===_0x2bfeff)break;else _0x58f306['push'](_0x58f306['shift']());}catch(_0x47c6fc){_0x58f306['push'](_0x58f306['shift']());}}}(_0x1bcf,0x25932));import{findOne as _0x14abf5,getAttribute as _0x56beca,Document as _0x3ec2b5,serialize as _0x364836,parse as _0x3468b8}from'./htmlparser.js';import{fixElementSuggestionRange as _0x223f79}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x33a648,_DetachOperation as _0xcce429,_removeFromModelNodeList as _0x105028,_insertIntoModelNodeList as _0x3329c6}from'ckeditor5/src/engine.js';import{uid as _0x128b00}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x2cb1f7,changeGroups:_0x4056a6,documentContextContent:_0x3b79b5,showDiff:_0x4a1725,trimUnchanged:_0xd1ee44=!0x0}){const _0x1ce186=_0xddd2;return _0x4056a6[_0x1ce186(0x1bb)](_0x2a8fcf=>{const _0x2f4fa4=_0x1ce186,_0x1fa024=new _0x3ec2b5([]),_0x54fdd9=new _0x3ec2b5([]);for(const _0x280979 of _0x2a8fcf[_0x2f4fa4(0x20b)])if(_0x4a1725&&_0x2f4fa4(0x1f3)==_0x280979[_0x2f4fa4(0x1c8)]||_0x54fdd9[_0x2f4fa4(0x208)][_0x2f4fa4(0x1cf)](_0x280979[_0x2f4fa4(0x1cb)][_0x2f4fa4(0x202)](!0x0)),_0x2f4fa4(0x1c1)!=_0x280979[_0x2f4fa4(0x1c8)]&&(_0x4a1725||_0x2f4fa4(0x1f3)!=_0x280979[_0x2f4fa4(0x1c8)])){const _0x5af3e1=_0x14abf5(_0x5bd9ef=>_0x56beca(_0x5bd9ef,_0x2f4fa4(0x1d3))==_0x280979['id'],_0x3b79b5,!0x0);_0x5af3e1&&_0x1fa024[_0x2f4fa4(0x208)][_0x2f4fa4(0x1cf)](_0x5af3e1[_0x2f4fa4(0x202)](!0x0));}const {content:_0x534853,hasChanges:_0x4e2141}=function(_0x1b5ec8,_0x41ab25,_0x194c55,_0x2e853e,_0x33ed25=!0x0){const _0x138e32=_0x2f4fa4,_0x4e8603=_0x1b5ec8[_0x138e32(0x1d8)][_0x138e32(0x1cd)](_0x138e32(0x1cc)),_0x15e517=_0x364836(_0x41ab25),_0x9976e8=_0x364836(_0x194c55),_0x2c1baa=_0x1b5ec8[_0x138e32(0x1df)][_0x138e32(0x1fe)](_0x15e517,_0x138e32(0x220)),_0x98c406=_0x1b5ec8[_0x138e32(0x1e2)][_0x138e32(0x1da)](_0x2c1baa,0x0),_0xce03b7=_0x4e8603[_0x138e32(0x214)](_0x15e517,_0x9976e8,{'anchor':_0x98c406,'markDeletions':_0x2e853e}),_0x259f0b=_0xce03b7[_0x138e32(0x1e1)]();if(0x0==_0x259f0b[_0x138e32(0x200)])return{'content':_0x41ab25[_0x138e32(0x202)](!0x0),'hasChanges':!0x1};_0x2e853e?function(_0x323be2,_0x51a436,_0x5640f0){const _0x57035e=_0x138e32;if(0x0==_0x323be2[_0x57035e(0x200)])return;const _0x119d96=_0x5640f0[_0x57035e(0x1d8)][_0x57035e(0x1cd)](_0x57035e(0x1cc)),_0x324072=_0x5640f0[_0x57035e(0x1d8)][_0x57035e(0x1cd)](_0x57035e(0x20d));_0x5640f0[_0x57035e(0x1e2)][_0x57035e(0x207)](_0x47783f=>{const _0xfbdc6d=_0x57035e,_0x1c197b=new Set();for(let _0x59d0a0=0x0;_0x59d0a0<_0x323be2[_0xfbdc6d(0x200)];_0x59d0a0++){const _0x534c44=_0x323be2[_0x59d0a0];if(_0x534c44[_0xfbdc6d(0x1c6)]=null,_0x534c44[_0xfbdc6d(0x1d7)]=!0x1,_0x119d96[_0xfbdc6d(0x1f6)](_0x534c44)){const _0x4528fe=_0x223f79(_0x534c44[_0xfbdc6d(0x1fc)],_0x5640f0[_0xfbdc6d(0x1e2)]),_0x395ba9=_0xfbdc6d(0x1d1)+_0x128b00()+_0xfbdc6d(0x212);_0x51a436[_0xfbdc6d(0x1f1)][_0xfbdc6d(0x1ca)](_0x395ba9,_0x4528fe);}else switch(_0x534c44[_0xfbdc6d(0x1c8)]){case _0xfbdc6d(0x1b9):{if(_0x534c44[_0xfbdc6d(0x204)]==_0x534c44[_0xfbdc6d(0x1d6)])break;_0x47783f[_0xfbdc6d(0x1fb)][_0xfbdc6d(0x1ff)](_0x534c44),_0x5640f0[_0xfbdc6d(0x1e2)][_0xfbdc6d(0x222)](_0x534c44);const _0x50db23=_0xfbdc6d(0x1e4),_0xe30b03=_0x534c44[_0xfbdc6d(0x211)],_0x53a0e0=_0x5640f0[_0xfbdc6d(0x1e2)][_0xfbdc6d(0x1e5)](_0xe30b03,_0x5640f0[_0xfbdc6d(0x1e2)][_0xfbdc6d(0x1da)](_0xe30b03[_0xfbdc6d(0x227)],_0xfbdc6d(0x219))),_0x582a75=_0xfbdc6d(0x1e6)+_0x50db23+':'+_0x128b00()+_0xfbdc6d(0x212);_0x51a436[_0xfbdc6d(0x1f1)][_0xfbdc6d(0x1ca)](_0x582a75,_0x53a0e0);break;}case _0xfbdc6d(0x203):case _0xfbdc6d(0x1fd):case _0xfbdc6d(0x1d5):{if(_0x534c44[_0xfbdc6d(0x1c2)]==_0x534c44[_0xfbdc6d(0x21a)])break;_0x47783f[_0xfbdc6d(0x1fb)][_0xfbdc6d(0x1ff)](_0x534c44),_0x5640f0[_0xfbdc6d(0x1e2)][_0xfbdc6d(0x222)](_0x534c44);const _0x2d8caf=_0x534c44[_0xfbdc6d(0x1d2)];if(!_0x324072[_0xfbdc6d(0x1b7)](_0x2d8caf))break;const _0x5b0f7a=_0x223f79(_0x534c44[_0xfbdc6d(0x1d0)],_0x5640f0[_0xfbdc6d(0x1e2)]),_0x250606=_0xfbdc6d(0x1e6)+_0x2d8caf+':'+_0x128b00()+_0xfbdc6d(0x212);_0x51a436[_0xfbdc6d(0x1f1)][_0xfbdc6d(0x1ca)](_0x250606,_0x5b0f7a);break;}case _0xfbdc6d(0x1f7):{_0x47783f[_0xfbdc6d(0x1fb)][_0xfbdc6d(0x1ff)](_0x534c44),_0x5640f0[_0xfbdc6d(0x1e2)][_0xfbdc6d(0x222)](_0x534c44);if(_0x323be2[_0x59d0a0+0x1]&&_0xfbdc6d(0x1ce)==_0x323be2[_0x59d0a0+0x1][_0xfbdc6d(0x1c8)]){ro(_0x51a436,_0x534c44);break;}const _0x5b3e9a=_0x534c44[_0xfbdc6d(0x211)],_0x4be634=_0x534c44[_0xfbdc6d(0x1ee)],_0x79d6e2=_0x223f79(_0x5640f0[_0xfbdc6d(0x1e2)][_0xfbdc6d(0x1e5)](_0x5b3e9a,_0x5b3e9a[_0xfbdc6d(0x1ba)](_0x4be634)),_0x5640f0[_0xfbdc6d(0x1e2)]),_0x4f2d9d=_0xfbdc6d(0x1c0)+_0x128b00()+_0xfbdc6d(0x212);_0x51a436[_0xfbdc6d(0x1f1)][_0xfbdc6d(0x1ca)](_0x4f2d9d,_0x79d6e2);break;}case _0xfbdc6d(0x21f):{_0x47783f[_0xfbdc6d(0x1fb)][_0xfbdc6d(0x1ff)](_0x534c44),_0x5640f0[_0xfbdc6d(0x1e2)][_0xfbdc6d(0x222)](_0x534c44);const _0x44d5e5=_0x534c44[_0xfbdc6d(0x206)],_0x367733=_0x534c44[_0xfbdc6d(0x21b)],_0x5bb54d=_0x5640f0[_0xfbdc6d(0x1e2)][_0xfbdc6d(0x1e5)](_0x44d5e5,_0x367733),_0xc84839=_0xfbdc6d(0x1c0)+_0x128b00()+_0xfbdc6d(0x212);_0x51a436[_0xfbdc6d(0x1f1)][_0xfbdc6d(0x1ca)](_0xc84839,_0x5bb54d);break;}case _0xfbdc6d(0x1ce):{_0x47783f[_0xfbdc6d(0x1fb)][_0xfbdc6d(0x1ff)](_0x534c44),_0x5640f0[_0xfbdc6d(0x1e2)][_0xfbdc6d(0x222)](_0x534c44),_0x323be2[_0x59d0a0-0x1]&&_0xfbdc6d(0x1f7)==_0x323be2[_0x59d0a0-0x1][_0xfbdc6d(0x1c8)]&&ro(_0x51a436,_0x534c44);const _0x58c216=_0x534c44[_0xfbdc6d(0x1e9)](),_0x5617bc=_0x534c44[_0xfbdc6d(0x1ee)];for(let _0xcaf049=0x0;_0xcaf049<_0x5617bc;_0xcaf049++){const _0x7bbe70=_0x58c216[_0xfbdc6d(0x1ba)](_0xcaf049)[_0xfbdc6d(0x227)];_0x1c197b[_0xfbdc6d(0x1bd)](_0x7bbe70);}break;}case _0xfbdc6d(0x201):{const _0x1a2eac=_0x534c44[_0xfbdc6d(0x1f8)],_0x3eb281=_0x534c44[_0xfbdc6d(0x1ee)],_0x5a496b=new _0xcce429(_0x1a2eac,_0x3eb281);_0x47783f[_0xfbdc6d(0x1fb)][_0xfbdc6d(0x1ff)](_0x5a496b),_0x5640f0[_0xfbdc6d(0x1e2)][_0xfbdc6d(0x222)](_0x5a496b);break;}}}for(const _0x30d23b of _0x1c197b){const _0x3de410=_0x5640f0[_0xfbdc6d(0x1e2)][_0xfbdc6d(0x215)](_0x30d23b),_0x2dbc4b=_0xfbdc6d(0x20e)+_0x128b00()+_0xfbdc6d(0x212);_0x51a436[_0xfbdc6d(0x1f1)][_0xfbdc6d(0x1ca)](_0x2dbc4b,_0x223f79(_0x3de410,_0x5640f0[_0xfbdc6d(0x1e2)]));}});}(_0x259f0b,_0x2c1baa,_0x1b5ec8):_0x1b5ec8[_0x138e32(0x1e2)][_0x138e32(0x207)](_0x4cb707=>{const _0x1a5eeb=_0x138e32;for(const _0x2a06eb of _0x259f0b)if(_0x1a5eeb(0x201)==_0x2a06eb[_0x1a5eeb(0x1c8)]){const _0x3d19a1=_0x2a06eb[_0x1a5eeb(0x1f8)],_0x463b6f=_0x2a06eb[_0x1a5eeb(0x1ee)],_0x102a95=new _0xcce429(_0x3d19a1,_0x463b6f);_0x4cb707[_0x1a5eeb(0x1fb)][_0x1a5eeb(0x1ff)](_0x102a95),_0x1b5ec8[_0x1a5eeb(0x1e2)][_0x1a5eeb(0x222)](_0x102a95);}else{if(_0x1a5eeb(0x1f4)==_0x2a06eb[_0x1a5eeb(0x1c8)]){const _0x5f0dea=_0x2a06eb[_0x1a5eeb(0x1f9)],_0x496e69=_0x2a06eb[_0x1a5eeb(0x1fc)];_0x2c1baa[_0x1a5eeb(0x1f1)][_0x1a5eeb(0x1ca)](_0x5f0dea,_0x496e69);}else _0x2a06eb[_0x1a5eeb(0x1c6)]=null,_0x2a06eb[_0x1a5eeb(0x1d7)]=!0x1,_0x4cb707[_0x1a5eeb(0x1fb)][_0x1a5eeb(0x1ff)](_0x2a06eb),_0x1b5ec8[_0x1a5eeb(0x1e2)][_0x1a5eeb(0x222)](_0x2a06eb);}});if(_0x33ed25){const _0xe0ea75=getMinimalSelection(_0x1b5ec8,_0x259f0b,_0x2c1baa);expandSelectionWithContext(_0x1b5ec8[_0x138e32(0x1e2)],_0xe0ea75),function(_0x9bfbf0,_0x1c71d9){const _0x2a3a23=_0x138e32,_0x506965=_0x1c71d9[_0x2a3a23(0x20f)]()[_0x2a3a23(0x1e8)];let _0x201a01=_0x1c71d9[_0x2a3a23(0x20f)]()[_0x2a3a23(0x219)];const _0x91ba06=_0x506965[_0x2a3a23(0x205)];(_0x201a01[_0x2a3a23(0x1d4)]||_0x201a01[_0x2a3a23(0x227)]&&_0x201a01[_0x2a3a23(0x227)]['is'](_0x2a3a23(0x20c)))&&(_0x3329c6(_0x201a01,_0x2a3a23(0x228)),_0x201a01=_0x201a01[_0x2a3a23(0x1ba)](0x3)),(_0x506965[_0x2a3a23(0x1d4)]||_0x506965[_0x2a3a23(0x1c5)]&&_0x506965[_0x2a3a23(0x1c5)]['is'](_0x2a3a23(0x20c)))&&(_0x3329c6(_0x506965,_0x2a3a23(0x228)),function(_0x3a730d,_0x5e5e7f,_0x1b4854){const _0x14f50e=_0x2a3a23;for(let [_0xb16c8,_0x4a924a]of _0x3a730d[_0x14f50e(0x1f1)]){const _0x5d0de5=_0x4a924a[_0x14f50e(0x1ec)](_0x5e5e7f,_0x1b4854,!0x1);_0x4a924a=_0x5d0de5[0x0],_0x3a730d[_0x14f50e(0x1f1)][_0x14f50e(0x1ca)](_0xb16c8,_0x4a924a);}}(_0x91ba06,_0x506965,0x3),_0x506965[_0x2a3a23(0x1e3)]==_0x201a01[_0x2a3a23(0x1e3)]&&(_0x201a01=_0x201a01[_0x2a3a23(0x1ba)](0x3)));const _0x3eacc0=_0x9bfbf0[_0x2a3a23(0x1e5)](_0x9bfbf0[_0x2a3a23(0x1da)](_0x91ba06,0x0),_0x506965),_0x168e63=_0x9bfbf0[_0x2a3a23(0x1e5)](_0x201a01,_0x9bfbf0[_0x2a3a23(0x1da)](_0x91ba06,_0x2a3a23(0x219))),_0x27f52d=[..._0x3eacc0[_0x2a3a23(0x1f5)](),..._0x168e63[_0x2a3a23(0x1f5)]()];_0x27f52d[_0x2a3a23(0x20a)]();for(const _0x320411 of _0x27f52d)_0x105028(_0x320411),_transformMarkersByDeletion(_0x91ba06,_0x320411);}(_0x1b5ec8[_0x138e32(0x1e2)],_0xe0ea75);}const _0x12cf8d=_0x1b5ec8[_0x138e32(0x1df)][_0x138e32(0x209)](_0x2c1baa,{'showSuggestionHighlights':!0x0});return{'content':_0x3468b8(_0x12cf8d),'hasChanges':!0x0};}(_0x2cb1f7,_0x1fa024,_0x54fdd9,_0x4a1725,_0xd1ee44);return{'type':_0x2a8fcf[_0x2f4fa4(0x20b)][0x0][_0x2f4fa4(0x1c8)],'index':_0x2a8fcf[_0x2f4fa4(0x229)],'content':_0x534853,'hasChanges':_0x4e2141};});}function ro(_0x199867,_0x5c5d36){const _0x42a7e8=_0xddd2;for(const [_0x3ba9f7,_0x536aff]of _0x199867[_0x42a7e8(0x1f1)]){const _0x2ff191=_0x33a648[_0x42a7e8(0x1e0)](_0x536aff[_0x42a7e8(0x1fa)](_0x5c5d36));_0x199867[_0x42a7e8(0x1f1)][_0x42a7e8(0x1ca)](_0x3ba9f7,_0x2ff191);}}function _0xddd2(_0xed9dc1,_0x1e108d){const _0x1bcf4a=_0x1bcf();return _0xddd2=function(_0xddd27,_0x5b0b35){_0xddd27=_0xddd27-0x1b7;let _0x35dcae=_0x1bcf4a[_0xddd27];return _0x35dcae;},_0xddd2(_0xed9dc1,_0x1e108d);}export function getMinimalSelection(_0x29267f,_0x260fcc,_0x389f31){const _0x411991=_0xddd2,_0x4d8683=_0x29267f[_0x411991(0x1d8)][_0x411991(0x1cd)](_0x411991(0x1cc));let _0x142cd0=_0x29267f[_0x411991(0x1e2)][_0x411991(0x1da)](_0x389f31,Number[_0x411991(0x1c4)]),_0x3a4264=_0x29267f[_0x411991(0x1e2)][_0x411991(0x1da)](_0x389f31,0x0);for(const _0x145fa8 of _0x260fcc){let _0x2fae02,_0x4ecfad;if(_0x4d8683[_0x411991(0x1f6)](_0x145fa8))_0x2fae02=_0x145fa8[_0x411991(0x1fc)][_0x411991(0x1e8)],_0x4ecfad=_0x145fa8[_0x411991(0x1fc)][_0x411991(0x219)];else switch(_0x142cd0=_0x142cd0[_0x411991(0x1fa)](_0x145fa8),_0x3a4264=_0x3a4264[_0x411991(0x1fa)](_0x145fa8),_0x145fa8[_0x411991(0x1c8)]){case _0x411991(0x1b9):_0x2fae02=_0x145fa8[_0x411991(0x211)],_0x4ecfad=_0x2fae02[_0x411991(0x1ba)](0x1);break;case _0x411991(0x203):case _0x411991(0x1fd):case _0x411991(0x1d5):_0x2fae02=_0x145fa8[_0x411991(0x1d0)][_0x411991(0x1e8)],_0x4ecfad=_0x145fa8[_0x411991(0x1d0)][_0x411991(0x219)];break;case _0x411991(0x1f7):_0x2fae02=_0x145fa8[_0x411991(0x211)],_0x4ecfad=_0x2fae02[_0x411991(0x1ba)](_0x145fa8[_0x411991(0x1ee)]);break;case _0x411991(0x21f):_0x2fae02=_0x145fa8[_0x411991(0x206)],_0x4ecfad=_0x145fa8[_0x411991(0x21b)];break;case _0x411991(0x218):{const _0x3e8cce=_0x145fa8[_0x411991(0x1e7)][_0x411991(0x210)][_0x411991(0x1ed)](0x0,-0x1);_0x2fae02=_0x29267f[_0x411991(0x1e2)][_0x411991(0x1c3)](_0x389f31,_0x3e8cce),_0x4ecfad=_0x2fae02[_0x411991(0x1ba)](0x1);break;}case _0x411991(0x201):{const _0x1c9f3b=_0x145fa8[_0x411991(0x1ee)],_0x1080fd=_0x145fa8[_0x411991(0x1f8)][_0x411991(0x1ec)](_0x145fa8[_0x411991(0x1e7)],_0x1c9f3b),_0x5a3fea=_0x145fa8[_0x411991(0x1e9)]();_0x411991(0x201)==_0x145fa8[_0x411991(0x1c8)]?(_0x2fae02=_0x1080fd,_0x4ecfad=_0x1080fd):(_0x2fae02=_0x5a3fea,_0x4ecfad=_0x5a3fea[_0x411991(0x1ba)](_0x1c9f3b));break;}}_0x2fae02&&_0x2fae02[_0x411991(0x1ea)](_0x142cd0)&&(_0x142cd0=_0x2fae02[_0x411991(0x1be)](),_0x142cd0[_0x411991(0x21c)]=_0x411991(0x1bf)),_0x4ecfad&&_0x4ecfad[_0x411991(0x1b8)](_0x3a4264)&&(_0x3a4264=_0x4ecfad[_0x411991(0x1be)](),_0x3a4264[_0x411991(0x21c)]=_0x411991(0x1bf));}return _0x29267f[_0x411991(0x1e2)][_0x411991(0x1eb)](_0x29267f[_0x411991(0x1e2)][_0x411991(0x1e5)](_0x142cd0,_0x3a4264));}export function expandSelectionWithContext(_0x4932b3,_0x23e484){const _0x149197=_0xddd2;so(_0x4932b3,_0x23e484,_0x149197(0x226));const _0xdeb46b=_0x23e484[_0x149197(0x20f)]();_0x23e484[_0x149197(0x1bc)]([]),_0x23e484[_0x149197(0x1bc)](_0xdeb46b,{'backward':!0x0}),so(_0x4932b3,_0x23e484,_0x149197(0x1dc));}function _0x1bcf(){const _0x28c16c=['offset','markers','word','removed','marker','getMinimalFlatRanges','isMarkedRemoveOperation','insert','sourcePosition','name','getTransformedByOperation','batch','newRange','removeAttribute','parse','addOperation','length','remove','cloneNode','addAttribute','oldName','root','splitPosition','change','children','stringify','reverse','changes','$text','SuggestionsConversion','suggestion:formatBlock:$fakeWrap:','getFirstRange','path','position',':$aiSuggestion','19860XernCB','getDiff','createRangeOn','1576590TCVxpz','focus','merge','end','newValue','moveTargetPosition','stickiness','isObject','11830LdMGrO','split','$root','schema','applyOperation','18JMptDd','_getTransformedByDeletion','delete','forward','nodeAfter','...','index','144qKzIkG','isBlock','isRegisteredAttribute','isAfter','rename','getShiftedBy','map','setTo','add','clone','toNone','suggestion:insertion:','new','oldValue','createPositionFromPath','POSITIVE_INFINITY','nodeBefore','baseVersion','775160BIfPrr','type','modifySelection','set','node','DocumentCompare','get','move','push','range','suggestion:deletion:','key','data-id','textNode','changeAttribute','newName','isDocumentOperation','plugins','368526kcsjEO','createPositionAt','1cdpvpy','backward','1459440eYLTqM','171759NLYFAn','data','_createFromRanges','getOperations','model','parent','$elementName','createRange','suggestion:attribute:','targetPosition','start','getMovedRangeStart','isBefore','createSelection','_getTransformedByInsertion','slice','howMany','element'];_0x1bcf=function(){return _0x28c16c;};return _0x1bcf();}function so(_0x592256,_0x2ba8a4,_0x1da9d2){const _0x2e0a8a=_0xddd2;let _0x492cf0=0x14;for(;_0x492cf0;){_0x592256[_0x2e0a8a(0x1c9)](_0x2ba8a4,{'unit':_0x2e0a8a(0x1f2),'direction':_0x1da9d2}),_0x492cf0--;const _0x405c29=_0x2ba8a4[_0x2e0a8a(0x217)][_0x2e0a8a(0x226)==_0x1da9d2?_0x2e0a8a(0x1c5):_0x2e0a8a(0x227)];if(_0x405c29&&_0x405c29['is'](_0x2e0a8a(0x1ef))&&_0x592256[_0x2e0a8a(0x221)][_0x2e0a8a(0x22b)](_0x405c29)&&_0x592256[_0x2e0a8a(0x221)][_0x2e0a8a(0x21d)](_0x405c29))break;}}export function _transformMarkersByDeletion(_0x3bf543,_0x1d8ea4){const _0xb2e351=_0xddd2;for(const [_0x39e2db,_0x5e9fb3]of _0x3bf543[_0xb2e351(0x1f1)]){const _0x2a4bcb=_0x5e9fb3[_0xb2e351(0x224)](_0x1d8ea4[_0xb2e351(0x1e8)],_0x1d8ea4[_0xb2e351(0x219)][_0xb2e351(0x1f0)]-_0x1d8ea4[_0xb2e351(0x1e8)][_0xb2e351(0x1f0)]);null!=_0x2a4bcb?_0x3bf543[_0xb2e351(0x1f1)][_0xb2e351(0x1ca)](_0x39e2db,_0x2a4bcb):_0x3bf543[_0xb2e351(0x1f1)][_0xb2e351(0x225)](_0x39e2db);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1c0d24,_0x173e79){const _0x789c71=_0xb539,_0xe5dd7c=_0x1c0d24();while(!![]){try{const _0x36dc70=parseInt(_0x789c71(0xd0))/0x1+-parseInt(_0x789c71(0xcb))/0x2+-parseInt(_0x789c71(0xbe))/0x3+-parseInt(_0x789c71(0xc5))/0x4+-parseInt(_0x789c71(0xc6))/0x5+parseInt(_0x789c71(0xc9))/0x6*(-parseInt(_0x789c71(0xc8))/0x7)+-parseInt(_0x789c71(0xc3))/0x8*(-parseInt(_0x789c71(0xca))/0x9);if(_0x36dc70===_0x173e79)break;else _0xe5dd7c['push'](_0xe5dd7c['shift']());}catch(_0x3c43e5){_0xe5dd7c['push'](_0xe5dd7c['shift']());}}}(_0x6bc4,0xe0d6c));import{parseDocument as _0x326a0d}from'htmlparser2';import{append as _0x1291cf,appendChild as _0xe38948,find as _0x20fdc7,findAll as _0x33a20e,findOne as _0x51c0cc,getChildren as _0x177ab5,isComment as _0x3baefb,isTag as _0x1336a8,prepend as _0x5daf8e,prependChild as _0xe26c1,removeElement as _0x399542,replaceElement as _0x507491,textContent as _0x37475d,getParent as _0x279d8c,hasChildren as _0x20dd32}from'domutils';import _0x3e45c8 from'dom-serializer';import{cloneNode as _0x4dc55b,isDocument as _0x731891,isText as _0x1f6e76,Element as _0x246904,Text as _0x461860,Document as _0x211af3,NodeWithChildren as _0x4e270b}from'domhandler';export{_0x4dc55b as cloneNode,_0x20fdc7 as find,_0x51c0cc as findOne,_0x33a20e as findAll,_0x177ab5 as getChildren,_0x279d8c as getParent,_0x3baefb as isComment,_0x731891 as isDocument,_0x1336a8 as isTag,_0x1f6e76 as isText,_0x1291cf as append,_0xe38948 as appendChild,_0x5daf8e as prepend,_0xe26c1 as prependChild,_0x3e45c8 as render,_0x399542 as removeElement,_0x507491 as replaceElement,_0x37475d as textContent,_0x20dd32 as hasChildren,_0x246904 as Element,_0x211af3 as Document,_0x4e270b as NodeWithChildren,_0x461860 as Text};function _0x6bc4(){const _0x3e65bd=['indexOf','6546352LoMpeS','4508490iamtFh','attribs','2114VLAWXi','26844hADhoX','414kLAHYY','450158CttRgQ','afterbegin','push','slice','cloneNode','1635026yKPtcw','forEach','afterend','replace','nextSibling','map','1678035XQqmHV','reverse','beforeend','beforebegin','parentNode','688656TjkUwy'];_0x6bc4=function(){return _0x3e65bd;};return _0x6bc4();}export function parse(_0x39a04c){return _0x326a0d(_0x39a04c);}export function serialize(_0x5f0ace){return _0x3e45c8(_0x5f0ace);}export function findByAttribute(_0x32453f,_0x449858,_0x32a2f8){const _0x1b10c0=_0xb539,_0x16d098=null!==_0x449858?_0x54997b=>_0x54997b[_0x1b10c0(0xc7)][_0x32453f]===_0x449858:_0x538a0d=>Boolean(_0x538a0d[_0x1b10c0(0xc7)][_0x32453f]);return _0x51c0cc(_0x4b80a1=>_0x1336a8(_0x4b80a1)&&_0x16d098(_0x4b80a1),_0x32a2f8);}export function findAllByAttribute(_0x35a7c2,_0x509714,_0x1491cb){const _0x4fa0a2=_0xb539,_0x4b2550=null!==_0x509714?_0x3bca7f=>_0x3bca7f[_0x4fa0a2(0xc7)][_0x35a7c2]===_0x509714:_0x57110e=>Boolean(_0x57110e[_0x4fa0a2(0xc7)][_0x35a7c2]);return _0x33a20e(_0xc4093e=>_0x1336a8(_0xc4093e)&&_0x4b2550(_0xc4093e),_0x1491cb);}export function findAllComments(_0x8300e3){return _0x20fdc7(_0x3877ae=>_0x3baefb(_0x3877ae),_0x8300e3,!0x0,0x1/0x0);}export function getAttribute(_0x2f4a14,_0x3bc652){const _0x2cdc69=_0xb539;return _0x2f4a14&&_0x1336a8(_0x2f4a14)?_0x2f4a14[_0x2cdc69(0xc7)][_0x3bc652]:null;}export function setAttribute(_0x21c310,_0x19a81c,_0x520656){const _0x3eb4c7=_0xb539;_0x1336a8(_0x21c310)&&(null===_0x520656?delete _0x21c310[_0x3eb4c7(0xc7)][_0x19a81c]:_0x21c310[_0x3eb4c7(0xc7)][_0x19a81c]=_0x520656);}export function insertElement(_0x39d946,_0x4acedd,_0x101138){const _0x42bd0c=_0xb539,_0x10e3cb=_0x4acedd[_0x42bd0c(0xcf)](!0x0);_0x42bd0c(0xc1)===_0x101138?_0x5daf8e(_0x39d946,_0x10e3cb):_0x42bd0c(0xcc)===_0x101138?_0xe26c1(_0x39d946,_0x10e3cb):_0x42bd0c(0xc0)===_0x101138?_0xe38948(_0x39d946,_0x10e3cb):_0x42bd0c(0xba)===_0x101138&&_0x1291cf(_0x39d946,_0x10e3cb);}export function moveElement(_0x4b2b65,_0x120701){_0x399542(_0x4b2b65),_0x507491(_0x120701,_0x4b2b65);}export function clone(_0x42f533){const _0x398e11=_0xb539;return _0x42f533[_0x398e11(0xcf)](!0x0);}export function getParents(_0xd69d51){const _0x3d20f9=_0xb539,_0x44a765=[];let _0x8a52cc=_0xd69d51;for(;_0x8a52cc;)_0x8a52cc=_0x279d8c(_0x8a52cc),_0x8a52cc&&_0x44a765[_0x3d20f9(0xcd)](_0x8a52cc);return _0x44a765;}function _0xb539(_0x5b454e,_0x3c2630){const _0x6bc497=_0x6bc4();return _0xb539=function(_0xb539a6,_0x7147f9){_0xb539a6=_0xb539a6-0xba;let _0x483fc4=_0x6bc497[_0xb539a6];return _0x483fc4;},_0xb539(_0x5b454e,_0x3c2630);}export function normalizeHTML(_0x1a0a9d){const _0x120460=_0xb539;return _0x1a0a9d[_0x120460(0xbb)](/^\s+/gm,'')[_0x120460(0xbb)](/\s+$/gm,'')[_0x120460(0xbb)](/\n*/g,'')[_0x120460(0xbb)](/\s+/g,'\x20')[_0x120460(0xbb)](/>\s*</g,'><');}export function areNodesSame(_0x38e113,_0x30db6d){return normalizeHTML(serialize(_0x38e113))===normalizeHTML(serialize(_0x30db6d));}export function getNodeNestingLevel(_0x16c8fe){const _0x369ab3=_0xb539;let _0xad0d1=0x0;for(;_0x16c8fe[_0x369ab3(0xc2)];)_0x16c8fe=_0x16c8fe[_0x369ab3(0xc2)],_0xad0d1++;return _0xad0d1;}export function removeElementsAfter(_0x1b072f){const _0x916ab=_0xb539,_0x13a35a=[];let _0x46210=_0x1b072f[_0x916ab(0xbc)];for(;_0x46210;)_0x13a35a[_0x916ab(0xcd)](_0x46210),_0x46210=_0x46210[_0x916ab(0xbc)];_0x13a35a[_0x916ab(0xd1)](_0x541060=>{_0x399542(_0x541060);});}export function getNodePath(_0x5e5c61){const _0x416c05=_0xb539;return[_0x5e5c61,...getParents(_0x5e5c61)][_0x416c05(0xce)](0x0,-0x1)[_0x416c05(0xbd)](_0x1a60d4=>{const _0x25a334=_0x416c05,_0x5be576=_0x279d8c(_0x1a60d4);return _0x177ab5(_0x5be576)[_0x25a334(0xc4)](_0x1a60d4);})[_0x416c05(0xbf)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x237c(_0x2fee02,_0xdff5d7){const _0x153bf5=_0x153b();return _0x237c=function(_0x237c04,_0x1efd15){_0x237c04=_0x237c04-0x12b;let _0x4dc732=_0x153bf5[_0x237c04];return _0x4dc732;},_0x237c(_0x2fee02,_0xdff5d7);}const _0x3bc5c3=_0x237c;(function(_0x2ca517,_0xcd17a1){const _0x47c9e4=_0x237c,_0xa5289d=_0x2ca517();while(!![]){try{const _0x4a61a8=parseInt(_0x47c9e4(0x134))/0x1+parseInt(_0x47c9e4(0x150))/0x2*(-parseInt(_0x47c9e4(0x140))/0x3)+parseInt(_0x47c9e4(0x162))/0x4+parseInt(_0x47c9e4(0x13c))/0x5*(parseInt(_0x47c9e4(0x14b))/0x6)+parseInt(_0x47c9e4(0x14d))/0x7+-parseInt(_0x47c9e4(0x156))/0x8*(-parseInt(_0x47c9e4(0x12f))/0x9)+-parseInt(_0x47c9e4(0x15d))/0xa;if(_0x4a61a8===_0xcd17a1)break;else _0xa5289d['push'](_0xa5289d['shift']());}catch(_0xf9fcf9){_0xa5289d['push'](_0xa5289d['shift']());}}}(_0x153b,0x75054));import _0xa9221a from'morphdom';import{NodeWithChildren as _0x3013ba,Text as _0x50bc2b,Element as _0x1c543e,isText as _0xac85f9,isDocument as _0x5a38f7,isTag as _0x40c225,cloneNode as _0x4b74b0,getChildren as _0x39e3c1,prepend as _0x1dd53d,removeElement as _0x3dfef3,textContent as _0x5ee644,render as _0x405ceb}from'./htmlparser.js';import{logWarning as _0x4e8674}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x3bc5c3(0x133)];[_0x3bc5c3(0x131)]=!0x1;[_0x3bc5c3(0x161)]=null;[_0x3bc5c3(0x155)]=[];[_0x3bc5c3(0x153)]=0x0;[_0x3bc5c3(0x143)]=null;constructor(_0x338aa7){const _0x15f189=_0x3bc5c3;this[_0x15f189(0x133)]={'delay':_0x338aa7[_0x15f189(0x157)]??0x14,'textNodeStyle':_0x338aa7[_0x15f189(0x12d)],'onStreamUpdate':_0x338aa7[_0x15f189(0x137)]||(()=>{})};}async[_0x3bc5c3(0x144)]({document:_0x4c2224,targetElement:_0x9a4db6,abortSignal:_0x2513bc}){const _0x24d510=_0x3bc5c3;this[_0x24d510(0x131)]&&this[_0x24d510(0x135)](),_0x2513bc?.[_0x24d510(0x12b)](_0x24d510(0x139),this[_0x24d510(0x135)][_0x24d510(0x149)](this)),this[_0x24d510(0x161)]=_0x4b74b0(_0x4c2224,!0x0),this[_0x24d510(0x155)]=this[_0x24d510(0x167)](),this[_0x24d510(0x131)]=!0x0,this[_0x24d510(0x153)]>this[_0x24d510(0x155)][_0x24d510(0x151)]&&(_0x4e8674(_0x24d510(0x12c),{'currentIndex':this[_0x24d510(0x153)],'nodeList':this[_0x24d510(0x155)]}),this[_0x24d510(0x153)]=this[_0x24d510(0x155)][_0x24d510(0x151)]);for(let _0x110969=0x0;_0x110969<this[_0x24d510(0x153)];_0x110969++)this[_0x24d510(0x155)][_0x110969][_0x24d510(0x159)]=!0x0;let _0x5dbffd=0x0;for(let _0x4019b8=this[_0x24d510(0x153)];_0x4019b8<this[_0x24d510(0x155)][_0x24d510(0x151)];_0x4019b8++){const _0x30a5db=Date[_0x24d510(0x12e)](),_0x4a5036=this[_0x24d510(0x155)][_0x4019b8],_0x4005b4=_0x30a5db-_0x5dbffd;_0x4a5036[_0x24d510(0x159)]=!0x0;let _0x1f3bfe=_0x4a5036[_0x24d510(0x15b)];for(;_0x1f3bfe;)_0x1f3bfe[_0x24d510(0x159)]=!0x0,_0x1f3bfe=_0x1f3bfe[_0x24d510(0x15b)];if(_0x4005b4<this[_0x24d510(0x133)][_0x24d510(0x157)])try{const {promise:_0x21a4a9,abortController:_0x407fd2}=pr(this[_0x24d510(0x133)][_0x24d510(0x157)]-_0x4005b4);this[_0x24d510(0x143)]=_0x407fd2,await _0x21a4a9;}catch(_0x1f2b54){return;}_0xa9221a(_0x9a4db6,'<'+_0x9a4db6[_0x24d510(0x13f)]+'>'+this[_0x24d510(0x130)](this[_0x24d510(0x161)])+'</'+_0x9a4db6[_0x24d510(0x13f)]+'>',{'childrenOnly':!0x0}),this[_0x24d510(0x133)][_0x24d510(0x137)]&&this[_0x24d510(0x133)][_0x24d510(0x137)](),this[_0x24d510(0x153)]=_0x4019b8,_0x5dbffd=Date[_0x24d510(0x12e)]();}this[_0x24d510(0x131)]=!0x1;}[_0x3bc5c3(0x146)]({targetElement:_0x4ef908}){const _0x9e79a2=_0x3bc5c3;Array[_0x9e79a2(0x152)](_0x4ef908[_0x9e79a2(0x15a)](_0x9e79a2(0x158)))[_0x9e79a2(0x13d)]()[_0x9e79a2(0x147)](_0x5bb099=>{const _0x5a98c=_0x9e79a2;_0x5bb099[_0x5a98c(0x132)](_0x5bb099[_0x5a98c(0x148)][0x0]);});}[_0x3bc5c3(0x135)](){const _0x5f3e1b=_0x3bc5c3;this[_0x5f3e1b(0x131)]=!0x1,this[_0x5f3e1b(0x143)]&&(this[_0x5f3e1b(0x143)][_0x5f3e1b(0x139)](),this[_0x5f3e1b(0x143)]=null);}[_0x3bc5c3(0x130)](_0x538121){const _0xd2c359=_0x3bc5c3;let _0x5ab21f='';if(function(_0x3c3a5f){return _0x5a38f7(_0x3c3a5f);}(_0x538121)){for(const _0x4d6b12 of _0x538121[_0xd2c359(0x154)])_0x5ab21f+=this[_0xd2c359(0x130)](_0x4d6b12);}else{if(dr(_0x538121)){if(!_0x538121[_0xd2c359(0x159)])return'';const _0x1d67de=_0x538121,_0x3ee046=Object[_0xd2c359(0x13e)](_0x1d67de[_0xd2c359(0x142)])[_0xd2c359(0x138)](([_0x507224,_0x3a91a8])=>_0x507224+'=\x22'+_0x3a91a8+'\x22')[_0xd2c359(0x14f)]('\x20');_0x5ab21f+='<'+_0x1d67de[_0xd2c359(0x13f)]+(_0x3ee046?'\x20'+_0x3ee046:'')+'>';for(const _0xd2f19a of _0x39e3c1(_0x1d67de))_0x5ab21f+=this[_0xd2c359(0x130)](_0xd2f19a);_0x5ab21f+='</'+_0x1d67de[_0xd2c359(0x13f)]+'>';}else{if(!ar(_0x538121))return'';if(!_0x538121[_0xd2c359(0x159)])return'';!function(_0x1397b5){const _0x565f0b=_0xd2c359;if(!_0x1397b5[_0x565f0b(0x15b)]||!dr(_0x1397b5[_0x565f0b(0x15b)]))return!0x1;if(!cr[_0x565f0b(0x13a)](_0x1397b5[_0x565f0b(0x15b)][_0x565f0b(0x13f)]))return!0x1;return!_0x5ee644(_0x1397b5)[_0x565f0b(0x145)](/^\s*[<>]\s*$/);}(_0x538121)?_0x5ab21f+=_0x405ceb(_0x538121):_0x5ab21f+=_0x405ceb(new _0x1c543e(_0xd2c359(0x14e),{'data-ck-html-streamer-word-chunk':'','style':this[_0xd2c359(0x133)][_0xd2c359(0x12d)]},[_0x538121]));}}return _0x5ab21f;}[_0x3bc5c3(0x167)](){const _0x516c5d=_0x3bc5c3,_0x528491=[];return function(_0x57d310,_0x46e62a){const _0x4ce67f=_0x237c,_0x1ac712=_0x4c0c08=>{const _0x374d8b=_0x237c;if(_0x46e62a(_0x4c0c08),_0x4c0c08 instanceof _0x3013ba)for(let _0x138f9b=0x0;_0x138f9b<_0x4c0c08[_0x374d8b(0x154)][_0x374d8b(0x151)];_0x138f9b++){const _0x296f14=_0x4c0c08[_0x374d8b(0x154)][_0x138f9b];_0x1ac712(_0x296f14);}};for(let _0x40fecb=0x0;_0x40fecb<_0x57d310[_0x4ce67f(0x154)][_0x4ce67f(0x151)];_0x40fecb++)_0x1ac712(_0x57d310[_0x4ce67f(0x154)][_0x40fecb]);}(this[_0x516c5d(0x161)],_0x16ad87=>{const _0x5b1eae=_0x516c5d;if(ar(_0x16ad87)){const _0x2f4a96=this[_0x5b1eae(0x166)](_0x16ad87);_0x2f4a96[_0x5b1eae(0x151)]&&_0x528491[_0x5b1eae(0x14a)](..._0x2f4a96);}_0x16ad87[_0x5b1eae(0x163)]||_0x16ad87[_0x5b1eae(0x165)]||_0x528491[_0x5b1eae(0x14a)](_0x16ad87);}),_0x528491;}[_0x3bc5c3(0x166)](_0x45768a){const _0x35b9a5=_0x3bc5c3;if(_0x45768a[_0x35b9a5(0x163)]||_0x45768a[_0x35b9a5(0x165)])return[];const _0x318650=_0x5ee644(_0x45768a)[_0x35b9a5(0x145)](/(?:\s*\S+\s*)/g),_0x145ebe=[];if(_0x318650&&_0x318650[_0x35b9a5(0x151)]>0x1){for(const _0x2ff516 of _0x318650){const _0x4228c0=new _0x50bc2b(_0x2ff516);_0x4228c0[_0x35b9a5(0x165)]=!0x0,_0x1dd53d(_0x45768a,_0x4228c0),_0x145ebe[_0x35b9a5(0x14a)](_0x4228c0);}_0x45768a[_0x35b9a5(0x163)]=!0x0,_0x3dfef3(_0x45768a);}return _0x145ebe;}}const cr=['p','li','td','th',_0x3bc5c3(0x14e),'h1','h2','h3','h4','h5','h6','b',_0x3bc5c3(0x141),'i','em',_0x3bc5c3(0x14c),_0x3bc5c3(0x160),_0x3bc5c3(0x164),_0x3bc5c3(0x15e),_0x3bc5c3(0x15c),'a',_0x3bc5c3(0x13b),_0x3bc5c3(0x136)];function _0x153b(){const _0x1eef29=['entries','tagName','3bPoNPp','strong','attribs','timeoutAbortController','stream','match','cleanUpAnimations','forEach','childNodes','bind','push','34326hRlTUS','mark','2508317MAFdeD','span','join','1379230apMhAH','length','from','currentIndex','children','nodesList','8YmONGZ','delay','span[data-ck-html-streamer-word-chunk]','shouldBeStreamed','querySelectorAll','parent','sub','19388450VRXuSp','sup','signal','del','document','3625372WgQNWt','isWordSplitSource','ins','isWordSplitResult','splitTextNodeIntoWordNodes','getParsedDocumentNodeList','addEventListener','ai-html-streamer-current-index-out-of-bounds','textNodeStyle','now','6447051yVRMXJ','renderNode','isStreaming','replaceWith','options','354428PvHUDH','stop','div','onStreamUpdate','map','abort','includes','code','675ESjFrd','reverse'];_0x153b=function(){return _0x1eef29;};return _0x153b();}function ar(_0x486e15){return _0xac85f9(_0x486e15);}function dr(_0x853482){return _0x40c225(_0x853482);}function pr(_0x195a4c){const _0x39e6e8=new AbortController();return{'promise':new Promise((_0x19321c,_0x1a33ef)=>{const _0x2ef295=_0x237c,_0x595767=setTimeout(_0x19321c,_0x195a4c);_0x39e6e8[_0x2ef295(0x15f)][_0x2ef295(0x12b)](_0x2ef295(0x139),()=>{clearTimeout(_0x595767),_0x1a33ef();});}),'abortController':_0x39e6e8};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x59ff(_0x586873,_0x8af325){const _0x130f1d=_0x130f();return _0x59ff=function(_0x59ff81,_0x27ef09){_0x59ff81=_0x59ff81-0x7c;let _0x5c9750=_0x130f1d[_0x59ff81];return _0x5c9750;},_0x59ff(_0x586873,_0x8af325);}const _0x5c9cb6=_0x59ff;(function(_0x3ea51e,_0x4d314e){const _0x4b8e20=_0x59ff,_0x436211=_0x3ea51e();while(!![]){try{const _0x176eb4=parseInt(_0x4b8e20(0x95))/0x1+parseInt(_0x4b8e20(0x87))/0x2*(parseInt(_0x4b8e20(0xa3))/0x3)+-parseInt(_0x4b8e20(0x88))/0x4+-parseInt(_0x4b8e20(0x8a))/0x5+parseInt(_0x4b8e20(0x89))/0x6*(parseInt(_0x4b8e20(0xa5))/0x7)+parseInt(_0x4b8e20(0x96))/0x8+-parseInt(_0x4b8e20(0x8b))/0x9;if(_0x176eb4===_0x4d314e)break;else _0x436211['push'](_0x436211['shift']());}catch(_0x2aed9b){_0x436211['push'](_0x436211['shift']());}}}(_0x130f,0xbfd00));const As=[_0x5c9cb6(0x9f),_0x5c9cb6(0x82),_0x5c9cb6(0x7d),_0x5c9cb6(0x93)],Fs=[_0x5c9cb6(0x8e),_0x5c9cb6(0x91),_0x5c9cb6(0x86),_0x5c9cb6(0x8f),_0x5c9cb6(0xa2),_0x5c9cb6(0x99),'\x20'];export class ScrollManager{[_0x5c9cb6(0x94)];[_0x5c9cb6(0x90)];[_0x5c9cb6(0x84)];[_0x5c9cb6(0x97)];[_0x5c9cb6(0x7e)];constructor(_0x159c64){const _0x18bfe8=_0x5c9cb6;this[_0x18bfe8(0x94)]=_0x159c64,this[_0x18bfe8(0x90)]=null,this[_0x18bfe8(0x84)]=!0x1,this[_0x18bfe8(0x97)]=new AbortController(),this[_0x18bfe8(0x7e)]=!0x1;for(const _0x23be4b of As){const _0x3e32f9=_0x18bfe8(0x93)!==_0x23be4b;this[_0x18bfe8(0x94)][_0x18bfe8(0x9a)](_0x23be4b,this[_0x18bfe8(0x9c)][_0x18bfe8(0xa0)](this),{'passive':_0x3e32f9,'signal':this[_0x18bfe8(0x97)][_0x18bfe8(0x85)]});}}[_0x5c9cb6(0x8d)](){const _0x8c524b=_0x5c9cb6;this[_0x8c524b(0x84)]||(this[_0x8c524b(0x84)]=!0x0,this[_0x8c524b(0x7e)]=!0x1,this[_0x8c524b(0x90)]=requestAnimationFrame(this[_0x8c524b(0xa4)][_0x8c524b(0xa0)](this)));}[_0x5c9cb6(0x92)](){requestAnimationFrame(()=>{const _0x3391f9=_0x59ff;this[_0x3391f9(0x9b)]();});}[_0x5c9cb6(0x9d)](){const _0x5558e6=_0x5c9cb6;this[_0x5558e6(0x9b)](),this[_0x5558e6(0x97)][_0x5558e6(0x80)]();}[_0x5c9cb6(0x9b)](){const _0x116be2=_0x5c9cb6;null!==this[_0x116be2(0x90)]&&(cancelAnimationFrame(this[_0x116be2(0x90)]),this[_0x116be2(0x90)]=null),this[_0x116be2(0x84)]&&(this[_0x116be2(0x84)]=!0x1),this[_0x116be2(0x7e)]=!0x1;}[_0x5c9cb6(0x9c)](_0x16eae8){const _0x44103e=_0x5c9cb6;if(this[_0x44103e(0x84)]){if(_0x44103e(0x93)===_0x16eae8[_0x44103e(0x83)]){const _0xcca376=_0x16eae8[_0x44103e(0x7f)];if(!Fs[_0x44103e(0x81)](_0xcca376))return;}_0x16eae8 instanceof WheelEvent?_0x16eae8[_0x44103e(0xa1)]<0x0?this[_0x44103e(0x7e)]=!0x0:this[_0x44103e(0x7e)]=!this[_0x44103e(0x9e)]():this[_0x44103e(0x7e)]=!0x0;}}[_0x5c9cb6(0x9e)](){const _0x32207e=_0x5c9cb6,{scrollTop:_0x5c2d19,scrollHeight:_0xf1a30,clientHeight:_0x580e51}=this[_0x32207e(0x94)];return _0xf1a30-_0x5c2d19-_0x580e51<=0x5;}[_0x5c9cb6(0xa4)](){const _0x342e66=_0x5c9cb6;this[_0x342e66(0x84)]&&(this[_0x342e66(0x7e)]||this[_0x342e66(0x94)][_0x342e66(0x8c)]({'top':this[_0x342e66(0x94)][_0x342e66(0x98)],'behavior':_0x342e66(0x7c)}),this[_0x342e66(0x90)]=requestAnimationFrame(this[_0x342e66(0xa4)][_0x342e66(0xa0)](this)));}}function _0x130f(){const _0x2dc6df=['PageUp','14PXXcGf','120344Kohprc','30zxXnXm','2348380TLaJqN','20283183uXZGLg','scrollTo','start','ArrowUp','PageDown','animationFrameId','ArrowDown','stop','keydown','element','259958BTZvHX','12200912PuifnR','abortController','scrollHeight','End','addEventListener','_stop','_onUserEvent','destroy','_isAtBottom','wheel','bind','deltaY','Home','239874glaKKo','_rafUpdate','1672069kQcPMI','auto','pointerdown','isUserPaused','key','abort','includes','touchstart','type','isRunning','signal'];_0x130f=function(){return _0x2dc6df;};return _0x130f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2464ee=_0x4e3a;(function(_0x2105ba,_0x377415){var _0x316a27=_0x4e3a,_0x1985c6=_0x2105ba();while(!![]){try{var _0xe28bbc=parseInt(_0x316a27(0x129))/0x1*(-parseInt(_0x316a27(0x124))/0x2)+-parseInt(_0x316a27(0x126))/0x3+-parseInt(_0x316a27(0x128))/0x4*(-parseInt(_0x316a27(0x127))/0x5)+-parseInt(_0x316a27(0x12e))/0x6*(parseInt(_0x316a27(0x122))/0x7)+parseInt(_0x316a27(0x11e))/0x8*(parseInt(_0x316a27(0x120))/0x9)+parseInt(_0x316a27(0x121))/0xa*(-parseInt(_0x316a27(0x12c))/0xb)+-parseInt(_0x316a27(0x12d))/0xc*(-parseInt(_0x316a27(0x125))/0xd);if(_0xe28bbc===_0x377415)break;else _0x1985c6['push'](_0x1985c6['shift']());}catch(_0x4905ac){_0x1985c6['push'](_0x1985c6['shift']());}}}(_0x20b1,0xe4d12));function _0x20b1(){var _0x3829b1=['1020lqecEo','124998ICRjbH','isPremiumPlugin','3562344xpKtnN','pluginName','27mYfmJP','4307790ETZecK','511BVCzFY','requires','522SKMJuo','473395aqrPtV','1816332LfENgQ','781025UFmFaM','36RmAIAG','5675fsSYEP','isOfficialPlugin','AIEditorIntegration','33HmwpBu'];_0x20b1=function(){return _0x3829b1;};return _0x20b1();}import{Plugin as _0x450aa1}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x5d2c29}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x1a26ca}from'@ckeditor/ckeditor5-collaboration-core';function _0x4e3a(_0xb0b434,_0x9b75cf){var _0x20b1e9=_0x20b1();return _0x4e3a=function(_0x4e3a73,_0x1b1f75){_0x4e3a73=_0x4e3a73-0x11e;var _0x448f08=_0x20b1e9[_0x4e3a73];return _0x448f08;},_0x4e3a(_0xb0b434,_0x9b75cf);}export class AIEditorIntegration extends _0x450aa1{static get[_0x2464ee(0x123)](){return[_0x5d2c29,_0x1a26ca];}static get[_0x2464ee(0x11f)](){var _0x415ded=_0x2464ee;return _0x415ded(0x12b);}static get[_0x2464ee(0x12a)](){return!0x0;}static get[_0x2464ee(0x12f)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x519906=_0x3532;(function(_0xeec21d,_0x2dc2b2){const _0x52d4eb=_0x3532,_0x3c4556=_0xeec21d();while(!![]){try{const _0x4fa236=-parseInt(_0x52d4eb(0x150))/0x1+parseInt(_0x52d4eb(0x137))/0x2+parseInt(_0x52d4eb(0x14c))/0x3*(parseInt(_0x52d4eb(0x140))/0x4)+-parseInt(_0x52d4eb(0x14d))/0x5+-parseInt(_0x52d4eb(0x149))/0x6*(parseInt(_0x52d4eb(0x134))/0x7)+-parseInt(_0x52d4eb(0x153))/0x8*(parseInt(_0x52d4eb(0x152))/0x9)+-parseInt(_0x52d4eb(0x154))/0xa;if(_0x4fa236===_0x2dc2b2)break;else _0x3c4556['push'](_0x3c4556['shift']());}catch(_0x1db41c){_0x3c4556['push'](_0x3c4556['shift']());}}}(_0x569d,0x9b3cc));import{Plugin as _0x2a5045}from'ckeditor5/src/core.js';function _0x3532(_0x24868b,_0x1f2b8a){const _0x569d87=_0x569d();return _0x3532=function(_0x3532bd,_0x2205b9){_0x3532bd=_0x3532bd-0x133;let _0x1c4ccd=_0x569d87[_0x3532bd];return _0x1c4ccd;},_0x3532(_0x24868b,_0x1f2b8a);}function _0x569d(){const _0x292c0d=['14348dlSQFS','value','bind','isOfficialPlugin','execute','ck-ai-toggle-button','pluginName','AIToggleButtonUI','menuBar:toggleAi','6DVcGCX','init','isPremiumPlugin','930gZwTgi','213195fxBVss','_createAIUIButton','set','393290OWyDrV','isEnabled','7034031TryBvQ','8TvKpyW','3675090rRuIDp','AI_TOGGLE_BUTTON_LABEL','locale','324541pooYmB','isOn','componentFactory','2310484paHgta','requires','get','listenTo','menuitemcheckbox','editor','commands','add','toggleAi'];_0x569d=function(){return _0x292c0d;};return _0x569d();}import{ToggleAICommand as _0x35e03b}from'./toggleaicommand.js';import{ButtonView as _0x12a03c,MenuBarMenuListItemButtonView as _0x42dab3}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x334325}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5c573a}from'../../aicore/utils/common-translations.js';import{AITabs as _0x11b6c3}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x2a5045{static get[_0x519906(0x138)](){return[_0x11b6c3];}static get[_0x519906(0x146)](){const _0x4689ba=_0x519906;return _0x4689ba(0x147);}static get[_0x519906(0x143)](){return!0x0;}static get[_0x519906(0x14b)](){return!0x0;}[_0x519906(0x14a)](){const _0x166b1c=_0x519906,_0x34ba1a=this[_0x166b1c(0x13c)];_0x34ba1a[_0x166b1c(0x13d)][_0x166b1c(0x13e)](_0x166b1c(0x13f),new _0x35e03b(_0x34ba1a)),_0x34ba1a['ui'][_0x166b1c(0x136)][_0x166b1c(0x13e)](_0x166b1c(0x13f),()=>{const _0x339667=_0x166b1c,_0xb77881=this[_0x339667(0x14e)](_0x12a03c);return _0xb77881[_0x339667(0x14f)]({'tooltip':!0x0,'class':_0x339667(0x145)}),_0xb77881;}),_0x34ba1a['ui'][_0x166b1c(0x136)][_0x166b1c(0x13e)](_0x166b1c(0x148),()=>{const _0x3b0cd7=_0x166b1c,_0x5046af=this[_0x3b0cd7(0x14e)](_0x42dab3);return _0x5046af[_0x3b0cd7(0x14f)]({'role':_0x3b0cd7(0x13b)}),_0x5046af;});}[_0x519906(0x14e)](_0x195298){const _0x4a8be8=_0x519906,_0xd23d2d=this[_0x4a8be8(0x13c)],_0x48d5d8=_0xd23d2d[_0x4a8be8(0x13d)][_0x4a8be8(0x139)](_0x4a8be8(0x13f)),_0x493579=new _0x195298(_0xd23d2d[_0x4a8be8(0x133)]);return _0x493579[_0x4a8be8(0x14f)]({'label':_0x5c573a(_0xd23d2d[_0x4a8be8(0x133)],_0x4a8be8(0x155)),'icon':_0x334325,'isToggleable':!0x0}),_0x493579[_0x4a8be8(0x142)](_0x4a8be8(0x151))['to'](_0x48d5d8),_0x493579[_0x4a8be8(0x142)](_0x4a8be8(0x135))['to'](_0x48d5d8,_0x4a8be8(0x141),_0x2883ad=>!!_0x2883ad),this[_0x4a8be8(0x13a)](_0x493579,_0x4a8be8(0x144),()=>{const _0xee471d=_0x4a8be8;_0x48d5d8[_0xee471d(0x144)]();}),_0x493579;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x467e9e=_0x318d;function _0x249f(){const _0x45e2a7=['55dqQBOe','21JUqVzp','129212agmhED','value','20ANepZb','20aBBAmk','2470752EnrCbh','view','1345452RIpnJB','execute','752288AOhWCC','bind','AITabs','4903060cWqjYS','isVisible','28mXCLNt','get','4948FhOHQl','isEnabled','867444awflso','editor','plugins'];_0x249f=function(){return _0x45e2a7;};return _0x249f();}(function(_0x27dd73,_0x2b0f47){const _0x4d2ab7=_0x318d,_0x2d44bf=_0x27dd73();while(!![]){try{const _0x27d4f9=-parseInt(_0x4d2ab7(0x1ee))/0x1*(parseInt(_0x4d2ab7(0x1f8))/0x2)+-parseInt(_0x4d2ab7(0x1f4))/0x3*(parseInt(_0x4d2ab7(0x1f5))/0x4)+parseInt(_0x4d2ab7(0x1f7))/0x5*(-parseInt(_0x4d2ab7(0x1f0))/0x6)+-parseInt(_0x4d2ab7(0x1ec))/0x7*(-parseInt(_0x4d2ab7(0x1fd))/0x8)+-parseInt(_0x4d2ab7(0x1f9))/0x9+parseInt(_0x4d2ab7(0x200))/0xa+-parseInt(_0x4d2ab7(0x1f3))/0xb*(-parseInt(_0x4d2ab7(0x1fb))/0xc);if(_0x27d4f9===_0x2b0f47)break;else _0x2d44bf['push'](_0x2d44bf['shift']());}catch(_0x82aec4){_0x2d44bf['push'](_0x2d44bf['shift']());}}}(_0x249f,0x48e86));import{Command as _0x325d17}from'ckeditor5/src/core.js';function _0x318d(_0x180363,_0x26842c){const _0x249f0b=_0x249f();return _0x318d=function(_0x318d1d,_0x2fe737){_0x318d1d=_0x318d1d-0x1eb;let _0x417cf9=_0x249f0b[_0x318d1d];return _0x417cf9;},_0x318d(_0x180363,_0x26842c);}export class ToggleAICommand extends _0x325d17{constructor(_0x5b199e){const _0x1584a0=_0x318d;super(_0x5b199e);const _0x2bd27a=_0x5b199e[_0x1584a0(0x1f2)][_0x1584a0(0x1ed)](_0x1584a0(0x1ff))[_0x1584a0(0x1fa)];this[_0x1584a0(0x1fe)](_0x1584a0(0x1f6))['to'](_0x2bd27a,_0x1584a0(0x1eb)),this[_0x1584a0(0x1ef)]=!0x0;}[_0x467e9e(0x1fc)](){const _0xa8d220=_0x467e9e,_0x4e8657=this[_0xa8d220(0x1f1)][_0xa8d220(0x1f2)][_0xa8d220(0x1ed)](_0xa8d220(0x1ff))[_0xa8d220(0x1fa)];_0x4e8657[_0xa8d220(0x1eb)]=!_0x4e8657[_0xa8d220(0x1eb)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3a803=_0x32c4;function _0x32c4(_0x388cb0,_0x9f230){var _0x22c815=_0x22c8();return _0x32c4=function(_0x32c49e,_0x1fff2f){_0x32c49e=_0x32c49e-0x175;var _0x31cde0=_0x22c815[_0x32c49e];return _0x31cde0;},_0x32c4(_0x388cb0,_0x9f230);}(function(_0x4c9404,_0x542feb){var _0x20f321=_0x32c4,_0x18a3ef=_0x4c9404();while(!![]){try{var _0x546c01=-parseInt(_0x20f321(0x17e))/0x1+parseInt(_0x20f321(0x181))/0x2*(-parseInt(_0x20f321(0x177))/0x3)+parseInt(_0x20f321(0x17a))/0x4*(parseInt(_0x20f321(0x17f))/0x5)+parseInt(_0x20f321(0x178))/0x6+-parseInt(_0x20f321(0x176))/0x7+parseInt(_0x20f321(0x184))/0x8*(-parseInt(_0x20f321(0x186))/0x9)+parseInt(_0x20f321(0x175))/0xa;if(_0x546c01===_0x542feb)break;else _0x18a3ef['push'](_0x18a3ef['shift']());}catch(_0x34c44e){_0x18a3ef['push'](_0x18a3ef['shift']());}}}(_0x22c8,0x79feb));import{Plugin as _0x19a779}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x890b3e}from'./aiquickactionsui.js';function _0x22c8(){var _0x5ba53f=['pluginName','559748MJCKDS','645aTLRCl','ai.quickActions','2zSyEib','isPremiumPlugin','isOfficialPlugin','40iNkRXZ','define','1605357CBnKut','12273660ebiVIV','2981006oqJRuT','1350408cporcI','4550790wEKjwx','config','26092xYvgny','requires','AIQuickActions'];_0x22c8=function(){return _0x5ba53f;};return _0x22c8();}import{AIQuickActionsEditing as _0x355a48}from'./aiquickactionsediting.js';import{AIActions as _0x30b6d9}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x19a779{static get[_0x3a803(0x17b)](){return[_0x890b3e,_0x355a48,_0x30b6d9];}static get[_0x3a803(0x17d)](){var _0x47e1e8=_0x3a803;return _0x47e1e8(0x17c);}static get[_0x3a803(0x183)](){return!0x0;}static get[_0x3a803(0x182)](){return!0x0;}constructor(_0x1e288c){var _0x3f1967=_0x3a803;super(_0x1e288c),_0x1e288c[_0x3f1967(0x179)][_0x3f1967(0x185)](_0x3f1967(0x180),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|