@ckeditor/ckeditor5-ai 47.0.0-alpha.0 → 47.0.0-alpha.1
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 +105 -11
- package/dist/index.css +105 -11
- 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.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/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/aiconfig.d.ts +11 -0
- 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.d.ts +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/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/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +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.d.ts +1 -0
- 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/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +4 -0
- 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/aireviewmode/utils/common-translations.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/index.js +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +112 -11
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2517(_0x5bd20a,_0x3223e8){const _0x1c6897=_0x1c68();return _0x2517=function(_0x25170f,_0x3415ae){_0x25170f=_0x25170f-0x154;let _0x399225=_0x1c6897[_0x25170f];return _0x399225;},_0x2517(_0x5bd20a,_0x3223e8);}const _0xf1d72a=_0x2517;(function(_0x279522,_0x2226a2){const _0x4c6846=_0x2517,_0x417fcc=_0x279522();while(!![]){try{const _0x3a2b16=parseInt(_0x4c6846(0x173))/0x1*(-parseInt(_0x4c6846(0x168))/0x2)+parseInt(_0x4c6846(0x161))/0x3*(parseInt(_0x4c6846(0x16a))/0x4)+-parseInt(_0x4c6846(0x163))/0x5+parseInt(_0x4c6846(0x155))/0x6+parseInt(_0x4c6846(0x172))/0x7+parseInt(_0x4c6846(0x167))/0x8+parseInt(_0x4c6846(0x15f))/0x9;if(_0x3a2b16===_0x2226a2)break;else _0x417fcc['push'](_0x417fcc['shift']());}catch(_0x49faab){_0x417fcc['push'](_0x417fcc['shift']());}}}(_0x1c68,0x1f2a1));import{DocumentPosition as _0x54a74d}from'./documentposition.js';import{clone as _0x191e8a,getParents as _0x19019d,Document as _0x4fb42e,Text as _0x1177df,isTag as _0x913ecc,isText as _0x5d3af6,replaceElement as _0x3908ff,removeElement as _0x315ff1}from'./htmlparser.js';export class DocumentRange{[_0xf1d72a(0x16f)];[_0xf1d72a(0x170)];constructor(_0xd03fc9,_0x1e6044){const _0x474e50=_0xf1d72a;this[_0x474e50(0x16f)]=_0xd03fc9,this[_0x474e50(0x170)]=_0x1e6044;}[_0xf1d72a(0x15e)](_0x29223d){const _0x42cd35=_0xf1d72a;return this==_0x29223d||this[_0x42cd35(0x16f)][_0x42cd35(0x15e)](_0x29223d[_0x42cd35(0x16f)])&&this[_0x42cd35(0x170)][_0x42cd35(0x15e)](_0x29223d[_0x42cd35(0x170)]);}[_0xf1d72a(0x162)](){const _0x1da44b=_0xf1d72a;return new DocumentRange(this[_0x1da44b(0x16f)][_0x1da44b(0x162)](_0x1da44b(0x16f)),this[_0x1da44b(0x170)][_0x1da44b(0x162)](_0x1da44b(0x170)));}[_0xf1d72a(0x15b)](){const _0x552f40=_0xf1d72a,_0x1cdd3a=_0x191e8a(this[_0x552f40(0x16f)][_0x552f40(0x157)]),_0x1f4eff=_0x54a74d[_0x552f40(0x159)](_0x1cdd3a,this[_0x552f40(0x16f)][_0x552f40(0x15c)]),_0x45895d=_0x54a74d[_0x552f40(0x159)](_0x1cdd3a,this[_0x552f40(0x170)][_0x552f40(0x15c)]);let _0x153012,_0x458623;if(_0x5d3af6(_0x1f4eff[_0x552f40(0x15a)])){const _0x343a39=_0x1f4eff[_0x552f40(0x15c)][_0x1f4eff[_0x552f40(0x15c)][_0x552f40(0x160)]-0x1],_0x5c9935=new _0x1177df(_0x1f4eff[_0x552f40(0x15a)][_0x552f40(0x171)][_0x552f40(0x165)](_0x343a39));_0x3908ff(_0x1f4eff[_0x552f40(0x15a)],_0x5c9935),_0x153012=_0x5c9935;}else _0x153012=_0x1f4eff[_0x552f40(0x16c)];if(_0x5d3af6(_0x45895d[_0x552f40(0x15a)])){const _0x58500c=_0x45895d[_0x552f40(0x15c)][_0x45895d[_0x552f40(0x15c)][_0x552f40(0x160)]-0x1],_0x201db7=new _0x1177df(_0x45895d[_0x552f40(0x15a)][_0x552f40(0x171)][_0x552f40(0x165)](0x0,_0x58500c));_0x3908ff(_0x45895d[_0x552f40(0x15a)],_0x201db7),_0x458623=_0x201db7;}else _0x458623=_0x45895d[_0x552f40(0x15d)];if(!(_0x153012&&_0x458623&&_0x1cdd3a[_0x552f40(0x169)]&&_0x1cdd3a[_0x552f40(0x16d)]))return new _0x4fb42e([]);const _0xa857e4=_0x19019d(_0x153012),_0xd9a298=_0x19019d(_0x458623),_0x25c115=[],_0xc5a460=[];let _0x159e9c=_0x1cdd3a[_0x552f40(0x169)];for(;_0x159e9c&&_0x159e9c!==_0x153012;){let _0x29601e;_0xa857e4[_0x552f40(0x16e)](_0x159e9c)||_0x25c115[_0x552f40(0x156)](_0x159e9c),_0x29601e=_0x913ecc(_0x159e9c)?_0x54a74d[_0x552f40(0x16b)](_0x1cdd3a,_0x159e9c,_0x552f40(0x16f)):_0x54a74d[_0x552f40(0x158)](_0x1cdd3a,_0x159e9c),_0x159e9c=_0x29601e?_0x29601e[_0x552f40(0x16c)]:null;}for(_0x159e9c=_0x1cdd3a[_0x552f40(0x16d)];_0x159e9c&&_0x159e9c!==_0x458623;){let _0x18fdae;_0xd9a298[_0x552f40(0x16e)](_0x159e9c)||_0xc5a460[_0x552f40(0x156)](_0x159e9c),_0x18fdae=_0x913ecc(_0x159e9c)?_0x54a74d[_0x552f40(0x16b)](_0x1cdd3a,_0x159e9c,_0x552f40(0x170)):_0x54a74d[_0x552f40(0x164)](_0x1cdd3a,_0x159e9c),_0x159e9c=_0x18fdae?_0x18fdae[_0x552f40(0x15d)]:null;}return _0x25c115[_0x552f40(0x166)](_0x351471=>{_0x315ff1(_0x351471);}),_0xc5a460[_0x552f40(0x154)]()[_0x552f40(0x166)](_0x30bb8e=>{_0x315ff1(_0x30bb8e);}),_0x1cdd3a;}}function _0x1c68(){const _0x13316e=['3DBmTMU','getNudgedToWordBoundary','1272060GeTWxV','createBefore','slice','forEach','885520Fcbfsg','120maAOyD','firstChild','101240ixiycJ','createAt','nextNode','lastChild','includes','start','end','data','1214290ynTpkT','3466GbJDdP','reverse','43200xMcrdl','push','document','createAfter','createFromPath','parent','getContent','path','previousNode','isEqual','2460159JpVUDe','length'];_0x1c68=function(){return _0x13316e;};return _0x1c68();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3d45(){const _0x15abb4=['29yKpKkb','1055368DwMzxt','2379036NazcFS','8FoTKCL','mouseLeaveSuggestion','25126hnkokQ','110zOATQK','4610ICuFSr','30ASKZil','toggleSuggestionDisplayMode','showChangeInText','36279jbWFtu','1468579uMMnsb','117545UzKEPY','like','dislike','rejectSuggestion','applySuggestion','insertSuggestion','mouseOverSuggestion','1168323DOBdkT'];_0x3d45=function(){return _0x15abb4;};return _0x3d45();}const _0x376c8a=_0x42b7;(function(_0x227e83,_0x23345a){const _0x3852a6=_0x42b7,_0x5a68d7=_0x227e83();while(!![]){try{const _0x1e8ff3=-parseInt(_0x3852a6(0xfc))/0x1*(-parseInt(_0x3852a6(0x101))/0x2)+parseInt(_0x3852a6(0xfb))/0x3+-parseInt(_0x3852a6(0xfd))/0x4+-parseInt(_0x3852a6(0x109))/0x5*(-parseInt(_0x3852a6(0x104))/0x6)+parseInt(_0x3852a6(0x108))/0x7*(parseInt(_0x3852a6(0xff))/0x8)+-parseInt(_0x3852a6(0x107))/0x9*(parseInt(_0x3852a6(0x103))/0xa)+-parseInt(_0x3852a6(0x102))/0xb*(-parseInt(_0x3852a6(0xfe))/0xc);if(_0x1e8ff3===_0x23345a)break;else _0x5a68d7['push'](_0x5a68d7['shift']());}catch(_0x5943b2){_0x5a68d7['push'](_0x5a68d7['shift']());}}}(_0x3d45,0xe5dc3));function _0x42b7(_0x42dec8,_0x41b3b1){const _0x3d457e=_0x3d45();return _0x42b7=function(_0x42b716,_0x1744d7){_0x42b716=_0x42b716-0xfb;let _0x1059f8=_0x3d457e[_0x42b716];return _0x1059f8;},_0x42b7(_0x42dec8,_0x41b3b1);}export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x376c8a(0x106),_0x376c8a(0x10e),_0x376c8a(0x10d),_0x376c8a(0x10c),_0x376c8a(0x10f),_0x376c8a(0x100),_0x376c8a(0x105),_0x376c8a(0x10a),_0x376c8a(0x10b)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2b82(){var _0x1f4b17=['900700eYEpVm','6308630cTcjoc','28EDWRzF','110BdGMNw','12ASDMat','22zoxfVx','5002608YqRFLo','get','1579834dLJDgF','229380VofMEy','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.','length','2764064LhOPyW','2232248AbKAWb','ai-get-editor-from-context-no-editor','9XYOTrr','editors','warn'];_0x2b82=function(){return _0x1f4b17;};return _0x2b82();}(function(_0x23c2cc,_0x10406d){var _0x5b2344=_0x3063,_0x2bcfde=_0x23c2cc();while(!![]){try{var _0x366fd9=parseInt(_0x5b2344(0x1eb))/0x1+parseInt(_0x5b2344(0x1e3))/0x2*(-parseInt(_0x5b2344(0x1e7))/0x3)+parseInt(_0x5b2344(0x1ef))/0x4+-parseInt(_0x5b2344(0x1e6))/0x5*(parseInt(_0x5b2344(0x1ec))/0x6)+parseInt(_0x5b2344(0x1e5))/0x7*(parseInt(_0x5b2344(0x1de))/0x8)+parseInt(_0x5b2344(0x1e0))/0x9*(-parseInt(_0x5b2344(0x1e4))/0xa)+parseInt(_0x5b2344(0x1e8))/0xb*(parseInt(_0x5b2344(0x1e9))/0xc);if(_0x366fd9===_0x10406d)break;else _0x2bcfde['push'](_0x2bcfde['shift']());}catch(_0x2a2ad3){_0x2bcfde['push'](_0x2bcfde['shift']());}}}(_0x2b82,0xe74db));import{CKEditorError as _0x49e907}from'ckeditor5/src/utils.js';import{Editor as _0x41a0d0}from'ckeditor5/src/core.js';function _0x3063(_0x421070,_0x416e2d){var _0x2b8211=_0x2b82();return _0x3063=function(_0x30639a,_0x6f3f7d){_0x30639a=_0x30639a-0x1de;var _0x4d7f08=_0x2b8211[_0x30639a];return _0x4d7f08;},_0x3063(_0x421070,_0x416e2d);}export function getEditorFromContext(_0x47948a){var _0x422d2f=_0x3063;if(_0x47948a instanceof _0x41a0d0)return _0x47948a;if(_0x47948a?.[_0x422d2f(0x1e1)]&&_0x47948a[_0x422d2f(0x1e1)][_0x422d2f(0x1ea)](0x0))return _0x47948a[_0x422d2f(0x1e1)][_0x422d2f(0x1ee)]>0x1&&console[_0x422d2f(0x1e2)](_0x422d2f(0x1ed)),_0x47948a[_0x422d2f(0x1e1)][_0x422d2f(0x1ea)](0x0);throw new _0x49e907(_0x422d2f(0x1df));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2eecab,_0x385423){const _0x589b4a=_0x3222,_0x5e2b88=_0x2eecab();while(!![]){try{const _0x47c900=parseInt(_0x589b4a(0x1e2))/0x1+parseInt(_0x589b4a(0x1e0))/0x2+parseInt(_0x589b4a(0x1cc))/0x3+parseInt(_0x589b4a(0x1d1))/0x4*(parseInt(_0x589b4a(0x1cf))/0x5)+-parseInt(_0x589b4a(0x1d0))/0x6+-parseInt(_0x589b4a(0x1e5))/0x7*(-parseInt(_0x589b4a(0x1d6))/0x8)+-parseInt(_0x589b4a(0x1e4))/0x9;if(_0x47c900===_0x385423)break;else _0x5e2b88['push'](_0x5e2b88['shift']());}catch(_0x5cd0ad){_0x5e2b88['push'](_0x5e2b88['shift']());}}}(_0x46a9,0x6322d));import{transformOperationSets as _0xf026ca}from'ckeditor5/src/engine.js';import{append as _0x3922ef,findByAttribute as _0x4a07cc,prependChild as _0x51d058,removeElement as _0x2704f4,serialize as _0x56cdde}from'./htmlparser.js';function _0x3222(_0x1566ac,_0x142372){const _0x46a938=_0x46a9();return _0x3222=function(_0x322230,_0x10ee51){_0x322230=_0x322230-0x1c9;let _0x3a8dfb=_0x46a938[_0x322230];return _0x3a8dfb;},_0x3222(_0x1566ac,_0x142372);}function _0x46a9(){const _0x3e0ae4=['2340822tupRgy','4sJqFZb','length','anchorId','new','removed','680KOqPzA','node','model','cloneNode','operationsA','documentContextContent','getOperations','shift','content','previousSibling','49868ISWAJK','data-id','264478iWHJnF','history','816507yTxCtY','3017hQmLef','getDocumentContext','filter','getDiff','map','document','1291848VsYoTK','type','version','651290SLNlmI'];_0x46a9=function(){return _0x3e0ae4;};return _0x46a9();}export function getOperationsFromReply({editor:_0x2521ef,interaction:_0x5101e3,reply:_0x3f643e,groups:_0x9ccfb,transform:_0x1c4528,documentCompare:_0x220756,documentCompareOptions:_0x515c61}){const _0x2a3894=_0x3222,_0x222c47=_0x5101e3[_0x2a3894(0x1e6)]();if(!_0x222c47)return[];const _0x536f1a=_0x222c47[_0x2a3894(0x1de)],_0x5bf65b=_0x222c47[_0x2a3894(0x1ce)],_0x2bd275=_0x3f643e[_0x2a3894(0x1db)][_0x2a3894(0x1d9)](!0x0);for(const {changes:_0x77e4b5}of _0x9ccfb){const _0xb76797=_0x77e4b5[_0x2a3894(0x1e7)](_0x3be35f=>_0x2a3894(0x1d4)!=_0x3be35f[_0x2a3894(0x1cd)])[_0x2a3894(0x1ca)](_0x217757=>_0x4a07cc(_0x2a3894(0x1e1),_0x217757['id'],_0x2bd275)),_0x1f33a5=_0x77e4b5[_0x2a3894(0x1e7)](_0x4114ae=>_0x2a3894(0x1d5)!=_0x4114ae[_0x2a3894(0x1cd)])[_0x2a3894(0x1ca)](_0x59036c=>_0x59036c[_0x2a3894(0x1d7)][_0x2a3894(0x1d9)](!0x0));let _0x3d4a2d=null;if(_0xb76797[_0x2a3894(0x1d2)]){_0x3d4a2d=_0xb76797[0x0][_0x2a3894(0x1df)];for(let _0x346555=0x0;_0x346555<_0xb76797[_0x2a3894(0x1d2)];_0x346555++)_0x2704f4(_0xb76797[_0x346555]);}if(_0x1f33a5[_0x2a3894(0x1d2)]){_0x3d4a2d||(_0x77e4b5[0x0][_0x2a3894(0x1d3)]?_0x3d4a2d=_0x4a07cc(_0x2a3894(0x1e1),_0x77e4b5[0x0][_0x2a3894(0x1d3)],_0x2bd275):(_0x3d4a2d=_0x1f33a5[_0x2a3894(0x1dd)](),_0x51d058(_0x2bd275,_0x3d4a2d)));for(let _0x1adea0=0x0;_0x1adea0<_0x1f33a5[_0x2a3894(0x1d2)];_0x1adea0++)_0x3922ef(_0x3d4a2d,_0x1f33a5[_0x1adea0]),_0x3d4a2d=_0x1f33a5[_0x1adea0];}}const _0x52fc0a=_0x56cdde(_0x2bd275),_0x482e80=_0x220756[_0x2a3894(0x1c9)](_0x536f1a,_0x52fc0a,_0x515c61)[_0x2a3894(0x1dc)]();if(_0x1c4528){const _0x85d291=_0x2521ef[_0x2a3894(0x1d8)][_0x2a3894(0x1cb)][_0x2a3894(0x1e3)][_0x2a3894(0x1dc)](_0x5bf65b),_0x525a51={'document':_0x2521ef[_0x2a3894(0x1d8)][_0x2a3894(0x1cb)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0xf026ca(_0x482e80,_0x85d291,_0x525a51)[_0x2a3894(0x1da)];}return _0x482e80;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2781b7,_0x5f1f25){const _0x4825c2=_0x5951,_0x2bab01=_0x2781b7();while(!![]){try{const _0x1fdbba=parseInt(_0x4825c2(0x1b2))/0x1+-parseInt(_0x4825c2(0x1f1))/0x2*(-parseInt(_0x4825c2(0x1ca))/0x3)+-parseInt(_0x4825c2(0x1e0))/0x4+-parseInt(_0x4825c2(0x1ef))/0x5*(parseInt(_0x4825c2(0x1c5))/0x6)+-parseInt(_0x4825c2(0x1f0))/0x7+-parseInt(_0x4825c2(0x1bf))/0x8+parseInt(_0x4825c2(0x1dd))/0x9;if(_0x1fdbba===_0x5f1f25)break;else _0x2bab01['push'](_0x2bab01['shift']());}catch(_0x4074cf){_0x2bab01['push'](_0x2bab01['shift']());}}}(_0x5928,0xa5be6));import{findOne as _0x284189,getAttribute as _0x34a605,Document as _0x5593fa,serialize as _0x21500f,parse as _0x5ae145}from'./htmlparser.js';import{_DetachOperation as _0x401acf,_removeFromModelNodeList as _0x30c234,_insertIntoModelNodeList as _0xd45f43}from'ckeditor5/src/engine.js';function _0x5951(_0x56f499,_0x378fa3){const _0x59289e=_0x5928();return _0x5951=function(_0x5951c8,_0x4c5894){_0x5951c8=_0x5951c8-0x1aa;let _0x4a427d=_0x59289e[_0x5951c8];return _0x4a427d;},_0x5951(_0x56f499,_0x378fa3);}export function getSuggestionPartsFromReply({editor:_0x4e4730,changeGroups:_0x27befe,documentContextContent:_0x13ab6d,showDiff:_0xa484f2,trimUnchanged:_0x4bc6b4=!0x0}){const _0x216e85=_0x5951;return _0x27befe[_0x216e85(0x1e5)](_0x35d4e5=>{const _0x37ee44=_0x216e85,_0x48f25d=new _0x5593fa([]),_0x39e5d9=new _0x5593fa([]);for(const _0x49bbd1 of _0x35d4e5[_0x37ee44(0x1e3)])if(_0xa484f2&&_0x37ee44(0x1c2)==_0x49bbd1[_0x37ee44(0x1de)]||_0x39e5d9[_0x37ee44(0x1ab)][_0x37ee44(0x1f3)](_0x49bbd1[_0x37ee44(0x1f9)][_0x37ee44(0x1fd)](!0x0)),_0x37ee44(0x1f8)!=_0x49bbd1[_0x37ee44(0x1de)]&&(_0xa484f2||_0x37ee44(0x1c2)!=_0x49bbd1[_0x37ee44(0x1de)])){const _0x353de7=_0x284189(_0x4b03d2=>_0x34a605(_0x4b03d2,_0x37ee44(0x1d1))==_0x49bbd1['id'],_0x13ab6d,!0x0);_0x353de7&&_0x48f25d[_0x37ee44(0x1ab)][_0x37ee44(0x1f3)](_0x353de7[_0x37ee44(0x1fd)](!0x0));}const _0x4c018c=function(_0x4e9027,_0x488e44,_0x1b2f42,_0x5b19d0,_0x32ef88=!0x0){const _0x5ef121=_0x37ee44,_0x3ad8da=_0x4e9027[_0x5ef121(0x1bc)][_0x5ef121(0x1df)](_0x5ef121(0x1d7)),_0x26b826=_0x4e9027[_0x5ef121(0x1bc)][_0x5ef121(0x1df)](_0x5ef121(0x1d2)),_0x12f923=_0x21500f(_0x488e44),_0x2215ac=_0x21500f(_0x1b2f42),_0x1e6666=_0x4e9027[_0x5ef121(0x1d9)][_0x5ef121(0x1cd)](_0x12f923,_0x5ef121(0x1d3)),_0x66c03d=_0x4e9027[_0x5ef121(0x1ee)][_0x5ef121(0x1e1)](_0x1e6666,0x0),_0x5bb54e=_0x3ad8da[_0x5ef121(0x1b4)](_0x12f923,_0x2215ac,{'anchor':_0x66c03d,'markDeletions':_0x5b19d0}),_0x15f766=_0x5bb54e[_0x5ef121(0x1c3)]();if(0x0==_0x15f766[_0x5ef121(0x1ec)])return null;_0x5b19d0?_0x26b826[_0x5ef121(0x1bd)](_0x15f766):_0x4e9027[_0x5ef121(0x1ee)][_0x5ef121(0x1fb)](_0x28cb40=>{const _0x37ce08=_0x5ef121;for(const _0x295e78 of _0x15f766)if(_0x37ce08(0x1fa)==_0x295e78[_0x37ce08(0x1de)]){const _0xdbb9ab=_0x295e78[_0x37ce08(0x207)],_0x41ed6b=_0x295e78[_0x37ce08(0x1ae)],_0x130902=new _0x401acf(_0xdbb9ab,_0x41ed6b);_0x28cb40[_0x37ce08(0x206)][_0x37ce08(0x1f7)](_0x130902),_0x4e9027[_0x37ce08(0x1ee)][_0x37ce08(0x1ce)](_0x130902);}else _0x295e78[_0x37ce08(0x1cb)]=null,_0x295e78[_0x37ce08(0x1c7)]=!0x1,_0x28cb40[_0x37ce08(0x206)][_0x37ce08(0x1f7)](_0x295e78),_0x4e9027[_0x37ce08(0x1ee)][_0x37ce08(0x1ce)](_0x295e78);});if(_0x32ef88){const _0x153118=getMinimalSelection(_0x4e9027,_0x15f766,_0x1e6666);expandSelectionWithContext(_0x4e9027[_0x5ef121(0x1ee)],_0x153118),function(_0x1d2e04,_0x5ab7ad){const _0x6f227f=_0x5ef121,_0x54cc14=_0x5ab7ad[_0x6f227f(0x1ed)]()[_0x6f227f(0x1e8)];let _0x9e2cb9=_0x5ab7ad[_0x6f227f(0x1ed)]()[_0x6f227f(0x200)];const _0x13679f=_0x54cc14[_0x6f227f(0x1d6)];(_0x9e2cb9[_0x6f227f(0x1e2)]||_0x9e2cb9[_0x6f227f(0x1f4)]&&_0x9e2cb9[_0x6f227f(0x1f4)]['is'](_0x6f227f(0x1b7)))&&(_0xd45f43(_0x9e2cb9,_0x6f227f(0x1ad)),_0x9e2cb9=_0x9e2cb9[_0x6f227f(0x1da)](0x3)),(_0x54cc14[_0x6f227f(0x1e2)]||_0x54cc14[_0x6f227f(0x1c4)]&&_0x54cc14[_0x6f227f(0x1c4)]['is'](_0x6f227f(0x1b7)))&&(_0xd45f43(_0x54cc14,_0x6f227f(0x1ad)),function(_0x2f97db,_0x155f87,_0x55b70d){const _0x247d32=_0x6f227f;for(let [_0x17760a,_0x42dfaa]of _0x2f97db[_0x247d32(0x1e4)]){const _0x5e20be=_0x42dfaa[_0x247d32(0x1bb)](_0x155f87,_0x55b70d,!0x1);_0x42dfaa=_0x5e20be[0x0],_0x2f97db[_0x247d32(0x1e4)][_0x247d32(0x1be)](_0x17760a,_0x42dfaa);}}(_0x13679f,_0x54cc14,0x3),_0x54cc14[_0x6f227f(0x1e7)]==_0x9e2cb9[_0x6f227f(0x1e7)]&&(_0x9e2cb9=_0x9e2cb9[_0x6f227f(0x1da)](0x3)));const _0x5ce3d7=_0x1d2e04[_0x6f227f(0x1af)](_0x1d2e04[_0x6f227f(0x1e1)](_0x13679f,0x0),_0x54cc14),_0x325646=_0x1d2e04[_0x6f227f(0x1af)](_0x9e2cb9,_0x1d2e04[_0x6f227f(0x1e1)](_0x13679f,_0x6f227f(0x200))),_0x4a1395=[..._0x5ce3d7[_0x6f227f(0x1cc)](),..._0x325646[_0x6f227f(0x1cc)]()];_0x4a1395[_0x6f227f(0x1b0)]();for(const _0xe41531 of _0x4a1395)_0x30c234(_0xe41531),_transformMarkersByDeletion(_0x13679f,_0xe41531);}(_0x4e9027[_0x5ef121(0x1ee)],_0x153118);}const _0x2a7f25=_0x4e9027[_0x5ef121(0x1d9)][_0x5ef121(0x1db)](_0x1e6666,{'showSuggestionHighlights':!0x0});return _0x5ae145(_0x2a7f25);}(_0x4e4730,_0x48f25d,_0x39e5d9,_0xa484f2,_0x4bc6b4);return{'type':_0x35d4e5[_0x37ee44(0x1e3)][0x0][_0x37ee44(0x1de)],'index':_0x35d4e5[_0x37ee44(0x1b6)],'content':_0x4c018c};});}function _0x5928(){const _0x11697b=['_applyOperationsAsSuggestions','set','6706728oKFpsR','merge','backward','removed','getOperations','nodeBefore','63870BougfO','newRange','isDocumentOperation','word','isBlock','6fMiFYm','baseVersion','getMinimalFlatRanges','parse','applyOperation','targetPosition','rename','data-id','TrackChangesEditing','$root','isMarkedRemoveOperation','forward','root','DocumentCompare','position','data','getShiftedBy','stringify','POSITIVE_INFINITY','29883627PMFpGY','type','get','4810064oIHUaG','createPositionAt','textNode','changes','markers','map','removeAttribute','parent','start','splitPosition','schema','createPositionFromPath','length','getFirstRange','model','455YvAuir','4697028WZvzKg','377458zLxHOB','addAttribute','push','nodeAfter','insert','_getTransformedByDeletion','addOperation','new','node','remove','change','createSelection','cloneNode','isAfter','setTo','end','isObject','focus','offset','getMovedRangeStart','changeAttribute','batch','sourcePosition','isBefore','children','slice','...','howMany','createRange','reverse','modifySelection','661581fTnrLm','moveTargetPosition','getDiff','split','index','$text','element','path','range','_getTransformedByInsertion','plugins'];_0x5928=function(){return _0x11697b;};return _0x5928();}export function getMinimalSelection(_0xcba9e6,_0x2ad25e,_0x5d8408){const _0x243287=_0x5951,_0x2742ca=_0xcba9e6[_0x243287(0x1bc)][_0x243287(0x1df)](_0x243287(0x1d7));let _0x38ec32=_0xcba9e6[_0x243287(0x1ee)][_0x243287(0x1e1)](_0x5d8408,Number[_0x243287(0x1dc)]),_0x1bc73a=_0xcba9e6[_0x243287(0x1ee)][_0x243287(0x1e1)](_0x5d8408,0x0);for(const _0x46fade of _0x2ad25e){let _0x3d6c2c,_0x4f2bd7;if(_0x2742ca[_0x243287(0x1d4)](_0x46fade))_0x3d6c2c=_0x46fade[_0x243287(0x1c6)][_0x243287(0x1e8)],_0x4f2bd7=_0x46fade[_0x243287(0x1c6)][_0x243287(0x200)];else switch(_0x46fade[_0x243287(0x1de)]){case _0x243287(0x1d0):_0x3d6c2c=_0x46fade[_0x243287(0x1d8)],_0x4f2bd7=_0x3d6c2c[_0x243287(0x1da)](0x1);break;case _0x243287(0x1f2):case _0x243287(0x1e6):case _0x243287(0x205):_0x3d6c2c=_0x46fade[_0x243287(0x1ba)][_0x243287(0x1e8)],_0x4f2bd7=_0x46fade[_0x243287(0x1ba)][_0x243287(0x200)];break;case _0x243287(0x1f5):_0x3d6c2c=_0x46fade[_0x243287(0x1d8)],_0x4f2bd7=_0x3d6c2c[_0x243287(0x1da)](_0x46fade[_0x243287(0x1ae)]);break;case _0x243287(0x1b5):_0x3d6c2c=_0x46fade[_0x243287(0x1e9)],_0x4f2bd7=_0x46fade[_0x243287(0x1b3)];break;case _0x243287(0x1c0):{const _0x15a4d7=_0x46fade[_0x243287(0x1cf)][_0x243287(0x1b9)][_0x243287(0x1ac)](-0x1);_0x3d6c2c=_0xcba9e6[_0x243287(0x1ee)][_0x243287(0x1eb)](_0x5d8408,_0x15a4d7),_0x4f2bd7=_0x3d6c2c[_0x243287(0x1da)](0x1);break;}case _0x243287(0x1fa):{const _0xca7705=_0x46fade[_0x243287(0x1ae)],_0x36dcc=_0x46fade[_0x243287(0x207)][_0x243287(0x1bb)](_0x46fade[_0x243287(0x1cf)],_0xca7705),_0x10fd1b=_0x46fade[_0x243287(0x204)]();_0x243287(0x1fa)==_0x46fade[_0x243287(0x1de)]?(_0x3d6c2c=_0x36dcc,_0x4f2bd7=_0x36dcc):(_0x3d6c2c=_0x10fd1b,_0x4f2bd7=_0x10fd1b[_0x243287(0x1da)](_0xca7705));break;}}_0x3d6c2c&&_0x3d6c2c[_0x243287(0x1aa)](_0x38ec32)&&(_0x38ec32=_0x3d6c2c),_0x4f2bd7&&_0x4f2bd7[_0x243287(0x1fe)](_0x1bc73a)&&(_0x1bc73a=_0x4f2bd7);}return _0xcba9e6[_0x243287(0x1ee)][_0x243287(0x1fc)](_0xcba9e6[_0x243287(0x1ee)][_0x243287(0x1af)](_0x38ec32,_0x1bc73a));}export function expandSelectionWithContext(_0x3359e8,_0xf4ce65){const _0x5b95cd=_0x5951;eo(_0x3359e8,_0xf4ce65,_0x5b95cd(0x1d5));const _0x3f0121=_0xf4ce65[_0x5b95cd(0x1ed)]();_0xf4ce65[_0x5b95cd(0x1ff)]([]),_0xf4ce65[_0x5b95cd(0x1ff)](_0x3f0121,{'backward':!0x0}),eo(_0x3359e8,_0xf4ce65,_0x5b95cd(0x1c1));}function eo(_0x1071ac,_0x14f879,_0x1230a1){const _0x4bc228=_0x5951;let _0x30b761=0x14;for(;_0x30b761;){_0x1071ac[_0x4bc228(0x1b1)](_0x14f879,{'unit':_0x4bc228(0x1c8),'direction':_0x1230a1}),_0x30b761--;const _0x551f3b=_0x14f879[_0x4bc228(0x202)][_0x4bc228(0x1d5)==_0x1230a1?_0x4bc228(0x1c4):_0x4bc228(0x1f4)];if(_0x551f3b&&_0x551f3b['is'](_0x4bc228(0x1b8))&&_0x1071ac[_0x4bc228(0x1ea)][_0x4bc228(0x1c9)](_0x551f3b)&&_0x1071ac[_0x4bc228(0x1ea)][_0x4bc228(0x201)](_0x551f3b))break;}}export function _transformMarkersByDeletion(_0x1d71a7,_0x492db4){const _0x47672c=_0x5951;for(let [_0x8f3cf8,_0x36288f]of _0x1d71a7[_0x47672c(0x1e4)])_0x36288f=_0x36288f[_0x47672c(0x1f6)](_0x492db4[_0x47672c(0x1e8)],_0x492db4[_0x47672c(0x200)][_0x47672c(0x203)]-_0x492db4[_0x47672c(0x1e8)][_0x47672c(0x203)]),_0x1d71a7[_0x47672c(0x1e4)][_0x47672c(0x1be)](_0x8f3cf8,_0x36288f);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3175fc,_0x3c22f5){const _0x534d93=_0x4dcd,_0x16724a=_0x3175fc();while(!![]){try{const _0x3e5017=-parseInt(_0x534d93(0x137))/0x1+-parseInt(_0x534d93(0x12b))/0x2*(-parseInt(_0x534d93(0x138))/0x3)+parseInt(_0x534d93(0x132))/0x4+parseInt(_0x534d93(0x13b))/0x5+-parseInt(_0x534d93(0x128))/0x6*(parseInt(_0x534d93(0x130))/0x7)+-parseInt(_0x534d93(0x13e))/0x8+-parseInt(_0x534d93(0x139))/0x9*(-parseInt(_0x534d93(0x134))/0xa);if(_0x3e5017===_0x3c22f5)break;else _0x16724a['push'](_0x16724a['shift']());}catch(_0x59bb2a){_0x16724a['push'](_0x16724a['shift']());}}}(_0x3a65,0xd589c));import{parseDocument as _0x1bc440}from'htmlparser2';import{append as _0x56a0c6,appendChild as _0x246e2b,find as _0x310e2c,findAll as _0x2093ff,findOne as _0x22a7cd,getChildren as _0x1c57ee,isComment as _0x27183b,isTag as _0x116f31,prepend as _0xf80453,prependChild as _0x2eae35,removeElement as _0x1cf70,replaceElement as _0x1a16e5,textContent as _0x187903,getParent as _0xef3f15,hasChildren as _0x29734f}from'domutils';import _0x4c2855 from'dom-serializer';import{cloneNode as _0x1cb1e7,isDocument as _0x202069,isText as _0x40661e,Element as _0x37392b,Text as _0x2bb329,Document as _0x5bc7c4,NodeWithChildren as _0x446bee}from'domhandler';export{_0x1cb1e7 as cloneNode,_0x310e2c as find,_0x22a7cd as findOne,_0x2093ff as findAll,_0x1c57ee as getChildren,_0xef3f15 as getParent,_0x27183b as isComment,_0x202069 as isDocument,_0x116f31 as isTag,_0x40661e as isText,_0x56a0c6 as append,_0x246e2b as appendChild,_0xf80453 as prepend,_0x2eae35 as prependChild,_0x4c2855 as render,_0x1cf70 as removeElement,_0x1a16e5 as replaceElement,_0x187903 as textContent,_0x29734f as hasChildren,_0x37392b as Element,_0x5bc7c4 as Document,_0x446bee as NodeWithChildren,_0x2bb329 as Text};export function parse(_0x33ab0c){return _0x1bc440(_0x33ab0c);}export function serialize(_0x3f95e9){return _0x4c2855(_0x3f95e9);}export function findByAttribute(_0x4ae446,_0x530198,_0x63c461){const _0x50d731=_0x4dcd,_0x1206b7=null!==_0x530198?_0x321cac=>_0x321cac[_0x50d731(0x131)][_0x4ae446]===_0x530198:_0x16794b=>Boolean(_0x16794b[_0x50d731(0x131)][_0x4ae446]);return _0x22a7cd(_0x5675fd=>_0x116f31(_0x5675fd)&&_0x1206b7(_0x5675fd),_0x63c461);}export function findAllByAttribute(_0x41df06,_0x51dced,_0x492ab9){const _0x3507f4=_0x4dcd,_0x2bf4d9=null!==_0x51dced?_0x180f00=>_0x180f00[_0x3507f4(0x131)][_0x41df06]===_0x51dced:_0xf9b1e6=>Boolean(_0xf9b1e6[_0x3507f4(0x131)][_0x41df06]);return _0x2093ff(_0x34c3e6=>_0x116f31(_0x34c3e6)&&_0x2bf4d9(_0x34c3e6),_0x492ab9);}export function findAllComments(_0x24a95b){return _0x310e2c(_0x4f7e91=>_0x27183b(_0x4f7e91),_0x24a95b,!0x0,0x1/0x0);}function _0x4dcd(_0x31d558,_0x53b024){const _0x3a653a=_0x3a65();return _0x4dcd=function(_0x4dcd07,_0x2e053f){_0x4dcd07=_0x4dcd07-0x128;let _0x2d4245=_0x3a653a[_0x4dcd07];return _0x2d4245;},_0x4dcd(_0x31d558,_0x53b024);}export function getAttribute(_0x47fb1a,_0x38b984){const _0xe935b7=_0x4dcd;return _0x47fb1a&&_0x116f31(_0x47fb1a)?_0x47fb1a[_0xe935b7(0x131)][_0x38b984]:null;}export function setAttribute(_0x31b6af,_0xe32017,_0x20bbd4){const _0x5bffd3=_0x4dcd;_0x116f31(_0x31b6af)&&(null===_0x20bbd4?delete _0x31b6af[_0x5bffd3(0x131)][_0xe32017]:_0x31b6af[_0x5bffd3(0x131)][_0xe32017]=_0x20bbd4);}export function insertElement(_0x192a45,_0x46c98f,_0x2eb4b3){const _0x7ab9ee=_0x4dcd,_0x41d9b4=_0x46c98f[_0x7ab9ee(0x135)](!0x0);_0x7ab9ee(0x12d)===_0x2eb4b3?_0xf80453(_0x192a45,_0x41d9b4):_0x7ab9ee(0x13a)===_0x2eb4b3?_0x2eae35(_0x192a45,_0x41d9b4):_0x7ab9ee(0x13c)===_0x2eb4b3?_0x246e2b(_0x192a45,_0x41d9b4):_0x7ab9ee(0x140)===_0x2eb4b3&&_0x56a0c6(_0x192a45,_0x41d9b4);}export function moveElement(_0x2eb231,_0x244453){_0x1cf70(_0x2eb231),_0x1a16e5(_0x244453,_0x2eb231);}export function clone(_0x1d2ee0){const _0x3c5a06=_0x4dcd;return _0x1d2ee0[_0x3c5a06(0x135)](!0x0);}export function getParents(_0x9bf23b){const _0x2af0e9=_0x4dcd,_0x211ae8=[];let _0x498967=_0x9bf23b;for(;_0x498967;)_0x498967=_0xef3f15(_0x498967),_0x498967&&_0x211ae8[_0x2af0e9(0x12f)](_0x498967);return _0x211ae8;}function _0x3a65(){const _0x51c247=['4586725YaWyHo','beforeend','parentNode','2620280MCtzcF','forEach','afterend','28206bKJbjX','map','nextSibling','148468twgGrb','slice','beforebegin','replace','push','2562cwYAKV','attribs','6843740RlsEHS','reverse','10vyqbWs','cloneNode','indexOf','1747717fSznbt','42NdsCrQ','9026226QxEsFR','afterbegin'];_0x3a65=function(){return _0x51c247;};return _0x3a65();}export function normalizeHTML(_0x24af85){const _0x5f09fc=_0x4dcd;return _0x24af85[_0x5f09fc(0x12e)](/^\s+/gm,'')[_0x5f09fc(0x12e)](/\s+$/gm,'')[_0x5f09fc(0x12e)](/\n*/g,'')[_0x5f09fc(0x12e)](/\s+/g,'\x20')[_0x5f09fc(0x12e)](/>\s*</g,'><');}export function areNodesSame(_0x446e9e,_0x21a566){return normalizeHTML(serialize(_0x446e9e))===normalizeHTML(serialize(_0x21a566));}export function getNodeNestingLevel(_0x4f4411){const _0x492aed=_0x4dcd;let _0x50116b=0x0;for(;_0x4f4411[_0x492aed(0x13d)];)_0x4f4411=_0x4f4411[_0x492aed(0x13d)],_0x50116b++;return _0x50116b;}export function removeElementsAfter(_0x488a64){const _0x2dc775=_0x4dcd,_0x28ea75=[];let _0x18f576=_0x488a64[_0x2dc775(0x12a)];for(;_0x18f576;)_0x28ea75[_0x2dc775(0x12f)](_0x18f576),_0x18f576=_0x18f576[_0x2dc775(0x12a)];_0x28ea75[_0x2dc775(0x13f)](_0x2b13db=>{_0x1cf70(_0x2b13db);});}export function getNodePath(_0x5a0781){const _0x25b790=_0x4dcd;return[_0x5a0781,...getParents(_0x5a0781)][_0x25b790(0x12c)](0x0,-0x1)[_0x25b790(0x129)](_0x500058=>{const _0xf23a44=_0x25b790,_0x5775c7=_0xef3f15(_0x500058);return _0x1c57ee(_0x5775c7)[_0xf23a44(0x136)](_0x500058);})[_0x25b790(0x133)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x44d0ae=_0x4ad6;(function(_0x247cf5,_0x27f608){const _0x3aae8c=_0x4ad6,_0x11c683=_0x247cf5();while(!![]){try{const _0x15fbcb=-parseInt(_0x3aae8c(0xd5))/0x1*(parseInt(_0x3aae8c(0xa0))/0x2)+-parseInt(_0x3aae8c(0xd3))/0x3*(parseInt(_0x3aae8c(0xa2))/0x4)+-parseInt(_0x3aae8c(0xc0))/0x5+parseInt(_0x3aae8c(0xc8))/0x6+-parseInt(_0x3aae8c(0xa5))/0x7+-parseInt(_0x3aae8c(0xd1))/0x8*(parseInt(_0x3aae8c(0xa8))/0x9)+parseInt(_0x3aae8c(0xb1))/0xa;if(_0x15fbcb===_0x27f608)break;else _0x11c683['push'](_0x11c683['shift']());}catch(_0x3aaccc){_0x11c683['push'](_0x11c683['shift']());}}}(_0x3842,0x99d42));import _0x13fc3c from'morphdom';function _0x4ad6(_0x121257,_0x278a5f){const _0x38428c=_0x3842();return _0x4ad6=function(_0x4ad6e6,_0x48e0aa){_0x4ad6e6=_0x4ad6e6-0x9b;let _0x2ec8e1=_0x38428c[_0x4ad6e6];return _0x2ec8e1;},_0x4ad6(_0x121257,_0x278a5f);}import{NodeWithChildren as _0x9615bb,Text as _0x205682,Element as _0x1aad7f,isText as _0x2b72c1,isDocument as _0x48e386,isTag as _0x54a5cf,cloneNode as _0x343bfb,getChildren as _0x540dbf,prepend as _0x4a6ac8,removeElement as _0xc939ed,textContent as _0x41b470,render as _0x5d8a30}from'./htmlparser.js';import{logWarning as _0x14a785}from'ckeditor5/src/utils.js';function _0x3842(){const _0x28e202=['now','1421665NAPxhD','children','includes','sup','stop','cleanUpAnimations','join','div','2602278vcQtRN','parent','abort','querySelectorAll','match','currentIndex','stream','bind','addEventListener','1192yiZzhp','splitTextNodeIntoWordNodes','2284320qrtEBF','isWordSplitResult','175IuFPiK','sub','tagName','childNodes','delay','entries','html-streamer-current-index-out-of-bounds','ins','11078HiFDJD','reverse','4VyvHWw','options','shouldBeStreamed','7409129YfBCgS','mark','from','24435UrAXWC','length','replaceWith','textNodeStyle','code','del','map','span[data-ck-html-streamer-word-chunk]','push','36744490ngZPiP','span','isStreaming','strong','attribs','renderNode','isWordSplitSource','timeoutAbortController','nodesList','getParsedDocumentNodeList','signal','forEach','onStreamUpdate','document'];_0x3842=function(){return _0x28e202;};return _0x3842();}export class HTMLStreamer{[_0x44d0ae(0xa3)];[_0x44d0ae(0xb3)]=!0x1;[_0x44d0ae(0xbe)]=null;[_0x44d0ae(0xb9)]=[];[_0x44d0ae(0xcd)]=0x0;[_0x44d0ae(0xb8)]=null;constructor(_0x49165a){const _0x4145ec=_0x44d0ae;this[_0x4145ec(0xa3)]={'delay':_0x49165a[_0x4145ec(0x9c)]??0x14,'textNodeStyle':_0x49165a[_0x4145ec(0xab)],'onStreamUpdate':_0x49165a[_0x4145ec(0xbd)]||(()=>{})};}async[_0x44d0ae(0xce)]({document:_0x614385,targetElement:_0x193a44,abortSignal:_0x28a8f4}){const _0x34517d=_0x44d0ae;this[_0x34517d(0xb3)]&&this[_0x34517d(0xc4)](),_0x28a8f4?.[_0x34517d(0xd0)](_0x34517d(0xca),this[_0x34517d(0xc4)][_0x34517d(0xcf)](this)),this[_0x34517d(0xbe)]=_0x343bfb(_0x614385,!0x0),this[_0x34517d(0xb9)]=this[_0x34517d(0xba)](),this[_0x34517d(0xb3)]=!0x0,this[_0x34517d(0xcd)]>this[_0x34517d(0xb9)][_0x34517d(0xa9)]&&(_0x14a785(_0x34517d(0x9e),{'currentIndex':this[_0x34517d(0xcd)],'nodeList':this[_0x34517d(0xb9)]}),this[_0x34517d(0xcd)]=this[_0x34517d(0xb9)][_0x34517d(0xa9)]);for(let _0x56c907=0x0;_0x56c907<this[_0x34517d(0xcd)];_0x56c907++)this[_0x34517d(0xb9)][_0x56c907][_0x34517d(0xa4)]=!0x0;let _0xfc434c=0x0;for(let _0x55e295=this[_0x34517d(0xcd)];_0x55e295<this[_0x34517d(0xb9)][_0x34517d(0xa9)];_0x55e295++){const _0x17c4d5=Date[_0x34517d(0xbf)](),_0x5a0ce5=this[_0x34517d(0xb9)][_0x55e295],_0xbdbc0f=_0x17c4d5-_0xfc434c;_0x5a0ce5[_0x34517d(0xa4)]=!0x0;let _0x48a58d=_0x5a0ce5[_0x34517d(0xc9)];for(;_0x48a58d;)_0x48a58d[_0x34517d(0xa4)]=!0x0,_0x48a58d=_0x48a58d[_0x34517d(0xc9)];if(_0xbdbc0f<this[_0x34517d(0xa3)][_0x34517d(0x9c)])try{const {promise:_0x2686f9,abortController:_0x2e7264}=mr(this[_0x34517d(0xa3)][_0x34517d(0x9c)]-_0xbdbc0f);this[_0x34517d(0xb8)]=_0x2e7264,await _0x2686f9;}catch(_0x229e53){return;}_0x13fc3c(_0x193a44,'<'+_0x193a44[_0x34517d(0xd7)]+'>'+this[_0x34517d(0xb6)](this[_0x34517d(0xbe)])+'</'+_0x193a44[_0x34517d(0xd7)]+'>',{'childrenOnly':!0x0}),this[_0x34517d(0xa3)][_0x34517d(0xbd)]&&this[_0x34517d(0xa3)][_0x34517d(0xbd)](),this[_0x34517d(0xcd)]=_0x55e295,_0xfc434c=Date[_0x34517d(0xbf)]();}this[_0x34517d(0xb3)]=!0x1;}[_0x44d0ae(0xc5)]({targetElement:_0xcb5117}){const _0x61957d=_0x44d0ae;Array[_0x61957d(0xa7)](_0xcb5117[_0x61957d(0xcb)](_0x61957d(0xaf)))[_0x61957d(0xa1)]()[_0x61957d(0xbc)](_0x25db31=>{const _0x8ec7da=_0x61957d;_0x25db31[_0x8ec7da(0xaa)](_0x25db31[_0x8ec7da(0x9b)][0x0]);});}[_0x44d0ae(0xc4)](){const _0x4b32ee=_0x44d0ae;this[_0x4b32ee(0xb3)]=!0x1,this[_0x4b32ee(0xb8)]&&(this[_0x4b32ee(0xb8)][_0x4b32ee(0xca)](),this[_0x4b32ee(0xb8)]=null);}[_0x44d0ae(0xb6)](_0xda1bc0){const _0x1fe0bf=_0x44d0ae;let _0x21f277='';if(function(_0x2e9234){return _0x48e386(_0x2e9234);}(_0xda1bc0)){for(const _0x824c4e of _0xda1bc0[_0x1fe0bf(0xc1)])_0x21f277+=this[_0x1fe0bf(0xb6)](_0x824c4e);}else{if(ar(_0xda1bc0)){if(!_0xda1bc0[_0x1fe0bf(0xa4)])return'';const _0x93f85c=_0xda1bc0,_0x2f28e2=Object[_0x1fe0bf(0x9d)](_0x93f85c[_0x1fe0bf(0xb5)])[_0x1fe0bf(0xae)](([_0x34c292,_0x2263de])=>_0x34c292+'=\x22'+_0x2263de+'\x22')[_0x1fe0bf(0xc6)]('\x20');_0x21f277+='<'+_0x93f85c[_0x1fe0bf(0xd7)]+(_0x2f28e2?'\x20'+_0x2f28e2:'')+'>';for(const _0xca72ca of _0x540dbf(_0x93f85c))_0x21f277+=this[_0x1fe0bf(0xb6)](_0xca72ca);_0x21f277+='</'+_0x93f85c[_0x1fe0bf(0xd7)]+'>';}else{if(!cr(_0xda1bc0))return'';if(!_0xda1bc0[_0x1fe0bf(0xa4)])return'';!function(_0xe53eda){const _0x1d169b=_0x1fe0bf;if(!_0xe53eda[_0x1d169b(0xc9)]||!ar(_0xe53eda[_0x1d169b(0xc9)]))return!0x1;if(!hr[_0x1d169b(0xc2)](_0xe53eda[_0x1d169b(0xc9)][_0x1d169b(0xd7)]))return!0x1;return!_0x41b470(_0xe53eda)[_0x1d169b(0xcc)](/^\s*[<>]\s*$/);}(_0xda1bc0)?_0x21f277+=_0x5d8a30(_0xda1bc0):_0x21f277+=_0x5d8a30(new _0x1aad7f(_0x1fe0bf(0xb2),{'data-ck-html-streamer-word-chunk':'','style':this[_0x1fe0bf(0xa3)][_0x1fe0bf(0xab)]},[_0xda1bc0]));}}return _0x21f277;}[_0x44d0ae(0xba)](){const _0x429863=_0x44d0ae,_0x576d63=[];return function(_0x43a3ef,_0x20d182){const _0x4ad818=_0x4ad6,_0xbacada=_0x18ef98=>{const _0x21ce79=_0x4ad6;if(_0x20d182(_0x18ef98),_0x18ef98 instanceof _0x9615bb)for(let _0x5d49c8=0x0;_0x5d49c8<_0x18ef98[_0x21ce79(0xc1)][_0x21ce79(0xa9)];_0x5d49c8++){const _0x222bac=_0x18ef98[_0x21ce79(0xc1)][_0x5d49c8];_0xbacada(_0x222bac);}};for(let _0x580121=0x0;_0x580121<_0x43a3ef[_0x4ad818(0xc1)][_0x4ad818(0xa9)];_0x580121++)_0xbacada(_0x43a3ef[_0x4ad818(0xc1)][_0x580121]);}(this[_0x429863(0xbe)],_0x3dbe4a=>{const _0x2aa09f=_0x429863;if(cr(_0x3dbe4a)){const _0x30ffbc=this[_0x2aa09f(0xd2)](_0x3dbe4a);_0x30ffbc[_0x2aa09f(0xa9)]&&_0x576d63[_0x2aa09f(0xb0)](..._0x30ffbc);}_0x3dbe4a[_0x2aa09f(0xb7)]||_0x3dbe4a[_0x2aa09f(0xd4)]||_0x576d63[_0x2aa09f(0xb0)](_0x3dbe4a);}),_0x576d63;}[_0x44d0ae(0xd2)](_0x2e5e50){const _0x4cd4e4=_0x44d0ae;if(_0x2e5e50[_0x4cd4e4(0xb7)]||_0x2e5e50[_0x4cd4e4(0xd4)])return[];const _0x36218a=_0x41b470(_0x2e5e50)[_0x4cd4e4(0xcc)](/(?:\s*\S+\s*)/g),_0x3aebe9=[];if(_0x36218a&&_0x36218a[_0x4cd4e4(0xa9)]>0x1){for(const _0x763c08 of _0x36218a){const _0x4db6d7=new _0x205682(_0x763c08);_0x4db6d7[_0x4cd4e4(0xd4)]=!0x0,_0x4a6ac8(_0x2e5e50,_0x4db6d7),_0x3aebe9[_0x4cd4e4(0xb0)](_0x4db6d7);}_0x2e5e50[_0x4cd4e4(0xb7)]=!0x0,_0xc939ed(_0x2e5e50);}return _0x3aebe9;}}const hr=['p','li','td','th',_0x44d0ae(0xb2),'h1','h2','h3','h4','h5','h6','b',_0x44d0ae(0xb4),'i','em',_0x44d0ae(0xa6),_0x44d0ae(0xad),_0x44d0ae(0x9f),_0x44d0ae(0xc3),_0x44d0ae(0xd6),'a',_0x44d0ae(0xac),_0x44d0ae(0xc7)];function cr(_0x29e1bf){return _0x2b72c1(_0x29e1bf);}function ar(_0x1afeda){return _0x54a5cf(_0x1afeda);}function mr(_0x5df3b9){const _0x139880=new AbortController();return{'promise':new Promise((_0x263a08,_0x127445)=>{const _0x4c7906=_0x4ad6,_0x2f01d7=setTimeout(_0x263a08,_0x5df3b9);_0x139880[_0x4c7906(0xbb)][_0x4c7906(0xd0)](_0x4c7906(0xca),()=>{clearTimeout(_0x2f01d7),_0x127445();});}),'abortController':_0x139880};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x139385=_0x9228;function _0x9228(_0x1bdc4a,_0x54df22){var _0x2ea6ba=_0x2ea6();return _0x9228=function(_0x922859,_0x345bda){_0x922859=_0x922859-0x138;var _0x55571d=_0x2ea6ba[_0x922859];return _0x55571d;},_0x9228(_0x1bdc4a,_0x54df22);}(function(_0x285d47,_0x58d16a){var _0xf0d854=_0x9228,_0x176535=_0x285d47();while(!![]){try{var _0x287628=-parseInt(_0xf0d854(0x144))/0x1*(-parseInt(_0xf0d854(0x13f))/0x2)+parseInt(_0xf0d854(0x149))/0x3+-parseInt(_0xf0d854(0x140))/0x4+parseInt(_0xf0d854(0x13d))/0x5*(-parseInt(_0xf0d854(0x139))/0x6)+parseInt(_0xf0d854(0x147))/0x7*(-parseInt(_0xf0d854(0x14a))/0x8)+-parseInt(_0xf0d854(0x146))/0x9*(-parseInt(_0xf0d854(0x13b))/0xa)+parseInt(_0xf0d854(0x142))/0xb;if(_0x287628===_0x58d16a)break;else _0x176535['push'](_0x176535['shift']());}catch(_0x1106e0){_0x176535['push'](_0x176535['shift']());}}}(_0x2ea6,0xbd2e1));import{Plugin as _0x2321d6}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x12f0b5}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x2e2764}from'./aiquickactionsediting.js';function _0x2ea6(){var _0x32729e=['5DsTXwu','config','156XPgNEB','2929912GAZKDv','requires','28292319ABrXnJ','pluginName','212GstFdw','isPremiumPlugin','4398489pmEdeI','10268839HslQfP','isOfficialPlugin','673548ssCSEI','8AetNuW','ai.quickActions','1964796bNQrmX','define','10iFGntH','AIQuickActions'];_0x2ea6=function(){return _0x32729e;};return _0x2ea6();}export class AIQuickActions extends _0x2321d6{static get[_0x139385(0x141)](){return[_0x12f0b5,_0x2e2764];}static get[_0x139385(0x143)](){var _0x6e732=_0x139385;return _0x6e732(0x13c);}static get[_0x139385(0x148)](){return!0x0;}static get[_0x139385(0x145)](){return!0x0;}constructor(_0x1e002b){var _0x1f30be=_0x139385;super(_0x1e002b),_0x1e002b[_0x1f30be(0x13e)][_0x1f30be(0x13a)](_0x1f30be(0x138),{'extraCommands':[],'removeCommands':[]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x28761e=_0x3803;(function(_0x25c06,_0x58b48b){const _0x212c16=_0x3803,_0xe05ee=_0x25c06();while(!![]){try{const _0x487bf1=-parseInt(_0x212c16(0xfe))/0x1*(-parseInt(_0x212c16(0x113))/0x2)+-parseInt(_0x212c16(0xe7))/0x3*(-parseInt(_0x212c16(0x101))/0x4)+parseInt(_0x212c16(0xf5))/0x5*(-parseInt(_0x212c16(0xef))/0x6)+-parseInt(_0x212c16(0x119))/0x7+-parseInt(_0x212c16(0x10c))/0x8*(-parseInt(_0x212c16(0xe5))/0x9)+parseInt(_0x212c16(0x108))/0xa+-parseInt(_0x212c16(0x110))/0xb;if(_0x487bf1===_0x58b48b)break;else _0xe05ee['push'](_0xe05ee['shift']());}catch(_0xf6be3a){_0xe05ee['push'](_0xe05ee['shift']());}}}(_0x15ce,0x70b5f));import{Command as _0x31b3cb}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e34ce,first as _0x537699}from'ckeditor5/src/utils.js';function _0x3803(_0x30d044,_0x4b6ef8){const _0x15ce07=_0x15ce();return _0x3803=function(_0x380324,_0x36a72){_0x380324=_0x380324-0xe3;let _0x45b0cf=_0x15ce07[_0x380324];return _0x45b0cf;},_0x3803(_0x30d044,_0x4b6ef8);}import{AIQuickActionType as _0x16b434}from'./aiquickactionsui.js';function _0x15ce(){const _0x5f23a7=['chat','81zLXyBw','startConversation','78609ypENDO','_handleAIChatAction','REVIEW','actionName','handleAIReviewAction','sendMessage','AIChat','getSelectedBlocks','3426czFLTm','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','activateTab','setSelection','locale','document','7835CTysAy','prompt','schema','AITabs','ask-ai','CHAT','displayedPrompt','executeAction','log','15259nUoxdo','editor','_expandSelectionIfCollapsed','124HrARJY','model','plugins','_handleAIReviewAction','icon','addSelectionToChatContext','selection','3729540ydVMew','isCollapsed','view','args','492792chhUNO','AIActions','change','ai-quick-actions-plugin-not-found','4603797hJZVOC','type','AIChatController','8hbsSrh','removeSelectionFromChatContext','_handleAIActionsAction','focusPromptInput','getLimitElement','execute','180089KQTjRS','ACTION','get','AIReviewMode','has'];_0x15ce=function(){return _0x5f23a7;};return _0x15ce();}import{getTranslation as _0x12d2fd}from'./utils/common-translations.js';export class AIQuickActionsCommand extends _0x31b3cb{[_0x28761e(0x118)](_0x2b94d7){const _0x1ad0fd=_0x28761e;switch(_0x2b94d7[_0x1ad0fd(0x111)]){case _0x16b434[_0x1ad0fd(0xfa)]:if(!this[_0x1ad0fd(0xff)][_0x1ad0fd(0x103)][_0x1ad0fd(0xe3)](_0x1ad0fd(0xed))){const _0x302b68=_0x12d2fd(this[_0x1ad0fd(0xff)][_0x1ad0fd(0xf3)],_0x1ad0fd(0xf0),_0x1ad0fd(0xed));throw new _0x4e34ce(_0x1ad0fd(0x10f),this[_0x1ad0fd(0xff)],{'errorMessage':_0x302b68});}this[_0x1ad0fd(0xe8)](_0x2b94d7);break;case _0x16b434[_0x1ad0fd(0x11a)]:if(!this[_0x1ad0fd(0xff)][_0x1ad0fd(0x103)][_0x1ad0fd(0xe3)](_0x1ad0fd(0x10d))){const _0x3d37c2=_0x12d2fd(this[_0x1ad0fd(0xff)][_0x1ad0fd(0xf3)],_0x1ad0fd(0xf0),_0x1ad0fd(0x10d));throw new _0x4e34ce(_0x1ad0fd(0x10f),this[_0x1ad0fd(0xff)],{'errorMessage':_0x3d37c2});}this[_0x1ad0fd(0x115)](_0x2b94d7);break;case _0x16b434[_0x1ad0fd(0xe9)]:if(!this[_0x1ad0fd(0xff)][_0x1ad0fd(0x103)][_0x1ad0fd(0xe3)](_0x1ad0fd(0x11c))){const _0x24471a=_0x12d2fd(this[_0x1ad0fd(0xff)][_0x1ad0fd(0xf3)],_0x1ad0fd(0xf0),_0x1ad0fd(0x11c));throw new _0x4e34ce(_0x1ad0fd(0x10f),this[_0x1ad0fd(0xff)],{'errorMessage':_0x24471a});}this[_0x1ad0fd(0x104)](_0x2b94d7);}}async[_0x28761e(0xe8)](_0x5bedfa){const _0x56d24b=_0x28761e,_0x87bdfa=this[_0x56d24b(0xff)][_0x56d24b(0x103)][_0x56d24b(0x11b)](_0x56d24b(0xed)),_0xc769aa=this[_0x56d24b(0xff)][_0x56d24b(0x103)][_0x56d24b(0x11b)](_0x56d24b(0x112));if(this[_0x56d24b(0xff)][_0x56d24b(0x103)][_0x56d24b(0x11b)](_0x56d24b(0xf8))[_0x56d24b(0x10a)][_0x56d24b(0xf1)](_0x56d24b(0xe4)),_0x56d24b(0xf9)===_0x5bedfa['id'])_0xc769aa[_0x56d24b(0x114)](),this[_0x56d24b(0x100)](),await _0x87bdfa[_0x56d24b(0x106)](),_0x87bdfa[_0x56d24b(0x116)]();else await _0x87bdfa[_0x56d24b(0xe6)](),await _0x87bdfa[_0x56d24b(0x106)](),await _0x87bdfa[_0x56d24b(0xec)]({'message':_0x5bedfa[_0x56d24b(0xf6)]||_0x5bedfa[_0x56d24b(0xfb)],'quickActionData':{'id':_0x5bedfa['id'],'displayedPrompt':_0x5bedfa[_0x56d24b(0xfb)]}});}[_0x28761e(0x100)](){const _0x121c25=_0x28761e,_0x9e99c6=this[_0x121c25(0xff)],_0x1ad447=_0x9e99c6[_0x121c25(0x102)][_0x121c25(0xf4)][_0x121c25(0x107)];if(!_0x1ad447[_0x121c25(0x109)])return;const _0x1f33cb=_0x537699(_0x1ad447[_0x121c25(0xee)]())||_0x9e99c6[_0x121c25(0x102)][_0x121c25(0xf7)][_0x121c25(0x117)](_0x1ad447);_0x9e99c6[_0x121c25(0x102)][_0x121c25(0x10e)](_0x315ab9=>{const _0x1eddcc=_0x121c25;_0x315ab9[_0x1eddcc(0xf2)](_0x1f33cb,'in');});}async[_0x28761e(0x115)](_0x148bc0){const _0x5547ed=_0x28761e,_0x4563b2=this[_0x5547ed(0xff)][_0x5547ed(0x103)][_0x5547ed(0x11b)](_0x5547ed(0x10d)),_0x20e862=_0x148bc0[_0x5547ed(0xf6)]?{'userMessage':_0x148bc0[_0x5547ed(0xf6)],'model':_0x148bc0[_0x5547ed(0x102)]}:{'actionName':_0x148bc0[_0x5547ed(0xea)]||_0x148bc0['id'],'args':_0x148bc0[_0x5547ed(0x10b)]};await _0x4563b2[_0x5547ed(0xfc)](_0x20e862,_0x148bc0[_0x5547ed(0xfb)],_0x148bc0[_0x5547ed(0x105)]);}async[_0x28761e(0x104)](_0x36ee0d){const _0x246547=_0x28761e;console[_0x246547(0xfd)](_0x246547(0xeb),_0x36ee0d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x26e072=_0x4811;(function(_0x44d3f9,_0xa25f76){const _0x54153c=_0x4811,_0x599388=_0x44d3f9();while(!![]){try{const _0x54813b=-parseInt(_0x54153c(0x18f))/0x1*(parseInt(_0x54153c(0x19e))/0x2)+parseInt(_0x54153c(0x195))/0x3*(parseInt(_0x54153c(0x196))/0x4)+-parseInt(_0x54153c(0x194))/0x5*(parseInt(_0x54153c(0x1a3))/0x6)+parseInt(_0x54153c(0x18a))/0x7*(-parseInt(_0x54153c(0x18e))/0x8)+parseInt(_0x54153c(0x189))/0x9*(-parseInt(_0x54153c(0x1a1))/0xa)+parseInt(_0x54153c(0x199))/0xb+parseInt(_0x54153c(0x18c))/0xc;if(_0x54813b===_0xa25f76)break;else _0x599388['push'](_0x599388['shift']());}catch(_0x46fb5f){_0x599388['push'](_0x599388['shift']());}}}(_0xfae5,0x752ee));import{Plugin as _0x6b7d81}from'ckeditor5/src/core.js';function _0x4811(_0x53e570,_0x2e92f2){const _0xfae53d=_0xfae5();return _0x4811=function(_0x4811e3,_0x191726){_0x4811e3=_0x4811e3-0x189;let _0x263262=_0xfae53d[_0x4811e3];return _0x263262;},_0x4811(_0x53e570,_0x2e92f2);}import{AIQuickActionsCommand as _0x55e5de}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x6b7d81{static get[_0x26e072(0x1a5)](){const _0x59899f=_0x26e072;return _0x59899f(0x1a6);}static get[_0x26e072(0x191)](){return!0x0;}static get[_0x26e072(0x19b)](){return!0x0;}[_0x26e072(0x1a0)](){const _0x20b4a2=_0x26e072,_0x31fdf7=this[_0x20b4a2(0x18d)],_0x1ad3f2=new _0x55e5de(this[_0x20b4a2(0x18d)]);if(_0x31fdf7[_0x20b4a2(0x197)][_0x20b4a2(0x18b)](_0x20b4a2(0x19f),_0x1ad3f2),_0x31fdf7[_0x20b4a2(0x190)][_0x20b4a2(0x1a4)](_0x20b4a2(0x198))){const _0x25362f=this[_0x20b4a2(0x18d)][_0x20b4a2(0x190)][_0x20b4a2(0x19c)](_0x20b4a2(0x198));_0x31fdf7[_0x20b4a2(0x192)][_0x20b4a2(0x19a)][_0x20b4a2(0x19d)]['on'](_0x20b4a2(0x1a7),(_0x4c1eeb,_0x97b7c2)=>{const _0x2976ba=_0x20b4a2;_0x97b7c2[_0x2976ba(0x193)]&&_0x25362f[_0x2976ba(0x1a2)]();});}}}function _0xfae5(){const _0x2673ab=['plugins','isOfficialPlugin','model','directChange','1453055UyUCkm','1902741kKwLRm','4PtXuKG','commands','AIChat','1131119kpmBBJ','document','isPremiumPlugin','get','selection','1336748EWwBGv','aiQuickAction','init','44900sVsxbY','removeSelectionFromChatContext','12dyKAom','has','pluginName','AIQuickActionsEditing','change:range','360NcmdOn','5700198gbSJSX','add','23836992uCqHFR','editor','8dncgYR','1txsxEO'];_0xfae5=function(){return _0x2673ab;};return _0xfae5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x544c45=_0x3b7c;(function(_0x3ee3d5,_0x1cfe59){const _0x4b575b=_0x3b7c,_0x1f813c=_0x3ee3d5();while(!![]){try{const _0x22cd61=-parseInt(_0x4b575b(0x146))/0x1+parseInt(_0x4b575b(0x160))/0x2+-parseInt(_0x4b575b(0x130))/0x3*(parseInt(_0x4b575b(0x140))/0x4)+parseInt(_0x4b575b(0x117))/0x5*(-parseInt(_0x4b575b(0x17e))/0x6)+parseInt(_0x4b575b(0x12d))/0x7*(parseInt(_0x4b575b(0x151))/0x8)+-parseInt(_0x4b575b(0x122))/0x9+parseInt(_0x4b575b(0x14b))/0xa;if(_0x22cd61===_0x1cfe59)break;else _0x1f813c['push'](_0x1f813c['shift']());}catch(_0x2ed7d8){_0x1f813c['push'](_0x1f813c['shift']());}}}(_0xc67b,0xb5894));import{IconAIAdjustLength as _0xa0c01f,IconAIAskAI as _0x3d6657,IconAIChangeTone as _0x55a3a1,IconAIChatCommands as _0x540794,IconAIContinueWriting as _0x463787,IconAIGrammarCheck as _0x3e0f4f,IconAIImproveWriting as _0xed7fa,IconAIOther as _0x4e1a8e,IconAIQuickActions as _0x4882dd,IconAITranslate as _0x225037}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x10a5d}from'ckeditor5/src/core.js';import{getTranslation as _0x2cdac2}from'./utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4df572}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2fc662}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x102ff8,BalloonToolbar as _0x1fd19d}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x3b7c(_0x2a7597,_0x4af34d){const _0xc67b82=_0xc67b();return _0x3b7c=function(_0x3b7c74,_0x1e158b){_0x3b7c74=_0x3b7c74-0x10a;let _0x54e17c=_0xc67b82[_0x3b7c74];return _0x54e17c;},_0x3b7c(_0x2a7597,_0x4af34d);}const zt=_0x544c45(0x123),Wt=_0x544c45(0x13d),Jt=_0x544c45(0x133);export var AIQuickActionType;!function(_0x51d2b5){const _0x7b41b3=_0x544c45;_0x51d2b5[_0x7b41b3(0x157)]=_0x7b41b3(0x157),_0x51d2b5[_0x7b41b3(0x16e)]=_0x7b41b3(0x16e),_0x51d2b5[_0x7b41b3(0x169)]=_0x7b41b3(0x169);}(AIQuickActionType||(AIQuickActionType={}));function _0xc67b(){const _0x23d2ab=['355416iGXAno','explain','get','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-french','continue-writing','translate-to-russian','_quickActionsDefinition','AI_QUICK_ACTIONS_SUMMARIZE','improve-writing','japanese','AIReviewMode','translate-to-korean','make-tone-professional','filter','editor','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','isOfficialPlugin','fix-grammar-and-spelling','45lPuupJ','AI_QUICK_ACTIONS_TRANSLATE','DisplayNames','config','AI_QUICK_ACTIONS_MORE_CONFIDENT','_shouldIncludeAction','summarize','forEach','korean','french','aiQuickActions','510300NhtYJG','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','add','pluginName','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','make-tone-confident','AIQuickActionsUI','english','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-italian','AI_QUICK_ACTIONS_ADJUST_LENGTH','7LShWIl','adjust-length','locale','681924czSGKQ','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_CHANGE_TONE','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_OTHER','translate-to-portuguese','componentFactory','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','type','change-tone','AIActions','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','has','AI_QUICK_ACTIONS_IMPROVE_WRITING','20xGJPAg','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','highlight-key-points','length','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_MORE_FRIENDLY','1180712OjTlUI','AI_QUICK_ACTIONS_MORE_DIRECT','ask-ai','translate','ai.quickActions.extraCommands','14696380qvTxLd','getDefaultQuickActions','AI_QUICK_ACTIONS_EXPLAIN','replace','language','make-tone-direct','8901048FEoqok','find','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','chinese','_getDefaultAndCustomActions','make-shorter','CHAT','map','make-tone-friendly','translate-to-english','English','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_HEADING','russian','AI_QUICK_ACTIONS_ASK_AI','2136758TgQYFX','portuguese','attachToDom','plugins','requires','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','ai.quickActions.removeCommands','includes','REVIEW','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','make-longer','translate-to-japanese','init','ACTION','uiLanguage','translate-to-chinese','AIChat','push','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_MAKE_LONGER','chat-commands','_initializeQuickActionsComponentsAndCommands','_initializeQuickActionsDropdown','other','make-tone-casual','actions','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','isPremiumPlugin','italian'];_0xc67b=function(){return _0x23d2ab;};return _0xc67b();}export var AIQuickActionTypeToPluginName;!function(_0x1e4a97){const _0x48555c=_0x544c45;_0x1e4a97[_0x48555c(0x157)]=_0x48555c(0x171),_0x1e4a97[_0x48555c(0x16e)]=_0x48555c(0x13c),_0x1e4a97[_0x48555c(0x169)]=_0x48555c(0x10f);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x10a5d{static get[_0x544c45(0x164)](){return[_0x1fd19d];}static get[_0x544c45(0x125)](){const _0x2fd5e0=_0x544c45;return _0x2fd5e0(0x128);}static get[_0x544c45(0x115)](){return!0x0;}static get[_0x544c45(0x17c)](){return!0x0;}[_0x544c45(0x16d)](){const _0x15b392=_0x544c45;this[_0x15b392(0x173)](this[_0x15b392(0x155)]()),this[_0x15b392(0x176)]();}static[_0x544c45(0x14c)](_0x44edc4){return function(_0x515041){const _0x5a034b=_0x3b7c,_0x21d3c9=new Intl[(_0x5a034b(0x119))](['en'],{'type':_0x5a034b(0x14f)})['of'](_0x515041[_0x5a034b(0x16f)]),_0x472988=_0x21d3c9||_0x5a034b(0x15b),_0x7bfc3f=[{'id':_0x5a034b(0x148),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x15f)),'type':AIQuickActionType[_0x5a034b(0x157)],'icon':_0x3d6657},{'id':_0x5a034b(0x175),'label':_0x2cdac2(_0x515041,_0x5a034b(0x15c)),'icon':_0x540794,'actions':[{'id':_0x5a034b(0x17f),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x14d)),'prompt':zt[_0x5a034b(0x14e)]('%0',_0x472988),'type':AIQuickActionType[_0x5a034b(0x157)]},{'id':_0x5a034b(0x11d),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x10c)),'prompt':Wt[_0x5a034b(0x14e)]('%0',_0x472988),'type':AIQuickActionType[_0x5a034b(0x157)]},{'id':_0x5a034b(0x142),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x141)),'prompt':Jt[_0x5a034b(0x14e)]('%0',_0x472988),'type':AIQuickActionType[_0x5a034b(0x157)]}]},{'id':_0x5a034b(0x10d),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x13f)),'type':AIQuickActionType[_0x5a034b(0x16e)],'icon':_0xed7fa},{'id':_0x5a034b(0x183),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x12a)),'type':AIQuickActionType[_0x5a034b(0x16e)],'icon':_0x463787},{'id':_0x5a034b(0x116),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x144)),'type':AIQuickActionType[_0x5a034b(0x16e)],'icon':_0x3e0f4f},{'id':_0x5a034b(0x12e),'label':_0x2cdac2(_0x515041,_0x5a034b(0x12c)),'icon':_0xa0c01f,'actions':[{'id':_0x5a034b(0x156),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x165)),'type':AIQuickActionType[_0x5a034b(0x16e)]},{'id':_0x5a034b(0x16b),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x174)),'type':AIQuickActionType[_0x5a034b(0x16e)]}]},{'id':_0x5a034b(0x13b),'label':_0x2cdac2(_0x515041,_0x5a034b(0x132)),'icon':_0x55a3a1,'actions':[{'id':_0x5a034b(0x179),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x181)),'type':AIQuickActionType[_0x5a034b(0x16e)]},{'id':_0x5a034b(0x150),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x147)),'type':AIQuickActionType[_0x5a034b(0x16e)]},{'id':_0x5a034b(0x159),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x145)),'type':AIQuickActionType[_0x5a034b(0x16e)]},{'id':_0x5a034b(0x127),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x11b)),'type':AIQuickActionType[_0x5a034b(0x16e)]},{'id':_0x5a034b(0x111),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x16a)),'type':AIQuickActionType[_0x5a034b(0x16e)]}]},{'id':_0x5a034b(0x149),'label':_0x2cdac2(_0x515041,_0x5a034b(0x118)),'icon':_0x225037,'actions':[{'id':_0x5a034b(0x15a),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x139)),'type':AIQuickActionType[_0x5a034b(0x16e)],'actionName':_0x5a034b(0x149),'args':{'language':_0x5a034b(0x129)}},{'id':_0x5a034b(0x170),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x17b)),'type':AIQuickActionType[_0x5a034b(0x16e)],'actionName':_0x5a034b(0x149),'args':{'language':_0x5a034b(0x154)}},{'id':_0x5a034b(0x182),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x134)),'type':AIQuickActionType[_0x5a034b(0x16e)],'actionName':_0x5a034b(0x149),'args':{'language':_0x5a034b(0x120)}},{'id':_0x5a034b(0x16c),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x126)),'type':AIQuickActionType[_0x5a034b(0x16e)],'actionName':_0x5a034b(0x149),'args':{'language':_0x5a034b(0x10e)}},{'id':_0x5a034b(0x136),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x166)),'type':AIQuickActionType[_0x5a034b(0x16e)],'actionName':_0x5a034b(0x149),'args':{'language':_0x5a034b(0x161)}},{'id':_0x5a034b(0x110),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x114)),'type':AIQuickActionType[_0x5a034b(0x16e)],'actionName':_0x5a034b(0x149),'args':{'language':_0x5a034b(0x11f)}},{'id':_0x5a034b(0x12b),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x153)),'type':AIQuickActionType[_0x5a034b(0x16e)],'actionName':_0x5a034b(0x149),'args':{'language':_0x5a034b(0x17d)}},{'id':_0x5a034b(0x10a),'displayedPrompt':_0x2cdac2(_0x515041,_0x5a034b(0x131)),'type':AIQuickActionType[_0x5a034b(0x16e)],'actionName':_0x5a034b(0x149),'args':{'language':_0x5a034b(0x15e)}}]},{'id':_0x5a034b(0x178),'label':_0x2cdac2(_0x515041,_0x5a034b(0x135)),'icon':_0x4e1a8e,'actions':[]}];return _0x7bfc3f;}(_0x44edc4);}[_0x544c45(0x155)](){const _0x2dc49d=_0x544c45,_0x2171b8=AIQuickActionsUI[_0x2dc49d(0x14c)](this[_0x2dc49d(0x113)][_0x2dc49d(0x12f)]),_0x43ddce=(this[_0x2dc49d(0x113)][_0x2dc49d(0x11a)][_0x2dc49d(0x180)](_0x2dc49d(0x14a))||[])[_0x2dc49d(0x158)](_0x14aa0e=>({..._0x14aa0e,'icon':void 0x0}));return _0x2171b8[_0x2dc49d(0x152)](_0x5ec3f9=>_0x2dc49d(0x178)===_0x5ec3f9['id'])[_0x2dc49d(0x17a)][_0x2dc49d(0x172)](..._0x43ddce),_0x2171b8;}[_0x544c45(0x176)](){const _0x28ff2e=_0x544c45,_0x28cdcc=new _0x102ff8(this[_0x28ff2e(0x113)][_0x28ff2e(0x12f)]);_0x28cdcc[_0x28ff2e(0x162)](),this[_0x28ff2e(0x177)](_0x28cdcc),this[_0x28ff2e(0x138)](_0x28cdcc);}[_0x544c45(0x177)](_0x440963){const _0x4bc19b=_0x544c45;this[_0x4bc19b(0x113)]['ui'][_0x4bc19b(0x137)][_0x4bc19b(0x124)](_0x4bc19b(0x121),_0x4df572(this[_0x4bc19b(0x113)],this[_0x4bc19b(0x10b)],{'icon':_0x4882dd,'label':_0x2cdac2(this[_0x4bc19b(0x113)][_0x4bc19b(0x12f)],_0x4bc19b(0x15d))},_0x440963));}[_0x544c45(0x173)](_0x5c9252){const _0x881045=_0x544c45;this[_0x881045(0x10b)]=_0x5c9252[_0x881045(0x158)](_0x4513d1=>{const _0x94ddbe=_0x881045;if(_0x94ddbe(0x17a)in _0x4513d1){const _0x239930=_0x4513d1;return{..._0x239930,'actions':_0x239930[_0x94ddbe(0x17a)][_0x94ddbe(0x158)](_0xb537ae=>{const {actions:_0x3ca53a,..._0x49a92b}=_0x239930;return{..._0xb537ae,'parent':_0x49a92b};})[_0x94ddbe(0x112)](_0x304cb9=>this[_0x94ddbe(0x11c)](_0x304cb9))};}return _0x4513d1;})[_0x881045(0x112)](_0x3350b9=>_0x881045(0x17a)in _0x3350b9?_0x3350b9[_0x881045(0x17a)][_0x881045(0x143)]>0x0:this[_0x881045(0x11c)](_0x3350b9));}[_0x544c45(0x11c)](_0x4710d9){const _0xddbd42=_0x544c45,_0x5471c5=this[_0xddbd42(0x113)][_0xddbd42(0x11a)][_0xddbd42(0x180)](_0xddbd42(0x167))||[];return this[_0xddbd42(0x113)][_0xddbd42(0x163)][_0xddbd42(0x13e)](AIQuickActionTypeToPluginName[_0x4710d9[_0xddbd42(0x13a)]])&&!_0x5471c5[_0xddbd42(0x168)](_0x4710d9['id']);}[_0x544c45(0x138)](_0x1732fa){const _0x3298ae=_0x544c45;this[_0x3298ae(0x10b)][_0x3298ae(0x11e)](_0x5adf0b=>{const _0x25f067=_0x3298ae;if(_0x25f067(0x17a)in _0x5adf0b){const _0x53820c=_0x4df572(this[_0x25f067(0x113)],_0x5adf0b[_0x25f067(0x17a)],_0x5adf0b,_0x1732fa);this[_0x25f067(0x113)]['ui'][_0x25f067(0x137)][_0x25f067(0x124)](_0x5adf0b['id'],_0x53820c),_0x5adf0b[_0x25f067(0x17a)][_0x25f067(0x11e)](_0x28589f=>{const _0x592363=_0x25f067,_0x37e681=_0x2fc662(this[_0x592363(0x113)],_0x28589f);this[_0x592363(0x113)]['ui'][_0x592363(0x137)][_0x592363(0x124)](_0x28589f['id'],_0x37e681);});}else{const _0x405d7b=_0x2fc662(this[_0x25f067(0x113)],_0x5adf0b);this[_0x25f067(0x113)]['ui'][_0x25f067(0x137)][_0x25f067(0x124)](_0x5adf0b['id'],_0x405d7b);}});}}
|
|
23
|
+
const _0x5e0868=_0xae8e;function _0xae8e(_0x4b5b32,_0x9ab965){const _0x9419af=_0x9419();return _0xae8e=function(_0xae8e6f,_0x19edde){_0xae8e6f=_0xae8e6f-0xa9;let _0x4901e5=_0x9419af[_0xae8e6f];return _0x4901e5;},_0xae8e(_0x4b5b32,_0x9ab965);}(function(_0x101232,_0x14b403){const _0x4ff3a6=_0xae8e,_0x5af25f=_0x101232();while(!![]){try{const _0x1ffedc=parseInt(_0x4ff3a6(0xc4))/0x1+-parseInt(_0x4ff3a6(0x11f))/0x2+-parseInt(_0x4ff3a6(0x10f))/0x3*(parseInt(_0x4ff3a6(0xe5))/0x4)+parseInt(_0x4ff3a6(0x10a))/0x5*(parseInt(_0x4ff3a6(0xd6))/0x6)+-parseInt(_0x4ff3a6(0xc1))/0x7*(parseInt(_0x4ff3a6(0xe0))/0x8)+-parseInt(_0x4ff3a6(0xc2))/0x9*(parseInt(_0x4ff3a6(0xfd))/0xa)+parseInt(_0x4ff3a6(0x118))/0xb;if(_0x1ffedc===_0x14b403)break;else _0x5af25f['push'](_0x5af25f['shift']());}catch(_0x4c2089){_0x5af25f['push'](_0x5af25f['shift']());}}}(_0x9419,0x7d36a));import{IconAIAdjustLength as _0x274000,IconAIAskAI as _0x39117d,IconAIChangeTone as _0x3e0f57,IconAIChatCommands as _0x53dc4e,IconAIContinueWriting as _0x22f19b,IconAIGrammarCheck as _0x36ac01,IconAIImproveWriting as _0x2ee413,IconAIOther as _0xc80403,IconAIQuickActions as _0x505405,IconAITranslate as _0x5d5f2b}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1540f8}from'ckeditor5/src/core.js';import{getTranslation as _0x251cd9}from'./utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x400983}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x358021}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x18b454,BalloonToolbar as _0x548310}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Ft=_0x5e0868(0xb5),zt=_0x5e0868(0xa9),Wt=_0x5e0868(0x111);export var AIQuickActionType;!function(_0x5e1fea){const _0x235d1a=_0x5e0868;_0x5e1fea[_0x235d1a(0xee)]=_0x235d1a(0xee),_0x5e1fea[_0x235d1a(0xbc)]=_0x235d1a(0xbc),_0x5e1fea[_0x235d1a(0xf0)]=_0x235d1a(0xf0);}(AIQuickActionType||(AIQuickActionType={}));function _0x9419(){const _0xb325d4=['457046RItBZB','other','AI_QUICK_ACTIONS_IMPROVE_WRITING','config','italian','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','length','ask-ai','make-tone-professional','isPremiumPlugin','highlight-key-points','adjust-length','translate-to-english','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_MORE_DIRECT','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_CHANGE_TONE','AIQuickActionsUI','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','add','make-tone-friendly','ACTION','requires','find','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','1694OrMaLH','18EyFzuu','translate-to-chinese','80207PKHabC','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_shouldIncludeAction','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_ADJUST_LENGTH','fix-grammar','make-longer','chat-commands','locale','filter','summarize','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','pluginName','English','1524816YJvrsm','includes','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_OTHER','explain','get','improve-writing','english','type','push','19160CfQDAh','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AIReviewMode','20StupGE','has','translate-to-japanese','_initializeQuickActionsDropdown','forEach','attachToDom','portuguese','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','CHAT','make-tone-confident','REVIEW','translate','DisplayNames','AI_QUICK_ACTIONS_MAKE_SHORTER','japanese','continue','make-tone-casual','AI_QUICK_ACTIONS_HEADING','replace','translate-to-french','translate-to-russian','french','translate-to-portuguese','727480npGZdK','init','AIActions','actions','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','korean','chinese','editor','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_CONTINUE_WRITING','AIChat','translate-to-korean','translate-to-italian','10vuHVGo','_quickActionsDefinition','uiLanguage','componentFactory','AI_QUICK_ACTIONS_ASK_AI','578373eaNrUg','language','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-direct','map','isOfficialPlugin','change-tone','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_SUMMARIZE','20261549RXpUDU','make-shorter','AI_QUICK_ACTIONS_MORE_CONFIDENT','russian','aiQuickActions','getDefaultQuickActions','plugins'];_0x9419=function(){return _0xb325d4;};return _0x9419();}export var AIQuickActionTypeToPluginName;!function(_0x285375){const _0x17912a=_0x5e0868;_0x285375[_0x17912a(0xee)]=_0x17912a(0x107),_0x285375[_0x17912a(0xbc)]=_0x17912a(0xff),_0x285375[_0x17912a(0xf0)]=_0x17912a(0xe4);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1540f8{static get[_0x5e0868(0xbd)](){return[_0x548310];}static get[_0x5e0868(0xd4)](){const _0xd1ae8c=_0x5e0868;return _0xd1ae8c(0xb7);}static get[_0x5e0868(0x114)](){return!0x0;}static get[_0x5e0868(0xaf)](){return!0x0;}[_0x5e0868(0xfe)](){const _0x490086=_0x5e0868;this[_0x490086(0xc7)](this[_0x490086(0xb8)]()),this[_0x490086(0xb3)]();}static[_0x5e0868(0x11d)](_0x5ec5f6){return function(_0x4c5eda){const _0x1a6508=_0xae8e,_0x4aa483=new Intl[(_0x1a6508(0xf2))](['en'],{'type':_0x1a6508(0x110)})['of'](_0x4c5eda[_0x1a6508(0x10c)]),_0x22744d=_0x4aa483||_0x1a6508(0xd5),_0x5e3ea7=[{'id':_0x1a6508(0xad),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x10e)),'type':AIQuickActionType[_0x1a6508(0xee)],'icon':_0x39117d},{'id':_0x1a6508(0xcf),'label':_0x251cd9(_0x4c5eda,_0x1a6508(0xbf)),'icon':_0x53dc4e,'actions':[{'id':_0x1a6508(0xda),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xe1)),'prompt':Ft[_0x1a6508(0xf8)]('%0',_0x22744d),'type':AIQuickActionType[_0x1a6508(0xee)]},{'id':_0x1a6508(0xd2),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x117)),'prompt':zt[_0x1a6508(0xf8)]('%0',_0x22744d),'type':AIQuickActionType[_0x1a6508(0xee)]},{'id':_0x1a6508(0xb0),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xd3)),'prompt':Wt[_0x1a6508(0xf8)]('%0',_0x22744d),'type':AIQuickActionType[_0x1a6508(0xee)]}]},{'id':_0x1a6508(0xdc),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x121)),'type':AIQuickActionType[_0x1a6508(0xbc)],'icon':_0x2ee413},{'id':_0x1a6508(0xf5),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x106)),'type':AIQuickActionType[_0x1a6508(0xbc)],'icon':_0x22f19b},{'id':_0x1a6508(0xcd),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xc8)),'type':AIQuickActionType[_0x1a6508(0xbc)],'icon':_0x36ac01},{'id':_0x1a6508(0xb1),'label':_0x251cd9(_0x4c5eda,_0x1a6508(0xcc)),'icon':_0x274000,'actions':[{'id':_0x1a6508(0x119),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xf3)),'type':AIQuickActionType[_0x1a6508(0xbc)]},{'id':_0x1a6508(0xce),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xc9)),'type':AIQuickActionType[_0x1a6508(0xbc)]}]},{'id':_0x1a6508(0x115),'label':_0x251cd9(_0x4c5eda,_0x1a6508(0xb6)),'icon':_0x3e0f57,'actions':[{'id':_0x1a6508(0xf6),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xd8)),'type':AIQuickActionType[_0x1a6508(0xbc)]},{'id':_0x1a6508(0x112),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xb4)),'type':AIQuickActionType[_0x1a6508(0xbc)]},{'id':_0x1a6508(0xbb),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xca)),'type':AIQuickActionType[_0x1a6508(0xbc)]},{'id':_0x1a6508(0xef),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x11a)),'type':AIQuickActionType[_0x1a6508(0xbc)]},{'id':_0x1a6508(0xae),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xc5)),'type':AIQuickActionType[_0x1a6508(0xbc)]}]},{'id':_0x1a6508(0xf1),'label':_0x251cd9(_0x4c5eda,_0x1a6508(0xe2)),'icon':_0x5d5f2b,'actions':[{'id':_0x1a6508(0xb2),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xab)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0xdd)}},{'id':_0x1a6508(0xc3),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xcb)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0x103)}},{'id':_0x1a6508(0xf9),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x101)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0xfb)}},{'id':_0x1a6508(0xe7),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x105)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0xf4)}},{'id':_0x1a6508(0xfc),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xe3)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0xeb)}},{'id':_0x1a6508(0x108),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xc0)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0x102)}},{'id':_0x1a6508(0x109),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xed)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0x123)}},{'id':_0x1a6508(0xfa),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xb9)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0x11b)}}]},{'id':_0x1a6508(0x120),'label':_0x251cd9(_0x4c5eda,_0x1a6508(0xd9)),'icon':_0xc80403,'actions':[]}];return _0x5e3ea7;}(_0x5ec5f6);}[_0x5e0868(0xb8)](){const _0xb0d515=_0x5e0868,_0x16c4f3=AIQuickActionsUI[_0xb0d515(0x11d)](this[_0xb0d515(0x104)][_0xb0d515(0xd0)]),_0x52f186=(this[_0xb0d515(0x104)][_0xb0d515(0x122)][_0xb0d515(0xdb)](_0xb0d515(0x116))||[])[_0xb0d515(0x113)](_0xf3eed9=>({..._0xf3eed9,'icon':void 0x0}));return _0x16c4f3[_0xb0d515(0xbe)](_0x353a64=>_0xb0d515(0x120)===_0x353a64['id'])[_0xb0d515(0x100)][_0xb0d515(0xdf)](..._0x52f186),_0x16c4f3;}[_0x5e0868(0xb3)](){const _0x533e6b=_0x5e0868,_0x3297be=new _0x18b454(this[_0x533e6b(0x104)][_0x533e6b(0xd0)]);_0x3297be[_0x533e6b(0xea)](),this[_0x533e6b(0xe8)](_0x3297be),this[_0x533e6b(0xec)](_0x3297be);}[_0x5e0868(0xe8)](_0x45ffed){const _0x479e15=_0x5e0868;this[_0x479e15(0x104)]['ui'][_0x479e15(0x10d)][_0x479e15(0xba)](_0x479e15(0x11c),_0x400983(this[_0x479e15(0x104)],this[_0x479e15(0x10b)],{'icon':_0x505405,'label':_0x251cd9(this[_0x479e15(0x104)][_0x479e15(0xd0)],_0x479e15(0xf7))},_0x45ffed));}[_0x5e0868(0xc7)](_0xeba46){const _0x40be7c=_0x5e0868;this[_0x40be7c(0x10b)]=_0xeba46[_0x40be7c(0x113)](_0x57a3c7=>{const _0x8d2902=_0x40be7c;if(_0x8d2902(0x100)in _0x57a3c7){const _0x2726e9=_0x57a3c7;return{..._0x2726e9,'actions':_0x2726e9[_0x8d2902(0x100)][_0x8d2902(0x113)](_0x2f9416=>{const {actions:_0x39fe94,..._0x3f8313}=_0x2726e9;return{..._0x2f9416,'parent':_0x3f8313};})[_0x8d2902(0xd1)](_0x3a51ee=>this[_0x8d2902(0xc6)](_0x3a51ee))};}return _0x57a3c7;})[_0x40be7c(0xd1)](_0x1dcb5b=>_0x40be7c(0x100)in _0x1dcb5b?_0x1dcb5b[_0x40be7c(0x100)][_0x40be7c(0xac)]>0x0:this[_0x40be7c(0xc6)](_0x1dcb5b));}[_0x5e0868(0xc6)](_0x231e09){const _0x91ca37=_0x5e0868,_0x270242=this[_0x91ca37(0x104)][_0x91ca37(0x122)][_0x91ca37(0xdb)](_0x91ca37(0xaa))||[];return this[_0x91ca37(0x104)][_0x91ca37(0x11e)][_0x91ca37(0xe6)](AIQuickActionTypeToPluginName[_0x231e09[_0x91ca37(0xde)]])&&!_0x270242[_0x91ca37(0xd7)](_0x231e09['id']);}[_0x5e0868(0xec)](_0x34279a){const _0x173526=_0x5e0868;this[_0x173526(0x10b)][_0x173526(0xe9)](_0x32e7a9=>{const _0x2e80d1=_0x173526;if(_0x2e80d1(0x100)in _0x32e7a9){const _0x5dbd71=_0x400983(this[_0x2e80d1(0x104)],_0x32e7a9[_0x2e80d1(0x100)],_0x32e7a9,_0x34279a);this[_0x2e80d1(0x104)]['ui'][_0x2e80d1(0x10d)][_0x2e80d1(0xba)](_0x32e7a9['id'],_0x5dbd71),_0x32e7a9[_0x2e80d1(0x100)][_0x2e80d1(0xe9)](_0x5b6527=>{const _0x5ad369=_0x2e80d1,_0x21369a=_0x358021(this[_0x5ad369(0x104)],_0x5b6527);this[_0x5ad369(0x104)]['ui'][_0x5ad369(0x10d)][_0x5ad369(0xba)](_0x5b6527['id'],_0x21369a);});}else{const _0x36f32c=_0x358021(this[_0x2e80d1(0x104)],_0x32e7a9);this[_0x2e80d1(0x104)]['ui'][_0x2e80d1(0x10d)][_0x2e80d1(0xba)](_0x32e7a9['id'],_0x36f32c);}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4e73(_0x44e701,_0x294cc7){const _0x5ec835=_0x5ec8();return _0x4e73=function(_0x4e73b7,_0x223dff){_0x4e73b7=_0x4e73b7-0xe5;let _0x5539bb=_0x5ec835[_0x4e73b7];return _0x5539bb;},_0x4e73(_0x44e701,_0x294cc7);}function _0x5ec8(){const _0x233edf=['1013132JfhUWd','commands','icon','focus','2200644tSiwlv','38810eHwgTs','extendTemplate','displayedPrompt','menuitem','execute','5kFNfSS','set','parent','3407aQiEZB','869019PCOeQg','19831BGMfLy','200vUGxQi','bindTemplate','view','locale','editing','187zVbDBh','152QewQCg','207546QdjbiR','aiQuickAction'];_0x5ec8=function(){return _0x233edf;};return _0x5ec8();}(function(_0x2cb3e3,_0x3d7563){const _0x3389df=_0x4e73,_0xe86b70=_0x2cb3e3();while(!![]){try{const _0x213223=parseInt(_0x3389df(0xf1))/0x1*(parseInt(_0x3389df(0xfa))/0x2)+parseInt(_0x3389df(0xf2))/0x3+-parseInt(_0x3389df(0xfd))/0x4+parseInt(_0x3389df(0xee))/0x5*(-parseInt(_0x3389df(0xfb))/0x6)+parseInt(_0x3389df(0xf3))/0x7*(parseInt(_0x3389df(0xf4))/0x8)+-parseInt(_0x3389df(0xe8))/0x9+parseInt(_0x3389df(0xe9))/0xa*(parseInt(_0x3389df(0xf9))/0xb);if(_0x213223===_0x3d7563)break;else _0xe86b70['push'](_0xe86b70['shift']());}catch(_0x41c2e6){_0xe86b70['push'](_0xe86b70['shift']());}}}(_0x5ec8,0x255b9));import{ButtonView as _0x1ca61a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xb22ab4}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0xe214f4,_0x4febe1,_0x1920e4=!0x1,_0x123434=!0x0){return()=>{const _0x7424b2=_0x4e73,_0x4961c9=_0xe214f4[_0x7424b2(0xf7)],_0x4eb19b=new _0x1ca61a(_0x4961c9),_0x3d5243=_0x4eb19b[_0x7424b2(0xf5)];_0x4eb19b[_0x7424b2(0xea)]({'on':{'mouseenter':_0x3d5243['to'](()=>{const _0xf0978f=_0x7424b2;_0x4eb19b[_0xf0978f(0xe7)]();})}});const _0x12a190=_0x4febe1[_0x7424b2(0xe6)]??_0x4febe1[_0x7424b2(0xf0)]?.[_0x7424b2(0xe6)];return _0x4eb19b[_0x7424b2(0xef)]({'label':_0x4febe1[_0x7424b2(0xeb)],'withText':_0x1920e4,'role':_0x7424b2(0xec),'icon':_0x123434?_0x12a190??_0xb22ab4:void 0x0,'tooltip':!_0x1920e4}),_0x4eb19b['on'](_0x7424b2(0xed),()=>{const _0x118762=_0x7424b2;_0xe214f4[_0x118762(0xf8)][_0x118762(0xf6)][_0x118762(0xe7)](),_0xe214f4[_0x118762(0xe5)][_0x118762(0xed)](_0x118762(0xfc),_0x4febe1);}),_0x4eb19b;};}
|