@ckeditor/ckeditor5-ai 47.1.0 → 47.2.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 +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +573 -203
- package/dist/index.css +627 -204
- package/dist/index.js +5 -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 +8 -1
- package/lang/translations/af.po +52 -4
- package/lang/translations/ar.po +52 -4
- package/lang/translations/ast.po +52 -4
- package/lang/translations/az.po +52 -4
- package/lang/translations/be.po +52 -4
- package/lang/translations/bg.po +52 -4
- package/lang/translations/bn.po +52 -4
- package/lang/translations/bs.po +52 -4
- package/lang/translations/ca.po +52 -4
- package/lang/translations/cs.po +52 -4
- package/lang/translations/da.po +52 -4
- package/lang/translations/de-ch.po +52 -4
- package/lang/translations/de.po +52 -4
- package/lang/translations/el.po +52 -4
- package/lang/translations/en-au.po +52 -4
- package/lang/translations/en-gb.po +52 -4
- package/lang/translations/en.po +52 -4
- package/lang/translations/eo.po +52 -4
- package/lang/translations/es-co.po +52 -4
- package/lang/translations/es.po +52 -4
- package/lang/translations/et.po +52 -4
- package/lang/translations/eu.po +52 -4
- package/lang/translations/fa.po +52 -4
- package/lang/translations/fi.po +52 -4
- package/lang/translations/fr.po +52 -4
- package/lang/translations/gl.po +52 -4
- package/lang/translations/gu.po +52 -4
- package/lang/translations/he.po +52 -4
- package/lang/translations/hi.po +52 -4
- package/lang/translations/hr.po +52 -4
- package/lang/translations/hu.po +52 -4
- package/lang/translations/hy.po +52 -4
- package/lang/translations/id.po +52 -4
- package/lang/translations/it.po +52 -4
- package/lang/translations/ja.po +52 -4
- package/lang/translations/jv.po +52 -4
- package/lang/translations/kk.po +52 -4
- package/lang/translations/km.po +52 -4
- package/lang/translations/kn.po +52 -4
- package/lang/translations/ko.po +52 -4
- package/lang/translations/ku.po +52 -4
- package/lang/translations/lt.po +52 -4
- package/lang/translations/lv.po +52 -4
- package/lang/translations/ms.po +52 -4
- package/lang/translations/nb.po +52 -4
- package/lang/translations/ne.po +52 -4
- package/lang/translations/nl.po +52 -4
- package/lang/translations/no.po +52 -4
- package/lang/translations/oc.po +52 -4
- package/lang/translations/pl.po +52 -4
- package/lang/translations/pt-br.po +52 -4
- package/lang/translations/pt.po +52 -4
- package/lang/translations/ro.po +52 -4
- package/lang/translations/ru.po +52 -4
- package/lang/translations/si.po +52 -4
- package/lang/translations/sk.po +52 -4
- package/lang/translations/sl.po +52 -4
- package/lang/translations/sq.po +52 -4
- package/lang/translations/sr-latn.po +52 -4
- package/lang/translations/sr.po +52 -4
- package/lang/translations/sv.po +52 -4
- package/lang/translations/th.po +52 -4
- package/lang/translations/ti.po +52 -4
- package/lang/translations/tk.po +52 -4
- package/lang/translations/tr.po +52 -4
- package/lang/translations/tt.po +52 -4
- package/lang/translations/ug.po +52 -4
- package/lang/translations/uk.po +52 -4
- package/lang/translations/ur.po +52 -4
- package/lang/translations/uz.po +52 -4
- package/lang/translations/vi.po +52 -4
- package/lang/translations/zh-cn.po +52 -4
- package/lang/translations/zh.po +52 -4
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +1 -1
- 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.d.ts +5 -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.d.ts +40 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +1 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +4 -0
- 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.d.ts +8 -29
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +2 -2
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.d.ts +4 -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.d.ts +4 -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/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
- package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +3 -3
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
- 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.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -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 +28 -7
- package/src/aicore/aiconnector.d.ts +1 -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/aimodels.d.ts +66 -0
- package/src/aicore/model/aimodels.js +23 -0
- package/src/aicore/model/aireply.d.ts +9 -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.d.ts +5 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
- 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.d.ts +2 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.d.ts +2 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
- 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.d.ts +3 -3
- 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.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +12 -0
- package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
- package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
- package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
- package/theme/aichat/aichat-controls.css +11 -27
- package/theme/aichat/aichat.css +2 -3
- package/theme/aichat/aichatfeed.css +1 -27
- package/theme/aichat/aichathistory.css +12 -0
- package/theme/aichat/aisuggestioncontainer.css +5 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
- package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
- package/theme/aireviewmode/aireviewmode.css +17 -7
- package/theme/aitabs/aitabsview.css +1 -1
- package/theme/aitabs/tabs/tabbuttonview.css +1 -0
- package/theme/aitabs/tabs/tabsview.css +1 -0
- package/theme/common/aibutton.css +27 -0
- package/theme/common/aiheader.css +14 -4
- package/theme/common/aitrackchanges.css +8 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
- package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
- package/src/aireviewmode/model/aireviewmodels.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x303385=_0x4083;(function(_0x420697,_0x370931){const _0x1e1a58=_0x4083,_0xcf2ae5=_0x420697();while(!![]){try{const _0x2126f8=-parseInt(_0x1e1a58(0x23c))/0x1+parseInt(_0x1e1a58(0x1f6))/0x2*(-parseInt(_0x1e1a58(0x1fd))/0x3)+parseInt(_0x1e1a58(0x21b))/0x4*(-parseInt(_0x1e1a58(0x208))/0x5)+parseInt(_0x1e1a58(0x223))/0x6+-parseInt(_0x1e1a58(0x229))/0x7+parseInt(_0x1e1a58(0x227))/0x8*(-parseInt(_0x1e1a58(0x1d8))/0x9)+parseInt(_0x1e1a58(0x1d2))/0xa;if(_0x2126f8===_0x370931)break;else _0xcf2ae5['push'](_0xcf2ae5['shift']());}catch(_0x4f57c6){_0xcf2ae5['push'](_0xcf2ae5['shift']());}}}(_0x5b51,0x26386));import{uid as _0xdeeaf1}from'ckeditor5/src/utils.js';import{Plugin as _0x26206b}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2398af}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5d5c83,ViewDataTransfer as _0x50b7f7}from'ckeditor5/src/engine.js';function _0x4083(_0x308bd9,_0x2241e6){const _0x5b516d=_0x5b51();return _0x4083=function(_0x408362,_0x283155){_0x408362=_0x408362-0x1d1;let _0x67f236=_0x5b516d[_0x408362];return _0x67f236;},_0x4083(_0x308bd9,_0x2241e6);}const w=globalThis[_0x303385(0x230)],f=_0x303385(0x218);function _0x5b51(){const _0x218031=['ck-fake-ai-selection_collapsed','ai.assistant.useTheme','join','model','612972HiYbZf','canEditAt','markerToElement','_prepareTableInsertBelowPosition','addMarker','insertRows','plugins','end','has','_resetContentOfSelectedTableCells','ck-ai-assistant-ui_theme','markers','createUIElement','contentInsertion','document','deleteContent','get','href','_pasteHTMLUsingClipboard','markerRange','element','change','pop','getFirstRange','hideFakeVisualSelection','getRows','getLastPosition','ck-fake-ai-selection','editor','forEach','44684hbLRRQ','AIAssistantEditing','fire','schema','getColumnIndexes','insertContentBelow','setData','39ExAhYM','removeMarker','createPositionAt','getChildren','createSelection','filter','_getTableRowCountFromContent','showFakeVisualSelection','span','updateMarker','editing','1471395pWfBaa','createRange','parse','pluginName','for','lowest','conversion','start','map','isCollapsed','from','last','getRowIndexes','off','isOfficialPlugin','editingDowncast','ai-ui','getRange','getRanges','4NtCVGt','getSelectedTableCells','selection','_getDefaultInsertBelowPosition','data','config','length','findAncestor','805218wEDrHn','push','addClass','setSelection','8bYHDXv','getChild','1872150iyUNFw','markerToHighlight','isPremiumPlugin','TableUtils','getMarkersGroup','insertContent','afterInit','DataTransfer','resultRange','init','_getAISelection','first','createPositionAfter','isAtEnd','once','_createEmptyTableRows','getLastMatchingPosition','paste','isContent','2244bAxfNY','table','text/html','getSelectedBlocks','9448740uNDmGG','fromCharCode'];_0x5b51=function(){return _0x218031;};return _0x5b51();}export class AIAssistantEditing extends _0x26206b{static get[_0x303385(0x20b)](){const _0x1fa429=_0x303385;return _0x1fa429(0x1f7);}static get[_0x303385(0x216)](){return!0x0;}static get[_0x303385(0x22b)](){return!0x0;}[_0x303385(0x232)](){const _0x5d1c6a=_0x303385,{editor:_0x4cc8e6}=this,_0x228430=[_0x5d1c6a(0x1f3)];_0x4cc8e6[_0x5d1c6a(0x220)][_0x5d1c6a(0x1e8)](_0x5d1c6a(0x1d5))&&_0x228430[_0x5d1c6a(0x224)](_0x5d1c6a(0x1e2)),_0x4cc8e6[_0x5d1c6a(0x20e)][_0x5d1c6a(0x20c)](_0x5d1c6a(0x217))[_0x5d1c6a(0x22a)]({'model':f,'view':{'classes':_0x228430,'priority':0xc}}),_0x4cc8e6[_0x5d1c6a(0x20e)][_0x5d1c6a(0x20c)](_0x5d1c6a(0x217))[_0x5d1c6a(0x1da)]({'model':f,'view':(_0x4a9bf4,{writer:_0x301ff7})=>{const _0x482ce4=_0x5d1c6a;if(!_0x4a9bf4[_0x482ce4(0x1eb)][_0x482ce4(0x211)])return null;const _0x5ca5da=_0x301ff7[_0x482ce4(0x1e4)](_0x482ce4(0x205));return _0x301ff7[_0x482ce4(0x225)]([_0x482ce4(0x1f3),_0x482ce4(0x1d4)],_0x5ca5da),_0x5ca5da;}});}[_0x303385(0x22f)](){!async function(_0xee438e){const _0x5b7bb8=_0x10d181([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x33e77b=0x3dffc4e1,_0x631628=0x3df8b2b9^_0x33e77b,_0xf72bc2=window[_0x10d181([0x44,0x61,0x74,0x65])][_0x10d181([0x6e,0x6f,0x77])](),_0x21d878=_0xee438e[_0x10d181([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x432080=new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c90b9=>{_0x21d878[_0x10d181([0x6f,0x6e,0x63,0x65])](_0x10d181([0x72,0x65,0x61,0x64,0x79]),_0x1c90b9);}),_0x45b678={[_0x10d181([0x6b,0x74,0x79])]:_0x10d181([0x45,0x43]),[_0x10d181([0x75,0x73,0x65])]:_0x10d181([0x73,0x69,0x67]),[_0x10d181([0x63,0x72,0x76])]:_0x10d181([0x50,0x2d,0x32,0x35,0x36]),[_0x10d181([0x78])]:_0x10d181([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x10d181([0x79])]:_0x10d181([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x10d181([0x61,0x6c,0x67])]:_0x10d181([0x45,0x53,0x32,0x35,0x36])},_0x297eb8=_0x21d878[_0x10d181([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x10d181([0x67,0x65,0x74])](_0x10d181([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x526ddc(){let _0x5b2414,_0x149359=null,_0x324826=null;try{if(_0x297eb8==_0x10d181([0x47,0x50,0x4c]))return _0x10d181([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b2414=_0x3d394a(),!_0x5b2414)return _0x10d181([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b2414[_0x10d181([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x324826=_0x51d094(_0x5b2414[_0x10d181([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b2414[_0x10d181([0x6a,0x74,0x69])])),await _0xe1d464()?_0x599838()?_0x32c54b()?_0x10d181([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1581b5()?(_0x5b2414[_0x10d181([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10d181([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x149359=_0x1b8169(_0x10d181([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b2414[_0x10d181([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10d181([0x74,0x72,0x69,0x61,0x6c])&&(_0x149359=_0x1b8169(_0x10d181([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x229733()):_0x10d181([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x10d181([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x10d181([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x10d181([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32c54b(){const _0x5368d8=[_0x10d181([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x10d181([0x74,0x72,0x69,0x61,0x6c])][_0x10d181([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b2414[_0x10d181([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf72bc2/0x3e8:0xe10*_0x631628;return _0x5b2414[_0x10d181([0x65,0x78,0x70])]<_0x5368d8;}function _0x599838(){const _0x4a22fa=_0x5b2414[_0x10d181([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a22fa&&(!!_0x4a22fa[_0x10d181([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10d181([0x2a]))||!!_0x4a22fa[_0x10d181([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10d181([0x41,0x49])));}function _0x1581b5(){const _0x378c07=_0x4083,_0x552318=_0x5b2414[_0x10d181([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x552318||0x0==_0x552318[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x111509}=new URL(window[_0x10d181([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x378c07(0x1e9)]);if(_0x552318[_0x10d181([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x111509))return!0x0;const _0x4c26da=_0x111509[_0x10d181([0x73,0x70,0x6c,0x69,0x74])](_0x10d181([0x2e]));return _0x552318[_0x10d181([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x548455=>_0x548455[_0x10d181([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10d181([0x2a])))[_0x10d181([0x6d,0x61,0x70])](_0x303d81=>_0x303d81[_0x10d181([0x73,0x70,0x6c,0x69,0x74])](_0x10d181([0x2e])))[_0x10d181([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a1168=>_0x1a1168[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c26da[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10d181([0x6d,0x61,0x70])](_0x42df67=>Array(_0x4c26da[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42df67[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10d181([0x66,0x69,0x6c,0x6c])](_0x42df67[0x0]===_0x10d181([0x2a])?_0x10d181([0x2a]):'')[_0x10d181([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42df67))[_0x10d181([0x73,0x6f,0x6d,0x65])](_0x40b96e=>_0x4c26da[_0x10d181([0x65,0x76,0x65,0x72,0x79])]((_0x4410fa,_0x232732)=>_0x40b96e[_0x232732]===_0x4410fa||_0x40b96e[_0x232732]===_0x10d181([0x2a])));}function _0x229733(){return _0x149359&&_0x324826?new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bda2f,_0x183429)=>{_0x149359[_0x10d181([0x74,0x68,0x65,0x6e])](_0x3bda2f,_0x183429),_0x324826[_0x10d181([0x74,0x68,0x65,0x6e])](_0x45d611=>{_0x45d611!=_0x10d181([0x56,0x61,0x6c,0x69,0x64])&&_0x3bda2f(_0x45d611);},_0x183429);}):_0x149359||_0x324826||_0x10d181([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51d094(_0x38c641,_0x178a1e){return new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x353d76=>{if(_0x2f556b())return _0x353d76(_0x10d181([0x56,0x61,0x6c,0x69,0x64]));_0x179df7(),_0x21d878[_0x10d181([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x10d181([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d3810=!0x1;const _0xa3d746=_0xdeeaf1();function _0x559417(_0x389c87){return!!_0x389c87&&(typeof _0x389c87===_0x10d181([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x389c87===_0x10d181([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x389c87[_0x10d181([0x74,0x68,0x65,0x6e])]===_0x10d181([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x389c87[_0x10d181([0x63,0x61,0x74,0x63,0x68])]===_0x10d181([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d1677(_0x216bff){_0x5239b0(_0x216bff)[_0x10d181([0x74,0x68,0x65,0x6e])](_0xd3b8da=>{if(!_0xd3b8da||_0xd3b8da[_0x10d181([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x10d181([0x6f,0x6b]))return _0x10d181([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41fb5f(_0x422543(_0xa3d746+_0x178a1e))!=_0xd3b8da[_0x10d181([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x10d181([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x10d181([0x56,0x61,0x6c,0x69,0x64]);})[_0x10d181([0x74,0x68,0x65,0x6e])](_0x12e899=>(_0x59263b(),_0x12e899),()=>{const _0x312f57=_0x2cdfbf();return null==_0x312f57?(_0x59263b(),_0x10d181([0x56,0x61,0x6c,0x69,0x64])):_0x10d181(_0xf72bc2-_0x312f57>(0x19f340e1^_0x33e77b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x10d181([0x74,0x68,0x65,0x6e])](_0x353d76)[_0x10d181([0x63,0x61,0x74,0x63,0x68])](()=>{_0x353d76(_0x10d181([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d8f68=0x3dc92a61^_0x33e77b;function _0x59263b(){const _0x438795=_0x10d181([0x6c,0x6c,0x63,0x74,0x2d])+_0x41fb5f(_0x422543(_0x38c641)),_0x4c48cb=_0x4d6ad0(_0x41fb5f(window[_0x10d181([0x4d,0x61,0x74,0x68])][_0x10d181([0x63,0x65,0x69,0x6c])](_0xf72bc2/_0x3d8f68)));window[_0x10d181([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10d181([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x438795,_0x4c48cb);}function _0x2cdfbf(){const _0x17d5c5=_0x10d181([0x6c,0x6c,0x63,0x74,0x2d])+_0x41fb5f(_0x422543(_0x38c641)),_0x2bedb6=window[_0x10d181([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10d181([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17d5c5);return _0x2bedb6?window[_0x10d181([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d6ad0(_0x2bedb6),0x10)*_0x3d8f68:null;}function _0x5239b0(_0x13e874){return new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2504bc,_0x3d6910)=>{_0x13e874[_0x10d181([0x74,0x68,0x65,0x6e])](_0x2504bc,_0x3d6910),window[_0x10d181([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d6910,0x3dfe1021^_0x33e77b);});}}_0x21d878[_0x10d181([0x6f,0x6e])](_0x10d181([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x443c63,_0x17edbc)=>{if(_0x17edbc[0x0]!=_0x38c641)return _0x353d76(_0x10d181([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17edbc[0x1]={..._0x17edbc[0x1],[_0x10d181([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa3d746};},{[_0x10d181([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10d181([0x68,0x69,0x67,0x68])}),_0x21d878[_0x10d181([0x6f,0x6e])](_0x10d181([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x24265=>{_0x559417(_0x24265[_0x10d181([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d3810=!0x0,_0x1d1677(_0x24265[_0x10d181([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x10d181([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10d181([0x6c,0x6f,0x77])}),_0x432080[_0x10d181([0x74,0x68,0x65,0x6e])](()=>{_0x1d3810||_0x353d76(_0x10d181([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f556b(){return _0x21d878[_0x10d181([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10d181([0x76,0x69,0x65,0x77])][_0x10d181([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x10d181([0x61,0x75,0x74,0x6f]);}function _0x179df7(){_0x21d878[_0x10d181([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10d181([0x76,0x69,0x65,0x77])][_0x10d181([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10d181([0x61,0x75,0x74,0x6f]);}}function _0x1b8169(_0x5a8af6){const _0x59e520=[new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x585cac=>setTimeout(_0x585cac,0x3df6fa2d^_0x33e77b)),_0x432080[_0x10d181([0x74,0x68,0x65,0x6e])](()=>new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4add62=>{let _0x244230=0x0;_0x21d878[_0x10d181([0x6d,0x6f,0x64,0x65,0x6c])][_0x10d181([0x6f,0x6e])](_0x10d181([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a9681,_0x2bcbb8)=>{_0x2bcbb8[0x0][_0x10d181([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x244230++,_0x244230==(0x3dffc519^_0x33e77b)&&(_0x4add62(),_0x3a9681[_0x10d181([0x6f,0x66,0x66])]());});}))];return window[_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10d181([0x72,0x61,0x63,0x65])](_0x59e520)[_0x10d181([0x74,0x68,0x65,0x6e])](()=>_0x5a8af6);}async function _0x4f04b7(){await _0x432080,_0x21d878[_0x10d181([0x6d,0x6f,0x64,0x65,0x6c])][_0x10d181([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c42ee,_0x21d878[_0x10d181([0x6d,0x6f,0x64,0x65,0x6c])][_0x10d181([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c42ee,_0x21d878[_0x10d181([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10d181([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x473659(_0x20edf5){const _0x483dc3=_0x18cb4d();_0x21d878[_0x483dc3]=_0x10d181([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20edf5,_0x20edf5!=_0x10d181([0x56,0x61,0x6c,0x69,0x64])&&_0x4f04b7();}function _0x18cb4d(){const _0x54de6e=window[_0x10d181([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x10d181([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x10d181([0x6e,0x6f,0x77])]())[_0x10d181([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x10d181([0x2e]),'');let _0x1a4c13=_0x10d181([0x6e]);for(let _0x1156b3=0x0;_0x1156b3<_0x54de6e[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1156b3+=0x2){let _0x539035=window[_0x10d181([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54de6e[_0x10d181([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1156b3,_0x1156b3+0x2));_0x539035>=_0x5b7bb8[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x539035-=_0x5b7bb8[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a4c13+=_0x5b7bb8[_0x539035];}return _0x1a4c13;}function _0x3d394a(){const _0x3e68b1=_0x297eb8[_0x10d181([0x73,0x70,0x6c,0x69,0x74])](_0x10d181([0x2e]));if(0x3!=_0x3e68b1[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48d381(_0x3e68b1[0x1]);function _0x48d381(_0x2afc34){const _0x1da9c8=_0x135abb(_0x2afc34);return _0x1da9c8&&_0x2c87cc()?_0x1da9c8:null;function _0x2c87cc(){const _0x5f16f3=_0x1da9c8[_0x10d181([0x6a,0x74,0x69])],_0x52df67=window[_0x10d181([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f16f3[_0x10d181([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f16f3[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x168b44={..._0x1da9c8,[_0x10d181([0x6a,0x74,0x69])]:_0x5f16f3[_0x10d181([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5f16f3[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x168b44[_0x10d181([0x76,0x63])],_0x422543(_0x168b44)==_0x52df67;}}}async function _0xe1d464(){let _0x72a27f=!0x0;try{const _0x40dc0d=_0x297eb8[_0x10d181([0x73,0x70,0x6c,0x69,0x74])](_0x10d181([0x2e])),[_0x3254e5,_0x96ebf4,_0x3a7083]=_0x40dc0d;return _0x26082d(_0x3254e5),await _0x1c7c33(_0x3254e5,_0x96ebf4,_0x3a7083),_0x72a27f;}catch{return!0x1;}function _0x26082d(_0x1e321b){const _0x3fd25b=_0x135abb(_0x1e321b);_0x3fd25b&&_0x3fd25b[_0x10d181([0x61,0x6c,0x67])]==_0x10d181([0x45,0x53,0x32,0x35,0x36])||(_0x72a27f=!0x1);}async function _0x1c7c33(_0x2c5c07,_0x33a586,_0x1b2cab){const _0x3da906=window[_0x10d181([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x10d181([0x66,0x72,0x6f,0x6d])](_0x25bd6d(_0x1b2cab),_0x67e952=>_0x67e952[_0x10d181([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2735d4=new window[(_0x10d181([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x10d181([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c5c07+_0x10d181([0x2e])+_0x33a586),_0x2b0419=window[_0x10d181([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x10d181([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b0419)return;const _0x1160b6=await _0x2b0419[_0x10d181([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x10d181([0x6a,0x77,0x6b]),_0x45b678,{[_0x10d181([0x6e,0x61,0x6d,0x65])]:_0x10d181([0x45,0x43,0x44,0x53,0x41]),[_0x10d181([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x10d181([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x10d181([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b0419[_0x10d181([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x10d181([0x6e,0x61,0x6d,0x65])]:_0x10d181([0x45,0x43,0x44,0x53,0x41]),[_0x10d181([0x68,0x61,0x73,0x68])]:{[_0x10d181([0x6e,0x61,0x6d,0x65])]:_0x10d181([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1160b6,_0x3da906,_0x2735d4)||(_0x72a27f=!0x1);}}function _0x135abb(_0xd2431e){return _0xd2431e[_0x10d181([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x10d181([0x65,0x79]))?JSON[_0x10d181([0x70,0x61,0x72,0x73,0x65])](_0x25bd6d(_0xd2431e)):null;}function _0x25bd6d(_0x5f4839){return window[_0x10d181([0x61,0x74,0x6f,0x62])](_0x5f4839[_0x10d181([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x10d181([0x2b]))[_0x10d181([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x10d181([0x2f])));}function _0x422543(_0x40f964){let _0x12ae55=0x1505;function _0x4be519(_0x2b3e84){for(let _0x116d8e=0x0;_0x116d8e<_0x2b3e84[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x116d8e++){const _0x29254c=_0x2b3e84[_0x10d181([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x116d8e);_0x12ae55=(_0x12ae55<<0x5)+_0x12ae55+_0x29254c,_0x12ae55&=_0x12ae55;}}function _0x33f0bf(_0x250757){Array[_0x10d181([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x250757)?_0x250757[_0x10d181([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33f0bf):_0x250757&&typeof _0x250757==_0x10d181([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x10d181([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x250757)[_0x10d181([0x73,0x6f,0x72,0x74])]()[_0x10d181([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xd64fc3,_0x5163cc])=>{_0x4be519(_0xd64fc3),_0x33f0bf(_0x5163cc);}):_0x4be519(window[_0x10d181([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x250757));}return _0x33f0bf(_0x40f964),_0x12ae55>>>0x0;}function _0x41fb5f(_0xccd1b1){return _0xccd1b1[_0x10d181([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x10d181([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x10d181([0x30]));}function _0x4d6ad0(_0xa0fc37){return _0xa0fc37[_0x10d181([0x73,0x70,0x6c,0x69,0x74])]('')[_0x10d181([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x10d181([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c42ee(){}function _0x10d181(_0x533fdc){const _0x32dd49=_0x4083;return _0x533fdc[_0x32dd49(0x210)](_0x1e637f=>String[_0x32dd49(0x1d3)](_0x1e637f))[_0x32dd49(0x1d6)]('');}_0x473659(await _0x526ddc());}(this);}[_0x303385(0x204)](){const _0x1fd874=_0x303385,_0x2275fa=this[_0x1fd874(0x1f4)][_0x1fd874(0x1d7)];_0x2275fa[_0x1fd874(0x1ed)](_0x2dd3e9=>{const _0x14261d=_0x1fd874,_0x126eb4=_0x2275fa[_0x14261d(0x1e6)][_0x14261d(0x21d)][_0x14261d(0x21a)]();let _0x56cd04=0x0;for(const _0xf1e9aa of _0x126eb4){const _0x2cd554=f+':'+_0x56cd04;if(_0x2275fa[_0x14261d(0x1e3)][_0x14261d(0x1e0)](_0x2cd554))_0x2dd3e9[_0x14261d(0x206)](_0x2cd554,{'range':_0xf1e9aa});else{if(_0xf1e9aa[_0x14261d(0x20f)][_0x14261d(0x236)]){const _0x327c21=_0xf1e9aa[_0x14261d(0x20f)][_0x14261d(0x239)](({item:_0xc391a0})=>!_0x2275fa[_0x14261d(0x1f9)][_0x14261d(0x23b)](_0xc391a0),{'boundaries':_0xf1e9aa});_0x2dd3e9[_0x14261d(0x1dc)](_0x2cd554,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2dd3e9[_0x14261d(0x209)](_0x327c21,_0xf1e9aa[_0x14261d(0x1df)])});}else _0x2dd3e9[_0x14261d(0x1dc)](_0x2cd554,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xf1e9aa});}_0x56cd04++;}});}[_0x303385(0x1f0)](){const _0x2c278b=_0x303385,_0x470e00=this[_0x2c278b(0x1f4)][_0x2c278b(0x1d7)],_0x58615f=Array[_0x2c278b(0x212)](this[_0x2c278b(0x1f4)][_0x2c278b(0x1d7)][_0x2c278b(0x1e3)][_0x2c278b(0x22d)](f));_0x58615f[_0x2c278b(0x221)]&&_0x470e00[_0x2c278b(0x1ed)](_0x4de4e3=>{const _0x25d88e=_0x2c278b;_0x58615f[_0x25d88e(0x1f5)](_0x48dcdf=>{const _0x149990=_0x25d88e;_0x4de4e3[_0x149990(0x1fe)](_0x48dcdf);});});}[_0x303385(0x22e)](_0x374ebb,_0x2c128e){const _0x3684a6=_0x303385,_0x4d1f40=this[_0x3684a6(0x233)](),_0x5ab8e6=_0x2c128e||_0x4d1f40[_0x3684a6(0x1ef)]();this[_0x3684a6(0x1f4)][_0x3684a6(0x1d7)][_0x3684a6(0x1d9)](_0x5ab8e6)&&this[_0x3684a6(0x1f4)][_0x3684a6(0x1d7)][_0x3684a6(0x1ed)](_0x2672e1=>{const _0x4be438=_0x3684a6;this[_0x4be438(0x1f0)](),_0x2c128e||this[_0x4be438(0x1e1)](_0x2672e1,_0x4d1f40),this[_0x4be438(0x1ea)]({'insertAt':_0x5ab8e6,'writer':_0x2672e1,'html':_0x374ebb});});}[_0x303385(0x1fb)](_0xbcf649){const _0x2253e4=_0x303385,{model:_0x314b26}=this[_0x2253e4(0x1f4)],_0xa8833a=this[_0x2253e4(0x233)]();_0x314b26[_0x2253e4(0x1ed)](()=>{const _0x52e00c=_0x2253e4,_0x3773a3=this[_0x52e00c(0x1db)](_0xbcf649,_0xa8833a)||this[_0x52e00c(0x21e)](_0xa8833a);this[_0x52e00c(0x22e)](_0xbcf649,_0x3773a3);});}[_0x303385(0x233)](){const _0xb21cfd=_0x303385,_0x36353c=this[_0xb21cfd(0x1f4)][_0xb21cfd(0x1d7)],_0x498d09=Array[_0xb21cfd(0x212)](_0x36353c[_0xb21cfd(0x1e3)][_0xb21cfd(0x22d)](f))[_0xb21cfd(0x210)](_0x1f4cb5=>_0x1f4cb5[_0xb21cfd(0x219)]());return _0x36353c[_0xb21cfd(0x201)](_0x498d09);}[_0x303385(0x1ea)]({writer:_0x53becc,html:_0x42cab1,insertAt:_0x4954a5}){const _0x1354b8=_0x303385,{view:_0x51973c}=this[_0x1354b8(0x1f4)][_0x1354b8(0x207)],_0x1e3baa=this[_0x1354b8(0x1f4)][_0x1354b8(0x1de)][_0x1354b8(0x1e8)](_0x2398af),_0x263801=new w();_0x263801[_0x1354b8(0x1fc)](_0x1354b8(0x23e),_0x42cab1);const _0x5f091e=new ClipboardEvent(_0x1354b8(0x23a),{'clipboardData':_0x263801}),_0x5b4d25=new _0x5d5c83(_0x51973c,_0x5f091e,{'dataTransfer':new _0x50b7f7(_0x263801)});_0x53becc[_0x1354b8(0x226)](_0x4954a5);const _0x5abc19=(_0x3ca6f0,_0x4484b4)=>{const _0x2293b3=_0x1354b8;_0x4484b4[_0x2293b3(0x231)]&&_0x53becc[_0x2293b3(0x226)](_0x4484b4[_0x2293b3(0x231)]);};_0x1e3baa[_0x1354b8(0x237)](_0x1354b8(0x1e5),_0x5abc19,{'priority':_0x1354b8(0x20d)}),_0x51973c[_0x1354b8(0x1e6)][_0x1354b8(0x1f8)](_0x1354b8(0x23a),_0x5b4d25),_0x1e3baa[_0x1354b8(0x215)](_0x1354b8(0x1e5),_0x5abc19);}[_0x303385(0x21e)](_0x18d3e7){const _0x1e268b=_0x303385,{model:_0x337c33}=this[_0x1e268b(0x1f4)],_0x5adcfa=Array[_0x1e268b(0x212)](_0x18d3e7[_0x1e268b(0x1d1)]());return _0x5adcfa[_0x1e268b(0x221)]?_0x337c33[_0x1e268b(0x235)](_0x5adcfa[_0x1e268b(0x1ee)]()):_0x18d3e7[_0x1e268b(0x1f2)]();}[_0x303385(0x1db)](_0xca7bd8,_0x5bbc4c){const _0x32d533=_0x303385,{model:_0x508082,plugins:_0x5c61c8}=this[_0x32d533(0x1f4)];if(_0x5c61c8[_0x32d533(0x1e0)](_0x32d533(0x22c))){const _0x1dbe4e=_0x5c61c8[_0x32d533(0x1e8)](_0x32d533(0x22c))[_0x32d533(0x21c)](_0x5bbc4c);if(_0x1dbe4e[_0x32d533(0x221)]){const _0x1840d7=this[_0x32d533(0x203)](_0xca7bd8),_0x35d26c=this[_0x32d533(0x238)](_0x1dbe4e,_0x1840d7);return _0x508082[_0x32d533(0x1ff)](_0x35d26c,0x0);}}return null;}[_0x303385(0x203)](_0x7fac93){const _0x51995e=_0x303385,_0x5312dd=this[_0x51995e(0x1f4)][_0x51995e(0x1de)][_0x51995e(0x1e8)](_0x51995e(0x22c)),_0x53d2b6=this[_0x51995e(0x1f4)][_0x51995e(0x21f)][_0x51995e(0x20a)](_0x7fac93),_0x404bd0=Array[_0x51995e(0x212)](_0x53d2b6[_0x51995e(0x200)]())[_0x51995e(0x202)](_0x17280f=>_0x17280f['is'](_0x51995e(0x1ec),_0x51995e(0x23d)));let _0x24227a=0x0;return _0x404bd0[_0x51995e(0x1f5)](_0x1aa0e5=>{const _0x44d236=_0x51995e;_0x24227a+=_0x5312dd[_0x44d236(0x1f1)](_0x1aa0e5);}),_0x24227a;}[_0x303385(0x238)](_0x54c7f4,_0x24aa96){const _0x32b5cd=_0x303385,_0x4a41cd=this[_0x32b5cd(0x1f4)][_0x32b5cd(0x1de)][_0x32b5cd(0x1e8)](_0x32b5cd(0x22c)),_0x57f77a=_0x4a41cd[_0x32b5cd(0x214)](_0x54c7f4),_0x58d276=_0x4a41cd[_0x32b5cd(0x1fa)](_0x54c7f4),_0x47fcd2=_0x57f77a[_0x32b5cd(0x213)]+0x1,_0x38f82a=_0x58d276[_0x32b5cd(0x234)],_0x1d4d29=_0x54c7f4[0x0][_0x32b5cd(0x222)](_0x32b5cd(0x23d));for(let _0x214751=0x0;_0x214751<_0x24aa96;_0x214751++)_0x4a41cd[_0x32b5cd(0x1dd)](_0x1d4d29,{'at':_0x47fcd2});return _0x1d4d29[_0x32b5cd(0x228)](_0x47fcd2)[_0x32b5cd(0x228)](_0x38f82a);}[_0x303385(0x1e1)](_0x2bd07f,_0x49c052){const _0x4a721f=_0x303385,{plugins:_0x23224c}=this[_0x4a721f(0x1f4)],{model:_0x281e39}=_0x2bd07f;if(!_0x23224c[_0x4a721f(0x1e0)](_0x4a721f(0x22c)))return;_0x23224c[_0x4a721f(0x1e8)](_0x4a721f(0x22c))[_0x4a721f(0x21c)](_0x49c052)[_0x4a721f(0x221)]&&_0x281e39[_0x4a721f(0x1e7)](_0x49c052);}}
|
|
23
|
+
const _0x42a763=_0xbdf9;function _0x3771(){const _0x1c8545=['editor','createPositionAfter','parse','getFirstRange','getRows','addClass','pluginName','DataTransfer','removeMarker','isCollapsed','updateMarker','getChild','forEach','addMarker','getColumnIndexes','6510IsPQZV','markerRange','createRange','plugins','text/html','push','init','editing','has','element','join','selection','change','length','pop','schema','631644xoznBj','getMarkersGroup','createUIElement','markers','conversion','from','9015qfVyYw','_createEmptyTableRows','TableUtils','AIAssistantEditing','652472FvcmZv','for','120PaxpED','createSelection','setData','href','filter','paste','1160792fUdhsy','hideFakeVisualSelection','span','start','findAncestor','off','table','setSelection','end','_resetContentOfSelectedTableCells','canEditAt','document','isOfficialPlugin','ai-ui','getLastMatchingPosition','1744ZJmOmV','ck-ai-assistant-ui_theme','data','insertRows','createPositionAt','isAtEnd','getRowIndexes','getSelectedBlocks','fire','model','map','getRange','first','_getDefaultInsertBelowPosition','config','getChildren','_prepareTableInsertBelowPosition','afterInit','lowest','markerToElement','_getTableRowCountFromContent','getLastPosition','isPremiumPlugin','_pasteHTMLUsingClipboard','resultRange','61310FKpeXW','ai.assistant.useTheme','insertContent','getSelectedTableCells','contentInsertion','getRanges','fromCharCode','_getAISelection','ck-fake-ai-selection_collapsed','once','editingDowncast','last','markerToHighlight','showFakeVisualSelection','insertContentBelow','ck-fake-ai-selection','1230435NBMsbS','isContent','get','deleteContent'];_0x3771=function(){return _0x1c8545;};return _0x3771();}(function(_0x5496c1,_0x777565){const _0xf20eb9=_0xbdf9,_0xd1d9e3=_0x5496c1();while(!![]){try{const _0xed94ca=-parseInt(_0xf20eb9(0x234))/0x1+-parseInt(_0xf20eb9(0x238))/0x2+parseInt(_0xf20eb9(0x22e))/0x3+-parseInt(_0xf20eb9(0x240))/0x4+parseInt(_0xf20eb9(0x1fb))/0x5*(parseInt(_0xf20eb9(0x23a))/0x6)+parseInt(_0xf20eb9(0x21e))/0x7*(parseInt(_0xf20eb9(0x24f))/0x8)+parseInt(_0xf20eb9(0x20b))/0x9;if(_0xed94ca===_0x777565)break;else _0xd1d9e3['push'](_0xd1d9e3['shift']());}catch(_0x4675fc){_0xd1d9e3['push'](_0xd1d9e3['shift']());}}}(_0x3771,0x29742));function _0xbdf9(_0x559654,_0x43c66e){const _0x377172=_0x3771();return _0xbdf9=function(_0xbdf904,_0x2f415e){_0xbdf904=_0xbdf904-0x1f0;let _0x588c06=_0x377172[_0xbdf904];return _0x588c06;},_0xbdf9(_0x559654,_0x43c66e);}import{uid as _0x35e517}from'ckeditor5/src/utils.js';import{Plugin as _0xaa9162}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x196075}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5db92b,ViewDataTransfer as _0x1a70a2}from'ckeditor5/src/engine.js';const J=globalThis[_0x42a763(0x216)],q=_0x42a763(0x24d);export class AIAssistantEditing extends _0xaa9162{static get[_0x42a763(0x215)](){const _0x38ed86=_0x42a763;return _0x38ed86(0x237);}static get[_0x42a763(0x24c)](){return!0x0;}static get[_0x42a763(0x1f8)](){return!0x0;}[_0x42a763(0x224)](){const _0x375858=_0x42a763,{editor:_0x3b8ae1}=this,_0x5e6296=[_0x375858(0x20a)];_0x3b8ae1[_0x375858(0x1f0)][_0x375858(0x20d)](_0x375858(0x1fc))&&_0x5e6296[_0x375858(0x223)](_0x375858(0x250)),_0x3b8ae1[_0x375858(0x232)][_0x375858(0x239)](_0x375858(0x205))[_0x375858(0x207)]({'model':q,'view':{'classes':_0x5e6296,'priority':0xc}}),_0x3b8ae1[_0x375858(0x232)][_0x375858(0x239)](_0x375858(0x205))[_0x375858(0x1f5)]({'model':q,'view':(_0x55ce8a,{writer:_0xcfd71a})=>{const _0x446943=_0x375858;if(!_0x55ce8a[_0x446943(0x21f)][_0x446943(0x218)])return null;const _0x118e9e=_0xcfd71a[_0x446943(0x230)](_0x446943(0x242));return _0xcfd71a[_0x446943(0x214)]([_0x446943(0x20a),_0x446943(0x203)],_0x118e9e),_0x118e9e;}});}[_0x42a763(0x1f3)](){!async function(_0x4cdb74){const _0x5d4e19=_0x4abaa5([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x5a895a=0x3dffc4e1,_0x1ad961=0x3df8b349^_0x5a895a,_0x207be9=window[_0x4abaa5([0x44,0x61,0x74,0x65])][_0x4abaa5([0x6e,0x6f,0x77])](),_0x49d82c=_0x4cdb74[_0x4abaa5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c7253=new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2caab1=>{_0x49d82c[_0x4abaa5([0x6f,0x6e,0x63,0x65])](_0x4abaa5([0x72,0x65,0x61,0x64,0x79]),_0x2caab1);}),_0x2b2648={[_0x4abaa5([0x6b,0x74,0x79])]:_0x4abaa5([0x45,0x43]),[_0x4abaa5([0x75,0x73,0x65])]:_0x4abaa5([0x73,0x69,0x67]),[_0x4abaa5([0x63,0x72,0x76])]:_0x4abaa5([0x50,0x2d,0x32,0x35,0x36]),[_0x4abaa5([0x78])]:_0x4abaa5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4abaa5([0x79])]:_0x4abaa5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4abaa5([0x61,0x6c,0x67])]:_0x4abaa5([0x45,0x53,0x32,0x35,0x36])},_0x43eda2=_0x49d82c[_0x4abaa5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4abaa5([0x67,0x65,0x74])](_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x394963(){let _0x58e81c,_0xe3be04=null,_0x23d819=null;try{if(_0x43eda2==_0x4abaa5([0x47,0x50,0x4c]))return _0x4abaa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58e81c=_0x3d328f(),!_0x58e81c)return _0x4abaa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58e81c[_0x4abaa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23d819=_0x49f5ac(_0x58e81c[_0x4abaa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58e81c[_0x4abaa5([0x6a,0x74,0x69])])),await _0x509925()?_0x9842af()?_0x2c1e10()?_0x4abaa5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x370468()?(_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4abaa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe3be04=_0x4c327f(_0x4abaa5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4abaa5([0x74,0x72,0x69,0x61,0x6c])&&(_0xe3be04=_0x4c327f(_0x4abaa5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x569be2()):_0x4abaa5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4abaa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4abaa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4abaa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c1e10(){const _0x23f651=[_0x4abaa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4abaa5([0x74,0x72,0x69,0x61,0x6c])][_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x207be9/0x3e8:0xe10*_0x1ad961;return _0x58e81c[_0x4abaa5([0x65,0x78,0x70])]<_0x23f651;}function _0x9842af(){const _0x1f04a8=_0x58e81c[_0x4abaa5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f04a8&&(!!_0x1f04a8[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abaa5([0x2a]))||!!_0x1f04a8[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abaa5([0x41,0x49])));}function _0x370468(){const _0x2b15f3=_0xbdf9,_0x4e7e45=_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e7e45||0x0==_0x4e7e45[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cafb8}=new URL(window[_0x4abaa5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b15f3(0x23d)]);if(_0x4e7e45[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cafb8))return!0x0;const _0x1defc8=_0x3cafb8[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e]));return _0x4e7e45[_0x4abaa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b205c=>_0x3b205c[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abaa5([0x2a])))[_0x4abaa5([0x6d,0x61,0x70])](_0x184e43=>_0x184e43[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e])))[_0x4abaa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x207342=>_0x207342[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1defc8[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4abaa5([0x6d,0x61,0x70])](_0x3b37ae=>Array(_0x1defc8[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b37ae[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4abaa5([0x66,0x69,0x6c,0x6c])](_0x3b37ae[0x0]===_0x4abaa5([0x2a])?_0x4abaa5([0x2a]):'')[_0x4abaa5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b37ae))[_0x4abaa5([0x73,0x6f,0x6d,0x65])](_0xbb14c9=>_0x1defc8[_0x4abaa5([0x65,0x76,0x65,0x72,0x79])]((_0x18a476,_0xadeb91)=>_0xbb14c9[_0xadeb91]===_0x18a476||_0xbb14c9[_0xadeb91]===_0x4abaa5([0x2a])));}function _0x569be2(){return _0xe3be04&&_0x23d819?new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d0f8a,_0x321fa0)=>{_0xe3be04[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x3d0f8a,_0x321fa0),_0x23d819[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x468b0c=>{_0x468b0c!=_0x4abaa5([0x56,0x61,0x6c,0x69,0x64])&&_0x3d0f8a(_0x468b0c);},_0x321fa0);}):_0xe3be04||_0x23d819||_0x4abaa5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x49f5ac(_0x285520,_0x13d1ae){return new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38fcae=>{if(_0x4b5b1b())return _0x38fcae(_0x4abaa5([0x56,0x61,0x6c,0x69,0x64]));_0x4d7a8f(),_0x49d82c[_0x4abaa5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4abaa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54cf95=!0x1;const _0x525b78=_0x35e517();function _0x47fc2a(_0x5f1a1c){return!!_0x5f1a1c&&(typeof _0x5f1a1c===_0x4abaa5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f1a1c===_0x4abaa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f1a1c[_0x4abaa5([0x74,0x68,0x65,0x6e])]===_0x4abaa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f1a1c[_0x4abaa5([0x63,0x61,0x74,0x63,0x68])]===_0x4abaa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x152d28(_0x34de84){_0xb59f6b(_0x34de84)[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0xe1b940=>{if(!_0xe1b940||_0xe1b940[_0x4abaa5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4abaa5([0x6f,0x6b]))return _0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40bbbc(_0x2067f9(_0x525b78+_0x13d1ae))!=_0xe1b940[_0x4abaa5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4abaa5([0x56,0x61,0x6c,0x69,0x64]);})[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x42d824=>(_0x3086e3(),_0x42d824),()=>{const _0x50f676=_0xbf4c3a();return null==_0x50f676?(_0x3086e3(),_0x4abaa5([0x56,0x61,0x6c,0x69,0x64])):_0x4abaa5(_0x207be9-_0x50f676>(0x19f340e1^_0x5a895a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x38fcae)[_0x4abaa5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38fcae(_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59adfc=0x3dc92a61^_0x5a895a;function _0x3086e3(){const _0x3b23f9=_0x4abaa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x40bbbc(_0x2067f9(_0x285520)),_0x2fa450=_0x350b59(_0x40bbbc(window[_0x4abaa5([0x4d,0x61,0x74,0x68])][_0x4abaa5([0x63,0x65,0x69,0x6c])](_0x207be9/_0x59adfc)));window[_0x4abaa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4abaa5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b23f9,_0x2fa450);}function _0xbf4c3a(){const _0x10b55e=_0x4abaa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x40bbbc(_0x2067f9(_0x285520)),_0x3babea=window[_0x4abaa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4abaa5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10b55e);return _0x3babea?window[_0x4abaa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x350b59(_0x3babea),0x10)*_0x59adfc:null;}function _0xb59f6b(_0x254b2d){return new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x534579,_0x332d5d)=>{_0x254b2d[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x534579,_0x332d5d),window[_0x4abaa5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x332d5d,0x3dfe1021^_0x5a895a);});}}_0x49d82c[_0x4abaa5([0x6f,0x6e])](_0x4abaa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6808e1,_0x15525c)=>{if(_0x15525c[0x0]!=_0x285520)return _0x38fcae(_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15525c[0x1]={..._0x15525c[0x1],[_0x4abaa5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x525b78};},{[_0x4abaa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4abaa5([0x68,0x69,0x67,0x68])}),_0x49d82c[_0x4abaa5([0x6f,0x6e])](_0x4abaa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5f01ac=>{_0x47fc2a(_0x5f01ac[_0x4abaa5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54cf95=!0x0,_0x152d28(_0x5f01ac[_0x4abaa5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4abaa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4abaa5([0x6c,0x6f,0x77])}),_0x3c7253[_0x4abaa5([0x74,0x68,0x65,0x6e])](()=>{_0x54cf95||_0x38fcae(_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b5b1b(){return _0x49d82c[_0x4abaa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4abaa5([0x76,0x69,0x65,0x77])][_0x4abaa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4abaa5([0x61,0x75,0x74,0x6f]);}function _0x4d7a8f(){_0x49d82c[_0x4abaa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4abaa5([0x76,0x69,0x65,0x77])][_0x4abaa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4abaa5([0x61,0x75,0x74,0x6f]);}}function _0x4c327f(_0x1d6eee){const _0x545d6f=[new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x222eca=>setTimeout(_0x222eca,0x3df6fa2d^_0x5a895a)),_0x3c7253[_0x4abaa5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x291f02=>{let _0x2f5454=0x0;_0x49d82c[_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4abaa5([0x6f,0x6e])](_0x4abaa5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f7df8,_0x53b4bc)=>{_0x53b4bc[0x0][_0x4abaa5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f5454++,_0x2f5454==(0x3dffc519^_0x5a895a)&&(_0x291f02(),_0x3f7df8[_0x4abaa5([0x6f,0x66,0x66])]());});}))];return window[_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4abaa5([0x72,0x61,0x63,0x65])](_0x545d6f)[_0x4abaa5([0x74,0x68,0x65,0x6e])](()=>_0x1d6eee);}async function _0x1fbde2(){await _0x3c7253,_0x49d82c[_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4abaa5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x445dee,_0x49d82c[_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4abaa5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x445dee,_0x49d82c[_0x4abaa5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5266ee(_0x427b2e){const _0x2e2d48=_0x543a88();_0x49d82c[_0x2e2d48]=_0x4abaa5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x427b2e,_0x427b2e!=_0x4abaa5([0x56,0x61,0x6c,0x69,0x64])&&_0x1fbde2();}function _0x543a88(){const _0x5cc3c6=window[_0x4abaa5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4abaa5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4abaa5([0x6e,0x6f,0x77])]())[_0x4abaa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4abaa5([0x2e]),'');let _0x710629=_0x4abaa5([0x6e]);for(let _0x544823=0x0;_0x544823<_0x5cc3c6[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x544823+=0x2){let _0x7fe763=window[_0x4abaa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cc3c6[_0x4abaa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x544823,_0x544823+0x2));_0x7fe763>=_0x5d4e19[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7fe763-=_0x5d4e19[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x710629+=_0x5d4e19[_0x7fe763];}return _0x710629;}function _0x3d328f(){const _0x6db7f9=_0x43eda2[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e]));if(0x3!=_0x6db7f9[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1fdd8f(_0x6db7f9[0x1]);function _0x1fdd8f(_0x5820f0){const _0x430a3d=_0x23f38e(_0x5820f0);return _0x430a3d&&_0x2103d4()?_0x430a3d:null;function _0x2103d4(){const _0x5176d9=_0x430a3d[_0x4abaa5([0x6a,0x74,0x69])],_0xde49de=window[_0x4abaa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5176d9[_0x4abaa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5176d9[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x8124b5={..._0x430a3d,[_0x4abaa5([0x6a,0x74,0x69])]:_0x5176d9[_0x4abaa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5176d9[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x8124b5[_0x4abaa5([0x76,0x63])],_0x2067f9(_0x8124b5)==_0xde49de;}}}async function _0x509925(){let _0x36e863=!0x0;try{const _0x176fd9=_0x43eda2[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e])),[_0x500712,_0x1de3f9,_0x159b72]=_0x176fd9;return _0x9917f8(_0x500712),await _0x4e5011(_0x500712,_0x1de3f9,_0x159b72),_0x36e863;}catch{return!0x1;}function _0x9917f8(_0x2e277d){const _0x6e208a=_0x23f38e(_0x2e277d);_0x6e208a&&_0x6e208a[_0x4abaa5([0x61,0x6c,0x67])]==_0x4abaa5([0x45,0x53,0x32,0x35,0x36])||(_0x36e863=!0x1);}async function _0x4e5011(_0x476793,_0x38249,_0x3c60dc){const _0x15bc98=window[_0x4abaa5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4abaa5([0x66,0x72,0x6f,0x6d])](_0x1e52c0(_0x3c60dc),_0x164a9f=>_0x164a9f[_0x4abaa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc1991c=new window[(_0x4abaa5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4abaa5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x476793+_0x4abaa5([0x2e])+_0x38249),_0x14892b=window[_0x4abaa5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4abaa5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14892b)return;const _0x581f7b=await _0x14892b[_0x4abaa5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4abaa5([0x6a,0x77,0x6b]),_0x2b2648,{[_0x4abaa5([0x6e,0x61,0x6d,0x65])]:_0x4abaa5([0x45,0x43,0x44,0x53,0x41]),[_0x4abaa5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4abaa5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4abaa5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14892b[_0x4abaa5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4abaa5([0x6e,0x61,0x6d,0x65])]:_0x4abaa5([0x45,0x43,0x44,0x53,0x41]),[_0x4abaa5([0x68,0x61,0x73,0x68])]:{[_0x4abaa5([0x6e,0x61,0x6d,0x65])]:_0x4abaa5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x581f7b,_0x15bc98,_0xc1991c)||(_0x36e863=!0x1);}}function _0x23f38e(_0x98f792){return _0x98f792[_0x4abaa5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4abaa5([0x65,0x79]))?JSON[_0x4abaa5([0x70,0x61,0x72,0x73,0x65])](_0x1e52c0(_0x98f792)):null;}function _0x1e52c0(_0x21267e){return window[_0x4abaa5([0x61,0x74,0x6f,0x62])](_0x21267e[_0x4abaa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4abaa5([0x2b]))[_0x4abaa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4abaa5([0x2f])));}function _0x2067f9(_0x586499){let _0x378047=0x1505;function _0x4c70e9(_0x2e540a){for(let _0x53f180=0x0;_0x53f180<_0x2e540a[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53f180++){const _0x4596d6=_0x2e540a[_0x4abaa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53f180);_0x378047=(_0x378047<<0x5)+_0x378047+_0x4596d6,_0x378047&=_0x378047;}}function _0x581504(_0xe8c483){Array[_0x4abaa5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xe8c483)?_0xe8c483[_0x4abaa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x581504):_0xe8c483&&typeof _0xe8c483==_0x4abaa5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4abaa5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xe8c483)[_0x4abaa5([0x73,0x6f,0x72,0x74])]()[_0x4abaa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35f652,_0x5ac309])=>{_0x4c70e9(_0x35f652),_0x581504(_0x5ac309);}):_0x4c70e9(window[_0x4abaa5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xe8c483));}return _0x581504(_0x586499),_0x378047>>>0x0;}function _0x40bbbc(_0x5a28aa){return _0x5a28aa[_0x4abaa5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4abaa5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4abaa5([0x30]));}function _0x350b59(_0x57985b){return _0x57985b[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4abaa5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4abaa5([0x6a,0x6f,0x69,0x6e])]('');}function _0x445dee(){}function _0x4abaa5(_0x53500a){const _0x4dc596=_0xbdf9;return _0x53500a[_0x4dc596(0x259)](_0x1f7632=>String[_0x4dc596(0x201)](_0x1f7632))[_0x4dc596(0x228)]('');}_0x5266ee(await _0x394963());}(this);}[_0x42a763(0x208)](){const _0x20f57e=_0x42a763,_0x850d0e=this[_0x20f57e(0x20f)][_0x20f57e(0x258)];_0x850d0e[_0x20f57e(0x22a)](_0x49936d=>{const _0x34e079=_0x20f57e,_0x54e3fd=_0x850d0e[_0x34e079(0x24b)][_0x34e079(0x229)][_0x34e079(0x200)]();let _0x1ef737=0x0;for(const _0x253abb of _0x54e3fd){const _0xf2900=q+':'+_0x1ef737;if(_0x850d0e[_0x34e079(0x231)][_0x34e079(0x226)](_0xf2900))_0x49936d[_0x34e079(0x219)](_0xf2900,{'range':_0x253abb});else{if(_0x253abb[_0x34e079(0x243)][_0x34e079(0x254)]){const _0x23330e=_0x253abb[_0x34e079(0x243)][_0x34e079(0x24e)](({item:_0x55404b})=>!_0x850d0e[_0x34e079(0x22d)][_0x34e079(0x20c)](_0x55404b),{'boundaries':_0x253abb});_0x49936d[_0x34e079(0x21c)](_0xf2900,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x49936d[_0x34e079(0x220)](_0x23330e,_0x253abb[_0x34e079(0x248)])});}else _0x49936d[_0x34e079(0x21c)](_0xf2900,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x253abb});}_0x1ef737++;}});}[_0x42a763(0x241)](){const _0x2fdb53=_0x42a763,_0x249973=this[_0x2fdb53(0x20f)][_0x2fdb53(0x258)],_0x4173e4=Array[_0x2fdb53(0x233)](this[_0x2fdb53(0x20f)][_0x2fdb53(0x258)][_0x2fdb53(0x231)][_0x2fdb53(0x22f)](q));_0x4173e4[_0x2fdb53(0x22b)]&&_0x249973[_0x2fdb53(0x22a)](_0x6a5e05=>{const _0x445a05=_0x2fdb53;_0x4173e4[_0x445a05(0x21b)](_0x22389e=>{const _0x36524a=_0x445a05;_0x6a5e05[_0x36524a(0x217)](_0x22389e);});});}[_0x42a763(0x1fd)](_0x3a2c5a,_0x4c572d){const _0x1f40a8=_0x42a763,_0x857522=this[_0x1f40a8(0x202)](),_0x7de8fb=_0x4c572d||_0x857522[_0x1f40a8(0x212)]();this[_0x1f40a8(0x20f)][_0x1f40a8(0x258)][_0x1f40a8(0x24a)](_0x7de8fb)&&this[_0x1f40a8(0x20f)][_0x1f40a8(0x258)][_0x1f40a8(0x22a)](_0xbfc1d1=>{const _0xda17c0=_0x1f40a8;this[_0xda17c0(0x241)](),_0x4c572d||this[_0xda17c0(0x249)](_0xbfc1d1,_0x857522),this[_0xda17c0(0x1f9)]({'insertAt':_0x7de8fb,'writer':_0xbfc1d1,'html':_0x3a2c5a});});}[_0x42a763(0x209)](_0x2bb801){const _0x3903d2=_0x42a763,{model:_0x396cf1}=this[_0x3903d2(0x20f)],_0x754d75=this[_0x3903d2(0x202)]();_0x396cf1[_0x3903d2(0x22a)](()=>{const _0x7d09f5=_0x3903d2,_0x10263d=this[_0x7d09f5(0x1f2)](_0x2bb801,_0x754d75)||this[_0x7d09f5(0x25c)](_0x754d75);this[_0x7d09f5(0x1fd)](_0x2bb801,_0x10263d);});}[_0x42a763(0x202)](){const _0x1aef4c=_0x42a763,_0x446af0=this[_0x1aef4c(0x20f)][_0x1aef4c(0x258)],_0x47c3cc=Array[_0x1aef4c(0x233)](_0x446af0[_0x1aef4c(0x231)][_0x1aef4c(0x22f)](q))[_0x1aef4c(0x259)](_0x380fe9=>_0x380fe9[_0x1aef4c(0x25a)]());return _0x446af0[_0x1aef4c(0x23b)](_0x47c3cc);}[_0x42a763(0x1f9)]({writer:_0x24d66a,html:_0x2b646f,insertAt:_0x117be6}){const _0x4f4a7d=_0x42a763,{view:_0x3a7f0d}=this[_0x4f4a7d(0x20f)][_0x4f4a7d(0x225)],_0x19301c=this[_0x4f4a7d(0x20f)][_0x4f4a7d(0x221)][_0x4f4a7d(0x20d)](_0x196075),_0xf77550=new J();_0xf77550[_0x4f4a7d(0x23c)](_0x4f4a7d(0x222),_0x2b646f);const _0x546191=new ClipboardEvent(_0x4f4a7d(0x23f),{'clipboardData':_0xf77550}),_0x249041=new _0x5db92b(_0x3a7f0d,_0x546191,{'dataTransfer':new _0x1a70a2(_0xf77550)});_0x24d66a[_0x4f4a7d(0x247)](_0x117be6);const _0x309de1=(_0x7aef62,_0x3aab7b)=>{const _0x1f2d38=_0x4f4a7d;_0x3aab7b[_0x1f2d38(0x1fa)]&&_0x24d66a[_0x1f2d38(0x247)](_0x3aab7b[_0x1f2d38(0x1fa)]);};_0x19301c[_0x4f4a7d(0x204)](_0x4f4a7d(0x1ff),_0x309de1,{'priority':_0x4f4a7d(0x1f4)}),_0x3a7f0d[_0x4f4a7d(0x24b)][_0x4f4a7d(0x257)](_0x4f4a7d(0x23f),_0x249041),_0x19301c[_0x4f4a7d(0x245)](_0x4f4a7d(0x1ff),_0x309de1);}[_0x42a763(0x25c)](_0x38cf05){const _0x31f57f=_0x42a763,{model:_0x3735fc}=this[_0x31f57f(0x20f)],_0x2ee7b4=Array[_0x31f57f(0x233)](_0x38cf05[_0x31f57f(0x256)]());return _0x2ee7b4[_0x31f57f(0x22b)]?_0x3735fc[_0x31f57f(0x210)](_0x2ee7b4[_0x31f57f(0x22c)]()):_0x38cf05[_0x31f57f(0x1f7)]();}[_0x42a763(0x1f2)](_0x37a24f,_0xf79f32){const _0xb4b570=_0x42a763,{model:_0x2ad1af,plugins:_0x1ad6cc}=this[_0xb4b570(0x20f)];if(_0x1ad6cc[_0xb4b570(0x226)](_0xb4b570(0x236))){const _0x482abc=_0x1ad6cc[_0xb4b570(0x20d)](_0xb4b570(0x236))[_0xb4b570(0x1fe)](_0xf79f32);if(_0x482abc[_0xb4b570(0x22b)]){const _0x5633e5=this[_0xb4b570(0x1f6)](_0x37a24f),_0x459839=this[_0xb4b570(0x235)](_0x482abc,_0x5633e5);return _0x2ad1af[_0xb4b570(0x253)](_0x459839,0x0);}}return null;}[_0x42a763(0x1f6)](_0x1ee800){const _0x1e5024=_0x42a763,_0x38a62b=this[_0x1e5024(0x20f)][_0x1e5024(0x221)][_0x1e5024(0x20d)](_0x1e5024(0x236)),_0x309d9f=this[_0x1e5024(0x20f)][_0x1e5024(0x251)][_0x1e5024(0x211)](_0x1ee800),_0x512594=Array[_0x1e5024(0x233)](_0x309d9f[_0x1e5024(0x1f1)]())[_0x1e5024(0x23e)](_0x3fa072=>_0x3fa072['is'](_0x1e5024(0x227),_0x1e5024(0x246)));let _0x23fd0e=0x0;return _0x512594[_0x1e5024(0x21b)](_0x5baf02=>{const _0x101767=_0x1e5024;_0x23fd0e+=_0x38a62b[_0x101767(0x213)](_0x5baf02);}),_0x23fd0e;}[_0x42a763(0x235)](_0x1cb3c8,_0x1d278e){const _0x20ca25=_0x42a763,_0x582bd5=this[_0x20ca25(0x20f)][_0x20ca25(0x221)][_0x20ca25(0x20d)](_0x20ca25(0x236)),_0x2b8002=_0x582bd5[_0x20ca25(0x255)](_0x1cb3c8),_0x52c9b6=_0x582bd5[_0x20ca25(0x21d)](_0x1cb3c8),_0x10f091=_0x2b8002[_0x20ca25(0x206)]+0x1,_0x4ad1eb=_0x52c9b6[_0x20ca25(0x25b)],_0x28fd20=_0x1cb3c8[0x0][_0x20ca25(0x244)](_0x20ca25(0x246));for(let _0x477c26=0x0;_0x477c26<_0x1d278e;_0x477c26++)_0x582bd5[_0x20ca25(0x252)](_0x28fd20,{'at':_0x10f091});return _0x28fd20[_0x20ca25(0x21a)](_0x10f091)[_0x20ca25(0x21a)](_0x4ad1eb);}[_0x42a763(0x249)](_0x3a7a54,_0x4ff808){const _0x360789=_0x42a763,{plugins:_0x47961e}=this[_0x360789(0x20f)],{model:_0x4bb1ed}=_0x3a7a54;if(!_0x47961e[_0x360789(0x226)](_0x360789(0x236)))return;_0x47961e[_0x360789(0x20d)](_0x360789(0x236))[_0x360789(0x1fe)](_0x4ff808)[_0x360789(0x22b)]&&_0x4bb1ed[_0x360789(0x20e)](_0x4ff808);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x13bbe2=_0x4ac2;function _0x4ac2(_0x31b848,_0x508471){const _0xc40429=_0xc404();return _0x4ac2=function(_0x4ac293,_0x1be9d2){_0x4ac293=_0x4ac293-0xf8;let _0x11bee5=_0xc40429[_0x4ac293];return _0x11bee5;},_0x4ac2(_0x31b848,_0x508471);}(function(_0x35a970,_0x248a73){const _0x3aab90=_0x4ac2,_0x35b6a2=_0x35a970();while(!![]){try{const _0x54bf8f=-parseInt(_0x3aab90(0x117))/0x1*(-parseInt(_0x3aab90(0x154))/0x2)+-parseInt(_0x3aab90(0xf9))/0x3*(parseInt(_0x3aab90(0x135))/0x4)+-parseInt(_0x3aab90(0x102))/0x5+parseInt(_0x3aab90(0xfc))/0x6+-parseInt(_0x3aab90(0x127))/0x7*(parseInt(_0x3aab90(0x166))/0x8)+-parseInt(_0x3aab90(0x113))/0x9*(parseInt(_0x3aab90(0x162))/0xa)+parseInt(_0x3aab90(0x14b))/0xb;if(_0x54bf8f===_0x248a73)break;else _0x35b6a2['push'](_0x35b6a2['shift']());}catch(_0xe54255){_0x35b6a2['push'](_0x35b6a2['shift']());}}}(_0xc404,0x60f53));import{Plugin as _0x573b43}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1e7530,IconRobotPencil as _0x2ceaba}from'ckeditor5/src/icons.js';import{first as _0x95c6c6,CKEditorError as _0x23dff5}from'ckeditor5/src/utils.js';import{createDropdown as _0x97c256,addMenuToDropdown as _0x4a99e2,ButtonView as _0x587f5c,MenuBarMenuListItemButtonView as _0x507fe0,Dialog as _0x3ffec4,DialogViewPosition as _0x1a161b,MenuBarMenuView as _0xbaa289,MenuBarMenuListView as _0x104a49,MenuBarMenuListItemView as _0x668afa}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x14b635,UNGROUPED_COMMANDS_GROUP_ID as _0x34f116}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x5ea495}from'./aiassistantediting.js';import{AIAdapter as _0x57ef77}from'./adapters/aiadapter.js';import{getTranslation as _0x491cfc}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x5d1b7f}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x25f90a}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x39b85f}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x27922a}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x13bbe2(0x105)];import{ClipboardMarkersUtils as _0xb1d259}from'ckeditor5/src/clipboard.js';function _0xc404(){const _0x51265a=['getSelectedBlocks','requires','menuView','_uiCssClasses','add','ai.assistant.contentAreaCssClass','view','text/html','execute','contentArea','isOfficialPlugin','1542729OBrPpp','delegate','text','3330618HcAuTd','_initView','filter','licenseKey','listenTo','ai.assistant.useTheme','3812415STDexx','aiLicenseKeyEvaluationLimit','push','DataTransfer','menuBar:aiCommands','init','rawHtml','updatePosition','model','body','_aiAssistantController','Error\x20during\x20AI\x20content\x20generation:\x20%0','hideUI','ai.assistant.disabledElements','_commandDefinitions','showUI','_onExecute','9cRFZuR','_formView','change:enabledCommandsIds','<p>','49qbZERq','setSelection','getSelectedElement','change','usageLimit','map','buttons','render','expired','textAdapter','Generated\x20content:\x20%0','menuitemcheckbox','domainLimit','_populateMenuBarMenu','trim','_aiAdapter','14BkjXBH','invalid','insertContent','plugins','command:','AI\x20Commands','isOn','_createAIAssistantUIButton','hideFakeVisualSelection','ck-ai-assistant-button\x20','comment','isCollapsed','showAIAssistant','define','4KZshFD','schema','evaluationLimit','aiLicenseKeyExpired','_initAriaAiStatusChangeAnnouncements','ck-ai-commands-dropdown\x20','errorView','update','focus','trialLimit','children','length','fieldView','getLimitElement','aiLicenseKeyUsageLimit','AIAssistant','updateView','ck-ai-assistant-ui','pluginName','_licenseKeyCheckInterval','_dialog','from','14626623bAKPXD','requiresContent','_showLicenseError','\x20ck-ai-assistant-ui_theme','get','copy','_getResolvedCommandsDefinitions','change:value','enabledCommandsIds','29144FZnbrH','destroy','aiLicenseKeyDomainLimit','set','forEach','aiLicenseKeyTrialLimit','groupLabel','isEnabled','aiCommands','replace','tableOfContents','config','announce','editing','6629370xiFQji','EDITOR_TOP_SIDE','AI\x20is\x20writing','ai-commands-config-order-collision','1048088BfKDfa','menuBar:aiAssistant','featureNotAllowed','replaceContent','commands','aiLicenseKeyValid','media','fire','isPremiumPlugin','aiLicenseKeyNotAllowed','bind','items','showFakeVisualSelection','change:isProcessing','selection','polite','locale','addMany','document','AI\x20Assistant','insertContentBelow','INSERT','hide','once','ai.assistant.commands','includes','componentFactory','prompt','menuPanelClass','_getMenuBarGroupButtons','source','change:isError','editor','getRanges','wasMoved','groupId','REPLACE','sort','currentContext','splice','</p>','aiAssistant','reset','isFlat','_forceMarkersCopy','getData','aiLicenseKeyInvalid','order','show','custom','buttonView','panelView','values','AIAssistantUI','promptView','label','queryView'];_0xc404=function(){return _0x51265a;};return _0xc404();}import{ViewDocumentDomEventData as _0xa0d0d3,ViewDataTransfer as _0x5b9f14}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x573b43{[_0x13bbe2(0xff)];[_0x13bbe2(0x148)];[_0x13bbe2(0x149)];[_0x13bbe2(0x114)];[_0x13bbe2(0x126)];[_0x13bbe2(0x10c)];[_0x13bbe2(0x1a2)]='';static get[_0x13bbe2(0x147)](){const _0x575f12=_0x13bbe2;return _0x575f12(0x19b);}static get[_0x13bbe2(0xf8)](){return!0x0;}static get[_0x13bbe2(0x16e)](){return!0x0;}static get[_0x13bbe2(0x1a0)](){return[_0xb1d259,_0x5ea495,_0x57ef77,_0x3ffec4];}constructor(_0x4c1e53){const _0x2b482b=_0x13bbe2;super(_0x4c1e53),_0x4c1e53[_0x2b482b(0x15f)][_0x2b482b(0x134)](_0x2b482b(0x10f),[_0x2b482b(0x16c),_0x2b482b(0x108),_0x2b482b(0x15e)]),_0x4c1e53[_0x2b482b(0x15f)][_0x2b482b(0x134)](_0x2b482b(0x1a4),''),_0x4c1e53[_0x2b482b(0x15f)][_0x2b482b(0x134)](_0x2b482b(0x101),!0x0),this[_0x2b482b(0x1a2)]=_0x2b482b(0x146)+(_0x4c1e53[_0x2b482b(0x15f)][_0x2b482b(0x14f)](_0x2b482b(0x101))?_0x2b482b(0x14e):'');}[_0x13bbe2(0x107)](){const _0x48a2b3=_0x13bbe2,{editor:_0x5ded14}=this;this[_0x48a2b3(0x126)]=_0x5ded14[_0x48a2b3(0x12a)][_0x48a2b3(0x14f)](_0x57ef77),this[_0x48a2b3(0x149)]=_0x5ded14[_0x48a2b3(0x12a)][_0x48a2b3(0x14f)](_0x3ffec4),this[_0x48a2b3(0x114)]=null,this[_0x48a2b3(0x110)]=this[_0x48a2b3(0x151)]();const _0x406b8b=new _0x5d1b7f(_0x5ded14,Array[_0x48a2b3(0x14a)](this[_0x48a2b3(0x110)][_0x48a2b3(0x19a)]()));_0x5ded14[_0x48a2b3(0x16a)][_0x48a2b3(0x1a3)](_0x48a2b3(0x133),_0x406b8b),_0x5ded14['ui'][_0x48a2b3(0x180)][_0x48a2b3(0x1a3)](_0x48a2b3(0x15c),_0x21fc09=>{const _0x2ea8fa=_0x48a2b3,_0x229307=_0x97c256(_0x21fc09);return _0x229307[_0x2ea8fa(0x157)]({'class':_0x2ea8fa(0x13a)+this[_0x2ea8fa(0x1a2)]}),_0x229307[_0x2ea8fa(0x198)][_0x2ea8fa(0x157)]({'label':_0x491cfc(_0x21fc09,_0x2ea8fa(0x12c)),'icon':_0x1e7530,'tooltip':!0x0}),_0x229307['on'](_0x2ea8fa(0x1a7),_0x10d5f4=>this[_0x2ea8fa(0x112)](_0x10d5f4[_0x2ea8fa(0x184)]['id'])),_0x4a99e2(_0x229307,_0x5ded14['ui'][_0x2ea8fa(0x1a5)][_0x2ea8fa(0x10b)],function(_0x533c29){const _0x4e0aac=_0x2ea8fa,_0x44c24e=_0x14b635(_0x533c29[_0x4e0aac(0x15f)][_0x4e0aac(0x14f)](_0x4e0aac(0x17e)),_0x533c29[_0x4e0aac(0x176)]),_0x36c3c3=U(_0x533c29,_0x44c24e)[_0x4e0aac(0xfe)](_0x3a4ce5=>_0x3a4ce5[_0x4e0aac(0x16a)][_0x4e0aac(0x140)]);if(0x1===_0x36c3c3[_0x4e0aac(0x140)])return U(_0x533c29,_0x36c3c3[0x0][_0x4e0aac(0x16a)])[_0x4e0aac(0x11c)](_0x317545=>({'id':_0x317545['id'],'label':_0x317545[_0x4e0aac(0x19d)]}));return _0x36c3c3[_0x4e0aac(0x11c)](_0x444c90=>{const _0x4b1f20=_0x4e0aac,{groupId:_0x33b89b,groupLabel:_0x22606c,commands:_0x281a57}=_0x444c90,_0x1e5bc8=U(_0x533c29,_0x281a57)[_0x4b1f20(0x11c)](_0x9ed5=>({'id':_0x9ed5['id'],'label':_0x9ed5[_0x4b1f20(0x19d)]}));return{'id':_0x33b89b,'menu':_0x22606c||_0x33b89b,'children':_0x1e5bc8};});}(_0x5ded14),{'ariaLabel':_0x491cfc(_0x21fc09,_0x2ea8fa(0x12c))}),_0x229307[_0x2ea8fa(0x1a1)][_0x2ea8fa(0x182)]=_0x2ea8fa(0x13a)+this[_0x2ea8fa(0x1a2)],_0x406b8b['on'](_0x2ea8fa(0x115),_0x5292f8),_0x229307[_0x2ea8fa(0x1a1)][_0x2ea8fa(0x17d)](_0x2ea8fa(0x11e),_0x5292f8),_0x229307;function _0x5292f8(){const _0x7a0544=_0x2ea8fa;_0x229307[_0x7a0544(0x15b)]=_0x406b8b[_0x7a0544(0x153)][_0x7a0544(0x140)]>0x0;for(const _0x3f774d of _0x229307[_0x7a0544(0x1a1)][_0x7a0544(0x11d)])_0x3f774d[_0x7a0544(0x15b)]=_0x406b8b[_0x7a0544(0x153)][_0x7a0544(0x17f)](_0x3f774d['id']);}}),_0x5ded14['ui'][_0x48a2b3(0x180)][_0x48a2b3(0x1a3)](_0x48a2b3(0x106),_0x16e9fc=>{const _0x5343c9=_0x48a2b3,_0x5542f7=new _0xbaa289(_0x16e9fc);_0x5542f7[_0x5343c9(0x198)][_0x5343c9(0x157)]({'label':_0x491cfc(_0x16e9fc,_0x5343c9(0x12c)),'icon':_0x1e7530}),_0x5542f7[_0x5343c9(0x170)](_0x5343c9(0x15b))['to'](_0x406b8b,_0x5343c9(0x153),_0x177934=>_0x177934[_0x5343c9(0x140)]>0x0);const _0x4f0088=_0x14b635(_0x5ded14[_0x5343c9(0x15f)][_0x5343c9(0x14f)](_0x5343c9(0x17e)),_0x16e9fc);return this[_0x5343c9(0x124)](_0x406b8b,_0x5542f7,_0x4f0088,_0x191259=>this[_0x5343c9(0x112)](_0x191259)),_0x5542f7;}),_0x5ded14['ui'][_0x48a2b3(0x180)][_0x48a2b3(0x1a3)](_0x48a2b3(0x18f),()=>{const _0x472237=_0x48a2b3,_0x48d995=this[_0x472237(0x12e)](_0x587f5c);return _0x48d995[_0x472237(0x157)]({'tooltip':!0x0,'class':_0x472237(0x130)+this[_0x472237(0x1a2)]}),_0x48d995;}),_0x5ded14['ui'][_0x48a2b3(0x180)][_0x48a2b3(0x1a3)](_0x48a2b3(0x167),()=>{const _0x5123d7=_0x48a2b3,_0x1d162d=this[_0x5123d7(0x12e)](_0x507fe0);return _0x1d162d[_0x5123d7(0x157)]({'role':_0x5123d7(0x122)}),_0x1d162d;}),this[_0x48a2b3(0xff)]=this[_0x48a2b3(0x186)][_0x48a2b3(0x15f)][_0x48a2b3(0x14f)](_0x48a2b3(0xff));const _0x46929c=this[_0x48a2b3(0x186)];this[_0x48a2b3(0x148)]=setInterval(()=>{const _0x51f341=_0x48a2b3;let _0x5bd85b;for(const _0x310469 in _0x46929c){const _0xb334b2=_0x310469,_0x3b58ab=_0x46929c[_0xb334b2];if(_0x51f341(0x16b)==_0x3b58ab||_0x51f341(0x194)==_0x3b58ab||_0x51f341(0x138)==_0x3b58ab||_0x51f341(0x156)==_0x3b58ab||_0x51f341(0x16f)==_0x3b58ab||_0x51f341(0x103)==_0x3b58ab||_0x51f341(0x159)==_0x3b58ab||_0x51f341(0x143)==_0x3b58ab){delete _0x46929c[_0xb334b2],_0x5bd85b=_0x3b58ab,clearInterval(this[_0x51f341(0x148)]),this[_0x51f341(0x148)]=void 0x0;break;}}_0x51f341(0x194)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x128)),_0x51f341(0x138)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x11f)),_0x51f341(0x156)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x123)),_0x51f341(0x16f)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x168),_0x51f341(0x144)),_0x51f341(0x103)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x137)),_0x51f341(0x159)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x13e)),_0x51f341(0x143)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x11b));},0x3e8);}[_0x13bbe2(0x155)](){const _0x530d54=_0x13bbe2;super[_0x530d54(0x155)](),this[_0x530d54(0x148)]&&clearInterval(this[_0x530d54(0x148)]);}[_0x13bbe2(0x111)](_0x476bd8='',_0x4fcab0='',_0xa334eb=_0x13bbe2(0x197)){const _0x5d533b=_0x13bbe2,_0x4d48d8=this[_0x5d533b(0x186)],_0x4d36e6=_0x4d48d8[_0x5d533b(0x161)][_0x5d533b(0x1a5)],_0x554143=_0x4d48d8[_0x5d533b(0x12a)][_0x5d533b(0x14f)](_0x5ea495),_0xca96f6=_0x4d48d8[_0x5d533b(0x12a)][_0x5d533b(0x14f)](_0xb1d259);_0x554143[_0x5d533b(0x172)]();const _0x5a1e61=new w(),_0x3c7b47=new ClipboardEvent(_0x5d533b(0x150),{'clipboardData':_0x5a1e61}),_0x21c61a=new _0x5b9f14(_0x5a1e61),_0x473f2b=new _0xa0d0d3(_0x4d36e6,_0x3c7b47,{'dataTransfer':_0x21c61a});_0xca96f6[_0x5d533b(0x192)](_0x5d533b(0x131),()=>{const _0x242e86=_0x5d533b;_0x4d36e6[_0x242e86(0x178)][_0x242e86(0x16d)](_0x242e86(0x150),_0x473f2b);}),this[_0x5d533b(0x114)]||(this[_0x5d533b(0xfd)](),this[_0x5d533b(0x10c)]=new _0x25f90a(_0x4d48d8,this[_0x5d533b(0x126)][_0x5d533b(0x120)],this[_0x5d533b(0x114)]));let _0x5e6a86=_0x21c61a[_0x5d533b(0x193)](_0x5d533b(0x1a6));const _0x27eda1=_0x4d48d8[_0x5d533b(0x10a)][_0x5d533b(0x178)][_0x5d533b(0x174)],_0x40294f=Array[_0x5d533b(0x14a)](_0x27eda1[_0x5d533b(0x187)]());0x1===_0x40294f[_0x5d533b(0x140)]&&_0x40294f[0x0][_0x5d533b(0x191)]&&!_0x27eda1[_0x5d533b(0x119)]()&&''!==_0x5e6a86[_0x5d533b(0x15d)](/ /g,'')[_0x5d533b(0x125)]()&&(_0x5e6a86=_0x5d533b(0x116)+_0x5e6a86+_0x5d533b(0x18e)),this[_0x5d533b(0x10c)][_0x5d533b(0x145)]({'actionId':_0xa334eb,'query':_0x476bd8,'htmlContent':_0x5e6a86,'label':_0x4fcab0,'mainActionLabel':_0x27922a[_0x4d48d8[_0x5d533b(0x10a)][_0x5d533b(0x178)][_0x5d533b(0x174)][_0x5d533b(0x132)]?_0x5d533b(0x17b):_0x5d533b(0x18a)]}),_0x5d533b(0x18f)!==this[_0x5d533b(0x149)]['id']?this[_0x5d533b(0x149)][_0x5d533b(0x196)]({'id':_0x5d533b(0x18f),'icon':_0x2ceaba,'title':_0x491cfc(this[_0x5d533b(0x186)][_0x5d533b(0x176)],_0x5d533b(0x179)),'content':this[_0x5d533b(0x114)],'position':_0x1a161b[_0x5d533b(0x163)],'onShow':()=>{const _0x5655df=_0x5d533b;this[_0x5655df(0x114)][_0x5655df(0x13d)]();},'onHide':()=>{const _0x26d2ff=_0x5d533b;this[_0x26d2ff(0x10c)][_0x26d2ff(0x190)](),_0x554143[_0x26d2ff(0x12f)]();}}):this[_0x5d533b(0x149)][_0x5d533b(0x1a5)][_0x5d533b(0x188)]||this[_0x5d533b(0x149)][_0x5d533b(0x1a5)][_0x5d533b(0x109)]();}[_0x13bbe2(0x10e)](){const _0x15c029=_0x13bbe2;this[_0x15c029(0x149)][_0x15c029(0x17c)]();}[_0x13bbe2(0x151)](){const _0x3122ce=_0x13bbe2,_0x28a010=new Map(),_0x4ff636=_0x14b635(this[_0x3122ce(0x186)][_0x3122ce(0x15f)][_0x3122ce(0x14f)](_0x3122ce(0x17e)),this[_0x3122ce(0x186)][_0x3122ce(0x176)]);for(const _0x332e1d of _0x4ff636)for(const _0x3c9847 of _0x332e1d[_0x3122ce(0x16a)])_0x28a010[_0x3122ce(0x157)](_0x3c9847['id'],{..._0x3c9847,'groupId':_0x332e1d[_0x3122ce(0x189)],'groupLabel':_0x332e1d[_0x3122ce(0x15a)]||_0x332e1d[_0x3122ce(0x189)]});return _0x28a010;}[_0x13bbe2(0x12e)](_0x44a529){const _0x293497=_0x13bbe2,_0x568c4d=this[_0x293497(0x186)],_0x5b0b1a=_0x568c4d[_0x293497(0x16a)][_0x293497(0x14f)](_0x293497(0x133)),_0x1cc27a=new _0x44a529(_0x568c4d[_0x293497(0x176)]);return _0x1cc27a[_0x293497(0x157)]({'label':_0x491cfc(_0x568c4d[_0x293497(0x176)],_0x293497(0x179)),'icon':_0x2ceaba,'isToggleable':!0x0}),_0x1cc27a[_0x293497(0x170)](_0x293497(0x15b))['to'](_0x5b0b1a),_0x1cc27a[_0x293497(0x170)](_0x293497(0x12d))['to'](this[_0x293497(0x149)],'id',_0x316adb=>_0x293497(0x18f)===_0x316adb),this[_0x293497(0x100)](_0x1cc27a,_0x293497(0x1a7),()=>{const _0x55395=_0x293497;_0x1cc27a[_0x55395(0x12d)]?this[_0x55395(0x10e)]():_0x5b0b1a[_0x55395(0x1a7)]();}),_0x1cc27a;}[_0x13bbe2(0xfd)](){const _0x2b6e29=_0x13bbe2,_0xf211e0=this[_0x2b6e29(0x186)][_0x2b6e29(0x12a)][_0x2b6e29(0x14f)](_0x5ea495);this[_0x2b6e29(0x114)]=new _0x39b85f(this[_0x2b6e29(0x186)][_0x2b6e29(0x176)],this[_0x2b6e29(0x1a2)],this[_0x2b6e29(0x186)][_0x2b6e29(0x15f)][_0x2b6e29(0x14f)](_0x2b6e29(0x1a4))),this[_0x2b6e29(0x114)]['on'](_0x2b6e29(0x152),()=>{const _0x13380c=_0x2b6e29;this[_0x13380c(0x149)][_0x13380c(0x1a5)][_0x13380c(0x188)]||this[_0x13380c(0x149)][_0x13380c(0x1a5)][_0x13380c(0x109)]();}),this[_0x2b6e29(0x114)][_0x2b6e29(0x19c)][_0x2b6e29(0x19e)][_0x2b6e29(0x141)]['on'](_0x2b6e29(0x13c),()=>{const _0x388a06=_0x2b6e29;this[_0x388a06(0x149)][_0x388a06(0x1a5)][_0x388a06(0x188)]||this[_0x388a06(0x149)][_0x388a06(0x1a5)][_0x388a06(0x109)]();}),this[_0x2b6e29(0x100)](this[_0x2b6e29(0x114)],_0x2b6e29(0x169),()=>{const _0x1204be=_0x2b6e29;_0xf211e0[_0x1204be(0x129)](this[_0x1204be(0x10c)][_0x1204be(0x18c)]),this[_0x1204be(0x10e)]();}),this[_0x2b6e29(0x100)](this[_0x2b6e29(0x114)],_0x2b6e29(0x17a),()=>{const _0x2a304e=_0x2b6e29;_0xf211e0[_0x2a304e(0x17a)](this[_0x2a304e(0x10c)][_0x2a304e(0x18c)]),this[_0x2a304e(0x10e)]();}),this[_0x2b6e29(0x139)]();}[_0x13bbe2(0x139)](){const _0x1182da=_0x13bbe2,{locale:_0x1577e0,ui:{ariaLiveAnnouncer:_0xd17d7a}}=this[_0x1182da(0x186)];this[_0x1182da(0x114)][_0x1182da(0x1a8)]['on'](_0x1182da(0x173),(_0xc81ab8,_0x3334d6,_0x1ae6b1)=>{const _0xf2b411=_0x1182da,_0x252f17=this[_0xf2b411(0x10c)][_0xf2b411(0x18c)];_0x1ae6b1?_0xd17d7a[_0xf2b411(0x160)](_0x491cfc(_0x1577e0,_0xf2b411(0x164))):_0x252f17&&_0xd17d7a[_0xf2b411(0x160)](_0x491cfc(_0x1577e0,_0xf2b411(0x121),_0x252f17),{'politeness':_0xf2b411(0x175),'isUnsafeHTML':!0x0});}),this[_0x1182da(0x114)]['on'](_0x1182da(0x185),(_0x298bf6,_0x86112d,_0x4418fc)=>{const _0x5715af=_0x1182da;if(_0x4418fc){const _0x4b49c0=this[_0x5715af(0x114)][_0x5715af(0x13b)][_0x5715af(0xfb)];_0xd17d7a[_0x5715af(0x160)](_0x491cfc(_0x1577e0,_0x5715af(0x10d),_0x4b49c0));}});}[_0x13bbe2(0x112)](_0x4a120e){const _0x3f9913=_0x13bbe2,_0x154f20=this[_0x3f9913(0x110)][_0x3f9913(0x14f)](_0x4a120e),_0x29571c=this[_0x3f9913(0x186)],_0xdad9c3=_0x29571c[_0x3f9913(0x10a)][_0x3f9913(0x178)][_0x3f9913(0x174)],_0x1c04be=_0x29571c[_0x3f9913(0x16a)][_0x3f9913(0x14f)](_0x3f9913(0x133)),_0x5111be=_0x29571c[_0x3f9913(0x12a)][_0x3f9913(0x14f)](_0x5ea495),_0x5b5cb9=''+(_0x154f20[_0x3f9913(0x189)]!==_0x34f116?_0x154f20[_0x3f9913(0x15a)]+':\x20':'')+_0x154f20[_0x3f9913(0x19d)];if(!0x1!==_0x154f20[_0x3f9913(0x14c)]&&_0xdad9c3[_0x3f9913(0x132)]){const _0x1c31d2=_0x95c6c6(_0xdad9c3[_0x3f9913(0x19f)]())||_0x29571c[_0x3f9913(0x10a)][_0x3f9913(0x136)][_0x3f9913(0x142)](_0xdad9c3);_0x29571c[_0x3f9913(0x10a)][_0x3f9913(0x11a)](_0x2b79bf=>{const _0x251d29=_0x3f9913;_0x2b79bf[_0x251d29(0x118)](_0x1c31d2,'in');});}_0x5111be[_0x3f9913(0x172)](),_0x1c04be[_0x3f9913(0x1a7)](_0x154f20[_0x3f9913(0x181)],_0x5b5cb9,_0x3f9913(0x12b)+_0x4a120e);}[_0x13bbe2(0x124)](_0x1d9c65,_0x3d4452,_0x5698e8,_0x3a5ded){const _0x44e32a=_0x13bbe2,_0x4fcd1d=this[_0x44e32a(0x186)],_0x38ed05=_0x4fcd1d[_0x44e32a(0x176)],_0x40f147=new _0x104a49(_0x38ed05),_0x564688=U(_0x4fcd1d,_0x5698e8)[_0x44e32a(0xfe)](_0x147471=>_0x147471[_0x44e32a(0x16a)][_0x44e32a(0x140)]);0x1===_0x564688[_0x44e32a(0x140)]?this[_0x44e32a(0x183)]({'command':_0x1d9c65,'commands':_0x564688[0x0][_0x44e32a(0x16a)],'parentMenuView':_0x3d4452,'onExecute':_0x3a5ded})[_0x44e32a(0x158)](_0x2d7b28=>_0x40f147[_0x44e32a(0x171)][_0x44e32a(0x1a3)](_0x2d7b28)):_0x564688[_0x44e32a(0x158)](({groupId:_0x35443c,groupLabel:_0x273ede,commands:_0x21ecbe})=>{const _0x3d20e8=_0x44e32a,_0x32fdf0=new _0x668afa(_0x38ed05,_0x3d4452),_0x3185b3=new _0xbaa289(_0x38ed05),_0x2fd917=new _0x104a49(_0x38ed05),_0x20e7f6=this[_0x3d20e8(0x183)]({'command':_0x1d9c65,'commands':_0x21ecbe,'parentMenuView':_0x3185b3,'onExecute':_0x3a5ded});_0x3185b3[_0x3d20e8(0x198)][_0x3d20e8(0x157)]({'label':_0x273ede||_0x35443c}),_0x3185b3[_0x3d20e8(0xfa)](_0x3d20e8(0x1a7))['to'](_0x3d4452),_0x2fd917[_0x3d20e8(0x171)][_0x3d20e8(0x177)](_0x20e7f6),_0x3185b3[_0x3d20e8(0x199)][_0x3d20e8(0x13f)][_0x3d20e8(0x1a3)](_0x2fd917),_0x32fdf0[_0x3d20e8(0x13f)][_0x3d20e8(0x1a3)](_0x3185b3),_0x40f147[_0x3d20e8(0x171)][_0x3d20e8(0x1a3)](_0x32fdf0);}),_0x3d4452[_0x44e32a(0x199)][_0x44e32a(0x13f)][_0x44e32a(0x1a3)](_0x40f147);}[_0x13bbe2(0x183)]({command:_0x3f5c4d,commands:_0x3487d9,parentMenuView:_0x283ba9,onExecute:_0x44cabd}){const _0x50b78f=_0x13bbe2,_0x3ddfbc=this[_0x50b78f(0x186)],_0x27d55c=_0x3ddfbc[_0x50b78f(0x176)];return U(_0x3ddfbc,_0x3487d9)[_0x50b78f(0x11c)](_0x5743b8=>{const _0x1de09b=_0x50b78f,_0x4af1b6=new _0x668afa(_0x27d55c,_0x283ba9),_0x3f8fab=new _0x507fe0(_0x27d55c);return _0x3f8fab[_0x1de09b(0x157)]({'label':_0x5743b8[_0x1de09b(0x19d)]}),_0x3f8fab[_0x1de09b(0xfa)](_0x1de09b(0x1a7))['to'](_0x283ba9),_0x3f8fab['on'](_0x1de09b(0x1a7),()=>_0x44cabd(_0x5743b8['id'])),_0x3f8fab[_0x1de09b(0x170)](_0x1de09b(0x15b))['to'](_0x3f5c4d,_0x1de09b(0x153),_0x37de1a=>_0x37de1a[_0x1de09b(0x17f)](_0x5743b8['id'])),_0x4af1b6[_0x1de09b(0x13f)][_0x1de09b(0x1a3)](_0x3f8fab),_0x4af1b6;});}}function T(_0x432875,_0x2e9eb3){const _0x1aa9b5=_0x13bbe2;return void 0x0!==_0x432875[_0x1aa9b5(0x195)]&&void 0x0===_0x2e9eb3[_0x1aa9b5(0x195)]?0x1:void 0x0===_0x432875[_0x1aa9b5(0x195)]&&void 0x0!==_0x2e9eb3[_0x1aa9b5(0x195)]?-0x1:void 0x0!==_0x432875[_0x1aa9b5(0x195)]&&void 0x0!==_0x2e9eb3[_0x1aa9b5(0x195)]?_0x432875[_0x1aa9b5(0x195)]-_0x2e9eb3[_0x1aa9b5(0x195)]:0x0;}function U(_0x2a615f,_0x39c79e){const _0x31fc66=_0x13bbe2;_0x39c79e[_0x31fc66(0x18b)](T);const _0x2c2ed6={},_0x4f6117=[];for(const _0x2ac004 of _0x39c79e)if(void 0x0!==_0x2ac004[_0x31fc66(0x195)]){if(_0x2ac004[_0x31fc66(0x195)]in _0x2c2ed6)throw new _0x23dff5(_0x31fc66(0x165),_0x2a615f,{'conflictingDefinitions':[_0x2ac004,_0x2c2ed6[_0x2ac004[_0x31fc66(0x195)]]]});_0x2c2ed6[_0x2ac004[_0x31fc66(0x195)]]=_0x2ac004,_0x4f6117[_0x31fc66(0x18d)](_0x2ac004[_0x31fc66(0x195)],0x0,_0x2ac004);}else _0x4f6117[_0x31fc66(0x104)](_0x2ac004);return _0x4f6117;}
|
|
23
|
+
const _0x51d2d3=_0xe809;(function(_0xc476fb,_0x1a823a){const _0x54d728=_0xe809,_0xfc2bef=_0xc476fb();while(!![]){try{const _0x34f6a4=parseInt(_0x54d728(0x1f1))/0x1+parseInt(_0x54d728(0x258))/0x2*(-parseInt(_0x54d728(0x21e))/0x3)+parseInt(_0x54d728(0x1d8))/0x4+-parseInt(_0x54d728(0x1ef))/0x5+-parseInt(_0x54d728(0x20e))/0x6+parseInt(_0x54d728(0x25f))/0x7+parseInt(_0x54d728(0x21b))/0x8*(parseInt(_0x54d728(0x1d4))/0x9);if(_0x34f6a4===_0x1a823a)break;else _0xfc2bef['push'](_0xfc2bef['shift']());}catch(_0x51f7e8){_0xfc2bef['push'](_0xfc2bef['shift']());}}}(_0x49c0,0xbda1b));import{Plugin as _0x517a72}from'ckeditor5/src/core.js';import{IconMagicWand as _0x5495bb,IconRobotPencil as _0x920f12}from'ckeditor5/src/icons.js';import{first as _0x58e758,CKEditorError as _0x12a425}from'ckeditor5/src/utils.js';import{createDropdown as _0x4e4f14,addMenuToDropdown as _0x4fcc2d,ButtonView as _0x98b835,MenuBarMenuListItemButtonView as _0x5699c8,Dialog as _0x2210a2,DialogViewPosition as _0x721646,MenuBarMenuView as _0x4ad199,MenuBarMenuListView as _0x505122,MenuBarMenuListItemView as _0x5c719f}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x581232,UNGROUPED_COMMANDS_GROUP_ID as _0x9bdd84}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1e81f8}from'./aiassistantediting.js';import{AIAdapter as _0x2d548f}from'./adapters/aiadapter.js';import{getTranslation as _0x49516a}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x5fb0f1}from'./ui/showaiassistantcommand.js';function _0xe809(_0x3b465e,_0x25c59d){const _0x49c032=_0x49c0();return _0xe809=function(_0xe809e1,_0x4ecdbc){_0xe809e1=_0xe809e1-0x1cd;let _0x165d3d=_0x49c032[_0xe809e1];return _0x165d3d;},_0xe809(_0x3b465e,_0x25c59d);}import{AIAssistantController as _0x4cb496}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x2b47e0}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x23159d}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const J=globalThis[_0x51d2d3(0x1fb)];import{ClipboardMarkersUtils as _0x54dd74}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1f9766,ViewDataTransfer as _0x297a14}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x517a72{[_0x51d2d3(0x27a)];[_0x51d2d3(0x26b)];[_0x51d2d3(0x1dc)];[_0x51d2d3(0x227)];[_0x51d2d3(0x228)];[_0x51d2d3(0x23c)];[_0x51d2d3(0x26a)]='';static get[_0x51d2d3(0x1e9)](){const _0x419eb=_0x51d2d3;return _0x419eb(0x1e3);}static get[_0x51d2d3(0x20c)](){return!0x0;}static get[_0x51d2d3(0x203)](){return!0x0;}static get[_0x51d2d3(0x24a)](){return[_0x54dd74,_0x1e81f8,_0x2d548f,_0x2210a2];}constructor(_0x35fbaf){const _0x1f5f2a=_0x51d2d3;super(_0x35fbaf),_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x265)](_0x1f5f2a(0x202),[_0x1f5f2a(0x1ce),_0x1f5f2a(0x233),_0x1f5f2a(0x245)]),_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x265)](_0x1f5f2a(0x246),''),_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x265)](_0x1f5f2a(0x264),!0x0),this[_0x1f5f2a(0x26a)]=_0x1f5f2a(0x22a)+(_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x253)](_0x1f5f2a(0x264))?_0x1f5f2a(0x209):'');}[_0x51d2d3(0x1fd)](){const _0x594768=_0x51d2d3,{editor:_0x30efdc}=this;this[_0x594768(0x228)]=_0x30efdc[_0x594768(0x1d2)][_0x594768(0x253)](_0x2d548f),this[_0x594768(0x1dc)]=_0x30efdc[_0x594768(0x1d2)][_0x594768(0x253)](_0x2210a2),this[_0x594768(0x227)]=null,this[_0x594768(0x1cf)]=this[_0x594768(0x276)]();const _0x1170cd=new _0x5fb0f1(_0x30efdc,Array[_0x594768(0x214)](this[_0x594768(0x1cf)][_0x594768(0x279)]()));_0x30efdc[_0x594768(0x217)][_0x594768(0x26d)](_0x594768(0x1d3),_0x1170cd),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x218),_0x5caf15=>{const _0x4aebb7=_0x594768,_0x5afc3d=_0x4e4f14(_0x5caf15);return _0x5afc3d[_0x4aebb7(0x1f9)]({'class':_0x4aebb7(0x215)+this[_0x4aebb7(0x26a)]}),_0x5afc3d[_0x4aebb7(0x270)][_0x4aebb7(0x1f9)]({'label':_0x49516a(_0x5caf15,_0x4aebb7(0x212)),'icon':_0x5495bb,'tooltip':!0x0}),_0x5afc3d['on'](_0x4aebb7(0x230),_0x126671=>this[_0x4aebb7(0x269)](_0x126671[_0x4aebb7(0x25e)]['id'])),_0x4fcc2d(_0x5afc3d,_0x30efdc['ui'][_0x4aebb7(0x259)][_0x4aebb7(0x262)],function(_0x4554b7){const _0x519f45=_0x4aebb7,_0x48f54b=_0x581232(_0x4554b7[_0x519f45(0x1ea)][_0x519f45(0x253)](_0x519f45(0x234)),_0x4554b7[_0x519f45(0x275)]),_0x19fef9=hi(_0x4554b7,_0x48f54b)[_0x519f45(0x22c)](_0x56e709=>_0x56e709[_0x519f45(0x217)][_0x519f45(0x21c)]);if(0x1===_0x19fef9[_0x519f45(0x21c)])return hi(_0x4554b7,_0x19fef9[0x0][_0x519f45(0x217)])[_0x519f45(0x1ff)](_0x45fd87=>({'id':_0x45fd87['id'],'label':_0x45fd87[_0x519f45(0x1fe)]}));return _0x19fef9[_0x519f45(0x1ff)](_0x5b167c=>{const _0x4fd379=_0x519f45,{groupId:_0x4e9fd4,groupLabel:_0x3b69d3,commands:_0x15825f}=_0x5b167c,_0x449e51=hi(_0x4554b7,_0x15825f)[_0x4fd379(0x1ff)](_0x38407b=>({'id':_0x38407b['id'],'label':_0x38407b[_0x4fd379(0x1fe)]}));return{'id':_0x4e9fd4,'menu':_0x3b69d3||_0x4e9fd4,'children':_0x449e51};});}(_0x30efdc),{'ariaLabel':_0x49516a(_0x5caf15,_0x4aebb7(0x212))}),_0x5afc3d[_0x4aebb7(0x1f0)][_0x4aebb7(0x239)]=_0x4aebb7(0x215)+this[_0x4aebb7(0x26a)],_0x1170cd['on'](_0x4aebb7(0x20f),_0x6d34ab),_0x5afc3d[_0x4aebb7(0x1f0)][_0x4aebb7(0x1d5)](_0x4aebb7(0x267),_0x6d34ab),_0x5afc3d;function _0x6d34ab(){const _0x1ac03e=_0x4aebb7;_0x5afc3d[_0x1ac03e(0x216)]=_0x1170cd[_0x1ac03e(0x256)][_0x1ac03e(0x21c)]>0x0;for(const _0x2e1720 of _0x5afc3d[_0x1ac03e(0x1f0)][_0x1ac03e(0x200)])_0x2e1720[_0x1ac03e(0x216)]=_0x1170cd[_0x1ac03e(0x256)][_0x1ac03e(0x257)](_0x2e1720['id']);}}),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x1f8),_0x266c96=>{const _0x27c3af=_0x594768,_0x47fcf5=new _0x4ad199(_0x266c96);_0x47fcf5[_0x27c3af(0x270)][_0x27c3af(0x1f9)]({'label':_0x49516a(_0x266c96,_0x27c3af(0x212)),'icon':_0x5495bb}),_0x47fcf5[_0x27c3af(0x225)](_0x27c3af(0x216))['to'](_0x1170cd,_0x27c3af(0x256),_0x1b94d5=>_0x1b94d5[_0x27c3af(0x21c)]>0x0);const _0x161562=_0x581232(_0x30efdc[_0x27c3af(0x1ea)][_0x27c3af(0x253)](_0x27c3af(0x234)),_0x266c96);return this[_0x27c3af(0x250)](_0x1170cd,_0x47fcf5,_0x161562,_0x86efa2=>this[_0x27c3af(0x269)](_0x86efa2)),_0x47fcf5;}),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x1e8),()=>{const _0x50ef5f=_0x594768,_0x656ad1=this[_0x50ef5f(0x273)](_0x98b835);return _0x656ad1[_0x50ef5f(0x1f9)]({'tooltip':!0x0,'class':_0x50ef5f(0x232)+this[_0x50ef5f(0x26a)]}),_0x656ad1;}),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x23a),()=>{const _0x4f700c=_0x594768,_0x4d0d58=this[_0x4f700c(0x273)](_0x5699c8);return _0x4d0d58[_0x4f700c(0x1f9)]({'role':_0x4f700c(0x238)}),_0x4d0d58;}),this[_0x594768(0x27a)]=this[_0x594768(0x1e7)][_0x594768(0x1ea)][_0x594768(0x253)](_0x594768(0x27a));const _0x27ad12=this[_0x594768(0x1e7)];this[_0x594768(0x26b)]=setInterval(()=>{const _0x4f2459=_0x594768;let _0x2e4f3a;for(const _0x34edda in _0x27ad12){const _0x40a11e=_0x34edda,_0x334557=_0x27ad12[_0x40a11e];if(_0x4f2459(0x1d7)==_0x334557||_0x4f2459(0x24e)==_0x334557||_0x4f2459(0x1cd)==_0x334557||_0x4f2459(0x1f3)==_0x334557||_0x4f2459(0x26c)==_0x334557||_0x4f2459(0x1e5)==_0x334557||_0x4f2459(0x1e0)==_0x334557||_0x4f2459(0x237)==_0x334557){delete _0x27ad12[_0x40a11e],_0x2e4f3a=_0x334557,clearInterval(this[_0x4f2459(0x26b)]),this[_0x4f2459(0x26b)]=void 0x0;break;}}_0x4f2459(0x24e)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x1f7)),_0x4f2459(0x1cd)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x221)),_0x4f2459(0x1f3)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x25a)),_0x4f2459(0x26c)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x210),_0x4f2459(0x241)),_0x4f2459(0x1e5)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x20a)),_0x4f2459(0x1e0)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x1e1)),_0x4f2459(0x237)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x23f));},0x3e8);}[_0x51d2d3(0x207)](){const _0x5a794c=_0x51d2d3;super[_0x5a794c(0x207)](),this[_0x5a794c(0x26b)]&&clearInterval(this[_0x5a794c(0x26b)]);}[_0x51d2d3(0x1da)](_0x39a4ee='',_0x3cac19='',_0x1151e3=_0x51d2d3(0x1d1)){const _0x5b0348=_0x51d2d3,_0x410079=this[_0x5b0348(0x1e7)],_0x57b5ed=_0x410079[_0x5b0348(0x21f)][_0x5b0348(0x259)],_0x2f2922=_0x410079[_0x5b0348(0x1d2)][_0x5b0348(0x253)](_0x1e81f8),_0x177745=_0x410079[_0x5b0348(0x1d2)][_0x5b0348(0x253)](_0x54dd74);_0x2f2922[_0x5b0348(0x1df)]();const _0x34f17b=new J(),_0x415e10=new ClipboardEvent(_0x5b0348(0x20b),{'clipboardData':_0x34f17b}),_0x1efd8c=new _0x297a14(_0x34f17b),_0x33b88c=new _0x1f9766(_0x57b5ed,_0x415e10,{'dataTransfer':_0x1efd8c});_0x177745[_0x5b0348(0x261)](_0x5b0348(0x1d0),()=>{const _0x1f54ad=_0x5b0348;_0x57b5ed[_0x1f54ad(0x1de)][_0x1f54ad(0x25d)](_0x1f54ad(0x20b),_0x33b88c);}),this[_0x5b0348(0x227)]||(this[_0x5b0348(0x22d)](),this[_0x5b0348(0x23c)]=new _0x4cb496(_0x410079,this[_0x5b0348(0x228)][_0x5b0348(0x1ee)],this[_0x5b0348(0x227)]));let _0x5e9c91=_0x1efd8c[_0x5b0348(0x1e2)](_0x5b0348(0x249));const _0x2257a1=_0x410079[_0x5b0348(0x1db)][_0x5b0348(0x1de)][_0x5b0348(0x1eb)],_0x5b9280=Array[_0x5b0348(0x214)](_0x2257a1[_0x5b0348(0x20d)]());0x1===_0x5b9280[_0x5b0348(0x21c)]&&_0x5b9280[0x0][_0x5b0348(0x26f)]&&!_0x2257a1[_0x5b0348(0x25c)]()&&''!==_0x5e9c91[_0x5b0348(0x22b)](/ /g,'')[_0x5b0348(0x23b)]()&&(_0x5e9c91=_0x5b0348(0x268)+_0x5e9c91+_0x5b0348(0x224)),this[_0x5b0348(0x23c)][_0x5b0348(0x1f5)]({'actionId':_0x1151e3,'query':_0x39a4ee,'htmlContent':_0x5e9c91,'label':_0x3cac19,'mainActionLabel':_0x23159d[_0x410079[_0x5b0348(0x1db)][_0x5b0348(0x1de)][_0x5b0348(0x1eb)][_0x5b0348(0x1f4)]?_0x5b0348(0x251):_0x5b0348(0x252)]}),_0x5b0348(0x1e8)!==this[_0x5b0348(0x1dc)]['id']?this[_0x5b0348(0x1dc)][_0x5b0348(0x243)]({'id':_0x5b0348(0x1e8),'icon':_0x920f12,'title':_0x49516a(this[_0x5b0348(0x1e7)][_0x5b0348(0x275)],_0x5b0348(0x260)),'content':this[_0x5b0348(0x227)],'position':_0x721646[_0x5b0348(0x222)],'onShow':()=>{const _0x372f6e=_0x5b0348;this[_0x372f6e(0x227)][_0x372f6e(0x24c)]();},'onHide':()=>{const _0x10a014=_0x5b0348;this[_0x10a014(0x23c)][_0x10a014(0x240)](),_0x2f2922[_0x10a014(0x272)]();}}):this[_0x5b0348(0x1dc)][_0x5b0348(0x259)][_0x5b0348(0x247)]||this[_0x5b0348(0x1dc)][_0x5b0348(0x259)][_0x5b0348(0x277)]();}[_0x51d2d3(0x242)](){const _0x188ec0=_0x51d2d3;this[_0x188ec0(0x1dc)][_0x188ec0(0x26e)]();}[_0x51d2d3(0x276)](){const _0x29a5e9=_0x51d2d3,_0x2d5b33=new Map(),_0x3666db=_0x581232(this[_0x29a5e9(0x1e7)][_0x29a5e9(0x1ea)][_0x29a5e9(0x253)](_0x29a5e9(0x234)),this[_0x29a5e9(0x1e7)][_0x29a5e9(0x275)]);for(const _0x6250db of _0x3666db)for(const _0x1b1d09 of _0x6250db[_0x29a5e9(0x217)])_0x2d5b33[_0x29a5e9(0x1f9)](_0x1b1d09['id'],{..._0x1b1d09,'groupId':_0x6250db[_0x29a5e9(0x248)],'groupLabel':_0x6250db[_0x29a5e9(0x236)]||_0x6250db[_0x29a5e9(0x248)]});return _0x2d5b33;}[_0x51d2d3(0x273)](_0x11796d){const _0x3a833a=_0x51d2d3,_0x4665da=this[_0x3a833a(0x1e7)],_0x4d8d72=_0x4665da[_0x3a833a(0x217)][_0x3a833a(0x253)](_0x3a833a(0x1d3)),_0x4ba04f=new _0x11796d(_0x4665da[_0x3a833a(0x275)]);return _0x4ba04f[_0x3a833a(0x1f9)]({'label':_0x49516a(_0x4665da[_0x3a833a(0x275)],_0x3a833a(0x260)),'icon':_0x920f12,'isToggleable':!0x0}),_0x4ba04f[_0x3a833a(0x225)](_0x3a833a(0x216))['to'](_0x4d8d72),_0x4ba04f[_0x3a833a(0x225)](_0x3a833a(0x220))['to'](this[_0x3a833a(0x1dc)],'id',_0x30a8f4=>_0x3a833a(0x1e8)===_0x30a8f4),this[_0x3a833a(0x22f)](_0x4ba04f,_0x3a833a(0x230),()=>{const _0x375314=_0x3a833a;_0x4ba04f[_0x375314(0x220)]?this[_0x375314(0x242)]():_0x4d8d72[_0x375314(0x230)]();}),_0x4ba04f;}[_0x51d2d3(0x22d)](){const _0x32f8b6=_0x51d2d3,_0x5b9ef3=this[_0x32f8b6(0x1e7)][_0x32f8b6(0x1d2)][_0x32f8b6(0x253)](_0x1e81f8);this[_0x32f8b6(0x227)]=new _0x2b47e0(this[_0x32f8b6(0x1e7)][_0x32f8b6(0x275)],this[_0x32f8b6(0x26a)],this[_0x32f8b6(0x1e7)][_0x32f8b6(0x1ea)][_0x32f8b6(0x253)](_0x32f8b6(0x246))),this[_0x32f8b6(0x227)]['on'](_0x32f8b6(0x1d6),()=>{const _0x46809a=_0x32f8b6;this[_0x46809a(0x1dc)][_0x46809a(0x259)][_0x46809a(0x247)]||this[_0x46809a(0x1dc)][_0x46809a(0x259)][_0x46809a(0x277)]();}),this[_0x32f8b6(0x227)][_0x32f8b6(0x21a)][_0x32f8b6(0x254)][_0x32f8b6(0x231)]['on'](_0x32f8b6(0x271),()=>{const _0x503314=_0x32f8b6;this[_0x503314(0x1dc)][_0x503314(0x259)][_0x503314(0x247)]||this[_0x503314(0x1dc)][_0x503314(0x259)][_0x503314(0x277)]();}),this[_0x32f8b6(0x22f)](this[_0x32f8b6(0x227)],_0x32f8b6(0x235),()=>{const _0x436393=_0x32f8b6;_0x5b9ef3[_0x436393(0x21d)](this[_0x436393(0x23c)][_0x436393(0x206)]),this[_0x436393(0x242)]();}),this[_0x32f8b6(0x22f)](this[_0x32f8b6(0x227)],_0x32f8b6(0x1dd),()=>{const _0x46b184=_0x32f8b6;_0x5b9ef3[_0x46b184(0x1dd)](this[_0x46b184(0x23c)][_0x46b184(0x206)]),this[_0x46b184(0x242)]();}),this[_0x32f8b6(0x22e)]();}[_0x51d2d3(0x22e)](){const _0x1f2334=_0x51d2d3,{locale:_0x55e0da,ui:{ariaLiveAnnouncer:_0x5cfb9a}}=this[_0x1f2334(0x1e7)];this[_0x1f2334(0x227)][_0x1f2334(0x278)]['on'](_0x1f2334(0x263),(_0x57ccd8,_0x19bcb7,_0x25ec46)=>{const _0x14665c=_0x1f2334,_0x5d051b=this[_0x14665c(0x23c)][_0x14665c(0x206)];_0x25ec46?_0x5cfb9a[_0x14665c(0x24f)](_0x49516a(_0x55e0da,_0x14665c(0x213))):_0x5d051b&&_0x5cfb9a[_0x14665c(0x24f)](_0x49516a(_0x55e0da,_0x14665c(0x1fc),_0x5d051b),{'politeness':_0x14665c(0x266),'isUnsafeHTML':!0x0});}),this[_0x1f2334(0x227)]['on'](_0x1f2334(0x24d),(_0x4205e4,_0x313f22,_0x34effb)=>{const _0x3dc126=_0x1f2334;if(_0x34effb){const _0x2131a9=this[_0x3dc126(0x227)][_0x3dc126(0x24b)][_0x3dc126(0x205)];_0x5cfb9a[_0x3dc126(0x24f)](_0x49516a(_0x55e0da,_0x3dc126(0x23e),_0x2131a9));}});}[_0x51d2d3(0x269)](_0x320033){const _0x361026=_0x51d2d3,_0x81d78=this[_0x361026(0x1cf)][_0x361026(0x253)](_0x320033),_0x3b2f60=this[_0x361026(0x1e7)],_0x4549a9=_0x3b2f60[_0x361026(0x1db)][_0x361026(0x1de)][_0x361026(0x1eb)],_0x52c656=_0x3b2f60[_0x361026(0x217)][_0x361026(0x253)](_0x361026(0x1d3)),_0x501f40=_0x3b2f60[_0x361026(0x1d2)][_0x361026(0x253)](_0x1e81f8),_0x468451=''+(_0x81d78[_0x361026(0x248)]!==_0x9bdd84?_0x81d78[_0x361026(0x236)]+':\x20':'')+_0x81d78[_0x361026(0x1fe)];if(!0x1!==_0x81d78[_0x361026(0x1ec)]&&_0x4549a9[_0x361026(0x1f4)]){const _0xd031b1=_0x58e758(_0x4549a9[_0x361026(0x226)]())||_0x3b2f60[_0x361026(0x1db)][_0x361026(0x255)][_0x361026(0x1f6)](_0x4549a9);_0x3b2f60[_0x361026(0x1db)][_0x361026(0x229)](_0x3c8027=>{const _0x419558=_0x361026;_0x3c8027[_0x419558(0x219)](_0xd031b1,'in');});}_0x501f40[_0x361026(0x1df)](),_0x52c656[_0x361026(0x230)](_0x81d78[_0x361026(0x1ed)],_0x468451,_0x361026(0x1e4)+_0x320033);}[_0x51d2d3(0x250)](_0x5e75c2,_0x15107e,_0x5b1116,_0xa0194f){const _0x1763d6=_0x51d2d3,_0x267f05=this[_0x1763d6(0x1e7)],_0x402107=_0x267f05[_0x1763d6(0x275)],_0x5b1355=new _0x505122(_0x402107),_0x4e48eb=hi(_0x267f05,_0x5b1116)[_0x1763d6(0x22c)](_0x204b8a=>_0x204b8a[_0x1763d6(0x217)][_0x1763d6(0x21c)]);0x1===_0x4e48eb[_0x1763d6(0x21c)]?this[_0x1763d6(0x1d9)]({'command':_0x5e75c2,'commands':_0x4e48eb[0x0][_0x1763d6(0x217)],'parentMenuView':_0x15107e,'onExecute':_0xa0194f})[_0x1763d6(0x208)](_0x4cda3e=>_0x5b1355[_0x1763d6(0x274)][_0x1763d6(0x26d)](_0x4cda3e)):_0x4e48eb[_0x1763d6(0x208)](({groupId:_0x16d501,groupLabel:_0x2614fb,commands:_0x42db51})=>{const _0x56dcf6=_0x1763d6,_0x2d3953=new _0x5c719f(_0x402107,_0x15107e),_0x3932c4=new _0x4ad199(_0x402107),_0x4c0604=new _0x505122(_0x402107),_0x36a498=this[_0x56dcf6(0x1d9)]({'command':_0x5e75c2,'commands':_0x42db51,'parentMenuView':_0x3932c4,'onExecute':_0xa0194f});_0x3932c4[_0x56dcf6(0x270)][_0x56dcf6(0x1f9)]({'label':_0x2614fb||_0x16d501}),_0x3932c4[_0x56dcf6(0x25b)](_0x56dcf6(0x230))['to'](_0x15107e),_0x4c0604[_0x56dcf6(0x274)][_0x56dcf6(0x244)](_0x36a498),_0x3932c4[_0x56dcf6(0x201)][_0x56dcf6(0x223)][_0x56dcf6(0x26d)](_0x4c0604),_0x2d3953[_0x56dcf6(0x223)][_0x56dcf6(0x26d)](_0x3932c4),_0x5b1355[_0x56dcf6(0x274)][_0x56dcf6(0x26d)](_0x2d3953);}),_0x15107e[_0x1763d6(0x201)][_0x1763d6(0x223)][_0x1763d6(0x26d)](_0x5b1355);}[_0x51d2d3(0x1d9)]({command:_0x43f3d8,commands:_0xe0288e,parentMenuView:_0x3ec486,onExecute:_0x245511}){const _0x30cabf=_0x51d2d3,_0x282afc=this[_0x30cabf(0x1e7)],_0x2b1113=_0x282afc[_0x30cabf(0x275)];return hi(_0x282afc,_0xe0288e)[_0x30cabf(0x1ff)](_0x5ac2b3=>{const _0x4e77ed=_0x30cabf,_0x2b977c=new _0x5c719f(_0x2b1113,_0x3ec486),_0x4ef3b1=new _0x5699c8(_0x2b1113);return _0x4ef3b1[_0x4e77ed(0x1f9)]({'label':_0x5ac2b3[_0x4e77ed(0x1fe)]}),_0x4ef3b1[_0x4e77ed(0x25b)](_0x4e77ed(0x230))['to'](_0x3ec486),_0x4ef3b1['on'](_0x4e77ed(0x230),()=>_0x245511(_0x5ac2b3['id'])),_0x4ef3b1[_0x4e77ed(0x225)](_0x4e77ed(0x216))['to'](_0x43f3d8,_0x4e77ed(0x256),_0x2d4f99=>_0x2d4f99[_0x4e77ed(0x257)](_0x5ac2b3['id'])),_0x2b977c[_0x4e77ed(0x223)][_0x4e77ed(0x26d)](_0x4ef3b1),_0x2b977c;});}}function _0x49c0(){const _0x544c0f=['usageLimit','reset','AIAssistant','hideUI','show','addMany','tableOfContents','ai.assistant.contentAreaCssClass','wasMoved','groupId','text/html','requires','errorView','focus','change:isError','aiLicenseKeyInvalid','announce','_populateMenuBarMenu','INSERT','REPLACE','get','queryView','schema','enabledCommandsIds','includes','2QHptgt','view','domainLimit','delegate','getSelectedElement','fire','source','4124848YktGBa','AI\x20Assistant','_forceMarkersCopy','body','change:isProcessing','ai.assistant.useTheme','define','polite','render','<p>','_onExecute','_uiCssClasses','_licenseKeyCheckInterval','aiLicenseKeyNotAllowed','add','hide','isFlat','buttonView','update','hideFakeVisualSelection','_createAIAssistantUIButton','items','locale','_getResolvedCommandsDefinitions','updatePosition','contentArea','values','licenseKey','componentFactory','aiLicenseKeyExpired','media','_commandDefinitions','comment','custom','plugins','showAIAssistant','18521307YHqtMS','once','change:value','aiLicenseKeyValid','1717328CvIJPg','_getMenuBarGroupButtons','showUI','model','_dialog','insertContentBelow','document','showFakeVisualSelection','aiLicenseKeyTrialLimit','trialLimit','getData','AIAssistantUI','command:','aiLicenseKeyEvaluationLimit','push','editor','aiAssistant','pluginName','config','selection','requiresContent','prompt','textAdapter','4285810cDNLNW','menuView','636809ygBriy','_showLicenseError','aiLicenseKeyDomainLimit','isCollapsed','updateView','getLimitElement','invalid','menuBar:aiCommands','set','order','DataTransfer','Generated\x20content:\x20%0','init','label','map','buttons','panelView','ai.assistant.disabledElements','isPremiumPlugin','splice','text','currentContext','destroy','forEach','\x20ck-ai-assistant-ui_theme','evaluationLimit','copy','isOfficialPlugin','getRanges','7366542bbmPgV','change:enabledCommandsIds','featureNotAllowed','ai-commands-config-order-collision','AI\x20Commands','AI\x20is\x20writing','from','ck-ai-commands-dropdown\x20','isEnabled','commands','aiCommands','setSelection','promptView','8LuGipe','length','insertContent','2555034RLevQl','editing','isOn','expired','EDITOR_TOP_SIDE','children','</p>','bind','getSelectedBlocks','_formView','_aiAdapter','change','ck-ai-assistant-ui','replace','filter','_initView','_initAriaAiStatusChangeAnnouncements','listenTo','execute','fieldView','ck-ai-assistant-button\x20','rawHtml','ai.assistant.commands','replaceContent','groupLabel','aiLicenseKeyUsageLimit','menuitemcheckbox','menuPanelClass','menuBar:aiAssistant','trim','_aiAssistantController','sort','Error\x20during\x20AI\x20content\x20generation:\x20%0'];_0x49c0=function(){return _0x544c0f;};return _0x49c0();}function li(_0x2fdaa8,_0x6293b5){const _0x250664=_0x51d2d3;return void 0x0!==_0x2fdaa8[_0x250664(0x1fa)]&&void 0x0===_0x6293b5[_0x250664(0x1fa)]?0x1:void 0x0===_0x2fdaa8[_0x250664(0x1fa)]&&void 0x0!==_0x6293b5[_0x250664(0x1fa)]?-0x1:void 0x0!==_0x2fdaa8[_0x250664(0x1fa)]&&void 0x0!==_0x6293b5[_0x250664(0x1fa)]?_0x2fdaa8[_0x250664(0x1fa)]-_0x6293b5[_0x250664(0x1fa)]:0x0;}function hi(_0x1f374d,_0xe1b4aa){const _0x313945=_0x51d2d3;_0xe1b4aa[_0x313945(0x23d)](li);const _0x24b463={},_0x177b32=[];for(const _0x20c7b5 of _0xe1b4aa)if(void 0x0!==_0x20c7b5[_0x313945(0x1fa)]){if(_0x20c7b5[_0x313945(0x1fa)]in _0x24b463)throw new _0x12a425(_0x313945(0x211),_0x1f374d,{'conflictingDefinitions':[_0x20c7b5,_0x24b463[_0x20c7b5[_0x313945(0x1fa)]]]});_0x24b463[_0x20c7b5[_0x313945(0x1fa)]]=_0x20c7b5,_0x177b32[_0x313945(0x204)](_0x20c7b5[_0x313945(0x1fa)],0x0,_0x20c7b5);}else _0x177b32[_0x313945(0x1e6)](_0x20c7b5);return _0x177b32;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x27fae4,_0x507b28){var _0x3a82c7=_0xe690,_0x35f20f=_0x27fae4();while(!![]){try{var _0x2c620c=parseInt(_0x3a82c7(0xb1))/0x1+parseInt(_0x3a82c7(0xb5))/0x2*(-parseInt(_0x3a82c7(0xac))/0x3)+parseInt(_0x3a82c7(0xb4))/0x4*(-parseInt(_0x3a82c7(0xb0))/0x5)+-parseInt(_0x3a82c7(0xb3))/0x6+-parseInt(_0x3a82c7(0xaf))/0x7*(parseInt(_0x3a82c7(0xab))/0x8)+-parseInt(_0x3a82c7(0xad))/0x9*(-parseInt(_0x3a82c7(0xae))/0xa)+-parseInt(_0x3a82c7(0xb2))/0xb*(-parseInt(_0x3a82c7(0xb6))/0xc);if(_0x2c620c===_0x507b28)break;else _0x35f20f['push'](_0x35f20f['shift']());}catch(_0x4a948b){_0x35f20f['push'](_0x35f20f['shift']());}}}(_0x414b,0x48d74));function _0xe690(_0x18ad2d,_0x1a2c1d){var _0x414b33=_0x414b();return _0xe690=function(_0xe6906e,_0x1c03de){_0xe6906e=_0xe6906e-0xab;var _0x2803ae=_0x414b33[_0xe6906e];return _0x2803ae;},_0xe690(_0x18ad2d,_0x1a2c1d);}function _0x414b(){var _0x556d08=['52GcwClE','163682pAEGub','24uwQgsO','24nwSYmg','9GANIHM','69642QzFRWI','500vAFFlE','1262527VVZure','2335VzZfUn','382824AXdrKu','3947515sPbYAq','2378526YBiRAS'];_0x414b=function(){return _0x556d08;};return _0x414b();}import{CKEditorError as _0x3e9e61}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x213e(_0x1fa4fa,_0xc14ab1){const _0xfd03bd=_0xfd03();return _0x213e=function(_0x213e58,_0x189a2f){_0x213e58=_0x213e58-0x92;let _0xda659f=_0xfd03bd[_0x213e58];return _0xda659f;},_0x213e(_0x1fa4fa,_0xc14ab1);}function _0xfd03(){const _0x4cb324=['_handleQuery','htmlProcessor','match','12kRCLoQ','76090EARmOH','once','tryAgainEvent','nodeType','_stripMarkdownSyntax','markers','ai.assistant.preserveComments','then','get','_domParser','_normalizeResponseHeadings','1802550MsHdNX','stopProcessing','editor','<h1></h1>','createElement','toView','previousLabel','updateView','setContentOf','div','length','clear','finally','reverse','remove','ELEMENT_NODE','4717152ISHkKz','_xmlSerializer','parseFromString','previousActionId','value','stringify','initialContext','previousQuery','data','makeRequest','abort','682maCpbq','606399mChliM','6eHXpZv','set:currentContext','startsWith','render','submitPrompt','name','prompt','querySelector','_sanitizationContainer','catch','```','exec','listenTo','isProcessing','stopListening','body','innerHTML','document','2EqlvRY','reset','substring','_parseAndNormalizeContent','editing','1525286OIMCAT','childNodes','258568gtDYpn','processor','isRendered','currentContext','push','set','rename','_isH1TagSupportEnabled','viewToDom','textAdapter','mainAction','config','message','8svnPpB','toModel','finishProcessing','element','startProcessing','```html','custom','6167223lazQqi','from','destroy','serializeToString','currentResponse','handleError','text/html','endsWith','trim','view','domConverter','previousContext','_sanitizeHTML'];_0xfd03=function(){return _0x4cb324;};return _0xfd03();}const _0x560284=_0x213e;(function(_0x2e5880,_0x19866a){const _0x50df19=_0x213e,_0x588bdb=_0x2e5880();while(!![]){try{const _0x5de484=-parseInt(_0x50df19(0xb2))/0x1*(parseInt(_0x50df19(0xab))/0x2)+parseInt(_0x50df19(0x98))/0x3*(parseInt(_0x50df19(0xd6))/0x4)+-parseInt(_0x50df19(0xe2))/0x5+-parseInt(_0x50df19(0x99))/0x6*(parseInt(_0x50df19(0xb0))/0x7)+-parseInt(_0x50df19(0xbf))/0x8*(-parseInt(_0x50df19(0xc6))/0x9)+parseInt(_0x50df19(0xd7))/0xa*(parseInt(_0x50df19(0x97))/0xb)+-parseInt(_0x50df19(0xf2))/0xc;if(_0x5de484===_0x19866a)break;else _0x588bdb['push'](_0x588bdb['shift']());}catch(_0x477a5f){_0x588bdb['push'](_0x588bdb['shift']());}}}(_0xfd03,0x82354));import{ObservableMixin as _0x5e932b}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3f7c34}from'../adapters/aiadapter.js';import{Matcher as _0x3c5cbc,ViewUpcastWriter as _0x2d109c}from'ckeditor5/src/engine.js';const as=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5e932b(){[_0x560284(0xe4)];[_0x560284(0xbb)];[_0x560284(0xcf)];[_0x560284(0xa1)];[_0x560284(0xe0)];[_0x560284(0xf3)];constructor(_0x1127fc,_0x55ccf0,_0x29ace2){const _0x59993c=_0x560284;super(),this[_0x59993c(0xe4)]=_0x1127fc,this[_0x59993c(0xbb)]=_0x55ccf0,this[_0x59993c(0xa1)]=document[_0x59993c(0xe6)](_0x59993c(0xeb)),this[_0x59993c(0xe0)]=new DOMParser(),this[_0x59993c(0xf3)]=new XMLSerializer(),this[_0x59993c(0xcf)]=_0x29ace2,this[_0x59993c(0xb7)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x59993c(0x9a),(_0x166cb4,_0x3de77a,_0xc8263f)=>{const _0xc0f68a=_0x59993c;this[_0xc0f68a(0xcf)][_0xc0f68a(0xf6)]=this[_0xc0f68a(0xd2)](_0xc8263f);}),this[_0x59993c(0xa5)](this[_0x59993c(0xcf)],_0x59993c(0x9d),(_0x109227,_0x2d008f)=>{const _0x92fcf2=_0x59993c,_0xa3c96a=this[_0x92fcf2(0xb5)]||this[_0x92fcf2(0x92)];this[_0x92fcf2(0xd3)](_0x2d008f,_0xa3c96a,_0x92fcf2(0xc5));}),this[_0x59993c(0xa5)](this[_0x59993c(0xcf)],_0x59993c(0xd9),()=>{const _0x21700b=_0x59993c;this[_0x21700b(0xcf)][_0x21700b(0x9f)]=this[_0x21700b(0xe8)],this[_0x21700b(0xd3)](this[_0x21700b(0x93)],this[_0x21700b(0xd1)],this[_0x21700b(0xf5)],this[_0x21700b(0xe8)]);}),this[_0x59993c(0xa5)](this[_0x59993c(0xcf)],_0x59993c(0xe3),()=>{const _0x3bf3df=_0x59993c;this[_0x3bf3df(0xe3)]();});}[_0x560284(0xc8)](){const _0x32ea3a=_0x560284;this[_0x32ea3a(0xa7)]();}async[_0x560284(0xe9)]({actionId:_0x5c5b53,query:_0x2f7ba9,htmlContent:_0x3328f3,label:_0x1c1b5f,mainActionLabel:_0x597dc4}){const _0x5720db=_0x560284;this[_0x5720db(0xcf)][_0x5720db(0x9f)]=_0x1c1b5f,this[_0x5720db(0xcf)][_0x5720db(0xbc)]=_0x597dc4,this[_0x5720db(0x92)]=_0x3328f3,_0x2f7ba9&&(this[_0x5720db(0xcf)][_0x5720db(0xb4)]?this[_0x5720db(0xd3)](_0x2f7ba9,_0x3328f3,_0x5c5b53,_0x1c1b5f):this[_0x5720db(0xcf)][_0x5720db(0xd8)](_0x5720db(0x9c),()=>{const _0x3c0520=_0x5720db;this[_0x3c0520(0xd3)](_0x2f7ba9,_0x3328f3,_0x5c5b53,_0x1c1b5f);}));}[_0x560284(0xe3)](){const _0x5f3e81=_0x560284;this[_0x5f3e81(0xa6)]&&(this[_0x5f3e81(0xa6)]=!0x1,this[_0x5f3e81(0xcf)][_0x5f3e81(0xc1)](),this[_0x5f3e81(0xbb)][_0x5f3e81(0x96)]());}[_0x560284(0xac)](){const _0x5e9d17=_0x560284;this[_0x5e9d17(0x92)]='',this[_0x5e9d17(0xb5)]='',this[_0x5e9d17(0xca)]='',this[_0x5e9d17(0xd1)]='',this[_0x5e9d17(0x93)]='',this[_0x5e9d17(0xe8)]='',this[_0x5e9d17(0xf5)]=void 0x0,this[_0x5e9d17(0xcf)][_0x5e9d17(0xac)](),this[_0x5e9d17(0xe3)]();}async[_0x560284(0xd3)](_0x409e85,_0x5adfbc,_0x5f31ed,_0x3d8d8b){const _0x50efb1=_0x560284;return this[_0x50efb1(0xa6)]=!0x0,this[_0x50efb1(0xcf)][_0x50efb1(0xc3)](),this[_0x50efb1(0xd1)]=_0x5adfbc,this[_0x50efb1(0x93)]=_0x409e85,this[_0x50efb1(0xe8)]=_0x3d8d8b||_0x409e85,this[_0x50efb1(0xf5)]=_0x5f31ed,new Promise(_0x17fc71=>{const _0x483fb5=_0x50efb1;this[_0x483fb5(0xbb)][_0x483fb5(0x95)]({'query':_0x409e85,'context':_0x5adfbc,'onData':_0x329ee8=>{const _0x508307=_0x483fb5;this[_0x508307(0xca)]=_0x329ee8,this[_0x508307(0xb5)]=this[_0x508307(0xae)](this[_0x508307(0xca)]);},'actionId':_0x5f31ed})[_0x483fb5(0xde)](()=>{const _0x45a0e8=_0x483fb5;!this[_0x45a0e8(0xb5)]&&this[_0x45a0e8(0xca)]&&(this[_0x45a0e8(0xb5)]=this[_0x45a0e8(0xae)](this[_0x45a0e8(0xca)],!0x0));})[_0x483fb5(0xa2)](_0xe9f57c=>{const _0x5e6af6=_0x483fb5;_0xe9f57c instanceof _0x3f7c34?this[_0x5e6af6(0xcf)][_0x5e6af6(0xcb)](_0xe9f57c[_0x5e6af6(0xbe)]):this[_0x5e6af6(0xcf)][_0x5e6af6(0xcb)](),_0x17fc71();})[_0x483fb5(0xee)](()=>{const _0x21697a=_0x483fb5;this[_0x21697a(0xe3)](),_0x17fc71();});});}[_0x560284(0xae)](_0x1d2e15,_0x33c79f=!0x1){const _0x68c8e9=_0x560284,_0x23d048=as[_0x68c8e9(0xa4)](_0x1d2e15);_0x1d2e15=_0x23d048?_0x1d2e15[_0x68c8e9(0xad)](_0x23d048[0x1][_0x68c8e9(0xec)]):_0x1d2e15[_0x68c8e9(0xec)]<0x64&&!_0x33c79f?'':this[_0x68c8e9(0xdb)](_0x1d2e15);const _0x26f0bb=this[_0x68c8e9(0xe0)][_0x68c8e9(0xf4)](_0x1d2e15,_0x68c8e9(0xcc));if(_0x23d048){const _0x3f5f47=Array[_0x68c8e9(0xc7)](_0x26f0bb[_0x68c8e9(0xa8)][_0x68c8e9(0xb1)]);_0x3f5f47[_0x68c8e9(0xef)]();for(const _0x74cb1a of _0x3f5f47){if(_0x74cb1a[_0x68c8e9(0xda)]==Node[_0x68c8e9(0xf1)])break;_0x74cb1a[_0x68c8e9(0xf0)]();}}const _0x36e63a=this[_0x68c8e9(0xe4)][_0x68c8e9(0x94)][_0x68c8e9(0xb3)][_0x68c8e9(0xe7)](this[_0x68c8e9(0xf3)][_0x68c8e9(0xc9)](_0x26f0bb[_0x68c8e9(0xa8)]));this[_0x68c8e9(0xb9)]()||this[_0x68c8e9(0xe1)](_0x36e63a);const _0x4050e1=this[_0x68c8e9(0xe4)][_0x68c8e9(0xbd)][_0x68c8e9(0xdf)](_0x68c8e9(0xdd)),_0x3cc328=this[_0x68c8e9(0xe4)][_0x68c8e9(0x94)][_0x68c8e9(0xc0)](_0x36e63a);return _0x4050e1||_0x3cc328[_0x68c8e9(0xdc)][_0x68c8e9(0xed)](),this[_0x68c8e9(0xe4)][_0x68c8e9(0x94)][_0x68c8e9(0xf7)](_0x3cc328);}[_0x560284(0xe1)](_0x409220){const _0x4a98ce=_0x560284,_0x5db304=new _0x2d109c(this[_0x4a98ce(0xe4)][_0x4a98ce(0xaf)][_0x4a98ce(0xcf)][_0x4a98ce(0xaa)]),_0x5a0a3e=new _0x3c5cbc({'name':/^h[1-5]$/}),_0x395baa=[];let _0xdd8fe1=!0x1;for(const _0x442a71 of _0x409220)_0x442a71['is'](_0x4a98ce(0xc2))&&_0x5a0a3e[_0x4a98ce(0xd5)](_0x442a71)&&(_0x395baa[_0x4a98ce(0xb6)](_0x442a71),'h1'==_0x442a71[_0x4a98ce(0x9e)]&&(_0xdd8fe1=!0x0));if(_0xdd8fe1){for(const _0x549ab7 of _0x395baa)_0x5db304[_0x4a98ce(0xb8)]('h'+(parseInt(_0x549ab7[_0x4a98ce(0x9e)][0x1])+0x1),_0x549ab7);}}[_0x560284(0xb9)](){const _0x312c6c=_0x560284,{data:_0x5739c1,editing:_0x1393c4}=this[_0x312c6c(0xe4)],_0x289df4=_0x5739c1[_0x312c6c(0xd4)][_0x312c6c(0xe7)](_0x312c6c(0xe5)),_0x1f8738=_0x5739c1[_0x312c6c(0xe7)](_0x5739c1[_0x312c6c(0xc0)](_0x289df4));return!!_0x1393c4[_0x312c6c(0xcf)][_0x312c6c(0xd0)][_0x312c6c(0xba)](_0x1f8738)[_0x312c6c(0xa0)]('h1');}[_0x560284(0xd2)](_0x773257){const _0x30487b=_0x560284;return this[_0x30487b(0xe4)][_0x30487b(0xaf)][_0x30487b(0xcf)][_0x30487b(0xd0)][_0x30487b(0xea)](this[_0x30487b(0xa1)],_0x773257),this[_0x30487b(0xa1)][_0x30487b(0xa9)];}[_0x560284(0xdb)](_0x4287ff){const _0x168eba=_0x560284,_0x249835=_0x4287ff[_0x168eba(0xce)]();return _0x249835[_0x168eba(0x9b)](_0x168eba(0xc4))?_0x249835[_0x168eba(0xcd)](_0x168eba(0xa3))?_0x249835[_0x168eba(0xad)](0x7,_0x249835[_0x168eba(0xec)]-0x3):_0x249835[_0x168eba(0xad)](0x7):_0x4287ff;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x404189=_0x2096;(function(_0xbeafb7,_0x46fdd6){const _0x198fb4=_0x2096,_0x5ab591=_0xbeafb7();while(!![]){try{const _0x28448b=parseInt(_0x198fb4(0x206))/0x1*(parseInt(_0x198fb4(0x210))/0x2)+-parseInt(_0x198fb4(0x1f4))/0x3+-parseInt(_0x198fb4(0x1ea))/0x4+-parseInt(_0x198fb4(0x219))/0x5*(-parseInt(_0x198fb4(0x20b))/0x6)+parseInt(_0x198fb4(0x226))/0x7+parseInt(_0x198fb4(0x1fa))/0x8+-parseInt(_0x198fb4(0x227))/0x9*(-parseInt(_0x198fb4(0x1e6))/0xa);if(_0x28448b===_0x46fdd6)break;else _0x5ab591['push'](_0x5ab591['shift']());}catch(_0x337889){_0x5ab591['push'](_0x5ab591['shift']());}}}(_0xec40,0xda3a6));function _0x2096(_0x397de4,_0x70f15d){const _0xec4066=_0xec40();return _0x2096=function(_0x209611,_0x522cfb){_0x209611=_0x209611-0x1d8;let _0x5de137=_0xec4066[_0x209611];return _0x5de137;},_0x2096(_0x397de4,_0x70f15d);}import{global as _0x220f2d}from'ckeditor5/src/utils.js';import{View as _0x5a03a9,ButtonView as _0x274147,SpinnerView as _0x47eb00}from'ckeditor5/src/ui.js';import{IconCheck as _0xc9cb56,IconCopy as _0x1bd478}from'ckeditor5/src/icons.js';function _0xec40(){const _0x46067a=['ck-reset_all-excluded','listenTo','style','div','setEndBefore','5080557eEnagO','clipboard','removeAllRanges','left','loaderView','<span>[</span>','3836504dhopYW','setTemplate','write','value','innerHTML','Copy','firstElementChild','getSelection','AI\x20is\x20writing...','ck-ai-form__copy-button','execute','ck-ai-form__loader','1AgYGdC','ck-ai-form__content-field','locale','element','ck-ai-form__copy-button-wrapper','124668GyvhhN','ck-hidden','appendChild','position','wheel','247454giZahH','lastElementChild','textContent','_createLoader','<span>]</span>','\x20ck-ai-form__copy-button--copied','bind','contentFieldView','icon','10fvdubl','.ck-ai-form__loader','absolute','createElement','change:value','scrollTo','text/html','ck-ai-form__content-area-wrapper','ClipboardItem','copyButtonView','setStartAfter','copy','body','10395448mVfBFP','9GVnchk','-9999px','render','_createCopyButton','appendLoader','_copyHTMLToClipboard','querySelector','execCommand','isEnabled','setContent','class','ck-ai-form__content-area','focus','createRange','addRange','set','change:isProcessing','mousedown','remove','smooth','10926130ScICNq','isProcessing','isVisible','bindTemplate','2540568PkvLVc','ck-ai-form__content-area--processing','ck-content','scrollHeight','text/plain'];_0xec40=function(){return _0x46067a;};return _0xec40();}import{getTranslation as _0x3c32d3}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x5a03a9{[_0x404189(0x217)];[_0x404189(0x222)];constructor(_0x4a91dd,_0x141ea1=''){const _0x17160e=_0x404189;super(_0x4a91dd),this[_0x17160e(0x1e1)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x570f23=this[_0x17160e(0x1e9)];this[_0x17160e(0x217)]=new ContentFieldView(_0x4a91dd,_0x141ea1),this[_0x17160e(0x222)]=this[_0x17160e(0x22a)](),this[_0x17160e(0x1fb)]({'tag':_0x17160e(0x1f2),'attributes':{'class':['ck',_0x17160e(0x220),_0x570f23['if'](_0x17160e(0x1e8),_0x17160e(0x20c),_0x372ad6=>!_0x372ad6)],'tabindex':'-1'},'children':[{'tag':_0x17160e(0x1f2),'attributes':{'class':['ck',_0x17160e(0x1dd),_0x570f23['if'](_0x17160e(0x1e7),_0x17160e(0x1eb))]},'children':[this[_0x17160e(0x217)],{'tag':_0x17160e(0x1f2),'attributes':{'class':['ck',_0x17160e(0x20a)]},'children':[this[_0x17160e(0x222)]]}]}]});}[_0x404189(0x229)](){const _0x4b70d5=_0x404189;super[_0x4b70d5(0x229)](),this[_0x4b70d5(0x1fd)]&&this[_0x4b70d5(0x217)][_0x4b70d5(0x1db)](this[_0x4b70d5(0x1fd)]);let _0xb61768=!0x1;this['on'](_0x4b70d5(0x21d),(_0x4f7ef5,_0x7503ef,_0x48081a)=>{const _0x23a05a=_0x4b70d5,_0x3f1567=!this[_0x23a05a(0x217)][_0x23a05a(0x209)][_0x23a05a(0x1d8)](_0x23a05a(0x21a));this[_0x23a05a(0x217)][_0x23a05a(0x1db)](_0x48081a),this[_0x23a05a(0x1e7)]&&_0x3f1567&&!_0xb61768&&this[_0x23a05a(0x209)][_0x23a05a(0x21e)]({'top':this[_0x23a05a(0x209)][_0x23a05a(0x1ed)],'behavior':_0x23a05a(0x1e5)});}),this['on'](_0x4b70d5(0x1e2),(_0x544491,_0x5996bd,_0x29228c)=>{const _0x10c0f0=_0x4b70d5;_0xb61768=!0x1,_0x29228c?(this[_0x10c0f0(0x1fd)]=null,this[_0x10c0f0(0x217)][_0x10c0f0(0x22b)]()):this[_0x10c0f0(0x1fd)]||this[_0x10c0f0(0x217)][_0x10c0f0(0x1db)]('');}),this[_0x4b70d5(0x1f0)](this[_0x4b70d5(0x209)],_0x4b70d5(0x20f),()=>{_0xb61768=!0x0;}),this[_0x4b70d5(0x1f0)](this[_0x4b70d5(0x209)],_0x4b70d5(0x1e3),()=>{_0xb61768=!0x0;});}[_0x404189(0x1de)](){const _0x1d57e9=_0x404189;this[_0x1d57e9(0x209)][_0x1d57e9(0x1de)]();}[_0x404189(0x22a)](){const _0x3e6535=_0x404189,_0x1e1abf=this[_0x3e6535(0x208)],_0x5415ae=new _0x274147(this[_0x3e6535(0x208)]),_0x2e2457=_0x3e6535(0x203);return _0x5415ae[_0x3e6535(0x1e1)]({'label':_0x3c32d3(_0x1e1abf,_0x3e6535(0x1ff)),'icon':_0x1bd478,'class':_0x2e2457,'tooltip':!0x0}),_0x5415ae[_0x3e6535(0x216)](_0x3e6535(0x1e8))['to'](this,_0x3e6535(0x1fd),_0x5ebe2b=>!!_0x5ebe2b),_0x5415ae[_0x3e6535(0x216)](_0x3e6535(0x1da))['to'](this,_0x3e6535(0x1e7),_0x25c8ed=>!_0x25c8ed),_0x5415ae['on'](_0x3e6535(0x204),()=>{const _0x389809=_0x3e6535;this[_0x389809(0x22c)](this[_0x389809(0x217)][_0x389809(0x209)]),_0x5415ae[_0x389809(0x218)]=_0xc9cb56,_0x5415ae[_0x389809(0x1dc)]=_0x2e2457+_0x389809(0x215),this[_0x389809(0x1de)](),setTimeout(()=>{const _0x1f9852=_0x389809;_0x5415ae[_0x1f9852(0x218)]=_0x1bd478,_0x5415ae[_0x1f9852(0x1dc)]=_0x2e2457;},0x3e8);}),_0x5415ae;}[_0x404189(0x22c)](_0x1fcdf0){const _0x13f254=_0x404189,{window:_0x43b154,document:_0x4871e5}=_0x220f2d;if(_0x43b154[_0x13f254(0x221)]){const {Blob:_0x24b2dd,ClipboardItem:_0x2bf46a}=_0x43b154,_0x1d75e3=[new _0x2bf46a({'text/html':new _0x24b2dd([_0x1fcdf0[_0x13f254(0x1fe)]],{'type':_0x13f254(0x21f)}),'text/plain':new _0x24b2dd([_0x1fcdf0[_0x13f254(0x212)]||''],{'type':_0x13f254(0x1ee)})})];navigator[_0x13f254(0x1f5)][_0x13f254(0x1fc)](_0x1d75e3);}else{const _0x545d74=_0x4871e5[_0x13f254(0x21c)](_0x13f254(0x1f2));_0x545d74[_0x13f254(0x1f1)][_0x13f254(0x20e)]=_0x13f254(0x21b),_0x545d74[_0x13f254(0x1f1)][_0x13f254(0x1f7)]=_0x13f254(0x228),_0x545d74[_0x13f254(0x1fe)]=_0x13f254(0x1f9)+_0x1fcdf0[_0x13f254(0x1fe)]+_0x13f254(0x214),_0x4871e5[_0x13f254(0x225)][_0x13f254(0x20d)](_0x545d74);const _0x1c9072=_0x4871e5[_0x13f254(0x1df)]();_0x1c9072[_0x13f254(0x223)](_0x545d74[_0x13f254(0x200)]),_0x1c9072[_0x13f254(0x1f3)](_0x545d74[_0x13f254(0x211)]);const _0xf52ff5=_0x43b154[_0x13f254(0x201)]();_0xf52ff5[_0x13f254(0x1f6)](),_0xf52ff5[_0x13f254(0x1e0)](_0x1c9072),_0x4871e5[_0x13f254(0x1d9)](_0x13f254(0x224)),_0x545d74[_0x13f254(0x1e4)]();}}}export class ContentFieldView extends _0x5a03a9{constructor(_0x446a69,_0xf39283=''){const _0x3cbb0f=_0x404189;super(_0x446a69),this[_0x3cbb0f(0x1f8)]=this[_0x3cbb0f(0x213)](),this[_0x3cbb0f(0x1fb)]({'tag':_0x3cbb0f(0x1f2),'attributes':{'class':['ck',_0x3cbb0f(0x1ec),_0xf39283,_0x3cbb0f(0x1ef),_0x3cbb0f(0x207)]}});}[_0x404189(0x1db)](_0x5581f9){const _0x47926a=_0x404189;this[_0x47926a(0x209)][_0x47926a(0x1fe)]=_0x5581f9;}[_0x404189(0x22b)](){const _0x5e468a=_0x404189;this[_0x5e468a(0x209)][_0x5e468a(0x20d)](this[_0x5e468a(0x1f8)][_0x5e468a(0x209)]);}[_0x404189(0x213)](){const _0x39334c=_0x404189,_0x1ff5fc=new _0x5a03a9(),_0x4ebb72=this[_0x39334c(0x208)],_0x4435dc=new _0x47eb00();return _0x4435dc[_0x39334c(0x1e8)]=!0x0,_0x1ff5fc[_0x39334c(0x1fb)]({'tag':_0x39334c(0x1f2),'attributes':{'class':['ck',_0x39334c(0x205)]},'children':[_0x4435dc,{'text':_0x3c32d3(_0x4ebb72,_0x39334c(0x202))}]}),_0x1ff5fc[_0x39334c(0x229)](),_0x1ff5fc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4e3f4b,_0x56a088){const _0x147de0=_0x2fda,_0x2c7180=_0x4e3f4b();while(!![]){try{const _0x273a34=parseInt(_0x147de0(0x190))/0x1*(parseInt(_0x147de0(0x186))/0x2)+-parseInt(_0x147de0(0x184))/0x3+parseInt(_0x147de0(0x18a))/0x4+parseInt(_0x147de0(0x185))/0x5+-parseInt(_0x147de0(0x187))/0x6+parseInt(_0x147de0(0x18d))/0x7*(parseInt(_0x147de0(0x182))/0x8)+parseInt(_0x147de0(0x18c))/0x9;if(_0x273a34===_0x56a088)break;else _0x2c7180['push'](_0x2c7180['shift']());}catch(_0x3783ce){_0x2c7180['push'](_0x2c7180['shift']());}}}(_0x4cde,0x83ae3));function _0x4cde(){const _0x5e221d=['text','setTemplate','2864312TvCSAw','content','1152567SLbkkZ','7EgDHMH','set','bindTemplate','5yMTPvD','div','599848wheXnc','ck-ai-form__error','2531694igUjDM','1754740PebNLp','199446MMchjF','2312544urHntk'];_0x4cde=function(){return _0x5e221d;};return _0x4cde();}import{IconError as _0x3bc57f}from'ckeditor5/src/icons.js';function _0x2fda(_0x150933,_0x3ea3eb){const _0x4cdeb0=_0x4cde();return _0x2fda=function(_0x2fda4d,_0x3609b9){_0x2fda4d=_0x2fda4d-0x182;let _0x535d4a=_0x4cdeb0[_0x2fda4d];return _0x535d4a;},_0x2fda(_0x150933,_0x3ea3eb);}import{View as _0x5e4d57,IconView as _0x320cf0}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x5e4d57{constructor(_0x4f31b8,_0x56617e=''){const _0x334021=_0x2fda;super(_0x4f31b8);const _0x51b211=new _0x320cf0(),_0x7690e4=this[_0x334021(0x18f)];this[_0x334021(0x18e)](_0x334021(0x188),_0x56617e),_0x51b211[_0x334021(0x18b)]=_0x3bc57f,this[_0x334021(0x189)]({'tag':_0x334021(0x191),'attributes':{'class':['ck',_0x334021(0x183)]},'children':[_0x51b211,{'text':_0x7690e4['to'](_0x334021(0x188))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2679a6=_0x4d25;(function(_0xab88b3,_0x3aac24){const _0x5072de=_0x4d25,_0x2bb5ee=_0xab88b3();while(!![]){try{const _0x4f6b01=parseInt(_0x5072de(0x1f0))/0x1+-parseInt(_0x5072de(0x1db))/0x2+-parseInt(_0x5072de(0x1cd))/0x3+parseInt(_0x5072de(0x1f8))/0x4+-parseInt(_0x5072de(0x1c9))/0x5+-parseInt(_0x5072de(0x1c5))/0x6*(parseInt(_0x5072de(0x1c3))/0x7)+parseInt(_0x5072de(0x1ee))/0x8*(parseInt(_0x5072de(0x1c8))/0x9);if(_0x4f6b01===_0x3aac24)break;else _0x2bb5ee['push'](_0x2bb5ee['shift']());}catch(_0x30bb10){_0x2bb5ee['push'](_0x2bb5ee['shift']());}}}(_0x5b0b,0xce42f));import{Rect as _0xa5e096,global as _0x29197a,isVisible as _0xcf579f}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1612e7,IconSubmit as _0x4a34b6}from'ckeditor5/src/icons.js';import{AutocompleteView as _0xf9fac4,ButtonView as _0x274f00}from'ckeditor5/src/ui.js';function _0x5b0b(){const _0x47eb51=['showHistoryButtonView','render','isEmpty','filteredView','execute','fieldView','558584nrWKib','excludeScrollbarsAndBorders','Submit','locale','window','rtl','keystrokes','set','isVisible','element','focusCycler','fieldWrapperChildren','right','focusableChildren','focus','minRows','focusFirst','add','ck-ai-form__submit','484256HuKyxB','submit','1618707IEMQKN','update','left','History','uiLanguageDirection','isOn','resultsView','fire','2798836MWYDMp','requestAnimationFrame','width','value','7aYvGNl','queryView','1489854XtZzvZ','bind','children','333CrokQe','7936085cpQjbl','submitButtonView','maxRows','_createSubmitButton','4795305qkzqRp','target','enter','isEnabled','ck-ai-form__toggle-history','_createShowHistoryButton','style','focusLast'];_0x5b0b=function(){return _0x47eb51;};return _0x5b0b();}import{getTranslation as _0x25d725}from'../../utils/common-translations.js';function _0x4d25(_0x22db0b,_0x3f69f5){const _0x5b0b1e=_0x5b0b();return _0x4d25=function(_0x4d25b3,_0x1182e2){_0x4d25b3=_0x4d25b3-0x1c2;let _0x1c55c6=_0x5b0b1e[_0x4d25b3];return _0x1c55c6;},_0x4d25(_0x22db0b,_0x3f69f5);}export class AIFormPromptView extends _0xf9fac4{[_0x2679a6(0x1ca)];[_0x2679a6(0x1d5)];constructor(_0x3ae22b,_0x23f0c3){const _0x43a0a3=_0x2679a6;super(_0x3ae22b,_0x23f0c3),this[_0x43a0a3(0x1c4)][_0x43a0a3(0x1da)][_0x43a0a3(0x1ea)]=0x1,this[_0x43a0a3(0x1c4)][_0x43a0a3(0x1da)][_0x43a0a3(0x1cb)]=0x3,this[_0x43a0a3(0x1ca)]=this[_0x43a0a3(0x1cc)](),this[_0x43a0a3(0x1d5)]=this[_0x43a0a3(0x1d2)](),this[_0x43a0a3(0x1e8)][_0x43a0a3(0x1ec)](this[_0x43a0a3(0x1d5)],0x1),this[_0x43a0a3(0x1e8)][_0x43a0a3(0x1ec)](this[_0x43a0a3(0x1ca)]);}[_0x2679a6(0x1d6)](){const _0x1da47a=_0x2679a6;super[_0x1da47a(0x1d6)](),this[_0x1da47a(0x1c4)][_0x1da47a(0x1e6)][_0x1da47a(0x1ec)](this[_0x1da47a(0x1d5)]),this[_0x1da47a(0x1c7)][_0x1da47a(0x1ec)](this[_0x1da47a(0x1ca)]),this[_0x1da47a(0x1e1)][_0x1da47a(0x1e2)](_0x1da47a(0x1cf),(_0x1667cb,_0x5c35c7)=>{const _0x2cb862=_0x1da47a;_0x1667cb[_0x2cb862(0x1ce)]==this[_0x2cb862(0x1c4)][_0x2cb862(0x1da)][_0x2cb862(0x1e4)]&&(this[_0x2cb862(0x1ef)](),_0x5c35c7());});}[_0x2679a6(0x1cc)](){const _0x3ff942=_0x2679a6,_0x9f82ed=new _0x274f00(this[_0x3ff942(0x1de)]),_0x5b02d9=this[_0x3ff942(0x1de)];return _0x9f82ed[_0x3ff942(0x1e2)]({'icon':_0x4a34b6,'label':_0x25d725(_0x5b02d9,_0x3ff942(0x1dd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3ff942(0x1ed)}),_0x9f82ed['on'](_0x3ff942(0x1d9),()=>{const _0x37b128=_0x3ff942;this[_0x37b128(0x1ef)]();}),_0x9f82ed[_0x3ff942(0x1c6)](_0x3ff942(0x1d0))['to'](this[_0x3ff942(0x1c4)][_0x3ff942(0x1da)],_0x3ff942(0x1d7),this,_0x3ff942(0x1d0),(_0x2d6033,_0x26026b)=>!_0x2d6033&&_0x26026b),_0x9f82ed;}[_0x2679a6(0x1d2)](){const _0x3535fb=_0x2679a6,_0x59bf73=new _0x274f00(this[_0x3535fb(0x1de)]),_0x15b65f=this[_0x3535fb(0x1f6)],_0x158ee3=this[_0x3535fb(0x1de)];_0x59bf73[_0x3535fb(0x1e2)]({'label':_0x25d725(_0x158ee3,_0x3535fb(0x1f3)),'withText':!0x1,'icon':_0x1612e7,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3535fb(0x1d1)}),_0x59bf73[_0x3535fb(0x1c6)](_0x3535fb(0x1f5))['to'](_0x15b65f,_0x3535fb(0x1e3)),_0x59bf73[_0x3535fb(0x1c6)](_0x3535fb(0x1d0))['to'](this,_0x3535fb(0x1d0)),_0x59bf73['on'](_0x3535fb(0x1d9),()=>{const _0x2ab61b=_0x3535fb;_0x15b65f[_0x2ab61b(0x1e3)]=!_0x15b65f[_0x2ab61b(0x1e3)],_0x15b65f[_0x2ab61b(0x1e3)]?this[_0x2ab61b(0x1d8)][_0x2ab61b(0x1e9)]():this[_0x2ab61b(0x1e9)]();});const _0x3a5b11=()=>{const _0x924aac=_0x3535fb;_0x29197a[_0x924aac(0x1df)][_0x924aac(0x1f9)](()=>{const _0x56b5d8=_0x924aac;if(_0xcf579f(this[_0x56b5d8(0x1e4)])){const _0x125638=new _0xa5e096(this[_0x56b5d8(0x1c4)][_0x56b5d8(0x1da)][_0x56b5d8(0x1e4)]),_0x12d38b=_0x125638[_0x56b5d8(0x1fa)],_0x112f5f=_0x56b5d8(0x1e0)===_0x158ee3[_0x56b5d8(0x1f4)]?_0x56b5d8(0x1f2):_0x56b5d8(0x1e7);_0x125638[_0x56b5d8(0x1dc)](),_0x59bf73[_0x56b5d8(0x1e4)][_0x56b5d8(0x1d3)][_0x112f5f]=_0x12d38b-_0x125638[_0x56b5d8(0x1fa)]+0x1+'px';}});};return this[_0x3535fb(0x1c4)][_0x3535fb(0x1da)]['on'](_0x3535fb(0x1f1),_0x3a5b11),this['on'](_0x3535fb(0x1d6),_0x3a5b11),_0x59bf73;}[_0x2679a6(0x1ef)](){const _0x3481c4=_0x2679a6,_0x11b03c=this[_0x3481c4(0x1c4)][_0x3481c4(0x1da)][_0x3481c4(0x1e4)][_0x3481c4(0x1c2)];this[_0x3481c4(0x1f7)](_0x3481c4(0x1ef),_0x11b03c);}[_0x2679a6(0x1e9)](_0x921da1){const _0x1261dc=_0x2679a6;-0x1===_0x921da1?this[_0x1261dc(0x1e5)][_0x1261dc(0x1d4)]():this[_0x1261dc(0x1e5)][_0x1261dc(0x1eb)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1e65(){const _0x15654a=['3209129AcFzMn','3093464uEelBo','3jNmVRX','14880Itikrk','locale','mainAction','insertButton','addMany','toUpperCase','tryAgainButton','bind','_createButton','stopButton','items','49830VyPyXH','ck-ai-form__toolbar','915QWvynn','41592CINheE','bindTemplate','ck-button-action','REPLACE','_CONTENT','set','Stop','ck-hidden','13532XdwUdh','1280710OoYUsj','extendTemplate','isVisible','replaceButton','insert','replace','Insert\x20below','Try\x20again','label','AI_','9RZHFjy'];_0x1e65=function(){return _0x15654a;};return _0x1e65();}const _0x328c40=_0x8f7e;(function(_0x1973b6,_0x2cf3db){const _0x21f866=_0x8f7e,_0x53349c=_0x1973b6();while(!![]){try{const _0x2dd473=-parseInt(_0x21f866(0x14b))/0x1+-parseInt(_0x21f866(0x14e))/0x2+-parseInt(_0x21f866(0x13f))/0x3*(-parseInt(_0x21f866(0x156))/0x4)+-parseInt(_0x21f866(0x14d))/0x5*(-parseInt(_0x21f866(0x140))/0x6)+parseInt(_0x21f866(0x13d))/0x7+-parseInt(_0x21f866(0x13e))/0x8+parseInt(_0x21f866(0x13c))/0x9*(-parseInt(_0x21f866(0x157))/0xa);if(_0x2dd473===_0x2cf3db)break;else _0x53349c['push'](_0x53349c['shift']());}catch(_0x101fec){_0x53349c['push'](_0x53349c['shift']());}}}(_0x1e65,0x50a32));import{ToolbarView as _0x59eb65,ButtonView as _0x9bb21f}from'ckeditor5/src/ui.js';import{getTranslation as _0x2c89fd}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x328c40(0x137),'INSERT':_0x328c40(0x136)};function _0x8f7e(_0x467211,_0x324ae4){const _0x1e65e8=_0x1e65();return _0x8f7e=function(_0x8f7e2d,_0x20aa6a){_0x8f7e2d=_0x8f7e2d-0x134;let _0x4f8f69=_0x1e65e8[_0x8f7e2d];return _0x4f8f69;},_0x8f7e(_0x467211,_0x324ae4);}export class AIFormToolbarView extends _0x59eb65{constructor(_0x69122c){const _0x64fab7=_0x328c40;super(_0x69122c),this[_0x64fab7(0x153)](_0x64fab7(0x134),!0x1),this[_0x64fab7(0x153)](_0x64fab7(0x142),AIFormToolbarViewMainActionLabel[_0x64fab7(0x151)]),this[_0x64fab7(0x135)]=this[_0x64fab7(0x148)]('',_0x64fab7(0x150)),this[_0x64fab7(0x135)][_0x64fab7(0x147)](_0x64fab7(0x13a))['to'](this,_0x64fab7(0x142),_0x50d7a5=>_0x2c89fd(_0x69122c,_0x64fab7(0x13b)+_0x50d7a5[_0x64fab7(0x145)]()+_0x64fab7(0x152))),this[_0x64fab7(0x143)]=this[_0x64fab7(0x148)](_0x2c89fd(_0x69122c,_0x64fab7(0x138))),this[_0x64fab7(0x146)]=this[_0x64fab7(0x148)](_0x2c89fd(_0x69122c,_0x64fab7(0x139))),this[_0x64fab7(0x149)]=this[_0x64fab7(0x148)](_0x2c89fd(_0x69122c,_0x64fab7(0x154)));const _0x595457=this[_0x64fab7(0x14f)];this[_0x64fab7(0x158)]({'attributes':{'class':[_0x64fab7(0x14c),_0x595457['if'](_0x64fab7(0x134),_0x64fab7(0x155),_0x1a4810=>!_0x1a4810)]}}),this[_0x64fab7(0x14a)][_0x64fab7(0x144)]([this[_0x64fab7(0x135)],this[_0x64fab7(0x143)],this[_0x64fab7(0x146)],this[_0x64fab7(0x149)]]);}[_0x328c40(0x148)](_0x384579,_0x4a1054){const _0x46b63b=_0x328c40,_0x28a88c=new _0x9bb21f(this[_0x46b63b(0x141)]);return _0x28a88c[_0x46b63b(0x153)]({'label':_0x384579,'class':_0x4a1054||'','isVisible':!0x0,'withText':!0x0}),_0x28a88c;}}
|