@ckeditor/ckeditor5-ai 47.0.0-alpha.5 → 47.0.0-alpha.6
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/ckeditor5-metadata.json +14 -0
- package/dist/index-editor.css +17 -2
- package/dist/index.css +18 -2
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +1 -0
- 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.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +2 -0
- 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.d.ts +6 -0
- 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/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.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/aichat/utils/scrollmanager.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 +1 -1
- 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/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/aieditorintegration/aieditorintegration.d.ts +35 -0
- package/src/aieditorintegration/aieditorintegration.js +23 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
- 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/utils/common-translations.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/aireviewmodels.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/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/aireviewmodeformamanager.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.d.ts +6 -0
- 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/augmentation.d.ts +6 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls.css +6 -0
- package/theme/aichat/aichat.css +2 -0
- package/theme/aichat/aisuggestioncontainer.css +8 -2
- package/theme/aireviewmode/aireviewmode-check-run-result.css +5 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x11d294=_0x470e;(function(_0x15a2a4,_0x55a4cb){const _0x1d68dc=_0x470e,_0x4dea67=_0x15a2a4();while(!![]){try{const _0x3fbb60=parseInt(_0x1d68dc(0x151))/0x1+parseInt(_0x1d68dc(0x15e))/0x2+-parseInt(_0x1d68dc(0x14e))/0x3+-parseInt(_0x1d68dc(0x155))/0x4+parseInt(_0x1d68dc(0x146))/0x5+parseInt(_0x1d68dc(0x15a))/0x6+-parseInt(_0x1d68dc(0x15b))/0x7;if(_0x3fbb60===_0x55a4cb)break;else _0x4dea67['push'](_0x4dea67['shift']());}catch(_0x28cc3e){_0x4dea67['push'](_0x4dea67['shift']());}}}(_0x45de,0x926d8));import{CKEditorError as _0x35f007,compareArrays as _0x127094}from'ckeditor5/src/utils.js';function _0x45de(){const _0x37f170=['2663140nxKXHh','match','createBefore','getNudgedToWordBoundary','isEqual','6688752ZipbEd','1764595vZzWrW','createFromPath','data','600182ydPWwv','parent','slice','document','createAt','end','2056780IrvDKV','reduce','length','indexOf','previousNode','nextNode','ai-documentposition-index-out-of-bounds','same','2346198LVYHtZ','createAfter','path','473465SixMEY','start','index','ai-documentposition-createfrompath-path-cannot-be-empty'];_0x45de=function(){return _0x37f170;};return _0x45de();}import{getNodePath as _0x4b3b68,isText as _0x1b86ce,getChildren as _0x6fb4fb,isDocument as _0x1d12a9,getParent as _0x64bc69,textContent as _0x556f53,hasChildren as _0x413493}from'./htmlparser.js';function _0x470e(_0x220f2e,_0x28c666){const _0x45de85=_0x45de();return _0x470e=function(_0x470e0f,_0xddc6ca){_0x470e0f=_0x470e0f-0x145;let _0x2008f5=_0x45de85[_0x470e0f];return _0x2008f5;},_0x470e(_0x220f2e,_0x28c666);}export class DocumentPosition{[_0x11d294(0x15f)];[_0x11d294(0x153)];[_0x11d294(0x161)];constructor(_0x15712a,_0x13a39a,_0x1af4a4){const _0x287a06=_0x11d294;if(_0x1b86ce(_0x13a39a)&&_0x1af4a4>_0x13a39a[_0x287a06(0x15d)][_0x287a06(0x148)])throw new _0x35f007(_0x287a06(0x14c),null,{'index':_0x1af4a4,'parent':_0x13a39a});if(_0x413493(_0x13a39a)&&_0x1af4a4>_0x6fb4fb(_0x13a39a)[_0x287a06(0x148)])throw new _0x35f007(_0x287a06(0x14c),null,{'index':_0x1af4a4,'parent':_0x13a39a});if(_0x1af4a4<0x0)throw new _0x35f007(_0x287a06(0x14c),null,{'index':_0x1af4a4,'parent':_0x13a39a});this[_0x287a06(0x15f)]=_0x13a39a,this[_0x287a06(0x153)]=_0x1af4a4,this[_0x287a06(0x161)]=_0x15712a;}get[_0x11d294(0x150)](){const _0x263517=_0x11d294;return[..._0x4b3b68(this[_0x263517(0x15f)]),this[_0x263517(0x153)]];}[_0x11d294(0x159)](_0x502749){const _0x27da39=_0x11d294;return this[_0x27da39(0x161)]==_0x502749[_0x27da39(0x161)]&&_0x27da39(0x14d)===_0x127094(this[_0x27da39(0x150)],_0x502749[_0x27da39(0x150)]);}get[_0x11d294(0x14b)](){const _0x23763f=_0x11d294;if(_0x413493(this[_0x23763f(0x15f)])){const _0xf94d9b=_0x6fb4fb(this[_0x23763f(0x15f)])[this[_0x23763f(0x153)]];if(_0xf94d9b)return _0xf94d9b;{const _0x3bd18c=DocumentPosition[_0x23763f(0x14f)](this[_0x23763f(0x161)],this[_0x23763f(0x15f)]);if(_0x3bd18c)return _0x3bd18c[_0x23763f(0x14b)];}}return null;}get[_0x11d294(0x14a)](){const _0x140933=_0x11d294;if(_0x413493(this[_0x140933(0x15f)])){const _0x377a39=_0x6fb4fb(this[_0x140933(0x15f)])[this[_0x140933(0x153)]-0x1];if(_0x377a39)return _0x377a39;{const _0x1d09e8=DocumentPosition[_0x140933(0x157)](this[_0x140933(0x161)],this[_0x140933(0x15f)]);if(_0x1d09e8)return _0x1d09e8[_0x140933(0x14a)];}}return null;}[_0x11d294(0x158)](_0x1d8a96=_0x11d294(0x152)){const _0x3f4a81=_0x11d294;if(!_0x1b86ce(this[_0x3f4a81(0x15f)]))return this;const _0x2b3e65=this[_0x3f4a81(0x150)][this[_0x3f4a81(0x150)][_0x3f4a81(0x148)]-0x1],_0x25e90c=_0x556f53(this[_0x3f4a81(0x15f)])[_0x3f4a81(0x156)](/(?:\s*\S+\s*)/g);let _0x31e6a7=0x0,_0xc5bc6e=_0x2b3e65;for(const _0x46827a of _0x25e90c){if(_0x31e6a7+_0x46827a[_0x3f4a81(0x148)]===_0x2b3e65)return this;if(_0x31e6a7+_0x46827a[_0x3f4a81(0x148)]>_0x2b3e65){_0xc5bc6e=_0x3f4a81(0x152)===_0x1d8a96?_0x31e6a7:_0x31e6a7+_0x46827a[_0x3f4a81(0x148)];break;}_0x31e6a7+=_0x46827a[_0x3f4a81(0x148)];}return DocumentPosition[_0x3f4a81(0x162)](this[_0x3f4a81(0x161)],this[_0x3f4a81(0x15f)],_0xc5bc6e);}static[_0x11d294(0x14f)](_0x3591c2,_0x1cb3d4){const _0x4479c8=_0x11d294;if(_0x1d12a9(_0x1cb3d4))return null;const _0x2c7b41=_0x64bc69(_0x1cb3d4);return DocumentPosition[_0x4479c8(0x162)](_0x3591c2,_0x2c7b41,_0x6fb4fb(_0x2c7b41)[_0x4479c8(0x149)](_0x1cb3d4)+0x1);}static[_0x11d294(0x157)](_0x453cb4,_0x3be6be){const _0x502b86=_0x11d294;if(_0x1d12a9(_0x3be6be))return null;const _0x59c7dd=_0x64bc69(_0x3be6be);return DocumentPosition[_0x502b86(0x162)](_0x453cb4,_0x59c7dd,_0x6fb4fb(_0x59c7dd)[_0x502b86(0x149)](_0x3be6be));}static[_0x11d294(0x162)](_0x549a96,_0x28620b,_0x5710a2=_0x11d294(0x152)){const _0x382891=_0x11d294;return new DocumentPosition(_0x549a96,_0x28620b,_0x382891(0x152)===_0x5710a2?0x0:_0x382891(0x145)===_0x5710a2?_0x1b86ce(_0x28620b)?_0x28620b[_0x382891(0x15d)][_0x382891(0x148)]:_0x6fb4fb(_0x28620b)[_0x382891(0x148)]:_0x5710a2);}static[_0x11d294(0x15c)](_0x3ad46d,_0x51d1a5){const _0x2ed954=_0x11d294;if(!_0x51d1a5[_0x2ed954(0x148)])throw new _0x35f007(_0x2ed954(0x154),null,{'path':_0x51d1a5});const _0x41c1c5=_0x51d1a5[_0x2ed954(0x160)](0x0,-0x1)[_0x2ed954(0x147)]((_0x2f5c53,_0x8e718c)=>_0x1b86ce(_0x2f5c53)?_0x2f5c53:_0x6fb4fb(_0x2f5c53)[_0x8e718c],_0x3ad46d);return DocumentPosition[_0x2ed954(0x162)](_0x3ad46d,_0x41c1c5,_0x51d1a5[_0x51d1a5[_0x2ed954(0x148)]-0x1]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x37ed(_0x5c4b2c,_0x20de7a){const _0x459e02=_0x459e();return _0x37ed=function(_0x37eda8,_0x56af3b){_0x37eda8=_0x37eda8-0x187;let _0x32ef52=_0x459e02[_0x37eda8];return _0x32ef52;},_0x37ed(_0x5c4b2c,_0x20de7a);}const _0x101b46=_0x37ed;(function(_0x469e1f,_0x42712a){const _0x29f477=_0x37ed,_0x2a4aa0=_0x469e1f();while(!![]){try{const _0xbdb3ef=-parseInt(_0x29f477(0x1a3))/0x1+parseInt(_0x29f477(0x1a0))/0x2*(-parseInt(_0x29f477(0x1a8))/0x3)+-parseInt(_0x29f477(0x1a5))/0x4*(-parseInt(_0x29f477(0x18d))/0x5)+parseInt(_0x29f477(0x19e))/0x6*(-parseInt(_0x29f477(0x191))/0x7)+parseInt(_0x29f477(0x18c))/0x8*(-parseInt(_0x29f477(0x1a4))/0x9)+-parseInt(_0x29f477(0x192))/0xa+parseInt(_0x29f477(0x197))/0xb;if(_0xbdb3ef===_0x42712a)break;else _0x2a4aa0['push'](_0x2a4aa0['shift']());}catch(_0x7b63cb){_0x2a4aa0['push'](_0x2a4aa0['shift']());}}}(_0x459e,0x6bbe1));function _0x459e(){const _0x16b7f4=['getNudgedToWordBoundary','683121MFBByc','4068iCayfJ','1428524YkTgRb','createAt','start','1731VwDiMh','forEach','previousNode','length','end','nextNode','4160mVVsRu','10JaXYsg','isEqual','createFromPath','lastChild','548030pKdbxP','6741640scpSYc','createBefore','push','getContent','slice','25995882KyCHdT','data','createAfter','reverse','firstChild','path','document','54fDaVWs','parent','1176WMJNDm','includes'];_0x459e=function(){return _0x16b7f4;};return _0x459e();}import{DocumentPosition as _0x4da817}from'./documentposition.js';import{clone as _0x2b0607,getParents as _0x1e313a,Document as _0x5dcf04,Text as _0x49d28f,isTag as _0x4490cb,isText as _0x180a23,replaceElement as _0x7c0d9a,removeElement as _0x91f1d8}from'./htmlparser.js';export class DocumentRange{[_0x101b46(0x1a7)];[_0x101b46(0x18a)];constructor(_0x4798b9,_0x26d45b){const _0x4f2fe9=_0x101b46;this[_0x4f2fe9(0x1a7)]=_0x4798b9,this[_0x4f2fe9(0x18a)]=_0x26d45b;}[_0x101b46(0x18e)](_0x5a2dee){const _0x4b29bd=_0x101b46;return this==_0x5a2dee||this[_0x4b29bd(0x1a7)][_0x4b29bd(0x18e)](_0x5a2dee[_0x4b29bd(0x1a7)])&&this[_0x4b29bd(0x18a)][_0x4b29bd(0x18e)](_0x5a2dee[_0x4b29bd(0x18a)]);}[_0x101b46(0x1a2)](){const _0x4cd1e4=_0x101b46;return new DocumentRange(this[_0x4cd1e4(0x1a7)][_0x4cd1e4(0x1a2)](_0x4cd1e4(0x1a7)),this[_0x4cd1e4(0x18a)][_0x4cd1e4(0x1a2)](_0x4cd1e4(0x18a)));}[_0x101b46(0x195)](){const _0x394a92=_0x101b46,_0x21ce4b=_0x2b0607(this[_0x394a92(0x1a7)][_0x394a92(0x19d)]),_0x4e517f=_0x4da817[_0x394a92(0x18f)](_0x21ce4b,this[_0x394a92(0x1a7)][_0x394a92(0x19c)]),_0x75f68c=_0x4da817[_0x394a92(0x18f)](_0x21ce4b,this[_0x394a92(0x18a)][_0x394a92(0x19c)]);let _0x541973,_0x2114b8;if(_0x180a23(_0x4e517f[_0x394a92(0x19f)])){const _0x42b009=_0x4e517f[_0x394a92(0x19c)][_0x4e517f[_0x394a92(0x19c)][_0x394a92(0x189)]-0x1],_0x25c5a6=new _0x49d28f(_0x4e517f[_0x394a92(0x19f)][_0x394a92(0x198)][_0x394a92(0x196)](_0x42b009));_0x7c0d9a(_0x4e517f[_0x394a92(0x19f)],_0x25c5a6),_0x541973=_0x25c5a6;}else _0x541973=_0x4e517f[_0x394a92(0x18b)];if(_0x180a23(_0x75f68c[_0x394a92(0x19f)])){const _0x2617ff=_0x75f68c[_0x394a92(0x19c)][_0x75f68c[_0x394a92(0x19c)][_0x394a92(0x189)]-0x1],_0x4e4018=new _0x49d28f(_0x75f68c[_0x394a92(0x19f)][_0x394a92(0x198)][_0x394a92(0x196)](0x0,_0x2617ff));_0x7c0d9a(_0x75f68c[_0x394a92(0x19f)],_0x4e4018),_0x2114b8=_0x4e4018;}else _0x2114b8=_0x75f68c[_0x394a92(0x188)];if(!(_0x541973&&_0x2114b8&&_0x21ce4b[_0x394a92(0x19b)]&&_0x21ce4b[_0x394a92(0x190)]))return new _0x5dcf04([]);const _0x58b9ce=_0x1e313a(_0x541973),_0x1de819=_0x1e313a(_0x2114b8),_0x13c01d=[],_0x28838f=[];let _0xccd12d=_0x21ce4b[_0x394a92(0x19b)];for(;_0xccd12d&&_0xccd12d!==_0x541973;){let _0x1720b9;_0x58b9ce[_0x394a92(0x1a1)](_0xccd12d)||_0x13c01d[_0x394a92(0x194)](_0xccd12d),_0x1720b9=_0x4490cb(_0xccd12d)?_0x4da817[_0x394a92(0x1a6)](_0x21ce4b,_0xccd12d,_0x394a92(0x1a7)):_0x4da817[_0x394a92(0x199)](_0x21ce4b,_0xccd12d),_0xccd12d=_0x1720b9?_0x1720b9[_0x394a92(0x18b)]:null;}for(_0xccd12d=_0x21ce4b[_0x394a92(0x190)];_0xccd12d&&_0xccd12d!==_0x2114b8;){let _0x46d4b9;_0x1de819[_0x394a92(0x1a1)](_0xccd12d)||_0x28838f[_0x394a92(0x194)](_0xccd12d),_0x46d4b9=_0x4490cb(_0xccd12d)?_0x4da817[_0x394a92(0x1a6)](_0x21ce4b,_0xccd12d,_0x394a92(0x18a)):_0x4da817[_0x394a92(0x193)](_0x21ce4b,_0xccd12d),_0xccd12d=_0x46d4b9?_0x46d4b9[_0x394a92(0x188)]:null;}return _0x13c01d[_0x394a92(0x187)](_0x32ee94=>{_0x91f1d8(_0x32ee94);}),_0x28838f[_0x394a92(0x19a)]()[_0x394a92(0x187)](_0xd45493=>{_0x91f1d8(_0xd45493);}),_0x21ce4b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2c67fe=_0x10a7;function _0x10a7(_0x208d5e,_0x161fbf){const _0x1ba86f=_0x1ba8();return _0x10a7=function(_0x10a73f,_0x49ecef){_0x10a73f=_0x10a73f-0x148;let _0x437049=_0x1ba86f[_0x10a73f];return _0x437049;},_0x10a7(_0x208d5e,_0x161fbf);}(function(_0x2c3f06,_0x1d4490){const _0x4d0258=_0x10a7,_0x2730e5=_0x2c3f06();while(!![]){try{const _0x62a365=parseInt(_0x4d0258(0x154))/0x1+parseInt(_0x4d0258(0x14b))/0x2*(-parseInt(_0x4d0258(0x152))/0x3)+-parseInt(_0x4d0258(0x153))/0x4*(-parseInt(_0x4d0258(0x157))/0x5)+parseInt(_0x4d0258(0x158))/0x6*(-parseInt(_0x4d0258(0x14c))/0x7)+parseInt(_0x4d0258(0x14d))/0x8+-parseInt(_0x4d0258(0x14e))/0x9+parseInt(_0x4d0258(0x150))/0xa;if(_0x62a365===_0x1d4490)break;else _0x2730e5['push'](_0x2730e5['shift']());}catch(_0x2ef2ac){_0x2730e5['push'](_0x2730e5['shift']());}}}(_0x1ba8,0x4999f));function _0x1ba8(){const _0x2ad82e=['13221PIHlqI','895348hZFSOM','490811kZmiMI','applySuggestion','dislike','10wUqEAg','36KIJzjZ','like','rejectSuggestion','mouseOverSuggestion','insertSuggestion','showChangeInText','62MwQwUF','334551lpeaha','1469152njQTLy','4649697HwfjRO','toggleSuggestionDisplayMode','1193500firaAA','mouseLeaveSuggestion'];_0x1ba8=function(){return _0x2ad82e;};return _0x1ba8();}export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x2c67fe(0x14a),_0x2c67fe(0x149),_0x2c67fe(0x155),_0x2c67fe(0x15a),_0x2c67fe(0x148),_0x2c67fe(0x151),_0x2c67fe(0x14f),_0x2c67fe(0x159),_0x2c67fe(0x156)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2809(){var _0x44d0dd=['1268024WPMNdZ','get','4luwDAC','warn','278624yyyOzS','778692VleLiN','length','2430IvvjrW','70cjqSGK','385lmwAKc','ai-get-editor-from-context-no-editor','7443xqNqtw','492972LMYOUL','268011WStFcN','4JHjoAI','editors','805795oJgxBm','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.'];_0x2809=function(){return _0x44d0dd;};return _0x2809();}(function(_0x408ea7,_0x56aae2){var _0x1e9610=_0xd751,_0x124c8e=_0x408ea7();while(!![]){try{var _0x2e4cee=-parseInt(_0x1e9610(0x1d7))/0x1*(parseInt(_0x1e9610(0x1d5))/0x2)+parseInt(_0x1e9610(0x1ce))/0x3+-parseInt(_0x1e9610(0x1cf))/0x4*(parseInt(_0x1e9610(0x1d1))/0x5)+-parseInt(_0x1e9610(0x1cd))/0x6*(parseInt(_0x1e9610(0x1db))/0x7)+-parseInt(_0x1e9610(0x1d3))/0x8+-parseInt(_0x1e9610(0x1de))/0x9*(parseInt(_0x1e9610(0x1da))/0xa)+parseInt(_0x1e9610(0x1dc))/0xb*(parseInt(_0x1e9610(0x1d8))/0xc);if(_0x2e4cee===_0x56aae2)break;else _0x124c8e['push'](_0x124c8e['shift']());}catch(_0x526a65){_0x124c8e['push'](_0x124c8e['shift']());}}}(_0x2809,0x708e7));import{CKEditorError as _0x40b710}from'ckeditor5/src/utils.js';import{Editor as _0x4ff9c0}from'ckeditor5/src/core.js';function _0xd751(_0xaf0ed0,_0x47b8e4){var _0x280959=_0x2809();return _0xd751=function(_0xd75188,_0x498d62){_0xd75188=_0xd75188-0x1cd;var _0x30035e=_0x280959[_0xd75188];return _0x30035e;},_0xd751(_0xaf0ed0,_0x47b8e4);}export function getEditorFromContext(_0x97f723){var _0x9d9617=_0xd751;if(_0x97f723 instanceof _0x4ff9c0)return _0x97f723;if(_0x97f723?.[_0x9d9617(0x1d0)]&&_0x97f723[_0x9d9617(0x1d0)][_0x9d9617(0x1d4)](0x0))return _0x97f723[_0x9d9617(0x1d0)][_0x9d9617(0x1d9)]>0x1&&console[_0x9d9617(0x1d6)](_0x9d9617(0x1d2)),_0x97f723[_0x9d9617(0x1d0)][_0x9d9617(0x1d4)](0x0);throw new _0x40b710(_0x9d9617(0x1dd));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2bb784,_0x970722){const _0x249efe=_0x2ed5,_0x460fd0=_0x2bb784();while(!![]){try{const _0x4c49de=parseInt(_0x249efe(0x15f))/0x1+parseInt(_0x249efe(0x14e))/0x2+-parseInt(_0x249efe(0x155))/0x3+-parseInt(_0x249efe(0x15e))/0x4+parseInt(_0x249efe(0x15d))/0x5*(-parseInt(_0x249efe(0x15c))/0x6)+-parseInt(_0x249efe(0x167))/0x7*(parseInt(_0x249efe(0x156))/0x8)+parseInt(_0x249efe(0x15b))/0x9;if(_0x4c49de===_0x970722)break;else _0x460fd0['push'](_0x460fd0['shift']());}catch(_0x2b16a1){_0x460fd0['push'](_0x460fd0['shift']());}}}(_0x25ff,0xd851c));function _0x2ed5(_0x4e5af4,_0x21e8bc){const _0x25ffee=_0x25ff();return _0x2ed5=function(_0x2ed52d,_0x4563cb){_0x2ed52d=_0x2ed52d-0x14a;let _0x1e4c03=_0x25ffee[_0x2ed52d];return _0x1e4c03;},_0x2ed5(_0x4e5af4,_0x21e8bc);}import{transformOperationSets as _0x5ecec7}from'ckeditor5/src/engine.js';function _0x25ff(){const _0x3ac26b=['cloneNode','anchorId','node','596456FQFdIX','history','documentContextContent','new','getDiff','model','1148072zZnDoA','version','length','shift','content','filter','data-id','3743886wxhmmW','104JCZgtg','map','type','previousSibling','operationsA','19308978EIASTG','328026ORBsZH','80ORiNia','1257648JhkWpP','1711380bAnpWd','getDocumentContext','getOperations','document','removed'];_0x25ff=function(){return _0x3ac26b;};return _0x25ff();}import{append as _0x38e09c,findByAttribute as _0x20c53f,prependChild as _0x109612,removeElement as _0x18d9d5,serialize as _0x306ef3}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x8b333a,interaction:_0x1679dd,reply:_0x2254ab,groups:_0xe71228,transform:_0x449f73,documentCompare:_0x37f82f,documentCompareOptions:_0x51dcf3}){const _0x32124c=_0x2ed5,_0x3de590=_0x1679dd[_0x32124c(0x160)]();if(!_0x3de590)return[];const _0x3edba7=_0x3de590[_0x32124c(0x152)],_0x3372eb=_0x3de590[_0x32124c(0x14f)],_0x5ba14f=_0x2254ab[_0x32124c(0x14a)][_0x32124c(0x164)](!0x0);for(const {changes:_0x3f8187}of _0xe71228){const _0x553808=_0x3f8187[_0x32124c(0x153)](_0x47e7ff=>_0x32124c(0x14b)!=_0x47e7ff[_0x32124c(0x158)])[_0x32124c(0x157)](_0x4af964=>_0x20c53f(_0x32124c(0x154),_0x4af964['id'],_0x5ba14f)),_0x3ef43e=_0x3f8187[_0x32124c(0x153)](_0x352ba6=>_0x32124c(0x163)!=_0x352ba6[_0x32124c(0x158)])[_0x32124c(0x157)](_0x317fb1=>_0x317fb1[_0x32124c(0x166)][_0x32124c(0x164)](!0x0));let _0x5d3526=null;if(_0x553808[_0x32124c(0x150)]){_0x5d3526=_0x553808[0x0][_0x32124c(0x159)];for(let _0x2f4e39=0x0;_0x2f4e39<_0x553808[_0x32124c(0x150)];_0x2f4e39++)_0x18d9d5(_0x553808[_0x2f4e39]);}if(_0x3ef43e[_0x32124c(0x150)]){_0x5d3526||(_0x3f8187[0x0][_0x32124c(0x165)]?_0x5d3526=_0x20c53f(_0x32124c(0x154),_0x3f8187[0x0][_0x32124c(0x165)],_0x5ba14f):(_0x5d3526=_0x3ef43e[_0x32124c(0x151)](),_0x109612(_0x5ba14f,_0x5d3526)));for(let _0x47657e=0x0;_0x47657e<_0x3ef43e[_0x32124c(0x150)];_0x47657e++)_0x38e09c(_0x5d3526,_0x3ef43e[_0x47657e]),_0x5d3526=_0x3ef43e[_0x47657e];}}const _0x4d00ef=_0x306ef3(_0x5ba14f),_0x5717be=_0x37f82f[_0x32124c(0x14c)](_0x3edba7,_0x4d00ef,_0x51dcf3)[_0x32124c(0x161)]();if(_0x449f73){const _0x303894=_0x8b333a[_0x32124c(0x14d)][_0x32124c(0x162)][_0x32124c(0x168)][_0x32124c(0x161)](_0x3372eb),_0xea07f2={'document':_0x8b333a[_0x32124c(0x14d)][_0x32124c(0x162)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x5ecec7(_0x5717be,_0x303894,_0xea07f2)[_0x32124c(0x15a)];}return _0x5717be;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3d36b1,_0xecd10d){const _0x557a86=_0x11bf,_0x5a4b87=_0x3d36b1();while(!![]){try{const _0x5b6446=-parseInt(_0x557a86(0x220))/0x1*(parseInt(_0x557a86(0x23b))/0x2)+parseInt(_0x557a86(0x1e5))/0x3*(-parseInt(_0x557a86(0x234))/0x4)+parseInt(_0x557a86(0x232))/0x5*(-parseInt(_0x557a86(0x1f5))/0x6)+parseInt(_0x557a86(0x1f8))/0x7*(-parseInt(_0x557a86(0x213))/0x8)+-parseInt(_0x557a86(0x209))/0x9+-parseInt(_0x557a86(0x235))/0xa+parseInt(_0x557a86(0x20f))/0xb;if(_0x5b6446===_0xecd10d)break;else _0x5a4b87['push'](_0x5a4b87['shift']());}catch(_0x2ba208){_0x5a4b87['push'](_0x5a4b87['shift']());}}}(_0xebdb,0xb16e7));import{findOne as _0x12d07a,getAttribute as _0x5cdafd,Document as _0x16592a,serialize as _0x44c9a2,parse as _0x2b020d}from'./htmlparser.js';import{_DetachOperation as _0xdd75da,_removeFromModelNodeList as _0x50f05c,_insertIntoModelNodeList as _0x140840}from'ckeditor5/src/engine.js';export function getSuggestionPartsFromReply({editor:_0x355a73,changeGroups:_0x52be9a,documentContextContent:_0x5ba3a8,showDiff:_0x466c87,trimUnchanged:_0x53c495=!0x0}){const _0xd49e6f=_0x11bf;return _0x52be9a[_0xd49e6f(0x226)](_0x42e9a7=>{const _0xa3632a=_0xd49e6f,_0x92e342=new _0x16592a([]),_0x109aef=new _0x16592a([]);for(const _0x217a0a of _0x42e9a7[_0xa3632a(0x23d)])if(_0x466c87&&_0xa3632a(0x227)==_0x217a0a[_0xa3632a(0x206)]||_0x109aef[_0xa3632a(0x23a)][_0xa3632a(0x219)](_0x217a0a[_0xa3632a(0x23c)][_0xa3632a(0x1f9)](!0x0)),_0xa3632a(0x1fb)!=_0x217a0a[_0xa3632a(0x206)]&&(_0x466c87||_0xa3632a(0x227)!=_0x217a0a[_0xa3632a(0x206)])){const _0x2056ea=_0x12d07a(_0x377d65=>_0x5cdafd(_0x377d65,_0xa3632a(0x1ee))==_0x217a0a['id'],_0x5ba3a8,!0x0);_0x2056ea&&_0x92e342[_0xa3632a(0x23a)][_0xa3632a(0x219)](_0x2056ea[_0xa3632a(0x1f9)](!0x0));}const {content:_0x4a26e4,hasChanges:_0x41a78b}=function(_0x107e6e,_0x20564c,_0x3174dd,_0x4f2905,_0x1538d7=!0x0){const _0x4911ce=_0xa3632a,_0x444e6a=_0x107e6e[_0x4911ce(0x1fe)][_0x4911ce(0x1f4)](_0x4911ce(0x205)),_0x2b67e1=_0x107e6e[_0x4911ce(0x1fe)][_0x4911ce(0x1f4)](_0x4911ce(0x225)),_0x599724=_0x44c9a2(_0x20564c),_0x3d95b5=_0x44c9a2(_0x3174dd),_0xbb5147=_0x107e6e[_0x4911ce(0x21d)][_0x4911ce(0x236)](_0x599724,_0x4911ce(0x217)),_0x20e3f0=_0x107e6e[_0x4911ce(0x222)][_0x4911ce(0x224)](_0xbb5147,0x0),_0x569285=_0x444e6a[_0x4911ce(0x22c)](_0x599724,_0x3d95b5,{'anchor':_0x20e3f0,'markDeletions':_0x4f2905}),_0x4e3f39=_0x569285[_0x4911ce(0x1f6)]();if(0x0==_0x4e3f39[_0x4911ce(0x200)])return{'content':_0x20564c[_0x4911ce(0x1f9)](!0x0),'hasChanges':!0x1};_0x4f2905?_0x2b67e1[_0x4911ce(0x1e1)](_0x4e3f39):_0x107e6e[_0x4911ce(0x222)][_0x4911ce(0x1e9)](_0x1def54=>{const _0x48589e=_0x4911ce;for(const _0x44e0c6 of _0x4e3f39)if(_0x48589e(0x1e6)==_0x44e0c6[_0x48589e(0x206)]){const _0x52f812=_0x44e0c6[_0x48589e(0x21f)],_0x7a5f1c=_0x44e0c6[_0x48589e(0x1fd)],_0x4e314c=new _0xdd75da(_0x52f812,_0x7a5f1c);_0x1def54[_0x48589e(0x21b)][_0x48589e(0x1e3)](_0x4e314c),_0x107e6e[_0x48589e(0x222)][_0x48589e(0x1f0)](_0x4e314c);}else _0x44e0c6[_0x48589e(0x230)]=null,_0x44e0c6[_0x48589e(0x1ef)]=!0x1,_0x1def54[_0x48589e(0x21b)][_0x48589e(0x1e3)](_0x44e0c6),_0x107e6e[_0x48589e(0x222)][_0x48589e(0x1f0)](_0x44e0c6);});if(_0x1538d7){const _0x276c09=getMinimalSelection(_0x107e6e,_0x4e3f39,_0xbb5147);expandSelectionWithContext(_0x107e6e[_0x4911ce(0x222)],_0x276c09),function(_0x4fd534,_0x313e37){const _0x489bc4=_0x4911ce,_0x146b4e=_0x313e37[_0x489bc4(0x1df)]()[_0x489bc4(0x237)];let _0x4a09fb=_0x313e37[_0x489bc4(0x1df)]()[_0x489bc4(0x21e)];const _0x2a6b83=_0x146b4e[_0x489bc4(0x1e4)];(_0x4a09fb[_0x489bc4(0x21a)]||_0x4a09fb[_0x489bc4(0x1fa)]&&_0x4a09fb[_0x489bc4(0x1fa)]['is'](_0x489bc4(0x1e0)))&&(_0x140840(_0x4a09fb,_0x489bc4(0x216)),_0x4a09fb=_0x4a09fb[_0x489bc4(0x214)](0x3)),(_0x146b4e[_0x489bc4(0x21a)]||_0x146b4e[_0x489bc4(0x233)]&&_0x146b4e[_0x489bc4(0x233)]['is'](_0x489bc4(0x1e0)))&&(_0x140840(_0x146b4e,_0x489bc4(0x216)),function(_0xbf4f42,_0x5d9d97,_0x489d33){const _0x4ac0ee=_0x489bc4;for(let [_0x3eef53,_0x862336]of _0xbf4f42[_0x4ac0ee(0x1eb)]){const _0x4a1ab4=_0x862336[_0x4ac0ee(0x238)](_0x5d9d97,_0x489d33,!0x1);_0x862336=_0x4a1ab4[0x0],_0xbf4f42[_0x4ac0ee(0x1eb)][_0x4ac0ee(0x221)](_0x3eef53,_0x862336);}}(_0x2a6b83,_0x146b4e,0x3),_0x146b4e[_0x489bc4(0x1f7)]==_0x4a09fb[_0x489bc4(0x1f7)]&&(_0x4a09fb=_0x4a09fb[_0x489bc4(0x214)](0x3)));const _0x5481f2=_0x4fd534[_0x489bc4(0x203)](_0x4fd534[_0x489bc4(0x224)](_0x2a6b83,0x0),_0x146b4e),_0x59fb3e=_0x4fd534[_0x489bc4(0x203)](_0x4a09fb,_0x4fd534[_0x489bc4(0x224)](_0x2a6b83,_0x489bc4(0x21e))),_0x6143b9=[..._0x5481f2[_0x489bc4(0x208)](),..._0x59fb3e[_0x489bc4(0x208)]()];_0x6143b9[_0x489bc4(0x202)]();for(const _0x155ecc of _0x6143b9)_0x50f05c(_0x155ecc),_transformMarkersByDeletion(_0x2a6b83,_0x155ecc);}(_0x107e6e[_0x4911ce(0x222)],_0x276c09);}const _0x51fef5=_0x107e6e[_0x4911ce(0x21d)][_0x4911ce(0x204)](_0xbb5147,{'showSuggestionHighlights':!0x0});return{'content':_0x2b020d(_0x51fef5),'hasChanges':!0x0};}(_0x355a73,_0x92e342,_0x109aef,_0x466c87,_0x53c495);return{'type':_0x42e9a7[_0xa3632a(0x23d)][0x0][_0xa3632a(0x206)],'index':_0x42e9a7[_0xa3632a(0x215)],'content':_0x4a26e4,'hasChanges':_0x41a78b};});}export function getMinimalSelection(_0x39abfc,_0x384918,_0xdcb683){const _0xb6af52=_0x11bf,_0x510500=_0x39abfc[_0xb6af52(0x1fe)][_0xb6af52(0x1f4)](_0xb6af52(0x205));let _0x7fb266=_0x39abfc[_0xb6af52(0x222)][_0xb6af52(0x224)](_0xdcb683,Number[_0xb6af52(0x1e8)]),_0x21434a=_0x39abfc[_0xb6af52(0x222)][_0xb6af52(0x224)](_0xdcb683,0x0);for(const _0x156161 of _0x384918){let _0x2917e6,_0xfe607c;if(_0x510500[_0xb6af52(0x22f)](_0x156161))_0x2917e6=_0x156161[_0xb6af52(0x20a)][_0xb6af52(0x237)],_0xfe607c=_0x156161[_0xb6af52(0x20a)][_0xb6af52(0x21e)];else switch(_0x156161[_0xb6af52(0x206)]){case _0xb6af52(0x22a):_0x2917e6=_0x156161[_0xb6af52(0x1ea)],_0xfe607c=_0x2917e6[_0xb6af52(0x214)](0x1);break;case _0xb6af52(0x1ed):case _0xb6af52(0x1de):case _0xb6af52(0x20e):_0x2917e6=_0x156161[_0xb6af52(0x231)][_0xb6af52(0x237)],_0xfe607c=_0x156161[_0xb6af52(0x231)][_0xb6af52(0x21e)];break;case _0xb6af52(0x1ec):_0x2917e6=_0x156161[_0xb6af52(0x1ea)],_0xfe607c=_0x2917e6[_0xb6af52(0x214)](_0x156161[_0xb6af52(0x1fd)]);break;case _0xb6af52(0x20d):_0x2917e6=_0x156161[_0xb6af52(0x22d)],_0xfe607c=_0x156161[_0xb6af52(0x228)];break;case _0xb6af52(0x210):{const _0x50c9c9=_0x156161[_0xb6af52(0x218)][_0xb6af52(0x22e)][_0xb6af52(0x1e2)](-0x1);_0x2917e6=_0x39abfc[_0xb6af52(0x222)][_0xb6af52(0x1ff)](_0xdcb683,_0x50c9c9),_0xfe607c=_0x2917e6[_0xb6af52(0x214)](0x1);break;}case _0xb6af52(0x1e6):{const _0x526aca=_0x156161[_0xb6af52(0x1fd)],_0x40a918=_0x156161[_0xb6af52(0x21f)][_0xb6af52(0x238)](_0x156161[_0xb6af52(0x218)],_0x526aca),_0x1e8d2c=_0x156161[_0xb6af52(0x207)]();_0xb6af52(0x1e6)==_0x156161[_0xb6af52(0x206)]?(_0x2917e6=_0x40a918,_0xfe607c=_0x40a918):(_0x2917e6=_0x1e8d2c,_0xfe607c=_0x1e8d2c[_0xb6af52(0x214)](_0x526aca));break;}}_0x2917e6&&_0x2917e6[_0xb6af52(0x201)](_0x7fb266)&&(_0x7fb266=_0x2917e6),_0xfe607c&&_0xfe607c[_0xb6af52(0x212)](_0x21434a)&&(_0x21434a=_0xfe607c);}return _0x39abfc[_0xb6af52(0x222)][_0xb6af52(0x229)](_0x39abfc[_0xb6af52(0x222)][_0xb6af52(0x203)](_0x7fb266,_0x21434a));}function _0x11bf(_0x2e4bc9,_0x1e8416){const _0xebdb0f=_0xebdb();return _0x11bf=function(_0x11bf55,_0x558538){_0x11bf55=_0x11bf55-0x1de;let _0x5aeb61=_0xebdb0f[_0x11bf55];return _0x5aeb61;},_0x11bf(_0x2e4bc9,_0x1e8416);}export function expandSelectionWithContext(_0x1cef49,_0x3e3bf8){const _0x2dae60=_0x11bf;fn(_0x1cef49,_0x3e3bf8,_0x2dae60(0x223));const _0x3fccad=_0x3e3bf8[_0x2dae60(0x1df)]();_0x3e3bf8[_0x2dae60(0x1fc)]([]),_0x3e3bf8[_0x2dae60(0x1fc)](_0x3fccad,{'backward':!0x0}),fn(_0x1cef49,_0x3e3bf8,_0x2dae60(0x1f1));}function fn(_0x255151,_0x2b32fb,_0x33b138){const _0x171bf3=_0x11bf;let _0x482743=0x14;for(;_0x482743;){_0x255151[_0x171bf3(0x1e7)](_0x2b32fb,{'unit':_0x171bf3(0x1f2),'direction':_0x33b138}),_0x482743--;const _0x1f3254=_0x2b32fb[_0x171bf3(0x211)][_0x171bf3(0x223)==_0x33b138?_0x171bf3(0x233):_0x171bf3(0x1fa)];if(_0x1f3254&&_0x1f3254['is'](_0x171bf3(0x21c))&&_0x255151[_0x171bf3(0x1f3)][_0x171bf3(0x20b)](_0x1f3254)&&_0x255151[_0x171bf3(0x1f3)][_0x171bf3(0x22b)](_0x1f3254))break;}}function _0xebdb(){const _0x571bce=['isAfter','8rWGDOk','getShiftedBy','index','...','$root','targetPosition','push','textNode','batch','element','data','end','sourcePosition','14ommPOp','set','model','forward','createPositionAt','TrackChangesEditing','map','removed','moveTargetPosition','createSelection','rename','isObject','getDiff','splitPosition','path','isMarkedRemoveOperation','baseVersion','range','965270WWYHwM','nodeBefore','3948iijutF','4116820fhTwlq','parse','start','_getTransformedByInsertion','_getTransformedByDeletion','children','199340xmrKDS','node','changes','removeAttribute','getFirstRange','$text','_applyOperationsAsSuggestions','slice','addOperation','root','129GtyeeG','remove','modifySelection','POSITIVE_INFINITY','change','position','markers','insert','addAttribute','data-id','isDocumentOperation','applyOperation','backward','word','schema','get','24yBbdcW','getOperations','parent','7205527tikbmY','cloneNode','nodeAfter','new','setTo','howMany','plugins','createPositionFromPath','length','isBefore','reverse','createRange','stringify','DocumentCompare','type','getMovedRangeStart','getMinimalFlatRanges','9121086hlecpo','newRange','isBlock','offset','split','changeAttribute','59304223iasRol','merge','focus'];_0xebdb=function(){return _0x571bce;};return _0xebdb();}export function _transformMarkersByDeletion(_0x2f6ed0,_0x15646b){const _0x17f154=_0x11bf;for(let [_0x28fea2,_0x2da873]of _0x2f6ed0[_0x17f154(0x1eb)])_0x2da873=_0x2da873[_0x17f154(0x239)](_0x15646b[_0x17f154(0x237)],_0x15646b[_0x17f154(0x21e)][_0x17f154(0x20c)]-_0x15646b[_0x17f154(0x237)][_0x17f154(0x20c)]),_0x2f6ed0[_0x17f154(0x1eb)][_0x17f154(0x221)](_0x28fea2,_0x2da873);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x39ec(_0x2ed241,_0x485387){const _0x48e5bb=_0x48e5();return _0x39ec=function(_0x39eceb,_0x540651){_0x39eceb=_0x39eceb-0x10c;let _0x4e04a7=_0x48e5bb[_0x39eceb];return _0x4e04a7;},_0x39ec(_0x2ed241,_0x485387);}(function(_0x49f8e6,_0x3644f8){const _0x464ecc=_0x39ec,_0x47ada6=_0x49f8e6();while(!![]){try{const _0x5ae559=parseInt(_0x464ecc(0x116))/0x1*(parseInt(_0x464ecc(0x11d))/0x2)+parseInt(_0x464ecc(0x110))/0x3+-parseInt(_0x464ecc(0x10e))/0x4+parseInt(_0x464ecc(0x114))/0x5*(parseInt(_0x464ecc(0x120))/0x6)+-parseInt(_0x464ecc(0x117))/0x7+parseInt(_0x464ecc(0x10d))/0x8+parseInt(_0x464ecc(0x11c))/0x9;if(_0x5ae559===_0x3644f8)break;else _0x47ada6['push'](_0x47ada6['shift']());}catch(_0x11fc37){_0x47ada6['push'](_0x47ada6['shift']());}}}(_0x48e5,0x2ec9b));import{parseDocument as _0x10c655}from'htmlparser2';import{append as _0x1f419e,appendChild as _0x83d690,find as _0x13e2e1,findAll as _0x4dc6ea,findOne as _0x460f42,getChildren as _0x17ed7b,isComment as _0x6a0bee,isTag as _0x300c22,prepend as _0x4ef79b,prependChild as _0xd35c40,removeElement as _0x5b6f50,replaceElement as _0x48f9e7,textContent as _0x17d5a8,getParent as _0x5729c5,hasChildren as _0x351552}from'domutils';import _0x52742d from'dom-serializer';import{cloneNode as _0x3bc03a,isDocument as _0x21bc34,isText as _0x53a653,Element as _0x1ace9a,Text as _0x437605,Document as _0x1dba5a,NodeWithChildren as _0x5252ad}from'domhandler';export{_0x3bc03a as cloneNode,_0x13e2e1 as find,_0x460f42 as findOne,_0x4dc6ea as findAll,_0x17ed7b as getChildren,_0x5729c5 as getParent,_0x6a0bee as isComment,_0x21bc34 as isDocument,_0x300c22 as isTag,_0x53a653 as isText,_0x1f419e as append,_0x83d690 as appendChild,_0x4ef79b as prepend,_0xd35c40 as prependChild,_0x52742d as render,_0x5b6f50 as removeElement,_0x48f9e7 as replaceElement,_0x17d5a8 as textContent,_0x351552 as hasChildren,_0x1ace9a as Element,_0x1dba5a as Document,_0x5252ad as NodeWithChildren,_0x437605 as Text};export function parse(_0x554429){return _0x10c655(_0x554429);}export function serialize(_0x528677){return _0x52742d(_0x528677);}export function findByAttribute(_0x470e4a,_0x432917,_0x3a4419){const _0x426c5f=_0x39ec,_0x2df726=null!==_0x432917?_0x2f729d=>_0x2f729d[_0x426c5f(0x111)][_0x470e4a]===_0x432917:_0x57e2ce=>Boolean(_0x57e2ce[_0x426c5f(0x111)][_0x470e4a]);return _0x460f42(_0x58feb8=>_0x300c22(_0x58feb8)&&_0x2df726(_0x58feb8),_0x3a4419);}export function findAllByAttribute(_0x2e0f6b,_0x487496,_0x4f6ed4){const _0x22de78=_0x39ec,_0x1e499e=null!==_0x487496?_0x411d75=>_0x411d75[_0x22de78(0x111)][_0x2e0f6b]===_0x487496:_0x44d144=>Boolean(_0x44d144[_0x22de78(0x111)][_0x2e0f6b]);return _0x4dc6ea(_0x48dd1a=>_0x300c22(_0x48dd1a)&&_0x1e499e(_0x48dd1a),_0x4f6ed4);}export function findAllComments(_0x1460d6){return _0x13e2e1(_0x2310c0=>_0x6a0bee(_0x2310c0),_0x1460d6,!0x0,0x1/0x0);}export function getAttribute(_0x4c4a57,_0x2cc548){const _0x531ca3=_0x39ec;return _0x4c4a57&&_0x300c22(_0x4c4a57)?_0x4c4a57[_0x531ca3(0x111)][_0x2cc548]:null;}export function setAttribute(_0x2af55e,_0x20ea58,_0x2648fd){const _0x4badea=_0x39ec;_0x300c22(_0x2af55e)&&(null===_0x2648fd?delete _0x2af55e[_0x4badea(0x111)][_0x20ea58]:_0x2af55e[_0x4badea(0x111)][_0x20ea58]=_0x2648fd);}export function insertElement(_0x21b5ff,_0x33ff70,_0x1abb94){const _0x175b24=_0x39ec,_0x4f934b=_0x33ff70[_0x175b24(0x118)](!0x0);_0x175b24(0x10f)===_0x1abb94?_0x4ef79b(_0x21b5ff,_0x4f934b):_0x175b24(0x11e)===_0x1abb94?_0xd35c40(_0x21b5ff,_0x4f934b):_0x175b24(0x119)===_0x1abb94?_0x83d690(_0x21b5ff,_0x4f934b):_0x175b24(0x115)===_0x1abb94&&_0x1f419e(_0x21b5ff,_0x4f934b);}export function moveElement(_0x1b0287,_0x4ed3aa){_0x5b6f50(_0x1b0287),_0x48f9e7(_0x4ed3aa,_0x1b0287);}export function clone(_0x18830f){const _0x5d6dea=_0x39ec;return _0x18830f[_0x5d6dea(0x118)](!0x0);}export function getParents(_0x3d496b){const _0x427fdd=_0x39ec,_0x4c3d29=[];let _0x17de9b=_0x3d496b;for(;_0x17de9b;)_0x17de9b=_0x5729c5(_0x17de9b),_0x17de9b&&_0x4c3d29[_0x427fdd(0x11b)](_0x17de9b);return _0x4c3d29;}export function normalizeHTML(_0x10a13f){const _0x355684=_0x39ec;return _0x10a13f[_0x355684(0x121)](/^\s+/gm,'')[_0x355684(0x121)](/\s+$/gm,'')[_0x355684(0x121)](/\n*/g,'')[_0x355684(0x121)](/\s+/g,'\x20')[_0x355684(0x121)](/>\s*</g,'><');}export function areNodesSame(_0x1fea3c,_0x8bbe41){return normalizeHTML(serialize(_0x1fea3c))===normalizeHTML(serialize(_0x8bbe41));}export function getNodeNestingLevel(_0x2fd3b2){const _0x4dca68=_0x39ec;let _0x181a71=0x0;for(;_0x2fd3b2[_0x4dca68(0x10c)];)_0x2fd3b2=_0x2fd3b2[_0x4dca68(0x10c)],_0x181a71++;return _0x181a71;}export function removeElementsAfter(_0x34773d){const _0x412087=_0x39ec,_0xebc808=[];let _0x3ff950=_0x34773d[_0x412087(0x113)];for(;_0x3ff950;)_0xebc808[_0x412087(0x11b)](_0x3ff950),_0x3ff950=_0x3ff950[_0x412087(0x113)];_0xebc808[_0x412087(0x123)](_0x20bd82=>{_0x5b6f50(_0x20bd82);});}function _0x48e5(){const _0x55ca8f=['reverse','forEach','parentNode','1128864KLgIaC','951232IEXiBl','beforebegin','649989AwnXkI','attribs','indexOf','nextSibling','901315KSgzgn','afterend','895LKfNAr','1082326sqfNZs','cloneNode','beforeend','slice','push','67950wQlZUu','86MiFGdx','afterbegin','map','6OVFtoH','replace'];_0x48e5=function(){return _0x55ca8f;};return _0x48e5();}export function getNodePath(_0x2738c1){const _0x132b4c=_0x39ec;return[_0x2738c1,...getParents(_0x2738c1)][_0x132b4c(0x11a)](0x0,-0x1)[_0x132b4c(0x11f)](_0x3b1022=>{const _0x5f0b97=_0x132b4c,_0xee7724=_0x5729c5(_0x3b1022);return _0x17ed7b(_0xee7724)[_0x5f0b97(0x112)](_0x3b1022);})[_0x132b4c(0x122)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa60e87=_0x261d;(function(_0x5b0c3a,_0x27a48f){const _0x4d6c27=_0x261d,_0x57734c=_0x5b0c3a();while(!![]){try{const _0x471fff=-parseInt(_0x4d6c27(0x1b7))/0x1*(parseInt(_0x4d6c27(0x1ca))/0x2)+-parseInt(_0x4d6c27(0x1c8))/0x3*(parseInt(_0x4d6c27(0x1d0))/0x4)+parseInt(_0x4d6c27(0x19e))/0x5+-parseInt(_0x4d6c27(0x19b))/0x6+parseInt(_0x4d6c27(0x1d2))/0x7*(parseInt(_0x4d6c27(0x1a0))/0x8)+parseInt(_0x4d6c27(0x1bd))/0x9*(parseInt(_0x4d6c27(0x1d1))/0xa)+-parseInt(_0x4d6c27(0x1d6))/0xb*(parseInt(_0x4d6c27(0x1c0))/0xc);if(_0x471fff===_0x27a48f)break;else _0x57734c['push'](_0x57734c['shift']());}catch(_0x19f887){_0x57734c['push'](_0x57734c['shift']());}}}(_0xb209,0x9e1fa));import _0x9e2cb7 from'morphdom';import{NodeWithChildren as _0x577c1f,Text as _0x4d63d0,Element as _0x99c864,isText as _0x4a6f7e,isDocument as _0x367983,isTag as _0x7b6b,cloneNode as _0x111494,getChildren as _0x4cb31e,prepend as _0x461d60,removeElement as _0x369bb3,textContent as _0x515b96,render as _0x10e6f5}from'./htmlparser.js';import{logWarning as _0x5ac12e}from'ckeditor5/src/utils.js';function _0xb209(){const _0x390772=['9RaAnvj','stream','tagName','60IiJmTu','length','document','parent','onStreamUpdate','del','sup','span[data-ck-html-streamer-word-chunk]','6EQbOLj','shouldBeStreamed','2asPThu','sub','forEach','includes','isStreaming','code','2056836lDMzJV','11303030GqlAYa','21KEuqMH','isWordSplitResult','querySelectorAll','span','693539RuWdVK','mark','isWordSplitSource','join','6941568HaUYGe','div','match','6388145RVGNqx','now','2352472gLhUqB','html-streamer-current-index-out-of-bounds','map','children','attribs','reverse','currentIndex','textNodeStyle','strong','delay','entries','options','stop','bind','replaceWith','getParsedDocumentNodeList','signal','from','timeoutAbortController','push','renderNode','splitTextNodeIntoWordNodes','childNodes','141844QQlqjY','cleanUpAnimations','addEventListener','nodesList','ins','abort'];_0xb209=function(){return _0x390772;};return _0xb209();}function _0x261d(_0x1d5005,_0x5b8caf){const _0xb2097f=_0xb209();return _0x261d=function(_0x261d0f,_0xecaebd){_0x261d0f=_0x261d0f-0x198;let _0x2619bf=_0xb2097f[_0x261d0f];return _0x2619bf;},_0x261d(_0x1d5005,_0x5b8caf);}export class HTMLStreamer{[_0xa60e87(0x1ab)];[_0xa60e87(0x1ce)]=!0x1;[_0xa60e87(0x1c2)]=null;[_0xa60e87(0x1ba)]=[];[_0xa60e87(0x1a6)]=0x0;[_0xa60e87(0x1b2)]=null;constructor(_0x3abbd6){const _0x2bcc6d=_0xa60e87;this[_0x2bcc6d(0x1ab)]={'delay':_0x3abbd6[_0x2bcc6d(0x1a9)]??0x14,'textNodeStyle':_0x3abbd6[_0x2bcc6d(0x1a7)],'onStreamUpdate':_0x3abbd6[_0x2bcc6d(0x1c4)]||(()=>{})};}async[_0xa60e87(0x1be)]({document:_0x5521ea,targetElement:_0x3265a3,abortSignal:_0x33637e}){const _0x516a2e=_0xa60e87;this[_0x516a2e(0x1ce)]&&this[_0x516a2e(0x1ac)](),_0x33637e?.[_0x516a2e(0x1b9)](_0x516a2e(0x1bc),this[_0x516a2e(0x1ac)][_0x516a2e(0x1ad)](this)),this[_0x516a2e(0x1c2)]=_0x111494(_0x5521ea,!0x0),this[_0x516a2e(0x1ba)]=this[_0x516a2e(0x1af)](),this[_0x516a2e(0x1ce)]=!0x0,this[_0x516a2e(0x1a6)]>this[_0x516a2e(0x1ba)][_0x516a2e(0x1c1)]&&(_0x5ac12e(_0x516a2e(0x1a1),{'currentIndex':this[_0x516a2e(0x1a6)],'nodeList':this[_0x516a2e(0x1ba)]}),this[_0x516a2e(0x1a6)]=this[_0x516a2e(0x1ba)][_0x516a2e(0x1c1)]);for(let _0x4fedd2=0x0;_0x4fedd2<this[_0x516a2e(0x1a6)];_0x4fedd2++)this[_0x516a2e(0x1ba)][_0x4fedd2][_0x516a2e(0x1c9)]=!0x0;let _0xd74fdb=0x0;for(let _0x50571b=this[_0x516a2e(0x1a6)];_0x50571b<this[_0x516a2e(0x1ba)][_0x516a2e(0x1c1)];_0x50571b++){const _0xddef53=Date[_0x516a2e(0x19f)](),_0x1e30b2=this[_0x516a2e(0x1ba)][_0x50571b],_0x3e5db1=_0xddef53-_0xd74fdb;_0x1e30b2[_0x516a2e(0x1c9)]=!0x0;let _0x59a7f4=_0x1e30b2[_0x516a2e(0x1c3)];for(;_0x59a7f4;)_0x59a7f4[_0x516a2e(0x1c9)]=!0x0,_0x59a7f4=_0x59a7f4[_0x516a2e(0x1c3)];if(_0x3e5db1<this[_0x516a2e(0x1ab)][_0x516a2e(0x1a9)])try{const {promise:_0x26a1d4,abortController:_0x151025}=mr(this[_0x516a2e(0x1ab)][_0x516a2e(0x1a9)]-_0x3e5db1);this[_0x516a2e(0x1b2)]=_0x151025,await _0x26a1d4;}catch(_0xcc0c87){return;}_0x9e2cb7(_0x3265a3,'<'+_0x3265a3[_0x516a2e(0x1bf)]+'>'+this[_0x516a2e(0x1b4)](this[_0x516a2e(0x1c2)])+'</'+_0x3265a3[_0x516a2e(0x1bf)]+'>',{'childrenOnly':!0x0}),this[_0x516a2e(0x1ab)][_0x516a2e(0x1c4)]&&this[_0x516a2e(0x1ab)][_0x516a2e(0x1c4)](),this[_0x516a2e(0x1a6)]=_0x50571b,_0xd74fdb=Date[_0x516a2e(0x19f)]();}this[_0x516a2e(0x1ce)]=!0x1;}[_0xa60e87(0x1b8)]({targetElement:_0x16c501}){const _0x2107e7=_0xa60e87;Array[_0x2107e7(0x1b1)](_0x16c501[_0x2107e7(0x1d4)](_0x2107e7(0x1c7)))[_0x2107e7(0x1a5)]()[_0x2107e7(0x1cc)](_0x3558b4=>{const _0x2f5cf8=_0x2107e7;_0x3558b4[_0x2f5cf8(0x1ae)](_0x3558b4[_0x2f5cf8(0x1b6)][0x0]);});}[_0xa60e87(0x1ac)](){const _0x2ea482=_0xa60e87;this[_0x2ea482(0x1ce)]=!0x1,this[_0x2ea482(0x1b2)]&&(this[_0x2ea482(0x1b2)][_0x2ea482(0x1bc)](),this[_0x2ea482(0x1b2)]=null);}[_0xa60e87(0x1b4)](_0x26b85b){const _0x2d6c9=_0xa60e87;let _0x20bf3f='';if(function(_0x253142){return _0x367983(_0x253142);}(_0x26b85b)){for(const _0x3a2151 of _0x26b85b[_0x2d6c9(0x1a3)])_0x20bf3f+=this[_0x2d6c9(0x1b4)](_0x3a2151);}else{if(ar(_0x26b85b)){if(!_0x26b85b[_0x2d6c9(0x1c9)])return'';const _0x5a1e1f=_0x26b85b,_0x1446fd=Object[_0x2d6c9(0x1aa)](_0x5a1e1f[_0x2d6c9(0x1a4)])[_0x2d6c9(0x1a2)](([_0x1f652c,_0x1e5a1d])=>_0x1f652c+'=\x22'+_0x1e5a1d+'\x22')[_0x2d6c9(0x19a)]('\x20');_0x20bf3f+='<'+_0x5a1e1f[_0x2d6c9(0x1bf)]+(_0x1446fd?'\x20'+_0x1446fd:'')+'>';for(const _0x10f3f2 of _0x4cb31e(_0x5a1e1f))_0x20bf3f+=this[_0x2d6c9(0x1b4)](_0x10f3f2);_0x20bf3f+='</'+_0x5a1e1f[_0x2d6c9(0x1bf)]+'>';}else{if(!cr(_0x26b85b))return'';if(!_0x26b85b[_0x2d6c9(0x1c9)])return'';!function(_0x213635){const _0x4a1b60=_0x2d6c9;if(!_0x213635[_0x4a1b60(0x1c3)]||!ar(_0x213635[_0x4a1b60(0x1c3)]))return!0x1;if(!hr[_0x4a1b60(0x1cd)](_0x213635[_0x4a1b60(0x1c3)][_0x4a1b60(0x1bf)]))return!0x1;return!_0x515b96(_0x213635)[_0x4a1b60(0x19d)](/^\s*[<>]\s*$/);}(_0x26b85b)?_0x20bf3f+=_0x10e6f5(_0x26b85b):_0x20bf3f+=_0x10e6f5(new _0x99c864(_0x2d6c9(0x1d5),{'data-ck-html-streamer-word-chunk':'','style':this[_0x2d6c9(0x1ab)][_0x2d6c9(0x1a7)]},[_0x26b85b]));}}return _0x20bf3f;}[_0xa60e87(0x1af)](){const _0x4c8c61=_0xa60e87,_0x5eaf70=[];return function(_0x7a6bab,_0x4b39a9){const _0x367ee9=_0x261d,_0x56800a=_0x532b33=>{const _0xb7c153=_0x261d;if(_0x4b39a9(_0x532b33),_0x532b33 instanceof _0x577c1f)for(let _0x4bdc9c=0x0;_0x4bdc9c<_0x532b33[_0xb7c153(0x1a3)][_0xb7c153(0x1c1)];_0x4bdc9c++){const _0x10cc2c=_0x532b33[_0xb7c153(0x1a3)][_0x4bdc9c];_0x56800a(_0x10cc2c);}};for(let _0x3d0b9f=0x0;_0x3d0b9f<_0x7a6bab[_0x367ee9(0x1a3)][_0x367ee9(0x1c1)];_0x3d0b9f++)_0x56800a(_0x7a6bab[_0x367ee9(0x1a3)][_0x3d0b9f]);}(this[_0x4c8c61(0x1c2)],_0x22cb44=>{const _0xeafdb6=_0x4c8c61;if(cr(_0x22cb44)){const _0x39b11c=this[_0xeafdb6(0x1b5)](_0x22cb44);_0x39b11c[_0xeafdb6(0x1c1)]&&_0x5eaf70[_0xeafdb6(0x1b3)](..._0x39b11c);}_0x22cb44[_0xeafdb6(0x199)]||_0x22cb44[_0xeafdb6(0x1d3)]||_0x5eaf70[_0xeafdb6(0x1b3)](_0x22cb44);}),_0x5eaf70;}[_0xa60e87(0x1b5)](_0x44f995){const _0x5f136e=_0xa60e87;if(_0x44f995[_0x5f136e(0x199)]||_0x44f995[_0x5f136e(0x1d3)])return[];const _0x549dc9=_0x515b96(_0x44f995)[_0x5f136e(0x19d)](/(?:\s*\S+\s*)/g),_0x19621f=[];if(_0x549dc9&&_0x549dc9[_0x5f136e(0x1c1)]>0x1){for(const _0x13a989 of _0x549dc9){const _0x2929ee=new _0x4d63d0(_0x13a989);_0x2929ee[_0x5f136e(0x1d3)]=!0x0,_0x461d60(_0x44f995,_0x2929ee),_0x19621f[_0x5f136e(0x1b3)](_0x2929ee);}_0x44f995[_0x5f136e(0x199)]=!0x0,_0x369bb3(_0x44f995);}return _0x19621f;}}const hr=['p','li','td','th',_0xa60e87(0x1d5),'h1','h2','h3','h4','h5','h6','b',_0xa60e87(0x1a8),'i','em',_0xa60e87(0x198),_0xa60e87(0x1c5),_0xa60e87(0x1bb),_0xa60e87(0x1c6),_0xa60e87(0x1cb),'a',_0xa60e87(0x1cf),_0xa60e87(0x19c)];function cr(_0x31286c){return _0x4a6f7e(_0x31286c);}function ar(_0x4ae20d){return _0x7b6b(_0x4ae20d);}function mr(_0x5c8cfb){const _0x57254f=new AbortController();return{'promise':new Promise((_0x3fe685,_0x2e128e)=>{const _0x5182f3=_0x261d,_0x44d11b=setTimeout(_0x3fe685,_0x5c8cfb);_0x57254f[_0x5182f3(0x1b0)][_0x5182f3(0x1b9)](_0x5182f3(0x1bc),()=>{clearTimeout(_0x44d11b),_0x2e128e();});}),'abortController':_0x57254f};}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ai/aieditorintegration/aieditorintegration
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { AIToggleButtonUI } from './aitogglebutton/aitogglebuttonui.js';
|
|
11
|
+
/**
|
|
12
|
+
* The AI Editor Integration plugin. It registers AI-related components in the editor
|
|
13
|
+
* and provides the necessary UI elements for AI functionality.
|
|
14
|
+
*
|
|
15
|
+
* This plugin works alongside context plugins that provide specific AI features,
|
|
16
|
+
* handling the editor-level integration and toolbar controls.
|
|
17
|
+
*/
|
|
18
|
+
export declare class AIEditorIntegration extends Plugin {
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get requires(): readonly [typeof AIToggleButtonUI];
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get pluginName(): "AIEditorIntegration";
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get isOfficialPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
static get isPremiumPlugin(): true;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x56b6(){var _0x10901f=['50RbjPIP','195542TuGBQv','5337612wUMCAd','AIEditorIntegration','4978143iEOPIG','9rNIgxj','4265368hkRzwM','pluginName','204ZfFuEl','33025YYFPzI','910539phRskv','requires','2830422dmTlQe','isOfficialPlugin','isPremiumPlugin'];_0x56b6=function(){return _0x10901f;};return _0x56b6();}var _0x402f7f=_0x5d1f;function _0x5d1f(_0xd9c468,_0x289acf){var _0x56b643=_0x56b6();return _0x5d1f=function(_0x5d1f45,_0x14101a){_0x5d1f45=_0x5d1f45-0x1c6;var _0x230f39=_0x56b643[_0x5d1f45];return _0x230f39;},_0x5d1f(_0xd9c468,_0x289acf);}(function(_0x3db818,_0xc3a7c1){var _0x3f4abe=_0x5d1f,_0x92e10e=_0x3db818();while(!![]){try{var _0x4d3590=-parseInt(_0x3f4abe(0x1d2))/0x1+-parseInt(_0x3f4abe(0x1c9))/0x2*(parseInt(_0x3f4abe(0x1cd))/0x3)+-parseInt(_0x3f4abe(0x1d0))/0x4*(parseInt(_0x3f4abe(0x1d1))/0x5)+-parseInt(_0x3f4abe(0x1ca))/0x6+-parseInt(_0x3f4abe(0x1d4))/0x7+parseInt(_0x3f4abe(0x1ce))/0x8+parseInt(_0x3f4abe(0x1cc))/0x9*(parseInt(_0x3f4abe(0x1c8))/0xa);if(_0x4d3590===_0xc3a7c1)break;else _0x92e10e['push'](_0x92e10e['shift']());}catch(_0x31c7fb){_0x92e10e['push'](_0x92e10e['shift']());}}}(_0x56b6,0x71517));import{Plugin as _0x3df95d}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x794c8e}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x3df95d{static get[_0x402f7f(0x1d3)](){return[_0x794c8e];}static get[_0x402f7f(0x1cf)](){var _0x21239b=_0x402f7f;return _0x21239b(0x1cb);}static get[_0x402f7f(0x1c6)](){return!0x0;}static get[_0x402f7f(0x1c7)](){return!0x0;}}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ai/aieditorintegration/aitogglebutton/aitogglebuttonui
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { AITabs } from '../../aitabs/aitabs.js';
|
|
11
|
+
/**
|
|
12
|
+
* Registers the `toggleAi` toolbar button that toggles the visibility of AI tabs.
|
|
13
|
+
*
|
|
14
|
+
* Context plugins can’t register toolbar items via the editor’s component factory, so this is provided as a dedicated editor plugin.
|
|
15
|
+
* Include this plugin in the editor configuration to enable the button.
|
|
16
|
+
*/
|
|
17
|
+
export declare class AIToggleButtonUI extends Plugin {
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static get requires(): readonly [typeof AITabs];
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get pluginName(): "AIToggleButtonUI";
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get isOfficialPlugin(): true;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
static get isPremiumPlugin(): true;
|
|
34
|
+
/**
|
|
35
|
+
* @inheritDoc
|
|
36
|
+
*/
|
|
37
|
+
init(): void;
|
|
38
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x2cceac=_0x441f;(function(_0xb59cde,_0x16cca0){const _0x140b35=_0x441f,_0x52385b=_0xb59cde();while(!![]){try{const _0x259a15=-parseInt(_0x140b35(0x14b))/0x1+-parseInt(_0x140b35(0x149))/0x2*(parseInt(_0x140b35(0x14c))/0x3)+-parseInt(_0x140b35(0x146))/0x4+parseInt(_0x140b35(0x14e))/0x5+-parseInt(_0x140b35(0x140))/0x6+-parseInt(_0x140b35(0x147))/0x7*(parseInt(_0x140b35(0x13a))/0x8)+parseInt(_0x140b35(0x144))/0x9*(parseInt(_0x140b35(0x157))/0xa);if(_0x259a15===_0x16cca0)break;else _0x52385b['push'](_0x52385b['shift']());}catch(_0x39035d){_0x52385b['push'](_0x52385b['shift']());}}}(_0xacc1,0xa25ce));import{Plugin as _0x5adb4e}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x5c1f71}from'./toggleaicommand.js';import{ButtonView as _0x40224e,MenuBarMenuListItemButtonView as _0x5162be}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x36f67c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x11198b}from'../../aicore/utils/common-translations.js';import{AITabs as _0xaff691}from'../../aitabs/aitabs.js';function _0x441f(_0x1865e2,_0x382de1){const _0xacc112=_0xacc1();return _0x441f=function(_0x441f1e,_0x31d563){_0x441f1e=_0x441f1e-0x137;let _0x5e23b3=_0xacc112[_0x441f1e];return _0x5e23b3;},_0x441f(_0x1865e2,_0x382de1);}function _0xacc1(){const _0x19bf04=['isOn','requires','8ZtjjCM','ck-ai-toggle-button','value','menuBar:toggleAi','set','AI_TOGGLE_BUTTON_LABEL','2004408ZOijLn','locale','listenTo','get','5824728GwoSvG','isEnabled','381808thGUwR','1925077rAhWMI','_createAIUIButton','2qCnNTU','componentFactory','1137234SILSmO','2059845WlyHaO','init','3023250mgsCWC','editor','execute','commands','bind','toggleAi','isPremiumPlugin','isOfficialPlugin','add','40oITxhQ','AIToggleButtonUI','menuitemcheckbox','pluginName'];_0xacc1=function(){return _0x19bf04;};return _0xacc1();}export class AIToggleButtonUI extends _0x5adb4e{static get[_0x2cceac(0x139)](){return[_0xaff691];}static get[_0x2cceac(0x137)](){const _0x5c711a=_0x2cceac;return _0x5c711a(0x158);}static get[_0x2cceac(0x155)](){return!0x0;}static get[_0x2cceac(0x154)](){return!0x0;}[_0x2cceac(0x14d)](){const _0x262c8a=_0x2cceac,_0x33a9ee=this[_0x262c8a(0x14f)];_0x33a9ee[_0x262c8a(0x151)][_0x262c8a(0x156)](_0x262c8a(0x153),new _0x5c1f71(_0x33a9ee)),_0x33a9ee['ui'][_0x262c8a(0x14a)][_0x262c8a(0x156)](_0x262c8a(0x153),()=>{const _0x5e106b=_0x262c8a,_0xd88d59=this[_0x5e106b(0x148)](_0x40224e);return _0xd88d59[_0x5e106b(0x13e)]({'tooltip':!0x0,'class':_0x5e106b(0x13b)}),_0xd88d59;}),_0x33a9ee['ui'][_0x262c8a(0x14a)][_0x262c8a(0x156)](_0x262c8a(0x13d),()=>{const _0x4e202a=_0x262c8a,_0x50bb4a=this[_0x4e202a(0x148)](_0x5162be);return _0x50bb4a[_0x4e202a(0x13e)]({'role':_0x4e202a(0x159)}),_0x50bb4a;});}[_0x2cceac(0x148)](_0x5bde5e){const _0x2de739=_0x2cceac,_0x2dfc3e=this[_0x2de739(0x14f)],_0x483903=_0x2dfc3e[_0x2de739(0x151)][_0x2de739(0x143)](_0x2de739(0x153)),_0x1dd758=new _0x5bde5e(_0x2dfc3e[_0x2de739(0x141)]);return _0x1dd758[_0x2de739(0x13e)]({'label':_0x11198b(_0x2dfc3e[_0x2de739(0x141)],_0x2de739(0x13f)),'icon':_0x36f67c,'isToggleable':!0x0}),_0x1dd758[_0x2de739(0x152)](_0x2de739(0x145))['to'](_0x483903),_0x1dd758[_0x2de739(0x152)](_0x2de739(0x138))['to'](_0x483903,_0x2de739(0x13c),_0x276f55=>!!_0x276f55),this[_0x2de739(0x142)](_0x1dd758,_0x2de739(0x150),()=>{const _0x5accd2=_0x2de739;_0x483903[_0x5accd2(0x150)]();}),_0x1dd758;}}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ai/aieditorintegration/aitogglebutton/toggleaicommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
export declare class ToggleAICommand extends Command {
|
|
11
|
+
constructor(editor: Editor);
|
|
12
|
+
/**
|
|
13
|
+
* @inheritdoc
|
|
14
|
+
*/
|
|
15
|
+
execute(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x1046(_0x1bd311,_0x19a0ed){const _0x2c177a=_0x2c17();return _0x1046=function(_0x10464f,_0x1e1e31){_0x10464f=_0x10464f-0x97;let _0x3eecce=_0x2c177a[_0x10464f];return _0x3eecce;},_0x1046(_0x1bd311,_0x19a0ed);}function _0x2c17(){const _0x482779=['30mOwcfJ','1785035EmjNhM','2064898FjuGwd','editor','6aFMqED','170530BKrPHI','12243564ybyKVD','1139463JBSGXI','isEnabled','view','2NyZFbl','2504224YnsqRR','plugins','AITabs','value','isVisible','3nNNfHi','get','1723380IuoOsv','execute','8hWrPFQ','bind'];_0x2c17=function(){return _0x482779;};return _0x2c17();}const _0x5838b8=_0x1046;(function(_0x46a020,_0x57ca54){const _0x261d62=_0x1046,_0x5049de=_0x46a020();while(!![]){try{const _0x3a018c=parseInt(_0x261d62(0x9e))/0x1*(-parseInt(_0x261d62(0xa3))/0x2)+-parseInt(_0x261d62(0xa9))/0x3*(parseInt(_0x261d62(0xa4))/0x4)+parseInt(_0x261d62(0xab))/0x5+-parseInt(_0x261d62(0x9d))/0x6*(-parseInt(_0x261d62(0x9a))/0x7)+parseInt(_0x261d62(0x97))/0x8*(parseInt(_0x261d62(0xa0))/0x9)+parseInt(_0x261d62(0x99))/0xa*(-parseInt(_0x261d62(0x9b))/0xb)+parseInt(_0x261d62(0x9f))/0xc;if(_0x3a018c===_0x57ca54)break;else _0x5049de['push'](_0x5049de['shift']());}catch(_0x3a41f0){_0x5049de['push'](_0x5049de['shift']());}}}(_0x2c17,0x5e71d));import{Command as _0x436b2f}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x436b2f{constructor(_0x3b42ef){const _0x1e8a10=_0x1046;super(_0x3b42ef);const _0x5eab2d=_0x3b42ef[_0x1e8a10(0xa5)][_0x1e8a10(0xaa)](_0x1e8a10(0xa6))[_0x1e8a10(0xa2)];this[_0x1e8a10(0x98)](_0x1e8a10(0xa7))['to'](_0x5eab2d,_0x1e8a10(0xa8)),this[_0x1e8a10(0xa1)]=!0x0;}[_0x5838b8(0xac)](){const _0x55593a=_0x5838b8,_0x19e618=this[_0x55593a(0x9c)][_0x55593a(0xa5)][_0x55593a(0xaa)](_0x55593a(0xa6))[_0x55593a(0xa2)];_0x19e618[_0x55593a(0xa8)]=!_0x19e618[_0x55593a(0xa8)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x1658b9=_0x4a4b;function _0x2a96(){var _0x2366fc=['config','900172cThGPp','define','10wtKADB','isPremiumPlugin','requires','210LpxBnG','isOfficialPlugin','234273JTXgKF','AIQuickActions','15416qikWCr','251178cyEMnx','pluginName','10YWJhyS','1467vyABIt','ai.quickActions','1987629uGKjxu','115044vnaqSu','216689JBsSWE'];_0x2a96=function(){return _0x2366fc;};return _0x2a96();}function _0x4a4b(_0xa9b595,_0x3765d7){var _0x2a9614=_0x2a96();return _0x4a4b=function(_0x4a4b43,_0x120c22){_0x4a4b43=_0x4a4b43-0x144;var _0x4643f0=_0x2a9614[_0x4a4b43];return _0x4643f0;},_0x4a4b(_0xa9b595,_0x3765d7);}(function(_0x39b9f5,_0x48f0ce){var _0x4687c5=_0x4a4b,_0x19a432=_0x39b9f5();while(!![]){try{var _0x12f50d=parseInt(_0x4687c5(0x153))/0x1+-parseInt(_0x4687c5(0x14e))/0x2*(parseInt(_0x4687c5(0x149))/0x3)+parseInt(_0x4687c5(0x14c))/0x4+-parseInt(_0x4687c5(0x145))/0x5*(-parseInt(_0x4687c5(0x156))/0x6)+-parseInt(_0x4687c5(0x148))/0x7+-parseInt(_0x4687c5(0x155))/0x8*(parseInt(_0x4687c5(0x146))/0x9)+-parseInt(_0x4687c5(0x151))/0xa*(-parseInt(_0x4687c5(0x14a))/0xb);if(_0x12f50d===_0x48f0ce)break;else _0x19a432['push'](_0x19a432['shift']());}catch(_0x26822a){_0x19a432['push'](_0x19a432['shift']());}}}(_0x2a96,0x28c15));import{Plugin as _0xd8f0b}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x456cb0}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0xa43f5b}from'./aiquickactionsediting.js';export class AIQuickActions extends _0xd8f0b{static get[_0x1658b9(0x150)](){return[_0x456cb0,_0xa43f5b];}static get[_0x1658b9(0x144)](){var _0x295534=_0x1658b9;return _0x295534(0x154);}static get[_0x1658b9(0x152)](){return!0x0;}static get[_0x1658b9(0x14f)](){return!0x0;}constructor(_0x4d52c3){var _0xb93c98=_0x1658b9;super(_0x4d52c3),_0x4d52c3[_0xb93c98(0x14b)][_0xb93c98(0x14d)](_0xb93c98(0x147),{'extraCommands':[],'removeCommands':[]});}}
|