@ckeditor/ckeditor5-ai 47.2.0-alpha.7 → 47.3.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +16 -20
- 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 +285 -65
- package/dist/index.css +286 -68
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +10 -1
- package/lang/translations/af.po +36 -0
- package/lang/translations/ar.po +36 -0
- package/lang/translations/ast.po +36 -0
- package/lang/translations/az.po +36 -0
- package/lang/translations/be.po +36 -0
- package/lang/translations/bg.po +36 -0
- package/lang/translations/bn.po +36 -0
- package/lang/translations/bs.po +36 -0
- package/lang/translations/ca.po +36 -0
- package/lang/translations/cs.po +36 -0
- package/lang/translations/da.po +36 -0
- package/lang/translations/de-ch.po +36 -0
- package/lang/translations/de.po +36 -0
- package/lang/translations/el.po +36 -0
- package/lang/translations/en-au.po +36 -0
- package/lang/translations/en-gb.po +36 -0
- package/lang/translations/en.po +36 -0
- package/lang/translations/eo.po +36 -0
- package/lang/translations/es-co.po +36 -0
- package/lang/translations/es.po +36 -0
- package/lang/translations/et.po +36 -0
- package/lang/translations/eu.po +36 -0
- package/lang/translations/fa.po +36 -0
- package/lang/translations/fi.po +36 -0
- package/lang/translations/fr.po +36 -0
- package/lang/translations/gl.po +36 -0
- package/lang/translations/gu.po +36 -0
- package/lang/translations/he.po +36 -0
- package/lang/translations/hi.po +36 -0
- package/lang/translations/hr.po +36 -0
- package/lang/translations/hu.po +36 -0
- package/lang/translations/hy.po +36 -0
- package/lang/translations/id.po +36 -0
- package/lang/translations/it.po +36 -0
- package/lang/translations/ja.po +36 -0
- package/lang/translations/jv.po +36 -0
- package/lang/translations/kk.po +36 -0
- package/lang/translations/km.po +36 -0
- package/lang/translations/kn.po +36 -0
- package/lang/translations/ko.po +36 -0
- package/lang/translations/ku.po +36 -0
- package/lang/translations/lt.po +36 -0
- package/lang/translations/lv.po +36 -0
- package/lang/translations/ms.po +36 -0
- package/lang/translations/nb.po +36 -0
- package/lang/translations/ne.po +36 -0
- package/lang/translations/nl.po +36 -0
- package/lang/translations/no.po +36 -0
- package/lang/translations/oc.po +36 -0
- package/lang/translations/pl.po +36 -0
- package/lang/translations/pt-br.po +36 -0
- package/lang/translations/pt.po +36 -0
- package/lang/translations/ro.po +36 -0
- package/lang/translations/ru.po +36 -0
- package/lang/translations/si.po +36 -0
- package/lang/translations/sk.po +36 -0
- package/lang/translations/sl.po +36 -0
- package/lang/translations/sq.po +36 -0
- package/lang/translations/sr-latn.po +36 -0
- package/lang/translations/sr.po +36 -0
- package/lang/translations/sv.po +36 -0
- package/lang/translations/th.po +36 -0
- package/lang/translations/ti.po +36 -0
- package/lang/translations/tk.po +36 -0
- package/lang/translations/tr.po +36 -0
- package/lang/translations/tt.po +36 -0
- package/lang/translations/ug.po +36 -0
- package/lang/translations/uk.po +36 -0
- package/lang/translations/ur.po +36 -0
- package/lang/translations/uz.po +36 -0
- package/lang/translations/vi.po +36 -0
- package/lang/translations/zh-cn.po +36 -0
- package/lang/translations/zh.po +36 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.d.ts +8 -0
- 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 +12 -0
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +23 -0
- 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.d.ts +24 -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.d.ts +5 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +39 -6
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +6 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +30 -5
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +5 -0
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +23 -0
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +29 -0
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +23 -0
- 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 +16 -0
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +8 -2
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.d.ts +4 -0
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -0
- 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.d.ts +11 -2
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +24 -0
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +7 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.d.ts +8 -0
- package/src/errorsmap.js +23 -0
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +26 -0
- package/theme/aichat/aichat.css +1 -3
- package/theme/aichat/aichathistory.css +1 -1
- package/theme/aichat/aisuggestioncontainer.css +1 -1
- package/theme/aiquickactions/aiquickactions.css +139 -25
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +24 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +13 -0
- package/theme/aireviewmode/aireviewmode.css +33 -10
- package/theme/common/{aichaterror.css → ainotification.css} +17 -14
- package/theme/common/aitrackchanges.css +9 -0
- package/src/aichat/utils/scrollmanager.js +0 -23
- /package/src/{aichat → aicore}/utils/scrollmanager.d.ts +0 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44274a=_0x4d86;function _0x4d86(_0x1914fb,_0x1d728c){const _0x2d70d4=_0x2d70();return _0x4d86=function(_0x4d8687,_0x194014){_0x4d8687=_0x4d8687-0x151;let _0x3d7a03=_0x2d70d4[_0x4d8687];return _0x3d7a03;},_0x4d86(_0x1914fb,_0x1d728c);}(function(_0x20ba60,_0x41530a){const _0x53d5dc=_0x4d86,_0x5ace2b=_0x20ba60();while(!![]){try{const _0x55e906=parseInt(_0x53d5dc(0x1a2))/0x1*(-parseInt(_0x53d5dc(0x194))/0x2)+-parseInt(_0x53d5dc(0x188))/0x3*(parseInt(_0x53d5dc(0x1ad))/0x4)+-parseInt(_0x53d5dc(0x1a6))/0x5+-parseInt(_0x53d5dc(0x187))/0x6+parseInt(_0x53d5dc(0x156))/0x7+-parseInt(_0x53d5dc(0x16a))/0x8*(parseInt(_0x53d5dc(0x162))/0x9)+parseInt(_0x53d5dc(0x197))/0xa*(parseInt(_0x53d5dc(0x175))/0xb);if(_0x55e906===_0x41530a)break;else _0x5ace2b['push'](_0x5ace2b['shift']());}catch(_0x5e1489){_0x5ace2b['push'](_0x5ace2b['shift']());}}}(_0x2d70,0x40cf1));function _0x2d70(){const _0xa8072d=['simplifyLanguage','translateChinese','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Make\x20shorter','config','changeTone','Confident','summarize','580282cHiiiC','ai.assistant.preserveComments','improveWriting','19488610sNmwPc','Summarize','French','Translate\x20the\x20content\x20to\x20German\x20language.','Hindi','Continue','Friendly','translateHindi','Professional','makeShorter','Make\x20longer','1ZsWyCw','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','continue','Spanish','2609690XyVtkg','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Change\x20tone','legal','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','2076YBRqDX','forEach','poetic','friendly','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','get','Improve\x20writing','isPremiumPlugin','confident','makeLonger','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','locale','Translate\x20the\x20content\x20to\x20French\x20language.','Casual','Legal','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translatePortuguese','Simplified\x20Chinese','set','Arabic','AIAssistant','translateArabic','3174969FlqJdA','professional','ai.assistant.removeCommands','pluginName','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','groupId','translateGerman','Translate','push','Translate\x20the\x20content\x20to\x20English\x20language.','translate','define','1548CYYIKD','generate','translateSpanish','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Direct','English','ai.assistant.commands','includes','21064GbMXdW','concat','isOfficialPlugin','business','Journalism','Generate\x20from\x20selection','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','changeStyle','journalism','German','11XeJMnH','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Poetic','ai.assistant.extraCommandGroups','requires','commands','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','direct','filter','editOrReview','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','find','casual','translateFrench','translateEnglish','Change\x20style','Edit\x20or\x20review','2856114wgwaYx','2289kUwOGD','Simplify\x20language','Business','Portuguese'];_0x2d70=function(){return _0xa8072d;};return _0x2d70();}import{Plugin as _0x4dd805}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3be282}from'./aiassistantui.js';import{AIAssistantEditing as _0x49f7ce}from'./aiassistantediting.js';import{getTranslation as _0x9ad938}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x4893c2}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x4dd805{static get[_0x44274a(0x179)](){return[_0x3be282,_0x49f7ce];}static get[_0x44274a(0x159)](){const _0x4fb086=_0x44274a;return _0x4fb086(0x154);}static get[_0x44274a(0x16c)](){return!0x0;}static get[_0x44274a(0x1b6)](){return!0x0;}constructor(_0x3a1dc1){const _0x37bba3=_0x44274a;super(_0x3a1dc1);const _0x2910eb=_0x3a1dc1[_0x37bba3(0x190)],_0x4f718a=_0x3a1dc1[_0x37bba3(0x1ba)];_0x2910eb[_0x37bba3(0x161)](_0x37bba3(0x195),!0x0),_0x2910eb[_0x37bba3(0x161)](_0x37bba3(0x168),getDefaultAICommands(_0x4f718a)),_0x2910eb[_0x37bba3(0x161)](_0x37bba3(0x178),[]),_0x2910eb[_0x37bba3(0x161)](_0x37bba3(0x158),[]);let _0x34c261=_0x4893c2(_0x2910eb[_0x37bba3(0x1b4)](_0x37bba3(0x168)),_0x4f718a);const _0x11cb0a=_0x2910eb[_0x37bba3(0x1b4)](_0x37bba3(0x178)),_0xe88be1=_0x2910eb[_0x37bba3(0x1b4)](_0x37bba3(0x158));_0x11cb0a[_0x37bba3(0x1ae)](_0x1dd30e=>{const _0x39cbea=_0x37bba3,_0x2c3727=_0x34c261[_0x39cbea(0x181)](_0x218879=>_0x218879[_0x39cbea(0x15b)]===_0x1dd30e[_0x39cbea(0x15b)]);_0x2c3727?_0x2c3727[_0x39cbea(0x17a)]=_0x2c3727[_0x39cbea(0x17a)][_0x39cbea(0x16b)](_0x1dd30e[_0x39cbea(0x17a)]):_0x34c261[_0x39cbea(0x15e)](_0x1dd30e);}),_0x34c261=_0x34c261[_0x37bba3(0x17e)](_0x3068fb=>!_0xe88be1[_0x37bba3(0x169)](_0x3068fb[_0x37bba3(0x15b)])),_0x34c261[_0x37bba3(0x1ae)](_0x5bb3f5=>{const _0xbbb0d4=_0x37bba3;_0x5bb3f5[_0xbbb0d4(0x17a)]=_0x5bb3f5[_0xbbb0d4(0x17a)][_0xbbb0d4(0x17e)](_0x1e1d66=>!_0xe88be1[_0xbbb0d4(0x169)](_0x1e1d66['id']));}),_0x2910eb[_0x37bba3(0x152)](_0x37bba3(0x168),_0x34c261);}}export function getDefaultAICommands(_0xa7bd0d){const _0x319a5a=_0x44274a;return[{'groupId':_0x319a5a(0x17f),'groupLabel':_0x9ad938(_0xa7bd0d,_0x319a5a(0x186)),'commands':[{'id':_0x319a5a(0x196),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1b5)),'prompt':_0x319a5a(0x180)},{'id':_0x319a5a(0x1a0),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x18f)),'prompt':_0x319a5a(0x1b3)},{'id':_0x319a5a(0x1b8),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1a1)),'prompt':_0x319a5a(0x18e)},{'id':_0x319a5a(0x18c),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x189)),'prompt':_0x319a5a(0x1ab)}]},{'groupId':_0x319a5a(0x163),'groupLabel':_0x9ad938(_0xa7bd0d,_0x319a5a(0x16f)),'commands':[{'id':_0x319a5a(0x193),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x198)),'prompt':_0x319a5a(0x1b1)},{'id':_0x319a5a(0x1a4),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x19c)),'prompt':_0x319a5a(0x17b)}]},{'groupId':_0x319a5a(0x191),'groupLabel':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1a8)),'commands':[{'id':_0x319a5a(0x157),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x19f)),'prompt':_0x319a5a(0x17c)},{'id':_0x319a5a(0x182),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1bc)),'prompt':_0x319a5a(0x1ac)},{'id':_0x319a5a(0x17d),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x166)),'prompt':_0x319a5a(0x1aa)},{'id':_0x319a5a(0x1b7),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x192)),'prompt':_0x319a5a(0x1a7)},{'id':_0x319a5a(0x1b0),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x19d)),'prompt':_0x319a5a(0x1b9)}]},{'groupId':_0x319a5a(0x172),'groupLabel':_0x9ad938(_0xa7bd0d,_0x319a5a(0x185)),'commands':[{'id':_0x319a5a(0x16d),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x18a)),'prompt':_0x319a5a(0x15a)},{'id':_0x319a5a(0x1a9),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1bd)),'prompt':_0x319a5a(0x1be)},{'id':_0x319a5a(0x173),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x16e)),'prompt':_0x319a5a(0x171)},{'id':_0x319a5a(0x1af),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x177)),'prompt':_0x319a5a(0x1a3)}]},{'groupId':_0x319a5a(0x160),'groupLabel':_0x9ad938(_0xa7bd0d,_0x319a5a(0x15d)),'commands':[{'id':_0x319a5a(0x184),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x167)),'prompt':_0x319a5a(0x15f)},{'id':_0x319a5a(0x164),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1a5)),'prompt':_0x319a5a(0x1bf)},{'id':_0x319a5a(0x1c0),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x18b)),'prompt':_0x319a5a(0x176)},{'id':_0x319a5a(0x15c),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x174)),'prompt':_0x319a5a(0x19a)},{'id':_0x319a5a(0x183),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x199)),'prompt':_0x319a5a(0x1bb)},{'id':_0x319a5a(0x18d),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x151)),'prompt':_0x319a5a(0x170)},{'id':_0x319a5a(0x19e),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x19b)),'prompt':_0x319a5a(0x1b2)},{'id':_0x319a5a(0x155),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x153)),'prompt':_0x319a5a(0x165)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x947176=_0x4605;(function(_0x50884d,_0x3e1883){const _0x2b6e87=_0x4605,_0x5522a3=_0x50884d();while(!![]){try{const _0x10453e=-parseInt(_0x2b6e87(0x1a9))/0x1*(-parseInt(_0x2b6e87(0x184))/0x2)+parseInt(_0x2b6e87(0x196))/0x3+parseInt(_0x2b6e87(0x18b))/0x4*(-parseInt(_0x2b6e87(0x1bd))/0x5)+parseInt(_0x2b6e87(0x1a5))/0x6*(parseInt(_0x2b6e87(0x163))/0x7)+parseInt(_0x2b6e87(0x19b))/0x8*(parseInt(_0x2b6e87(0x191))/0x9)+parseInt(_0x2b6e87(0x171))/0xa*(parseInt(_0x2b6e87(0x172))/0xb)+parseInt(_0x2b6e87(0x1a7))/0xc*(-parseInt(_0x2b6e87(0x175))/0xd);if(_0x10453e===_0x3e1883)break;else _0x5522a3['push'](_0x5522a3['shift']());}catch(_0x45f562){_0x5522a3['push'](_0x5522a3['shift']());}}}(_0x1940,0x7e2fe));import{uid as _0x1e5916}from'ckeditor5/src/utils.js';import{Plugin as _0x4064ff}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x18872b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4f4e5e,ViewDataTransfer as _0x4012d4}from'ckeditor5/src/engine.js';const J=globalThis[_0x947176(0x181)],q=_0x947176(0x19c);function _0x4605(_0x1f7bc9,_0x38db26){const _0x194030=_0x1940();return _0x4605=function(_0x46054c,_0x468532){_0x46054c=_0x46054c-0x158;let _0x38d22c=_0x194030[_0x46054c];return _0x38d22c;},_0x4605(_0x1f7bc9,_0x38db26);}function _0x1940(){const _0x36cf83=['getRanges','schema','_resetContentOfSelectedTableCells','join','insertRows','ck-fake-ai-selection_collapsed','_prepareTableInsertBelowPosition','removeMarker','isCollapsed','data','forEach','markerToHighlight','isAtEnd','editing','getRowIndexes','resultRange','conversion','735FThqpt','_getDefaultInsertBelowPosition','element','pluginName','ai.assistant.useTheme','getLastMatchingPosition','markerRange','length','createPositionAt','plugins','getLastPosition','from','paste','showFakeVisualSelection','2760010agiXim','22jXYmLk','deleteContent','get','9529rgTdTT','fire','afterInit','setSelection','setData','createUIElement','insertContentBelow','_createEmptyTableRows','getChild','start','off','href','DataTransfer','createPositionAfter','createRange','170hvSttw','_getAISelection','pop','_getTableRowCountFromContent','insertContent','markers','createSelection','740468jnUpJF','contentInsertion','fromCharCode','once','isOfficialPlugin','ck-ai-assistant-ui_theme','9WObTid','isPremiumPlugin','has','filter','lowest','2728026UfsrVZ','last','getMarkersGroup','parse','updateMarker','4485896RQkeaQ','ai-ui','map','findAncestor','end','getRange','addMarker','model','push','ck-fake-ai-selection','31200YoeJRO','getSelectedTableCells','36588JFIaWO','addClass','4339MalUKX','getSelectedBlocks','getRows','markerToElement','_pasteHTMLUsingClipboard','change','init','hideFakeVisualSelection','AIAssistantEditing','getFirstRange','editor','getChildren','for','canEditAt','editingDowncast','TableUtils','text/html','first','table','getColumnIndexes','5HLEBAg','config','span','selection','isContent','document'];_0x1940=function(){return _0x36cf83;};return _0x1940();}export class AIAssistantEditing extends _0x4064ff{static get[_0x947176(0x166)](){const _0x1c1994=_0x947176;return _0x1c1994(0x1b1);}static get[_0x947176(0x18f)](){return!0x0;}static get[_0x947176(0x192)](){return!0x0;}[_0x947176(0x1af)](){const _0xc6839c=_0x947176,{editor:_0x2ec7d7}=this,_0x1e32f7=[_0xc6839c(0x1a4)];_0x2ec7d7[_0xc6839c(0x1be)][_0xc6839c(0x174)](_0xc6839c(0x167))&&_0x1e32f7[_0xc6839c(0x1a3)](_0xc6839c(0x190)),_0x2ec7d7[_0xc6839c(0x162)][_0xc6839c(0x1b5)](_0xc6839c(0x1b7))[_0xc6839c(0x15d)]({'model':q,'view':{'classes':_0x1e32f7,'priority':0xc}}),_0x2ec7d7[_0xc6839c(0x162)][_0xc6839c(0x1b5)](_0xc6839c(0x1b7))[_0xc6839c(0x1ac)]({'model':q,'view':(_0x6c8642,{writer:_0xbe654})=>{const _0x349668=_0xc6839c;if(!_0x6c8642[_0x349668(0x169)][_0x349668(0x15a)])return null;const _0x3d1bbc=_0xbe654[_0x349668(0x17a)](_0x349668(0x1bf));return _0xbe654[_0x349668(0x1a8)]([_0x349668(0x1a4),_0x349668(0x1c8)],_0x3d1bbc),_0x3d1bbc;}});}[_0x947176(0x177)](){!async function(_0x29779e){const _0x518d8c=_0x151471([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]),_0x1250ef=0x3dffc4e1,_0x3085d6=0x3df8bcd9^_0x1250ef,_0x3d3adb=window[_0x151471([0x44,0x61,0x74,0x65])][_0x151471([0x6e,0x6f,0x77])](),_0x2f833c=_0x29779e[_0x151471([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b1666=new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x446a10=>{_0x2f833c[_0x151471([0x6f,0x6e,0x63,0x65])](_0x151471([0x72,0x65,0x61,0x64,0x79]),_0x446a10);}),_0x577e65={[_0x151471([0x6b,0x74,0x79])]:_0x151471([0x45,0x43]),[_0x151471([0x75,0x73,0x65])]:_0x151471([0x73,0x69,0x67]),[_0x151471([0x63,0x72,0x76])]:_0x151471([0x50,0x2d,0x32,0x35,0x36]),[_0x151471([0x78])]:_0x151471([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]),[_0x151471([0x79])]:_0x151471([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]),[_0x151471([0x61,0x6c,0x67])]:_0x151471([0x45,0x53,0x32,0x35,0x36])},_0x52f5b9=_0x2f833c[_0x151471([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x151471([0x67,0x65,0x74])](_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1556df(){let _0x49ae3f,_0x39d792=null,_0x390a1e=null;try{if(_0x52f5b9==_0x151471([0x47,0x50,0x4c]))return _0x151471([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49ae3f=_0x27d471(),!_0x49ae3f)return _0x151471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49ae3f[_0x151471([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x390a1e=_0x4b203f(_0x49ae3f[_0x151471([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49ae3f[_0x151471([0x6a,0x74,0x69])])),await _0x258d11()?_0x21081a()?_0x55672a()?_0x151471([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x127bd2()?(_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151471([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39d792=_0x38a570(_0x151471([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151471([0x74,0x72,0x69,0x61,0x6c])&&(_0x39d792=_0x38a570(_0x151471([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x181cee()):_0x151471([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x151471([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x151471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x151471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55672a(){const _0x265dab=[_0x151471([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x151471([0x74,0x72,0x69,0x61,0x6c])][_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d3adb/0x3e8:0xe10*_0x3085d6;return _0x49ae3f[_0x151471([0x65,0x78,0x70])]<_0x265dab;}function _0x21081a(){const _0x2d5812=_0x49ae3f[_0x151471([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d5812&&(!!_0x2d5812[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151471([0x2a]))||!!_0x2d5812[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151471([0x41,0x49])));}function _0x127bd2(){const _0x138253=_0x4605,_0x57b04e=_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57b04e||0x0==_0x57b04e[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f18ac}=new URL(window[_0x151471([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x138253(0x180)]);if(_0x57b04e[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f18ac))return!0x0;const _0x2e5fbc=_0x3f18ac[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e]));return _0x57b04e[_0x151471([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22bf21=>_0x22bf21[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151471([0x2a])))[_0x151471([0x6d,0x61,0x70])](_0x41aa79=>_0x41aa79[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e])))[_0x151471([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3742b2=>_0x3742b2[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2e5fbc[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151471([0x6d,0x61,0x70])](_0x5f1b75=>Array(_0x2e5fbc[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f1b75[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151471([0x66,0x69,0x6c,0x6c])](_0x5f1b75[0x0]===_0x151471([0x2a])?_0x151471([0x2a]):'')[_0x151471([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f1b75))[_0x151471([0x73,0x6f,0x6d,0x65])](_0x56e54f=>_0x2e5fbc[_0x151471([0x65,0x76,0x65,0x72,0x79])]((_0x2595f7,_0x563d38)=>_0x56e54f[_0x563d38]===_0x2595f7||_0x56e54f[_0x563d38]===_0x151471([0x2a])));}function _0x181cee(){return _0x39d792&&_0x390a1e?new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x88ef76,_0xc0744f)=>{_0x39d792[_0x151471([0x74,0x68,0x65,0x6e])](_0x88ef76,_0xc0744f),_0x390a1e[_0x151471([0x74,0x68,0x65,0x6e])](_0x23a318=>{_0x23a318!=_0x151471([0x56,0x61,0x6c,0x69,0x64])&&_0x88ef76(_0x23a318);},_0xc0744f);}):_0x39d792||_0x390a1e||_0x151471([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b203f(_0x327fa9,_0x6846f1){return new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43590a=>{if(_0x47dfcb())return _0x43590a(_0x151471([0x56,0x61,0x6c,0x69,0x64]));_0x2ba20d(),_0x2f833c[_0x151471([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x151471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20149e=!0x1;const _0xed5000=_0x1e5916();function _0x32181e(_0x5ec4fa){return!!_0x5ec4fa&&(typeof _0x5ec4fa===_0x151471([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ec4fa===_0x151471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ec4fa[_0x151471([0x74,0x68,0x65,0x6e])]===_0x151471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ec4fa[_0x151471([0x63,0x61,0x74,0x63,0x68])]===_0x151471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43c3a0(_0x3e60ce){_0x36e25f(_0x3e60ce)[_0x151471([0x74,0x68,0x65,0x6e])](_0x42031a=>{if(!_0x42031a||_0x42031a[_0x151471([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x151471([0x6f,0x6b]))return _0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x816cef(_0x9ed30b(_0xed5000+_0x6846f1))!=_0x42031a[_0x151471([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x151471([0x56,0x61,0x6c,0x69,0x64]);})[_0x151471([0x74,0x68,0x65,0x6e])](_0x339034=>(_0x3f1171(),_0x339034),()=>{const _0x22956e=_0x3c5cc5();return null==_0x22956e?(_0x3f1171(),_0x151471([0x56,0x61,0x6c,0x69,0x64])):_0x151471(_0x3d3adb-_0x22956e>(0x19f340e1^_0x1250ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x151471([0x74,0x68,0x65,0x6e])](_0x43590a)[_0x151471([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43590a(_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31f989=0x3dc92a61^_0x1250ef;function _0x3f1171(){const _0x1a4ec6=_0x151471([0x6c,0x6c,0x63,0x74,0x2d])+_0x816cef(_0x9ed30b(_0x327fa9)),_0x1f9239=_0x7db18f(_0x816cef(window[_0x151471([0x4d,0x61,0x74,0x68])][_0x151471([0x63,0x65,0x69,0x6c])](_0x3d3adb/_0x31f989)));window[_0x151471([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151471([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a4ec6,_0x1f9239);}function _0x3c5cc5(){const _0x15ea8d=_0x151471([0x6c,0x6c,0x63,0x74,0x2d])+_0x816cef(_0x9ed30b(_0x327fa9)),_0x1a8810=window[_0x151471([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151471([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15ea8d);return _0x1a8810?window[_0x151471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7db18f(_0x1a8810),0x10)*_0x31f989:null;}function _0x36e25f(_0x4529ad){return new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x174082,_0x29b169)=>{_0x4529ad[_0x151471([0x74,0x68,0x65,0x6e])](_0x174082,_0x29b169),window[_0x151471([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29b169,0x3dfe1021^_0x1250ef);});}}_0x2f833c[_0x151471([0x6f,0x6e])](_0x151471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4124df,_0x2c69a9)=>{if(_0x2c69a9[0x0]!=_0x327fa9)return _0x43590a(_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c69a9[0x1]={..._0x2c69a9[0x1],[_0x151471([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xed5000};},{[_0x151471([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151471([0x68,0x69,0x67,0x68])}),_0x2f833c[_0x151471([0x6f,0x6e])](_0x151471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x573eaa=>{_0x32181e(_0x573eaa[_0x151471([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20149e=!0x0,_0x43c3a0(_0x573eaa[_0x151471([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x151471([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151471([0x6c,0x6f,0x77])}),_0x4b1666[_0x151471([0x74,0x68,0x65,0x6e])](()=>{_0x20149e||_0x43590a(_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47dfcb(){return _0x2f833c[_0x151471([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151471([0x76,0x69,0x65,0x77])][_0x151471([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x151471([0x61,0x75,0x74,0x6f]);}function _0x2ba20d(){_0x2f833c[_0x151471([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151471([0x76,0x69,0x65,0x77])][_0x151471([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x151471([0x61,0x75,0x74,0x6f]);}}function _0x38a570(_0x567b18){const _0x2652d1=[new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xff97b2=>setTimeout(_0xff97b2,0x3df6fa2d^_0x1250ef)),_0x4b1666[_0x151471([0x74,0x68,0x65,0x6e])](()=>new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af191=>{let _0x2fb9c1=0x0;_0x2f833c[_0x151471([0x6d,0x6f,0x64,0x65,0x6c])][_0x151471([0x6f,0x6e])](_0x151471([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2efc00,_0x465900)=>{_0x465900[0x0][_0x151471([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2fb9c1++,_0x2fb9c1==(0x3dffc519^_0x1250ef)&&(_0x1af191(),_0x2efc00[_0x151471([0x6f,0x66,0x66])]());});}))];return window[_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x151471([0x72,0x61,0x63,0x65])](_0x2652d1)[_0x151471([0x74,0x68,0x65,0x6e])](()=>_0x567b18);}async function _0x56ae04(){await _0x4b1666,_0x2f833c[_0x151471([0x6d,0x6f,0x64,0x65,0x6c])][_0x151471([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbb43eb,_0x2f833c[_0x151471([0x6d,0x6f,0x64,0x65,0x6c])][_0x151471([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbb43eb,_0x2f833c[_0x151471([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x151471([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x26b55e(_0x100cef){const _0x46f458=_0x5d0ad0();_0x2f833c[_0x46f458]=_0x151471([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x100cef,_0x100cef!=_0x151471([0x56,0x61,0x6c,0x69,0x64])&&_0x56ae04();}function _0x5d0ad0(){const _0x42a3a7=window[_0x151471([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x151471([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x151471([0x6e,0x6f,0x77])]())[_0x151471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x151471([0x2e]),'');let _0x2e27ef=_0x151471([0x6e]);for(let _0x22e8e5=0x0;_0x22e8e5<_0x42a3a7[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22e8e5+=0x2){let _0x4d36c6=window[_0x151471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42a3a7[_0x151471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22e8e5,_0x22e8e5+0x2));_0x4d36c6>=_0x518d8c[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d36c6-=_0x518d8c[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e27ef+=_0x518d8c[_0x4d36c6];}return _0x2e27ef;}function _0x27d471(){const _0x5e56e5=_0x52f5b9[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e]));if(0x3!=_0x5e56e5[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53b978(_0x5e56e5[0x1]);function _0x53b978(_0x2d8b7d){const _0x4356ae=_0x5d36e(_0x2d8b7d);return _0x4356ae&&_0x448e53()?_0x4356ae:null;function _0x448e53(){const _0x1b2afa=_0x4356ae[_0x151471([0x6a,0x74,0x69])],_0x5c72a8=window[_0x151471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b2afa[_0x151471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b2afa[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x570672={..._0x4356ae,[_0x151471([0x6a,0x74,0x69])]:_0x1b2afa[_0x151471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b2afa[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x570672[_0x151471([0x76,0x63])],_0x9ed30b(_0x570672)==_0x5c72a8;}}}async function _0x258d11(){let _0x315d3f=!0x0;try{const _0x1e31c3=_0x52f5b9[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e])),[_0x4e6253,_0xa207fc,_0x204340]=_0x1e31c3;return _0x37a60a(_0x4e6253),await _0x5e2401(_0x4e6253,_0xa207fc,_0x204340),_0x315d3f;}catch{return!0x1;}function _0x37a60a(_0x2b451b){const _0x4a2d3e=_0x5d36e(_0x2b451b);_0x4a2d3e&&_0x4a2d3e[_0x151471([0x61,0x6c,0x67])]==_0x151471([0x45,0x53,0x32,0x35,0x36])||(_0x315d3f=!0x1);}async function _0x5e2401(_0x1720b2,_0x10908b,_0x5ed1b9){const _0x881838=window[_0x151471([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x151471([0x66,0x72,0x6f,0x6d])](_0x24396e(_0x5ed1b9),_0xb21c28=>_0xb21c28[_0x151471([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f038b=new window[(_0x151471([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x151471([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1720b2+_0x151471([0x2e])+_0x10908b),_0x51d689=window[_0x151471([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x151471([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51d689)return;const _0xec254d=await _0x51d689[_0x151471([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x151471([0x6a,0x77,0x6b]),_0x577e65,{[_0x151471([0x6e,0x61,0x6d,0x65])]:_0x151471([0x45,0x43,0x44,0x53,0x41]),[_0x151471([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x151471([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x151471([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51d689[_0x151471([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x151471([0x6e,0x61,0x6d,0x65])]:_0x151471([0x45,0x43,0x44,0x53,0x41]),[_0x151471([0x68,0x61,0x73,0x68])]:{[_0x151471([0x6e,0x61,0x6d,0x65])]:_0x151471([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xec254d,_0x881838,_0x4f038b)||(_0x315d3f=!0x1);}}function _0x5d36e(_0x31fd22){return _0x31fd22[_0x151471([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x151471([0x65,0x79]))?JSON[_0x151471([0x70,0x61,0x72,0x73,0x65])](_0x24396e(_0x31fd22)):null;}function _0x24396e(_0x502f44){return window[_0x151471([0x61,0x74,0x6f,0x62])](_0x502f44[_0x151471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x151471([0x2b]))[_0x151471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x151471([0x2f])));}function _0x9ed30b(_0x20787d){let _0x3ee28d=0x1505;function _0x47261e(_0x2808f1){for(let _0x395ebe=0x0;_0x395ebe<_0x2808f1[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x395ebe++){const _0x3c6a4b=_0x2808f1[_0x151471([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x395ebe);_0x3ee28d=(_0x3ee28d<<0x5)+_0x3ee28d+_0x3c6a4b,_0x3ee28d&=_0x3ee28d;}}function _0x35b5fe(_0x523033){Array[_0x151471([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x523033)?_0x523033[_0x151471([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35b5fe):_0x523033&&typeof _0x523033==_0x151471([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x151471([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x523033)[_0x151471([0x73,0x6f,0x72,0x74])]()[_0x151471([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4329d4,_0x5e2631])=>{_0x47261e(_0x4329d4),_0x35b5fe(_0x5e2631);}):_0x47261e(window[_0x151471([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x523033));}return _0x35b5fe(_0x20787d),_0x3ee28d>>>0x0;}function _0x816cef(_0x38404d){return _0x38404d[_0x151471([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x151471([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x151471([0x30]));}function _0x7db18f(_0x50c64a){return _0x50c64a[_0x151471([0x73,0x70,0x6c,0x69,0x74])]('')[_0x151471([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x151471([0x6a,0x6f,0x69,0x6e])]('');}function _0xbb43eb(){}function _0x151471(_0x1fb810){const _0x28583a=_0x4605;return _0x1fb810[_0x28583a(0x19d)](_0x4f75e6=>String[_0x28583a(0x18d)](_0x4f75e6))[_0x28583a(0x1c6)]('');}_0x26b55e(await _0x1556df());}(this);}[_0x947176(0x170)](){const _0x918f3f=_0x947176,_0x421cd0=this[_0x918f3f(0x1b3)][_0x918f3f(0x1a2)];_0x421cd0[_0x918f3f(0x1ae)](_0x1607df=>{const _0x4f9e6a=_0x918f3f,_0x57c8f9=_0x421cd0[_0x4f9e6a(0x1c2)][_0x4f9e6a(0x1c0)][_0x4f9e6a(0x1c3)]();let _0x5bc68d=0x0;for(const _0x1c8d2c of _0x57c8f9){const _0x5510b2=q+':'+_0x5bc68d;if(_0x421cd0[_0x4f9e6a(0x189)][_0x4f9e6a(0x193)](_0x5510b2))_0x1607df[_0x4f9e6a(0x19a)](_0x5510b2,{'range':_0x1c8d2c});else{if(_0x1c8d2c[_0x4f9e6a(0x17e)][_0x4f9e6a(0x15e)]){const _0x53b0ee=_0x1c8d2c[_0x4f9e6a(0x17e)][_0x4f9e6a(0x168)](({item:_0x1e259a})=>!_0x421cd0[_0x4f9e6a(0x1c4)][_0x4f9e6a(0x1c1)](_0x1e259a),{'boundaries':_0x1c8d2c});_0x1607df[_0x4f9e6a(0x1a1)](_0x5510b2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1607df[_0x4f9e6a(0x183)](_0x53b0ee,_0x1c8d2c[_0x4f9e6a(0x19f)])});}else _0x1607df[_0x4f9e6a(0x1a1)](_0x5510b2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1c8d2c});}_0x5bc68d++;}});}[_0x947176(0x1b0)](){const _0x397876=_0x947176,_0xf10744=this[_0x397876(0x1b3)][_0x397876(0x1a2)],_0x5c4d1f=Array[_0x397876(0x16e)](this[_0x397876(0x1b3)][_0x397876(0x1a2)][_0x397876(0x189)][_0x397876(0x198)](q));_0x5c4d1f[_0x397876(0x16a)]&&_0xf10744[_0x397876(0x1ae)](_0x316e65=>{const _0x2947ae=_0x397876;_0x5c4d1f[_0x2947ae(0x15c)](_0x2f2a1a=>{const _0x41a3e4=_0x2947ae;_0x316e65[_0x41a3e4(0x159)](_0x2f2a1a);});});}[_0x947176(0x188)](_0x1eb048,_0x1bd47b){const _0x177044=_0x947176,_0x16c17b=this[_0x177044(0x185)](),_0x4662ac=_0x1bd47b||_0x16c17b[_0x177044(0x1b2)]();this[_0x177044(0x1b3)][_0x177044(0x1a2)][_0x177044(0x1b6)](_0x4662ac)&&this[_0x177044(0x1b3)][_0x177044(0x1a2)][_0x177044(0x1ae)](_0x1de520=>{const _0x18d99e=_0x177044;this[_0x18d99e(0x1b0)](),_0x1bd47b||this[_0x18d99e(0x1c5)](_0x1de520,_0x16c17b),this[_0x18d99e(0x1ad)]({'insertAt':_0x4662ac,'writer':_0x1de520,'html':_0x1eb048});});}[_0x947176(0x17b)](_0x58e6dd){const _0x4484f1=_0x947176,{model:_0x308ae0}=this[_0x4484f1(0x1b3)],_0x5a1e85=this[_0x4484f1(0x185)]();_0x308ae0[_0x4484f1(0x1ae)](()=>{const _0x5ef37d=_0x4484f1,_0x12963c=this[_0x5ef37d(0x158)](_0x58e6dd,_0x5a1e85)||this[_0x5ef37d(0x164)](_0x5a1e85);this[_0x5ef37d(0x188)](_0x58e6dd,_0x12963c);});}[_0x947176(0x185)](){const _0x30d511=_0x947176,_0x2631ea=this[_0x30d511(0x1b3)][_0x30d511(0x1a2)],_0x211ea4=Array[_0x30d511(0x16e)](_0x2631ea[_0x30d511(0x189)][_0x30d511(0x198)](q))[_0x30d511(0x19d)](_0x18a348=>_0x18a348[_0x30d511(0x1a0)]());return _0x2631ea[_0x30d511(0x18a)](_0x211ea4);}[_0x947176(0x1ad)]({writer:_0x5783e8,html:_0x1b528a,insertAt:_0x3bc152}){const _0x55bc9e=_0x947176,{view:_0xdc9256}=this[_0x55bc9e(0x1b3)][_0x55bc9e(0x15f)],_0x3861ec=this[_0x55bc9e(0x1b3)][_0x55bc9e(0x16c)][_0x55bc9e(0x174)](_0x18872b),_0x2d9e9c=new J();_0x2d9e9c[_0x55bc9e(0x179)](_0x55bc9e(0x1b9),_0x1b528a);const _0x5f1627=new ClipboardEvent(_0x55bc9e(0x16f),{'clipboardData':_0x2d9e9c}),_0xe240d0=new _0x4f4e5e(_0xdc9256,_0x5f1627,{'dataTransfer':new _0x4012d4(_0x2d9e9c)});_0x5783e8[_0x55bc9e(0x178)](_0x3bc152);const _0x1e6a71=(_0x16c114,_0x2f64dc)=>{const _0x3816f3=_0x55bc9e;_0x2f64dc[_0x3816f3(0x161)]&&_0x5783e8[_0x3816f3(0x178)](_0x2f64dc[_0x3816f3(0x161)]);};_0x3861ec[_0x55bc9e(0x18e)](_0x55bc9e(0x18c),_0x1e6a71,{'priority':_0x55bc9e(0x195)}),_0xdc9256[_0x55bc9e(0x1c2)][_0x55bc9e(0x176)](_0x55bc9e(0x16f),_0xe240d0),_0x3861ec[_0x55bc9e(0x17f)](_0x55bc9e(0x18c),_0x1e6a71);}[_0x947176(0x164)](_0x3a4753){const _0x174e2e=_0x947176,{model:_0x420f13}=this[_0x174e2e(0x1b3)],_0x3175dd=Array[_0x174e2e(0x16e)](_0x3a4753[_0x174e2e(0x1aa)]());return _0x3175dd[_0x174e2e(0x16a)]?_0x420f13[_0x174e2e(0x182)](_0x3175dd[_0x174e2e(0x186)]()):_0x3a4753[_0x174e2e(0x16d)]();}[_0x947176(0x158)](_0x5ee683,_0x3e44e9){const _0x39fb72=_0x947176,{model:_0x4b7fcc,plugins:_0x243d85}=this[_0x39fb72(0x1b3)];if(_0x243d85[_0x39fb72(0x193)](_0x39fb72(0x1b8))){const _0x143fb6=_0x243d85[_0x39fb72(0x174)](_0x39fb72(0x1b8))[_0x39fb72(0x1a6)](_0x3e44e9);if(_0x143fb6[_0x39fb72(0x16a)]){const _0x54811b=this[_0x39fb72(0x187)](_0x5ee683),_0x457dc7=this[_0x39fb72(0x17c)](_0x143fb6,_0x54811b);return _0x4b7fcc[_0x39fb72(0x16b)](_0x457dc7,0x0);}}return null;}[_0x947176(0x187)](_0xf3d29e){const _0x1c4743=_0x947176,_0x428f9f=this[_0x1c4743(0x1b3)][_0x1c4743(0x16c)][_0x1c4743(0x174)](_0x1c4743(0x1b8)),_0x388564=this[_0x1c4743(0x1b3)][_0x1c4743(0x15b)][_0x1c4743(0x199)](_0xf3d29e),_0x4623c9=Array[_0x1c4743(0x16e)](_0x388564[_0x1c4743(0x1b4)]())[_0x1c4743(0x194)](_0x48fcd8=>_0x48fcd8['is'](_0x1c4743(0x165),_0x1c4743(0x1bb)));let _0x44b97f=0x0;return _0x4623c9[_0x1c4743(0x15c)](_0x21c9b2=>{const _0x416a69=_0x1c4743;_0x44b97f+=_0x428f9f[_0x416a69(0x1ab)](_0x21c9b2);}),_0x44b97f;}[_0x947176(0x17c)](_0x43807d,_0x2b887b){const _0x4b967b=_0x947176,_0x360759=this[_0x4b967b(0x1b3)][_0x4b967b(0x16c)][_0x4b967b(0x174)](_0x4b967b(0x1b8)),_0x14011a=_0x360759[_0x4b967b(0x160)](_0x43807d),_0x388a05=_0x360759[_0x4b967b(0x1bc)](_0x43807d),_0x2b2804=_0x14011a[_0x4b967b(0x197)]+0x1,_0x4a5673=_0x388a05[_0x4b967b(0x1ba)],_0x1ad858=_0x43807d[0x0][_0x4b967b(0x19e)](_0x4b967b(0x1bb));for(let _0x23812c=0x0;_0x23812c<_0x2b887b;_0x23812c++)_0x360759[_0x4b967b(0x1c7)](_0x1ad858,{'at':_0x2b2804});return _0x1ad858[_0x4b967b(0x17d)](_0x2b2804)[_0x4b967b(0x17d)](_0x4a5673);}[_0x947176(0x1c5)](_0x58aafa,_0x2d0f5a){const _0x36287d=_0x947176,{plugins:_0x3c9983}=this[_0x36287d(0x1b3)],{model:_0x2a7be4}=_0x58aafa;if(!_0x3c9983[_0x36287d(0x193)](_0x36287d(0x1b8)))return;_0x3c9983[_0x36287d(0x174)](_0x36287d(0x1b8))[_0x36287d(0x1a6)](_0x2d0f5a)[_0x36287d(0x16a)]&&_0x2a7be4[_0x36287d(0x173)](_0x2d0f5a);}}
|
|
23
|
+
const _0x40a316=_0x380f;function _0x380f(_0x1b8cf5,_0x12e3cf){const _0x3de996=_0x3de9();return _0x380f=function(_0x380f32,_0x4a2bba){_0x380f32=_0x380f32-0x14c;let _0x464ecd=_0x3de996[_0x380f32];return _0x464ecd;},_0x380f(_0x1b8cf5,_0x12e3cf);}(function(_0x50a34e,_0x3a9e53){const _0x3e9c67=_0x380f,_0x459458=_0x50a34e();while(!![]){try{const _0x104278=-parseInt(_0x3e9c67(0x17c))/0x1+-parseInt(_0x3e9c67(0x15e))/0x2*(-parseInt(_0x3e9c67(0x18a))/0x3)+parseInt(_0x3e9c67(0x1ad))/0x4+parseInt(_0x3e9c67(0x153))/0x5+-parseInt(_0x3e9c67(0x166))/0x6+parseInt(_0x3e9c67(0x163))/0x7*(-parseInt(_0x3e9c67(0x183))/0x8)+parseInt(_0x3e9c67(0x179))/0x9;if(_0x104278===_0x3a9e53)break;else _0x459458['push'](_0x459458['shift']());}catch(_0x5d25ef){_0x459458['push'](_0x459458['shift']());}}}(_0x3de9,0xeecc3));import{uid as _0x19dccd}from'ckeditor5/src/utils.js';import{Plugin as _0x5e4245}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xda320a}from'ckeditor5/src/clipboard.js';function _0x3de9(){const _0x53de1f=['href','editing','isPremiumPlugin','push','createUIElement','_getAISelection','getColumnIndexes','5568715toPLGS','markers','parse','init','map','getRows','getChildren','findAncestor','_prepareTableInsertBelowPosition','createRange','_pasteHTMLUsingClipboard','4ecsRNr','getRanges','data','afterInit','last','2325911pdZcyb','get','createPositionAt','10499496HvTLze','conversion','getLastPosition','pop','TableUtils','for','ck-fake-ai-selection_collapsed','hideFakeVisualSelection','isOfficialPlugin','off','first','text/html','showFakeVisualSelection','deleteContent','markerRange','updateMarker','ai.assistant.useTheme','isCollapsed','ck-fake-ai-selection','20218113iLIQIR','_getTableRowCountFromContent','getLastMatchingPosition','1499322qxNjXi','config','insertRows','getChild','selection','getRowIndexes','AIAssistantEditing','40AnVShh','lowest','createPositionAfter','addMarker','DataTransfer','schema','from','2551698xLhbuW','plugins','fromCharCode','document','editor','isContent','filter','addClass','getFirstRange','resultRange','paste','once','getSelectedBlocks','_getDefaultInsertBelowPosition','editingDowncast','removeMarker','forEach','join','canEditAt','element','start','change','_resetContentOfSelectedTableCells','markerToElement','insertContentBelow','ck-ai-assistant-ui_theme','_createEmptyTableRows','setData','ai-ui','table','model','insertContent','setSelection','createSelection','has','3309544lbIlCn','markerToHighlight','end','pluginName','fire','getRange','getSelectedTableCells','length','isAtEnd','span','getMarkersGroup','contentInsertion'];_0x3de9=function(){return _0x53de1f;};return _0x3de9();}import{ViewDocumentDomEventData as _0x5220f9,ViewDataTransfer as _0x4f7ddd}from'ckeditor5/src/engine.js';const dt=globalThis[_0x40a316(0x187)],pt=_0x40a316(0x1a6);export class AIAssistantEditing extends _0x5e4245{static get[_0x40a316(0x1b0)](){const _0x1300ec=_0x40a316;return _0x1300ec(0x182);}static get[_0x40a316(0x16e)](){return!0x0;}static get[_0x40a316(0x14e)](){return!0x0;}[_0x40a316(0x156)](){const _0x28c774=_0x40a316,{editor:_0x23b939}=this,_0x1a55fb=[_0x28c774(0x178)];_0x23b939[_0x28c774(0x17d)][_0x28c774(0x164)](_0x28c774(0x176))&&_0x1a55fb[_0x28c774(0x14f)](_0x28c774(0x1a3)),_0x23b939[_0x28c774(0x167)][_0x28c774(0x16b)](_0x28c774(0x198))[_0x28c774(0x1ae)]({'model':pt,'view':{'classes':_0x1a55fb,'priority':0xc}}),_0x23b939[_0x28c774(0x167)][_0x28c774(0x16b)](_0x28c774(0x198))[_0x28c774(0x1a1)]({'model':pt,'view':(_0x17f9ed,{writer:_0x3f40d6})=>{const _0x187a4e=_0x28c774;if(!_0x17f9ed[_0x187a4e(0x174)][_0x187a4e(0x177)])return null;const _0x386cc=_0x3f40d6[_0x187a4e(0x150)](_0x187a4e(0x1b6));return _0x3f40d6[_0x187a4e(0x191)]([_0x187a4e(0x178),_0x187a4e(0x16c)],_0x386cc),_0x386cc;}});}[_0x40a316(0x161)](){!async function(_0x30f473){const _0x4cfab2=_0x5c6a12([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]),_0x5a53fd=0x3dffc4e1,_0x4c80f6=0x3df8bed1^_0x5a53fd,_0x3e93d2=window[_0x5c6a12([0x44,0x61,0x74,0x65])][_0x5c6a12([0x6e,0x6f,0x77])](),_0x2f0ba7=_0x30f473[_0x5c6a12([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ceea9=new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x158ff1=>{_0x2f0ba7[_0x5c6a12([0x6f,0x6e,0x63,0x65])](_0x5c6a12([0x72,0x65,0x61,0x64,0x79]),_0x158ff1);}),_0x174d35={[_0x5c6a12([0x6b,0x74,0x79])]:_0x5c6a12([0x45,0x43]),[_0x5c6a12([0x75,0x73,0x65])]:_0x5c6a12([0x73,0x69,0x67]),[_0x5c6a12([0x63,0x72,0x76])]:_0x5c6a12([0x50,0x2d,0x32,0x35,0x36]),[_0x5c6a12([0x78])]:_0x5c6a12([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]),[_0x5c6a12([0x79])]:_0x5c6a12([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]),[_0x5c6a12([0x61,0x6c,0x67])]:_0x5c6a12([0x45,0x53,0x32,0x35,0x36])},_0x3e3baa=_0x2f0ba7[_0x5c6a12([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c6a12([0x67,0x65,0x74])](_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5162a7(){let _0x1c3d8b,_0x3cab96=null,_0x525d4f=null;try{if(_0x3e3baa==_0x5c6a12([0x47,0x50,0x4c]))return _0x5c6a12([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c3d8b=_0x2bfdaf(),!_0x1c3d8b)return _0x5c6a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c3d8b[_0x5c6a12([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x525d4f=_0x102cc5(_0x1c3d8b[_0x5c6a12([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c3d8b[_0x5c6a12([0x6a,0x74,0x69])])),await _0x689d3()?_0x3884aa()?_0x50b545()?_0x5c6a12([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26a382()?(_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c6a12([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cab96=_0x1ebce5(_0x5c6a12([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c6a12([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cab96=_0x1ebce5(_0x5c6a12([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39b7a9()):_0x5c6a12([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c6a12([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c6a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c6a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50b545(){const _0x256a4c=[_0x5c6a12([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c6a12([0x74,0x72,0x69,0x61,0x6c])][_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e93d2/0x3e8:0xe10*_0x4c80f6;return _0x1c3d8b[_0x5c6a12([0x65,0x78,0x70])]<_0x256a4c;}function _0x3884aa(){const _0x5ba4e9=_0x1c3d8b[_0x5c6a12([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ba4e9&&(!!_0x5ba4e9[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c6a12([0x2a]))||!!_0x5ba4e9[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c6a12([0x41,0x49])));}function _0x26a382(){const _0x2d63f0=_0x380f,_0x40aaa4=_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40aaa4||0x0==_0x40aaa4[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e75e9}=new URL(window[_0x5c6a12([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2d63f0(0x14c)]);if(_0x40aaa4[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e75e9))return!0x0;const _0x23521c=_0x4e75e9[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e]));return _0x40aaa4[_0x5c6a12([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58e831=>_0x58e831[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c6a12([0x2a])))[_0x5c6a12([0x6d,0x61,0x70])](_0x455709=>_0x455709[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e])))[_0x5c6a12([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x938302=>_0x938302[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x23521c[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c6a12([0x6d,0x61,0x70])](_0x1fa99c=>Array(_0x23521c[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1fa99c[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c6a12([0x66,0x69,0x6c,0x6c])](_0x1fa99c[0x0]===_0x5c6a12([0x2a])?_0x5c6a12([0x2a]):'')[_0x5c6a12([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1fa99c))[_0x5c6a12([0x73,0x6f,0x6d,0x65])](_0x3aad1c=>_0x23521c[_0x5c6a12([0x65,0x76,0x65,0x72,0x79])]((_0x10b9fc,_0x418ea8)=>_0x3aad1c[_0x418ea8]===_0x10b9fc||_0x3aad1c[_0x418ea8]===_0x5c6a12([0x2a])));}function _0x39b7a9(){return _0x3cab96&&_0x525d4f?new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8a14e8,_0x21cdee)=>{_0x3cab96[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x8a14e8,_0x21cdee),_0x525d4f[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x1d1c61=>{_0x1d1c61!=_0x5c6a12([0x56,0x61,0x6c,0x69,0x64])&&_0x8a14e8(_0x1d1c61);},_0x21cdee);}):_0x3cab96||_0x525d4f||_0x5c6a12([0x56,0x61,0x6c,0x69,0x64]);}}function _0x102cc5(_0x2209f4,_0x916bd2){return new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x421b03=>{if(_0x59607e())return _0x421b03(_0x5c6a12([0x56,0x61,0x6c,0x69,0x64]));_0x4e3111(),_0x2f0ba7[_0x5c6a12([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c6a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x598e57=!0x1;const _0x540584=_0x19dccd();function _0x21c49c(_0xa0d8e0){return!!_0xa0d8e0&&(typeof _0xa0d8e0===_0x5c6a12([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa0d8e0===_0x5c6a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa0d8e0[_0x5c6a12([0x74,0x68,0x65,0x6e])]===_0x5c6a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa0d8e0[_0x5c6a12([0x63,0x61,0x74,0x63,0x68])]===_0x5c6a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x140fb7(_0x356966){_0x2c1c84(_0x356966)[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x239ac0=>{if(!_0x239ac0||_0x239ac0[_0x5c6a12([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c6a12([0x6f,0x6b]))return _0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42af7b(_0x53af17(_0x540584+_0x916bd2))!=_0x239ac0[_0x5c6a12([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c6a12([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x1cc040=>(_0x322e3d(),_0x1cc040),()=>{const _0x331a8b=_0x4da382();return null==_0x331a8b?(_0x322e3d(),_0x5c6a12([0x56,0x61,0x6c,0x69,0x64])):_0x5c6a12(_0x3e93d2-_0x331a8b>(0x19f340e1^_0x5a53fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x421b03)[_0x5c6a12([0x63,0x61,0x74,0x63,0x68])](()=>{_0x421b03(_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3268a1=0x3dc92a61^_0x5a53fd;function _0x322e3d(){const _0x16f1fc=_0x5c6a12([0x6c,0x6c,0x63,0x74,0x2d])+_0x42af7b(_0x53af17(_0x2209f4)),_0x32fa83=_0x463a1c(_0x42af7b(window[_0x5c6a12([0x4d,0x61,0x74,0x68])][_0x5c6a12([0x63,0x65,0x69,0x6c])](_0x3e93d2/_0x3268a1)));window[_0x5c6a12([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c6a12([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16f1fc,_0x32fa83);}function _0x4da382(){const _0x41a6a1=_0x5c6a12([0x6c,0x6c,0x63,0x74,0x2d])+_0x42af7b(_0x53af17(_0x2209f4)),_0x3e09b9=window[_0x5c6a12([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c6a12([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41a6a1);return _0x3e09b9?window[_0x5c6a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x463a1c(_0x3e09b9),0x10)*_0x3268a1:null;}function _0x2c1c84(_0x3102c1){return new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f6fd9,_0x3e9d47)=>{_0x3102c1[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x3f6fd9,_0x3e9d47),window[_0x5c6a12([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e9d47,0x3dfe1021^_0x5a53fd);});}}_0x2f0ba7[_0x5c6a12([0x6f,0x6e])](_0x5c6a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f7be4,_0x5b1af6)=>{if(_0x5b1af6[0x0]!=_0x2209f4)return _0x421b03(_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b1af6[0x1]={..._0x5b1af6[0x1],[_0x5c6a12([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x540584};},{[_0x5c6a12([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c6a12([0x68,0x69,0x67,0x68])}),_0x2f0ba7[_0x5c6a12([0x6f,0x6e])](_0x5c6a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x307136=>{_0x21c49c(_0x307136[_0x5c6a12([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x598e57=!0x0,_0x140fb7(_0x307136[_0x5c6a12([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c6a12([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c6a12([0x6c,0x6f,0x77])}),_0x3ceea9[_0x5c6a12([0x74,0x68,0x65,0x6e])](()=>{_0x598e57||_0x421b03(_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59607e(){return _0x2f0ba7[_0x5c6a12([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c6a12([0x76,0x69,0x65,0x77])][_0x5c6a12([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c6a12([0x61,0x75,0x74,0x6f]);}function _0x4e3111(){_0x2f0ba7[_0x5c6a12([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c6a12([0x76,0x69,0x65,0x77])][_0x5c6a12([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c6a12([0x61,0x75,0x74,0x6f]);}}function _0x1ebce5(_0x5e6233){const _0x538522=[new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39b6f1=>setTimeout(_0x39b6f1,0x3df6fa2d^_0x5a53fd)),_0x3ceea9[_0x5c6a12([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b545d=>{let _0xcb7796=0x0;_0x2f0ba7[_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c6a12([0x6f,0x6e])](_0x5c6a12([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x503a95,_0x4b8a46)=>{_0x4b8a46[0x0][_0x5c6a12([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xcb7796++,_0xcb7796==(0x3dffc519^_0x5a53fd)&&(_0x2b545d(),_0x503a95[_0x5c6a12([0x6f,0x66,0x66])]());});}))];return window[_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c6a12([0x72,0x61,0x63,0x65])](_0x538522)[_0x5c6a12([0x74,0x68,0x65,0x6e])](()=>_0x5e6233);}async function _0x20d300(){await _0x3ceea9,_0x2f0ba7[_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c6a12([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ca4b1,_0x2f0ba7[_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c6a12([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ca4b1,_0x2f0ba7[_0x5c6a12([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41f3e8(_0x5a434c){const _0x35481c=_0x2600d1();_0x2f0ba7[_0x35481c]=_0x5c6a12([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a434c,_0x5a434c!=_0x5c6a12([0x56,0x61,0x6c,0x69,0x64])&&_0x20d300();}function _0x2600d1(){const _0xbd83d4=window[_0x5c6a12([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c6a12([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c6a12([0x6e,0x6f,0x77])]())[_0x5c6a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c6a12([0x2e]),'');let _0x525792=_0x5c6a12([0x6e]);for(let _0x4eba1e=0x0;_0x4eba1e<_0xbd83d4[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4eba1e+=0x2){let _0xed3f82=window[_0x5c6a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbd83d4[_0x5c6a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4eba1e,_0x4eba1e+0x2));_0xed3f82>=_0x4cfab2[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xed3f82-=_0x4cfab2[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x525792+=_0x4cfab2[_0xed3f82];}return _0x525792;}function _0x2bfdaf(){const _0x2ec5bc=_0x3e3baa[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e]));if(0x3!=_0x2ec5bc[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29060e(_0x2ec5bc[0x1]);function _0x29060e(_0x29159e){const _0x4dc514=_0x37a78e(_0x29159e);return _0x4dc514&&_0x4c14b7()?_0x4dc514:null;function _0x4c14b7(){const _0x342409=_0x4dc514[_0x5c6a12([0x6a,0x74,0x69])],_0x77d0bf=window[_0x5c6a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x342409[_0x5c6a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x342409[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b8f83={..._0x4dc514,[_0x5c6a12([0x6a,0x74,0x69])]:_0x342409[_0x5c6a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x342409[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b8f83[_0x5c6a12([0x76,0x63])],_0x53af17(_0x3b8f83)==_0x77d0bf;}}}async function _0x689d3(){let _0x4fbbfb=!0x0;try{const _0x556e52=_0x3e3baa[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e])),[_0xf0239e,_0x51c1ad,_0x3b627f]=_0x556e52;return _0x21b2c7(_0xf0239e),await _0x4b0cf9(_0xf0239e,_0x51c1ad,_0x3b627f),_0x4fbbfb;}catch{return!0x1;}function _0x21b2c7(_0x31517e){const _0x4fda9b=_0x37a78e(_0x31517e);_0x4fda9b&&_0x4fda9b[_0x5c6a12([0x61,0x6c,0x67])]==_0x5c6a12([0x45,0x53,0x32,0x35,0x36])||(_0x4fbbfb=!0x1);}async function _0x4b0cf9(_0x5855a7,_0x482e5f,_0xf46082){const _0x5bd13f=window[_0x5c6a12([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c6a12([0x66,0x72,0x6f,0x6d])](_0xaf09e5(_0xf46082),_0x57b919=>_0x57b919[_0x5c6a12([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1088fc=new window[(_0x5c6a12([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c6a12([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5855a7+_0x5c6a12([0x2e])+_0x482e5f),_0x406c80=window[_0x5c6a12([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c6a12([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x406c80)return;const _0x1d75d5=await _0x406c80[_0x5c6a12([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c6a12([0x6a,0x77,0x6b]),_0x174d35,{[_0x5c6a12([0x6e,0x61,0x6d,0x65])]:_0x5c6a12([0x45,0x43,0x44,0x53,0x41]),[_0x5c6a12([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c6a12([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c6a12([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x406c80[_0x5c6a12([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c6a12([0x6e,0x61,0x6d,0x65])]:_0x5c6a12([0x45,0x43,0x44,0x53,0x41]),[_0x5c6a12([0x68,0x61,0x73,0x68])]:{[_0x5c6a12([0x6e,0x61,0x6d,0x65])]:_0x5c6a12([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d75d5,_0x5bd13f,_0x1088fc)||(_0x4fbbfb=!0x1);}}function _0x37a78e(_0x576870){return _0x576870[_0x5c6a12([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c6a12([0x65,0x79]))?JSON[_0x5c6a12([0x70,0x61,0x72,0x73,0x65])](_0xaf09e5(_0x576870)):null;}function _0xaf09e5(_0x7502cd){return window[_0x5c6a12([0x61,0x74,0x6f,0x62])](_0x7502cd[_0x5c6a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c6a12([0x2b]))[_0x5c6a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c6a12([0x2f])));}function _0x53af17(_0x2c349f){let _0x2f9be9=0x1505;function _0x1e9db1(_0x256224){for(let _0x3a97cd=0x0;_0x3a97cd<_0x256224[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a97cd++){const _0x83a4e6=_0x256224[_0x5c6a12([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a97cd);_0x2f9be9=(_0x2f9be9<<0x5)+_0x2f9be9+_0x83a4e6,_0x2f9be9&=_0x2f9be9;}}function _0x5aa6fc(_0x52821f){Array[_0x5c6a12([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52821f)?_0x52821f[_0x5c6a12([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5aa6fc):_0x52821f&&typeof _0x52821f==_0x5c6a12([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c6a12([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52821f)[_0x5c6a12([0x73,0x6f,0x72,0x74])]()[_0x5c6a12([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfc463f,_0x18ce92])=>{_0x1e9db1(_0xfc463f),_0x5aa6fc(_0x18ce92);}):_0x1e9db1(window[_0x5c6a12([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52821f));}return _0x5aa6fc(_0x2c349f),_0x2f9be9>>>0x0;}function _0x42af7b(_0x3c738b){return _0x3c738b[_0x5c6a12([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c6a12([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c6a12([0x30]));}function _0x463a1c(_0x55b4a6){return _0x55b4a6[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c6a12([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c6a12([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ca4b1(){}function _0x5c6a12(_0x339cfa){const _0xb495d8=_0x380f;return _0x339cfa[_0xb495d8(0x157)](_0x3c6b74=>String[_0xb495d8(0x18c)](_0x3c6b74))[_0xb495d8(0x19b)]('');}_0x41f3e8(await _0x5162a7());}(this);}[_0x40a316(0x172)](){const _0x47d52d=_0x40a316,_0x39a9af=this[_0x47d52d(0x18e)][_0x47d52d(0x1a8)];_0x39a9af[_0x47d52d(0x19f)](_0x466652=>{const _0x3758a0=_0x47d52d,_0x1dca4b=_0x39a9af[_0x3758a0(0x18d)][_0x3758a0(0x180)][_0x3758a0(0x15f)]();let _0x510d69=0x0;for(const _0x853c4f of _0x1dca4b){const _0x255516=pt+':'+_0x510d69;if(_0x39a9af[_0x3758a0(0x154)][_0x3758a0(0x1ac)](_0x255516))_0x466652[_0x3758a0(0x175)](_0x255516,{'range':_0x853c4f});else{if(_0x853c4f[_0x3758a0(0x19e)][_0x3758a0(0x1b5)]){const _0x4c0c6b=_0x853c4f[_0x3758a0(0x19e)][_0x3758a0(0x17b)](({item:_0x364d98})=>!_0x39a9af[_0x3758a0(0x188)][_0x3758a0(0x18f)](_0x364d98),{'boundaries':_0x853c4f});_0x466652[_0x3758a0(0x186)](_0x255516,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x466652[_0x3758a0(0x15c)](_0x4c0c6b,_0x853c4f[_0x3758a0(0x1af)])});}else _0x466652[_0x3758a0(0x186)](_0x255516,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x853c4f});}_0x510d69++;}});}[_0x40a316(0x16d)](){const _0x3d8cf7=_0x40a316,_0xb01ce0=this[_0x3d8cf7(0x18e)][_0x3d8cf7(0x1a8)],_0x587f74=Array[_0x3d8cf7(0x189)](this[_0x3d8cf7(0x18e)][_0x3d8cf7(0x1a8)][_0x3d8cf7(0x154)][_0x3d8cf7(0x1b7)](pt));_0x587f74[_0x3d8cf7(0x1b4)]&&_0xb01ce0[_0x3d8cf7(0x19f)](_0x3700b4=>{const _0x19d78c=_0x3d8cf7;_0x587f74[_0x19d78c(0x19a)](_0x304b14=>{const _0x300a00=_0x19d78c;_0x3700b4[_0x300a00(0x199)](_0x304b14);});});}[_0x40a316(0x1a9)](_0x2a0f31,_0x5a8578){const _0x14db4a=_0x40a316,_0x52e270=this[_0x14db4a(0x151)](),_0x41b348=_0x5a8578||_0x52e270[_0x14db4a(0x192)]();this[_0x14db4a(0x18e)][_0x14db4a(0x1a8)][_0x14db4a(0x19c)](_0x41b348)&&this[_0x14db4a(0x18e)][_0x14db4a(0x1a8)][_0x14db4a(0x19f)](_0xdbe1f4=>{const _0x82d16f=_0x14db4a;this[_0x82d16f(0x16d)](),_0x5a8578||this[_0x82d16f(0x1a0)](_0xdbe1f4,_0x52e270),this[_0x82d16f(0x15d)]({'insertAt':_0x41b348,'writer':_0xdbe1f4,'html':_0x2a0f31});});}[_0x40a316(0x1a2)](_0x21a202){const _0x124d51=_0x40a316,{model:_0xdda04c}=this[_0x124d51(0x18e)],_0x19d9c0=this[_0x124d51(0x151)]();_0xdda04c[_0x124d51(0x19f)](()=>{const _0x40df78=_0x124d51,_0x4a8f5e=this[_0x40df78(0x15b)](_0x21a202,_0x19d9c0)||this[_0x40df78(0x197)](_0x19d9c0);this[_0x40df78(0x1a9)](_0x21a202,_0x4a8f5e);});}[_0x40a316(0x151)](){const _0xf2bf93=_0x40a316,_0x2bbee7=this[_0xf2bf93(0x18e)][_0xf2bf93(0x1a8)],_0x2bf941=Array[_0xf2bf93(0x189)](_0x2bbee7[_0xf2bf93(0x154)][_0xf2bf93(0x1b7)](pt))[_0xf2bf93(0x157)](_0x2517c4=>_0x2517c4[_0xf2bf93(0x1b2)]());return _0x2bbee7[_0xf2bf93(0x1ab)](_0x2bf941);}[_0x40a316(0x15d)]({writer:_0x2a1b00,html:_0x1b3848,insertAt:_0x4ac0ca}){const _0x44f880=_0x40a316,{view:_0x43220b}=this[_0x44f880(0x18e)][_0x44f880(0x14d)],_0x6aa767=this[_0x44f880(0x18e)][_0x44f880(0x18b)][_0x44f880(0x164)](_0xda320a),_0x15ba6d=new dt();_0x15ba6d[_0x44f880(0x1a5)](_0x44f880(0x171),_0x1b3848);const _0xff2277=new ClipboardEvent(_0x44f880(0x194),{'clipboardData':_0x15ba6d}),_0x3383be=new _0x5220f9(_0x43220b,_0xff2277,{'dataTransfer':new _0x4f7ddd(_0x15ba6d)});_0x2a1b00[_0x44f880(0x1aa)](_0x4ac0ca);const _0x508e0d=(_0x4a0c0d,_0x857cc3)=>{const _0x58c1bc=_0x44f880;_0x857cc3[_0x58c1bc(0x193)]&&_0x2a1b00[_0x58c1bc(0x1aa)](_0x857cc3[_0x58c1bc(0x193)]);};_0x6aa767[_0x44f880(0x195)](_0x44f880(0x1b8),_0x508e0d,{'priority':_0x44f880(0x184)}),_0x43220b[_0x44f880(0x18d)][_0x44f880(0x1b1)](_0x44f880(0x194),_0x3383be),_0x6aa767[_0x44f880(0x16f)](_0x44f880(0x1b8),_0x508e0d);}[_0x40a316(0x197)](_0x2fa3f9){const _0x5e6a8b=_0x40a316,{model:_0x329294}=this[_0x5e6a8b(0x18e)],_0x2bdd28=Array[_0x5e6a8b(0x189)](_0x2fa3f9[_0x5e6a8b(0x196)]());return _0x2bdd28[_0x5e6a8b(0x1b4)]?_0x329294[_0x5e6a8b(0x185)](_0x2bdd28[_0x5e6a8b(0x169)]()):_0x2fa3f9[_0x5e6a8b(0x168)]();}[_0x40a316(0x15b)](_0x17e133,_0x4f1697){const _0x5e5ffa=_0x40a316,{model:_0x213846,plugins:_0x35343c}=this[_0x5e5ffa(0x18e)];if(_0x35343c[_0x5e5ffa(0x1ac)](_0x5e5ffa(0x16a))){const _0x3c9e78=_0x35343c[_0x5e5ffa(0x164)](_0x5e5ffa(0x16a))[_0x5e5ffa(0x1b3)](_0x4f1697);if(_0x3c9e78[_0x5e5ffa(0x1b4)]){const _0x141d43=this[_0x5e5ffa(0x17a)](_0x17e133),_0x21e3c2=this[_0x5e5ffa(0x1a4)](_0x3c9e78,_0x141d43);return _0x213846[_0x5e5ffa(0x165)](_0x21e3c2,0x0);}}return null;}[_0x40a316(0x17a)](_0x34ba9f){const _0x140f43=_0x40a316,_0x521724=this[_0x140f43(0x18e)][_0x140f43(0x18b)][_0x140f43(0x164)](_0x140f43(0x16a)),_0x3fa343=this[_0x140f43(0x18e)][_0x140f43(0x160)][_0x140f43(0x155)](_0x34ba9f),_0x4f5ac8=Array[_0x140f43(0x189)](_0x3fa343[_0x140f43(0x159)]())[_0x140f43(0x190)](_0x331316=>_0x331316['is'](_0x140f43(0x19d),_0x140f43(0x1a7)));let _0x205600=0x0;return _0x4f5ac8[_0x140f43(0x19a)](_0x20f503=>{const _0x1c9497=_0x140f43;_0x205600+=_0x521724[_0x1c9497(0x158)](_0x20f503);}),_0x205600;}[_0x40a316(0x1a4)](_0x1036a7,_0x22214f){const _0x322e82=_0x40a316,_0x10b424=this[_0x322e82(0x18e)][_0x322e82(0x18b)][_0x322e82(0x164)](_0x322e82(0x16a)),_0x395ab2=_0x10b424[_0x322e82(0x181)](_0x1036a7),_0x2818ba=_0x10b424[_0x322e82(0x152)](_0x1036a7),_0x4daee8=_0x395ab2[_0x322e82(0x162)]+0x1,_0x290ce8=_0x2818ba[_0x322e82(0x170)],_0x93d80=_0x1036a7[0x0][_0x322e82(0x15a)](_0x322e82(0x1a7));for(let _0x13bf8c=0x0;_0x13bf8c<_0x22214f;_0x13bf8c++)_0x10b424[_0x322e82(0x17e)](_0x93d80,{'at':_0x4daee8});return _0x93d80[_0x322e82(0x17f)](_0x4daee8)[_0x322e82(0x17f)](_0x290ce8);}[_0x40a316(0x1a0)](_0x6a266d,_0x36f283){const _0x213cde=_0x40a316,{plugins:_0x6ed412}=this[_0x213cde(0x18e)],{model:_0x22d18f}=_0x6a266d;if(!_0x6ed412[_0x213cde(0x1ac)](_0x213cde(0x16a)))return;_0x6ed412[_0x213cde(0x164)](_0x213cde(0x16a))[_0x213cde(0x1b3)](_0x36f283)[_0x213cde(0x1b4)]&&_0x22d18f[_0x213cde(0x173)](_0x36f283);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x76db(){const _0x42ffc6=['menuView','hideFakeVisualSelection','menuBar:aiCommands','editing','set','updateView','isPremiumPlugin','pluginName','destroy','change','featureNotAllowed','buttons','</p>','trialLimit','aiLicenseKeyDomainLimit','menuBar:aiAssistant','config','view','ai.assistant.commands','show','model','contentArea','expired','buttonView','aiAssistant','queryView','children','bind','execute','currentContext','showUI','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiLicenseKeyValid','_getResolvedCommandsDefinitions','media','values','_onExecute','_commandDefinitions','updatePosition','requires','replace','fieldView','push','focus','editor','length','_aiAssistantController','init','enabledCommandsIds','text','aiLicenseKeyEvaluationLimit','isEnabled','add','reset','comment','wasMoved','change:isProcessing','678dRTuHN','insertContent','4972692OxOjUZ','_uiCssClasses','usageLimit','665WggEhq','polite','from','_licenseKeyCheckInterval','ck-ai-assistant-ui','get','ai.assistant.disabledElements','change:enabledCommandsIds','errorView','groupLabel','_initAriaAiStatusChangeAnnouncements','AI\x20Commands','panelView','\x20ck-ai-assistant-ui_theme','getSelectedElement','requiresContent','once','_initView','showAIAssistant','Generated\x20content:\x20%0','promptView','delegate','hideUI','<p>','document','aiCommands','evaluationLimit','splice','186AfGemh','INSERT','menuitemcheckbox','order','_aiAdapter','render','_getMenuBarGroupButtons','change:value','selection','55hnxtEt','isCollapsed','rawHtml','schema','showFakeVisualSelection','_forceMarkersCopy','getData','aiLicenseKeyTrialLimit','aiLicenseKeyUsageLimit','setSelection','sort','REPLACE','1004193gFjjyC','announce','define','filter','_populateMenuBarMenu','command:','update','AIAssistant','forEach','aiLicenseKeyNotAllowed','copy','groupId','invalid','plugins','hide','trim','text/html','change:isError','items','getRanges','menuPanelClass','getSelectedBlocks','AI\x20is\x20writing','_formView','aiLicenseKeyInvalid','aiLicenseKeyExpired','DataTransfer','ck-ai-commands-dropdown\x20','2780OoekLS','9627xBNMIG','isFlat','isOn','prompt','licenseKey','includes','getLimitElement','AI\x20Assistant','_createAIAssistantUIButton','custom','textAdapter','componentFactory','3091TjOvuM','_dialog','tableOfContents','fire','commands','_showLicenseError','ai.assistant.contentAreaCssClass','238351IbCUHR','AIAssistantUI','ai.assistant.useTheme','locale','map','ck-ai-assistant-button\x20','isOfficialPlugin','8nrJWXV','EDITOR_TOP_SIDE','replaceContent','ai-commands-config-order-collision','domainLimit','label','125936RGiYwE','source','body','addMany','listenTo','insertContentBelow'];_0x76db=function(){return _0x42ffc6;};return _0x76db();}const _0x488f64=_0x36db;(function(_0x5bfad6,_0x2c0d00){const _0x5d05f3=_0x36db,_0x152b5e=_0x5bfad6();while(!![]){try{const _0x5403b7=parseInt(_0x5d05f3(0x138))/0x1+parseInt(_0x5d05f3(0x1a5))/0x2*(-parseInt(_0x5d05f3(0x125))/0x3)+-parseInt(_0x5d05f3(0x145))/0x4*(parseInt(_0x5d05f3(0x1ae))/0x5)+-parseInt(_0x5d05f3(0x184))/0x6*(-parseInt(_0x5d05f3(0x189))/0x7)+-parseInt(_0x5d05f3(0x13f))/0x8*(-parseInt(_0x5d05f3(0x1ba))/0x9)+-parseInt(_0x5d05f3(0x124))/0xa*(-parseInt(_0x5d05f3(0x131))/0xb)+parseInt(_0x5d05f3(0x186))/0xc;if(_0x5403b7===_0x2c0d00)break;else _0x152b5e['push'](_0x152b5e['shift']());}catch(_0x19af80){_0x152b5e['push'](_0x152b5e['shift']());}}}(_0x76db,0x32e1b));import{Plugin as _0x57de6e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x17cf3a,IconRobotPencil as _0x1d72b7}from'ckeditor5/src/icons.js';import{first as _0x46a915,CKEditorError as _0xe9b8d3}from'ckeditor5/src/utils.js';import{createDropdown as _0x513755,addMenuToDropdown as _0x29a5b3,ButtonView as _0x100ddf,MenuBarMenuListItemButtonView as _0x1495d9,Dialog as _0x232e46,DialogViewPosition as _0xba5e78,MenuBarMenuView as _0x26f33e,MenuBarMenuListView as _0x211562,MenuBarMenuListItemView as _0x473b65}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x18af09,UNGROUPED_COMMANDS_GROUP_ID as _0x35aa4e}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x38f8c5}from'./aiassistantediting.js';import{AIAdapter as _0x207f39}from'./adapters/aiadapter.js';import{getTranslation as _0x341649}from'./utils/common-translations.js';function _0x36db(_0x6fb05d,_0x14f5ed){const _0x76dbbb=_0x76db();return _0x36db=function(_0x36db58,_0x45252e){_0x36db58=_0x36db58-0x113;let _0x48d2f8=_0x76dbbb[_0x36db58];return _0x48d2f8;},_0x36db(_0x6fb05d,_0x14f5ed);}import{ShowAIAssistantCommand as _0x499c53}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x34ee0c}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x171da8}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x499cb0}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[_0x488f64(0x122)];import{ClipboardMarkersUtils as _0x377884}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5ca291,ViewDataTransfer as _0x4c8b02}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x57de6e{[_0x488f64(0x129)];[_0x488f64(0x18c)];[_0x488f64(0x132)];[_0x488f64(0x11f)];[_0x488f64(0x1a9)];[_0x488f64(0x179)];[_0x488f64(0x187)]='';static get[_0x488f64(0x152)](){const _0x265294=_0x488f64;return _0x265294(0x139);}static get[_0x488f64(0x13e)](){return!0x0;}static get[_0x488f64(0x151)](){return!0x0;}static get[_0x488f64(0x172)](){return[_0x377884,_0x38f8c5,_0x207f39,_0x232e46];}constructor(_0x1b24dc){const _0x34d161=_0x488f64;super(_0x1b24dc),_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x1bc)](_0x34d161(0x18f),[_0x34d161(0x16d),_0x34d161(0x1b0),_0x34d161(0x133)]),_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x1bc)](_0x34d161(0x137),''),_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x1bc)](_0x34d161(0x13a),!0x0),this[_0x34d161(0x187)]=_0x34d161(0x18d)+(_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x18e)](_0x34d161(0x13a))?_0x34d161(0x196):'');}[_0x488f64(0x17a)](){const _0x7a0138=_0x488f64,{editor:_0x45608c}=this;this[_0x7a0138(0x1a9)]=_0x45608c[_0x7a0138(0x115)][_0x7a0138(0x18e)](_0x207f39),this[_0x7a0138(0x132)]=_0x45608c[_0x7a0138(0x115)][_0x7a0138(0x18e)](_0x232e46),this[_0x7a0138(0x11f)]=null,this[_0x7a0138(0x170)]=this[_0x7a0138(0x16c)]();const _0x1926ce=new _0x499c53(_0x45608c,Array[_0x7a0138(0x18b)](this[_0x7a0138(0x170)][_0x7a0138(0x16e)]()));_0x45608c[_0x7a0138(0x135)][_0x7a0138(0x17f)](_0x7a0138(0x19b),_0x1926ce),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x1a2),_0xbf9bc4=>{const _0x585d29=_0x7a0138,_0x403f1b=_0x513755(_0xbf9bc4);return _0x403f1b[_0x585d29(0x14f)]({'class':_0x585d29(0x123)+this[_0x585d29(0x187)]}),_0x403f1b[_0x585d29(0x162)][_0x585d29(0x14f)]({'label':_0x341649(_0xbf9bc4,_0x585d29(0x194)),'icon':_0x17cf3a,'tooltip':!0x0}),_0x403f1b['on'](_0x585d29(0x167),_0x5627c9=>this[_0x585d29(0x16f)](_0x5627c9[_0x585d29(0x146)]['id'])),_0x29a5b3(_0x403f1b,_0x45608c['ui'][_0x585d29(0x15c)][_0x585d29(0x147)],function(_0x3132b1){const _0x3913e6=_0x585d29,_0x28f442=_0x18af09(_0x3132b1[_0x3913e6(0x15b)][_0x3913e6(0x18e)](_0x3913e6(0x15d)),_0x3132b1[_0x3913e6(0x13b)]),_0x3e9ce4=hi(_0x3132b1,_0x28f442)[_0x3913e6(0x1bd)](_0x1799e8=>_0x1799e8[_0x3913e6(0x135)][_0x3913e6(0x178)]);if(0x1===_0x3e9ce4[_0x3913e6(0x178)])return hi(_0x3132b1,_0x3e9ce4[0x0][_0x3913e6(0x135)])[_0x3913e6(0x13c)](_0x5ef891=>({'id':_0x5ef891['id'],'label':_0x5ef891[_0x3913e6(0x144)]}));return _0x3e9ce4[_0x3913e6(0x13c)](_0x3d4349=>{const _0x420954=_0x3913e6,{groupId:_0x46d072,groupLabel:_0x147598,commands:_0xe62ef7}=_0x3d4349,_0x44956c=hi(_0x3132b1,_0xe62ef7)[_0x420954(0x13c)](_0xb1287e=>({'id':_0xb1287e['id'],'label':_0xb1287e[_0x420954(0x144)]}));return{'id':_0x46d072,'menu':_0x147598||_0x46d072,'children':_0x44956c};});}(_0x45608c),{'ariaLabel':_0x341649(_0xbf9bc4,_0x585d29(0x194))}),_0x403f1b[_0x585d29(0x14b)][_0x585d29(0x11c)]=_0x585d29(0x123)+this[_0x585d29(0x187)],_0x1926ce['on'](_0x585d29(0x190),_0x1e1b61),_0x403f1b[_0x585d29(0x14b)][_0x585d29(0x199)](_0x585d29(0x1aa),_0x1e1b61),_0x403f1b;function _0x1e1b61(){const _0x18a4d0=_0x585d29;_0x403f1b[_0x18a4d0(0x17e)]=_0x1926ce[_0x18a4d0(0x17b)][_0x18a4d0(0x178)]>0x0;for(const _0x45cf8a of _0x403f1b[_0x18a4d0(0x14b)][_0x18a4d0(0x156)])_0x45cf8a[_0x18a4d0(0x17e)]=_0x1926ce[_0x18a4d0(0x17b)][_0x18a4d0(0x12a)](_0x45cf8a['id']);}}),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x14d),_0x478617=>{const _0x2615cf=_0x7a0138,_0x315740=new _0x26f33e(_0x478617);_0x315740[_0x2615cf(0x162)][_0x2615cf(0x14f)]({'label':_0x341649(_0x478617,_0x2615cf(0x194)),'icon':_0x17cf3a}),_0x315740[_0x2615cf(0x166)](_0x2615cf(0x17e))['to'](_0x1926ce,_0x2615cf(0x17b),_0x4d7a11=>_0x4d7a11[_0x2615cf(0x178)]>0x0);const _0x5365bb=_0x18af09(_0x45608c[_0x2615cf(0x15b)][_0x2615cf(0x18e)](_0x2615cf(0x15d)),_0x478617);return this[_0x2615cf(0x1be)](_0x1926ce,_0x315740,_0x5365bb,_0x93e0bf=>this[_0x2615cf(0x16f)](_0x93e0bf)),_0x315740;}),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x163),()=>{const _0x5b5df5=_0x7a0138,_0x4441e3=this[_0x5b5df5(0x12d)](_0x100ddf);return _0x4441e3[_0x5b5df5(0x14f)]({'tooltip':!0x0,'class':_0x5b5df5(0x13d)+this[_0x5b5df5(0x187)]}),_0x4441e3;}),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x15a),()=>{const _0x55685c=_0x7a0138,_0x150364=this[_0x55685c(0x12d)](_0x1495d9);return _0x150364[_0x55685c(0x14f)]({'role':_0x55685c(0x1a7)}),_0x150364;}),this[_0x7a0138(0x129)]=this[_0x7a0138(0x177)][_0x7a0138(0x15b)][_0x7a0138(0x18e)](_0x7a0138(0x129));const _0x21e440=this[_0x7a0138(0x177)];this[_0x7a0138(0x18c)]=setInterval(()=>{const _0x11d85b=_0x7a0138;let _0x416024;for(const _0x40a91c in _0x21e440){const _0x3b78f6=_0x40a91c,_0x492556=_0x21e440[_0x3b78f6];if(_0x11d85b(0x16b)==_0x492556||_0x11d85b(0x120)==_0x492556||_0x11d85b(0x121)==_0x492556||_0x11d85b(0x159)==_0x492556||_0x11d85b(0x1c3)==_0x492556||_0x11d85b(0x17d)==_0x492556||_0x11d85b(0x1b5)==_0x492556||_0x11d85b(0x1b6)==_0x492556){delete _0x21e440[_0x3b78f6],_0x416024=_0x492556,clearInterval(this[_0x11d85b(0x18c)]),this[_0x11d85b(0x18c)]=void 0x0;break;}}_0x11d85b(0x120)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x114)),_0x11d85b(0x121)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x161)),_0x11d85b(0x159)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x143)),_0x11d85b(0x1c3)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x155),_0x11d85b(0x1c1)),_0x11d85b(0x17d)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x1a3)),_0x11d85b(0x1b5)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x158)),_0x11d85b(0x1b6)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x188));},0x3e8);}[_0x488f64(0x153)](){const _0x4f3fbd=_0x488f64;super[_0x4f3fbd(0x153)](),this[_0x4f3fbd(0x18c)]&&clearInterval(this[_0x4f3fbd(0x18c)]);}[_0x488f64(0x169)](_0x2ab78e='',_0x1d7809='',_0x1aec48=_0x488f64(0x12e)){const _0x17c378=_0x488f64,_0x21b8be=this[_0x17c378(0x177)],_0x127353=_0x21b8be[_0x17c378(0x14e)][_0x17c378(0x15c)],_0x4e7a43=_0x21b8be[_0x17c378(0x115)][_0x17c378(0x18e)](_0x38f8c5),_0x1f71bc=_0x21b8be[_0x17c378(0x115)][_0x17c378(0x18e)](_0x377884);_0x4e7a43[_0x17c378(0x1b2)]();const _0xbee77f=new J(),_0x67e250=new ClipboardEvent(_0x17c378(0x1c4),{'clipboardData':_0xbee77f}),_0x88b47a=new _0x4c8b02(_0xbee77f),_0x4118b1=new _0x5ca291(_0x127353,_0x67e250,{'dataTransfer':_0x88b47a});_0x1f71bc[_0x17c378(0x1b3)](_0x17c378(0x181),()=>{const _0x413f7f=_0x17c378;_0x127353[_0x413f7f(0x1a1)][_0x413f7f(0x134)](_0x413f7f(0x1c4),_0x4118b1);}),this[_0x17c378(0x11f)]||(this[_0x17c378(0x19a)](),this[_0x17c378(0x179)]=new _0x34ee0c(_0x21b8be,this[_0x17c378(0x1a9)][_0x17c378(0x12f)],this[_0x17c378(0x11f)]));let _0x1418d2=_0x88b47a[_0x17c378(0x1b4)](_0x17c378(0x118));const _0x3fb7f4=_0x21b8be[_0x17c378(0x15f)][_0x17c378(0x1a1)][_0x17c378(0x1ad)],_0x4e4870=Array[_0x17c378(0x18b)](_0x3fb7f4[_0x17c378(0x11b)]());0x1===_0x4e4870[_0x17c378(0x178)]&&_0x4e4870[0x0][_0x17c378(0x126)]&&!_0x3fb7f4[_0x17c378(0x197)]()&&''!==_0x1418d2[_0x17c378(0x173)](/ /g,'')[_0x17c378(0x117)]()&&(_0x1418d2=_0x17c378(0x1a0)+_0x1418d2+_0x17c378(0x157)),this[_0x17c378(0x179)][_0x17c378(0x150)]({'actionId':_0x1aec48,'query':_0x2ab78e,'htmlContent':_0x1418d2,'label':_0x1d7809,'mainActionLabel':_0x499cb0[_0x21b8be[_0x17c378(0x15f)][_0x17c378(0x1a1)][_0x17c378(0x1ad)][_0x17c378(0x1af)]?_0x17c378(0x1a6):_0x17c378(0x1b9)]}),_0x17c378(0x163)!==this[_0x17c378(0x132)]['id']?this[_0x17c378(0x132)][_0x17c378(0x15e)]({'id':_0x17c378(0x163),'icon':_0x1d72b7,'title':_0x341649(this[_0x17c378(0x177)][_0x17c378(0x13b)],_0x17c378(0x12c)),'content':this[_0x17c378(0x11f)],'position':_0xba5e78[_0x17c378(0x140)],'onShow':()=>{const _0x15a9a8=_0x17c378;this[_0x15a9a8(0x11f)][_0x15a9a8(0x176)]();},'onHide':()=>{const _0x21607f=_0x17c378;this[_0x21607f(0x179)][_0x21607f(0x180)](),_0x4e7a43[_0x21607f(0x14c)]();}}):this[_0x17c378(0x132)][_0x17c378(0x15c)][_0x17c378(0x182)]||this[_0x17c378(0x132)][_0x17c378(0x15c)][_0x17c378(0x171)]();}[_0x488f64(0x19f)](){const _0x8878db=_0x488f64;this[_0x8878db(0x132)][_0x8878db(0x116)]();}[_0x488f64(0x16c)](){const _0x5d25d9=_0x488f64,_0x29d9e6=new Map(),_0x166e3e=_0x18af09(this[_0x5d25d9(0x177)][_0x5d25d9(0x15b)][_0x5d25d9(0x18e)](_0x5d25d9(0x15d)),this[_0x5d25d9(0x177)][_0x5d25d9(0x13b)]);for(const _0x5be5ce of _0x166e3e)for(const _0x13b51a of _0x5be5ce[_0x5d25d9(0x135)])_0x29d9e6[_0x5d25d9(0x14f)](_0x13b51a['id'],{..._0x13b51a,'groupId':_0x5be5ce[_0x5d25d9(0x113)],'groupLabel':_0x5be5ce[_0x5d25d9(0x192)]||_0x5be5ce[_0x5d25d9(0x113)]});return _0x29d9e6;}[_0x488f64(0x12d)](_0x2b360c){const _0xd2fafe=_0x488f64,_0x2f7340=this[_0xd2fafe(0x177)],_0xe37741=_0x2f7340[_0xd2fafe(0x135)][_0xd2fafe(0x18e)](_0xd2fafe(0x19b)),_0x44ff23=new _0x2b360c(_0x2f7340[_0xd2fafe(0x13b)]);return _0x44ff23[_0xd2fafe(0x14f)]({'label':_0x341649(_0x2f7340[_0xd2fafe(0x13b)],_0xd2fafe(0x12c)),'icon':_0x1d72b7,'isToggleable':!0x0}),_0x44ff23[_0xd2fafe(0x166)](_0xd2fafe(0x17e))['to'](_0xe37741),_0x44ff23[_0xd2fafe(0x166)](_0xd2fafe(0x127))['to'](this[_0xd2fafe(0x132)],'id',_0x56bb8e=>_0xd2fafe(0x163)===_0x56bb8e),this[_0xd2fafe(0x149)](_0x44ff23,_0xd2fafe(0x167),()=>{const _0x3c1b30=_0xd2fafe;_0x44ff23[_0x3c1b30(0x127)]?this[_0x3c1b30(0x19f)]():_0xe37741[_0x3c1b30(0x167)]();}),_0x44ff23;}[_0x488f64(0x19a)](){const _0x715e94=_0x488f64,_0x372549=this[_0x715e94(0x177)][_0x715e94(0x115)][_0x715e94(0x18e)](_0x38f8c5);this[_0x715e94(0x11f)]=new _0x171da8(this[_0x715e94(0x177)][_0x715e94(0x13b)],this[_0x715e94(0x187)],this[_0x715e94(0x177)][_0x715e94(0x15b)][_0x715e94(0x18e)](_0x715e94(0x137))),this[_0x715e94(0x11f)]['on'](_0x715e94(0x1ac),()=>{const _0x1541d3=_0x715e94;this[_0x1541d3(0x132)][_0x1541d3(0x15c)][_0x1541d3(0x182)]||this[_0x1541d3(0x132)][_0x1541d3(0x15c)][_0x1541d3(0x171)]();}),this[_0x715e94(0x11f)][_0x715e94(0x19d)][_0x715e94(0x164)][_0x715e94(0x174)]['on'](_0x715e94(0x1c0),()=>{const _0x4f3850=_0x715e94;this[_0x4f3850(0x132)][_0x4f3850(0x15c)][_0x4f3850(0x182)]||this[_0x4f3850(0x132)][_0x4f3850(0x15c)][_0x4f3850(0x171)]();}),this[_0x715e94(0x149)](this[_0x715e94(0x11f)],_0x715e94(0x141),()=>{const _0x483f50=_0x715e94;_0x372549[_0x483f50(0x185)](this[_0x483f50(0x179)][_0x483f50(0x168)]),this[_0x483f50(0x19f)]();}),this[_0x715e94(0x149)](this[_0x715e94(0x11f)],_0x715e94(0x14a),()=>{const _0x167623=_0x715e94;_0x372549[_0x167623(0x14a)](this[_0x167623(0x179)][_0x167623(0x168)]),this[_0x167623(0x19f)]();}),this[_0x715e94(0x193)]();}[_0x488f64(0x193)](){const _0x453f7f=_0x488f64,{locale:_0xd5f4a5,ui:{ariaLiveAnnouncer:_0x40ea43}}=this[_0x453f7f(0x177)];this[_0x453f7f(0x11f)][_0x453f7f(0x160)]['on'](_0x453f7f(0x183),(_0x541258,_0x40c66f,_0x26a5f1)=>{const _0x39ae15=_0x453f7f,_0x31cad8=this[_0x39ae15(0x179)][_0x39ae15(0x168)];_0x26a5f1?_0x40ea43[_0x39ae15(0x1bb)](_0x341649(_0xd5f4a5,_0x39ae15(0x11e))):_0x31cad8&&_0x40ea43[_0x39ae15(0x1bb)](_0x341649(_0xd5f4a5,_0x39ae15(0x19c),_0x31cad8),{'politeness':_0x39ae15(0x18a),'isUnsafeHTML':!0x0});}),this[_0x453f7f(0x11f)]['on'](_0x453f7f(0x119),(_0x41c84d,_0x16c83a,_0x1ef9ce)=>{const _0x49c320=_0x453f7f;if(_0x1ef9ce){const _0x4be255=this[_0x49c320(0x11f)][_0x49c320(0x191)][_0x49c320(0x17c)];_0x40ea43[_0x49c320(0x1bb)](_0x341649(_0xd5f4a5,_0x49c320(0x16a),_0x4be255));}});}[_0x488f64(0x16f)](_0x14a3e6){const _0x44292b=_0x488f64,_0xed8b26=this[_0x44292b(0x170)][_0x44292b(0x18e)](_0x14a3e6),_0x1396d9=this[_0x44292b(0x177)],_0x372064=_0x1396d9[_0x44292b(0x15f)][_0x44292b(0x1a1)][_0x44292b(0x1ad)],_0x168e21=_0x1396d9[_0x44292b(0x135)][_0x44292b(0x18e)](_0x44292b(0x19b)),_0x383abf=_0x1396d9[_0x44292b(0x115)][_0x44292b(0x18e)](_0x38f8c5),_0x314bd4=''+(_0xed8b26[_0x44292b(0x113)]!==_0x35aa4e?_0xed8b26[_0x44292b(0x192)]+':\x20':'')+_0xed8b26[_0x44292b(0x144)];if(!0x1!==_0xed8b26[_0x44292b(0x198)]&&_0x372064[_0x44292b(0x1af)]){const _0xe31bdf=_0x46a915(_0x372064[_0x44292b(0x11d)]())||_0x1396d9[_0x44292b(0x15f)][_0x44292b(0x1b1)][_0x44292b(0x12b)](_0x372064);_0x1396d9[_0x44292b(0x15f)][_0x44292b(0x154)](_0x352a72=>{const _0x487ed6=_0x44292b;_0x352a72[_0x487ed6(0x1b7)](_0xe31bdf,'in');});}_0x383abf[_0x44292b(0x1b2)](),_0x168e21[_0x44292b(0x167)](_0xed8b26[_0x44292b(0x128)],_0x314bd4,_0x44292b(0x1bf)+_0x14a3e6);}[_0x488f64(0x1be)](_0x31def8,_0x42fb03,_0x474e8a,_0x4ed94e){const _0x4bfdc9=_0x488f64,_0x21ff39=this[_0x4bfdc9(0x177)],_0x1289e7=_0x21ff39[_0x4bfdc9(0x13b)],_0xd1f8a7=new _0x211562(_0x1289e7),_0x39efe0=hi(_0x21ff39,_0x474e8a)[_0x4bfdc9(0x1bd)](_0x15c8f7=>_0x15c8f7[_0x4bfdc9(0x135)][_0x4bfdc9(0x178)]);0x1===_0x39efe0[_0x4bfdc9(0x178)]?this[_0x4bfdc9(0x1ab)]({'command':_0x31def8,'commands':_0x39efe0[0x0][_0x4bfdc9(0x135)],'parentMenuView':_0x42fb03,'onExecute':_0x4ed94e})[_0x4bfdc9(0x1c2)](_0x1991a0=>_0xd1f8a7[_0x4bfdc9(0x11a)][_0x4bfdc9(0x17f)](_0x1991a0)):_0x39efe0[_0x4bfdc9(0x1c2)](({groupId:_0x1d1363,groupLabel:_0x13fc49,commands:_0x44d465})=>{const _0x403637=_0x4bfdc9,_0x48786b=new _0x473b65(_0x1289e7,_0x42fb03),_0x285eb9=new _0x26f33e(_0x1289e7),_0xbfc6c2=new _0x211562(_0x1289e7),_0x309be=this[_0x403637(0x1ab)]({'command':_0x31def8,'commands':_0x44d465,'parentMenuView':_0x285eb9,'onExecute':_0x4ed94e});_0x285eb9[_0x403637(0x162)][_0x403637(0x14f)]({'label':_0x13fc49||_0x1d1363}),_0x285eb9[_0x403637(0x19e)](_0x403637(0x167))['to'](_0x42fb03),_0xbfc6c2[_0x403637(0x11a)][_0x403637(0x148)](_0x309be),_0x285eb9[_0x403637(0x195)][_0x403637(0x165)][_0x403637(0x17f)](_0xbfc6c2),_0x48786b[_0x403637(0x165)][_0x403637(0x17f)](_0x285eb9),_0xd1f8a7[_0x403637(0x11a)][_0x403637(0x17f)](_0x48786b);}),_0x42fb03[_0x4bfdc9(0x195)][_0x4bfdc9(0x165)][_0x4bfdc9(0x17f)](_0xd1f8a7);}[_0x488f64(0x1ab)]({command:_0x2f92c4,commands:_0x368d71,parentMenuView:_0x1e2049,onExecute:_0x53ae02}){const _0x17f5f5=_0x488f64,_0x5b33cf=this[_0x17f5f5(0x177)],_0x336aef=_0x5b33cf[_0x17f5f5(0x13b)];return hi(_0x5b33cf,_0x368d71)[_0x17f5f5(0x13c)](_0x24f4a1=>{const _0x34801c=_0x17f5f5,_0x5d0fef=new _0x473b65(_0x336aef,_0x1e2049),_0x167b4c=new _0x1495d9(_0x336aef);return _0x167b4c[_0x34801c(0x14f)]({'label':_0x24f4a1[_0x34801c(0x144)]}),_0x167b4c[_0x34801c(0x19e)](_0x34801c(0x167))['to'](_0x1e2049),_0x167b4c['on'](_0x34801c(0x167),()=>_0x53ae02(_0x24f4a1['id'])),_0x167b4c[_0x34801c(0x166)](_0x34801c(0x17e))['to'](_0x2f92c4,_0x34801c(0x17b),_0x555f21=>_0x555f21[_0x34801c(0x12a)](_0x24f4a1['id'])),_0x5d0fef[_0x34801c(0x165)][_0x34801c(0x17f)](_0x167b4c),_0x5d0fef;});}}function li(_0x2b66e6,_0x4ccef4){const _0x4fa311=_0x488f64;return void 0x0!==_0x2b66e6[_0x4fa311(0x1a8)]&&void 0x0===_0x4ccef4[_0x4fa311(0x1a8)]?0x1:void 0x0===_0x2b66e6[_0x4fa311(0x1a8)]&&void 0x0!==_0x4ccef4[_0x4fa311(0x1a8)]?-0x1:void 0x0!==_0x2b66e6[_0x4fa311(0x1a8)]&&void 0x0!==_0x4ccef4[_0x4fa311(0x1a8)]?_0x2b66e6[_0x4fa311(0x1a8)]-_0x4ccef4[_0x4fa311(0x1a8)]:0x0;}function hi(_0x4ccafc,_0x5a0f47){const _0x20f3e5=_0x488f64;_0x5a0f47[_0x20f3e5(0x1b8)](li);const _0x1143a5={},_0x5166bc=[];for(const _0x5876e7 of _0x5a0f47)if(void 0x0!==_0x5876e7[_0x20f3e5(0x1a8)]){if(_0x5876e7[_0x20f3e5(0x1a8)]in _0x1143a5)throw new _0xe9b8d3(_0x20f3e5(0x142),_0x4ccafc,{'conflictingDefinitions':[_0x5876e7,_0x1143a5[_0x5876e7[_0x20f3e5(0x1a8)]]]});_0x1143a5[_0x5876e7[_0x20f3e5(0x1a8)]]=_0x5876e7,_0x5166bc[_0x20f3e5(0x1a4)](_0x5876e7[_0x20f3e5(0x1a8)],0x0,_0x5876e7);}else _0x5166bc[_0x20f3e5(0x175)](_0x5876e7);return _0x5166bc;}
|
|
23
|
+
const _0xab209=_0x57bf;(function(_0x40e75f,_0x4d0c38){const _0x3a259b=_0x57bf,_0x4c1848=_0x40e75f();while(!![]){try{const _0x161e24=parseInt(_0x3a259b(0xc5))/0x1+parseInt(_0x3a259b(0xbe))/0x2+parseInt(_0x3a259b(0xab))/0x3*(-parseInt(_0x3a259b(0x133))/0x4)+parseInt(_0x3a259b(0xd5))/0x5+parseInt(_0x3a259b(0x141))/0x6+-parseInt(_0x3a259b(0xc3))/0x7+-parseInt(_0x3a259b(0xae))/0x8;if(_0x161e24===_0x4d0c38)break;else _0x4c1848['push'](_0x4c1848['shift']());}catch(_0x1c9646){_0x4c1848['push'](_0x4c1848['shift']());}}}(_0x566d,0x49f5b));import{Plugin as _0x38044b}from'ckeditor5/src/core.js';import{IconMagicWand as _0x349fd2,IconRobotPencil as _0x4d0e6b}from'ckeditor5/src/icons.js';import{first as _0x1cf81d,CKEditorError as _0xc2c221}from'ckeditor5/src/utils.js';import{createDropdown as _0x208f78,addMenuToDropdown as _0x47cf0d,ButtonView as _0x1a5284,MenuBarMenuListItemButtonView as _0x3eb8f8,Dialog as _0x4581b9,DialogViewPosition as _0x5c06e7,MenuBarMenuView as _0x57516b,MenuBarMenuListView as _0x3319c3,MenuBarMenuListItemView as _0x59fe04}from'ckeditor5/src/ui.js';function _0x566d(){const _0x1ad560=['AI\x20Commands','_dialog','bind','listenTo','_uiCssClasses','723632dLyfUX','errorView','isOfficialPlugin','text','enabledCommandsIds','4012785TddOkw','replaceContent','123776udQyYl','plugins','<p>','pluginName','body','aiAssistant','getLimitElement','announce','ck-ai-assistant-ui','filter','INSERT','Generated\x20content:\x20%0','domainLimit','ai.assistant.commands','featureNotAllowed','showAIAssistant','2442210gIRutU','requires','_createAIAssistantUIButton','polite','editing','change:enabledCommandsIds','set','selection','_showLicenseError','update','once','ai-commands-config-order-collision','componentFactory','isFlat','evaluationLimit','_getMenuBarGroupButtons','groupLabel','isEnabled','_forceMarkersCopy','updateView','rawHtml','includes','getData','sort','isPremiumPlugin','AI\x20Assistant','splice','AIAssistant','_commandDefinitions','groupId','aiLicenseKeyUsageLimit','_initAriaAiStatusChangeAnnouncements','tableOfContents','_initView','text/html','addMany','licenseKey','locale','_onExecute','menuView','panelView','aiLicenseKeyNotAllowed','_aiAdapter','aiLicenseKeyDomainLimit','comment','menuitemcheckbox','view','insertContentBelow','isOn','aiLicenseKeyInvalid','reset','delegate','ai.assistant.disabledElements','order','trim','buttonView','aiLicenseKeyValid','ck-ai-assistant-button\x20','ck-ai-commands-dropdown\x20','menuBar:aiAssistant','add','init','promptView','</p>','commands','Error\x20during\x20AI\x20content\x20generation:\x20%0','copy','menuBar:aiCommands','aiLicenseKeyEvaluationLimit','AI\x20is\x20writing','change:value','setSelection','getSelectedBlocks','change:isProcessing','media','push','fire','showUI','contentArea','buttons','replace','hide','source','map','_formView','AIAssistantUI','expired','focus','updatePosition','document','wasMoved','ai.assistant.useTheme','aiLicenseKeyTrialLimit','aiLicenseKeyExpired','1588MJvZmY','_licenseKeyCheckInterval','ai.assistant.contentAreaCssClass','currentContext','render','DataTransfer','insertContent','show','command:','destroy','usageLimit','queryView','change:isError','hideUI','3484404WQljci','fieldView','get','editor','textAdapter','forEach','isCollapsed','custom','aiCommands','_getResolvedCommandsDefinitions','items','getRanges','menuPanelClass','config','model','hideFakeVisualSelection','children','from','REPLACE','values','length','invalid','trialLimit','requiresContent','825DcMkoG','EDITOR_TOP_SIDE','prompt','4555192LEFCEF','_populateMenuBarMenu','showFakeVisualSelection','_aiAssistantController','schema','change','label','execute','define','getSelectedElement','\x20ck-ai-assistant-ui_theme'];_0x566d=function(){return _0x1ad560;};return _0x566d();}import{normalizeCommandsConfig as _0xea5ac5,UNGROUPED_COMMANDS_GROUP_ID as _0xb63487}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x371533}from'./aiassistantediting.js';import{AIAdapter as _0x15e5cb}from'./adapters/aiadapter.js';function _0x57bf(_0x346d04,_0x15402d){const _0x566d27=_0x566d();return _0x57bf=function(_0x57bf83,_0x50a9e2){_0x57bf83=_0x57bf83-0xa8;let _0xb1b382=_0x566d27[_0x57bf83];return _0xb1b382;},_0x57bf(_0x346d04,_0x15402d);}import{getTranslation as _0x27a5ce}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x1aa658}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4b6e79}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x687afd}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x30e4b4}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const dt=globalThis[_0xab209(0x138)];import{ClipboardMarkersUtils as _0x1fe585}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4cc43c,ViewDataTransfer as _0x4c44eb}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x38044b{[_0xab209(0xf9)];[_0xab209(0x134)];[_0xab209(0xba)];[_0xab209(0x129)];[_0xab209(0xff)];[_0xab209(0xb1)];[_0xab209(0xbd)]='';static get[_0xab209(0xc8)](){const _0x5347ce=_0xab209;return _0x5347ce(0x12a);}static get[_0xab209(0xc0)](){return!0x0;}static get[_0xab209(0xed)](){return!0x0;}static get[_0xab209(0xd6)](){return[_0x1fe585,_0x371533,_0x15e5cb,_0x4581b9];}constructor(_0x4fefc7){const _0x50031b=_0xab209;super(_0x4fefc7),_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0xb6)](_0x50031b(0x109),[_0x50031b(0x11f),_0x50031b(0xe9),_0x50031b(0xf5)]),_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0xb6)](_0x50031b(0x135),''),_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0xb6)](_0x50031b(0x130),!0x0),this[_0x50031b(0xbd)]=_0x50031b(0xcd)+(_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0x143)](_0x50031b(0x130))?_0x50031b(0xb8):'');}[_0xab209(0x112)](){const _0x44b5e9=_0xab209,{editor:_0x545ef2}=this;this[_0x44b5e9(0xff)]=_0x545ef2[_0x44b5e9(0xc6)][_0x44b5e9(0x143)](_0x15e5cb),this[_0x44b5e9(0xba)]=_0x545ef2[_0x44b5e9(0xc6)][_0x44b5e9(0x143)](_0x4581b9),this[_0x44b5e9(0x129)]=null,this[_0x44b5e9(0xf1)]=this[_0x44b5e9(0x14a)]();const _0x153b4a=new _0x1aa658(_0x545ef2,Array[_0x44b5e9(0x152)](this[_0x44b5e9(0xf1)][_0x44b5e9(0x154)]()));_0x545ef2[_0x44b5e9(0x115)][_0x44b5e9(0x111)](_0x44b5e9(0xd4),_0x153b4a),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0x149),_0xe81287=>{const _0x29027c=_0x44b5e9,_0x15f6cd=_0x208f78(_0xe81287);return _0x15f6cd[_0x29027c(0xdb)]({'class':_0x29027c(0x10f)+this[_0x29027c(0xbd)]}),_0x15f6cd[_0x29027c(0x10c)][_0x29027c(0xdb)]({'label':_0x27a5ce(_0xe81287,_0x29027c(0xb9)),'icon':_0x349fd2,'tooltip':!0x0}),_0x15f6cd['on'](_0x29027c(0xb5),_0x35aec2=>this[_0x29027c(0xfb)](_0x35aec2[_0x29027c(0x127)]['id'])),_0x47cf0d(_0x15f6cd,_0x545ef2['ui'][_0x29027c(0x103)][_0x29027c(0xc9)],function(_0x6764b6){const _0x5c428c=_0x29027c,_0x1b2644=_0xea5ac5(_0x6764b6[_0x5c428c(0x14e)][_0x5c428c(0x143)](_0x5c428c(0xd2)),_0x6764b6[_0x5c428c(0xfa)]),_0x5842f4=wi(_0x6764b6,_0x1b2644)[_0x5c428c(0xce)](_0x1143ad=>_0x1143ad[_0x5c428c(0x115)][_0x5c428c(0x155)]);if(0x1===_0x5842f4[_0x5c428c(0x155)])return wi(_0x6764b6,_0x5842f4[0x0][_0x5c428c(0x115)])[_0x5c428c(0x128)](_0x5f23c8=>({'id':_0x5f23c8['id'],'label':_0x5f23c8[_0x5c428c(0xb4)]}));return _0x5842f4[_0x5c428c(0x128)](_0x4d1cf1=>{const _0x4caf58=_0x5c428c,{groupId:_0x40b38a,groupLabel:_0x7dcde3,commands:_0x42baa4}=_0x4d1cf1,_0x443cee=wi(_0x6764b6,_0x42baa4)[_0x4caf58(0x128)](_0xfcd7cb=>({'id':_0xfcd7cb['id'],'label':_0xfcd7cb[_0x4caf58(0xb4)]}));return{'id':_0x40b38a,'menu':_0x7dcde3||_0x40b38a,'children':_0x443cee};});}(_0x545ef2),{'ariaLabel':_0x27a5ce(_0xe81287,_0x29027c(0xb9))}),_0x15f6cd[_0x29027c(0xfc)][_0x29027c(0x14d)]=_0x29027c(0x10f)+this[_0x29027c(0xbd)],_0x153b4a['on'](_0x29027c(0xda),_0x193b58),_0x15f6cd[_0x29027c(0xfc)][_0x29027c(0xdf)](_0x29027c(0x137),_0x193b58),_0x15f6cd;function _0x193b58(){const _0x39fe21=_0x29027c;_0x15f6cd[_0x39fe21(0xe6)]=_0x153b4a[_0x39fe21(0xc2)][_0x39fe21(0x155)]>0x0;for(const _0x2b34e5 of _0x15f6cd[_0x39fe21(0xfc)][_0x39fe21(0x124)])_0x2b34e5[_0x39fe21(0xe6)]=_0x153b4a[_0x39fe21(0xc2)][_0x39fe21(0xea)](_0x2b34e5['id']);}}),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0x118),_0x172d35=>{const _0x448730=_0x44b5e9,_0x2c85f3=new _0x57516b(_0x172d35);_0x2c85f3[_0x448730(0x10c)][_0x448730(0xdb)]({'label':_0x27a5ce(_0x172d35,_0x448730(0xb9)),'icon':_0x349fd2}),_0x2c85f3[_0x448730(0xbb)](_0x448730(0xe6))['to'](_0x153b4a,_0x448730(0xc2),_0x3d70fd=>_0x3d70fd[_0x448730(0x155)]>0x0);const _0x334d37=_0xea5ac5(_0x545ef2[_0x448730(0x14e)][_0x448730(0x143)](_0x448730(0xd2)),_0x172d35);return this[_0x448730(0xaf)](_0x153b4a,_0x2c85f3,_0x334d37,_0x31b028=>this[_0x448730(0xfb)](_0x31b028)),_0x2c85f3;}),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0xca),()=>{const _0x6821ba=_0x44b5e9,_0xee4007=this[_0x6821ba(0xd7)](_0x1a5284);return _0xee4007[_0x6821ba(0xdb)]({'tooltip':!0x0,'class':_0x6821ba(0x10e)+this[_0x6821ba(0xbd)]}),_0xee4007;}),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0x110),()=>{const _0x1f11da=_0x44b5e9,_0x6d51a4=this[_0x1f11da(0xd7)](_0x3eb8f8);return _0x6d51a4[_0x1f11da(0xdb)]({'role':_0x1f11da(0x102)}),_0x6d51a4;}),this[_0x44b5e9(0xf9)]=this[_0x44b5e9(0x144)][_0x44b5e9(0x14e)][_0x44b5e9(0x143)](_0x44b5e9(0xf9));const _0x3d0098=this[_0x44b5e9(0x144)];this[_0x44b5e9(0x134)]=setInterval(()=>{const _0x6bb212=_0x44b5e9;let _0x2e69d6;for(const _0x4bda4f in _0x3d0098){const _0x7310e0=_0x4bda4f,_0x2bfd38=_0x3d0098[_0x7310e0];if(_0x6bb212(0x10d)==_0x2bfd38||_0x6bb212(0x106)==_0x2bfd38||_0x6bb212(0x132)==_0x2bfd38||_0x6bb212(0x100)==_0x2bfd38||_0x6bb212(0xfe)==_0x2bfd38||_0x6bb212(0x119)==_0x2bfd38||_0x6bb212(0x131)==_0x2bfd38||_0x6bb212(0xf3)==_0x2bfd38){delete _0x3d0098[_0x7310e0],_0x2e69d6=_0x2bfd38,clearInterval(this[_0x6bb212(0x134)]),this[_0x6bb212(0x134)]=void 0x0;break;}}_0x6bb212(0x106)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xa8)),_0x6bb212(0x132)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0x12b)),_0x6bb212(0x100)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xd1)),_0x6bb212(0xfe)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xd3),_0x6bb212(0xf0)),_0x6bb212(0x119)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xe3)),_0x6bb212(0x131)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xa9)),_0x6bb212(0xf3)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0x13d));},0x3e8);}[_0xab209(0x13c)](){const _0x3a6043=_0xab209;super[_0x3a6043(0x13c)](),this[_0x3a6043(0x134)]&&clearInterval(this[_0x3a6043(0x134)]);}[_0xab209(0x122)](_0x211b0a='',_0x5d4b98='',_0x20c7f0=_0xab209(0x148)){const _0x27ab7b=_0xab209,_0x55c727=this[_0x27ab7b(0x144)],_0x1569a8=_0x55c727[_0x27ab7b(0xd9)][_0x27ab7b(0x103)],_0x2e6ea5=_0x55c727[_0x27ab7b(0xc6)][_0x27ab7b(0x143)](_0x371533),_0x5a7219=_0x55c727[_0x27ab7b(0xc6)][_0x27ab7b(0x143)](_0x1fe585);_0x2e6ea5[_0x27ab7b(0xb0)]();const _0x5e91dd=new dt(),_0x55fe1b=new ClipboardEvent(_0x27ab7b(0x117),{'clipboardData':_0x5e91dd}),_0x236656=new _0x4c44eb(_0x5e91dd),_0x576765=new _0x4cc43c(_0x1569a8,_0x55fe1b,{'dataTransfer':_0x236656});_0x5a7219[_0x27ab7b(0xe7)](_0x27ab7b(0x101),()=>{const _0x3821d0=_0x27ab7b;_0x1569a8[_0x3821d0(0x12e)][_0x3821d0(0x121)](_0x3821d0(0x117),_0x576765);}),this[_0x27ab7b(0x129)]||(this[_0x27ab7b(0xf6)](),this[_0x27ab7b(0xb1)]=new _0x4b6e79(_0x55c727,this[_0x27ab7b(0xff)][_0x27ab7b(0x145)],this[_0x27ab7b(0x129)]));let _0x2da2c4=_0x236656[_0x27ab7b(0xeb)](_0x27ab7b(0xf7));const _0x31d5c9=_0x55c727[_0x27ab7b(0x14f)][_0x27ab7b(0x12e)][_0x27ab7b(0xdc)],_0x4dde34=Array[_0x27ab7b(0x152)](_0x31d5c9[_0x27ab7b(0x14c)]());0x1===_0x4dde34[_0x27ab7b(0x155)]&&_0x4dde34[0x0][_0x27ab7b(0xe2)]&&!_0x31d5c9[_0x27ab7b(0xb7)]()&&''!==_0x2da2c4[_0x27ab7b(0x125)](/ /g,'')[_0x27ab7b(0x10b)]()&&(_0x2da2c4=_0x27ab7b(0xc7)+_0x2da2c4+_0x27ab7b(0x114)),this[_0x27ab7b(0xb1)][_0x27ab7b(0xe8)]({'actionId':_0x20c7f0,'query':_0x211b0a,'htmlContent':_0x2da2c4,'label':_0x5d4b98,'mainActionLabel':_0x30e4b4[_0x55c727[_0x27ab7b(0x14f)][_0x27ab7b(0x12e)][_0x27ab7b(0xdc)][_0x27ab7b(0x147)]?_0x27ab7b(0xcf):_0x27ab7b(0x153)]}),_0x27ab7b(0xca)!==this[_0x27ab7b(0xba)]['id']?this[_0x27ab7b(0xba)][_0x27ab7b(0x13a)]({'id':_0x27ab7b(0xca),'icon':_0x4d0e6b,'title':_0x27a5ce(this[_0x27ab7b(0x144)][_0x27ab7b(0xfa)],_0x27ab7b(0xee)),'content':this[_0x27ab7b(0x129)],'position':_0x5c06e7[_0x27ab7b(0xac)],'onShow':()=>{const _0x32ede4=_0x27ab7b;this[_0x32ede4(0x129)][_0x32ede4(0x12c)]();},'onHide':()=>{const _0x483033=_0x27ab7b;this[_0x483033(0xb1)][_0x483033(0x107)](),_0x2e6ea5[_0x483033(0x150)]();}}):this[_0x27ab7b(0xba)][_0x27ab7b(0x103)][_0x27ab7b(0x12f)]||this[_0x27ab7b(0xba)][_0x27ab7b(0x103)][_0x27ab7b(0x12d)]();}[_0xab209(0x140)](){const _0x11584a=_0xab209;this[_0x11584a(0xba)][_0x11584a(0x126)]();}[_0xab209(0x14a)](){const _0x2722df=_0xab209,_0x1ac037=new Map(),_0x114c8c=_0xea5ac5(this[_0x2722df(0x144)][_0x2722df(0x14e)][_0x2722df(0x143)](_0x2722df(0xd2)),this[_0x2722df(0x144)][_0x2722df(0xfa)]);for(const _0x36b6f7 of _0x114c8c)for(const _0xc20f84 of _0x36b6f7[_0x2722df(0x115)])_0x1ac037[_0x2722df(0xdb)](_0xc20f84['id'],{..._0xc20f84,'groupId':_0x36b6f7[_0x2722df(0xf2)],'groupLabel':_0x36b6f7[_0x2722df(0xe5)]||_0x36b6f7[_0x2722df(0xf2)]});return _0x1ac037;}[_0xab209(0xd7)](_0x111bc9){const _0x30a7cb=_0xab209,_0x596340=this[_0x30a7cb(0x144)],_0x1df50b=_0x596340[_0x30a7cb(0x115)][_0x30a7cb(0x143)](_0x30a7cb(0xd4)),_0x5fea4a=new _0x111bc9(_0x596340[_0x30a7cb(0xfa)]);return _0x5fea4a[_0x30a7cb(0xdb)]({'label':_0x27a5ce(_0x596340[_0x30a7cb(0xfa)],_0x30a7cb(0xee)),'icon':_0x4d0e6b,'isToggleable':!0x0}),_0x5fea4a[_0x30a7cb(0xbb)](_0x30a7cb(0xe6))['to'](_0x1df50b),_0x5fea4a[_0x30a7cb(0xbb)](_0x30a7cb(0x105))['to'](this[_0x30a7cb(0xba)],'id',_0x20714f=>_0x30a7cb(0xca)===_0x20714f),this[_0x30a7cb(0xbc)](_0x5fea4a,_0x30a7cb(0xb5),()=>{const _0x14da10=_0x30a7cb;_0x5fea4a[_0x14da10(0x105)]?this[_0x14da10(0x140)]():_0x1df50b[_0x14da10(0xb5)]();}),_0x5fea4a;}[_0xab209(0xf6)](){const _0x539371=_0xab209,_0x11f20d=this[_0x539371(0x144)][_0x539371(0xc6)][_0x539371(0x143)](_0x371533);this[_0x539371(0x129)]=new _0x687afd(this[_0x539371(0x144)][_0x539371(0xfa)],this[_0x539371(0xbd)],this[_0x539371(0x144)][_0x539371(0x14e)][_0x539371(0x143)](_0x539371(0x135))),this[_0x539371(0x129)]['on'](_0x539371(0x11b),()=>{const _0x566ddc=_0x539371;this[_0x566ddc(0xba)][_0x566ddc(0x103)][_0x566ddc(0x12f)]||this[_0x566ddc(0xba)][_0x566ddc(0x103)][_0x566ddc(0x12d)]();}),this[_0x539371(0x129)][_0x539371(0x113)][_0x539371(0x13e)][_0x539371(0x142)]['on'](_0x539371(0xde),()=>{const _0x56058b=_0x539371;this[_0x56058b(0xba)][_0x56058b(0x103)][_0x56058b(0x12f)]||this[_0x56058b(0xba)][_0x56058b(0x103)][_0x56058b(0x12d)]();}),this[_0x539371(0xbc)](this[_0x539371(0x129)],_0x539371(0xc4),()=>{const _0x16bb51=_0x539371;_0x11f20d[_0x16bb51(0x139)](this[_0x16bb51(0xb1)][_0x16bb51(0x136)]),this[_0x16bb51(0x140)]();}),this[_0x539371(0xbc)](this[_0x539371(0x129)],_0x539371(0x104),()=>{const _0x59807a=_0x539371;_0x11f20d[_0x59807a(0x104)](this[_0x59807a(0xb1)][_0x59807a(0x136)]),this[_0x59807a(0x140)]();}),this[_0x539371(0xf4)]();}[_0xab209(0xf4)](){const _0x130f1d=_0xab209,{locale:_0xdc0bc0,ui:{ariaLiveAnnouncer:_0x43afbf}}=this[_0x130f1d(0x144)];this[_0x130f1d(0x129)][_0x130f1d(0x123)]['on'](_0x130f1d(0x11e),(_0x18e225,_0x1ebf63,_0x4c0cf2)=>{const _0x59d02d=_0x130f1d,_0x55cd33=this[_0x59d02d(0xb1)][_0x59d02d(0x136)];_0x4c0cf2?_0x43afbf[_0x59d02d(0xcc)](_0x27a5ce(_0xdc0bc0,_0x59d02d(0x11a))):_0x55cd33&&_0x43afbf[_0x59d02d(0xcc)](_0x27a5ce(_0xdc0bc0,_0x59d02d(0xd0),_0x55cd33),{'politeness':_0x59d02d(0xd8),'isUnsafeHTML':!0x0});}),this[_0x130f1d(0x129)]['on'](_0x130f1d(0x13f),(_0x26d565,_0x4cc04d,_0x305e91)=>{const _0x5ca5a9=_0x130f1d;if(_0x305e91){const _0x5e12f4=this[_0x5ca5a9(0x129)][_0x5ca5a9(0xbf)][_0x5ca5a9(0xc1)];_0x43afbf[_0x5ca5a9(0xcc)](_0x27a5ce(_0xdc0bc0,_0x5ca5a9(0x116),_0x5e12f4));}});}[_0xab209(0xfb)](_0x55a0b3){const _0x4c571e=_0xab209,_0x8ed224=this[_0x4c571e(0xf1)][_0x4c571e(0x143)](_0x55a0b3),_0x15f8f7=this[_0x4c571e(0x144)],_0x3f07f3=_0x15f8f7[_0x4c571e(0x14f)][_0x4c571e(0x12e)][_0x4c571e(0xdc)],_0x43e443=_0x15f8f7[_0x4c571e(0x115)][_0x4c571e(0x143)](_0x4c571e(0xd4)),_0x436171=_0x15f8f7[_0x4c571e(0xc6)][_0x4c571e(0x143)](_0x371533),_0x8da1c1=''+(_0x8ed224[_0x4c571e(0xf2)]!==_0xb63487?_0x8ed224[_0x4c571e(0xe5)]+':\x20':'')+_0x8ed224[_0x4c571e(0xb4)];if(!0x1!==_0x8ed224[_0x4c571e(0xaa)]&&_0x3f07f3[_0x4c571e(0x147)]){const _0x255327=_0x1cf81d(_0x3f07f3[_0x4c571e(0x11d)]())||_0x15f8f7[_0x4c571e(0x14f)][_0x4c571e(0xb2)][_0x4c571e(0xcb)](_0x3f07f3);_0x15f8f7[_0x4c571e(0x14f)][_0x4c571e(0xb3)](_0x470b0c=>{const _0x5f4a92=_0x4c571e;_0x470b0c[_0x5f4a92(0x11c)](_0x255327,'in');});}_0x436171[_0x4c571e(0xb0)](),_0x43e443[_0x4c571e(0xb5)](_0x8ed224[_0x4c571e(0xad)],_0x8da1c1,_0x4c571e(0x13b)+_0x55a0b3);}[_0xab209(0xaf)](_0x24c672,_0x42c666,_0x53ee91,_0x2343a0){const _0xe9a455=_0xab209,_0x1aeef0=this[_0xe9a455(0x144)],_0x3260ee=_0x1aeef0[_0xe9a455(0xfa)],_0x183937=new _0x3319c3(_0x3260ee),_0x701d16=wi(_0x1aeef0,_0x53ee91)[_0xe9a455(0xce)](_0x599539=>_0x599539[_0xe9a455(0x115)][_0xe9a455(0x155)]);0x1===_0x701d16[_0xe9a455(0x155)]?this[_0xe9a455(0xe4)]({'command':_0x24c672,'commands':_0x701d16[0x0][_0xe9a455(0x115)],'parentMenuView':_0x42c666,'onExecute':_0x2343a0})[_0xe9a455(0x146)](_0x74cd38=>_0x183937[_0xe9a455(0x14b)][_0xe9a455(0x111)](_0x74cd38)):_0x701d16[_0xe9a455(0x146)](({groupId:_0x20dc13,groupLabel:_0x25d469,commands:_0x2054e5})=>{const _0x49ffe1=_0xe9a455,_0x3a2f47=new _0x59fe04(_0x3260ee,_0x42c666),_0x19b9b8=new _0x57516b(_0x3260ee),_0x267cfa=new _0x3319c3(_0x3260ee),_0x48a007=this[_0x49ffe1(0xe4)]({'command':_0x24c672,'commands':_0x2054e5,'parentMenuView':_0x19b9b8,'onExecute':_0x2343a0});_0x19b9b8[_0x49ffe1(0x10c)][_0x49ffe1(0xdb)]({'label':_0x25d469||_0x20dc13}),_0x19b9b8[_0x49ffe1(0x108)](_0x49ffe1(0xb5))['to'](_0x42c666),_0x267cfa[_0x49ffe1(0x14b)][_0x49ffe1(0xf8)](_0x48a007),_0x19b9b8[_0x49ffe1(0xfd)][_0x49ffe1(0x151)][_0x49ffe1(0x111)](_0x267cfa),_0x3a2f47[_0x49ffe1(0x151)][_0x49ffe1(0x111)](_0x19b9b8),_0x183937[_0x49ffe1(0x14b)][_0x49ffe1(0x111)](_0x3a2f47);}),_0x42c666[_0xe9a455(0xfd)][_0xe9a455(0x151)][_0xe9a455(0x111)](_0x183937);}[_0xab209(0xe4)]({command:_0x1e1928,commands:_0xa5c85c,parentMenuView:_0x3a4598,onExecute:_0x5b7057}){const _0x3842b2=_0xab209,_0x56ec02=this[_0x3842b2(0x144)],_0x430e4c=_0x56ec02[_0x3842b2(0xfa)];return wi(_0x56ec02,_0xa5c85c)[_0x3842b2(0x128)](_0x4b0674=>{const _0x36fee4=_0x3842b2,_0x1cf59e=new _0x59fe04(_0x430e4c,_0x3a4598),_0x14c848=new _0x3eb8f8(_0x430e4c);return _0x14c848[_0x36fee4(0xdb)]({'label':_0x4b0674[_0x36fee4(0xb4)]}),_0x14c848[_0x36fee4(0x108)](_0x36fee4(0xb5))['to'](_0x3a4598),_0x14c848['on'](_0x36fee4(0xb5),()=>_0x5b7057(_0x4b0674['id'])),_0x14c848[_0x36fee4(0xbb)](_0x36fee4(0xe6))['to'](_0x1e1928,_0x36fee4(0xc2),_0x5dfed1=>_0x5dfed1[_0x36fee4(0xea)](_0x4b0674['id'])),_0x1cf59e[_0x36fee4(0x151)][_0x36fee4(0x111)](_0x14c848),_0x1cf59e;});}}function Ai(_0x235459,_0x10ef43){const _0x162550=_0xab209;return void 0x0!==_0x235459[_0x162550(0x10a)]&&void 0x0===_0x10ef43[_0x162550(0x10a)]?0x1:void 0x0===_0x235459[_0x162550(0x10a)]&&void 0x0!==_0x10ef43[_0x162550(0x10a)]?-0x1:void 0x0!==_0x235459[_0x162550(0x10a)]&&void 0x0!==_0x10ef43[_0x162550(0x10a)]?_0x235459[_0x162550(0x10a)]-_0x10ef43[_0x162550(0x10a)]:0x0;}function wi(_0x5865d9,_0x484a04){const _0x45e269=_0xab209;_0x484a04[_0x45e269(0xec)](Ai);const _0x50de33={},_0x57026c=[];for(const _0x3f7f94 of _0x484a04)if(void 0x0!==_0x3f7f94[_0x45e269(0x10a)]){if(_0x3f7f94[_0x45e269(0x10a)]in _0x50de33)throw new _0xc2c221(_0x45e269(0xe0),_0x5865d9,{'conflictingDefinitions':[_0x3f7f94,_0x50de33[_0x3f7f94[_0x45e269(0x10a)]]]});_0x50de33[_0x3f7f94[_0x45e269(0x10a)]]=_0x3f7f94,_0x57026c[_0x45e269(0xef)](_0x3f7f94[_0x45e269(0x10a)],0x0,_0x3f7f94);}else _0x57026c[_0x45e269(0x120)](_0x3f7f94);return _0x57026c;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3aa0ac,_0x559491){var _0x10676f=_0x1437,_0x5d5d28=_0x3aa0ac();while(!![]){try{var _0x69aa22=parseInt(_0x10676f(0x193))/0x1*(parseInt(_0x10676f(0x190))/0x2)+parseInt(_0x10676f(0x197))/0x3*(-parseInt(_0x10676f(0x194))/0x4)+parseInt(_0x10676f(0x18f))/0x5*(-parseInt(_0x10676f(0x195))/0x6)+-parseInt(_0x10676f(0x18e))/0x7+parseInt(_0x10676f(0x18d))/0x8*(parseInt(_0x10676f(0x196))/0x9)+-parseInt(_0x10676f(0x191))/0xa+parseInt(_0x10676f(0x192))/0xb;if(_0x69aa22===_0x559491)break;else _0x5d5d28['push'](_0x5d5d28['shift']());}catch(_0x52aa6f){_0x5d5d28['push'](_0x5d5d28['shift']());}}}(_0x5aa0,0xc26c3));function _0x1437(_0x5cb898,_0x4785e6){var _0x5aa0ad=_0x5aa0();return _0x1437=function(_0x143704,_0x346957){_0x143704=_0x143704-0x18d;var _0x26b244=_0x5aa0ad[_0x143704];return _0x26b244;},_0x1437(_0x5cb898,_0x4785e6);}import{CKEditorError as _0x5f3d74}from'ckeditor5/src/utils.js';function _0x5aa0(){var _0x460a5d=['20684510oOHaJm','5312QgvJoX','278964FJhbxg','42lruXgC','9DtjmiF','33CQytCQ','9771640sWbIUD','3294550fXtziA','692330jUlmAY','380CKWXCN','11077270NbPukF'];_0x5aa0=function(){return _0x460a5d;};return _0x5aa0();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x59ef(_0x2636c4,_0x27b1fb){const _0x202fd5=_0x202f();return _0x59ef=function(_0x59ef78,_0x1d63c4){_0x59ef78=_0x59ef78-0x8c;let _0x1d9e69=_0x202fd5[_0x59ef78];return _0x1d9e69;},_0x59ef(_0x2636c4,_0x27b1fb);}const _0x5d7da1=_0x59ef;(function(_0x2c1c22,_0x185280){const _0x1307b7=_0x59ef,_0x51d493=_0x2c1c22();while(!![]){try{const _0x4cd8ad=-parseInt(_0x1307b7(0xb2))/0x1+-parseInt(_0x1307b7(0xe5))/0x2*(-parseInt(_0x1307b7(0x95))/0x3)+-parseInt(_0x1307b7(0x98))/0x4+parseInt(_0x1307b7(0x9d))/0x5+parseInt(_0x1307b7(0xd0))/0x6+-parseInt(_0x1307b7(0x9e))/0x7*(-parseInt(_0x1307b7(0xa9))/0x8)+-parseInt(_0x1307b7(0xba))/0x9;if(_0x4cd8ad===_0x185280)break;else _0x51d493['push'](_0x51d493['shift']());}catch(_0x4297b9){_0x51d493['push'](_0x51d493['shift']());}}}(_0x202f,0x9925e));import{ObservableMixin as _0x12ff9b}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3442c8}from'../adapters/aiadapter.js';import{Matcher as _0x31ad4d,ViewUpcastWriter as _0x5e4fa8}from'ckeditor5/src/engine.js';const fs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x202f(){const _0xeb5ac9=['previousLabel','config','rename','listenTo','stringify','_stripMarkdownSyntax','ai.assistant.preserveComments','_sanitizeHTML','childNodes','previousActionId','1503240TLRhPj','_domParser','destroy','push','currentContext','editing','domConverter','makeRequest','trim','972055jHKXoh','data','textAdapter','_normalizeResponseHeadings','nodeType','catch','finally','set','9541548BtDTyT','reset','```html','get','finishProcessing','viewToDom','render','previousContext','currentResponse','element','markers','tryAgainEvent','initialContext','once','from','updateView','prompt','previousQuery','view','mainAction','parseFromString','isRendered','2046606KHgQBz','htmlProcessor','toView','clear','```','editor','_parseAndNormalizeContent','innerHTML','length','stopProcessing','div','startProcessing','remove','message','toModel','startsWith','document','substring','_sanitizationContainer','stopListening','body','1036286ldiBND','ELEMENT_NODE','match','processor','serializeToString','handleError','_handleQuery','name','abort','querySelector','value','isProcessing','setContentOf','<h1></h1>','reverse','createElement','endsWith','exec','_isH1TagSupportEnabled','6mYpOlw','_xmlSerializer','then','3476916MEcEsn','custom','set:currentContext','submitPrompt','text/html','6059190KQjPxN','35qYfAIR'];_0x202f=function(){return _0xeb5ac9;};return _0x202f();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x12ff9b(){[_0x5d7da1(0xd5)];[_0x5d7da1(0xb4)];[_0x5d7da1(0xcc)];[_0x5d7da1(0xe2)];[_0x5d7da1(0xaa)];[_0x5d7da1(0x96)];constructor(_0x245f8a,_0x3348fb,_0x237376){const _0x408ec0=_0x5d7da1;super(),this[_0x408ec0(0xd5)]=_0x245f8a,this[_0x408ec0(0xb4)]=_0x3348fb,this[_0x408ec0(0xe2)]=document[_0x408ec0(0x91)](_0x408ec0(0xda)),this[_0x408ec0(0xaa)]=new DOMParser(),this[_0x408ec0(0x96)]=new XMLSerializer(),this[_0x408ec0(0xcc)]=_0x237376,this[_0x408ec0(0xb9)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x408ec0(0x9a),(_0x441644,_0x1a41ed,_0x22c180)=>{const _0x1f9f44=_0x408ec0;this[_0x1f9f44(0xcc)][_0x1f9f44(0x8c)]=this[_0x1f9f44(0xa6)](_0x22c180);}),this[_0x408ec0(0xa2)](this[_0x408ec0(0xcc)],_0x408ec0(0x9b),(_0x23b15f,_0x50a046)=>{const _0x2fa79f=_0x408ec0,_0x201a58=this[_0x2fa79f(0xad)]||this[_0x2fa79f(0xc6)];this[_0x2fa79f(0xeb)](_0x50a046,_0x201a58,_0x2fa79f(0x99));}),this[_0x408ec0(0xa2)](this[_0x408ec0(0xcc)],_0x408ec0(0xc5),()=>{const _0x4f34d4=_0x408ec0;this[_0x4f34d4(0xcc)][_0x4f34d4(0xca)]=this[_0x4f34d4(0x9f)],this[_0x4f34d4(0xeb)](this[_0x4f34d4(0xcb)],this[_0x4f34d4(0xc1)],this[_0x4f34d4(0xa8)],this[_0x4f34d4(0x9f)]);}),this[_0x408ec0(0xa2)](this[_0x408ec0(0xcc)],_0x408ec0(0xd9),()=>{const _0x4fefaf=_0x408ec0;this[_0x4fefaf(0xd9)]();});}[_0x5d7da1(0xab)](){const _0x2139f0=_0x5d7da1;this[_0x2139f0(0xe3)]();}async[_0x5d7da1(0xc9)]({actionId:_0x3482f3,query:_0x3a2dd1,htmlContent:_0x440ba5,label:_0x5aaf31,mainActionLabel:_0x4f3684}){const _0x11d5d5=_0x5d7da1;this[_0x11d5d5(0xcc)][_0x11d5d5(0xca)]=_0x5aaf31,this[_0x11d5d5(0xcc)][_0x11d5d5(0xcd)]=_0x4f3684,this[_0x11d5d5(0xc6)]=_0x440ba5,_0x3a2dd1&&(this[_0x11d5d5(0xcc)][_0x11d5d5(0xcf)]?this[_0x11d5d5(0xeb)](_0x3a2dd1,_0x440ba5,_0x3482f3,_0x5aaf31):this[_0x11d5d5(0xcc)][_0x11d5d5(0xc7)](_0x11d5d5(0xc0),()=>{const _0x203662=_0x11d5d5;this[_0x203662(0xeb)](_0x3a2dd1,_0x440ba5,_0x3482f3,_0x5aaf31);}));}[_0x5d7da1(0xd9)](){const _0x317379=_0x5d7da1;this[_0x317379(0x8d)]&&(this[_0x317379(0x8d)]=!0x1,this[_0x317379(0xcc)][_0x317379(0xbe)](),this[_0x317379(0xb4)][_0x317379(0xed)]());}[_0x5d7da1(0xbb)](){const _0x13a4ea=_0x5d7da1;this[_0x13a4ea(0xc6)]='',this[_0x13a4ea(0xad)]='',this[_0x13a4ea(0xc2)]='',this[_0x13a4ea(0xc1)]='',this[_0x13a4ea(0xcb)]='',this[_0x13a4ea(0x9f)]='',this[_0x13a4ea(0xa8)]=void 0x0,this[_0x13a4ea(0xcc)][_0x13a4ea(0xbb)](),this[_0x13a4ea(0xd9)]();}async[_0x5d7da1(0xeb)](_0xff4565,_0x45c714,_0x254ac3,_0x581622){const _0xb6e3fb=_0x5d7da1;return this[_0xb6e3fb(0x8d)]=!0x0,this[_0xb6e3fb(0xcc)][_0xb6e3fb(0xdb)](),this[_0xb6e3fb(0xc1)]=_0x45c714,this[_0xb6e3fb(0xcb)]=_0xff4565,this[_0xb6e3fb(0x9f)]=_0x581622||_0xff4565,this[_0xb6e3fb(0xa8)]=_0x254ac3,new Promise(_0x5e993b=>{const _0x5d821e=_0xb6e3fb;this[_0x5d821e(0xb4)][_0x5d821e(0xb0)]({'query':_0xff4565,'context':_0x45c714,'onData':_0x1ffdd0=>{const _0x4f7269=_0x5d821e;this[_0x4f7269(0xc2)]=_0x1ffdd0,this[_0x4f7269(0xad)]=this[_0x4f7269(0xd6)](this[_0x4f7269(0xc2)]);},'actionId':_0x254ac3})[_0x5d821e(0x97)](()=>{const _0x2c0aa7=_0x5d821e;!this[_0x2c0aa7(0xad)]&&this[_0x2c0aa7(0xc2)]&&(this[_0x2c0aa7(0xad)]=this[_0x2c0aa7(0xd6)](this[_0x2c0aa7(0xc2)],!0x0));})[_0x5d821e(0xb7)](_0x379dca=>{const _0x1ad981=_0x5d821e;_0x379dca instanceof _0x3442c8?this[_0x1ad981(0xcc)][_0x1ad981(0xea)](_0x379dca[_0x1ad981(0xdd)]):this[_0x1ad981(0xcc)][_0x1ad981(0xea)](),_0x5e993b();})[_0x5d821e(0xb8)](()=>{const _0x242d53=_0x5d821e;this[_0x242d53(0xd9)](),_0x5e993b();});});}[_0x5d7da1(0xd6)](_0x1bbf40,_0x311bfa=!0x1){const _0x5434f6=_0x5d7da1,_0x37b848=fs[_0x5434f6(0x93)](_0x1bbf40);_0x1bbf40=_0x37b848?_0x1bbf40[_0x5434f6(0xe1)](_0x37b848[0x1][_0x5434f6(0xd8)]):_0x1bbf40[_0x5434f6(0xd8)]<0x64&&!_0x311bfa?'':this[_0x5434f6(0xa4)](_0x1bbf40);const _0x9bb2cf=this[_0x5434f6(0xaa)][_0x5434f6(0xce)](_0x1bbf40,_0x5434f6(0x9c));if(_0x37b848){const _0x1dc91e=Array[_0x5434f6(0xc8)](_0x9bb2cf[_0x5434f6(0xe4)][_0x5434f6(0xa7)]);_0x1dc91e[_0x5434f6(0x90)]();for(const _0x129e83 of _0x1dc91e){if(_0x129e83[_0x5434f6(0xb6)]==Node[_0x5434f6(0xe6)])break;_0x129e83[_0x5434f6(0xdc)]();}}const _0x58975a=this[_0x5434f6(0xd5)][_0x5434f6(0xb3)][_0x5434f6(0xe8)][_0x5434f6(0xd2)](this[_0x5434f6(0x96)][_0x5434f6(0xe9)](_0x9bb2cf[_0x5434f6(0xe4)]));this[_0x5434f6(0x94)]()||this[_0x5434f6(0xb5)](_0x58975a);const _0x22d4e4=this[_0x5434f6(0xd5)][_0x5434f6(0xa0)][_0x5434f6(0xbd)](_0x5434f6(0xa5)),_0x1ec77a=this[_0x5434f6(0xd5)][_0x5434f6(0xb3)][_0x5434f6(0xde)](_0x58975a);return _0x22d4e4||_0x1ec77a[_0x5434f6(0xc4)][_0x5434f6(0xd3)](),this[_0x5434f6(0xd5)][_0x5434f6(0xb3)][_0x5434f6(0xa3)](_0x1ec77a);}[_0x5d7da1(0xb5)](_0x1eb2ce){const _0x3d2cf6=_0x5d7da1,_0x3040e7=new _0x5e4fa8(this[_0x3d2cf6(0xd5)][_0x3d2cf6(0xae)][_0x3d2cf6(0xcc)][_0x3d2cf6(0xe0)]),_0x360f64=new _0x31ad4d({'name':/^h[1-5]$/}),_0x1eb605=[];let _0x4cafde=!0x1;for(const _0x4de266 of _0x1eb2ce)_0x4de266['is'](_0x3d2cf6(0xc3))&&_0x360f64[_0x3d2cf6(0xe7)](_0x4de266)&&(_0x1eb605[_0x3d2cf6(0xac)](_0x4de266),'h1'==_0x4de266[_0x3d2cf6(0xec)]&&(_0x4cafde=!0x0));if(_0x4cafde){for(const _0x5449da of _0x1eb605)_0x3040e7[_0x3d2cf6(0xa1)]('h'+(parseInt(_0x5449da[_0x3d2cf6(0xec)][0x1])+0x1),_0x5449da);}}[_0x5d7da1(0x94)](){const _0x2f5b99=_0x5d7da1,{data:_0x294370,editing:_0x47f9c4}=this[_0x2f5b99(0xd5)],_0x7c4618=_0x294370[_0x2f5b99(0xd1)][_0x2f5b99(0xd2)](_0x2f5b99(0x8f)),_0x4181b0=_0x294370[_0x2f5b99(0xd2)](_0x294370[_0x2f5b99(0xde)](_0x7c4618));return!!_0x47f9c4[_0x2f5b99(0xcc)][_0x2f5b99(0xaf)][_0x2f5b99(0xbf)](_0x4181b0)[_0x2f5b99(0xee)]('h1');}[_0x5d7da1(0xa6)](_0x425f5a){const _0x1592f1=_0x5d7da1;return this[_0x1592f1(0xd5)][_0x1592f1(0xae)][_0x1592f1(0xcc)][_0x1592f1(0xaf)][_0x1592f1(0x8e)](this[_0x1592f1(0xe2)],_0x425f5a),this[_0x1592f1(0xe2)][_0x1592f1(0xd7)];}[_0x5d7da1(0xa4)](_0x4bdbb6){const _0x45497a=_0x5d7da1,_0x31b846=_0x4bdbb6[_0x45497a(0xb1)]();return _0x31b846[_0x45497a(0xdf)](_0x45497a(0xbc))?_0x31b846[_0x45497a(0x92)](_0x45497a(0xd4))?_0x31b846[_0x45497a(0xe1)](0x7,_0x31b846[_0x45497a(0xd8)]-0x3):_0x31b846[_0x45497a(0xe1)](0x7):_0x4bdbb6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2c67aa=_0x1d3d;function _0x1d3d(_0x4b88c4,_0xfc84da){const _0xa018e3=_0xa018();return _0x1d3d=function(_0x1d3d7a,_0x30ef8e){_0x1d3d7a=_0x1d3d7a-0x190;let _0x5d606f=_0xa018e3[_0x1d3d7a];return _0x5d606f;},_0x1d3d(_0x4b88c4,_0xfc84da);}(function(_0x524cb2,_0x292794){const _0x580678=_0x1d3d,_0x5bc536=_0x524cb2();while(!![]){try{const _0x29ce5f=parseInt(_0x580678(0x1c0))/0x1+-parseInt(_0x580678(0x1bc))/0x2*(-parseInt(_0x580678(0x194))/0x3)+-parseInt(_0x580678(0x1a8))/0x4*(parseInt(_0x580678(0x1b7))/0x5)+-parseInt(_0x580678(0x1b4))/0x6*(-parseInt(_0x580678(0x1c7))/0x7)+-parseInt(_0x580678(0x1e3))/0x8*(parseInt(_0x580678(0x195))/0x9)+-parseInt(_0x580678(0x1ac))/0xa*(-parseInt(_0x580678(0x1e2))/0xb)+-parseInt(_0x580678(0x1e4))/0xc;if(_0x29ce5f===_0x292794)break;else _0x5bc536['push'](_0x5bc536['shift']());}catch(_0xb07d94){_0x5bc536['push'](_0x5bc536['shift']());}}}(_0xa018,0xa90dc));import{global as _0x4af0fe}from'ckeditor5/src/utils.js';import{View as _0x1f5068,ButtonView as _0x29ed9d,SpinnerView as _0x2c607f}from'ckeditor5/src/ui.js';import{IconCheck as _0x3492b6,IconCopy as _0x41f29c}from'ckeditor5/src/icons.js';import{getTranslation as _0x1120d6}from'../../utils/common-translations.js';function _0xa018(){const _0x3be30b=['422963wMQUFX','querySelector','copyButtonView','firstElementChild','Copy','innerHTML','bind','7ZGrkHb','scrollTo','smooth','setContent','position','execCommand','icon','class','ck-ai-form__content-field','write','ClipboardItem','setStartAfter','setEndBefore','wheel','ck-reset_all-excluded','_copyHTMLToClipboard','ck-ai-form__loader','addRange','contentFieldView','isProcessing','ck-ai-form__content-area-wrapper','\x20ck-ai-form__copy-button--copied','focus','<span>[</span>','createElement','copy','div','11cFVjFN','1754576SOfZSe','2846268jXqkzz','removeAllRanges','-9999px','change:isProcessing','style','change:value','isEnabled','75vRftwz','36PqCmbt','createRange','render','setTemplate','set','.ck-ai-form__loader','body','left','<span>]</span>','text/html','_createCopyButton','loaderView','ck-ai-form__content-area','ck-ai-form__copy-button','scrollHeight','isVisible','absolute','value','locale','28796zoNUxS','element','bindTemplate','mousedown','8141450cLNuyi','_createLoader','listenTo','remove','appendLoader','ck-content','AI\x20is\x20writing...','appendChild','6611952KAtEEx','text/plain','lastElementChild','605VkuHvi','execute','ck-hidden','clipboard','textContent','27112RwQRoM','ck-ai-form__copy-button-wrapper','getSelection','ck-ai-form__content-area--processing'];_0xa018=function(){return _0x3be30b;};return _0xa018();}export class AIFormContentArea extends _0x1f5068{[_0x2c67aa(0x1d9)];[_0x2c67aa(0x1c2)];constructor(_0x41adfa,_0x5bf2d3=''){const _0x3c70f8=_0x2c67aa;super(_0x41adfa),this[_0x3c70f8(0x199)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x40b31d=this[_0x3c70f8(0x1aa)];this[_0x3c70f8(0x1d9)]=new ContentFieldView(_0x41adfa,_0x5bf2d3),this[_0x3c70f8(0x1c2)]=this[_0x3c70f8(0x19f)](),this[_0x3c70f8(0x198)]({'tag':_0x3c70f8(0x1e1),'attributes':{'class':['ck',_0x3c70f8(0x1db),_0x40b31d['if'](_0x3c70f8(0x1a4),_0x3c70f8(0x1b9),_0x1acbaf=>!_0x1acbaf)],'tabindex':'-1'},'children':[{'tag':_0x3c70f8(0x1e1),'attributes':{'class':['ck',_0x3c70f8(0x1a1),_0x40b31d['if'](_0x3c70f8(0x1da),_0x3c70f8(0x1bf))]},'children':[this[_0x3c70f8(0x1d9)],{'tag':_0x3c70f8(0x1e1),'attributes':{'class':['ck',_0x3c70f8(0x1bd)]},'children':[this[_0x3c70f8(0x1c2)]]}]}]});}[_0x2c67aa(0x197)](){const _0x344ed2=_0x2c67aa;super[_0x344ed2(0x197)](),this[_0x344ed2(0x1a6)]&&this[_0x344ed2(0x1d9)][_0x344ed2(0x1ca)](this[_0x344ed2(0x1a6)]);let _0x18d1d0=!0x1;this['on'](_0x344ed2(0x192),(_0x4b2399,_0x3e6746,_0x35e4bf)=>{const _0x172daa=_0x344ed2,_0x4eed65=!this[_0x172daa(0x1d9)][_0x172daa(0x1a9)][_0x172daa(0x1c1)](_0x172daa(0x19a));this[_0x172daa(0x1d9)][_0x172daa(0x1ca)](_0x35e4bf),this[_0x172daa(0x1da)]&&_0x4eed65&&!_0x18d1d0&&this[_0x172daa(0x1a9)][_0x172daa(0x1c8)]({'top':this[_0x172daa(0x1a9)][_0x172daa(0x1a3)],'behavior':_0x172daa(0x1c9)});}),this['on'](_0x344ed2(0x190),(_0x19ddae,_0x20406f,_0x411700)=>{const _0x1c5240=_0x344ed2;_0x18d1d0=!0x1,_0x411700?(this[_0x1c5240(0x1a6)]=null,this[_0x1c5240(0x1d9)][_0x1c5240(0x1b0)]()):this[_0x1c5240(0x1a6)]||this[_0x1c5240(0x1d9)][_0x1c5240(0x1ca)]('');}),this[_0x344ed2(0x1ae)](this[_0x344ed2(0x1a9)],_0x344ed2(0x1d4),()=>{_0x18d1d0=!0x0;}),this[_0x344ed2(0x1ae)](this[_0x344ed2(0x1a9)],_0x344ed2(0x1ab),()=>{_0x18d1d0=!0x0;});}[_0x2c67aa(0x1dd)](){const _0x833491=_0x2c67aa;this[_0x833491(0x1a9)][_0x833491(0x1dd)]();}[_0x2c67aa(0x19f)](){const _0x5dec1a=_0x2c67aa,_0x3720ba=this[_0x5dec1a(0x1a7)],_0x3675d9=new _0x29ed9d(this[_0x5dec1a(0x1a7)]),_0x3550da=_0x5dec1a(0x1a2);return _0x3675d9[_0x5dec1a(0x199)]({'label':_0x1120d6(_0x3720ba,_0x5dec1a(0x1c4)),'icon':_0x41f29c,'class':_0x3550da,'tooltip':!0x0}),_0x3675d9[_0x5dec1a(0x1c6)](_0x5dec1a(0x1a4))['to'](this,_0x5dec1a(0x1a6),_0x24aaf0=>!!_0x24aaf0),_0x3675d9[_0x5dec1a(0x1c6)](_0x5dec1a(0x193))['to'](this,_0x5dec1a(0x1da),_0x5980ac=>!_0x5980ac),_0x3675d9['on'](_0x5dec1a(0x1b8),()=>{const _0x4f7537=_0x5dec1a;this[_0x4f7537(0x1d6)](this[_0x4f7537(0x1d9)][_0x4f7537(0x1a9)]),_0x3675d9[_0x4f7537(0x1cd)]=_0x3492b6,_0x3675d9[_0x4f7537(0x1ce)]=_0x3550da+_0x4f7537(0x1dc),this[_0x4f7537(0x1dd)](),setTimeout(()=>{const _0x4047b7=_0x4f7537;_0x3675d9[_0x4047b7(0x1cd)]=_0x41f29c,_0x3675d9[_0x4047b7(0x1ce)]=_0x3550da;},0x3e8);}),_0x3675d9;}[_0x2c67aa(0x1d6)](_0x3e84cf){const _0x5a873d=_0x2c67aa,{window:_0x2b93fb,document:_0x4bfab1}=_0x4af0fe;if(_0x2b93fb[_0x5a873d(0x1d1)]){const {Blob:_0x2c1c1c,ClipboardItem:_0x7be8c5}=_0x2b93fb,_0x57a18a=[new _0x7be8c5({'text/html':new _0x2c1c1c([_0x3e84cf[_0x5a873d(0x1c5)]],{'type':_0x5a873d(0x19e)}),'text/plain':new _0x2c1c1c([_0x3e84cf[_0x5a873d(0x1bb)]||''],{'type':_0x5a873d(0x1b5)})})];navigator[_0x5a873d(0x1ba)][_0x5a873d(0x1d0)](_0x57a18a);}else{const _0x280c49=_0x4bfab1[_0x5a873d(0x1df)](_0x5a873d(0x1e1));_0x280c49[_0x5a873d(0x191)][_0x5a873d(0x1cb)]=_0x5a873d(0x1a5),_0x280c49[_0x5a873d(0x191)][_0x5a873d(0x19c)]=_0x5a873d(0x1e6),_0x280c49[_0x5a873d(0x1c5)]=_0x5a873d(0x1de)+_0x3e84cf[_0x5a873d(0x1c5)]+_0x5a873d(0x19d),_0x4bfab1[_0x5a873d(0x19b)][_0x5a873d(0x1b3)](_0x280c49);const _0x2bbb48=_0x4bfab1[_0x5a873d(0x196)]();_0x2bbb48[_0x5a873d(0x1d2)](_0x280c49[_0x5a873d(0x1c3)]),_0x2bbb48[_0x5a873d(0x1d3)](_0x280c49[_0x5a873d(0x1b6)]);const _0x226ce1=_0x2b93fb[_0x5a873d(0x1be)]();_0x226ce1[_0x5a873d(0x1e5)](),_0x226ce1[_0x5a873d(0x1d8)](_0x2bbb48),_0x4bfab1[_0x5a873d(0x1cc)](_0x5a873d(0x1e0)),_0x280c49[_0x5a873d(0x1af)]();}}}export class ContentFieldView extends _0x1f5068{constructor(_0xf4cc77,_0x38b59a=''){const _0x37df89=_0x2c67aa;super(_0xf4cc77),this[_0x37df89(0x1a0)]=this[_0x37df89(0x1ad)](),this[_0x37df89(0x198)]({'tag':_0x37df89(0x1e1),'attributes':{'class':['ck',_0x37df89(0x1b1),_0x38b59a,_0x37df89(0x1d5),_0x37df89(0x1cf)]}});}[_0x2c67aa(0x1ca)](_0x4fe0bb){const _0x276b57=_0x2c67aa;this[_0x276b57(0x1a9)][_0x276b57(0x1c5)]=_0x4fe0bb;}[_0x2c67aa(0x1b0)](){const _0xfc8b76=_0x2c67aa;this[_0xfc8b76(0x1a9)][_0xfc8b76(0x1b3)](this[_0xfc8b76(0x1a0)][_0xfc8b76(0x1a9)]);}[_0x2c67aa(0x1ad)](){const _0x28391f=_0x2c67aa,_0xcdc7f8=new _0x1f5068(),_0x5b3225=this[_0x28391f(0x1a7)],_0x661f50=new _0x2c607f();return _0x661f50[_0x28391f(0x1a4)]=!0x0,_0xcdc7f8[_0x28391f(0x198)]({'tag':_0x28391f(0x1e1),'attributes':{'class':['ck',_0x28391f(0x1d7)]},'children':[_0x661f50,{'text':_0x1120d6(_0x5b3225,_0x28391f(0x1b2))}]}),_0xcdc7f8[_0x28391f(0x197)](),_0xcdc7f8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x35ff(){const _0xf678fd=['2653371WaOhtL','2361992cKloia','div','bindTemplate','1990944EXnREC','68BpJOlv','setTemplate','set','150806UtcVFS','content','ck-ai-form__error','2829645TdnzmP','6RLClIE','1299154mtBCMg','text','62142nRyCjP'];_0x35ff=function(){return _0xf678fd;};return _0x35ff();}(function(_0x4f1417,_0x3fc51){const _0x153059=_0x207b,_0xc04fed=_0x4f1417();while(!![]){try{const _0x3ebe5e=parseInt(_0x153059(0x1dd))/0x1+parseInt(_0x153059(0x1d2))/0x2+parseInt(_0x153059(0x1d4))/0x3*(-parseInt(_0x153059(0x1da))/0x4)+-parseInt(_0x153059(0x1e0))/0x5+parseInt(_0x153059(0x1d1))/0x6*(parseInt(_0x153059(0x1d5))/0x7)+parseInt(_0x153059(0x1d6))/0x8+-parseInt(_0x153059(0x1d9))/0x9;if(_0x3ebe5e===_0x3fc51)break;else _0xc04fed['push'](_0xc04fed['shift']());}catch(_0x659db7){_0xc04fed['push'](_0xc04fed['shift']());}}}(_0x35ff,0x51e2a));import{IconError as _0xf466d2}from'ckeditor5/src/icons.js';import{View as _0x487397,IconView as _0x9c083f}from'ckeditor5/src/ui.js';function _0x207b(_0x137d41,_0x5b5e26){const _0x35ff7e=_0x35ff();return _0x207b=function(_0x207b37,_0xcd1b0c){_0x207b37=_0x207b37-0x1d1;let _0x46625b=_0x35ff7e[_0x207b37];return _0x46625b;},_0x207b(_0x137d41,_0x5b5e26);}export class AIFormErrorView extends _0x487397{constructor(_0x3d01d5,_0x9a2fa9=''){const _0x14d2c2=_0x207b;super(_0x3d01d5);const _0x31cae9=new _0x9c083f(),_0x59585f=this[_0x14d2c2(0x1d8)];this[_0x14d2c2(0x1dc)](_0x14d2c2(0x1d3),_0x9a2fa9),_0x31cae9[_0x14d2c2(0x1de)]=_0xf466d2,this[_0x14d2c2(0x1db)]({'tag':_0x14d2c2(0x1d7),'attributes':{'class':['ck',_0x14d2c2(0x1df)]},'children':[_0x31cae9,{'text':_0x59585f['to'](_0x14d2c2(0x1d3))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51ff4b=_0x450e;(function(_0x45558a,_0x3521c4){const _0x4f3d3e=_0x450e,_0x2135e0=_0x45558a();while(!![]){try{const _0x1cec8c=-parseInt(_0x4f3d3e(0x19d))/0x1*(-parseInt(_0x4f3d3e(0x19a))/0x2)+parseInt(_0x4f3d3e(0x186))/0x3*(parseInt(_0x4f3d3e(0x17b))/0x4)+-parseInt(_0x4f3d3e(0x1ae))/0x5*(-parseInt(_0x4f3d3e(0x18f))/0x6)+-parseInt(_0x4f3d3e(0x18d))/0x7+parseInt(_0x4f3d3e(0x1a8))/0x8*(-parseInt(_0x4f3d3e(0x179))/0x9)+parseInt(_0x4f3d3e(0x1b0))/0xa*(-parseInt(_0x4f3d3e(0x196))/0xb)+parseInt(_0x4f3d3e(0x182))/0xc;if(_0x1cec8c===_0x3521c4)break;else _0x2135e0['push'](_0x2135e0['shift']());}catch(_0x507381){_0x2135e0['push'](_0x2135e0['shift']());}}}(_0x1e49,0x73227));function _0x1e49(){const _0x1b69d4=['fieldWrapperChildren','isEmpty','Submit','right','1387855QMMxGV','set','723876cZHCJC','window','rtl','add','execute','isVisible','History','46651eigPrX','focusableChildren','focusFirst','_createSubmitButton','1216868hPdJwA','submit','keystrokes','1vewlWw','submitButtonView','showHistoryButtonView','focus','ck-ai-form__toggle-history','value','focusCycler','maxRows','render','bind','isEnabled','5259152ThfhQJ','minRows','style','ck-ai-form__submit','left','uiLanguageDirection','35cFuKSn','element','1630YksXse','fire','width','requestAnimationFrame','update','9xXfCTo','enter','16rDzxBi','filteredView','_createShowHistoryButton','children','locale','target','excludeScrollbarsAndBorders','5583420pdmJgi','fieldView','resultsView','isOn','75219LzrCOG','focusLast','queryView'];_0x1e49=function(){return _0x1b69d4;};return _0x1e49();}import{Rect as _0x125b16,global as _0x538999,isVisible as _0xb6a2fd}from'ckeditor5/src/utils.js';function _0x450e(_0x39e21b,_0x201e37){const _0x1e49e3=_0x1e49();return _0x450e=function(_0x450e6d,_0x1a9c03){_0x450e6d=_0x450e6d-0x175;let _0x2324cd=_0x1e49e3[_0x450e6d];return _0x2324cd;},_0x450e(_0x39e21b,_0x201e37);}import{IconAIHistory as _0x194e53,IconSubmit as _0x24d0b3}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x58bfaf,ButtonView as _0x390e0f}from'ckeditor5/src/ui.js';import{getTranslation as _0x5cdbc8}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x58bfaf{[_0x51ff4b(0x19e)];[_0x51ff4b(0x19f)];constructor(_0x2bcfd4,_0x47c869){const _0xd4e3b2=_0x51ff4b;super(_0x2bcfd4,_0x47c869),this[_0xd4e3b2(0x188)][_0xd4e3b2(0x183)][_0xd4e3b2(0x1a9)]=0x1,this[_0xd4e3b2(0x188)][_0xd4e3b2(0x183)][_0xd4e3b2(0x1a4)]=0x3,this[_0xd4e3b2(0x19e)]=this[_0xd4e3b2(0x199)](),this[_0xd4e3b2(0x19f)]=this[_0xd4e3b2(0x17d)](),this[_0xd4e3b2(0x197)][_0xd4e3b2(0x192)](this[_0xd4e3b2(0x19f)],0x1),this[_0xd4e3b2(0x197)][_0xd4e3b2(0x192)](this[_0xd4e3b2(0x19e)]);}[_0x51ff4b(0x1a5)](){const _0x367825=_0x51ff4b;super[_0x367825(0x1a5)](),this[_0x367825(0x188)][_0x367825(0x189)][_0x367825(0x192)](this[_0x367825(0x19f)]),this[_0x367825(0x17e)][_0x367825(0x192)](this[_0x367825(0x19e)]),this[_0x367825(0x19c)][_0x367825(0x18e)](_0x367825(0x17a),(_0x3dea00,_0x3c3be3)=>{const _0x390c17=_0x367825;_0x3dea00[_0x390c17(0x180)]==this[_0x390c17(0x188)][_0x390c17(0x183)][_0x390c17(0x1af)]&&(this[_0x390c17(0x19b)](),_0x3c3be3());});}[_0x51ff4b(0x199)](){const _0xb4c9da=_0x51ff4b,_0x15bc1f=new _0x390e0f(this[_0xb4c9da(0x17f)]),_0x31d2a6=this[_0xb4c9da(0x17f)];return _0x15bc1f[_0xb4c9da(0x18e)]({'icon':_0x24d0b3,'label':_0x5cdbc8(_0x31d2a6,_0xb4c9da(0x18b)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xb4c9da(0x1ab)}),_0x15bc1f['on'](_0xb4c9da(0x193),()=>{const _0x1ad2b7=_0xb4c9da;this[_0x1ad2b7(0x19b)]();}),_0x15bc1f[_0xb4c9da(0x1a6)](_0xb4c9da(0x1a7))['to'](this[_0xb4c9da(0x188)][_0xb4c9da(0x183)],_0xb4c9da(0x18a),this,_0xb4c9da(0x1a7),(_0x31cb83,_0x5de9d5)=>!_0x31cb83&&_0x5de9d5),_0x15bc1f;}[_0x51ff4b(0x17d)](){const _0x4173b9=_0x51ff4b,_0x2ec9dd=new _0x390e0f(this[_0x4173b9(0x17f)]),_0x399ca7=this[_0x4173b9(0x184)],_0x52db0b=this[_0x4173b9(0x17f)];_0x2ec9dd[_0x4173b9(0x18e)]({'label':_0x5cdbc8(_0x52db0b,_0x4173b9(0x195)),'withText':!0x1,'icon':_0x194e53,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4173b9(0x1a1)}),_0x2ec9dd[_0x4173b9(0x1a6)](_0x4173b9(0x185))['to'](_0x399ca7,_0x4173b9(0x194)),_0x2ec9dd[_0x4173b9(0x1a6)](_0x4173b9(0x1a7))['to'](this,_0x4173b9(0x1a7)),_0x2ec9dd['on'](_0x4173b9(0x193),()=>{const _0x54d402=_0x4173b9;_0x399ca7[_0x54d402(0x194)]=!_0x399ca7[_0x54d402(0x194)],_0x399ca7[_0x54d402(0x194)]?this[_0x54d402(0x17c)][_0x54d402(0x1a0)]():this[_0x54d402(0x1a0)]();});const _0x3caef1=()=>{const _0xff9206=_0x4173b9;_0x538999[_0xff9206(0x190)][_0xff9206(0x177)](()=>{const _0x1ff895=_0xff9206;if(_0xb6a2fd(this[_0x1ff895(0x1af)])){const _0x528fbe=new _0x125b16(this[_0x1ff895(0x188)][_0x1ff895(0x183)][_0x1ff895(0x1af)]),_0x55e8fb=_0x528fbe[_0x1ff895(0x176)],_0x5af955=_0x1ff895(0x191)===_0x52db0b[_0x1ff895(0x1ad)]?_0x1ff895(0x1ac):_0x1ff895(0x18c);_0x528fbe[_0x1ff895(0x181)](),_0x2ec9dd[_0x1ff895(0x1af)][_0x1ff895(0x1aa)][_0x5af955]=_0x55e8fb-_0x528fbe[_0x1ff895(0x176)]+0x1+'px';}});};return this[_0x4173b9(0x188)][_0x4173b9(0x183)]['on'](_0x4173b9(0x178),_0x3caef1),this['on'](_0x4173b9(0x1a5),_0x3caef1),_0x2ec9dd;}[_0x51ff4b(0x19b)](){const _0x5930e8=_0x51ff4b,_0x3630f7=this[_0x5930e8(0x188)][_0x5930e8(0x183)][_0x5930e8(0x1af)][_0x5930e8(0x1a2)];this[_0x5930e8(0x175)](_0x5930e8(0x19b),_0x3630f7);}[_0x51ff4b(0x1a0)](_0x5b1f88){const _0x92e035=_0x51ff4b;-0x1===_0x5b1f88?this[_0x92e035(0x1a3)][_0x92e035(0x187)]():this[_0x92e035(0x1a3)][_0x92e035(0x198)]();}}
|