@ckeditor/ckeditor5-ai 47.3.0 → 47.4.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 +1 -1
- package/README.md +1 -1
- package/build/ai.js +3 -3
- 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-content.css +1 -1
- package/dist/index-editor.css +67 -4
- package/dist/index.css +117 -54
- package/dist/index.js +6 -6
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/be.d.ts +1 -1
- package/dist/translations/be.js +2 -2
- package/dist/translations/be.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/contexts.json +0 -11
- package/lang/translations/af.po +1 -45
- package/lang/translations/ar.po +1 -45
- package/lang/translations/ast.po +1 -45
- package/lang/translations/az.po +1 -45
- package/lang/translations/be.po +1 -45
- package/lang/translations/bg.po +1 -45
- package/lang/translations/bn.po +1 -45
- package/lang/translations/bs.po +1 -45
- package/lang/translations/ca.po +1 -45
- package/lang/translations/cs.po +1 -45
- package/lang/translations/da.po +1 -45
- package/lang/translations/de-ch.po +1 -45
- package/lang/translations/de.po +1 -45
- package/lang/translations/el.po +1 -45
- package/lang/translations/en-au.po +1 -45
- package/lang/translations/en-gb.po +1 -45
- package/lang/translations/en.po +1 -45
- package/lang/translations/eo.po +1 -45
- package/lang/translations/es-co.po +1 -45
- package/lang/translations/es.po +1 -45
- package/lang/translations/et.po +1 -45
- package/lang/translations/eu.po +1 -45
- package/lang/translations/fa.po +1 -45
- package/lang/translations/fi.po +1 -45
- package/lang/translations/fr.po +1 -45
- package/lang/translations/gl.po +1 -45
- package/lang/translations/gu.po +1 -45
- package/lang/translations/he.po +1 -45
- package/lang/translations/hi.po +1 -45
- package/lang/translations/hr.po +1 -45
- package/lang/translations/hu.po +1 -45
- package/lang/translations/hy.po +1 -45
- package/lang/translations/id.po +1 -45
- package/lang/translations/it.po +1 -45
- package/lang/translations/ja.po +1 -45
- package/lang/translations/jv.po +1 -45
- package/lang/translations/kk.po +1 -45
- package/lang/translations/km.po +1 -45
- package/lang/translations/kn.po +1 -45
- package/lang/translations/ko.po +1 -45
- package/lang/translations/ku.po +1 -45
- package/lang/translations/lt.po +1 -45
- package/lang/translations/lv.po +1 -45
- package/lang/translations/ms.po +1 -45
- package/lang/translations/nb.po +1 -45
- package/lang/translations/ne.po +1 -45
- package/lang/translations/nl.po +1 -45
- package/lang/translations/no.po +1 -45
- package/lang/translations/oc.po +1 -45
- package/lang/translations/pl.po +1 -45
- package/lang/translations/pt-br.po +1 -45
- package/lang/translations/pt.po +1 -45
- package/lang/translations/ro.po +1 -45
- package/lang/translations/ru.po +1 -45
- package/lang/translations/si.po +1 -45
- package/lang/translations/sk.po +1 -45
- package/lang/translations/sl.po +1 -45
- package/lang/translations/sq.po +1 -45
- package/lang/translations/sr-latn.po +1 -45
- package/lang/translations/sr.po +1 -45
- package/lang/translations/sv.po +1 -45
- package/lang/translations/th.po +1 -45
- package/lang/translations/ti.po +1 -45
- package/lang/translations/tk.po +1 -45
- package/lang/translations/tr.po +1 -45
- package/lang/translations/tt.po +1 -45
- package/lang/translations/ug.po +1 -45
- package/lang/translations/uk.po +1 -45
- package/lang/translations/ur.po +1 -45
- package/lang/translations/uz.po +1 -45
- package/lang/translations/vi.po +1 -45
- package/lang/translations/zh-cn.po +1 -45
- package/lang/translations/zh.po +1 -45
- package/package.json +16 -16
- package/src/aiactions/aiactions.d.ts +5 -1
- package/src/aiactions/aiactions.js +2 -2
- package/src/aiactions/model/aiactionsinteraction.d.ts +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +2 -2
- package/src/aiactions/model/aiactionsreply.d.ts +1 -1
- package/src/aiactions/model/aiactionsreply.js +2 -2
- package/src/aiassistant/adapters/aiadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aiadapter.js +2 -2
- package/src/aiassistant/adapters/aitextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +2 -2
- package/src/aiassistant/adapters/awstextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +2 -2
- package/src/aiassistant/adapters/openaitextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +2 -2
- package/src/aiassistant/aiassistant.d.ts +1 -1
- package/src/aiassistant/aiassistant.js +2 -2
- package/src/aiassistant/aiassistantediting.d.ts +1 -1
- package/src/aiassistant/aiassistantediting.js +2 -2
- package/src/aiassistant/aiassistantui.d.ts +1 -1
- package/src/aiassistant/aiassistantui.js +2 -2
- package/src/aiassistant/legacyerrors.d.ts +1 -1
- package/src/aiassistant/legacyerrors.js +2 -2
- package/src/aiassistant/ui/aiassistantcontroller.d.ts +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +3 -3
- package/src/aiassistant/ui/form/aiformcontentarea.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +2 -2
- package/src/aiassistant/ui/form/aiformerrorview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +2 -2
- package/src/aiassistant/ui/form/aiformpromptview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +2 -2
- package/src/aiassistant/ui/form/aiformtoolbarview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +2 -2
- package/src/aiassistant/ui/form/aiformview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformview.js +2 -2
- package/src/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +2 -2
- package/src/aiassistant/ui/form/aihistorylistview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +2 -2
- package/src/aiassistant/ui/form/prompthistory.d.ts +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +2 -2
- package/src/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +2 -2
- package/src/aiassistant/utils/common-translations.d.ts +1 -1
- package/src/aiassistant/utils/common-translations.js +2 -2
- package/src/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +2 -2
- package/src/aiballoon/aiballoon.d.ts +1 -1
- package/src/aiballoon/aiballoon.js +2 -2
- package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +2 -2
- package/src/aiballoon/ui/aiballoontoolbarview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +2 -2
- package/src/aiballoon/ui/aiballoonview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoonview.js +2 -2
- package/src/aichat/aichat.d.ts +38 -4
- package/src/aichat/aichat.js +2 -2
- package/src/aichat/aichatcontroller.d.ts +5 -1
- package/src/aichat/aichatcontroller.js +2 -2
- package/src/aichat/aichatui.d.ts +3 -3
- package/src/aichat/aichatui.js +2 -2
- package/src/aichat/model/aichatcontext.d.ts +1 -1
- package/src/aichat/model/aichatcontext.js +2 -2
- package/src/aichat/model/aichatconversation.d.ts +10 -10
- package/src/aichat/model/aichatconversation.js +2 -2
- package/src/aichat/model/aichatinteraction.d.ts +1 -1
- package/src/aichat/model/aichatinteraction.js +2 -2
- package/src/aichat/ui/aichatcontrolsview.d.ts +4 -4
- package/src/aichat/ui/aichatcontrolsview.js +2 -2
- package/src/aichat/ui/aichatfeedview.d.ts +1 -1
- package/src/aichat/ui/aichatfeedview.js +2 -2
- package/src/aichat/ui/aichatheaderview.d.ts +1 -1
- package/src/aichat/ui/aichatheaderview.js +2 -2
- package/src/aichat/ui/aichatview.d.ts +1 -1
- package/src/aichat/ui/aichatview.js +2 -2
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +2 -2
- package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +2 -2
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +2 -2
- package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +2 -2
- package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +5 -5
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptinputview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +2 -2
- package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +2 -2
- package/src/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +3 -2
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +2 -2
- package/src/aichat/utils/eventnames.d.ts +1 -1
- package/src/aichat/utils/eventnames.js +2 -2
- package/src/aichat/utils/promisequeue.d.ts +1 -1
- package/src/aichat/utils/promisequeue.js +2 -2
- package/src/aichathistory/aichathistory.d.ts +1 -1
- package/src/aichathistory/aichathistory.js +2 -2
- package/src/aichathistory/aichathistorycontroller.d.ts +1 -1
- package/src/aichathistory/aichathistorycontroller.js +2 -2
- package/src/aichathistory/aichathistoryui.d.ts +1 -1
- package/src/aichathistory/aichathistoryui.js +2 -2
- package/src/aichathistory/model/aichathistoryconversations.d.ts +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +2 -2
- package/src/aichathistory/model/aichathistoryitem.d.ts +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +2 -2
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +3 -3
- package/src/aichathistory/ui/aichathistorylistview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +2 -2
- package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +2 -2
- package/src/aichathistory/ui/aichathistoryview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +2 -2
- package/src/aiconfig.d.ts +1 -1
- package/src/aiconfig.js +1 -1
- package/src/aicore/aiconnector.d.ts +4 -2
- package/src/aicore/aiconnector.js +2 -2
- package/src/aicore/aiediting.d.ts +1 -1
- package/src/aicore/aiediting.js +2 -2
- package/src/aicore/model/aicapabilities.d.ts +1 -1
- package/src/aicore/model/aicapabilities.js +2 -2
- package/src/aicore/model/aicontext.d.ts +1 -1
- package/src/aicore/model/aicontext.js +2 -2
- package/src/aicore/model/aiinteraction.d.ts +1 -1
- package/src/aicore/model/aiinteraction.js +2 -2
- package/src/aicore/model/aimodels.d.ts +3 -12
- package/src/aicore/model/aimodels.js +2 -2
- package/src/aicore/model/aireply.d.ts +1 -1
- package/src/aicore/model/aireply.js +2 -2
- package/src/aicore/pipeline/airesponseapplier.d.ts +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +3 -3
- package/src/aicore/pipeline/airesponseparser.d.ts +1 -1
- package/src/aicore/pipeline/airesponseparser.js +3 -3
- package/src/aicore/ui/aidisclaimerview.d.ts +1 -1
- package/src/aicore/ui/aidisclaimerview.js +2 -2
- package/src/aicore/ui/aiskeleton.d.ts +1 -1
- package/src/aicore/ui/aiskeleton.js +2 -2
- package/src/aicore/ui/aispinner.d.ts +1 -1
- package/src/aicore/ui/aispinner.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +5 -5
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +2 -2
- package/src/aicore/utils/common-translations.d.ts +1 -1
- package/src/aicore/utils/common-translations.js +2 -2
- package/src/aicore/utils/createresizebutton.d.ts +1 -1
- package/src/aicore/utils/createresizebutton.js +2 -2
- package/src/aicore/utils/documentposition.d.ts +1 -1
- package/src/aicore/utils/documentposition.js +2 -2
- package/src/aicore/utils/documentrange.d.ts +1 -1
- package/src/aicore/utils/documentrange.js +2 -2
- package/src/aicore/utils/eventnames.d.ts +1 -1
- package/src/aicore/utils/eventnames.js +2 -2
- package/src/aicore/utils/geteditorfromcontext.d.ts +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +2 -2
- package/src/aicore/utils/getoperationsfromreply.d.ts +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +2 -2
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +2 -2
- package/src/aicore/utils/htmlparser.d.ts +1 -1
- package/src/aicore/utils/htmlparser.js +2 -2
- package/src/aicore/utils/htmlstreamer.d.ts +1 -1
- package/src/aicore/utils/htmlstreamer.js +2 -2
- package/src/aicore/utils/scrollmanager.d.ts +1 -1
- package/src/aicore/utils/scrollmanager.js +2 -2
- package/src/aieditorintegration/aieditorintegration.d.ts +1 -1
- package/src/aieditorintegration/aieditorintegration.js +2 -2
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +2 -2
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +2 -2
- package/src/aiquickactions/aiquickactions.d.ts +1 -1
- package/src/aiquickactions/aiquickactions.js +2 -2
- package/src/aiquickactions/aiquickactionscommand.d.ts +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +2 -2
- package/src/aiquickactions/aiquickactionsediting.d.ts +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +2 -2
- package/src/aiquickactions/aiquickactionsui.d.ts +1 -1
- package/src/aiquickactions/aiquickactionsui.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +2 -2
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +2 -2
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +2 -2
- package/src/aireviewmode/aireviewmode.d.ts +1 -1
- package/src/aireviewmode/aireviewmode.js +2 -2
- package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +2 -2
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +2 -2
- package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeui.js +2 -2
- package/src/aireviewmode/model/aireviewcheck.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +2 -2
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +2 -2
- package/src/aireviewmode/model/aireviewchecklist.d.ts +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +2 -2
- package/src/aireviewmode/model/aireviewcheckresult.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +2 -2
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +2 -2
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +2 -2
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +2 -2
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +2 -2
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +2 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +2 -2
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +2 -2
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +2 -2
- package/src/aitabs/aitabs.d.ts +1 -1
- package/src/aitabs/aitabs.js +2 -2
- package/src/aitabs/aitabsmainview.d.ts +1 -1
- package/src/aitabs/aitabsmainview.js +2 -2
- package/src/aitabs/tabs/aitabsview.d.ts +1 -1
- package/src/aitabs/tabs/aitabsview.js +2 -2
- package/src/aitabs/tabs/tabbuttonview.d.ts +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +2 -2
- package/src/aitabs/tabs/tabpanelview.d.ts +1 -1
- package/src/aitabs/tabs/tabpanelview.js +2 -2
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/errors.d.ts +1 -1
- package/src/errors.js +2 -2
- package/src/errorsmap.d.ts +1 -1
- package/src/errorsmap.js +2 -2
- package/src/index.d.ts +1 -2
- package/src/index.js +2 -2
- package/theme/aiassistant/ai-dropdown.css +1 -1
- package/theme/aiassistant/ai-form.css +1 -1
- package/theme/aiassistant/ai.css +1 -1
- package/theme/aiballoon/aiballoon.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls.css +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-button.css +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
- package/theme/aichat/aichat-controls/model-unavailable-message.css +1 -1
- package/theme/aichat/aichat-controls/prompt-capabilities.css +1 -1
- package/theme/aichat/aichat-controls/prompt-input.css +1 -1
- package/theme/aichat/aichat-controls.css +1 -1
- package/theme/aichat/aichat.css +1 -1
- package/theme/aichat/aichatfeed.css +55 -1
- package/theme/aichat/aichathistory.css +1 -1
- package/theme/aichat/aiminitoolbar.css +1 -1
- package/theme/aichat/aisuggestioncontainer.css +1 -1
- package/theme/aieditorintegration/aitogglebutton.css +1 -1
- package/theme/aiquickactions/aiquickactions.css +1 -1
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-run-result.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-run.css +1 -1
- package/theme/aireviewmode/aireviewmode-review-completed.css +1 -1
- package/theme/aireviewmode/aireviewmode.css +9 -4
- package/theme/aitabs/aitabsview.css +1 -1
- package/theme/aitabs/tabs/tabbuttonview.css +1 -1
- package/theme/aitabs/tabs/tabsview.css +1 -1
- package/theme/common/aibutton.css +1 -1
- package/theme/common/aidisclaimer.css +1 -1
- package/theme/common/aiheader.css +1 -1
- package/theme/common/ainotification.css +1 -1
- package/theme/common/aiskeleton.css +1 -1
- package/theme/common/aispinner.css +1 -1
- package/theme/common/aitrackchanges.css +1 -1
- package/src/aichat/model/aichatmodels.d.ts +0 -63
- package/src/aichat/model/aichatmodels.js +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x453ad9=_0x5dd3;(function(_0x2cba17,_0x557e97){const _0x48e6d4=_0x5dd3,_0x86c46d=_0x2cba17();while(!![]){try{const _0x43dcff=parseInt(_0x48e6d4(0x12d))/0x1*(parseInt(_0x48e6d4(0x13f))/0x2)+parseInt(_0x48e6d4(0xec))/0x3*(-parseInt(_0x48e6d4(0x105))/0x4)+-parseInt(_0x48e6d4(0x118))/0x5+-parseInt(_0x48e6d4(0xf6))/0x6+parseInt(_0x48e6d4(0x13e))/0x7*(-parseInt(_0x48e6d4(0xf5))/0x8)+-parseInt(_0x48e6d4(0xfe))/0x9*(-parseInt(_0x48e6d4(0x12c))/0xa)+-parseInt(_0x48e6d4(0x142))/0xb*(-parseInt(_0x48e6d4(0x11f))/0xc);if(_0x43dcff===_0x557e97)break;else _0x86c46d['push'](_0x86c46d['shift']());}catch(_0x35be42){_0x86c46d['push'](_0x86c46d['shift']());}}}(_0x4a54,0x1d696));import{Plugin as _0x3808cc}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x378e9e}from'./aiassistantui.js';function _0x5dd3(_0x53366c,_0x5300dc){const _0x4a54e2=_0x4a54();return _0x5dd3=function(_0x5dd352,_0x284f1b){_0x5dd352=_0x5dd352-0xdd;let _0x408ce=_0x4a54e2[_0x5dd352];return _0x408ce;},_0x5dd3(_0x53366c,_0x5300dc);}import{AIAssistantEditing as _0x1445f5}from'./aiassistantediting.js';import{getTranslation as _0x2b5cad}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3911c1}from'./utils/normalizecommandsconfig.js';function _0x4a54(){const _0x36df5a=['Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','direct','concat','Hindi','Confident','includes','config','changeStyle','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Legal','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','makeLonger','translateGerman','Casual','Poetic','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translateFrench','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','83262TNQaTc','Summarize','define','find','ai.assistant.extraCommandGroups','continue','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','groupId','professional','1513336bcrSlr','445254JgCYnt','AIAssistant','Translate\x20the\x20content\x20to\x20Spanish\x20language.','ai.assistant.preserveComments','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Edit\x20or\x20review','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','513CUtJDk','editOrReview','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','push','Translate\x20the\x20content\x20to\x20English\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','locale','28RnpjgX','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate','generate','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','isPremiumPlugin','isOfficialPlugin','Arabic','set','filter','makeShorter','ai.assistant.removeCommands','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','casual','Friendly','Portuguese','Generate\x20from\x20selection','Simplify\x20language','Improve\x20writing','138505mhnPTO','translateChinese','Journalism','simplifyLanguage','Direct','translateHindi','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','232212DYlWFc','French','Professional','Business','legal','Simplified\x20Chinese','ai.assistant.commands','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Continue','English','translateArabic','Make\x20shorter','friendly','8530Nyhwgd','1JqBZty','changeTone','business','Translate\x20the\x20content\x20to\x20French\x20language.','journalism','Change\x20style','translateEnglish','forEach','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','pluginName','confident','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translatePortuguese','translateSpanish','Translate\x20the\x20content\x20to\x20German\x20language.','German','requires','7NuhxCr','379070hObQUq','Make\x20longer','Change\x20tone','209bMKRcr','summarize','improveWriting','commands','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','poetic','Spanish','Translate\x20the\x20content\x20to\x20Arabic\x20language.','get'];_0x4a54=function(){return _0x36df5a;};return _0x4a54();}export class AIAssistant extends _0x3808cc{static get[_0x453ad9(0x13d)](){return[_0x378e9e,_0x1445f5];}static get[_0x453ad9(0x136)](){const _0x3f951d=_0x453ad9;return _0x3f951d(0xf7);}static get[_0x453ad9(0x10b)](){return!0x0;}static get[_0x453ad9(0x10a)](){return!0x0;}constructor(_0x9f93b0){const _0x5b5fda=_0x453ad9;super(_0x9f93b0);const _0x359ec1=_0x9f93b0[_0x5b5fda(0xe0)],_0x251f4b=_0x9f93b0[_0x5b5fda(0x104)];_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0xf9),!0x0),_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0x125),getDefaultAICommands(_0x251f4b)),_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0xf0),[]),_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0x110),[]);let _0xab672e=_0x3911c1(_0x359ec1[_0x5b5fda(0x14a)](_0x5b5fda(0x125)),_0x251f4b);const _0x510a3a=_0x359ec1[_0x5b5fda(0x14a)](_0x5b5fda(0xf0)),_0x45330f=_0x359ec1[_0x5b5fda(0x14a)](_0x5b5fda(0x110));_0x510a3a[_0x5b5fda(0x134)](_0x23883b=>{const _0x29169a=_0x5b5fda,_0xfafd3e=_0xab672e[_0x29169a(0xef)](_0x5494da=>_0x5494da[_0x29169a(0xf3)]===_0x23883b[_0x29169a(0xf3)]);_0xfafd3e?_0xfafd3e[_0x29169a(0x145)]=_0xfafd3e[_0x29169a(0x145)][_0x29169a(0x14d)](_0x23883b[_0x29169a(0x145)]):_0xab672e[_0x29169a(0x101)](_0x23883b);}),_0xab672e=_0xab672e[_0x5b5fda(0x10e)](_0x106b60=>!_0x45330f[_0x5b5fda(0xdf)](_0x106b60[_0x5b5fda(0xf3)])),_0xab672e[_0x5b5fda(0x134)](_0x44c972=>{const _0x5c2f63=_0x5b5fda;_0x44c972[_0x5c2f63(0x145)]=_0x44c972[_0x5c2f63(0x145)][_0x5c2f63(0x10e)](_0x26c98e=>!_0x45330f[_0x5c2f63(0xdf)](_0x26c98e['id']));}),_0x359ec1[_0x5b5fda(0x10d)](_0x5b5fda(0x125),_0xab672e);}}export function getDefaultAICommands(_0xabff5c){const _0x1540c8=_0x453ad9;return[{'groupId':_0x1540c8(0xff),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0xfb)),'commands':[{'id':_0x1540c8(0x144),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x117)),'prompt':_0x1540c8(0xf2)},{'id':_0x1540c8(0x10f),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x12a)),'prompt':_0x1540c8(0xfa)},{'id':_0x1540c8(0xe5),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x140)),'prompt':_0x1540c8(0xe2)},{'id':_0x1540c8(0x11b),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x116)),'prompt':_0x1540c8(0x111)}]},{'groupId':_0x1540c8(0x108),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x115)),'commands':[{'id':_0x1540c8(0x143),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xed)),'prompt':_0x1540c8(0xfc)},{'id':_0x1540c8(0xf1),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x127)),'prompt':_0x1540c8(0x106)}]},{'groupId':_0x1540c8(0x12e),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x141)),'commands':[{'id':_0x1540c8(0xf4),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x121)),'prompt':_0x1540c8(0x14b)},{'id':_0x1540c8(0x112),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xe7)),'prompt':_0x1540c8(0x126)},{'id':_0x1540c8(0x14c),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x11c)),'prompt':_0x1540c8(0xe4)},{'id':_0x1540c8(0x137),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xde)),'prompt':_0x1540c8(0x138)},{'id':_0x1540c8(0x12b),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x113)),'prompt':_0x1540c8(0xeb)}]},{'groupId':_0x1540c8(0xe1),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x132)),'commands':[{'id':_0x1540c8(0x12f),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x122)),'prompt':_0x1540c8(0xe9)},{'id':_0x1540c8(0x123),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xe3)),'prompt':_0x1540c8(0x11e)},{'id':_0x1540c8(0x131),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x11a)),'prompt':_0x1540c8(0x146)},{'id':_0x1540c8(0x147),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xe8)),'prompt':_0x1540c8(0x135)}]},{'groupId':_0x1540c8(0xfd),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x107)),'commands':[{'id':_0x1540c8(0x133),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x128)),'prompt':_0x1540c8(0x102)},{'id':_0x1540c8(0x13a),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x148)),'prompt':_0x1540c8(0xf8)},{'id':_0x1540c8(0x139),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x114)),'prompt':_0x1540c8(0x109)},{'id':_0x1540c8(0xe6),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x13c)),'prompt':_0x1540c8(0x13b)},{'id':_0x1540c8(0xea),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x120)),'prompt':_0x1540c8(0x130)},{'id':_0x1540c8(0x119),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x124)),'prompt':_0x1540c8(0x100)},{'id':_0x1540c8(0x11d),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xdd)),'prompt':_0x1540c8(0x103)},{'id':_0x1540c8(0x129),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x10c)),'prompt':_0x1540c8(0x149)}]}];}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x24a607=_0x1144;function _0x3b35(){const _0x35209f=['span','text/html','markerToElement','addMarker','getChildren','createSelection','1223801dLrEfb','length','join','getRange','getRanges','_prepareTableInsertBelowPosition','forEach','resultRange','canEditAt','from','getMarkersGroup','document','ck-fake-ai-selection','findAncestor','480232obEXWF','_getAISelection','get','pop','isAtEnd','plugins','17034220rauRPm','for','removeMarker','69VidfCU','_pasteHTMLUsingClipboard','updateMarker','afterInit','isCollapsed','getSelectedTableCells','filter','addClass','_resetContentOfSelectedTableCells','schema','end','markerRange','data','getLastPosition','insertRows','has','showFakeVisualSelection','isContent','getFirstRange','conversion','contentInsertion','isOfficialPlugin','isPremiumPlugin','change','_createEmptyTableRows','lowest','getChild','getSelectedBlocks','_getDefaultInsertBelowPosition','first','parse','markerToHighlight','77pPpmfD','510BabQZh','4897936QoHuxS','pluginName','href','6464UMwSLS','getLastMatchingPosition','model','11WXJBVW','setSelection','deleteContent','once','config','markers','insertContent','TableUtils','_getTableRowCountFromContent','ck-fake-ai-selection_collapsed','selection','fire','map','paste','getRowIndexes','9651447bSTeqD','setData','editingDowncast','editing','ck-ai-assistant-ui_theme','off','createPositionAt','push','fromCharCode','editor','AIAssistantEditing','createPositionAfter','init','hideFakeVisualSelection','DataTransfer','start','createUIElement','table','getColumnIndexes','ai.assistant.useTheme','ai-ui','43590sWqMZC','createRange','insertContentBelow','getRows','element','last'];_0x3b35=function(){return _0x35209f;};return _0x3b35();}(function(_0x41d086,_0x49b20b){const _0x4acb9b=_0x1144,_0x87b700=_0x41d086();while(!![]){try{const _0x5331cc=parseInt(_0x4acb9b(0x136))/0x1+parseInt(_0x4acb9b(0x103))/0x2*(-parseInt(_0x4acb9b(0xde))/0x3)+parseInt(_0x4acb9b(0x100))/0x4+-parseInt(_0x4acb9b(0x12a))/0x5*(-parseInt(_0x4acb9b(0xff))/0x6)+parseInt(_0x4acb9b(0xfe))/0x7*(parseInt(_0x4acb9b(0x144))/0x8)+-parseInt(_0x4acb9b(0x115))/0x9+-parseInt(_0x4acb9b(0xdb))/0xa*(parseInt(_0x4acb9b(0x106))/0xb);if(_0x5331cc===_0x49b20b)break;else _0x87b700['push'](_0x87b700['shift']());}catch(_0x10da40){_0x87b700['push'](_0x87b700['shift']());}}}(_0x3b35,0xf4045));import{uid as _0x22faeb}from'ckeditor5/src/utils.js';function _0x1144(_0x3f0c77,_0x3b042b){const _0x3b3573=_0x3b35();return _0x1144=function(_0x11446d,_0x11b784){_0x11446d=_0x11446d-0xd8;let _0x19e886=_0x3b3573[_0x11446d];return _0x19e886;},_0x1144(_0x3f0c77,_0x3b042b);}import{Plugin as _0x51a80b}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x49de12}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x10032b,ViewDataTransfer as _0x1acd43}from'ckeditor5/src/engine.js';const _=globalThis[_0x24a607(0x123)],C=_0x24a607(0x129);export class AIAssistantEditing extends _0x51a80b{static get[_0x24a607(0x101)](){const _0x204bf8=_0x24a607;return _0x204bf8(0x11f);}static get[_0x24a607(0xf3)](){return!0x0;}static get[_0x24a607(0xf4)](){return!0x0;}[_0x24a607(0x121)](){const _0x564f1d=_0x24a607,{editor:_0x2e017d}=this,_0x31f178=[_0x564f1d(0x142)];_0x2e017d[_0x564f1d(0x10a)][_0x564f1d(0x146)](_0x564f1d(0x128))&&_0x31f178[_0x564f1d(0x11c)](_0x564f1d(0x119)),_0x2e017d[_0x564f1d(0xf1)][_0x564f1d(0xdc)](_0x564f1d(0x117))[_0x564f1d(0xfd)]({'model':C,'view':{'classes':_0x31f178,'priority':0xc}}),_0x2e017d[_0x564f1d(0xf1)][_0x564f1d(0xdc)](_0x564f1d(0x117))[_0x564f1d(0x132)]({'model':C,'view':(_0x2e87e3,{writer:_0x12c1af})=>{const _0x10c8a3=_0x564f1d;if(!_0x2e87e3[_0x10c8a3(0xe9)][_0x10c8a3(0xe2)])return null;const _0x2f78e6=_0x12c1af[_0x10c8a3(0x125)](_0x10c8a3(0x130));return _0x12c1af[_0x10c8a3(0xe5)]([_0x10c8a3(0x142),_0x10c8a3(0x10f)],_0x2f78e6),_0x2f78e6;}});}[_0x24a607(0xe1)](){!async function(_0x4bc82d){const _0x47cc2e=_0xd3b711([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]),_0x59b93c=0x3dffc4e1,_0x59c071=0x3df8be39^_0x59b93c,_0x82646a=window[_0xd3b711([0x44,0x61,0x74,0x65])][_0xd3b711([0x6e,0x6f,0x77])](),_0x161553=_0x4bc82d[_0xd3b711([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x474d1d=new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11be56=>{_0x161553[_0xd3b711([0x6f,0x6e,0x63,0x65])](_0xd3b711([0x72,0x65,0x61,0x64,0x79]),_0x11be56);}),_0x4b87ea={[_0xd3b711([0x6b,0x74,0x79])]:_0xd3b711([0x45,0x43]),[_0xd3b711([0x75,0x73,0x65])]:_0xd3b711([0x73,0x69,0x67]),[_0xd3b711([0x63,0x72,0x76])]:_0xd3b711([0x50,0x2d,0x32,0x35,0x36]),[_0xd3b711([0x78])]:_0xd3b711([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]),[_0xd3b711([0x79])]:_0xd3b711([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]),[_0xd3b711([0x61,0x6c,0x67])]:_0xd3b711([0x45,0x53,0x32,0x35,0x36])},_0x33e078=_0x161553[_0xd3b711([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd3b711([0x67,0x65,0x74])](_0xd3b711([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x40a4b8(){let _0x26bd37,_0x565bc0=null,_0x2422a4=null;try{if(_0x33e078==_0xd3b711([0x47,0x50,0x4c]))return _0xd3b711([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26bd37=_0x432d14(),!_0x26bd37)return _0xd3b711([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x26bd37[_0xd3b711([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2422a4=_0x43d5ec(_0x26bd37[_0xd3b711([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26bd37[_0xd3b711([0x6a,0x74,0x69])])),await _0x20ca32()?_0x1cd3b2()?_0x4ba77c()?_0xd3b711([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b8010()?(_0x26bd37[_0xd3b711([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd3b711([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x565bc0=_0xc6b9e4(_0xd3b711([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x26bd37[_0xd3b711([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd3b711([0x74,0x72,0x69,0x61,0x6c])&&(_0x565bc0=_0xc6b9e4(_0xd3b711([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b7ef8()):_0xd3b711([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd3b711([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd3b711([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd3b711([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ba77c(){const _0x5d80e1=[_0xd3b711([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd3b711([0x74,0x72,0x69,0x61,0x6c])][_0xd3b711([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26bd37[_0xd3b711([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x82646a/0x3e8:0xe10*_0x59c071;return _0x26bd37[_0xd3b711([0x65,0x78,0x70])]<_0x5d80e1;}function _0x1cd3b2(){const _0x3fc669=_0x26bd37[_0xd3b711([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3fc669&&(!!_0x3fc669[_0xd3b711([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd3b711([0x2a]))||!!_0x3fc669[_0xd3b711([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd3b711([0x41,0x49])));}function _0x3b8010(){const _0x1c6707=_0x1144,_0x3e83cf=_0x26bd37[_0xd3b711([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e83cf||0x0==_0x3e83cf[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x48eebc}=new URL(window[_0xd3b711([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1c6707(0x102)]);if(_0x3e83cf[_0xd3b711([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48eebc))return!0x0;const _0x59bdb5=_0x48eebc[_0xd3b711([0x73,0x70,0x6c,0x69,0x74])](_0xd3b711([0x2e]));return _0x3e83cf[_0xd3b711([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ad5f5=>_0x2ad5f5[_0xd3b711([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd3b711([0x2a])))[_0xd3b711([0x6d,0x61,0x70])](_0x20b2d5=>_0x20b2d5[_0xd3b711([0x73,0x70,0x6c,0x69,0x74])](_0xd3b711([0x2e])))[_0xd3b711([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f7a91=>_0x4f7a91[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59bdb5[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd3b711([0x6d,0x61,0x70])](_0x5a0c1a=>Array(_0x59bdb5[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a0c1a[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd3b711([0x66,0x69,0x6c,0x6c])](_0x5a0c1a[0x0]===_0xd3b711([0x2a])?_0xd3b711([0x2a]):'')[_0xd3b711([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a0c1a))[_0xd3b711([0x73,0x6f,0x6d,0x65])](_0x45dd0=>_0x59bdb5[_0xd3b711([0x65,0x76,0x65,0x72,0x79])]((_0x42b6d0,_0x2872dd)=>_0x45dd0[_0x2872dd]===_0x42b6d0||_0x45dd0[_0x2872dd]===_0xd3b711([0x2a])));}function _0x1b7ef8(){return _0x565bc0&&_0x2422a4?new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6afa36,_0xb9700)=>{_0x565bc0[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x6afa36,_0xb9700),_0x2422a4[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x46e815=>{_0x46e815!=_0xd3b711([0x56,0x61,0x6c,0x69,0x64])&&_0x6afa36(_0x46e815);},_0xb9700);}):_0x565bc0||_0x2422a4||_0xd3b711([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43d5ec(_0x227896,_0x322244){return new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x310b04=>{if(_0x556841())return _0x310b04(_0xd3b711([0x56,0x61,0x6c,0x69,0x64]));_0x5cf9e2(),_0x161553[_0xd3b711([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd3b711([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b2aa9=!0x1;const _0x34e195=_0x22faeb();function _0x4add1a(_0x50aca0){return!!_0x50aca0&&(typeof _0x50aca0===_0xd3b711([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50aca0===_0xd3b711([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50aca0[_0xd3b711([0x74,0x68,0x65,0x6e])]===_0xd3b711([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50aca0[_0xd3b711([0x63,0x61,0x74,0x63,0x68])]===_0xd3b711([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x291161(_0x128998){_0x2a67d3(_0x128998)[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x28ffa7=>{if(!_0x28ffa7||_0x28ffa7[_0xd3b711([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd3b711([0x6f,0x6b]))return _0xd3b711([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x298691(_0x3e318b(_0x34e195+_0x322244))!=_0x28ffa7[_0xd3b711([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd3b711([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd3b711([0x56,0x61,0x6c,0x69,0x64]);})[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x132101=>(_0x131bd4(),_0x132101),()=>{const _0x5a558f=_0x53f704();return null==_0x5a558f?(_0x131bd4(),_0xd3b711([0x56,0x61,0x6c,0x69,0x64])):_0xd3b711(_0x82646a-_0x5a558f>(0x19f340e1^_0x59b93c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x310b04)[_0xd3b711([0x63,0x61,0x74,0x63,0x68])](()=>{_0x310b04(_0xd3b711([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x131626=0x3dc92a61^_0x59b93c;function _0x131bd4(){const _0x1b4cc7=_0xd3b711([0x6c,0x6c,0x63,0x74,0x2d])+_0x298691(_0x3e318b(_0x227896)),_0x39d959=_0x2a0e7e(_0x298691(window[_0xd3b711([0x4d,0x61,0x74,0x68])][_0xd3b711([0x63,0x65,0x69,0x6c])](_0x82646a/_0x131626)));window[_0xd3b711([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd3b711([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b4cc7,_0x39d959);}function _0x53f704(){const _0x20cb8c=_0xd3b711([0x6c,0x6c,0x63,0x74,0x2d])+_0x298691(_0x3e318b(_0x227896)),_0x134ab7=window[_0xd3b711([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd3b711([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20cb8c);return _0x134ab7?window[_0xd3b711([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a0e7e(_0x134ab7),0x10)*_0x131626:null;}function _0x2a67d3(_0x5be901){return new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x307eba,_0x1f93d9)=>{_0x5be901[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x307eba,_0x1f93d9),window[_0xd3b711([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f93d9,0x3dfe1021^_0x59b93c);});}}_0x161553[_0xd3b711([0x6f,0x6e])](_0xd3b711([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x928534,_0x5960d3)=>{if(_0x5960d3[0x0]!=_0x227896)return _0x310b04(_0xd3b711([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5960d3[0x1]={..._0x5960d3[0x1],[_0xd3b711([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34e195};},{[_0xd3b711([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd3b711([0x68,0x69,0x67,0x68])}),_0x161553[_0xd3b711([0x6f,0x6e])](_0xd3b711([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a54fd=>{_0x4add1a(_0x1a54fd[_0xd3b711([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b2aa9=!0x0,_0x291161(_0x1a54fd[_0xd3b711([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd3b711([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd3b711([0x6c,0x6f,0x77])}),_0x474d1d[_0xd3b711([0x74,0x68,0x65,0x6e])](()=>{_0x5b2aa9||_0x310b04(_0xd3b711([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x556841(){return _0x161553[_0xd3b711([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd3b711([0x76,0x69,0x65,0x77])][_0xd3b711([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd3b711([0x61,0x75,0x74,0x6f]);}function _0x5cf9e2(){_0x161553[_0xd3b711([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd3b711([0x76,0x69,0x65,0x77])][_0xd3b711([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd3b711([0x61,0x75,0x74,0x6f]);}}function _0xc6b9e4(_0x2c118e){const _0xd22583=[new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ff7af=>setTimeout(_0x3ff7af,0x3df6fa2d^_0x59b93c)),_0x474d1d[_0xd3b711([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x253889=>{let _0x56f62b=0x0;_0x161553[_0xd3b711([0x6d,0x6f,0x64,0x65,0x6c])][_0xd3b711([0x6f,0x6e])](_0xd3b711([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44cdbb,_0x5a3e01)=>{_0x5a3e01[0x0][_0xd3b711([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56f62b++,_0x56f62b==(0x3dffc519^_0x59b93c)&&(_0x253889(),_0x44cdbb[_0xd3b711([0x6f,0x66,0x66])]());});}))];return window[_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd3b711([0x72,0x61,0x63,0x65])](_0xd22583)[_0xd3b711([0x74,0x68,0x65,0x6e])](()=>_0x2c118e);}async function _0x4ef863(){await _0x474d1d,_0x161553[_0xd3b711([0x6d,0x6f,0x64,0x65,0x6c])][_0xd3b711([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x498c17,_0x161553[_0xd3b711([0x6d,0x6f,0x64,0x65,0x6c])][_0xd3b711([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x498c17,_0x161553[_0xd3b711([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd3b711([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38a41a(_0x1d9459){const _0xc4bcbd=_0x4c8db6();_0x161553[_0xc4bcbd]=_0xd3b711([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d9459,_0x1d9459!=_0xd3b711([0x56,0x61,0x6c,0x69,0x64])&&_0x4ef863();}function _0x4c8db6(){const _0x11e275=window[_0xd3b711([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd3b711([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd3b711([0x6e,0x6f,0x77])]())[_0xd3b711([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd3b711([0x2e]),'');let _0x3f84ef=_0xd3b711([0x6e]);for(let _0x5125ce=0x0;_0x5125ce<_0x11e275[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5125ce+=0x2){let _0x22f161=window[_0xd3b711([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11e275[_0xd3b711([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5125ce,_0x5125ce+0x2));_0x22f161>=_0x47cc2e[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22f161-=_0x47cc2e[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f84ef+=_0x47cc2e[_0x22f161];}return _0x3f84ef;}function _0x432d14(){const _0x365f98=_0x33e078[_0xd3b711([0x73,0x70,0x6c,0x69,0x74])](_0xd3b711([0x2e]));if(0x3!=_0x365f98[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48485d(_0x365f98[0x1]);function _0x48485d(_0x3231c7){const _0x9d87d=_0xab4817(_0x3231c7);return _0x9d87d&&_0xfae5bc()?_0x9d87d:null;function _0xfae5bc(){const _0x33ff5b=_0x9d87d[_0xd3b711([0x6a,0x74,0x69])],_0x369364=window[_0xd3b711([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33ff5b[_0xd3b711([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33ff5b[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40fbb1={..._0x9d87d,[_0xd3b711([0x6a,0x74,0x69])]:_0x33ff5b[_0xd3b711([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33ff5b[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40fbb1[_0xd3b711([0x76,0x63])],_0x3e318b(_0x40fbb1)==_0x369364;}}}async function _0x20ca32(){let _0x15d3dc=!0x0;try{const _0xa20b34=_0x33e078[_0xd3b711([0x73,0x70,0x6c,0x69,0x74])](_0xd3b711([0x2e])),[_0xafb552,_0x159fb0,_0x34cff0]=_0xa20b34;return _0x3d59c1(_0xafb552),await _0x2737d6(_0xafb552,_0x159fb0,_0x34cff0),_0x15d3dc;}catch{return!0x1;}function _0x3d59c1(_0x448c0b){const _0x3315ee=_0xab4817(_0x448c0b);_0x3315ee&&_0x3315ee[_0xd3b711([0x61,0x6c,0x67])]==_0xd3b711([0x45,0x53,0x32,0x35,0x36])||(_0x15d3dc=!0x1);}async function _0x2737d6(_0x81d27d,_0x19b1da,_0x4499c9){const _0x58615b=window[_0xd3b711([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd3b711([0x66,0x72,0x6f,0x6d])](_0x195afa(_0x4499c9),_0x301ee3=>_0x301ee3[_0xd3b711([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f8a58=new window[(_0xd3b711([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd3b711([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x81d27d+_0xd3b711([0x2e])+_0x19b1da),_0x20c22f=window[_0xd3b711([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd3b711([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20c22f)return;const _0x10c638=await _0x20c22f[_0xd3b711([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd3b711([0x6a,0x77,0x6b]),_0x4b87ea,{[_0xd3b711([0x6e,0x61,0x6d,0x65])]:_0xd3b711([0x45,0x43,0x44,0x53,0x41]),[_0xd3b711([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd3b711([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd3b711([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20c22f[_0xd3b711([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd3b711([0x6e,0x61,0x6d,0x65])]:_0xd3b711([0x45,0x43,0x44,0x53,0x41]),[_0xd3b711([0x68,0x61,0x73,0x68])]:{[_0xd3b711([0x6e,0x61,0x6d,0x65])]:_0xd3b711([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10c638,_0x58615b,_0x2f8a58)||(_0x15d3dc=!0x1);}}function _0xab4817(_0x4a2135){return _0x4a2135[_0xd3b711([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd3b711([0x65,0x79]))?JSON[_0xd3b711([0x70,0x61,0x72,0x73,0x65])](_0x195afa(_0x4a2135)):null;}function _0x195afa(_0x3a0211){return window[_0xd3b711([0x61,0x74,0x6f,0x62])](_0x3a0211[_0xd3b711([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd3b711([0x2b]))[_0xd3b711([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd3b711([0x2f])));}function _0x3e318b(_0x3f9e75){let _0x7d8bc0=0x1505;function _0x5117f4(_0xa790f4){for(let _0x4c191d=0x0;_0x4c191d<_0xa790f4[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c191d++){const _0x2f98e1=_0xa790f4[_0xd3b711([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c191d);_0x7d8bc0=(_0x7d8bc0<<0x5)+_0x7d8bc0+_0x2f98e1,_0x7d8bc0&=_0x7d8bc0;}}function _0x3c47a2(_0x1ad1ab){Array[_0xd3b711([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ad1ab)?_0x1ad1ab[_0xd3b711([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c47a2):_0x1ad1ab&&typeof _0x1ad1ab==_0xd3b711([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd3b711([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ad1ab)[_0xd3b711([0x73,0x6f,0x72,0x74])]()[_0xd3b711([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x134710,_0x2693de])=>{_0x5117f4(_0x134710),_0x3c47a2(_0x2693de);}):_0x5117f4(window[_0xd3b711([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ad1ab));}return _0x3c47a2(_0x3f9e75),_0x7d8bc0>>>0x0;}function _0x298691(_0x55cdc5){return _0x55cdc5[_0xd3b711([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd3b711([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd3b711([0x30]));}function _0x2a0e7e(_0x1868ec){return _0x1868ec[_0xd3b711([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd3b711([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd3b711([0x6a,0x6f,0x69,0x6e])]('');}function _0x498c17(){}function _0xd3b711(_0x439235){const _0x40aa64=_0x1144;return _0x439235[_0x40aa64(0x112)](_0x2209aa=>String[_0x40aa64(0x11d)](_0x2209aa))[_0x40aa64(0x138)]('');}_0x38a41a(await _0x40a4b8());}(this);}[_0x24a607(0xee)](){const _0x5a5eb8=_0x24a607,_0x38ed58=this[_0x5a5eb8(0x11e)][_0x5a5eb8(0x105)];_0x38ed58[_0x5a5eb8(0xf5)](_0x420de0=>{const _0x440193=_0x5a5eb8,_0x51ae0b=_0x38ed58[_0x440193(0x141)][_0x440193(0x110)][_0x440193(0x13a)]();let _0x36bdcf=0x0;for(const _0x3a5d99 of _0x51ae0b){const _0x59c5ed=C+':'+_0x36bdcf;if(_0x38ed58[_0x440193(0x10b)][_0x440193(0xed)](_0x59c5ed))_0x420de0[_0x440193(0xe0)](_0x59c5ed,{'range':_0x3a5d99});else{if(_0x3a5d99[_0x440193(0x124)][_0x440193(0xd9)]){const _0x54cb3c=_0x3a5d99[_0x440193(0x124)][_0x440193(0x104)](({item:_0x2ff30e})=>!_0x38ed58[_0x440193(0xe7)][_0x440193(0xef)](_0x2ff30e),{'boundaries':_0x3a5d99});_0x420de0[_0x440193(0x133)](_0x59c5ed,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x420de0[_0x440193(0x12b)](_0x54cb3c,_0x3a5d99[_0x440193(0xe8)])});}else _0x420de0[_0x440193(0x133)](_0x59c5ed,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3a5d99});}_0x36bdcf++;}});}[_0x24a607(0x122)](){const _0x518ff9=_0x24a607,_0x1a3a88=this[_0x518ff9(0x11e)][_0x518ff9(0x105)],_0xeb3e17=Array[_0x518ff9(0x13f)](this[_0x518ff9(0x11e)][_0x518ff9(0x105)][_0x518ff9(0x10b)][_0x518ff9(0x140)](C));_0xeb3e17[_0x518ff9(0x137)]&&_0x1a3a88[_0x518ff9(0xf5)](_0x1edcfc=>{const _0x379777=_0x518ff9;_0xeb3e17[_0x379777(0x13c)](_0x569ef4=>{const _0x180652=_0x379777;_0x1edcfc[_0x180652(0xdd)](_0x569ef4);});});}[_0x24a607(0x10c)](_0xdb912f,_0x380ae2){const _0x48636f=_0x24a607,_0x30e222=this[_0x48636f(0x145)](),_0x2456b9=_0x380ae2||_0x30e222[_0x48636f(0xf0)]();this[_0x48636f(0x11e)][_0x48636f(0x105)][_0x48636f(0x13e)](_0x2456b9)&&this[_0x48636f(0x11e)][_0x48636f(0x105)][_0x48636f(0xf5)](_0x3b5662=>{const _0x16c166=_0x48636f;this[_0x16c166(0x122)](),_0x380ae2||this[_0x16c166(0xe6)](_0x3b5662,_0x30e222),this[_0x16c166(0xdf)]({'insertAt':_0x2456b9,'writer':_0x3b5662,'html':_0xdb912f});});}[_0x24a607(0x12c)](_0x413c8c){const _0x5df2ea=_0x24a607,{model:_0x15ced2}=this[_0x5df2ea(0x11e)],_0x291b9d=this[_0x5df2ea(0x145)]();_0x15ced2[_0x5df2ea(0xf5)](()=>{const _0x2588a7=_0x5df2ea,_0x111e3d=this[_0x2588a7(0x13b)](_0x413c8c,_0x291b9d)||this[_0x2588a7(0xfa)](_0x291b9d);this[_0x2588a7(0x10c)](_0x413c8c,_0x111e3d);});}[_0x24a607(0x145)](){const _0x29b036=_0x24a607,_0x36d401=this[_0x29b036(0x11e)][_0x29b036(0x105)],_0x445772=Array[_0x29b036(0x13f)](_0x36d401[_0x29b036(0x10b)][_0x29b036(0x140)](C))[_0x29b036(0x112)](_0x37bbde=>_0x37bbde[_0x29b036(0x139)]());return _0x36d401[_0x29b036(0x135)](_0x445772);}[_0x24a607(0xdf)]({writer:_0x2c9197,html:_0x4af59a,insertAt:_0x32a4f8}){const _0x1298c2=_0x24a607,{view:_0x3b7164}=this[_0x1298c2(0x11e)][_0x1298c2(0x118)],_0xd2525b=this[_0x1298c2(0x11e)][_0x1298c2(0xda)][_0x1298c2(0x146)](_0x49de12),_0x4c963d=new _();_0x4c963d[_0x1298c2(0x116)](_0x1298c2(0x131),_0x4af59a);const _0x4604d9=new ClipboardEvent(_0x1298c2(0x113),{'clipboardData':_0x4c963d}),_0x2b87fe=new _0x10032b(_0x3b7164,_0x4604d9,{'dataTransfer':new _0x1acd43(_0x4c963d)});_0x2c9197[_0x1298c2(0x107)](_0x32a4f8);const _0x16ac37=(_0x59653f,_0x664fb4)=>{const _0x3f9c81=_0x1298c2;_0x664fb4[_0x3f9c81(0x13d)]&&_0x2c9197[_0x3f9c81(0x107)](_0x664fb4[_0x3f9c81(0x13d)]);};_0xd2525b[_0x1298c2(0x109)](_0x1298c2(0xf2),_0x16ac37,{'priority':_0x1298c2(0xf7)}),_0x3b7164[_0x1298c2(0x141)][_0x1298c2(0x111)](_0x1298c2(0x113),_0x2b87fe),_0xd2525b[_0x1298c2(0x11a)](_0x1298c2(0xf2),_0x16ac37);}[_0x24a607(0xfa)](_0x446abf){const _0x508421=_0x24a607,{model:_0x4d4b53}=this[_0x508421(0x11e)],_0x17723e=Array[_0x508421(0x13f)](_0x446abf[_0x508421(0xf9)]());return _0x17723e[_0x508421(0x137)]?_0x4d4b53[_0x508421(0x120)](_0x17723e[_0x508421(0xd8)]()):_0x446abf[_0x508421(0xeb)]();}[_0x24a607(0x13b)](_0x4d98d7,_0x21624b){const _0x150bec=_0x24a607,{model:_0x2d5f75,plugins:_0x24225a}=this[_0x150bec(0x11e)];if(_0x24225a[_0x150bec(0xed)](_0x150bec(0x10d))){const _0x2ee093=_0x24225a[_0x150bec(0x146)](_0x150bec(0x10d))[_0x150bec(0xe3)](_0x21624b);if(_0x2ee093[_0x150bec(0x137)]){const _0x4de024=this[_0x150bec(0x10e)](_0x4d98d7),_0x3854f7=this[_0x150bec(0xf6)](_0x2ee093,_0x4de024);return _0x2d5f75[_0x150bec(0x11b)](_0x3854f7,0x0);}}return null;}[_0x24a607(0x10e)](_0x3646f6){const _0x123878=_0x24a607,_0x1c61ff=this[_0x123878(0x11e)][_0x123878(0xda)][_0x123878(0x146)](_0x123878(0x10d)),_0x6ccf92=this[_0x123878(0x11e)][_0x123878(0xea)][_0x123878(0xfc)](_0x3646f6),_0x4c816f=Array[_0x123878(0x13f)](_0x6ccf92[_0x123878(0x134)]())[_0x123878(0xe4)](_0x38a759=>_0x38a759['is'](_0x123878(0x12e),_0x123878(0x126)));let _0x4c9176=0x0;return _0x4c816f[_0x123878(0x13c)](_0x3ede5d=>{const _0x25f4cb=_0x123878;_0x4c9176+=_0x1c61ff[_0x25f4cb(0x12d)](_0x3ede5d);}),_0x4c9176;}[_0x24a607(0xf6)](_0x5b901d,_0x34f5c3){const _0x55d870=_0x24a607,_0x29d344=this[_0x55d870(0x11e)][_0x55d870(0xda)][_0x55d870(0x146)](_0x55d870(0x10d)),_0x5f236b=_0x29d344[_0x55d870(0x114)](_0x5b901d),_0x297b9c=_0x29d344[_0x55d870(0x127)](_0x5b901d),_0x134137=_0x5f236b[_0x55d870(0x12f)]+0x1,_0x275f5b=_0x297b9c[_0x55d870(0xfb)],_0x32fbf8=_0x5b901d[0x0][_0x55d870(0x143)](_0x55d870(0x126));for(let _0xcd259b=0x0;_0xcd259b<_0x34f5c3;_0xcd259b++)_0x29d344[_0x55d870(0xec)](_0x32fbf8,{'at':_0x134137});return _0x32fbf8[_0x55d870(0xf8)](_0x134137)[_0x55d870(0xf8)](_0x275f5b);}[_0x24a607(0xe6)](_0x36bb6e,_0x3e6f1f){const _0xd04fd0=_0x24a607,{plugins:_0xc25007}=this[_0xd04fd0(0x11e)],{model:_0x383a89}=_0x36bb6e;if(!_0xc25007[_0xd04fd0(0xed)](_0xd04fd0(0x10d)))return;_0xc25007[_0xd04fd0(0x146)](_0xd04fd0(0x10d))[_0xd04fd0(0xe3)](_0x3e6f1f)[_0xd04fd0(0x137)]&&_0x383a89[_0xd04fd0(0x108)](_0x3e6f1f);}}
|
|
23
|
+
const _0x252cca=_0x6008;(function(_0x261e56,_0x4e7d90){const _0x4b99c0=_0x6008,_0x57d8eb=_0x261e56();while(!![]){try{const _0x498139=-parseInt(_0x4b99c0(0x11c))/0x1*(-parseInt(_0x4b99c0(0x15d))/0x2)+-parseInt(_0x4b99c0(0x13e))/0x3*(parseInt(_0x4b99c0(0x149))/0x4)+parseInt(_0x4b99c0(0x12a))/0x5*(parseInt(_0x4b99c0(0x13a))/0x6)+-parseInt(_0x4b99c0(0x170))/0x7+parseInt(_0x4b99c0(0x118))/0x8+parseInt(_0x4b99c0(0x13f))/0x9+-parseInt(_0x4b99c0(0x135))/0xa*(parseInt(_0x4b99c0(0x148))/0xb);if(_0x498139===_0x4e7d90)break;else _0x57d8eb['push'](_0x57d8eb['shift']());}catch(_0x3c600c){_0x57d8eb['push'](_0x57d8eb['shift']());}}}(_0xe4d9,0x964b0));import{uid as _0x5a187c}from'ckeditor5/src/utils.js';import{Plugin as _0x43a983}from'ckeditor5/src/core.js';function _0x6008(_0x36c1ac,_0xd2bbd9){const _0xe4d9de=_0xe4d9();return _0x6008=function(_0x600808,_0x8d13d9){_0x600808=_0x600808-0x103;let _0x4e743f=_0xe4d9de[_0x600808];return _0x4e743f;},_0x6008(_0x36c1ac,_0xd2bbd9);}import{ClipboardPipeline as _0x4bcceb}from'ckeditor5/src/clipboard.js';function _0xe4d9(){const _0x596a26=['ai-ui','init','removeMarker','plugins','once','1705704yBoIsC','editingDowncast','data','getChildren','href','resultRange','text/html','ck-fake-ai-selection_collapsed','insertContentBelow','markerToHighlight','pop','_pasteHTMLUsingClipboard','_prepareTableInsertBelowPosition','hideFakeVisualSelection','off','DataTransfer','getRanges','markers','span','insertRows','paste','canEditAt','findAncestor','8683224KBfLAr','ck-fake-ai-selection','isOfficialPlugin','createPositionAfter','122wzutGs','getRowIndexes','markerToElement','getRange','createUIElement','showFakeVisualSelection','insertContent','end','getRows','_getTableRowCountFromContent','parse','ai.assistant.useTheme','has','from','6335rMXqAf','for','getChild','getMarkersGroup','change','updateMarker','getSelectedTableCells','get','createRange','length','TableUtils','50rIoybw','setData','isContent','AIAssistantEditing','lowest','2052daWGQB','getFirstRange','pluginName','last','118725cLoxdP','6561657hQvLHZ','ck-ai-assistant-ui_theme','editor','_getDefaultInsertBelowPosition','model','createSelection','isCollapsed','first','_resetContentOfSelectedTableCells','1713459EuSidT','76hxLApq','afterInit','getColumnIndexes','start','markerRange','setSelection','deleteContent','document','filter','getSelectedBlocks','push','editing','_createEmptyTableRows','isAtEnd','contentInsertion','conversion','join','forEach','addClass','getLastMatchingPosition','2332LeCqog','addMarker','map','isPremiumPlugin','getLastPosition','createPositionAt','_getAISelection','element','schema','table','fire','fromCharCode','config','selection'];_0xe4d9=function(){return _0x596a26;};return _0xe4d9();}import{ViewDocumentDomEventData as _0x594305,ViewDataTransfer as _0x5f394c}from'ckeditor5/src/engine.js';const w=globalThis[_0x252cca(0x110)],f=_0x252cca(0x16b);export class AIAssistantEditing extends _0x43a983{static get[_0x252cca(0x13c)](){const _0x2558c4=_0x252cca;return _0x2558c4(0x138);}static get[_0x252cca(0x11a)](){return!0x0;}static get[_0x252cca(0x160)](){return!0x0;}[_0x252cca(0x16c)](){const _0x263268=_0x252cca,{editor:_0x2d2445}=this,_0xe964fa=[_0x263268(0x119)];_0x2d2445[_0x263268(0x169)][_0x263268(0x131)](_0x263268(0x127))&&_0xe964fa[_0x263268(0x153)](_0x263268(0x140)),_0x2d2445[_0x263268(0x158)][_0x263268(0x12b)](_0x263268(0x171))[_0x263268(0x10a)]({'model':f,'view':{'classes':_0xe964fa,'priority':0xc}}),_0x2d2445[_0x263268(0x158)][_0x263268(0x12b)](_0x263268(0x171))[_0x263268(0x11e)]({'model':f,'view':(_0x10215d,{writer:_0x4eeeed})=>{const _0x1ebfd9=_0x263268;if(!_0x10215d[_0x1ebfd9(0x14d)][_0x1ebfd9(0x145)])return null;const _0x1ddef2=_0x4eeeed[_0x1ebfd9(0x120)](_0x1ebfd9(0x113));return _0x4eeeed[_0x1ebfd9(0x15b)]([_0x1ebfd9(0x119),_0x1ebfd9(0x108)],_0x1ddef2),_0x1ddef2;}});}[_0x252cca(0x14a)](){!async function(_0x5be11c){const _0x36040f=_0x65b374([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]),_0x1f4134=0x3dffc4e1,_0x446699=0x3df8bad9^_0x1f4134,_0x16f0a5=window[_0x65b374([0x44,0x61,0x74,0x65])][_0x65b374([0x6e,0x6f,0x77])](),_0x3410aa=_0x5be11c[_0x65b374([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fc09f=new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b7f02=>{_0x3410aa[_0x65b374([0x6f,0x6e,0x63,0x65])](_0x65b374([0x72,0x65,0x61,0x64,0x79]),_0x5b7f02);}),_0x43f6de={[_0x65b374([0x6b,0x74,0x79])]:_0x65b374([0x45,0x43]),[_0x65b374([0x75,0x73,0x65])]:_0x65b374([0x73,0x69,0x67]),[_0x65b374([0x63,0x72,0x76])]:_0x65b374([0x50,0x2d,0x32,0x35,0x36]),[_0x65b374([0x78])]:_0x65b374([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]),[_0x65b374([0x79])]:_0x65b374([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]),[_0x65b374([0x61,0x6c,0x67])]:_0x65b374([0x45,0x53,0x32,0x35,0x36])},_0x382c30=_0x3410aa[_0x65b374([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x65b374([0x67,0x65,0x74])](_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x288878(){let _0x3b3147,_0x1e0720=null,_0x11c296=null;try{if(_0x382c30==_0x65b374([0x47,0x50,0x4c]))return _0x65b374([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b3147=_0x4a1841(),!_0x3b3147)return _0x65b374([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b3147[_0x65b374([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x11c296=_0x574681(_0x3b3147[_0x65b374([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b3147[_0x65b374([0x6a,0x74,0x69])])),await _0x16efb5()?_0x16e789()?_0x19a78c()?_0x65b374([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31902a()?(_0x3b3147[_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x65b374([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e0720=_0x4e932a(_0x65b374([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5864c8()):_0x65b374([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x65b374([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x65b374([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x65b374([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x19a78c(){const _0x5afb8e=[_0x65b374([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x65b374([0x74,0x72,0x69,0x61,0x6c])][_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b3147[_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16f0a5/0x3e8:0xe10*_0x446699;return _0x3b3147[_0x65b374([0x65,0x78,0x70])]<_0x5afb8e;}function _0x16e789(){const _0x503662=_0x3b3147[_0x65b374([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x503662&&(!!_0x503662[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65b374([0x2a]))||!!_0x503662[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65b374([0x41,0x49])));}function _0x31902a(){const _0x467699=_0x6008,_0x5adbef=_0x3b3147[_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5adbef||0x0==_0x5adbef[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x32f801}=new URL(window[_0x65b374([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x467699(0x105)]);if(_0x5adbef[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32f801))return!0x0;const _0x1548d4=_0x32f801[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e]));return _0x5adbef[_0x65b374([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dd90d=>_0x2dd90d[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65b374([0x2a])))[_0x65b374([0x6d,0x61,0x70])](_0x2bdc01=>_0x2bdc01[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e])))[_0x65b374([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57b517=>_0x57b517[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1548d4[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x65b374([0x6d,0x61,0x70])](_0x4f092f=>Array(_0x1548d4[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f092f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x65b374([0x66,0x69,0x6c,0x6c])](_0x4f092f[0x0]===_0x65b374([0x2a])?_0x65b374([0x2a]):'')[_0x65b374([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f092f))[_0x65b374([0x73,0x6f,0x6d,0x65])](_0xe0b796=>_0x1548d4[_0x65b374([0x65,0x76,0x65,0x72,0x79])]((_0x59dfcb,_0x21c20c)=>_0xe0b796[_0x21c20c]===_0x59dfcb||_0xe0b796[_0x21c20c]===_0x65b374([0x2a])));}function _0x5864c8(){return _0x1e0720&&_0x11c296?new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x117d07,_0x45f399)=>{_0x1e0720[_0x65b374([0x74,0x68,0x65,0x6e])](_0x117d07,_0x45f399),_0x11c296[_0x65b374([0x74,0x68,0x65,0x6e])](_0x441de6=>{_0x441de6!=_0x65b374([0x56,0x61,0x6c,0x69,0x64])&&_0x117d07(_0x441de6);},_0x45f399);}):_0x1e0720||_0x11c296||_0x65b374([0x56,0x61,0x6c,0x69,0x64]);}}function _0x574681(_0x1072db,_0x535f37){return new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ecf5f=>{if(_0x114dc8())return _0x2ecf5f(_0x65b374([0x56,0x61,0x6c,0x69,0x64]));_0x165dd5(),_0x3410aa[_0x65b374([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x65b374([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b72ce=!0x1;const _0x45dce9=_0x5a187c();function _0x44071c(_0x1f6ce1){return!!_0x1f6ce1&&(typeof _0x1f6ce1===_0x65b374([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f6ce1===_0x65b374([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f6ce1[_0x65b374([0x74,0x68,0x65,0x6e])]===_0x65b374([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f6ce1[_0x65b374([0x63,0x61,0x74,0x63,0x68])]===_0x65b374([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x214ca1(_0x88cd60){_0x4ffa4d(_0x88cd60)[_0x65b374([0x74,0x68,0x65,0x6e])](_0x3a151f=>{if(!_0x3a151f||_0x3a151f[_0x65b374([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x65b374([0x6f,0x6b]))return _0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x398b14(_0x9f663b(_0x45dce9+_0x535f37))!=_0x3a151f[_0x65b374([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x65b374([0x56,0x61,0x6c,0x69,0x64]);})[_0x65b374([0x74,0x68,0x65,0x6e])](_0x3b849b=>(_0x3005c8(),_0x3b849b),()=>{const _0x5b89f1=_0x4a76ec();return null==_0x5b89f1?(_0x3005c8(),_0x65b374([0x56,0x61,0x6c,0x69,0x64])):_0x65b374(_0x16f0a5-_0x5b89f1>(0x19f340e1^_0x1f4134)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x65b374([0x74,0x68,0x65,0x6e])](_0x2ecf5f)[_0x65b374([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2ecf5f(_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x481c66=0x3dc92a61^_0x1f4134;function _0x3005c8(){const _0x21738f=_0x65b374([0x6c,0x6c,0x63,0x74,0x2d])+_0x398b14(_0x9f663b(_0x1072db)),_0xa41a9c=_0x549518(_0x398b14(window[_0x65b374([0x4d,0x61,0x74,0x68])][_0x65b374([0x63,0x65,0x69,0x6c])](_0x16f0a5/_0x481c66)));window[_0x65b374([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x65b374([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21738f,_0xa41a9c);}function _0x4a76ec(){const _0x3bc442=_0x65b374([0x6c,0x6c,0x63,0x74,0x2d])+_0x398b14(_0x9f663b(_0x1072db)),_0x544602=window[_0x65b374([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x65b374([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bc442);return _0x544602?window[_0x65b374([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x549518(_0x544602),0x10)*_0x481c66:null;}function _0x4ffa4d(_0x302172){return new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fbc42,_0x43601b)=>{_0x302172[_0x65b374([0x74,0x68,0x65,0x6e])](_0x1fbc42,_0x43601b),window[_0x65b374([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x43601b,0x3dfe1021^_0x1f4134);});}}_0x3410aa[_0x65b374([0x6f,0x6e])](_0x65b374([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48e8f7,_0x442c7b)=>{if(_0x442c7b[0x0]!=_0x1072db)return _0x2ecf5f(_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x442c7b[0x1]={..._0x442c7b[0x1],[_0x65b374([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45dce9};},{[_0x65b374([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x65b374([0x68,0x69,0x67,0x68])}),_0x3410aa[_0x65b374([0x6f,0x6e])](_0x65b374([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3604ea=>{_0x44071c(_0x3604ea[_0x65b374([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b72ce=!0x0,_0x214ca1(_0x3604ea[_0x65b374([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x65b374([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x65b374([0x6c,0x6f,0x77])}),_0x3fc09f[_0x65b374([0x74,0x68,0x65,0x6e])](()=>{_0x2b72ce||_0x2ecf5f(_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x114dc8(){return _0x3410aa[_0x65b374([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x65b374([0x76,0x69,0x65,0x77])][_0x65b374([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x65b374([0x61,0x75,0x74,0x6f]);}function _0x165dd5(){_0x3410aa[_0x65b374([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x65b374([0x76,0x69,0x65,0x77])][_0x65b374([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x65b374([0x61,0x75,0x74,0x6f]);}}function _0x4e932a(_0x569bdf){const _0x3c3819=[new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25a653=>setTimeout(_0x25a653,0x3df6fa2d^_0x1f4134)),_0x3fc09f[_0x65b374([0x74,0x68,0x65,0x6e])](()=>new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5057be=>{let _0x12a401=0x0;_0x3410aa[_0x65b374([0x6d,0x6f,0x64,0x65,0x6c])][_0x65b374([0x6f,0x6e])](_0x65b374([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44f831,_0x1f8076)=>{_0x1f8076[0x0][_0x65b374([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12a401++,_0x12a401==(0x3dffc109^_0x1f4134)&&(_0x5057be(),_0x44f831[_0x65b374([0x6f,0x66,0x66])]());});}))];return window[_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x65b374([0x72,0x61,0x63,0x65])](_0x3c3819)[_0x65b374([0x74,0x68,0x65,0x6e])](()=>_0x569bdf);}async function _0x168a12(){await _0x3fc09f,_0x3410aa[_0x65b374([0x6d,0x6f,0x64,0x65,0x6c])][_0x65b374([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5079bd,_0x3410aa[_0x65b374([0x6d,0x6f,0x64,0x65,0x6c])][_0x65b374([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5079bd,_0x3410aa[_0x65b374([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x65b374([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x503c83(_0x425c7f){const _0x13ec9c=_0x18eb7f();_0x3410aa[_0x13ec9c]=_0x65b374([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x425c7f,_0x425c7f!=_0x65b374([0x56,0x61,0x6c,0x69,0x64])&&_0x168a12();}function _0x18eb7f(){const _0x2d0b73=window[_0x65b374([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x65b374([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x65b374([0x6e,0x6f,0x77])]())[_0x65b374([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x65b374([0x2e]),'');let _0x4f100a=_0x65b374([0x6e]);for(let _0x26e33f=0x0;_0x26e33f<_0x2d0b73[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26e33f+=0x2){let _0x544ddc=window[_0x65b374([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d0b73[_0x65b374([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26e33f,_0x26e33f+0x2));_0x544ddc>=_0x36040f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x544ddc-=_0x36040f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f100a+=_0x36040f[_0x544ddc];}return _0x4f100a;}function _0x4a1841(){const _0x4f549f=_0x382c30[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e]));if(0x3!=_0x4f549f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3703b2(_0x4f549f[0x1]);function _0x3703b2(_0x54a382){const _0x1dd2d1=_0x5b6e95(_0x54a382);return _0x1dd2d1&&_0xbae958()?_0x1dd2d1:null;function _0xbae958(){const _0x36db4d=_0x1dd2d1[_0x65b374([0x6a,0x74,0x69])],_0x4ab2ab=window[_0x65b374([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36db4d[_0x65b374([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36db4d[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b70d4={..._0x1dd2d1,[_0x65b374([0x6a,0x74,0x69])]:_0x36db4d[_0x65b374([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x36db4d[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b70d4[_0x65b374([0x76,0x63])],_0x9f663b(_0x5b70d4)==_0x4ab2ab;}}}async function _0x16efb5(){let _0x40b602=!0x0;try{const _0x52d708=_0x382c30[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e])),[_0x13ae29,_0x6a572c,_0x5c2829]=_0x52d708;return _0x378d1d(_0x13ae29),await _0x35b832(_0x13ae29,_0x6a572c,_0x5c2829),_0x40b602;}catch{return!0x1;}function _0x378d1d(_0x307fbd){const _0x4e585a=_0x5b6e95(_0x307fbd);_0x4e585a&&_0x4e585a[_0x65b374([0x61,0x6c,0x67])]==_0x65b374([0x45,0x53,0x32,0x35,0x36])||(_0x40b602=!0x1);}async function _0x35b832(_0x3c01e2,_0xf7ff15,_0x1413c8){const _0x570404=window[_0x65b374([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x65b374([0x66,0x72,0x6f,0x6d])](_0x36fc3d(_0x1413c8),_0x4d9dee=>_0x4d9dee[_0x65b374([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32ccc1=new window[(_0x65b374([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x65b374([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c01e2+_0x65b374([0x2e])+_0xf7ff15),_0x55630d=window[_0x65b374([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x65b374([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55630d)return;const _0x485c97=await _0x55630d[_0x65b374([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x65b374([0x6a,0x77,0x6b]),_0x43f6de,{[_0x65b374([0x6e,0x61,0x6d,0x65])]:_0x65b374([0x45,0x43,0x44,0x53,0x41]),[_0x65b374([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x65b374([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x65b374([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55630d[_0x65b374([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x65b374([0x6e,0x61,0x6d,0x65])]:_0x65b374([0x45,0x43,0x44,0x53,0x41]),[_0x65b374([0x68,0x61,0x73,0x68])]:{[_0x65b374([0x6e,0x61,0x6d,0x65])]:_0x65b374([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x485c97,_0x570404,_0x32ccc1)||(_0x40b602=!0x1);}}function _0x5b6e95(_0x5b8d93){return _0x5b8d93[_0x65b374([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x65b374([0x65,0x79]))?JSON[_0x65b374([0x70,0x61,0x72,0x73,0x65])](_0x36fc3d(_0x5b8d93)):null;}function _0x36fc3d(_0x5cb0ec){return window[_0x65b374([0x61,0x74,0x6f,0x62])](_0x5cb0ec[_0x65b374([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x65b374([0x2b]))[_0x65b374([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x65b374([0x2f])));}function _0x9f663b(_0x2fb63f){let _0x1cb609=0x1505;function _0x22831c(_0x1a6ffa){for(let _0x15ffc6=0x0;_0x15ffc6<_0x1a6ffa[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15ffc6++){const _0x140a8e=_0x1a6ffa[_0x65b374([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15ffc6);_0x1cb609=(_0x1cb609<<0x5)+_0x1cb609+_0x140a8e,_0x1cb609&=_0x1cb609;}}function _0xbed918(_0x127f46){Array[_0x65b374([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x127f46)?_0x127f46[_0x65b374([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbed918):_0x127f46&&typeof _0x127f46==_0x65b374([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x65b374([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x127f46)[_0x65b374([0x73,0x6f,0x72,0x74])]()[_0x65b374([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x183bbb,_0x4196de])=>{_0x22831c(_0x183bbb),_0xbed918(_0x4196de);}):_0x22831c(window[_0x65b374([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x127f46));}return _0xbed918(_0x2fb63f),_0x1cb609>>>0x0;}function _0x398b14(_0x23982c){return _0x23982c[_0x65b374([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x65b374([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x65b374([0x30]));}function _0x549518(_0x344bf5){return _0x344bf5[_0x65b374([0x73,0x70,0x6c,0x69,0x74])]('')[_0x65b374([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x65b374([0x6a,0x6f,0x69,0x6e])]('');}function _0x5079bd(){}function _0x65b374(_0x1757d5){const _0x3d0d2d=_0x6008;return _0x1757d5[_0x3d0d2d(0x15f)](_0x22fc35=>String[_0x3d0d2d(0x168)](_0x22fc35))[_0x3d0d2d(0x159)]('');}_0x503c83(await _0x288878());}(this);}[_0x252cca(0x121)](){const _0x14c44a=_0x252cca,_0xc3d13=this[_0x14c44a(0x141)][_0x14c44a(0x143)];_0xc3d13[_0x14c44a(0x12e)](_0x13ad08=>{const _0x26360e=_0x14c44a,_0x5064b9=_0xc3d13[_0x26360e(0x150)][_0x26360e(0x16a)][_0x26360e(0x111)]();let _0x23ee03=0x0;for(const _0x1f7b12 of _0x5064b9){const _0x2dbb26=f+':'+_0x23ee03;if(_0xc3d13[_0x26360e(0x112)][_0x26360e(0x128)](_0x2dbb26))_0x13ad08[_0x26360e(0x12f)](_0x2dbb26,{'range':_0x1f7b12});else{if(_0x1f7b12[_0x26360e(0x14c)][_0x26360e(0x156)]){const _0x5a5d7a=_0x1f7b12[_0x26360e(0x14c)][_0x26360e(0x15c)](({item:_0x948d97})=>!_0xc3d13[_0x26360e(0x165)][_0x26360e(0x137)](_0x948d97),{'boundaries':_0x1f7b12});_0x13ad08[_0x26360e(0x15e)](_0x2dbb26,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x13ad08[_0x26360e(0x132)](_0x5a5d7a,_0x1f7b12[_0x26360e(0x123)])});}else _0x13ad08[_0x26360e(0x15e)](_0x2dbb26,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1f7b12});}_0x23ee03++;}});}[_0x252cca(0x10e)](){const _0x5dce88=_0x252cca,_0x4aa837=this[_0x5dce88(0x141)][_0x5dce88(0x143)],_0x42039e=Array[_0x5dce88(0x129)](this[_0x5dce88(0x141)][_0x5dce88(0x143)][_0x5dce88(0x112)][_0x5dce88(0x12d)](f));_0x42039e[_0x5dce88(0x133)]&&_0x4aa837[_0x5dce88(0x12e)](_0x6b0ba4=>{const _0x1ef567=_0x5dce88;_0x42039e[_0x1ef567(0x15a)](_0x353e08=>{const _0x12ebce=_0x1ef567;_0x6b0ba4[_0x12ebce(0x16d)](_0x353e08);});});}[_0x252cca(0x122)](_0x273dc6,_0x2c3da4){const _0x5768db=_0x252cca,_0x342a5f=this[_0x5768db(0x163)](),_0x324d2e=_0x2c3da4||_0x342a5f[_0x5768db(0x13b)]();this[_0x5768db(0x141)][_0x5768db(0x143)][_0x5768db(0x116)](_0x324d2e)&&this[_0x5768db(0x141)][_0x5768db(0x143)][_0x5768db(0x12e)](_0x5779cf=>{const _0x3ba89e=_0x5768db;this[_0x3ba89e(0x10e)](),_0x2c3da4||this[_0x3ba89e(0x147)](_0x5779cf,_0x342a5f),this[_0x3ba89e(0x10c)]({'insertAt':_0x324d2e,'writer':_0x5779cf,'html':_0x273dc6});});}[_0x252cca(0x109)](_0x525a7a){const _0x791901=_0x252cca,{model:_0xdff056}=this[_0x791901(0x141)],_0x430d48=this[_0x791901(0x163)]();_0xdff056[_0x791901(0x12e)](()=>{const _0x41d6e5=_0x791901,_0x2b2402=this[_0x41d6e5(0x10d)](_0x525a7a,_0x430d48)||this[_0x41d6e5(0x142)](_0x430d48);this[_0x41d6e5(0x122)](_0x525a7a,_0x2b2402);});}[_0x252cca(0x163)](){const _0x4375f0=_0x252cca,_0x4a7fcf=this[_0x4375f0(0x141)][_0x4375f0(0x143)],_0x108021=Array[_0x4375f0(0x129)](_0x4a7fcf[_0x4375f0(0x112)][_0x4375f0(0x12d)](f))[_0x4375f0(0x15f)](_0x2ada8e=>_0x2ada8e[_0x4375f0(0x11f)]());return _0x4a7fcf[_0x4375f0(0x144)](_0x108021);}[_0x252cca(0x10c)]({writer:_0x45a51c,html:_0x1872db,insertAt:_0x465a13}){const _0x59ea26=_0x252cca,{view:_0x2ee916}=this[_0x59ea26(0x141)][_0x59ea26(0x154)],_0x13ed40=this[_0x59ea26(0x141)][_0x59ea26(0x16e)][_0x59ea26(0x131)](_0x4bcceb),_0x265013=new w();_0x265013[_0x59ea26(0x136)](_0x59ea26(0x107),_0x1872db);const _0x51dfcd=new ClipboardEvent(_0x59ea26(0x115),{'clipboardData':_0x265013}),_0x58ed85=new _0x594305(_0x2ee916,_0x51dfcd,{'dataTransfer':new _0x5f394c(_0x265013)});_0x45a51c[_0x59ea26(0x14e)](_0x465a13);const _0x14a585=(_0x158432,_0x485158)=>{const _0x4da2da=_0x59ea26;_0x485158[_0x4da2da(0x106)]&&_0x45a51c[_0x4da2da(0x14e)](_0x485158[_0x4da2da(0x106)]);};_0x13ed40[_0x59ea26(0x16f)](_0x59ea26(0x157),_0x14a585,{'priority':_0x59ea26(0x139)}),_0x2ee916[_0x59ea26(0x150)][_0x59ea26(0x167)](_0x59ea26(0x115),_0x58ed85),_0x13ed40[_0x59ea26(0x10f)](_0x59ea26(0x157),_0x14a585);}[_0x252cca(0x142)](_0x1ee2e3){const _0x4cdc2d=_0x252cca,{model:_0x34d630}=this[_0x4cdc2d(0x141)],_0x507f88=Array[_0x4cdc2d(0x129)](_0x1ee2e3[_0x4cdc2d(0x152)]());return _0x507f88[_0x4cdc2d(0x133)]?_0x34d630[_0x4cdc2d(0x11b)](_0x507f88[_0x4cdc2d(0x10b)]()):_0x1ee2e3[_0x4cdc2d(0x161)]();}[_0x252cca(0x10d)](_0x592141,_0x528d45){const _0x468f12=_0x252cca,{model:_0x378862,plugins:_0x481a5a}=this[_0x468f12(0x141)];if(_0x481a5a[_0x468f12(0x128)](_0x468f12(0x134))){const _0x467811=_0x481a5a[_0x468f12(0x131)](_0x468f12(0x134))[_0x468f12(0x130)](_0x528d45);if(_0x467811[_0x468f12(0x133)]){const _0x582e14=this[_0x468f12(0x125)](_0x592141),_0x3cc3ee=this[_0x468f12(0x155)](_0x467811,_0x582e14);return _0x378862[_0x468f12(0x162)](_0x3cc3ee,0x0);}}return null;}[_0x252cca(0x125)](_0x35a014){const _0x19e3db=_0x252cca,_0x1cddb1=this[_0x19e3db(0x141)][_0x19e3db(0x16e)][_0x19e3db(0x131)](_0x19e3db(0x134)),_0x2ce70a=this[_0x19e3db(0x141)][_0x19e3db(0x103)][_0x19e3db(0x126)](_0x35a014),_0xdad118=Array[_0x19e3db(0x129)](_0x2ce70a[_0x19e3db(0x104)]())[_0x19e3db(0x151)](_0x37a8a7=>_0x37a8a7['is'](_0x19e3db(0x164),_0x19e3db(0x166)));let _0x588578=0x0;return _0xdad118[_0x19e3db(0x15a)](_0x435ee7=>{const _0x196f7a=_0x19e3db;_0x588578+=_0x1cddb1[_0x196f7a(0x124)](_0x435ee7);}),_0x588578;}[_0x252cca(0x155)](_0x57a736,_0x12a0e3){const _0x12b2f6=_0x252cca,_0x311e6a=this[_0x12b2f6(0x141)][_0x12b2f6(0x16e)][_0x12b2f6(0x131)](_0x12b2f6(0x134)),_0x1bab20=_0x311e6a[_0x12b2f6(0x11d)](_0x57a736),_0x16c04b=_0x311e6a[_0x12b2f6(0x14b)](_0x57a736),_0x2aab17=_0x1bab20[_0x12b2f6(0x13d)]+0x1,_0x32f9bb=_0x16c04b[_0x12b2f6(0x146)],_0x42ed3a=_0x57a736[0x0][_0x12b2f6(0x117)](_0x12b2f6(0x166));for(let _0x38238f=0x0;_0x38238f<_0x12a0e3;_0x38238f++)_0x311e6a[_0x12b2f6(0x114)](_0x42ed3a,{'at':_0x2aab17});return _0x42ed3a[_0x12b2f6(0x12c)](_0x2aab17)[_0x12b2f6(0x12c)](_0x32f9bb);}[_0x252cca(0x147)](_0x4fb9ab,_0x26748e){const _0x261805=_0x252cca,{plugins:_0x355d0a}=this[_0x261805(0x141)],{model:_0x303760}=_0x4fb9ab;if(!_0x355d0a[_0x261805(0x128)](_0x261805(0x134)))return;_0x355d0a[_0x261805(0x131)](_0x261805(0x134))[_0x261805(0x130)](_0x26748e)[_0x261805(0x133)]&&_0x303760[_0x261805(0x14f)](_0x26748e);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4b97ba=_0x4b20;(function(_0x17c269,_0x2bb78c){const _0x10d670=_0x4b20,_0x4260ce=_0x17c269();while(!![]){try{const _0x798630=-parseInt(_0x10d670(0x18b))/0x1+parseInt(_0x10d670(0x1fd))/0x2*(-parseInt(_0x10d670(0x1ee))/0x3)+parseInt(_0x10d670(0x1c5))/0x4*(parseInt(_0x10d670(0x1b8))/0x5)+-parseInt(_0x10d670(0x225))/0x6*(-parseInt(_0x10d670(0x201))/0x7)+parseInt(_0x10d670(0x1b5))/0x8+parseInt(_0x10d670(0x200))/0x9+parseInt(_0x10d670(0x19e))/0xa;if(_0x798630===_0x2bb78c)break;else _0x4260ce['push'](_0x4260ce['shift']());}catch(_0x285bd2){_0x4260ce['push'](_0x4260ce['shift']());}}}(_0x575f,0xa949d));import{Plugin as _0x442809}from'ckeditor5/src/core.js';import{IconMagicWand as _0x33d565,IconRobotPencil as _0x205a62}from'ckeditor5/src/icons.js';function _0x4b20(_0x1fa894,_0x5d6834){const _0x575f3=_0x575f();return _0x4b20=function(_0x4b20ea,_0x21958f){_0x4b20ea=_0x4b20ea-0x17e;let _0x15ec6b=_0x575f3[_0x4b20ea];return _0x15ec6b;},_0x4b20(_0x1fa894,_0x5d6834);}import{first as _0x2b13bf,CKEditorError as _0x246df4}from'ckeditor5/src/utils.js';import{createDropdown as _0x4d307a,addMenuToDropdown as _0x372374,ButtonView as _0x1d2136,MenuBarMenuListItemButtonView as _0x39e850,Dialog as _0x155bd,DialogViewPosition as _0x34ef35,MenuBarMenuView as _0x4c2601,MenuBarMenuListView as _0x53aa04,MenuBarMenuListItemView as _0x9cfcc1}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4b06b9,UNGROUPED_COMMANDS_GROUP_ID as _0x2c767b}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x4a5483}from'./aiassistantediting.js';import{AIAdapter as _0x5cf08e}from'./adapters/aiadapter.js';import{getTranslation as _0x249702}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x578147}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0xb34b78}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x571077}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xa8f898}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const _=globalThis[_0x4b97ba(0x220)];import{ClipboardMarkersUtils as _0x5cc1fe}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2e376c,ViewDataTransfer as _0x16dbf5}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x442809{[_0x4b97ba(0x194)];[_0x4b97ba(0x1c3)];[_0x4b97ba(0x218)];[_0x4b97ba(0x224)];[_0x4b97ba(0x19a)];[_0x4b97ba(0x1a8)];[_0x4b97ba(0x1d4)]='';static get[_0x4b97ba(0x1bb)](){const _0x18acbe=_0x4b97ba;return _0x18acbe(0x226);}static get[_0x4b97ba(0x228)](){return!0x0;}static get[_0x4b97ba(0x1c1)](){return!0x0;}static get[_0x4b97ba(0x1ad)](){return[_0x5cc1fe,_0x4a5483,_0x5cf08e,_0x155bd];}constructor(_0x152ce9){const _0x2bff9c=_0x4b97ba;super(_0x152ce9),_0x152ce9[_0x2bff9c(0x1c2)][_0x2bff9c(0x21c)](_0x2bff9c(0x1ec),[_0x2bff9c(0x1ba),_0x2bff9c(0x1c0),_0x2bff9c(0x204)]),_0x152ce9[_0x2bff9c(0x1c2)][_0x2bff9c(0x21c)](_0x2bff9c(0x1fb),''),_0x152ce9[_0x2bff9c(0x1c2)][_0x2bff9c(0x21c)](_0x2bff9c(0x215),!0x0),this[_0x2bff9c(0x1d4)]=_0x2bff9c(0x1b6)+(_0x152ce9[_0x2bff9c(0x1c2)][_0x2bff9c(0x205)](_0x2bff9c(0x215))?_0x2bff9c(0x19b):'');}[_0x4b97ba(0x1b3)](){const _0x3dfa3b=_0x4b97ba,{editor:_0x4fbd12}=this;this[_0x3dfa3b(0x19a)]=_0x4fbd12[_0x3dfa3b(0x1e5)][_0x3dfa3b(0x205)](_0x5cf08e),this[_0x3dfa3b(0x218)]=_0x4fbd12[_0x3dfa3b(0x1e5)][_0x3dfa3b(0x205)](_0x155bd),this[_0x3dfa3b(0x224)]=null,this[_0x3dfa3b(0x1bd)]=this[_0x3dfa3b(0x17f)]();const _0x5d5a21=new _0x578147(_0x4fbd12,Array[_0x3dfa3b(0x216)](this[_0x3dfa3b(0x1bd)][_0x3dfa3b(0x1be)]()));_0x4fbd12[_0x3dfa3b(0x1ce)][_0x3dfa3b(0x1fe)](_0x3dfa3b(0x1c7),_0x5d5a21),_0x4fbd12['ui'][_0x3dfa3b(0x22d)][_0x3dfa3b(0x1fe)](_0x3dfa3b(0x21b),_0x1bd65c=>{const _0x134012=_0x3dfa3b,_0xdf2d6e=_0x4d307a(_0x1bd65c);return _0xdf2d6e[_0x134012(0x210)]({'class':_0x134012(0x22b)+this[_0x134012(0x1d4)]}),_0xdf2d6e[_0x134012(0x1b0)][_0x134012(0x210)]({'label':_0x249702(_0x1bd65c,_0x134012(0x186)),'icon':_0x33d565,'tooltip':!0x0}),_0xdf2d6e['on'](_0x134012(0x1f1),_0x585bac=>this[_0x134012(0x1b9)](_0x585bac[_0x134012(0x214)]['id'])),_0x372374(_0xdf2d6e,_0x4fbd12['ui'][_0x134012(0x1a5)][_0x134012(0x1df)],function(_0x250406){const _0x49f9c8=_0x134012,_0x27231d=_0x4b06b9(_0x250406[_0x49f9c8(0x1c2)][_0x49f9c8(0x205)](_0x49f9c8(0x22c)),_0x250406[_0x49f9c8(0x1f0)]),_0x1435a5=z(_0x250406,_0x27231d)[_0x49f9c8(0x1a6)](_0x5597eb=>_0x5597eb[_0x49f9c8(0x1ce)][_0x49f9c8(0x207)]);if(0x1===_0x1435a5[_0x49f9c8(0x207)])return z(_0x250406,_0x1435a5[0x0][_0x49f9c8(0x1ce)])[_0x49f9c8(0x1cc)](_0x20f604=>({'id':_0x20f604['id'],'label':_0x20f604[_0x49f9c8(0x21d)]}));return _0x1435a5[_0x49f9c8(0x1cc)](_0x481b5c=>{const _0x325d69=_0x49f9c8,{groupId:_0x30fd88,groupLabel:_0x4012df,commands:_0x54edfa}=_0x481b5c,_0x75914=z(_0x250406,_0x54edfa)[_0x325d69(0x1cc)](_0x38f92d=>({'id':_0x38f92d['id'],'label':_0x38f92d[_0x325d69(0x21d)]}));return{'id':_0x30fd88,'menu':_0x4012df||_0x30fd88,'children':_0x75914};});}(_0x4fbd12),{'ariaLabel':_0x249702(_0x1bd65c,_0x134012(0x186))}),_0xdf2d6e[_0x134012(0x1d5)][_0x134012(0x222)]=_0x134012(0x22b)+this[_0x134012(0x1d4)],_0x5d5a21['on'](_0x134012(0x1f9),_0x6caaf8),_0xdf2d6e[_0x134012(0x1d5)][_0x134012(0x20b)](_0x134012(0x206),_0x6caaf8),_0xdf2d6e;function _0x6caaf8(){const _0x1579eb=_0x134012;_0xdf2d6e[_0x1579eb(0x1d8)]=_0x5d5a21[_0x1579eb(0x208)][_0x1579eb(0x207)]>0x0;for(const _0x5471f2 of _0xdf2d6e[_0x1579eb(0x1d5)][_0x1579eb(0x1a2)])_0x5471f2[_0x1579eb(0x1d8)]=_0x5d5a21[_0x1579eb(0x208)][_0x1579eb(0x1cd)](_0x5471f2['id']);}}),_0x4fbd12['ui'][_0x3dfa3b(0x22d)][_0x3dfa3b(0x1fe)](_0x3dfa3b(0x1a1),_0x56ab61=>{const _0x508caa=_0x3dfa3b,_0xa09f32=new _0x4c2601(_0x56ab61);_0xa09f32[_0x508caa(0x1b0)][_0x508caa(0x210)]({'label':_0x249702(_0x56ab61,_0x508caa(0x186)),'icon':_0x33d565}),_0xa09f32[_0x508caa(0x1b2)](_0x508caa(0x1d8))['to'](_0x5d5a21,_0x508caa(0x208),_0x5842ed=>_0x5842ed[_0x508caa(0x207)]>0x0);const _0x2a66df=_0x4b06b9(_0x4fbd12[_0x508caa(0x1c2)][_0x508caa(0x205)](_0x508caa(0x22c)),_0x56ab61);return this[_0x508caa(0x1ed)](_0x5d5a21,_0xa09f32,_0x2a66df,_0x308a03=>this[_0x508caa(0x1b9)](_0x308a03)),_0xa09f32;}),_0x4fbd12['ui'][_0x3dfa3b(0x22d)][_0x3dfa3b(0x1fe)](_0x3dfa3b(0x1f6),()=>{const _0x5d339b=_0x3dfa3b,_0x1db76b=this[_0x5d339b(0x1f7)](_0x1d2136);return _0x1db76b[_0x5d339b(0x210)]({'tooltip':!0x0,'class':_0x5d339b(0x185)+this[_0x5d339b(0x1d4)]}),_0x1db76b;}),_0x4fbd12['ui'][_0x3dfa3b(0x22d)][_0x3dfa3b(0x1fe)](_0x3dfa3b(0x1d1),()=>{const _0x4ec845=_0x3dfa3b,_0x5d8b22=this[_0x4ec845(0x1f7)](_0x39e850);return _0x5d8b22[_0x4ec845(0x210)]({'role':_0x4ec845(0x181)}),_0x5d8b22;}),this[_0x3dfa3b(0x194)]=this[_0x3dfa3b(0x1e1)][_0x3dfa3b(0x1c2)][_0x3dfa3b(0x205)](_0x3dfa3b(0x194));const _0x6d190=this[_0x3dfa3b(0x1e1)];this[_0x3dfa3b(0x1c3)]=setInterval(()=>{const _0x2d7987=_0x3dfa3b;let _0x3c4a19;for(const _0xd93e2e in _0x6d190){const _0x1631fc=_0xd93e2e,_0x58c154=_0x6d190[_0x1631fc];if(_0x2d7987(0x1bf)==_0x58c154||_0x2d7987(0x1f3)==_0x58c154||_0x2d7987(0x180)==_0x58c154||_0x2d7987(0x209)==_0x58c154||_0x2d7987(0x1d3)==_0x58c154||_0x2d7987(0x1f2)==_0x58c154||_0x2d7987(0x1dd)==_0x58c154||_0x2d7987(0x17e)==_0x58c154){delete _0x6d190[_0x1631fc],_0x3c4a19=_0x58c154,clearInterval(this[_0x2d7987(0x1c3)]),this[_0x2d7987(0x1c3)]=void 0x0;break;}}_0x2d7987(0x1f3)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x182)),_0x2d7987(0x180)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x19d)),_0x2d7987(0x209)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x1cb)),_0x2d7987(0x1d3)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x227),_0x2d7987(0x1e9)),_0x2d7987(0x1f2)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x1c4)),_0x2d7987(0x1dd)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x1b7)),_0x2d7987(0x17e)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x1b4));},0x3e8);}[_0x4b97ba(0x21e)](){const _0x500c33=_0x4b97ba;super[_0x500c33(0x21e)](),this[_0x500c33(0x1c3)]&&clearInterval(this[_0x500c33(0x1c3)]);}[_0x4b97ba(0x190)](_0x1d36ed='',_0x520237='',_0x198550=_0x4b97ba(0x1ab)){const _0x497eb3=_0x4b97ba,_0x49b426=this[_0x497eb3(0x1e1)],_0x5e1db0=_0x49b426[_0x497eb3(0x1d0)][_0x497eb3(0x1a5)],_0x8b74c7=_0x49b426[_0x497eb3(0x1e5)][_0x497eb3(0x205)](_0x4a5483),_0x415af2=_0x49b426[_0x497eb3(0x1e5)][_0x497eb3(0x205)](_0x5cc1fe);_0x8b74c7[_0x497eb3(0x19c)]();const _0x520e76=new _(),_0x3d5965=new ClipboardEvent(_0x497eb3(0x20e),{'clipboardData':_0x520e76}),_0x3089f0=new _0x16dbf5(_0x520e76),_0x32d3f8=new _0x2e376c(_0x5e1db0,_0x3d5965,{'dataTransfer':_0x3089f0});_0x415af2[_0x497eb3(0x1f8)](_0x497eb3(0x221),()=>{const _0x365469=_0x497eb3;_0x5e1db0[_0x365469(0x1da)][_0x365469(0x189)](_0x365469(0x20e),_0x32d3f8);}),this[_0x497eb3(0x224)]||(this[_0x497eb3(0x18a)](),this[_0x497eb3(0x1a8)]=new _0xb34b78(_0x49b426,this[_0x497eb3(0x19a)][_0x497eb3(0x192)],this[_0x497eb3(0x224)]));let _0x4dfa44=_0x3089f0[_0x497eb3(0x198)](_0x497eb3(0x1eb));const _0x55a9c4=_0x49b426[_0x497eb3(0x1f5)][_0x497eb3(0x1da)][_0x497eb3(0x22a)],_0x2984d5=Array[_0x497eb3(0x216)](_0x55a9c4[_0x497eb3(0x193)]());0x1===_0x2984d5[_0x497eb3(0x207)]&&_0x2984d5[0x0][_0x497eb3(0x1db)]&&!_0x55a9c4[_0x497eb3(0x187)]()&&''!==_0x4dfa44[_0x497eb3(0x1a4)](/ /g,'')[_0x497eb3(0x1dc)]()&&(_0x4dfa44=_0x497eb3(0x1ac)+_0x4dfa44+_0x497eb3(0x1bc)),this[_0x497eb3(0x1a8)][_0x497eb3(0x1cf)]({'actionId':_0x198550,'query':_0x1d36ed,'htmlContent':_0x4dfa44,'label':_0x520237,'mainActionLabel':_0xa8f898[_0x49b426[_0x497eb3(0x1f5)][_0x497eb3(0x1da)][_0x497eb3(0x22a)][_0x497eb3(0x223)]?_0x497eb3(0x1ff):_0x497eb3(0x1e2)]}),_0x497eb3(0x1f6)!==this[_0x497eb3(0x218)]['id']?this[_0x497eb3(0x218)][_0x497eb3(0x20d)]({'id':_0x497eb3(0x1f6),'icon':_0x205a62,'title':_0x249702(this[_0x497eb3(0x1e1)][_0x497eb3(0x1f0)],_0x497eb3(0x19f)),'content':this[_0x497eb3(0x224)],'position':_0x34ef35[_0x497eb3(0x1d7)],'onShow':()=>{const _0x322c22=_0x497eb3;this[_0x322c22(0x224)][_0x322c22(0x1fc)]();},'onHide':()=>{const _0x22588a=_0x497eb3;this[_0x22588a(0x1a8)][_0x22588a(0x1ca)](),_0x8b74c7[_0x22588a(0x1e7)]();}}):this[_0x497eb3(0x218)][_0x497eb3(0x1a5)][_0x497eb3(0x21a)]||this[_0x497eb3(0x218)][_0x497eb3(0x1a5)][_0x497eb3(0x1e4)]();}[_0x4b97ba(0x195)](){const _0x44fd07=_0x4b97ba;this[_0x44fd07(0x218)][_0x44fd07(0x1de)]();}[_0x4b97ba(0x17f)](){const _0x596169=_0x4b97ba,_0x4913b9=new Map(),_0x15d832=_0x4b06b9(this[_0x596169(0x1e1)][_0x596169(0x1c2)][_0x596169(0x205)](_0x596169(0x22c)),this[_0x596169(0x1e1)][_0x596169(0x1f0)]);for(const _0x53c63a of _0x15d832)for(const _0x46fc2f of _0x53c63a[_0x596169(0x1ce)])_0x4913b9[_0x596169(0x210)](_0x46fc2f['id'],{..._0x46fc2f,'groupId':_0x53c63a[_0x596169(0x1ae)],'groupLabel':_0x53c63a[_0x596169(0x197)]||_0x53c63a[_0x596169(0x1ae)]});return _0x4913b9;}[_0x4b97ba(0x1f7)](_0x2ed368){const _0x52dd74=_0x4b97ba,_0x4a0934=this[_0x52dd74(0x1e1)],_0x52d9fa=_0x4a0934[_0x52dd74(0x1ce)][_0x52dd74(0x205)](_0x52dd74(0x1c7)),_0x134ee3=new _0x2ed368(_0x4a0934[_0x52dd74(0x1f0)]);return _0x134ee3[_0x52dd74(0x210)]({'label':_0x249702(_0x4a0934[_0x52dd74(0x1f0)],_0x52dd74(0x19f)),'icon':_0x205a62,'isToggleable':!0x0}),_0x134ee3[_0x52dd74(0x1b2)](_0x52dd74(0x1d8))['to'](_0x52d9fa),_0x134ee3[_0x52dd74(0x1b2)](_0x52dd74(0x18d))['to'](this[_0x52dd74(0x218)],'id',_0x1592ba=>_0x52dd74(0x1f6)===_0x1592ba),this[_0x52dd74(0x188)](_0x134ee3,_0x52dd74(0x1f1),()=>{const _0x1f201b=_0x52dd74;_0x134ee3[_0x1f201b(0x18d)]?this[_0x1f201b(0x195)]():_0x52d9fa[_0x1f201b(0x1f1)]();}),_0x134ee3;}[_0x4b97ba(0x18a)](){const _0x20872e=_0x4b97ba,_0x40e450=this[_0x20872e(0x1e1)][_0x20872e(0x1e5)][_0x20872e(0x205)](_0x4a5483);this[_0x20872e(0x224)]=new _0x571077(this[_0x20872e(0x1e1)][_0x20872e(0x1f0)],this[_0x20872e(0x1d4)],this[_0x20872e(0x1e1)][_0x20872e(0x1c2)][_0x20872e(0x205)](_0x20872e(0x1fb))),this[_0x20872e(0x224)]['on'](_0x20872e(0x1fa),()=>{const _0x5c08a6=_0x20872e;this[_0x5c08a6(0x218)][_0x5c08a6(0x1a5)][_0x5c08a6(0x21a)]||this[_0x5c08a6(0x218)][_0x5c08a6(0x1a5)][_0x5c08a6(0x1e4)]();}),this[_0x20872e(0x224)][_0x20872e(0x199)][_0x20872e(0x1aa)][_0x20872e(0x1f4)]['on'](_0x20872e(0x212),()=>{const _0x211500=_0x20872e;this[_0x211500(0x218)][_0x211500(0x1a5)][_0x211500(0x21a)]||this[_0x211500(0x218)][_0x211500(0x1a5)][_0x211500(0x1e4)]();}),this[_0x20872e(0x188)](this[_0x20872e(0x224)],_0x20872e(0x203),()=>{const _0xcdd04d=_0x20872e;_0x40e450[_0xcdd04d(0x229)](this[_0xcdd04d(0x1a8)][_0xcdd04d(0x20c)]),this[_0xcdd04d(0x195)]();}),this[_0x20872e(0x188)](this[_0x20872e(0x224)],_0x20872e(0x1e0),()=>{const _0x3d2d9a=_0x20872e;_0x40e450[_0x3d2d9a(0x1e0)](this[_0x3d2d9a(0x1a8)][_0x3d2d9a(0x20c)]),this[_0x3d2d9a(0x195)]();}),this[_0x20872e(0x1ef)]();}[_0x4b97ba(0x1ef)](){const _0x151679=_0x4b97ba,{locale:_0x257ead,ui:{ariaLiveAnnouncer:_0x465a41}}=this[_0x151679(0x1e1)];this[_0x151679(0x224)][_0x151679(0x1b1)]['on'](_0x151679(0x1af),(_0x1e07d2,_0x395874,_0x38742d)=>{const _0x2891f7=_0x151679,_0x10c434=this[_0x2891f7(0x1a8)][_0x2891f7(0x20c)];_0x38742d?_0x465a41[_0x2891f7(0x1c9)](_0x249702(_0x257ead,_0x2891f7(0x1d2))):_0x10c434&&_0x465a41[_0x2891f7(0x1c9)](_0x249702(_0x257ead,_0x2891f7(0x213),_0x10c434),{'politeness':_0x2891f7(0x202),'isUnsafeHTML':!0x0});}),this[_0x151679(0x224)]['on'](_0x151679(0x211),(_0x374110,_0x281b73,_0x54bdf9)=>{const _0x10d039=_0x151679;if(_0x54bdf9){const _0x53462b=this[_0x10d039(0x224)][_0x10d039(0x1d9)][_0x10d039(0x183)];_0x465a41[_0x10d039(0x1c9)](_0x249702(_0x257ead,_0x10d039(0x1a9),_0x53462b));}});}[_0x4b97ba(0x1b9)](_0x335636){const _0x4600f9=_0x4b97ba,_0x33e9eb=this[_0x4600f9(0x1bd)][_0x4600f9(0x205)](_0x335636),_0x13ba59=this[_0x4600f9(0x1e1)],_0x2a9ef3=_0x13ba59[_0x4600f9(0x1f5)][_0x4600f9(0x1da)][_0x4600f9(0x22a)],_0x139fe5=_0x13ba59[_0x4600f9(0x1ce)][_0x4600f9(0x205)](_0x4600f9(0x1c7)),_0x418064=_0x13ba59[_0x4600f9(0x1e5)][_0x4600f9(0x205)](_0x4a5483),_0x5da8bb=''+(_0x33e9eb[_0x4600f9(0x1ae)]!==_0x2c767b?_0x33e9eb[_0x4600f9(0x197)]+':\x20':'')+_0x33e9eb[_0x4600f9(0x21d)];if(!0x1!==_0x33e9eb[_0x4600f9(0x20a)]&&_0x2a9ef3[_0x4600f9(0x223)]){const _0x619026=_0x2b13bf(_0x2a9ef3[_0x4600f9(0x1e3)]())||_0x13ba59[_0x4600f9(0x1f5)][_0x4600f9(0x217)][_0x4600f9(0x21f)](_0x2a9ef3);_0x13ba59[_0x4600f9(0x1f5)][_0x4600f9(0x1c8)](_0x35f95a=>{const _0x1d2516=_0x4600f9;_0x35f95a[_0x1d2516(0x20f)](_0x619026,'in');});}_0x418064[_0x4600f9(0x19c)](),_0x139fe5[_0x4600f9(0x1f1)](_0x33e9eb[_0x4600f9(0x1e8)],_0x5da8bb,_0x4600f9(0x1d6)+_0x335636);}[_0x4b97ba(0x1ed)](_0x1d5c07,_0x55865c,_0xe169e,_0x19856f){const _0x4c8c06=_0x4b97ba,_0x1754b3=this[_0x4c8c06(0x1e1)],_0x273863=_0x1754b3[_0x4c8c06(0x1f0)],_0x3040af=new _0x53aa04(_0x273863),_0x26633b=z(_0x1754b3,_0xe169e)[_0x4c8c06(0x1a6)](_0x5244c3=>_0x5244c3[_0x4c8c06(0x1ce)][_0x4c8c06(0x207)]);0x1===_0x26633b[_0x4c8c06(0x207)]?this[_0x4c8c06(0x1e6)]({'command':_0x1d5c07,'commands':_0x26633b[0x0][_0x4c8c06(0x1ce)],'parentMenuView':_0x55865c,'onExecute':_0x19856f})[_0x4c8c06(0x1a0)](_0x22f398=>_0x3040af[_0x4c8c06(0x1a3)][_0x4c8c06(0x1fe)](_0x22f398)):_0x26633b[_0x4c8c06(0x1a0)](({groupId:_0x299f66,groupLabel:_0x151bce,commands:_0x2a43f7})=>{const _0x5722c5=_0x4c8c06,_0x110fd5=new _0x9cfcc1(_0x273863,_0x55865c),_0x175480=new _0x4c2601(_0x273863),_0x164341=new _0x53aa04(_0x273863),_0x41cf25=this[_0x5722c5(0x1e6)]({'command':_0x1d5c07,'commands':_0x2a43f7,'parentMenuView':_0x175480,'onExecute':_0x19856f});_0x175480[_0x5722c5(0x1b0)][_0x5722c5(0x210)]({'label':_0x151bce||_0x299f66}),_0x175480[_0x5722c5(0x219)](_0x5722c5(0x1f1))['to'](_0x55865c),_0x164341[_0x5722c5(0x1a3)][_0x5722c5(0x184)](_0x41cf25),_0x175480[_0x5722c5(0x18e)][_0x5722c5(0x1a7)][_0x5722c5(0x1fe)](_0x164341),_0x110fd5[_0x5722c5(0x1a7)][_0x5722c5(0x1fe)](_0x175480),_0x3040af[_0x5722c5(0x1a3)][_0x5722c5(0x1fe)](_0x110fd5);}),_0x55865c[_0x4c8c06(0x18e)][_0x4c8c06(0x1a7)][_0x4c8c06(0x1fe)](_0x3040af);}[_0x4b97ba(0x1e6)]({command:_0x19f607,commands:_0x5d9fac,parentMenuView:_0x435c4a,onExecute:_0x4f759c}){const _0x266e91=_0x4b97ba,_0x20cd1e=this[_0x266e91(0x1e1)],_0x1790d2=_0x20cd1e[_0x266e91(0x1f0)];return z(_0x20cd1e,_0x5d9fac)[_0x266e91(0x1cc)](_0x5c0387=>{const _0x96cfef=_0x266e91,_0x4d86c=new _0x9cfcc1(_0x1790d2,_0x435c4a),_0x4f581c=new _0x39e850(_0x1790d2);return _0x4f581c[_0x96cfef(0x210)]({'label':_0x5c0387[_0x96cfef(0x21d)]}),_0x4f581c[_0x96cfef(0x219)](_0x96cfef(0x1f1))['to'](_0x435c4a),_0x4f581c['on'](_0x96cfef(0x1f1),()=>_0x4f759c(_0x5c0387['id'])),_0x4f581c[_0x96cfef(0x1b2)](_0x96cfef(0x1d8))['to'](_0x19f607,_0x96cfef(0x208),_0x7b6f9e=>_0x7b6f9e[_0x96cfef(0x1cd)](_0x5c0387['id'])),_0x4d86c[_0x96cfef(0x1a7)][_0x96cfef(0x1fe)](_0x4f581c),_0x4d86c;});}}function S(_0x5e93cb,_0xd114ec){const _0x419d09=_0x4b97ba;return void 0x0!==_0x5e93cb[_0x419d09(0x1c6)]&&void 0x0===_0xd114ec[_0x419d09(0x1c6)]?0x1:void 0x0===_0x5e93cb[_0x419d09(0x1c6)]&&void 0x0!==_0xd114ec[_0x419d09(0x1c6)]?-0x1:void 0x0!==_0x5e93cb[_0x419d09(0x1c6)]&&void 0x0!==_0xd114ec[_0x419d09(0x1c6)]?_0x5e93cb[_0x419d09(0x1c6)]-_0xd114ec[_0x419d09(0x1c6)]:0x0;}function _0x575f(){const _0x16b540=['_licenseKeyCheckInterval','evaluationLimit','488cAMrud','order','showAIAssistant','change','announce','reset','domainLimit','map','includes','commands','updateView','editing','menuBar:aiAssistant','AI\x20is\x20writing','aiLicenseKeyNotAllowed','_uiCssClasses','menuView','command:','EDITOR_TOP_SIDE','isEnabled','errorView','document','isFlat','trim','aiLicenseKeyTrialLimit','hide','body','insertContentBelow','editor','REPLACE','getSelectedBlocks','updatePosition','plugins','_getMenuBarGroupButtons','hideFakeVisualSelection','prompt','AIAssistant','_showLicenseError','text/html','ai.assistant.disabledElements','_populateMenuBarMenu','55167OxXtsl','_initAriaAiStatusChangeAnnouncements','locale','execute','aiLicenseKeyEvaluationLimit','aiLicenseKeyInvalid','fieldView','model','aiAssistant','_createAIAssistantUIButton','_forceMarkersCopy','change:enabledCommandsIds','change:value','ai.assistant.contentAreaCssClass','focus','84RViYIm','add','INSERT','9602910ZvFnla','56GWYSzD','polite','replaceContent','tableOfContents','get','render','length','enabledCommandsIds','aiLicenseKeyDomainLimit','requiresContent','once','currentContext','show','copy','setSelection','set','change:isError','update','Generated\x20content:\x20%0','source','ai.assistant.useTheme','from','schema','_dialog','delegate','wasMoved','aiCommands','define','label','destroy','getLimitElement','DataTransfer','comment','menuPanelClass','isCollapsed','_formView','149658rcSSON','AIAssistantUI','featureNotAllowed','isOfficialPlugin','insertContent','selection','ck-ai-commands-dropdown\x20','ai.assistant.commands','componentFactory','aiLicenseKeyUsageLimit','_getResolvedCommandsDefinitions','aiLicenseKeyExpired','menuitemcheckbox','invalid','text','addMany','ck-ai-assistant-button\x20','AI\x20Commands','getSelectedElement','listenTo','fire','_initView','1129576FfFeun','splice','isOn','panelView','push','showUI','sort','textAdapter','getRanges','licenseKey','hideUI','ai-commands-config-order-collision','groupLabel','getData','promptView','_aiAdapter','\x20ck-ai-assistant-ui_theme','showFakeVisualSelection','expired','7176960bpThEL','AI\x20Assistant','forEach','menuBar:aiCommands','buttons','items','replace','view','filter','children','_aiAssistantController','Error\x20during\x20AI\x20content\x20generation:\x20%0','queryView','custom','<p>','requires','groupId','change:isProcessing','buttonView','contentArea','bind','init','usageLimit','1955832MgBfRo','ck-ai-assistant-ui','trialLimit','15025aYYGCM','_onExecute','media','pluginName','</p>','_commandDefinitions','values','aiLicenseKeyValid','rawHtml','isPremiumPlugin','config'];_0x575f=function(){return _0x16b540;};return _0x575f();}function z(_0x28dc46,_0x27251e){const _0xe381fa=_0x4b97ba;_0x27251e[_0xe381fa(0x191)](S);const _0x525661={},_0x389547=[];for(const _0x56bf2c of _0x27251e)if(void 0x0!==_0x56bf2c[_0xe381fa(0x1c6)]){if(_0x56bf2c[_0xe381fa(0x1c6)]in _0x525661)throw new _0x246df4(_0xe381fa(0x196),_0x28dc46,{'conflictingDefinitions':[_0x56bf2c,_0x525661[_0x56bf2c[_0xe381fa(0x1c6)]]]});_0x525661[_0x56bf2c[_0xe381fa(0x1c6)]]=_0x56bf2c,_0x389547[_0xe381fa(0x18c)](_0x56bf2c[_0xe381fa(0x1c6)],0x0,_0x56bf2c);}else _0x389547[_0xe381fa(0x18f)](_0x56bf2c);return _0x389547;}
|
|
23
|
+
const _0x180ac6=_0x4986;(function(_0x3db022,_0x49e7be){const _0xe62345=_0x4986,_0x33bba6=_0x3db022();while(!![]){try{const _0x1c2a9f=parseInt(_0xe62345(0x1a9))/0x1+-parseInt(_0xe62345(0x20e))/0x2+-parseInt(_0xe62345(0x207))/0x3*(-parseInt(_0xe62345(0x1e5))/0x4)+parseInt(_0xe62345(0x247))/0x5*(parseInt(_0xe62345(0x238))/0x6)+-parseInt(_0xe62345(0x22b))/0x7+-parseInt(_0xe62345(0x200))/0x8*(-parseInt(_0xe62345(0x20a))/0x9)+-parseInt(_0xe62345(0x234))/0xa;if(_0x1c2a9f===_0x49e7be)break;else _0x33bba6['push'](_0x33bba6['shift']());}catch(_0x583fd8){_0x33bba6['push'](_0x33bba6['shift']());}}}(_0x38e1,0xca493));import{Plugin as _0x385d56}from'ckeditor5/src/core.js';import{IconMagicWand as _0x28c321,IconRobotPencil as _0x2c8b3d}from'ckeditor5/src/icons.js';import{first as _0x4bbd95,CKEditorError as _0x3468e4}from'ckeditor5/src/utils.js';import{createDropdown as _0x4175bf,addMenuToDropdown as _0x22b1bc,ButtonView as _0x8a01c1,MenuBarMenuListItemButtonView as _0x248838,Dialog as _0x495752,DialogViewPosition as _0x2c000c,MenuBarMenuView as _0x13bb74,MenuBarMenuListView as _0x52e183,MenuBarMenuListItemView as _0x490810}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x5a72c8,UNGROUPED_COMMANDS_GROUP_ID as _0x1b9da5}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3487ae}from'./aiassistantediting.js';import{AIAdapter as _0x76896f}from'./adapters/aiadapter.js';import{getTranslation as _0x4302ce}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x42be58}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1ce29f}from'./ui/aiassistantcontroller.js';function _0x4986(_0x17218b,_0x1e54a2){const _0x38e1d8=_0x38e1();return _0x4986=function(_0x498610,_0x210b1f){_0x498610=_0x498610-0x1a7;let _0x4e9d3f=_0x38e1d8[_0x498610];return _0x4e9d3f;},_0x4986(_0x17218b,_0x1e54a2);}import{AIFormView as _0x856fe8}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5d025d}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x38e1(){const _0x22c789=['_initAriaAiStatusChangeAnnouncements','ck-ai-assistant-button\x20','change:value','aiLicenseKeyValid','addMany','model','hideFakeVisualSelection','1551199lWFqPB','_formView','licenseKey','getData','text','_onExecute','announce','menuPanelClass','componentFactory','forEach','featureNotAllowed','DataTransfer','domainLimit','_dialog','items','buttons','AIAssistant','getLimitElement','label','menuView','AIAssistantUI','copy','queryView','groupLabel','custom','ck-ai-commands-dropdown\x20','polite','length','Error\x20during\x20AI\x20content\x20generation:\x20%0','selection','INSERT','rawHtml','buttonView','splice','textAdapter','schema','\x20ck-ai-assistant-ui_theme','media','groupId','EDITOR_TOP_SIDE','reset','get','aiLicenseKeyDomainLimit','_commandDefinitions','ai.assistant.disabledElements','ai.assistant.commands','focus','trim','enabledCommandsIds','getRanges','map','aiLicenseKeyNotAllowed','view','isOfficialPlugin','updatePosition','requiresContent','replace','fire','AI\x20is\x20writing','currentContext','8LQTeEw','comment','evaluationLimit','showFakeVisualSelection','_forceMarkersCopy','destroy','<p>','showAIAssistant','aiLicenseKeyUsageLimit','_createAIAssistantUIButton','document','contentArea','add','aiAssistant','AI\x20Assistant','order','render','_initView','aiCommands','plugins','hide','_licenseKeyCheckInterval','prompt','insertContentBelow','menuBar:aiCommands','commands','editing','3896744XvVqcw','listenTo','editor','change','_showLicenseError','sort','panelView','1155444SVAxxv','tableOfContents','update','9wnjNpz','invalid','setSelection','change:enabledCommandsIds','2004192JeYtTI','isPremiumPlugin','body','menuBar:aiAssistant','delegate','push','command:','menuitemcheckbox','set','source','_getResolvedCommandsDefinitions','_aiAssistantController','text/html','AI\x20Commands','expired','_aiAdapter','change:isProcessing','bind','updateView','aiLicenseKeyEvaluationLimit','includes','aiLicenseKeyInvalid','</p>','replaceContent','init','Generated\x20content:\x20%0','REPLACE','ai-commands-config-order-collision','ai.assistant.useTheme','8381737GrdHeb','promptView','hideUI','isFlat','ck-ai-assistant-ui','once','errorView','pluginName','config','11779880fHXaff','define','isOn','children','8826RgxEIN','ai.assistant.contentAreaCssClass','isCollapsed','change:isError','getSelectedElement','_uiCssClasses','insertContent','usageLimit','isEnabled','filter','getSelectedBlocks','_populateMenuBarMenu','fieldView','locale','values','4750GFCmqC','requires','wasMoved','execute','show','from','showUI','_getMenuBarGroupButtons','aiLicenseKeyExpired'];_0x38e1=function(){return _0x22c789;};return _0x38e1();}const w=globalThis[_0x180ac6(0x1b4)];import{ClipboardMarkersUtils as _0x541e71}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x183d3e,ViewDataTransfer as _0x5820a4}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x385d56{[_0x180ac6(0x1ab)];[_0x180ac6(0x1fa)];[_0x180ac6(0x1b6)];[_0x180ac6(0x1aa)];[_0x180ac6(0x21d)];[_0x180ac6(0x219)];[_0x180ac6(0x23d)]='';static get[_0x180ac6(0x232)](){const _0x3c2d3e=_0x180ac6;return _0x3c2d3e(0x1bd);}static get[_0x180ac6(0x1de)](){return!0x0;}static get[_0x180ac6(0x20f)](){return!0x0;}static get[_0x180ac6(0x248)](){return[_0x541e71,_0x3487ae,_0x76896f,_0x495752];}constructor(_0x2e23fa){const _0x26c1e5=_0x180ac6;super(_0x2e23fa),_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x235)](_0x26c1e5(0x1d5),[_0x26c1e5(0x1ce),_0x26c1e5(0x1c8),_0x26c1e5(0x208)]),_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x235)](_0x26c1e5(0x239),''),_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x235)](_0x26c1e5(0x22a),!0x0),this[_0x26c1e5(0x23d)]=_0x26c1e5(0x22f)+(_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x1d2)](_0x26c1e5(0x22a))?_0x26c1e5(0x1cd):'');}[_0x180ac6(0x226)](){const _0x6d3bbf=_0x180ac6,{editor:_0x12b228}=this;this[_0x6d3bbf(0x21d)]=_0x12b228[_0x6d3bbf(0x1f8)][_0x6d3bbf(0x1d2)](_0x76896f),this[_0x6d3bbf(0x1b6)]=_0x12b228[_0x6d3bbf(0x1f8)][_0x6d3bbf(0x1d2)](_0x495752),this[_0x6d3bbf(0x1aa)]=null,this[_0x6d3bbf(0x1d4)]=this[_0x6d3bbf(0x218)]();const _0x3385e9=new _0x42be58(_0x12b228,Array[_0x6d3bbf(0x24c)](this[_0x6d3bbf(0x1d4)][_0x6d3bbf(0x246)]()));_0x12b228[_0x6d3bbf(0x1fe)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1ec),_0x3385e9),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1f7),_0x317cc0=>{const _0x92650a=_0x6d3bbf,_0x221fd8=_0x4175bf(_0x317cc0);return _0x221fd8[_0x92650a(0x216)]({'class':_0x92650a(0x1c2)+this[_0x92650a(0x23d)]}),_0x221fd8[_0x92650a(0x1c9)][_0x92650a(0x216)]({'label':_0x4302ce(_0x317cc0,_0x92650a(0x21b)),'icon':_0x28c321,'tooltip':!0x0}),_0x221fd8['on'](_0x92650a(0x24a),_0x324f87=>this[_0x92650a(0x1ae)](_0x324f87[_0x92650a(0x217)]['id'])),_0x22b1bc(_0x221fd8,_0x12b228['ui'][_0x92650a(0x1dd)][_0x92650a(0x210)],function(_0x4a2d8b){const _0x8a9857=_0x92650a,_0x4adbca=_0x5a72c8(_0x4a2d8b[_0x8a9857(0x233)][_0x8a9857(0x1d2)](_0x8a9857(0x1d6)),_0x4a2d8b[_0x8a9857(0x245)]),_0x28291d=B(_0x4a2d8b,_0x4adbca)[_0x8a9857(0x241)](_0x37f161=>_0x37f161[_0x8a9857(0x1fe)][_0x8a9857(0x1c4)]);if(0x1===_0x28291d[_0x8a9857(0x1c4)])return B(_0x4a2d8b,_0x28291d[0x0][_0x8a9857(0x1fe)])[_0x8a9857(0x1db)](_0x5a4a41=>({'id':_0x5a4a41['id'],'label':_0x5a4a41[_0x8a9857(0x1bb)]}));return _0x28291d[_0x8a9857(0x1db)](_0x41cc37=>{const _0xf83af4=_0x8a9857,{groupId:_0x83867c,groupLabel:_0x5157fb,commands:_0x5d614c}=_0x41cc37,_0xea486a=B(_0x4a2d8b,_0x5d614c)[_0xf83af4(0x1db)](_0x2a2a44=>({'id':_0x2a2a44['id'],'label':_0x2a2a44[_0xf83af4(0x1bb)]}));return{'id':_0x83867c,'menu':_0x5157fb||_0x83867c,'children':_0xea486a};});}(_0x12b228),{'ariaLabel':_0x4302ce(_0x317cc0,_0x92650a(0x21b))}),_0x221fd8[_0x92650a(0x1bc)][_0x92650a(0x1b0)]=_0x92650a(0x1c2)+this[_0x92650a(0x23d)],_0x3385e9['on'](_0x92650a(0x20d),_0x254473),_0x221fd8[_0x92650a(0x1bc)][_0x92650a(0x230)](_0x92650a(0x1f5),_0x254473),_0x221fd8;function _0x254473(){const _0x43163c=_0x92650a;_0x221fd8[_0x43163c(0x240)]=_0x3385e9[_0x43163c(0x1d9)][_0x43163c(0x1c4)]>0x0;for(const _0x5d1705 of _0x221fd8[_0x43163c(0x1bc)][_0x43163c(0x1b8)])_0x5d1705[_0x43163c(0x240)]=_0x3385e9[_0x43163c(0x1d9)][_0x43163c(0x222)](_0x5d1705['id']);}}),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1fd),_0x18c598=>{const _0x3d6007=_0x6d3bbf,_0x43491e=new _0x13bb74(_0x18c598);_0x43491e[_0x3d6007(0x1c9)][_0x3d6007(0x216)]({'label':_0x4302ce(_0x18c598,_0x3d6007(0x21b)),'icon':_0x28c321}),_0x43491e[_0x3d6007(0x21f)](_0x3d6007(0x240))['to'](_0x3385e9,_0x3d6007(0x1d9),_0x591c86=>_0x591c86[_0x3d6007(0x1c4)]>0x0);const _0x5e2c54=_0x5a72c8(_0x12b228[_0x3d6007(0x233)][_0x3d6007(0x1d2)](_0x3d6007(0x1d6)),_0x18c598);return this[_0x3d6007(0x243)](_0x3385e9,_0x43491e,_0x5e2c54,_0x38701c=>this[_0x3d6007(0x1ae)](_0x38701c)),_0x43491e;}),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1f2),()=>{const _0x49d16d=_0x6d3bbf,_0x4674b2=this[_0x49d16d(0x1ee)](_0x8a01c1);return _0x4674b2[_0x49d16d(0x216)]({'tooltip':!0x0,'class':_0x49d16d(0x251)+this[_0x49d16d(0x23d)]}),_0x4674b2;}),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x211),()=>{const _0x5384f2=_0x6d3bbf,_0x493394=this[_0x5384f2(0x1ee)](_0x248838);return _0x493394[_0x5384f2(0x216)]({'role':_0x5384f2(0x215)}),_0x493394;}),this[_0x6d3bbf(0x1ab)]=this[_0x6d3bbf(0x202)][_0x6d3bbf(0x233)][_0x6d3bbf(0x1d2)](_0x6d3bbf(0x1ab));const _0x19b50f=this[_0x6d3bbf(0x202)];this[_0x6d3bbf(0x1fa)]=setInterval(()=>{const _0x2be92b=_0x6d3bbf;let _0x42e091;for(const _0x382c66 in _0x19b50f){const _0x41e820=_0x382c66,_0x15afca=_0x19b50f[_0x41e820];if(_0x2be92b(0x253)==_0x15afca||_0x2be92b(0x223)==_0x15afca||_0x2be92b(0x24f)==_0x15afca||_0x2be92b(0x1d3)==_0x15afca||_0x2be92b(0x1dc)==_0x15afca||_0x2be92b(0x221)==_0x15afca||_0x2be92b(0x1ed)==_0x15afca){delete _0x19b50f[_0x41e820],_0x42e091=_0x15afca,clearInterval(this[_0x2be92b(0x1fa)]),this[_0x2be92b(0x1fa)]=void 0x0;break;}}_0x2be92b(0x223)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x20b)),_0x2be92b(0x24f)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x21c)),_0x2be92b(0x1d3)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x1b5)),_0x2be92b(0x1dc)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x1b3),_0x2be92b(0x1b9)),_0x2be92b(0x221)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x1e7)),_0x2be92b(0x1ed)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x23f));},0x3e8);}[_0x180ac6(0x1ea)](){const _0x28b4aa=_0x180ac6;super[_0x28b4aa(0x1ea)](),this[_0x28b4aa(0x1fa)]&&clearInterval(this[_0x28b4aa(0x1fa)]);}[_0x180ac6(0x24d)](_0x2c4386='',_0x5a61b6='',_0xe5139d=_0x180ac6(0x1c1)){const _0x4a37ed=_0x180ac6,_0x37f6c4=this[_0x4a37ed(0x202)],_0x54d7b0=_0x37f6c4[_0x4a37ed(0x1ff)][_0x4a37ed(0x1dd)],_0x5ab0da=_0x37f6c4[_0x4a37ed(0x1f8)][_0x4a37ed(0x1d2)](_0x3487ae),_0x34006b=_0x37f6c4[_0x4a37ed(0x1f8)][_0x4a37ed(0x1d2)](_0x541e71);_0x5ab0da[_0x4a37ed(0x1e8)]();const _0x50283d=new w(),_0x2b5290=new ClipboardEvent(_0x4a37ed(0x1be),{'clipboardData':_0x50283d}),_0x6e4885=new _0x5820a4(_0x50283d),_0x3bd638=new _0x183d3e(_0x54d7b0,_0x2b5290,{'dataTransfer':_0x6e4885});_0x34006b[_0x4a37ed(0x1e9)](_0x4a37ed(0x1e6),()=>{const _0x5b40a5=_0x4a37ed;_0x54d7b0[_0x5b40a5(0x1ef)][_0x5b40a5(0x1e2)](_0x5b40a5(0x1be),_0x3bd638);}),this[_0x4a37ed(0x1aa)]||(this[_0x4a37ed(0x1f6)](),this[_0x4a37ed(0x219)]=new _0x1ce29f(_0x37f6c4,this[_0x4a37ed(0x21d)][_0x4a37ed(0x1cb)],this[_0x4a37ed(0x1aa)]));let _0x126331=_0x6e4885[_0x4a37ed(0x1ac)](_0x4a37ed(0x21a));const _0x449a1c=_0x37f6c4[_0x4a37ed(0x1a7)][_0x4a37ed(0x1ef)][_0x4a37ed(0x1c6)],_0x16dbec=Array[_0x4a37ed(0x24c)](_0x449a1c[_0x4a37ed(0x1da)]());0x1===_0x16dbec[_0x4a37ed(0x1c4)]&&_0x16dbec[0x0][_0x4a37ed(0x22e)]&&!_0x449a1c[_0x4a37ed(0x23c)]()&&''!==_0x126331[_0x4a37ed(0x1e1)](/ /g,'')[_0x4a37ed(0x1d8)]()&&(_0x126331=_0x4a37ed(0x1eb)+_0x126331+_0x4a37ed(0x224)),this[_0x4a37ed(0x219)][_0x4a37ed(0x220)]({'actionId':_0xe5139d,'query':_0x2c4386,'htmlContent':_0x126331,'label':_0x5a61b6,'mainActionLabel':_0x5d025d[_0x37f6c4[_0x4a37ed(0x1a7)][_0x4a37ed(0x1ef)][_0x4a37ed(0x1c6)][_0x4a37ed(0x23a)]?_0x4a37ed(0x1c7):_0x4a37ed(0x228)]}),_0x4a37ed(0x1f2)!==this[_0x4a37ed(0x1b6)]['id']?this[_0x4a37ed(0x1b6)][_0x4a37ed(0x24b)]({'id':_0x4a37ed(0x1f2),'icon':_0x2c8b3d,'title':_0x4302ce(this[_0x4a37ed(0x202)][_0x4a37ed(0x245)],_0x4a37ed(0x1f3)),'content':this[_0x4a37ed(0x1aa)],'position':_0x2c000c[_0x4a37ed(0x1d0)],'onShow':()=>{const _0x25392e=_0x4a37ed;this[_0x25392e(0x1aa)][_0x25392e(0x1d7)]();},'onHide':()=>{const _0x194fb8=_0x4a37ed;this[_0x194fb8(0x219)][_0x194fb8(0x1d1)](),_0x5ab0da[_0x194fb8(0x1a8)]();}}):this[_0x4a37ed(0x1b6)][_0x4a37ed(0x1dd)][_0x4a37ed(0x249)]||this[_0x4a37ed(0x1b6)][_0x4a37ed(0x1dd)][_0x4a37ed(0x1df)]();}[_0x180ac6(0x22d)](){const _0x5d055f=_0x180ac6;this[_0x5d055f(0x1b6)][_0x5d055f(0x1f9)]();}[_0x180ac6(0x218)](){const _0x3e53e2=_0x180ac6,_0x241544=new Map(),_0x3c48d3=_0x5a72c8(this[_0x3e53e2(0x202)][_0x3e53e2(0x233)][_0x3e53e2(0x1d2)](_0x3e53e2(0x1d6)),this[_0x3e53e2(0x202)][_0x3e53e2(0x245)]);for(const _0x47f2c1 of _0x3c48d3)for(const _0x61003c of _0x47f2c1[_0x3e53e2(0x1fe)])_0x241544[_0x3e53e2(0x216)](_0x61003c['id'],{..._0x61003c,'groupId':_0x47f2c1[_0x3e53e2(0x1cf)],'groupLabel':_0x47f2c1[_0x3e53e2(0x1c0)]||_0x47f2c1[_0x3e53e2(0x1cf)]});return _0x241544;}[_0x180ac6(0x1ee)](_0x49594e){const _0x1518a3=_0x180ac6,_0xfa128b=this[_0x1518a3(0x202)],_0x19b659=_0xfa128b[_0x1518a3(0x1fe)][_0x1518a3(0x1d2)](_0x1518a3(0x1ec)),_0x1e60a2=new _0x49594e(_0xfa128b[_0x1518a3(0x245)]);return _0x1e60a2[_0x1518a3(0x216)]({'label':_0x4302ce(_0xfa128b[_0x1518a3(0x245)],_0x1518a3(0x1f3)),'icon':_0x2c8b3d,'isToggleable':!0x0}),_0x1e60a2[_0x1518a3(0x21f)](_0x1518a3(0x240))['to'](_0x19b659),_0x1e60a2[_0x1518a3(0x21f)](_0x1518a3(0x236))['to'](this[_0x1518a3(0x1b6)],'id',_0x1f692c=>_0x1518a3(0x1f2)===_0x1f692c),this[_0x1518a3(0x201)](_0x1e60a2,_0x1518a3(0x24a),()=>{const _0x5f2702=_0x1518a3;_0x1e60a2[_0x5f2702(0x236)]?this[_0x5f2702(0x22d)]():_0x19b659[_0x5f2702(0x24a)]();}),_0x1e60a2;}[_0x180ac6(0x1f6)](){const _0x22aeb1=_0x180ac6,_0x25aaaf=this[_0x22aeb1(0x202)][_0x22aeb1(0x1f8)][_0x22aeb1(0x1d2)](_0x3487ae);this[_0x22aeb1(0x1aa)]=new _0x856fe8(this[_0x22aeb1(0x202)][_0x22aeb1(0x245)],this[_0x22aeb1(0x23d)],this[_0x22aeb1(0x202)][_0x22aeb1(0x233)][_0x22aeb1(0x1d2)](_0x22aeb1(0x239))),this[_0x22aeb1(0x1aa)]['on'](_0x22aeb1(0x252),()=>{const _0x1546ed=_0x22aeb1;this[_0x1546ed(0x1b6)][_0x1546ed(0x1dd)][_0x1546ed(0x249)]||this[_0x1546ed(0x1b6)][_0x1546ed(0x1dd)][_0x1546ed(0x1df)]();}),this[_0x22aeb1(0x1aa)][_0x22aeb1(0x22c)][_0x22aeb1(0x1bf)][_0x22aeb1(0x244)]['on'](_0x22aeb1(0x209),()=>{const _0x4d9190=_0x22aeb1;this[_0x4d9190(0x1b6)][_0x4d9190(0x1dd)][_0x4d9190(0x249)]||this[_0x4d9190(0x1b6)][_0x4d9190(0x1dd)][_0x4d9190(0x1df)]();}),this[_0x22aeb1(0x201)](this[_0x22aeb1(0x1aa)],_0x22aeb1(0x225),()=>{const _0x4375e4=_0x22aeb1;_0x25aaaf[_0x4375e4(0x23e)](this[_0x4375e4(0x219)][_0x4375e4(0x1e4)]),this[_0x4375e4(0x22d)]();}),this[_0x22aeb1(0x201)](this[_0x22aeb1(0x1aa)],_0x22aeb1(0x1fc),()=>{const _0x5e5a0f=_0x22aeb1;_0x25aaaf[_0x5e5a0f(0x1fc)](this[_0x5e5a0f(0x219)][_0x5e5a0f(0x1e4)]),this[_0x5e5a0f(0x22d)]();}),this[_0x22aeb1(0x250)]();}[_0x180ac6(0x250)](){const _0x2a9b19=_0x180ac6,{locale:_0x2f8d51,ui:{ariaLiveAnnouncer:_0x35f178}}=this[_0x2a9b19(0x202)];this[_0x2a9b19(0x1aa)][_0x2a9b19(0x1f0)]['on'](_0x2a9b19(0x21e),(_0x53024d,_0x229b95,_0x246fa7)=>{const _0x1cec91=_0x2a9b19,_0x455fb4=this[_0x1cec91(0x219)][_0x1cec91(0x1e4)];_0x246fa7?_0x35f178[_0x1cec91(0x1af)](_0x4302ce(_0x2f8d51,_0x1cec91(0x1e3))):_0x455fb4&&_0x35f178[_0x1cec91(0x1af)](_0x4302ce(_0x2f8d51,_0x1cec91(0x227),_0x455fb4),{'politeness':_0x1cec91(0x1c3),'isUnsafeHTML':!0x0});}),this[_0x2a9b19(0x1aa)]['on'](_0x2a9b19(0x23b),(_0xac2a14,_0x31a2b9,_0xd5bc9c)=>{const _0x33b66e=_0x2a9b19;if(_0xd5bc9c){const _0xe24b7f=this[_0x33b66e(0x1aa)][_0x33b66e(0x231)][_0x33b66e(0x1ad)];_0x35f178[_0x33b66e(0x1af)](_0x4302ce(_0x2f8d51,_0x33b66e(0x1c5),_0xe24b7f));}});}[_0x180ac6(0x1ae)](_0x1069c0){const _0x1031f6=_0x180ac6,_0x302a0c=this[_0x1031f6(0x1d4)][_0x1031f6(0x1d2)](_0x1069c0),_0x1ac8e5=this[_0x1031f6(0x202)],_0x559f4f=_0x1ac8e5[_0x1031f6(0x1a7)][_0x1031f6(0x1ef)][_0x1031f6(0x1c6)],_0x1c9302=_0x1ac8e5[_0x1031f6(0x1fe)][_0x1031f6(0x1d2)](_0x1031f6(0x1ec)),_0x8d9c47=_0x1ac8e5[_0x1031f6(0x1f8)][_0x1031f6(0x1d2)](_0x3487ae),_0x415eb4=''+(_0x302a0c[_0x1031f6(0x1cf)]!==_0x1b9da5?_0x302a0c[_0x1031f6(0x1c0)]+':\x20':'')+_0x302a0c[_0x1031f6(0x1bb)];if(!0x1!==_0x302a0c[_0x1031f6(0x1e0)]&&_0x559f4f[_0x1031f6(0x23a)]){const _0x4a14b9=_0x4bbd95(_0x559f4f[_0x1031f6(0x242)]())||_0x1ac8e5[_0x1031f6(0x1a7)][_0x1031f6(0x1cc)][_0x1031f6(0x1ba)](_0x559f4f);_0x1ac8e5[_0x1031f6(0x1a7)][_0x1031f6(0x203)](_0x5d6d3f=>{const _0x4a1bcc=_0x1031f6;_0x5d6d3f[_0x4a1bcc(0x20c)](_0x4a14b9,'in');});}_0x8d9c47[_0x1031f6(0x1e8)](),_0x1c9302[_0x1031f6(0x24a)](_0x302a0c[_0x1031f6(0x1fb)],_0x415eb4,_0x1031f6(0x214)+_0x1069c0);}[_0x180ac6(0x243)](_0x15f05a,_0x9bcc21,_0x14c46d,_0xe47b22){const _0x2e1c3d=_0x180ac6,_0x5dccaf=this[_0x2e1c3d(0x202)],_0x399408=_0x5dccaf[_0x2e1c3d(0x245)],_0x2b84f4=new _0x52e183(_0x399408),_0x237212=B(_0x5dccaf,_0x14c46d)[_0x2e1c3d(0x241)](_0x4a3b48=>_0x4a3b48[_0x2e1c3d(0x1fe)][_0x2e1c3d(0x1c4)]);0x1===_0x237212[_0x2e1c3d(0x1c4)]?this[_0x2e1c3d(0x24e)]({'command':_0x15f05a,'commands':_0x237212[0x0][_0x2e1c3d(0x1fe)],'parentMenuView':_0x9bcc21,'onExecute':_0xe47b22})[_0x2e1c3d(0x1b2)](_0x40fa32=>_0x2b84f4[_0x2e1c3d(0x1b7)][_0x2e1c3d(0x1f1)](_0x40fa32)):_0x237212[_0x2e1c3d(0x1b2)](({groupId:_0x52ff08,groupLabel:_0x484a3a,commands:_0x257520})=>{const _0x3273fb=_0x2e1c3d,_0x433b2c=new _0x490810(_0x399408,_0x9bcc21),_0x5e48dd=new _0x13bb74(_0x399408),_0x450cc5=new _0x52e183(_0x399408),_0xb03f6c=this[_0x3273fb(0x24e)]({'command':_0x15f05a,'commands':_0x257520,'parentMenuView':_0x5e48dd,'onExecute':_0xe47b22});_0x5e48dd[_0x3273fb(0x1c9)][_0x3273fb(0x216)]({'label':_0x484a3a||_0x52ff08}),_0x5e48dd[_0x3273fb(0x212)](_0x3273fb(0x24a))['to'](_0x9bcc21),_0x450cc5[_0x3273fb(0x1b7)][_0x3273fb(0x254)](_0xb03f6c),_0x5e48dd[_0x3273fb(0x206)][_0x3273fb(0x237)][_0x3273fb(0x1f1)](_0x450cc5),_0x433b2c[_0x3273fb(0x237)][_0x3273fb(0x1f1)](_0x5e48dd),_0x2b84f4[_0x3273fb(0x1b7)][_0x3273fb(0x1f1)](_0x433b2c);}),_0x9bcc21[_0x2e1c3d(0x206)][_0x2e1c3d(0x237)][_0x2e1c3d(0x1f1)](_0x2b84f4);}[_0x180ac6(0x24e)]({command:_0x3b0566,commands:_0x1e6850,parentMenuView:_0x1ce865,onExecute:_0x429d71}){const _0x15daf9=_0x180ac6,_0x30a6da=this[_0x15daf9(0x202)],_0x18b70e=_0x30a6da[_0x15daf9(0x245)];return B(_0x30a6da,_0x1e6850)[_0x15daf9(0x1db)](_0x1b123b=>{const _0x3bc378=_0x15daf9,_0x45b53a=new _0x490810(_0x18b70e,_0x1ce865),_0x29704a=new _0x248838(_0x18b70e);return _0x29704a[_0x3bc378(0x216)]({'label':_0x1b123b[_0x3bc378(0x1bb)]}),_0x29704a[_0x3bc378(0x212)](_0x3bc378(0x24a))['to'](_0x1ce865),_0x29704a['on'](_0x3bc378(0x24a),()=>_0x429d71(_0x1b123b['id'])),_0x29704a[_0x3bc378(0x21f)](_0x3bc378(0x240))['to'](_0x3b0566,_0x3bc378(0x1d9),_0x3d6177=>_0x3d6177[_0x3bc378(0x222)](_0x1b123b['id'])),_0x45b53a[_0x3bc378(0x237)][_0x3bc378(0x1f1)](_0x29704a),_0x45b53a;});}}function U(_0x5e1942,_0x5d61b2){const _0x57734a=_0x180ac6;return void 0x0!==_0x5e1942[_0x57734a(0x1f4)]&&void 0x0===_0x5d61b2[_0x57734a(0x1f4)]?0x1:void 0x0===_0x5e1942[_0x57734a(0x1f4)]&&void 0x0!==_0x5d61b2[_0x57734a(0x1f4)]?-0x1:void 0x0!==_0x5e1942[_0x57734a(0x1f4)]&&void 0x0!==_0x5d61b2[_0x57734a(0x1f4)]?_0x5e1942[_0x57734a(0x1f4)]-_0x5d61b2[_0x57734a(0x1f4)]:0x0;}function B(_0x2f8ee5,_0x5c8df3){const _0x443cf0=_0x180ac6;_0x5c8df3[_0x443cf0(0x205)](U);const _0x38b615={},_0x32c239=[];for(const _0x5b09f6 of _0x5c8df3)if(void 0x0!==_0x5b09f6[_0x443cf0(0x1f4)]){if(_0x5b09f6[_0x443cf0(0x1f4)]in _0x38b615)throw new _0x3468e4(_0x443cf0(0x229),_0x2f8ee5,{'conflictingDefinitions':[_0x5b09f6,_0x38b615[_0x5b09f6[_0x443cf0(0x1f4)]]]});_0x38b615[_0x5b09f6[_0x443cf0(0x1f4)]]=_0x5b09f6,_0x32c239[_0x443cf0(0x1ca)](_0x5b09f6[_0x443cf0(0x1f4)],0x0,_0x5b09f6);}else _0x32c239[_0x443cf0(0x213)](_0x5b09f6);return _0x32c239;}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5dce(){var _0x29169c=['1912038MBOZRE','6134360ZJJZJn','6cmbBez','4553115caQFNN','5965608RdGTPj','310822JpETXW','34679248VyEdFG','1706722DCMrCy'];_0x5dce=function(){return _0x29169c;};return _0x5dce();}(function(_0x4f669b,_0x478cc5){var _0x5696df=_0x1f31,_0x54a314=_0x4f669b();while(!![]){try{var _0x4f9e7f=parseInt(_0x5696df(0x117))/0x1+parseInt(_0x5696df(0x119))/0x2+parseInt(_0x5696df(0x11a))/0x3+parseInt(_0x5696df(0x116))/0x4+-parseInt(_0x5696df(0x11b))/0x5*(-parseInt(_0x5696df(0x11c))/0x6)+parseInt(_0x5696df(0x11d))/0x7+-parseInt(_0x5696df(0x118))/0x8;if(_0x4f9e7f===_0x478cc5)break;else _0x54a314['push'](_0x54a314['shift']());}catch(_0x5ba06c){_0x54a314['push'](_0x54a314['shift']());}}}(_0x5dce,0xcbf0e));function _0x1f31(_0x47c196,_0x36abf0){var _0x5dce4f=_0x5dce();return _0x1f31=function(_0x1f3149,_0x1a9025){_0x1f3149=_0x1f3149-0x116;var _0x4b3990=_0x5dce4f[_0x1f3149];return _0x4b3990;},_0x1f31(_0x47c196,_0x36abf0);}import{CKEditorError as _0x2310c0}from'ckeditor5/src/utils.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { type AITextAdapter } from '../adapters/aitextadapter.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x21a6(){const _0x5bc2fe=['finally','ai.assistant.preserveComments','initialContext','set:currentContext','prompt','64unzLro','currentResponse','_normalizeResponseHeadings','setContentOf','message','isProcessing','parseFromString','538929KCHVNq','get','htmlProcessor','48947eLhhFz','nodeType','editor','253908aQdGAO','_parseAndNormalizeContent','domConverter','markers','querySelector','destroy','10JXxish','startProcessing','_sanitizeHTML','view','editing','12fiaFcg','handleError','viewToDom','render','_sanitizationContainer','catch','_handleQuery','listenTo','1788036anAXYP','updateView','textAdapter','abort','5707823efeAfC','reverse','finishProcessing','previousContext','div','substring','```html','_isH1TagSupportEnabled','isRendered','reset','```','toView','tryAgainEvent','makeRequest','stopListening','3GcnQuz','startsWith','body','30xrAaIk','18954637SkvIxv','endsWith','stringify','_xmlSerializer','processor','serializeToString','toModel','name','push','createElement','previousActionId','mainAction','data','rename','424333NZIlpc','document','length','custom','value','text/html','remove','22WdRsgS','exec','set','match','config','innerHTML','currentContext','trim','ELEMENT_NODE','_domParser','<h1></h1>','stopProcessing','once','clear','element','_stripMarkdownSyntax','childNodes','previousQuery','from','submitPrompt','previousLabel','then'];_0x21a6=function(){return _0x5bc2fe;};return _0x21a6();}const _0x55e907=_0x262c;(function(_0x3996b9,_0x5e1e6b){const _0x501df0=_0x262c,_0x22824d=_0x3996b9();while(!![]){try{const _0x143087=parseInt(_0x501df0(0xe9))/0x1*(-parseInt(_0x501df0(0xc4))/0x2)+-parseInt(_0x501df0(0x112))/0x3*(parseInt(_0x501df0(0xff))/0x4)+parseInt(_0x501df0(0x115))/0x5*(-parseInt(_0x501df0(0xec))/0x6)+parseInt(_0x501df0(0xbd))/0x7+parseInt(_0x501df0(0xdf))/0x8*(-parseInt(_0x501df0(0xe6))/0x9)+-parseInt(_0x501df0(0xf2))/0xa*(-parseInt(_0x501df0(0x103))/0xb)+-parseInt(_0x501df0(0xf7))/0xc*(-parseInt(_0x501df0(0x116))/0xd);if(_0x143087===_0x5e1e6b)break;else _0x22824d['push'](_0x22824d['shift']());}catch(_0x64ed8f){_0x22824d['push'](_0x22824d['shift']());}}}(_0x21a6,0x4decb));function _0x262c(_0x2d0020,_0x23f530){const _0x21a60f=_0x21a6();return _0x262c=function(_0x262ce2,_0x365316){_0x262ce2=_0x262ce2-0xb7;let _0x3f11f4=_0x21a60f[_0x262ce2];return _0x3f11f4;},_0x262c(_0x2d0020,_0x23f530);}import{ObservableMixin as _0x38aefc}from'ckeditor5/src/utils.js';import{AIRequestError as _0x429e62}from'../adapters/aiadapter.js';import{Matcher as _0x1aa693,ViewUpcastWriter as _0x4fad4b}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x38aefc(){[_0x55e907(0xeb)];[_0x55e907(0x101)];[_0x55e907(0xf5)];[_0x55e907(0xfb)];[_0x55e907(0xcd)];[_0x55e907(0x119)];constructor(_0xe353f8,_0x300f77,_0x3cf41c){const _0x50f6be=_0x55e907;super(),this[_0x50f6be(0xeb)]=_0xe353f8,this[_0x50f6be(0x101)]=_0x300f77,this[_0x50f6be(0xfb)]=document[_0x50f6be(0xb8)](_0x50f6be(0x107)),this[_0x50f6be(0xcd)]=new DOMParser(),this[_0x50f6be(0x119)]=new XMLSerializer(),this[_0x50f6be(0xf5)]=_0x3cf41c,this[_0x50f6be(0xc6)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x50f6be(0xdd),(_0x324870,_0x3313de,_0xfcffc6)=>{const _0x31bc82=_0x50f6be;this[_0x31bc82(0xf5)][_0x31bc82(0xc1)]=this[_0x31bc82(0xf4)](_0xfcffc6);}),this[_0x50f6be(0xfe)](this[_0x50f6be(0xf5)],_0x50f6be(0xd7),(_0x5f435b,_0x25a37c)=>{const _0x295eb0=_0x50f6be,_0x1d2713=this[_0x295eb0(0xca)]||this[_0x295eb0(0xdc)];this[_0x295eb0(0xfd)](_0x25a37c,_0x1d2713,_0x295eb0(0xc0));}),this[_0x50f6be(0xfe)](this[_0x50f6be(0xf5)],_0x50f6be(0x10f),()=>{const _0x109c4d=_0x50f6be;this[_0x109c4d(0xf5)][_0x109c4d(0xde)]=this[_0x109c4d(0xd8)],this[_0x109c4d(0xfd)](this[_0x109c4d(0xd5)],this[_0x109c4d(0x106)],this[_0x109c4d(0xb9)],this[_0x109c4d(0xd8)]);}),this[_0x50f6be(0xfe)](this[_0x50f6be(0xf5)],_0x50f6be(0xcf),()=>{const _0x38ecb2=_0x50f6be;this[_0x38ecb2(0xcf)]();});}[_0x55e907(0xf1)](){const _0xd9c153=_0x55e907;this[_0xd9c153(0x111)]();}async[_0x55e907(0x100)]({actionId:_0x165bcb,query:_0x4bbd8a,htmlContent:_0x435b29,label:_0x3fe240,mainActionLabel:_0x44a131}){const _0x563aaf=_0x55e907;this[_0x563aaf(0xf5)][_0x563aaf(0xde)]=_0x3fe240,this[_0x563aaf(0xf5)][_0x563aaf(0xba)]=_0x44a131,this[_0x563aaf(0xdc)]=_0x435b29,_0x4bbd8a&&(this[_0x563aaf(0xf5)][_0x563aaf(0x10b)]?this[_0x563aaf(0xfd)](_0x4bbd8a,_0x435b29,_0x165bcb,_0x3fe240):this[_0x563aaf(0xf5)][_0x563aaf(0xd0)](_0x563aaf(0xfa),()=>{const _0xcfd2ec=_0x563aaf;this[_0xcfd2ec(0xfd)](_0x4bbd8a,_0x435b29,_0x165bcb,_0x3fe240);}));}[_0x55e907(0xcf)](){const _0x205594=_0x55e907;this[_0x205594(0xe4)]&&(this[_0x205594(0xe4)]=!0x1,this[_0x205594(0xf5)][_0x205594(0x105)](),this[_0x205594(0x101)][_0x205594(0x102)]());}[_0x55e907(0x10c)](){const _0x1bd48a=_0x55e907;this[_0x1bd48a(0xdc)]='',this[_0x1bd48a(0xca)]='',this[_0x1bd48a(0xe0)]='',this[_0x1bd48a(0x106)]='',this[_0x1bd48a(0xd5)]='',this[_0x1bd48a(0xd8)]='',this[_0x1bd48a(0xb9)]=void 0x0,this[_0x1bd48a(0xf5)][_0x1bd48a(0x10c)](),this[_0x1bd48a(0xcf)]();}async[_0x55e907(0xfd)](_0x3b2ea2,_0x22328b,_0x51956e,_0x3cb2bd){const _0x13b617=_0x55e907;return this[_0x13b617(0xe4)]=!0x0,this[_0x13b617(0xf5)][_0x13b617(0xf3)](),this[_0x13b617(0x106)]=_0x22328b,this[_0x13b617(0xd5)]=_0x3b2ea2,this[_0x13b617(0xd8)]=_0x3cb2bd||_0x3b2ea2,this[_0x13b617(0xb9)]=_0x51956e,new Promise(_0x5e4a80=>{const _0x3154cf=_0x13b617;this[_0x3154cf(0x101)][_0x3154cf(0x110)]({'query':_0x3b2ea2,'context':_0x22328b,'onData':_0x39b54b=>{const _0x5ede77=_0x3154cf;this[_0x5ede77(0xe0)]=_0x39b54b,this[_0x5ede77(0xca)]=this[_0x5ede77(0xed)](this[_0x5ede77(0xe0)]);},'actionId':_0x51956e})[_0x3154cf(0xd9)](()=>{const _0x4947d2=_0x3154cf;!this[_0x4947d2(0xca)]&&this[_0x4947d2(0xe0)]&&(this[_0x4947d2(0xca)]=this[_0x4947d2(0xed)](this[_0x4947d2(0xe0)],!0x0));})[_0x3154cf(0xfc)](_0x37dd7d=>{const _0x39cc09=_0x3154cf;_0x37dd7d instanceof _0x429e62?this[_0x39cc09(0xf5)][_0x39cc09(0xf8)](_0x37dd7d[_0x39cc09(0xe3)]):this[_0x39cc09(0xf5)][_0x39cc09(0xf8)](),_0x5e4a80();})[_0x3154cf(0xda)](()=>{const _0x43aaf2=_0x3154cf;this[_0x43aaf2(0xcf)](),_0x5e4a80();});});}[_0x55e907(0xed)](_0x5b2d3f,_0x2482fc=!0x1){const _0x51c1f6=_0x55e907,_0x503802=hs[_0x51c1f6(0xc5)](_0x5b2d3f);_0x5b2d3f=_0x503802?_0x5b2d3f[_0x51c1f6(0x108)](_0x503802[0x1][_0x51c1f6(0xbf)]):_0x5b2d3f[_0x51c1f6(0xbf)]<0x64&&!_0x2482fc?'':this[_0x51c1f6(0xd3)](_0x5b2d3f);const _0x82d518=this[_0x51c1f6(0xcd)][_0x51c1f6(0xe5)](_0x5b2d3f,_0x51c1f6(0xc2));if(_0x503802){const _0x572dd7=Array[_0x51c1f6(0xd6)](_0x82d518[_0x51c1f6(0x114)][_0x51c1f6(0xd4)]);_0x572dd7[_0x51c1f6(0x104)]();for(const _0xec18a3 of _0x572dd7){if(_0xec18a3[_0x51c1f6(0xea)]==Node[_0x51c1f6(0xcc)])break;_0xec18a3[_0x51c1f6(0xc3)]();}}const _0x38353d=this[_0x51c1f6(0xeb)][_0x51c1f6(0xbb)][_0x51c1f6(0x11a)][_0x51c1f6(0x10e)](this[_0x51c1f6(0x119)][_0x51c1f6(0x11b)](_0x82d518[_0x51c1f6(0x114)]));this[_0x51c1f6(0x10a)]()||this[_0x51c1f6(0xe1)](_0x38353d);const _0x5dd11f=this[_0x51c1f6(0xeb)][_0x51c1f6(0xc8)][_0x51c1f6(0xe7)](_0x51c1f6(0xdb)),_0xc8334a=this[_0x51c1f6(0xeb)][_0x51c1f6(0xbb)][_0x51c1f6(0x11c)](_0x38353d);return _0x5dd11f||_0xc8334a[_0x51c1f6(0xef)][_0x51c1f6(0xd1)](),this[_0x51c1f6(0xeb)][_0x51c1f6(0xbb)][_0x51c1f6(0x118)](_0xc8334a);}[_0x55e907(0xe1)](_0x34b5a7){const _0x572881=_0x55e907,_0x14cff2=new _0x4fad4b(this[_0x572881(0xeb)][_0x572881(0xf6)][_0x572881(0xf5)][_0x572881(0xbe)]),_0x2c1052=new _0x1aa693({'name':/^h[1-5]$/}),_0x248054=[];let _0x2ca85d=!0x1;for(const _0x5a76e6 of _0x34b5a7)_0x5a76e6['is'](_0x572881(0xd2))&&_0x2c1052[_0x572881(0xc7)](_0x5a76e6)&&(_0x248054[_0x572881(0xb7)](_0x5a76e6),'h1'==_0x5a76e6[_0x572881(0x11d)]&&(_0x2ca85d=!0x0));if(_0x2ca85d){for(const _0x395720 of _0x248054)_0x14cff2[_0x572881(0xbc)]('h'+(parseInt(_0x395720[_0x572881(0x11d)][0x1])+0x1),_0x395720);}}[_0x55e907(0x10a)](){const _0x2925d6=_0x55e907,{data:_0x5e549a,editing:_0x47f39a}=this[_0x2925d6(0xeb)],_0x28be65=_0x5e549a[_0x2925d6(0xe8)][_0x2925d6(0x10e)](_0x2925d6(0xce)),_0x53d67c=_0x5e549a[_0x2925d6(0x10e)](_0x5e549a[_0x2925d6(0x11c)](_0x28be65));return!!_0x47f39a[_0x2925d6(0xf5)][_0x2925d6(0xee)][_0x2925d6(0xf9)](_0x53d67c)[_0x2925d6(0xf0)]('h1');}[_0x55e907(0xf4)](_0x1950b){const _0x36f1c1=_0x55e907;return this[_0x36f1c1(0xeb)][_0x36f1c1(0xf6)][_0x36f1c1(0xf5)][_0x36f1c1(0xee)][_0x36f1c1(0xe2)](this[_0x36f1c1(0xfb)],_0x1950b),this[_0x36f1c1(0xfb)][_0x36f1c1(0xc9)];}[_0x55e907(0xd3)](_0x4a87bc){const _0x2612d7=_0x55e907,_0x5c591b=_0x4a87bc[_0x2612d7(0xcb)]();return _0x5c591b[_0x2612d7(0x113)](_0x2612d7(0x109))?_0x5c591b[_0x2612d7(0x117)](_0x2612d7(0x10d))?_0x5c591b[_0x2612d7(0x108)](0x7,_0x5c591b[_0x2612d7(0xbf)]-0x3):_0x5c591b[_0x2612d7(0x108)](0x7):_0x4a87bc;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4861db=_0x5b18;(function(_0x4dee67,_0x3bb1ef){const _0x4448a9=_0x5b18,_0x2f9ca2=_0x4dee67();while(!![]){try{const _0x50cc8c=parseInt(_0x4448a9(0x221))/0x1*(-parseInt(_0x4448a9(0x1e0))/0x2)+parseInt(_0x4448a9(0x1f3))/0x3+parseInt(_0x4448a9(0x212))/0x4+parseInt(_0x4448a9(0x1f5))/0x5*(parseInt(_0x4448a9(0x219))/0x6)+parseInt(_0x4448a9(0x1e2))/0x7*(parseInt(_0x4448a9(0x21c))/0x8)+-parseInt(_0x4448a9(0x20c))/0x9+parseInt(_0x4448a9(0x201))/0xa*(-parseInt(_0x4448a9(0x205))/0xb);if(_0x50cc8c===_0x3bb1ef)break;else _0x2f9ca2['push'](_0x2f9ca2['shift']());}catch(_0x408023){_0x2f9ca2['push'](_0x2f9ca2['shift']());}}}(_0x498a,0x1f17c));import{global as _0x12f13a}from'ckeditor5/src/utils.js';import{View as _0x199c40,ButtonView as _0x5a3c03,SpinnerView as _0x31c0b7}from'ckeditor5/src/ui.js';import{IconCheck as _0xb6bfcb,IconCopy as _0x119fe3}from'ckeditor5/src/icons.js';import{getTranslation as _0xa84085}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x199c40{[_0x4861db(0x226)];[_0x4861db(0x21f)];constructor(_0x3c306,_0x45ddb9=''){const _0x1d867f=_0x4861db;super(_0x3c306),this[_0x1d867f(0x233)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x438ec4=this[_0x1d867f(0x222)];this[_0x1d867f(0x226)]=new ContentFieldView(_0x3c306,_0x45ddb9),this[_0x1d867f(0x21f)]=this[_0x1d867f(0x1f2)](),this[_0x1d867f(0x1f0)]({'tag':_0x1d867f(0x1ef),'attributes':{'class':['ck',_0x1d867f(0x227),_0x438ec4['if'](_0x1d867f(0x213),_0x1d867f(0x1e4),_0x158ba8=>!_0x158ba8)],'tabindex':'-1'},'children':[{'tag':_0x1d867f(0x1ef),'attributes':{'class':['ck',_0x1d867f(0x215),_0x438ec4['if'](_0x1d867f(0x210),_0x1d867f(0x223))]},'children':[this[_0x1d867f(0x226)],{'tag':_0x1d867f(0x1ef),'attributes':{'class':['ck',_0x1d867f(0x1fc)]},'children':[this[_0x1d867f(0x21f)]]}]}]});}[_0x4861db(0x20b)](){const _0x297805=_0x4861db;super[_0x297805(0x20b)](),this[_0x297805(0x202)]&&this[_0x297805(0x226)][_0x297805(0x1df)](this[_0x297805(0x202)]);let _0x5ba96c=!0x1;this['on'](_0x297805(0x1e5),(_0x2fdcac,_0x16125a,_0x5c2025)=>{const _0x34e37=_0x297805,_0x58df79=!this[_0x34e37(0x226)][_0x34e37(0x211)][_0x34e37(0x217)](_0x34e37(0x1e7));this[_0x34e37(0x226)][_0x34e37(0x1df)](_0x5c2025),this[_0x34e37(0x210)]&&_0x58df79&&!_0x5ba96c&&this[_0x34e37(0x211)][_0x34e37(0x216)]({'top':this[_0x34e37(0x211)][_0x34e37(0x1f9)],'behavior':_0x34e37(0x1f4)});}),this['on'](_0x297805(0x200),(_0x26c993,_0xfef23a,_0x7f5cf5)=>{const _0x58e808=_0x297805;_0x5ba96c=!0x1,_0x7f5cf5?(this[_0x58e808(0x202)]=null,this[_0x58e808(0x226)][_0x58e808(0x21a)]()):this[_0x58e808(0x202)]||this[_0x58e808(0x226)][_0x58e808(0x1df)]('');}),this[_0x297805(0x1e8)](this[_0x297805(0x211)],_0x297805(0x1e3),()=>{_0x5ba96c=!0x0;}),this[_0x297805(0x1e8)](this[_0x297805(0x211)],_0x297805(0x22c),()=>{_0x5ba96c=!0x0;});}[_0x4861db(0x1e1)](){const _0x55fc56=_0x4861db;this[_0x55fc56(0x211)][_0x55fc56(0x1e1)]();}[_0x4861db(0x1f2)](){const _0x3a0e9d=_0x4861db,_0x4ba89d=this[_0x3a0e9d(0x21e)],_0x339012=new _0x5a3c03(this[_0x3a0e9d(0x21e)]),_0x1c8aed=_0x3a0e9d(0x20f);return _0x339012[_0x3a0e9d(0x233)]({'label':_0xa84085(_0x4ba89d,_0x3a0e9d(0x1e6)),'icon':_0x119fe3,'class':_0x1c8aed,'tooltip':!0x0}),_0x339012[_0x3a0e9d(0x20d)](_0x3a0e9d(0x213))['to'](this,_0x3a0e9d(0x202),_0x3c5d84=>!!_0x3c5d84),_0x339012[_0x3a0e9d(0x20d)](_0x3a0e9d(0x220))['to'](this,_0x3a0e9d(0x210),_0x300d90=>!_0x300d90),_0x339012['on'](_0x3a0e9d(0x206),()=>{const _0x3b2426=_0x3a0e9d;this[_0x3b2426(0x234)](this[_0x3b2426(0x226)][_0x3b2426(0x211)]),_0x339012[_0x3b2426(0x214)]=_0xb6bfcb,_0x339012[_0x3b2426(0x230)]=_0x1c8aed+_0x3b2426(0x203),this[_0x3b2426(0x1e1)](),setTimeout(()=>{const _0x555387=_0x3b2426;_0x339012[_0x555387(0x214)]=_0x119fe3,_0x339012[_0x555387(0x230)]=_0x1c8aed;},0x3e8);}),_0x339012;}[_0x4861db(0x234)](_0xb8da65){const _0x3960f8=_0x4861db,{window:_0x30beb5,document:_0x1578dd}=_0x12f13a;if(_0x30beb5[_0x3960f8(0x20a)]){const {Blob:_0x5170e9,ClipboardItem:_0x1f4a2f}=_0x30beb5,_0x3b7eb3=[new _0x1f4a2f({'text/html':new _0x5170e9([_0xb8da65[_0x3960f8(0x20e)]],{'type':_0x3960f8(0x22f)}),'text/plain':new _0x5170e9([_0xb8da65[_0x3960f8(0x228)]||''],{'type':_0x3960f8(0x232)})})];navigator[_0x3960f8(0x21b)][_0x3960f8(0x22a)](_0x3b7eb3);}else{const _0x45654f=_0x1578dd[_0x3960f8(0x1ee)](_0x3960f8(0x1ef));_0x45654f[_0x3960f8(0x21d)][_0x3960f8(0x22d)]=_0x3960f8(0x1fd),_0x45654f[_0x3960f8(0x21d)][_0x3960f8(0x224)]=_0x3960f8(0x22e),_0x45654f[_0x3960f8(0x20e)]=_0x3960f8(0x209)+_0xb8da65[_0x3960f8(0x20e)]+_0x3960f8(0x1fb),_0x1578dd[_0x3960f8(0x207)][_0x3960f8(0x1f8)](_0x45654f);const _0x110a6e=_0x1578dd[_0x3960f8(0x1ec)]();_0x110a6e[_0x3960f8(0x1f1)](_0x45654f[_0x3960f8(0x1ea)]),_0x110a6e[_0x3960f8(0x225)](_0x45654f[_0x3960f8(0x229)]);const _0x1c327c=_0x30beb5[_0x3960f8(0x231)]();_0x1c327c[_0x3960f8(0x1fa)](),_0x1c327c[_0x3960f8(0x1e9)](_0x110a6e),_0x1578dd[_0x3960f8(0x1eb)](_0x3960f8(0x1ff)),_0x45654f[_0x3960f8(0x1ed)]();}}}function _0x498a(){const _0x2b9bfc=['119371lWsiDA','wheel','ck-hidden','change:value','Copy','.ck-ai-form__loader','listenTo','addRange','firstElementChild','execCommand','createRange','remove','createElement','div','setTemplate','setStartAfter','_createCopyButton','419274UfWitt','smooth','5BFWCdG','AI\x20is\x20writing...','ck-content','appendChild','scrollHeight','removeAllRanges','<span>]</span>','ck-ai-form__copy-button-wrapper','absolute','loaderView','copy','change:isProcessing','1079930hWTikk','value','\x20ck-ai-form__copy-button--copied','_createLoader','22nwRnGq','execute','body','ck-reset_all-excluded','<span>[</span>','ClipboardItem','render','308916QUNzFw','bind','innerHTML','ck-ai-form__copy-button','isProcessing','element','222312AiKXCr','isVisible','icon','ck-ai-form__content-area','scrollTo','querySelector','ck-ai-form__content-field','1416378EpnSFu','appendLoader','clipboard','64IltDst','style','locale','copyButtonView','isEnabled','11AIySZh','bindTemplate','ck-ai-form__content-area--processing','left','setEndBefore','contentFieldView','ck-ai-form__content-area-wrapper','textContent','lastElementChild','write','ck-ai-form__loader','mousedown','position','-9999px','text/html','class','getSelection','text/plain','set','_copyHTMLToClipboard','setContent','34574agBNXR','focus'];_0x498a=function(){return _0x2b9bfc;};return _0x498a();}function _0x5b18(_0xd1d153,_0x5007d3){const _0x498a79=_0x498a();return _0x5b18=function(_0x5b18c5,_0x10a7b3){_0x5b18c5=_0x5b18c5-0x1df;let _0x590fb4=_0x498a79[_0x5b18c5];return _0x590fb4;},_0x5b18(_0xd1d153,_0x5007d3);}export class ContentFieldView extends _0x199c40{constructor(_0x3da8d2,_0xae63c1=''){const _0x458b99=_0x4861db;super(_0x3da8d2),this[_0x458b99(0x1fe)]=this[_0x458b99(0x204)](),this[_0x458b99(0x1f0)]({'tag':_0x458b99(0x1ef),'attributes':{'class':['ck',_0x458b99(0x1f7),_0xae63c1,_0x458b99(0x208),_0x458b99(0x218)]}});}[_0x4861db(0x1df)](_0x370779){const _0x2877ef=_0x4861db;this[_0x2877ef(0x211)][_0x2877ef(0x20e)]=_0x370779;}[_0x4861db(0x21a)](){const _0x4e57db=_0x4861db;this[_0x4e57db(0x211)][_0x4e57db(0x1f8)](this[_0x4e57db(0x1fe)][_0x4e57db(0x211)]);}[_0x4861db(0x204)](){const _0x315fcb=_0x4861db,_0x5aa2aa=new _0x199c40(),_0x5bf7f0=this[_0x315fcb(0x21e)],_0x481cea=new _0x31c0b7();return _0x481cea[_0x315fcb(0x213)]=!0x0,_0x5aa2aa[_0x315fcb(0x1f0)]({'tag':_0x315fcb(0x1ef),'attributes':{'class':['ck',_0x315fcb(0x22b)]},'children':[_0x481cea,{'text':_0xa84085(_0x5bf7f0,_0x315fcb(0x1f6))}]}),_0x5aa2aa[_0x315fcb(0x20b)](),_0x5aa2aa;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { View } from 'ckeditor5/src/ui.js';
|