@ckeditor/ckeditor5-ai 44.1.0 → 44.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/ai.js +2 -2
- package/build/translations/cs.js +1 -1
- package/dist/index-content.css +2 -2
- package/dist/index-editor.css +2 -2
- package/dist/index.css +9 -9
- package/dist/index.js +3 -3
- package/dist/translations/af.d.ts +2 -2
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +2 -2
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +2 -2
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +2 -2
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/bg.d.ts +2 -2
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +2 -2
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +2 -2
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +2 -2
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +2 -2
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +2 -2
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +2 -2
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +2 -2
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +2 -2
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +2 -2
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +2 -2
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +2 -2
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +2 -2
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +2 -2
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +2 -2
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +2 -2
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +2 -2
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +2 -2
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +2 -2
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +2 -2
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +2 -2
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +2 -2
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +2 -2
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +2 -2
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +2 -2
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +2 -2
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +2 -2
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +2 -2
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +2 -2
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +2 -2
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +2 -2
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +2 -2
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +2 -2
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +2 -2
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +2 -2
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +2 -2
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +2 -2
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +2 -2
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +2 -2
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +2 -2
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +2 -2
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +2 -2
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +2 -2
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +2 -2
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +2 -2
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +2 -2
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +2 -2
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +2 -2
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +2 -2
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +2 -2
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +2 -2
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +2 -2
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +2 -2
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +2 -2
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +31 -8
- package/src/adapters/aiadapter.d.ts +1 -1
- package/src/adapters/aiadapter.js +2 -2
- package/src/adapters/aitextadapter.d.ts +1 -1
- package/src/adapters/aitextadapter.js +2 -2
- package/src/adapters/awstextadapter.d.ts +1 -1
- package/src/adapters/awstextadapter.js +2 -2
- package/src/adapters/openaitextadapter.d.ts +1 -1
- package/src/adapters/openaitextadapter.js +2 -2
- package/src/aiassistant.d.ts +21 -3
- package/src/aiassistant.js +2 -2
- package/src/aiassistantediting.d.ts +3 -3
- package/src/aiassistantediting.js +2 -2
- package/src/aiassistantui.d.ts +1 -1
- package/src/aiassistantui.js +2 -2
- package/src/aiconfig.d.ts +1 -1
- package/src/aiconfig.js +1 -1
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/index.d.ts +3 -2
- package/src/index.js +2 -2
- package/src/legacyerrors.d.ts +1 -1
- package/src/legacyerrors.js +2 -2
- package/src/ui/aiassistantcontroller.d.ts +1 -1
- package/src/ui/aiassistantcontroller.js +3 -3
- package/src/ui/form/aiformcontentarea.d.ts +1 -1
- package/src/ui/form/aiformcontentarea.js +2 -2
- package/src/ui/form/aiformerrorview.d.ts +1 -1
- package/src/ui/form/aiformerrorview.js +2 -2
- package/src/ui/form/aiformpromptview.d.ts +1 -1
- package/src/ui/form/aiformpromptview.js +2 -2
- package/src/ui/form/aiformtoolbarview.d.ts +1 -1
- package/src/ui/form/aiformtoolbarview.js +2 -2
- package/src/ui/form/aiformview.d.ts +1 -1
- package/src/ui/form/aiformview.js +2 -2
- package/src/ui/form/aihistorylistitemview.d.ts +1 -1
- package/src/ui/form/aihistorylistitemview.js +2 -2
- package/src/ui/form/aihistorylistview.d.ts +1 -1
- package/src/ui/form/aihistorylistview.js +2 -2
- package/src/ui/form/prompthistory.d.ts +1 -1
- package/src/ui/form/prompthistory.js +2 -2
- package/src/ui/showaiassistantcommand.d.ts +1 -1
- package/src/ui/showaiassistantcommand.js +2 -2
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +2 -2
- package/src/utils/normalizecommandsconfig.d.ts +1 -1
- package/src/utils/normalizecommandsconfig.js +2 -2
- package/theme/ai-dropdown.css +1 -1
- package/theme/ai-form.css +1 -1
- package/theme/ai.css +1 -1
- package/dist/adapters/aiadapter.d.ts +0 -60
- package/dist/adapters/aitextadapter.d.ts +0 -150
- package/dist/adapters/awstextadapter.d.ts +0 -183
- package/dist/adapters/openaitextadapter.d.ts +0 -187
- package/dist/aiassistant.d.ts +0 -393
- package/dist/aiassistantediting.d.ts +0 -59
- package/dist/aiassistantui.d.ts +0 -62
- package/dist/aiconfig.d.ts +0 -73
- package/dist/augmentation.d.ts +0 -31
- package/dist/index.d.ts +0 -17
- package/dist/legacyerrors.d.ts +0 -9
- package/dist/ui/aiassistantcontroller.d.ts +0 -113
- package/dist/ui/form/aiformcontentarea.d.ts +0 -52
- package/dist/ui/form/aiformerrorview.d.ts +0 -30
- package/dist/ui/form/aiformpromptview.d.ts +0 -50
- package/dist/ui/form/aiformtoolbarview.d.ts +0 -62
- package/dist/ui/form/aiformview.d.ts +0 -145
- package/dist/ui/form/aihistorylistitemview.d.ts +0 -22
- package/dist/ui/form/aihistorylistview.d.ts +0 -39
- package/dist/ui/form/prompthistory.d.ts +0 -24
- package/dist/ui/showaiassistantcommand.d.ts +0 -44
- package/dist/utils/common-translations.d.ts +0 -13
- package/dist/utils/normalizecommandsconfig.d.ts +0 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, 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 _0x429bc5=_0x4592;(function(_0x4a3737,_0x472872){const _0x44dfa1=_0x4592,_0x128ab0=_0x4a3737();while(!![]){try{const _0x1fb6d9=-parseInt(_0x44dfa1(0xd0))/0x1*(-parseInt(_0x44dfa1(0xb4))/0x2)+parseInt(_0x44dfa1(0xd3))/0x3+-parseInt(_0x44dfa1(0xb6))/0x4*(-parseInt(_0x44dfa1(0xc9))/0x5)+parseInt(_0x44dfa1(0xde))/0x6*(-parseInt(_0x44dfa1(0xce))/0x7)+-parseInt(_0x44dfa1(0xc7))/0x8+-parseInt(_0x44dfa1(0xba))/0x9*(-parseInt(_0x44dfa1(0xf2))/0xa)+-parseInt(_0x44dfa1(0xe9))/0xb*(parseInt(_0x44dfa1(0xe8))/0xc);if(_0x1fb6d9===_0x472872)break;else _0x128ab0['push'](_0x128ab0['shift']());}catch(_0x50f43a){_0x128ab0['push'](_0x128ab0['shift']());}}}(_0x4ca0,0xb3678));import{uid as _0x31988e}from'ckeditor5/src/utils.js';import{Plugin as _0x367bda}from'ckeditor5/src/core.js';function _0x4ca0(){const _0x2aeace=['createUIElement','for','fromCharCode','createSelection','data','setSelection','insertContent','addClass','12lzCLEo','6307708ireXld','afterInit','pluginName','insertContentBelow','model','ai.useTheme','selection','markerToElement','ai-ui','10XNOxXy','length','removeMarker','config','get','isOfficialPlugin','map','createPositionAfter','schema','editingDowncast','toView','getFirstRange','getSelectedBlocks','getLastMatchingPosition','4394OccIsc','span','332912lwciPu','conversion','document','hideFakeVisualSelection','6421257BwEmjd','createRange','change','getLastPosition','showFakeVisualSelection','AIAssistantEditing','markerRange','markerToHighlight','addMarker','join','href','ck-fake-ai-selection_collapsed','ck-fake-ai-selection','5764672lvfAuz','markers','70oAKBNz','init','editor','pop','push','7XJusjO','isCollapsed','165jfQkYp','has','processor','3683529ctORHZ','toModel','updateMarker','end','canEditAt','ck-ai-assistant-ui_theme','isPremiumPlugin','getRange','isContent','start','isAtEnd','8640966BsmHLT','from'];_0x4ca0=function(){return _0x2aeace;};return _0x4ca0();}function _0x4592(_0x33d3ee,_0x305c9e){const _0x4ca056=_0x4ca0();return _0x4592=function(_0x459257,_0x57585d){_0x459257=_0x459257-0xac;let _0x5986f5=_0x4ca056[_0x459257];return _0x5986f5;},_0x4592(_0x33d3ee,_0x305c9e);}const u=_0x429bc5(0xf1);export default class a extends _0x367bda{static get[_0x429bc5(0xeb)](){const _0x247077=_0x429bc5;return _0x247077(0xbf);}static get[_0x429bc5(0xf7)](){return!0x0;}static get[_0x429bc5(0xd9)](){return!0x0;}[_0x429bc5(0xca)](){const _0x5dc759=_0x429bc5,{editor:_0x45c348}=this,_0x1c9aab=[_0x5dc759(0xc6)];_0x45c348[_0x5dc759(0xf5)][_0x5dc759(0xf6)](_0x5dc759(0xee))&&_0x1c9aab[_0x5dc759(0xcd)](_0x5dc759(0xd8)),_0x45c348[_0x5dc759(0xb7)][_0x5dc759(0xe1)](_0x5dc759(0xaf))[_0x5dc759(0xc1)]({'model':u,'view':{'classes':_0x1c9aab,'priority':0xc}}),_0x45c348[_0x5dc759(0xb7)][_0x5dc759(0xe1)](_0x5dc759(0xaf))[_0x5dc759(0xf0)]({'model':u,'view':(_0x5a4b2e,{writer:_0x4d42f7})=>{const _0x47e4c5=_0x5dc759;if(!_0x5a4b2e[_0x47e4c5(0xc0)][_0x47e4c5(0xcf)])return null;const _0x478b1f=_0x4d42f7[_0x47e4c5(0xe0)](_0x47e4c5(0xb5));return _0x4d42f7[_0x47e4c5(0xe7)]([_0x47e4c5(0xc6),_0x47e4c5(0xc5)],_0x478b1f),_0x478b1f;}});}[_0x429bc5(0xea)](){!async function(_0xe06552){const _0x382809=_0x9bf4c0([0x4d,0x59,0x6a,0x45,0x4e,0x55,0x6e,0x31,0x47,0x4a,0x7a,0x67,0x68,0x6d,0x76,0x78,0x63,0x35,0x41,0x46,0x73,0x54,0x42,0x75,0x74,0x51,0x65,0x39,0x48,0x37,0x4c,0x52,0x70,0x36,0x49,0x43,0x32,0x77,0x50,0x33,0x61,0x79,0x30,0x6b,0x4b,0x56,0x62,0x58,0x66,0x5a,0x6f,0x71,0x4f,0x57,0x69,0x44,0x38,0x6c,0x64,0x34,0x72,0x53]),_0x591b5a=0x3ab66382,_0xb0c85f=0x3ab13a5a^_0x591b5a,_0x41c124=window[_0x9bf4c0([0x44,0x61,0x74,0x65])][_0x9bf4c0([0x6e,0x6f,0x77])](),_0x1bbe3c=_0xe06552[_0x9bf4c0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28b112=new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bc63e=>{_0x1bbe3c[_0x9bf4c0([0x6f,0x6e,0x63,0x65])](_0x9bf4c0([0x72,0x65,0x61,0x64,0x79]),_0x3bc63e);}),_0x15ef12={[_0x9bf4c0([0x6b,0x74,0x79])]:_0x9bf4c0([0x45,0x43]),[_0x9bf4c0([0x75,0x73,0x65])]:_0x9bf4c0([0x73,0x69,0x67]),[_0x9bf4c0([0x63,0x72,0x76])]:_0x9bf4c0([0x50,0x2d,0x32,0x35,0x36]),[_0x9bf4c0([0x78])]:_0x9bf4c0([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]),[_0x9bf4c0([0x79])]:_0x9bf4c0([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]),[_0x9bf4c0([0x61,0x6c,0x67])]:_0x9bf4c0([0x45,0x53,0x32,0x35,0x36])},_0x1d29c3=_0x1bbe3c[_0x9bf4c0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9bf4c0([0x67,0x65,0x74])](_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e4b2a(){let _0x54bcf7,_0x2ae938=null,_0x30441d=null;try{if(_0x1d29c3==_0x9bf4c0([0x47,0x50,0x4c]))return _0x9bf4c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54bcf7=_0x5b3b14(),!_0x54bcf7)return _0x9bf4c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54bcf7[_0x9bf4c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30441d=_0x3293be(_0x54bcf7[_0x9bf4c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54bcf7[_0x9bf4c0([0x6a,0x74,0x69])])),await _0x2b15bb()?_0xb30e92()?_0x21c896()?_0x9bf4c0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f982b()?(_0x54bcf7[_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9bf4c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2ae938=_0x32aad3(_0x9bf4c0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54bcf7[_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9bf4c0([0x74,0x72,0x69,0x61,0x6c])&&(_0x2ae938=_0x32aad3(_0x9bf4c0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x54bcf7[_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9bf4c0([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x2ae938=_0x32aad3(_0x9bf4c0([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12e603()):_0x9bf4c0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9bf4c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9bf4c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x8caad1){return _0x9bf4c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21c896(){const _0x225997=[_0x9bf4c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9bf4c0([0x74,0x72,0x69,0x61,0x6c])][_0x9bf4c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54bcf7[_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41c124/0x3e8:0xe10*_0xb0c85f;return _0x54bcf7[_0x9bf4c0([0x65,0x78,0x70])]<_0x225997;}function _0xb30e92(){const _0x370897=_0x54bcf7[_0x9bf4c0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x370897&&(!!_0x370897[_0x9bf4c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9bf4c0([0x2a]))||!!_0x370897[_0x9bf4c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9bf4c0([0x41,0x49])));}function _0x2f982b(){const _0x30bcc8=_0x4592,_0x4825d0=_0x54bcf7[_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4825d0||0x0==_0x4825d0[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x110f13}=new URL(window[_0x9bf4c0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30bcc8(0xc4)]);if(_0x4825d0[_0x9bf4c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x110f13))return!0x0;const _0x181cdb=_0x110f13[_0x9bf4c0([0x73,0x70,0x6c,0x69,0x74])](_0x9bf4c0([0x2e]));return _0x4825d0[_0x9bf4c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a9f75=>_0x2a9f75[_0x9bf4c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9bf4c0([0x2a])))[_0x9bf4c0([0x6d,0x61,0x70])](_0x5329e7=>_0x5329e7[_0x9bf4c0([0x73,0x70,0x6c,0x69,0x74])](_0x9bf4c0([0x2e])))[_0x9bf4c0([0x73,0x6f,0x6d,0x65])](_0x19a4b8=>_0x181cdb[_0x9bf4c0([0x65,0x76,0x65,0x72,0x79])]((_0x4189aa,_0x5e01e9)=>_0x19a4b8[_0x5e01e9]===_0x4189aa||_0x19a4b8[_0x5e01e9]===_0x9bf4c0([0x2a])));}function _0x12e603(){return _0x2ae938&&_0x30441d?new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x498214,_0x54b1e0)=>{_0x2ae938[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x498214,_0x54b1e0),_0x30441d[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x2a04d7=>{_0x2a04d7!=_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64])&&_0x498214(_0x2a04d7);},_0x54b1e0);}):_0x2ae938||_0x30441d||_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3293be(_0x10b864,_0x5833d3){return new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41c9b2=>{if(_0x40fc58())return _0x41c9b2(_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64]));_0x7ab6bc(),_0x1bbe3c[_0x9bf4c0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9bf4c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x457e40=!0x1;const _0x495057=_0x31988e();function _0x2f2b57(_0x18ed97){return!!_0x18ed97&&(typeof _0x18ed97===_0x9bf4c0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18ed97===_0x9bf4c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18ed97[_0x9bf4c0([0x74,0x68,0x65,0x6e])]===_0x9bf4c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18ed97[_0x9bf4c0([0x63,0x61,0x74,0x63,0x68])]===_0x9bf4c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a655b(_0xed306a){_0x43c978(_0xed306a)[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x1f3a8d=>{if(!_0x1f3a8d||_0x1f3a8d[_0x9bf4c0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9bf4c0([0x6f,0x6b]))return _0x9bf4c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c40f0(_0x56b482(_0x495057+_0x5833d3))!=_0x1f3a8d[_0x9bf4c0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9bf4c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64]);})[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x3ef021=>(_0xb8967(),_0x3ef021),()=>{const _0x8b1f6=_0x4f9201();return null==_0x8b1f6?(_0xb8967(),_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64])):_0x9bf4c0(_0x41c124-_0x8b1f6>(0x1ebae782^_0x591b5a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x41c9b2)[_0x9bf4c0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41c9b2(_0x9bf4c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51a844=0x3a808d02^_0x591b5a;function _0xb8967(){const _0xe1cabd=_0x9bf4c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c40f0(_0x56b482(_0x10b864)),_0x3b5760=_0x40499d(_0x3c40f0(window[_0x9bf4c0([0x4d,0x61,0x74,0x68])][_0x9bf4c0([0x63,0x65,0x69,0x6c])](_0x41c124/_0x51a844)));window[_0x9bf4c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9bf4c0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe1cabd,_0x3b5760);}function _0x4f9201(){const _0x4ccc88=_0x9bf4c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c40f0(_0x56b482(_0x10b864)),_0x28f81b=window[_0x9bf4c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9bf4c0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ccc88);return _0x28f81b?window[_0x9bf4c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40499d(_0x28f81b),0x10)*_0x51a844:null;}function _0x43c978(_0x174240){return new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57ddc8,_0x5e3a1c)=>{_0x174240[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x57ddc8,_0x5e3a1c),window[_0x9bf4c0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e3a1c,0x3ab7b742^_0x591b5a);});}}_0x1bbe3c[_0x9bf4c0([0x6f,0x6e])](_0x9bf4c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26b6d2,_0x42ab8e)=>{if(_0x42ab8e[0x0]!=_0x10b864)return _0x41c9b2(_0x9bf4c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42ab8e[0x1]={..._0x42ab8e[0x1],[_0x9bf4c0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x495057};},{[_0x9bf4c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9bf4c0([0x68,0x69,0x67,0x68])}),_0x1bbe3c[_0x9bf4c0([0x6f,0x6e])](_0x9bf4c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x473770=>{_0x2f2b57(_0x473770[_0x9bf4c0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x457e40=!0x0,_0x4a655b(_0x473770[_0x9bf4c0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9bf4c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9bf4c0([0x6c,0x6f,0x77])}),_0x28b112[_0x9bf4c0([0x74,0x68,0x65,0x6e])](()=>{_0x457e40||_0x41c9b2(_0x9bf4c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x40fc58(){return _0x1bbe3c[_0x9bf4c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9bf4c0([0x76,0x69,0x65,0x77])][_0x9bf4c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9bf4c0([0x61,0x75,0x74,0x6f]);}function _0x7ab6bc(){_0x1bbe3c[_0x9bf4c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9bf4c0([0x76,0x69,0x65,0x77])][_0x9bf4c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9bf4c0([0x61,0x75,0x74,0x6f]);}}function _0x32aad3(_0x2a27bb){const _0x495067=[new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39da13=>setTimeout(_0x39da13,0x3abf5d4e^_0x591b5a)),_0x28b112[_0x9bf4c0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57d508=>{let _0x105f6a=0x0;_0x1bbe3c[_0x9bf4c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9bf4c0([0x6f,0x6e])](_0x9bf4c0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57c1ee,_0x42a517)=>{_0x42a517[0x0][_0x9bf4c0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x105f6a++,_0x105f6a==(0x3ab6627a^_0x591b5a)&&(_0x57d508(),_0x57c1ee[_0x9bf4c0([0x6f,0x66,0x66])]());});}))];return window[_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9bf4c0([0x72,0x61,0x63,0x65])](_0x495067)[_0x9bf4c0([0x74,0x68,0x65,0x6e])](()=>_0x2a27bb);}async function _0x54f564(){await _0x28b112,_0x1bbe3c[_0x9bf4c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9bf4c0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47e81b,_0x1bbe3c[_0x9bf4c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9bf4c0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47e81b,_0x1bbe3c[_0x9bf4c0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9bf4c0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d8a93(_0x4565e4){const _0x459702=_0x1182cc();_0x1bbe3c[_0x459702]=_0x9bf4c0([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4565e4,_0x4565e4!=_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64])&&_0x54f564();}function _0x1182cc(){const _0x139d27=window[_0x9bf4c0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9bf4c0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9bf4c0([0x6e,0x6f,0x77])]())[_0x9bf4c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9bf4c0([0x2e]),'');let _0x4e6efb=_0x9bf4c0([0x4d]);for(let _0x40cc48=0x0;_0x40cc48<_0x139d27[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40cc48+=0x2){let _0x4a7a1e=window[_0x9bf4c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x139d27[_0x9bf4c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40cc48,_0x40cc48+0x2));_0x4a7a1e>=_0x382809[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a7a1e-=_0x382809[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e6efb+=_0x382809[_0x4a7a1e];}return _0x4e6efb;}function _0x5b3b14(){const _0x1d9501=_0x1d29c3[_0x9bf4c0([0x73,0x70,0x6c,0x69,0x74])](_0x9bf4c0([0x2e]));if(0x3!=_0x1d9501[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf47b85(_0x1d9501[0x1]);function _0xf47b85(_0x5ac59e){const _0x2f0e9f=_0x227fb1(_0x5ac59e);return _0x2f0e9f&&_0x380796()?_0x2f0e9f:null;function _0x380796(){const _0x405e66=_0x2f0e9f[_0x9bf4c0([0x6a,0x74,0x69])],_0x19ebb7=window[_0x9bf4c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x405e66[_0x9bf4c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x405e66[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x346c12={..._0x2f0e9f,[_0x9bf4c0([0x6a,0x74,0x69])]:_0x405e66[_0x9bf4c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x405e66[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x346c12[_0x9bf4c0([0x76,0x63])],_0x56b482(_0x346c12)==_0x19ebb7;}}}async function _0x2b15bb(){let _0x1be1f1=!0x0;try{const _0x181dea=_0x1d29c3[_0x9bf4c0([0x73,0x70,0x6c,0x69,0x74])](_0x9bf4c0([0x2e])),[_0xf7d17,_0x3db44c,_0x1f0b99]=_0x181dea;return _0x15ba1d(_0xf7d17),await _0x8f3663(_0xf7d17,_0x3db44c,_0x1f0b99),_0x1be1f1;}catch(_0x2b7ffe){return!0x1;}function _0x15ba1d(_0x27d3b9){const _0x2e0b24=_0x227fb1(_0x27d3b9);_0x2e0b24&&_0x2e0b24[_0x9bf4c0([0x61,0x6c,0x67])]==_0x9bf4c0([0x45,0x53,0x32,0x35,0x36])||(_0x1be1f1=!0x1);}async function _0x8f3663(_0x587527,_0x412906,_0x4ffbde){const _0x859279=window[_0x9bf4c0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9bf4c0([0x66,0x72,0x6f,0x6d])](_0x4f4332(_0x4ffbde),_0x131cda=>_0x131cda[_0x9bf4c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39f94c=new window[(_0x9bf4c0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9bf4c0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x587527+_0x9bf4c0([0x2e])+_0x412906),_0x107a15=window[_0x9bf4c0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9bf4c0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x107a15)return;const _0x386c25=await _0x107a15[_0x9bf4c0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9bf4c0([0x6a,0x77,0x6b]),_0x15ef12,{[_0x9bf4c0([0x6e,0x61,0x6d,0x65])]:_0x9bf4c0([0x45,0x43,0x44,0x53,0x41]),[_0x9bf4c0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9bf4c0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9bf4c0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x107a15[_0x9bf4c0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9bf4c0([0x6e,0x61,0x6d,0x65])]:_0x9bf4c0([0x45,0x43,0x44,0x53,0x41]),[_0x9bf4c0([0x68,0x61,0x73,0x68])]:{[_0x9bf4c0([0x6e,0x61,0x6d,0x65])]:_0x9bf4c0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x386c25,_0x859279,_0x39f94c)||(_0x1be1f1=!0x1);}}function _0x227fb1(_0x497e43){return _0x497e43[_0x9bf4c0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9bf4c0([0x65,0x79]))?JSON[_0x9bf4c0([0x70,0x61,0x72,0x73,0x65])](_0x4f4332(_0x497e43)):null;}function _0x4f4332(_0x412ed2){return window[_0x9bf4c0([0x61,0x74,0x6f,0x62])](_0x412ed2[_0x9bf4c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9bf4c0([0x2b]))[_0x9bf4c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9bf4c0([0x2f])));}function _0x56b482(_0x23fbf8){let _0x130820=0x1505;function _0x325752(_0x3b56cc){for(let _0x3df005=0x0;_0x3df005<_0x3b56cc[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3df005++){const _0x348be2=_0x3b56cc[_0x9bf4c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3df005);_0x130820=(_0x130820<<0x5)+_0x130820+_0x348be2,_0x130820&=_0x130820;}}function _0x3d828f(_0x245f7f){Array[_0x9bf4c0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x245f7f)?_0x245f7f[_0x9bf4c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d828f):_0x245f7f&&typeof _0x245f7f==_0x9bf4c0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9bf4c0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x245f7f)[_0x9bf4c0([0x73,0x6f,0x72,0x74])]()[_0x9bf4c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4758ce,_0x5a1f49])=>{_0x325752(_0x4758ce),_0x3d828f(_0x5a1f49);}):_0x325752(window[_0x9bf4c0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x245f7f));}return _0x3d828f(_0x23fbf8),_0x130820>>>0x0;}function _0x3c40f0(_0x3480d7){return _0x3480d7[_0x9bf4c0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9bf4c0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9bf4c0([0x30]));}function _0x40499d(_0x1c82ab){return _0x1c82ab[_0x9bf4c0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9bf4c0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9bf4c0([0x6a,0x6f,0x69,0x6e])]('');}function _0x47e81b(){}function _0x9bf4c0(_0x208481){const _0x4cde02=_0x4592;return _0x208481[_0x4cde02(0xac)](_0x48c043=>String[_0x4cde02(0xe2)](_0x48c043))[_0x4cde02(0xc3)]('');}_0x1d8a93(await _0x2e4b2a());}(this);}[_0x429bc5(0xbe)](){const _0x17caf5=_0x429bc5,_0x557d0b=this[_0x17caf5(0xcb)][_0x17caf5(0xed)];_0x557d0b[_0x17caf5(0xbc)](_0x52d7ec=>{const _0x253834=_0x17caf5,_0x15f3e1=_0x557d0b[_0x253834(0xb8)][_0x253834(0xef)][_0x253834(0xb1)]();if(_0x557d0b[_0x253834(0xc8)][_0x253834(0xd1)](u))_0x52d7ec[_0x253834(0xd5)](u,{'range':_0x15f3e1});else{if(_0x15f3e1[_0x253834(0xdc)][_0x253834(0xdd)]){const _0x3ba393=_0x15f3e1[_0x253834(0xdc)][_0x253834(0xb3)](({item:_0x1bfd09})=>!_0x557d0b[_0x253834(0xae)][_0x253834(0xdb)](_0x1bfd09),{'boundaries':_0x15f3e1});_0x52d7ec[_0x253834(0xc2)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x52d7ec[_0x253834(0xbb)](_0x3ba393,_0x15f3e1[_0x253834(0xd6)])});}else _0x52d7ec[_0x253834(0xc2)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x15f3e1});}});}[_0x429bc5(0xb9)](){const _0x783ce=_0x429bc5,_0x51cff8=this[_0x783ce(0xcb)][_0x783ce(0xed)];_0x51cff8[_0x783ce(0xc8)][_0x783ce(0xd1)](u)&&_0x51cff8[_0x783ce(0xbc)](_0x5a913c=>{const _0x2f3986=_0x783ce;_0x5a913c[_0x2f3986(0xf4)](u);});}[_0x429bc5(0xe6)](_0x1b505f,_0x1d42fd){const _0xf4a9fe=_0x429bc5,_0x2bfc33=_0x1d42fd||this[_0xf4a9fe(0xcb)][_0xf4a9fe(0xed)][_0xf4a9fe(0xc8)][_0xf4a9fe(0xf6)](u)[_0xf4a9fe(0xda)]();if(!this[_0xf4a9fe(0xcb)][_0xf4a9fe(0xed)][_0xf4a9fe(0xd7)](_0x2bfc33))return;const _0x1b7fd3=this[_0xf4a9fe(0xcb)][_0xf4a9fe(0xe4)][_0xf4a9fe(0xd2)][_0xf4a9fe(0xb0)](_0x1b505f),_0x545b5b=this[_0xf4a9fe(0xcb)][_0xf4a9fe(0xe4)][_0xf4a9fe(0xd4)](_0x1b7fd3);this[_0xf4a9fe(0xcb)][_0xf4a9fe(0xed)][_0xf4a9fe(0xbc)](_0x5c38f0=>{const _0x572c3d=_0xf4a9fe;this[_0x572c3d(0xb9)]();const _0x211352=this[_0x572c3d(0xcb)][_0x572c3d(0xed)][_0x572c3d(0xe6)](_0x545b5b,_0x2bfc33);_0x211352&&_0x5c38f0[_0x572c3d(0xe5)](_0x211352);});}[_0x429bc5(0xec)](_0x5717af){const _0x1e7d6c=_0x429bc5,{model:_0x30fbda}=this[_0x1e7d6c(0xcb)],_0x5608fb=Array[_0x1e7d6c(0xdf)](_0x30fbda[_0x1e7d6c(0xe3)](this[_0x1e7d6c(0xcb)][_0x1e7d6c(0xed)][_0x1e7d6c(0xc8)][_0x1e7d6c(0xf6)](u)[_0x1e7d6c(0xda)]())[_0x1e7d6c(0xb2)]()),_0x46d467=_0x5608fb[_0x1e7d6c(0xf3)]?_0x30fbda[_0x1e7d6c(0xad)](_0x5608fb[_0x1e7d6c(0xcc)]()):_0x30fbda[_0x1e7d6c(0xb8)][_0x1e7d6c(0xef)][_0x1e7d6c(0xbd)]();this[_0x1e7d6c(0xe6)](_0x5717af,_0x46d467);}}
|
|
23
|
+
const _0x2922e5=_0x176b;(function(_0x456761,_0x300cb9){const _0xfcd70e=_0x176b,_0x306b01=_0x456761();while(!![]){try{const _0x50a183=-parseInt(_0xfcd70e(0x206))/0x1+parseInt(_0xfcd70e(0x1cd))/0x2*(-parseInt(_0xfcd70e(0x207))/0x3)+-parseInt(_0xfcd70e(0x1ce))/0x4+parseInt(_0xfcd70e(0x1b9))/0x5*(parseInt(_0xfcd70e(0x1d0))/0x6)+-parseInt(_0xfcd70e(0x1b7))/0x7*(parseInt(_0xfcd70e(0x1f0))/0x8)+-parseInt(_0xfcd70e(0x201))/0x9+parseInt(_0xfcd70e(0x1c5))/0xa;if(_0x50a183===_0x300cb9)break;else _0x306b01['push'](_0x306b01['shift']());}catch(_0x4e3c39){_0x306b01['push'](_0x306b01['shift']());}}}(_0x4659,0xd1ea2));import{uid as _0x3c383e}from'ckeditor5/src/utils.js';function _0x176b(_0x371c5d,_0x5267fa){const _0x4659f1=_0x4659();return _0x176b=function(_0x176b22,_0x39e8db){_0x176b22=_0x176b22-0x19b;let _0x31e481=_0x4659f1[_0x176b22];return _0x31e481;},_0x176b(_0x371c5d,_0x5267fa);}import{Plugin as _0x141b90}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4aa9bc}from'ckeditor5/src/clipboard.js';function _0x4659(){const _0x52f554=['_createEmptyTableRows','fromCharCode','createPositionAt','isCollapsed','AIAssistantEditing','off','pop','isAtEnd','isPremiumPlugin','12697614evVmGM','TableUtils','parse','pluginName','getFirstRange','308948NkCSCN','5134587zVLeAr','init','getChildren','first','isOfficialPlugin','insertContentBelow','plugins','href','_getAISelection','data','hideFakeVisualSelection','isContent','fire','conversion','schema','ck-fake-ai-selection_collapsed','insertRows','ai-ui','deleteContent','DataTransfer','start','push','config','createRange','table','getRowIndexes','map','get','model','filter','4837dkDelV','getChild','5wBUpsi','canEditAt','addClass','selection','lowest','getLastMatchingPosition','addMarker','editing','getColumnIndexes','removeMarker','afterInit','document','67681680rmnRWh','join','last','getRows','resultRange','ck-ai-assistant-ui_theme','_getDefaultInsertBelowPosition','findAncestor','2CgnulP','4148300NMyXgX','has','1306494GczXpH','getSelectedBlocks','_resetContentOfSelectedTableCells','markerToHighlight','_getTableRowCountFromContent','ck-fake-ai-selection','_prepareTableInsertBelowPosition','insertContent','end','getRanges','setData','getLastPosition','createSelection','getSelectedTableCells','getRange','showFakeVisualSelection','createUIElement','forEach','from','_pasteHTMLUsingClipboard','for','text/html','length','markers','editingDowncast','ai.useTheme','markerToElement','createPositionAfter','contentInsertion','editor','markerRange','getMarkersGroup','19192kmmyad','paste','setSelection','change','element','updateMarker','span','once'];_0x4659=function(){return _0x52f554;};return _0x4659();}import{DomEventData as _0x832a80,DataTransfer as _0x9340a3}from'ckeditor5/src/engine.js';const w=globalThis[_0x2922e5(0x1ac)],f=_0x2922e5(0x1aa);export default class a extends _0x141b90{static get[_0x2922e5(0x204)](){const _0x5e9fee=_0x2922e5;return _0x5e9fee(0x1fc);}static get[_0x2922e5(0x19d)](){return!0x0;}static get[_0x2922e5(0x200)](){return!0x0;}[_0x2922e5(0x208)](){const _0x371eec=_0x2922e5,{editor:_0x22fbe5}=this,_0x2fd17b=[_0x371eec(0x1d5)];_0x22fbe5[_0x371eec(0x1af)][_0x371eec(0x1b4)](_0x371eec(0x1e9))&&_0x2fd17b[_0x371eec(0x1ae)](_0x371eec(0x1ca)),_0x22fbe5[_0x371eec(0x1a6)][_0x371eec(0x1e4)](_0x371eec(0x1e8))[_0x371eec(0x1d3)]({'model':f,'view':{'classes':_0x2fd17b,'priority':0xc}}),_0x22fbe5[_0x371eec(0x1a6)][_0x371eec(0x1e4)](_0x371eec(0x1e8))[_0x371eec(0x1ea)]({'model':f,'view':(_0x3c5c84,{writer:_0x33f1c7})=>{const _0x4b9d74=_0x371eec;if(!_0x3c5c84[_0x4b9d74(0x1ee)][_0x4b9d74(0x1fb)])return null;const _0x367771=_0x33f1c7[_0x4b9d74(0x1e0)](_0x4b9d74(0x1f6));return _0x33f1c7[_0x4b9d74(0x1bb)]([_0x4b9d74(0x1d5),_0x4b9d74(0x1a8)],_0x367771),_0x367771;}});}[_0x2922e5(0x1c3)](){!async function(_0xf9f9af){const _0x54bfd0=_0x14b36b([0x61,0x43,0x65,0x35,0x54,0x32,0x47,0x6c,0x39,0x33,0x77,0x6b,0x34,0x62,0x67,0x36,0x48,0x46,0x74,0x4b,0x71,0x4e,0x64,0x66,0x76,0x7a,0x57,0x70,0x44,0x55,0x38,0x45,0x75,0x68,0x6d,0x72,0x41,0x53,0x78,0x51,0x56,0x42,0x6f,0x4f,0x31,0x50,0x52,0x59,0x37,0x63,0x6a,0x73,0x4a,0x30,0x69,0x6e,0x79,0x49,0x58,0x4c,0x5a,0x4d]),_0x59cce5=0x4dccc8b3,_0x29346a=0x4dcb96a3^_0x59cce5,_0x2134a7=window[_0x14b36b([0x44,0x61,0x74,0x65])][_0x14b36b([0x6e,0x6f,0x77])](),_0xeabf40=_0xf9f9af[_0x14b36b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x526d03=new window[(_0x14b36b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a315f=>{_0xeabf40[_0x14b36b([0x6f,0x6e,0x63,0x65])](_0x14b36b([0x72,0x65,0x61,0x64,0x79]),_0x4a315f);}),_0x5a2acd={[_0x14b36b([0x6b,0x74,0x79])]:_0x14b36b([0x45,0x43]),[_0x14b36b([0x75,0x73,0x65])]:_0x14b36b([0x73,0x69,0x67]),[_0x14b36b([0x63,0x72,0x76])]:_0x14b36b([0x50,0x2d,0x32,0x35,0x36]),[_0x14b36b([0x78])]:_0x14b36b([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]),[_0x14b36b([0x79])]:_0x14b36b([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]),[_0x14b36b([0x61,0x6c,0x67])]:_0x14b36b([0x45,0x53,0x32,0x35,0x36])},_0x2f7592=_0xeabf40[_0x14b36b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x14b36b([0x67,0x65,0x74])](_0x14b36b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x55c7a4(){let _0x24d6c1,_0x2c61aa=null,_0x452de6=null;try{if(_0x2f7592==_0x14b36b([0x47,0x50,0x4c]))return _0x14b36b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24d6c1=_0x52818c(),!_0x24d6c1)return _0x14b36b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24d6c1[_0x14b36b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x452de6=_0x1f9ad7(_0x24d6c1[_0x14b36b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24d6c1[_0x14b36b([0x6a,0x74,0x69])])),await _0x2dd26b()?_0x36fb63()?_0x23bc91()?_0x14b36b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54d0b0()?(_0x24d6c1[_0x14b36b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x14b36b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c61aa=_0x422096(_0x14b36b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x24d6c1[_0x14b36b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x14b36b([0x74,0x72,0x69,0x61,0x6c])&&(_0x2c61aa=_0x422096(_0x14b36b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b4153()):_0x14b36b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x14b36b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x14b36b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x164744){return _0x14b36b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23bc91(){const _0x36112d=[_0x14b36b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x14b36b([0x74,0x72,0x69,0x61,0x6c])][_0x14b36b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24d6c1[_0x14b36b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2134a7/0x3e8:0xe10*_0x29346a;return _0x24d6c1[_0x14b36b([0x65,0x78,0x70])]<_0x36112d;}function _0x36fb63(){const _0x2f20fa=_0x24d6c1[_0x14b36b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f20fa&&(!!_0x2f20fa[_0x14b36b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14b36b([0x2a]))||!!_0x2f20fa[_0x14b36b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14b36b([0x41,0x49])));}function _0x54d0b0(){const _0x5ef2e3=_0x176b,_0x1cc853=_0x24d6c1[_0x14b36b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1cc853||0x0==_0x1cc853[_0x14b36b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x508784}=new URL(window[_0x14b36b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ef2e3(0x1a0)]);if(_0x1cc853[_0x14b36b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x508784))return!0x0;const _0x288490=_0x508784[_0x14b36b([0x73,0x70,0x6c,0x69,0x74])](_0x14b36b([0x2e]));return _0x1cc853[_0x14b36b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x189bd7=>_0x189bd7[_0x14b36b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14b36b([0x2a])))[_0x14b36b([0x6d,0x61,0x70])](_0x956c6d=>_0x956c6d[_0x14b36b([0x73,0x70,0x6c,0x69,0x74])](_0x14b36b([0x2e])))[_0x14b36b([0x73,0x6f,0x6d,0x65])](_0x4d5b18=>_0x288490[_0x14b36b([0x65,0x76,0x65,0x72,0x79])]((_0x361e5b,_0x4bdf51)=>_0x4d5b18[_0x4bdf51]===_0x361e5b||_0x4d5b18[_0x4bdf51]===_0x14b36b([0x2a])));}function _0x4b4153(){return _0x2c61aa&&_0x452de6?new window[(_0x14b36b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5344ff,_0x5c015c)=>{_0x2c61aa[_0x14b36b([0x74,0x68,0x65,0x6e])](_0x5344ff,_0x5c015c),_0x452de6[_0x14b36b([0x74,0x68,0x65,0x6e])](_0x3b6f78=>{_0x3b6f78!=_0x14b36b([0x56,0x61,0x6c,0x69,0x64])&&_0x5344ff(_0x3b6f78);},_0x5c015c);}):_0x2c61aa||_0x452de6||_0x14b36b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f9ad7(_0x378d3f,_0x2ba834){return new window[(_0x14b36b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x105fa4=>{if(_0x26eae6())return _0x105fa4(_0x14b36b([0x56,0x61,0x6c,0x69,0x64]));_0x5e173a(),_0xeabf40[_0x14b36b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x14b36b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xae9c9e=!0x1;const _0x1cbbad=_0x3c383e();function _0x463031(_0x2d6511){return!!_0x2d6511&&(typeof _0x2d6511===_0x14b36b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d6511===_0x14b36b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d6511[_0x14b36b([0x74,0x68,0x65,0x6e])]===_0x14b36b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d6511[_0x14b36b([0x63,0x61,0x74,0x63,0x68])]===_0x14b36b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29d387(_0x4a9769){_0x4767f0(_0x4a9769)[_0x14b36b([0x74,0x68,0x65,0x6e])](_0x2489d0=>{if(!_0x2489d0||_0x2489d0[_0x14b36b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x14b36b([0x6f,0x6b]))return _0x14b36b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x134ff1(_0x260a36(_0x1cbbad+_0x2ba834))!=_0x2489d0[_0x14b36b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x14b36b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x14b36b([0x56,0x61,0x6c,0x69,0x64]);})[_0x14b36b([0x74,0x68,0x65,0x6e])](_0x247d2e=>(_0x41e191(),_0x247d2e),()=>{const _0x454319=_0x5b9b94();return null==_0x454319?(_0x41e191(),_0x14b36b([0x56,0x61,0x6c,0x69,0x64])):_0x14b36b(_0x2134a7-_0x454319>(0x69c04cb3^_0x59cce5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x14b36b([0x74,0x68,0x65,0x6e])](_0x105fa4)[_0x14b36b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x105fa4(_0x14b36b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x258f16=0x4dfa2633^_0x59cce5;function _0x41e191(){const _0x1a7a65=_0x14b36b([0x6c,0x6c,0x63,0x74,0x2d])+_0x134ff1(_0x260a36(_0x378d3f)),_0x287095=_0x45539d(_0x134ff1(window[_0x14b36b([0x4d,0x61,0x74,0x68])][_0x14b36b([0x63,0x65,0x69,0x6c])](_0x2134a7/_0x258f16)));window[_0x14b36b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14b36b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a7a65,_0x287095);}function _0x5b9b94(){const _0x1f13b7=_0x14b36b([0x6c,0x6c,0x63,0x74,0x2d])+_0x134ff1(_0x260a36(_0x378d3f)),_0x4aecca=window[_0x14b36b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14b36b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f13b7);return _0x4aecca?window[_0x14b36b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45539d(_0x4aecca),0x10)*_0x258f16:null;}function _0x4767f0(_0x4c59bb){return new window[(_0x14b36b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1389a1,_0x3e349e)=>{_0x4c59bb[_0x14b36b([0x74,0x68,0x65,0x6e])](_0x1389a1,_0x3e349e),window[_0x14b36b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e349e,0x4dcd1c73^_0x59cce5);});}}_0xeabf40[_0x14b36b([0x6f,0x6e])](_0x14b36b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x409d08,_0x591024)=>{if(_0x591024[0x0]!=_0x378d3f)return _0x105fa4(_0x14b36b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x591024[0x1]={..._0x591024[0x1],[_0x14b36b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1cbbad};},{[_0x14b36b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14b36b([0x68,0x69,0x67,0x68])}),_0xeabf40[_0x14b36b([0x6f,0x6e])](_0x14b36b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a653b=>{_0x463031(_0x4a653b[_0x14b36b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xae9c9e=!0x0,_0x29d387(_0x4a653b[_0x14b36b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x14b36b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14b36b([0x6c,0x6f,0x77])}),_0x526d03[_0x14b36b([0x74,0x68,0x65,0x6e])](()=>{_0xae9c9e||_0x105fa4(_0x14b36b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26eae6(){return _0xeabf40[_0x14b36b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14b36b([0x76,0x69,0x65,0x77])][_0x14b36b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x14b36b([0x61,0x75,0x74,0x6f]);}function _0x5e173a(){_0xeabf40[_0x14b36b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14b36b([0x76,0x69,0x65,0x77])][_0x14b36b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x14b36b([0x61,0x75,0x74,0x6f]);}}function _0x422096(_0x37b2){const _0x2ecbe2=[new window[(_0x14b36b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17992e=>setTimeout(_0x17992e,0x4dc5f67f^_0x59cce5)),_0x526d03[_0x14b36b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x14b36b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x474f38=>{let _0x4cdb21=0x0;_0xeabf40[_0x14b36b([0x6d,0x6f,0x64,0x65,0x6c])][_0x14b36b([0x6f,0x6e])](_0x14b36b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b95f4,_0x21e09c)=>{_0x21e09c[0x0][_0x14b36b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4cdb21++,_0x4cdb21==(0x4dccc94b^_0x59cce5)&&(_0x474f38(),_0x5b95f4[_0x14b36b([0x6f,0x66,0x66])]());});}))];return window[_0x14b36b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x14b36b([0x72,0x61,0x63,0x65])](_0x2ecbe2)[_0x14b36b([0x74,0x68,0x65,0x6e])](()=>_0x37b2);}async function _0x4a1bf0(){await _0x526d03,_0xeabf40[_0x14b36b([0x6d,0x6f,0x64,0x65,0x6c])][_0x14b36b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36d5f0,_0xeabf40[_0x14b36b([0x6d,0x6f,0x64,0x65,0x6c])][_0x14b36b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36d5f0,_0xeabf40[_0x14b36b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x14b36b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f9adf(_0x158ad0){const _0x322e25=_0x31787f();_0xeabf40[_0x322e25]=_0x14b36b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x158ad0,_0x158ad0!=_0x14b36b([0x56,0x61,0x6c,0x69,0x64])&&_0x4a1bf0();}function _0x31787f(){const _0x2db1a8=window[_0x14b36b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x14b36b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x14b36b([0x6e,0x6f,0x77])]())[_0x14b36b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x14b36b([0x2e]),'');let _0x417dbf=_0x14b36b([0x61]);for(let _0x31e78b=0x0;_0x31e78b<_0x2db1a8[_0x14b36b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31e78b+=0x2){let _0x6a27=window[_0x14b36b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2db1a8[_0x14b36b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31e78b,_0x31e78b+0x2));_0x6a27>=_0x54bfd0[_0x14b36b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6a27-=_0x54bfd0[_0x14b36b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x417dbf+=_0x54bfd0[_0x6a27];}return _0x417dbf;}function _0x52818c(){const _0x5621d4=_0x2f7592[_0x14b36b([0x73,0x70,0x6c,0x69,0x74])](_0x14b36b([0x2e]));if(0x3!=_0x5621d4[_0x14b36b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x485378(_0x5621d4[0x1]);function _0x485378(_0x25c676){const _0xec0da3=_0x40a907(_0x25c676);return _0xec0da3&&_0x40457b()?_0xec0da3:null;function _0x40457b(){const _0x3cd287=_0xec0da3[_0x14b36b([0x6a,0x74,0x69])],_0x28e83e=window[_0x14b36b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cd287[_0x14b36b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cd287[_0x14b36b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5bbb5={..._0xec0da3,[_0x14b36b([0x6a,0x74,0x69])]:_0x3cd287[_0x14b36b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3cd287[_0x14b36b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5bbb5[_0x14b36b([0x76,0x63])],_0x260a36(_0x5bbb5)==_0x28e83e;}}}async function _0x2dd26b(){let _0x210377=!0x0;try{const _0x2ec317=_0x2f7592[_0x14b36b([0x73,0x70,0x6c,0x69,0x74])](_0x14b36b([0x2e])),[_0x5119f4,_0x1a7d66,_0x192729]=_0x2ec317;return _0x4706cd(_0x5119f4),await _0x12c573(_0x5119f4,_0x1a7d66,_0x192729),_0x210377;}catch(_0x3d774b){return!0x1;}function _0x4706cd(_0x55858d){const _0x57c018=_0x40a907(_0x55858d);_0x57c018&&_0x57c018[_0x14b36b([0x61,0x6c,0x67])]==_0x14b36b([0x45,0x53,0x32,0x35,0x36])||(_0x210377=!0x1);}async function _0x12c573(_0x4e7991,_0x2d7cb6,_0x4ef66d){const _0x9e7549=window[_0x14b36b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x14b36b([0x66,0x72,0x6f,0x6d])](_0x32baf9(_0x4ef66d),_0x6c1249=>_0x6c1249[_0x14b36b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x285fdd=new window[(_0x14b36b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x14b36b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e7991+_0x14b36b([0x2e])+_0x2d7cb6),_0x6869ec=window[_0x14b36b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x14b36b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x6869ec)return;const _0x208ce4=await _0x6869ec[_0x14b36b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x14b36b([0x6a,0x77,0x6b]),_0x5a2acd,{[_0x14b36b([0x6e,0x61,0x6d,0x65])]:_0x14b36b([0x45,0x43,0x44,0x53,0x41]),[_0x14b36b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x14b36b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x14b36b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x6869ec[_0x14b36b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x14b36b([0x6e,0x61,0x6d,0x65])]:_0x14b36b([0x45,0x43,0x44,0x53,0x41]),[_0x14b36b([0x68,0x61,0x73,0x68])]:{[_0x14b36b([0x6e,0x61,0x6d,0x65])]:_0x14b36b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x208ce4,_0x9e7549,_0x285fdd)||(_0x210377=!0x1);}}function _0x40a907(_0x2f9c52){return _0x2f9c52[_0x14b36b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x14b36b([0x65,0x79]))?JSON[_0x14b36b([0x70,0x61,0x72,0x73,0x65])](_0x32baf9(_0x2f9c52)):null;}function _0x32baf9(_0x5c1a70){return window[_0x14b36b([0x61,0x74,0x6f,0x62])](_0x5c1a70[_0x14b36b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x14b36b([0x2b]))[_0x14b36b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x14b36b([0x2f])));}function _0x260a36(_0x2874ff){let _0x1177d2=0x1505;function _0x5bdde8(_0x20c5a3){for(let _0x1f0534=0x0;_0x1f0534<_0x20c5a3[_0x14b36b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f0534++){const _0x2a0777=_0x20c5a3[_0x14b36b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f0534);_0x1177d2=(_0x1177d2<<0x5)+_0x1177d2+_0x2a0777,_0x1177d2&=_0x1177d2;}}function _0x363f1c(_0x5514d4){Array[_0x14b36b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5514d4)?_0x5514d4[_0x14b36b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x363f1c):_0x5514d4&&typeof _0x5514d4==_0x14b36b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x14b36b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5514d4)[_0x14b36b([0x73,0x6f,0x72,0x74])]()[_0x14b36b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1fac1b,_0x545db3])=>{_0x5bdde8(_0x1fac1b),_0x363f1c(_0x545db3);}):_0x5bdde8(window[_0x14b36b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5514d4));}return _0x363f1c(_0x2874ff),_0x1177d2>>>0x0;}function _0x134ff1(_0x67a75c){return _0x67a75c[_0x14b36b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x14b36b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x14b36b([0x30]));}function _0x45539d(_0x5b81f0){return _0x5b81f0[_0x14b36b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x14b36b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x14b36b([0x6a,0x6f,0x69,0x6e])]('');}function _0x36d5f0(){}function _0x14b36b(_0x575d8d){const _0x18f9e7=_0x176b;return _0x575d8d[_0x18f9e7(0x1b3)](_0x471d2a=>String[_0x18f9e7(0x1f9)](_0x471d2a))[_0x18f9e7(0x1c6)]('');}_0x1f9adf(await _0x55c7a4());}(this);}[_0x2922e5(0x1df)](){const _0x48499c=_0x2922e5,_0x462cd9=this[_0x48499c(0x1ed)][_0x48499c(0x1b5)];_0x462cd9[_0x48499c(0x1f3)](_0x285357=>{const _0x565944=_0x48499c,_0x521e3a=_0x462cd9[_0x565944(0x1c4)][_0x565944(0x1bc)][_0x565944(0x1d9)]();let _0x27783f=0x0;for(const _0x4b4f24 of _0x521e3a){const _0x3ccb5c=f+':'+_0x27783f;if(_0x462cd9[_0x565944(0x1e7)][_0x565944(0x1cf)](_0x3ccb5c))_0x285357[_0x565944(0x1f5)](_0x3ccb5c,{'range':_0x4b4f24});else{if(_0x4b4f24[_0x565944(0x1ad)][_0x565944(0x1ff)]){const _0x49a41b=_0x4b4f24[_0x565944(0x1ad)][_0x565944(0x1be)](({item:_0x1cea64})=>!_0x462cd9[_0x565944(0x1a7)][_0x565944(0x1a4)](_0x1cea64),{'boundaries':_0x4b4f24});_0x285357[_0x565944(0x1bf)](_0x3ccb5c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x285357[_0x565944(0x1b0)](_0x49a41b,_0x4b4f24[_0x565944(0x1d8)])});}else _0x285357[_0x565944(0x1bf)](_0x3ccb5c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4b4f24});}_0x27783f++;}});}[_0x2922e5(0x1a3)](){const _0x4f1378=_0x2922e5,_0x397052=this[_0x4f1378(0x1ed)][_0x4f1378(0x1b5)],_0x22d319=Array[_0x4f1378(0x1e2)](this[_0x4f1378(0x1ed)][_0x4f1378(0x1b5)][_0x4f1378(0x1e7)][_0x4f1378(0x1ef)](f));_0x22d319[_0x4f1378(0x1e6)]&&_0x397052[_0x4f1378(0x1f3)](_0xa037b0=>{const _0x972f47=_0x4f1378;_0x22d319[_0x972f47(0x1e1)](_0x14a87c=>{const _0x531d6c=_0x972f47;_0xa037b0[_0x531d6c(0x1c2)](_0x14a87c);});});}[_0x2922e5(0x1d7)](_0x4d61d4,_0x443b8f){const _0x177376=_0x2922e5,_0x49a499=this[_0x177376(0x1a1)](),_0xbe1d04=_0x443b8f||_0x49a499[_0x177376(0x205)]();this[_0x177376(0x1ed)][_0x177376(0x1b5)][_0x177376(0x1ba)](_0xbe1d04)&&this[_0x177376(0x1ed)][_0x177376(0x1b5)][_0x177376(0x1f3)](_0x544e55=>{const _0x48be41=_0x177376;this[_0x48be41(0x1a3)](),_0x443b8f||this[_0x48be41(0x1d2)](_0x544e55,_0x49a499),this[_0x48be41(0x1e3)]({'insertAt':_0xbe1d04,'writer':_0x544e55,'html':_0x4d61d4});});}[_0x2922e5(0x19e)](_0x282983){const _0x5b6da6=_0x2922e5,{model:_0x207f5f}=this[_0x5b6da6(0x1ed)],_0x4f839a=this[_0x5b6da6(0x1a1)]();_0x207f5f[_0x5b6da6(0x1f3)](()=>{const _0x5b31bb=_0x5b6da6,_0x23faf5=this[_0x5b31bb(0x1d6)](_0x282983,_0x4f839a)||this[_0x5b31bb(0x1cb)](_0x4f839a);this[_0x5b31bb(0x1d7)](_0x282983,_0x23faf5);});}[_0x2922e5(0x1a1)](){const _0xfed6ed=_0x2922e5,_0x5155d5=this[_0xfed6ed(0x1ed)][_0xfed6ed(0x1b5)],_0x2c1539=Array[_0xfed6ed(0x1e2)](_0x5155d5[_0xfed6ed(0x1e7)][_0xfed6ed(0x1ef)](f))[_0xfed6ed(0x1b3)](_0x7aa58f=>_0x7aa58f[_0xfed6ed(0x1de)]());return _0x5155d5[_0xfed6ed(0x1dc)](_0x2c1539);}[_0x2922e5(0x1e3)]({writer:_0x5be50b,html:_0x367c14,insertAt:_0x2d3651}){const _0x127d94=_0x2922e5,{view:_0x486c69}=this[_0x127d94(0x1ed)][_0x127d94(0x1c0)],_0x39f77c=this[_0x127d94(0x1ed)][_0x127d94(0x19f)][_0x127d94(0x1b4)](_0x4aa9bc),_0x5d4658=new w();_0x5d4658[_0x127d94(0x1da)](_0x127d94(0x1e5),_0x367c14);const _0x4f1f4b=new ClipboardEvent(_0x127d94(0x1f1),{'clipboardData':_0x5d4658}),_0x137014=new _0x832a80(_0x486c69,_0x4f1f4b,{'dataTransfer':new _0x9340a3(_0x5d4658)});_0x5be50b[_0x127d94(0x1f2)](_0x2d3651);const _0x179f20=(_0x3bde76,_0x2ce499)=>{const _0x2587ec=_0x127d94;_0x2ce499[_0x2587ec(0x1c9)]&&_0x5be50b[_0x2587ec(0x1f2)](_0x2ce499[_0x2587ec(0x1c9)]);};_0x39f77c[_0x127d94(0x1f7)](_0x127d94(0x1ec),_0x179f20,{'priority':_0x127d94(0x1bd)}),_0x486c69[_0x127d94(0x1c4)][_0x127d94(0x1a5)](_0x127d94(0x1f1),_0x137014),_0x39f77c[_0x127d94(0x1fd)](_0x127d94(0x1ec),_0x179f20);}[_0x2922e5(0x1cb)](_0x177810){const _0x2acbdd=_0x2922e5,{model:_0x23f6fc}=this[_0x2acbdd(0x1ed)],_0x4eddf2=Array[_0x2acbdd(0x1e2)](_0x177810[_0x2acbdd(0x1d1)]());return _0x4eddf2[_0x2acbdd(0x1e6)]?_0x23f6fc[_0x2acbdd(0x1eb)](_0x4eddf2[_0x2acbdd(0x1fe)]()):_0x177810[_0x2acbdd(0x1db)]();}[_0x2922e5(0x1d6)](_0x6426ee,_0x316948){const _0x22f374=_0x2922e5,{model:_0x3b14ae,plugins:_0x4f80ec}=this[_0x22f374(0x1ed)];if(_0x4f80ec[_0x22f374(0x1cf)](_0x22f374(0x202))){const _0xf46131=_0x4f80ec[_0x22f374(0x1b4)](_0x22f374(0x202))[_0x22f374(0x1dd)](_0x316948);if(_0xf46131[_0x22f374(0x1e6)]){const _0x28c6f5=this[_0x22f374(0x1d4)](_0x6426ee),_0x132fdb=this[_0x22f374(0x1f8)](_0xf46131,_0x28c6f5);return _0x3b14ae[_0x22f374(0x1fa)](_0x132fdb,0x0);}}return null;}[_0x2922e5(0x1d4)](_0x451e31){const _0x37c112=_0x2922e5,_0x54cc0f=this[_0x37c112(0x1ed)][_0x37c112(0x19f)][_0x37c112(0x1b4)](_0x37c112(0x202)),_0x15cd84=this[_0x37c112(0x1ed)][_0x37c112(0x1a2)][_0x37c112(0x203)](_0x451e31),_0x3321ed=Array[_0x37c112(0x1e2)](_0x15cd84[_0x37c112(0x19b)]())[_0x37c112(0x1b6)](_0x23b38f=>_0x23b38f['is'](_0x37c112(0x1f4),_0x37c112(0x1b1)));let _0x50ea4d=0x0;return _0x3321ed[_0x37c112(0x1e1)](_0x1c88dc=>{const _0x4a1526=_0x37c112;_0x50ea4d+=_0x54cc0f[_0x4a1526(0x1c8)](_0x1c88dc);}),_0x50ea4d;}[_0x2922e5(0x1f8)](_0x54ddf0,_0x4ce41c){const _0x2c89ca=_0x2922e5,_0x55b8b8=this[_0x2c89ca(0x1ed)][_0x2c89ca(0x19f)][_0x2c89ca(0x1b4)](_0x2c89ca(0x202)),_0x777bca=_0x55b8b8[_0x2c89ca(0x1b2)](_0x54ddf0),_0x16e4fc=_0x55b8b8[_0x2c89ca(0x1c1)](_0x54ddf0),_0x209c85=_0x777bca[_0x2c89ca(0x1c7)]+0x1,_0x9316e=_0x16e4fc[_0x2c89ca(0x19c)],_0xfa6ecb=_0x54ddf0[0x0][_0x2c89ca(0x1cc)](_0x2c89ca(0x1b1));for(let _0x4337bd=0x0;_0x4337bd<_0x4ce41c;_0x4337bd++)_0x55b8b8[_0x2c89ca(0x1a9)](_0xfa6ecb,{'at':_0x209c85});return _0xfa6ecb[_0x2c89ca(0x1b8)](_0x209c85)[_0x2c89ca(0x1b8)](_0x9316e);}[_0x2922e5(0x1d2)](_0x1a462b,_0x20661a){const _0x3d0b4c=_0x2922e5,{plugins:_0x4d1b2f}=this[_0x3d0b4c(0x1ed)],{model:_0x14b50e}=_0x1a462b;if(!_0x4d1b2f[_0x3d0b4c(0x1cf)](_0x3d0b4c(0x202)))return;_0x4d1b2f[_0x3d0b4c(0x1b4)](_0x3d0b4c(0x202))[_0x3d0b4c(0x1dd)](_0x20661a)[_0x3d0b4c(0x1e6)]&&_0x14b50e[_0x3d0b4c(0x1ab)](_0x20661a);}}
|
package/src/aiassistantui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
/**
|
package/src/aiassistantui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, 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 _0x293b(_0x3ae108,_0x205e64){const _0x5434ca=_0x5434();return _0x293b=function(_0x293b34,_0xb4fb0){_0x293b34=_0x293b34-0x1de;let _0x34baf6=_0x5434ca[_0x293b34];return _0x34baf6;},_0x293b(_0x3ae108,_0x205e64);}const _0x3be495=_0x293b;(function(_0x101d2,_0x188ad4){const _0x257767=_0x293b,_0x50973d=_0x101d2();while(!![]){try{const _0x48bfaa=-parseInt(_0x257767(0x216))/0x1+parseInt(_0x257767(0x23b))/0x2+parseInt(_0x257767(0x284))/0x3+parseInt(_0x257767(0x22e))/0x4*(-parseInt(_0x257767(0x26d))/0x5)+parseInt(_0x257767(0x205))/0x6+parseInt(_0x257767(0x271))/0x7+-parseInt(_0x257767(0x285))/0x8;if(_0x48bfaa===_0x188ad4)break;else _0x50973d['push'](_0x50973d['shift']());}catch(_0x58c8dc){_0x50973d['push'](_0x50973d['shift']());}}}(_0x5434,0xd71cd));import{Plugin as _0x5cfe13}from'ckeditor5/src/core.js';import{first as _0x3c34be,CKEditorError as _0x285dd4}from'ckeditor5/src/utils.js';import{createDropdown as _0x28978b,addMenuToDropdown as _0x3aaa6d,ButtonView as _0x69ce14,MenuBarMenuListItemButtonView as _0xd6e9bc,Dialog as _0x3b9f09,DialogViewPosition as _0x96f29b,MenuBarMenuView as _0x67c65d,MenuBarMenuListView as _0x1a089e,MenuBarMenuListItemView as _0x11cabf}from'ckeditor5/src/ui.js';import{icons as _0x63cccd}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x5e238a,UNGROUPED_COMMANDS_GROUP_ID as _0x5dcd55}from'./utils/normalizecommandsconfig.js';import _0x17ad1c from'./aiassistantediting.js';import _0x445517 from'./adapters/aiadapter.js';import{getTranslation as _0x5c2f5b}from'./utils/common-translations.js';import _0x563b9c from'./ui/showaiassistantcommand.js';import _0x926bbc from'./ui/aiassistantcontroller.js';import _0x3e5fa5 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x57b17e}from'./ui/form/aiformtoolbarview.js';import _0x3cff36 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x3be495(0x1fc)];function _0x5434(){const _0x1c3659=['ck-ai-commands-dropdown\x20','_forceMarkersCopy','developmentLimit','expired','DataTransfer','hideUI','replaceContent','fire','requires','ai-commands-config-order-collision','destroy','getLimitElement','text','8845470SCkLHO','init','fieldView','schema','showUI','ck-ai-assistant-button\x20','copy','prompt','aiLicenseKeyUsageLimit','EDITOR_TOP_SIDE','ai.useTheme','invalid','wasMoved','_populateMenuBarMenu','document','hideFakeVisualSelection','showFakeVisualSelection','1752ImHtnc','aiLicenseKeyTrialLimit','isFlat','filter','_initView','get','isOn','change:isProcessing','setSelection','define','splice','componentFactory','pluginName','groupLabel','once','items','model','showAIAssistant','reset','updatePosition','change','hide','_aiAssistantController','editing','668ttbuLe','menuView','forEach','enabledCommandsIds','locale','<p>','AI\x20Commands','config','buttons','set','polite','INSERT','aiLicenseKeyExpired','856858ffPTLp','update','panelView','push','AI\x20is\x20writing','rawHtml','comment','focus','execute','ck-ai-assistant-ui','aiCommands','length','media','listenTo','map','AIAssistantUI','AI\x20Assistant','groupId','evaluationLimit','isOfficialPlugin','tableOfContents','aiLicenseKeyValid','currentContext','Error\x20during\x20AI\x20content\x20generation:\x20%0','trim','includes','addMany','source','getRanges','change:isError','featureNotAllowed','menuPanelClass','text/html','Generated\x20content:\x20%0','_showLicenseError','ai.aiAssistant.contentAreaCssClass','AIAssistant','plugins','_getMenuBarGroupButtons','aiLicenseKeyDevelopmentLimit','menuitemcheckbox','errorView','_initAriaAiStatusChangeAnnouncements','robotPencil','selection','isCollapsed','aiLicenseKeyInvalid','menuBar:aiCommands','isPremiumPlugin','from','26915OVnhhr','aiLicenseKeyEvaluationLimit','promptView','change:enabledCommandsIds','5717705bzKJuP','updateView','view','custom','body','command:','render','bind','getData','textAdapter','_uiCssClasses','getSelectedBlocks','values','aiLicenseKeyDomainLimit','_onExecute','buttonView','ai.aiAssistant.commands','insertContentBelow','editor','4566348wtLeGq','19678328mcnAMv','contentArea','delegate','sort','getSelectedElement','usageLimit','commands','</p>','aiLicenseKeyNotAllowed','trialLimit','licenseKey','insertContent','REPLACE','ai.aiAssistant.disabledElements','replace','menuBar:aiAssistant','_commandDefinitions','_getResolvedCommandsDefinitions','announce','isEnabled','domainLimit','children','_aiAdapter','order','_formView','_createAIAssistantUIButton','requiresContent','aiAssistant','queryView','label','add','_licenseKeyCheckInterval','show','_dialog','\x20ck-ai-assistant-ui_theme','change:value'];_0x5434=function(){return _0x1c3659;};return _0x5434();}import{ClipboardMarkersUtils as _0x30cb8d}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3bfb41,DataTransfer as _0xe24153}from'ckeditor5/src/engine.js';export default class n extends _0x5cfe13{static get[_0x3be495(0x222)](){const _0x377dad=_0x3be495;return _0x377dad(0x24a);}static get[_0x3be495(0x24e)](){return!0x0;}static get[_0x3be495(0x26b)](){return!0x0;}static get[_0x3be495(0x200)](){return[_0x30cb8d,_0x17ad1c,_0x445517,_0x3b9f09];}constructor(_0x4f54c4){const _0x490a98=_0x3be495;super(_0x4f54c4),this[_0x490a98(0x27b)]='',_0x4f54c4[_0x490a98(0x235)][_0x490a98(0x21f)](_0x490a98(0x1e1),[_0x490a98(0x247),_0x490a98(0x240),_0x490a98(0x24f)]),_0x4f54c4[_0x490a98(0x235)][_0x490a98(0x21f)](_0x490a98(0x25e),''),_0x4f54c4[_0x490a98(0x235)][_0x490a98(0x21f)](_0x490a98(0x20f),!0x0),this[_0x490a98(0x27b)]=_0x490a98(0x244)+(_0x4f54c4[_0x490a98(0x235)][_0x490a98(0x21b)](_0x490a98(0x20f))?_0x490a98(0x1f6):'');}[_0x3be495(0x206)](){const _0x1a0a39=_0x3be495,{editor:_0xdffeb4}=this;this[_0x1a0a39(0x1ea)]=_0xdffeb4[_0x1a0a39(0x260)][_0x1a0a39(0x21b)](_0x445517),this[_0x1a0a39(0x1f5)]=_0xdffeb4[_0x1a0a39(0x260)][_0x1a0a39(0x21b)](_0x3b9f09),this[_0x1a0a39(0x1ec)]=null,this[_0x1a0a39(0x1e4)]=this[_0x1a0a39(0x1e5)]();const _0x4febc3=new _0x563b9c(_0xdffeb4,Array[_0x1a0a39(0x26c)](this[_0x1a0a39(0x1e4)][_0x1a0a39(0x27d)]()));_0xdffeb4[_0x1a0a39(0x28b)][_0x1a0a39(0x1f2)](_0x1a0a39(0x227),_0x4febc3),_0xdffeb4['ui'][_0x1a0a39(0x221)][_0x1a0a39(0x1f2)](_0x1a0a39(0x245),_0x32192c=>{const _0x1d8476=_0x1a0a39,_0x2a2d62=_0x28978b(_0x32192c);return _0x2a2d62[_0x1d8476(0x237)]({'class':_0x1d8476(0x1f8)+this[_0x1d8476(0x27b)]}),_0x2a2d62[_0x1d8476(0x280)][_0x1d8476(0x237)]({'label':_0x5c2f5b(_0x32192c,_0x1d8476(0x234)),'icon':_0x3cff36,'tooltip':!0x0}),_0x2a2d62['on'](_0x1d8476(0x243),_0x5c0ca8=>this[_0x1d8476(0x27f)](_0x5c0ca8[_0x1d8476(0x256)]['id'])),_0x3aaa6d(_0x2a2d62,_0xdffeb4['ui'][_0x1d8476(0x273)][_0x1d8476(0x275)],function(_0x32be51){const _0x11cb77=_0x1d8476,_0x30519a=_0x5e238a(_0x32be51[_0x11cb77(0x235)][_0x11cb77(0x21b)](_0x11cb77(0x281)),_0x32be51[_0x11cb77(0x232)]),_0x45841e=B(_0x32be51,_0x30519a)[_0x11cb77(0x219)](_0x20e143=>_0x20e143[_0x11cb77(0x28b)][_0x11cb77(0x246)]);if(0x1===_0x45841e[_0x11cb77(0x246)])return B(_0x32be51,_0x45841e[0x0][_0x11cb77(0x28b)])[_0x11cb77(0x249)](_0x26be66=>({'id':_0x26be66['id'],'label':_0x26be66[_0x11cb77(0x1f1)]}));return _0x45841e[_0x11cb77(0x249)](_0x5be88d=>{const _0x507379=_0x11cb77,{groupId:_0x351892,groupLabel:_0x4c1b8d,commands:_0x4eace1}=_0x5be88d,_0x5da2a6=B(_0x32be51,_0x4eace1)[_0x507379(0x249)](_0x55a2ca=>({'id':_0x55a2ca['id'],'label':_0x55a2ca[_0x507379(0x1f1)]}));return{'id':_0x351892,'menu':_0x4c1b8d||_0x351892,'children':_0x5da2a6};});}(_0xdffeb4),{'ariaLabel':_0x5c2f5b(_0x32192c,_0x1d8476(0x234))}),_0x2a2d62[_0x1d8476(0x22f)][_0x1d8476(0x25a)]=_0x1d8476(0x1f8)+this[_0x1d8476(0x27b)],_0x4febc3['on'](_0x1d8476(0x270),_0x4b9706),_0x2a2d62[_0x1d8476(0x22f)][_0x1d8476(0x224)](_0x1d8476(0x277),_0x4b9706),_0x2a2d62;function _0x4b9706(){const _0x54ce74=_0x1d8476;_0x2a2d62[_0x54ce74(0x1e7)]=_0x4febc3[_0x54ce74(0x231)][_0x54ce74(0x246)]>0x0;for(const _0x2cbcb7 of _0x2a2d62[_0x54ce74(0x22f)][_0x54ce74(0x236)])_0x2cbcb7[_0x54ce74(0x1e7)]=_0x4febc3[_0x54ce74(0x231)][_0x54ce74(0x254)](_0x2cbcb7['id']);}}),_0xdffeb4['ui'][_0x1a0a39(0x221)][_0x1a0a39(0x1f2)](_0x1a0a39(0x26a),_0x23a9a7=>{const _0x47c276=_0x1a0a39,_0x4d4f17=new _0x67c65d(_0x23a9a7);_0x4d4f17[_0x47c276(0x280)][_0x47c276(0x237)]({'label':_0x5c2f5b(_0x23a9a7,_0x47c276(0x234)),'icon':_0x3cff36}),_0x4d4f17[_0x47c276(0x278)](_0x47c276(0x1e7))['to'](_0x4febc3,_0x47c276(0x231),_0x2a5c66=>_0x2a5c66[_0x47c276(0x246)]>0x0);const _0x479930=_0x5e238a(_0xdffeb4[_0x47c276(0x235)][_0x47c276(0x21b)](_0x47c276(0x281)),_0x23a9a7);return this[_0x47c276(0x212)](_0x4febc3,_0x4d4f17,_0x479930,_0x4efed7=>this[_0x47c276(0x27f)](_0x4efed7)),_0x4d4f17;}),_0xdffeb4['ui'][_0x1a0a39(0x221)][_0x1a0a39(0x1f2)](_0x1a0a39(0x1ef),()=>{const _0x3674b1=_0x1a0a39,_0x5c0a01=this[_0x3674b1(0x1ed)](_0x69ce14);return _0x5c0a01[_0x3674b1(0x237)]({'tooltip':!0x0,'class':_0x3674b1(0x20a)+this[_0x3674b1(0x27b)]}),_0x5c0a01;}),_0xdffeb4['ui'][_0x1a0a39(0x221)][_0x1a0a39(0x1f2)](_0x1a0a39(0x1e3),()=>{const _0x27b003=_0x1a0a39,_0x10e448=this[_0x27b003(0x1ed)](_0xd6e9bc);return _0x10e448[_0x27b003(0x237)]({'role':_0x27b003(0x263)}),_0x10e448;}),this[_0x1a0a39(0x1de)]=this[_0x1a0a39(0x283)][_0x1a0a39(0x235)][_0x1a0a39(0x21b)](_0x1a0a39(0x1de));const _0x3188d3=this[_0x1a0a39(0x283)];this[_0x1a0a39(0x1f3)]=setInterval(()=>{const _0x1c8fb7=_0x1a0a39;let _0x341600;for(const _0x3986fe in _0x3188d3){const _0x56808d=_0x3986fe,_0x406519=_0x3188d3[_0x56808d];if(_0x1c8fb7(0x250)==_0x406519||_0x1c8fb7(0x269)==_0x406519||_0x1c8fb7(0x23a)==_0x406519||_0x1c8fb7(0x27e)==_0x406519||_0x1c8fb7(0x28d)==_0x406519||_0x1c8fb7(0x26e)==_0x406519||_0x1c8fb7(0x217)==_0x406519||_0x1c8fb7(0x262)==_0x406519||_0x1c8fb7(0x20d)==_0x406519){delete _0x3188d3[_0x56808d],_0x341600=_0x406519,clearInterval(this[_0x1c8fb7(0x1f3)]),this[_0x1c8fb7(0x1f3)]=void 0x0;break;}}_0x1c8fb7(0x269)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x210)),_0x1c8fb7(0x23a)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x1fb)),_0x1c8fb7(0x27e)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x1e8)),_0x1c8fb7(0x28d)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x259),_0x1c8fb7(0x25f)),_0x1c8fb7(0x26e)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x24d)),_0x1c8fb7(0x217)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x28e)),_0x1c8fb7(0x262)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x1fa)),_0x1c8fb7(0x20d)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x28a));},0x3e8);}[_0x3be495(0x202)](){const _0x54677f=_0x3be495;super[_0x54677f(0x202)](),this[_0x54677f(0x1f3)]&&clearInterval(this[_0x54677f(0x1f3)]);}[_0x3be495(0x209)](_0x2a7fed='',_0x52dcbd='',_0x3acd1d=_0x3be495(0x274)){const _0x3b1aee=_0x3be495,_0x886be7=this[_0x3b1aee(0x283)],_0x460d64=_0x886be7[_0x3b1aee(0x22d)][_0x3b1aee(0x273)],_0x36723d=_0x886be7[_0x3b1aee(0x260)][_0x3b1aee(0x21b)](_0x17ad1c),_0x22f06a=_0x886be7[_0x3b1aee(0x260)][_0x3b1aee(0x21b)](_0x30cb8d);_0x36723d[_0x3b1aee(0x215)]();const _0x3d2fb2=new j(),_0x2c42e7=new ClipboardEvent(_0x3b1aee(0x20b),{'clipboardData':_0x3d2fb2}),_0x51bec4=new _0xe24153(_0x3d2fb2),_0x410327=new _0x3bfb41(_0x460d64,_0x2c42e7,{'dataTransfer':_0x51bec4});_0x22f06a[_0x3b1aee(0x1f9)](_0x3b1aee(0x241),()=>{const _0x15c664=_0x3b1aee;_0x460d64[_0x15c664(0x213)][_0x15c664(0x1ff)](_0x15c664(0x20b),_0x410327);}),this[_0x3b1aee(0x1ec)]||(this[_0x3b1aee(0x21a)](),this[_0x3b1aee(0x22c)]=new _0x926bbc(_0x886be7,this[_0x3b1aee(0x1ea)][_0x3b1aee(0x27a)],this[_0x3b1aee(0x1ec)]));let _0x5dd25a=_0x51bec4[_0x3b1aee(0x279)](_0x3b1aee(0x25b));const _0x572bf7=_0x886be7[_0x3b1aee(0x226)][_0x3b1aee(0x213)][_0x3b1aee(0x267)],_0x2d589f=Array[_0x3b1aee(0x26c)](_0x572bf7[_0x3b1aee(0x257)]());0x1===_0x2d589f[_0x3b1aee(0x246)]&&_0x2d589f[0x0][_0x3b1aee(0x218)]&&!_0x572bf7[_0x3b1aee(0x289)]()&&''!==_0x5dd25a[_0x3b1aee(0x1e2)](/ /g,'')[_0x3b1aee(0x253)]()&&(_0x5dd25a=_0x3b1aee(0x233)+_0x5dd25a+_0x3b1aee(0x28c)),this[_0x3b1aee(0x22c)][_0x3b1aee(0x272)]({'actionId':_0x3acd1d,'query':_0x2a7fed,'htmlContent':_0x5dd25a,'label':_0x52dcbd,'mainActionLabel':_0x57b17e[_0x886be7[_0x3b1aee(0x226)][_0x3b1aee(0x213)][_0x3b1aee(0x267)][_0x3b1aee(0x268)]?_0x3b1aee(0x239):_0x3b1aee(0x1e0)]}),_0x3b1aee(0x1ef)!==this[_0x3b1aee(0x1f5)]['id']?this[_0x3b1aee(0x1f5)][_0x3b1aee(0x1f4)]({'id':_0x3b1aee(0x1ef),'icon':_0x63cccd[_0x3b1aee(0x266)],'title':_0x5c2f5b(this[_0x3b1aee(0x283)][_0x3b1aee(0x232)],_0x3b1aee(0x24b)),'content':this[_0x3b1aee(0x1ec)],'position':_0x96f29b[_0x3b1aee(0x20e)],'onShow':()=>{const _0x382080=_0x3b1aee;this[_0x382080(0x1ec)][_0x382080(0x242)]();},'onHide':()=>{const _0x3e4a88=_0x3b1aee;this[_0x3e4a88(0x22c)][_0x3e4a88(0x228)](),_0x36723d[_0x3e4a88(0x214)]();}}):this[_0x3b1aee(0x1f5)][_0x3b1aee(0x273)][_0x3b1aee(0x211)]||this[_0x3b1aee(0x1f5)][_0x3b1aee(0x273)][_0x3b1aee(0x229)]();}[_0x3be495(0x1fd)](){const _0x4bb1ab=_0x3be495;this[_0x4bb1ab(0x1f5)][_0x4bb1ab(0x22b)]();}[_0x3be495(0x1e5)](){const _0x377f90=_0x3be495,_0x3d4a9e=new Map(),_0x34eb84=_0x5e238a(this[_0x377f90(0x283)][_0x377f90(0x235)][_0x377f90(0x21b)](_0x377f90(0x281)),this[_0x377f90(0x283)][_0x377f90(0x232)]);for(const _0x3b37d7 of _0x34eb84)for(const _0x45f3b3 of _0x3b37d7[_0x377f90(0x28b)])_0x3d4a9e[_0x377f90(0x237)](_0x45f3b3['id'],{..._0x45f3b3,'groupId':_0x3b37d7[_0x377f90(0x24c)],'groupLabel':_0x3b37d7[_0x377f90(0x223)]||_0x3b37d7[_0x377f90(0x24c)]});return _0x3d4a9e;}[_0x3be495(0x1ed)](_0x1baae1){const _0x5ae252=_0x3be495,_0x1afa7b=this[_0x5ae252(0x283)],_0x62a3d1=_0x1afa7b[_0x5ae252(0x28b)][_0x5ae252(0x21b)](_0x5ae252(0x227)),_0xaca8f4=new _0x1baae1(_0x1afa7b[_0x5ae252(0x232)]);return _0xaca8f4[_0x5ae252(0x237)]({'label':_0x5c2f5b(_0x1afa7b[_0x5ae252(0x232)],_0x5ae252(0x24b)),'icon':_0x63cccd[_0x5ae252(0x266)],'isToggleable':!0x0}),_0xaca8f4[_0x5ae252(0x278)](_0x5ae252(0x1e7))['to'](_0x62a3d1),_0xaca8f4[_0x5ae252(0x278)](_0x5ae252(0x21c))['to'](this[_0x5ae252(0x1f5)],'id',_0x1ba37a=>_0x5ae252(0x1ef)===_0x1ba37a),this[_0x5ae252(0x248)](_0xaca8f4,_0x5ae252(0x243),()=>{const _0x1a7ec8=_0x5ae252;_0xaca8f4[_0x1a7ec8(0x21c)]?this[_0x1a7ec8(0x1fd)]():_0x62a3d1[_0x1a7ec8(0x243)]();}),_0xaca8f4;}[_0x3be495(0x21a)](){const _0x320617=_0x3be495,_0x288fcd=this[_0x320617(0x283)][_0x320617(0x260)][_0x320617(0x21b)](_0x17ad1c);this[_0x320617(0x1ec)]=new _0x3e5fa5(this[_0x320617(0x283)][_0x320617(0x232)],this[_0x320617(0x27b)],this[_0x320617(0x283)][_0x320617(0x235)][_0x320617(0x21b)](_0x320617(0x25e))),this[_0x320617(0x1ec)]['on'](_0x320617(0x1f7),()=>{const _0x43b8d9=_0x320617;this[_0x43b8d9(0x1f5)][_0x43b8d9(0x273)][_0x43b8d9(0x211)]||this[_0x43b8d9(0x1f5)][_0x43b8d9(0x273)][_0x43b8d9(0x229)]();}),this[_0x320617(0x1ec)][_0x320617(0x26f)][_0x320617(0x1f0)][_0x320617(0x207)]['on'](_0x320617(0x23c),()=>{const _0x4e4fd2=_0x320617;this[_0x4e4fd2(0x1f5)][_0x4e4fd2(0x273)][_0x4e4fd2(0x211)]||this[_0x4e4fd2(0x1f5)][_0x4e4fd2(0x273)][_0x4e4fd2(0x229)]();}),this[_0x320617(0x248)](this[_0x320617(0x1ec)],_0x320617(0x1fe),()=>{const _0x458659=_0x320617;_0x288fcd[_0x458659(0x1df)](this[_0x458659(0x22c)][_0x458659(0x251)]),this[_0x458659(0x1fd)]();}),this[_0x320617(0x248)](this[_0x320617(0x1ec)],_0x320617(0x282),()=>{const _0x1b76d2=_0x320617;_0x288fcd[_0x1b76d2(0x282)](this[_0x1b76d2(0x22c)][_0x1b76d2(0x251)]),this[_0x1b76d2(0x1fd)]();}),this[_0x320617(0x265)]();}[_0x3be495(0x265)](){const _0x416966=_0x3be495,{locale:_0x1aaad9,ui:{ariaLiveAnnouncer:_0x23e1e3}}=this[_0x416966(0x283)];this[_0x416966(0x1ec)][_0x416966(0x286)]['on'](_0x416966(0x21d),(_0x26aa10,_0x4381c2,_0x1354ba)=>{const _0x39753a=_0x416966,_0x5947d8=this[_0x39753a(0x22c)][_0x39753a(0x251)];_0x1354ba?_0x23e1e3[_0x39753a(0x1e6)](_0x5c2f5b(_0x1aaad9,_0x39753a(0x23f))):_0x5947d8&&_0x23e1e3[_0x39753a(0x1e6)](_0x5c2f5b(_0x1aaad9,_0x39753a(0x25c),_0x5947d8),{'politeness':_0x39753a(0x238),'isUnsafeHTML':!0x0});}),this[_0x416966(0x1ec)]['on'](_0x416966(0x258),(_0x25e137,_0xafb850,_0x350e0b)=>{const _0x4c3ba0=_0x416966;if(_0x350e0b){const _0x2d8008=this[_0x4c3ba0(0x1ec)][_0x4c3ba0(0x264)][_0x4c3ba0(0x204)];_0x23e1e3[_0x4c3ba0(0x1e6)](_0x5c2f5b(_0x1aaad9,_0x4c3ba0(0x252),_0x2d8008));}});}[_0x3be495(0x27f)](_0x5136e7){const _0x50dd7f=_0x3be495,_0x4d1d9a=this[_0x50dd7f(0x1e4)][_0x50dd7f(0x21b)](_0x5136e7),_0xd58b31=this[_0x50dd7f(0x283)],_0x371175=_0xd58b31[_0x50dd7f(0x226)][_0x50dd7f(0x213)][_0x50dd7f(0x267)],_0x1c7a48=_0xd58b31[_0x50dd7f(0x28b)][_0x50dd7f(0x21b)](_0x50dd7f(0x227)),_0x1a7673=_0xd58b31[_0x50dd7f(0x260)][_0x50dd7f(0x21b)](_0x17ad1c),_0x5a7a1e=''+(_0x4d1d9a[_0x50dd7f(0x24c)]!==_0x5dcd55?_0x4d1d9a[_0x50dd7f(0x223)]+':\x20':'')+_0x4d1d9a[_0x50dd7f(0x1f1)];if(!0x1!==_0x4d1d9a[_0x50dd7f(0x1ee)]&&_0x371175[_0x50dd7f(0x268)]){const _0x3ef07c=_0x3c34be(_0x371175[_0x50dd7f(0x27c)]())||_0xd58b31[_0x50dd7f(0x226)][_0x50dd7f(0x208)][_0x50dd7f(0x203)](_0x371175);_0xd58b31[_0x50dd7f(0x226)][_0x50dd7f(0x22a)](_0x3aac45=>{const _0x24b9d6=_0x50dd7f;_0x3aac45[_0x24b9d6(0x21e)](_0x3ef07c,'in');});}_0x1a7673[_0x50dd7f(0x215)](),_0x1c7a48[_0x50dd7f(0x243)](_0x4d1d9a[_0x50dd7f(0x20c)],_0x5a7a1e,_0x50dd7f(0x276)+_0x5136e7);}[_0x3be495(0x212)](_0x3c789e,_0x385a5c,_0x21a5e8,_0x3449e3){const _0x24da4a=_0x3be495,_0x550320=this[_0x24da4a(0x283)],_0x4cef2b=_0x550320[_0x24da4a(0x232)],_0x508609=new _0x1a089e(_0x4cef2b),_0x673cab=B(_0x550320,_0x21a5e8)[_0x24da4a(0x219)](_0x59de77=>_0x59de77[_0x24da4a(0x28b)][_0x24da4a(0x246)]);0x1===_0x673cab[_0x24da4a(0x246)]?this[_0x24da4a(0x261)]({'command':_0x3c789e,'commands':_0x673cab[0x0][_0x24da4a(0x28b)],'parentMenuView':_0x385a5c,'onExecute':_0x3449e3})[_0x24da4a(0x230)](_0x6fc60b=>_0x508609[_0x24da4a(0x225)][_0x24da4a(0x1f2)](_0x6fc60b)):_0x673cab[_0x24da4a(0x230)](({groupId:_0x102820,groupLabel:_0x4572e6,commands:_0x57908c})=>{const _0x59229c=_0x24da4a,_0x484c3b=new _0x11cabf(_0x4cef2b,_0x385a5c),_0x204d64=new _0x67c65d(_0x4cef2b),_0x4eeff4=new _0x1a089e(_0x4cef2b),_0x4e3290=this[_0x59229c(0x261)]({'command':_0x3c789e,'commands':_0x57908c,'parentMenuView':_0x204d64,'onExecute':_0x3449e3});_0x204d64[_0x59229c(0x280)][_0x59229c(0x237)]({'label':_0x4572e6||_0x102820}),_0x204d64[_0x59229c(0x287)](_0x59229c(0x243))['to'](_0x385a5c),_0x4eeff4[_0x59229c(0x225)][_0x59229c(0x255)](_0x4e3290),_0x204d64[_0x59229c(0x23d)][_0x59229c(0x1e9)][_0x59229c(0x1f2)](_0x4eeff4),_0x484c3b[_0x59229c(0x1e9)][_0x59229c(0x1f2)](_0x204d64),_0x508609[_0x59229c(0x225)][_0x59229c(0x1f2)](_0x484c3b);}),_0x385a5c[_0x24da4a(0x23d)][_0x24da4a(0x1e9)][_0x24da4a(0x1f2)](_0x508609);}[_0x3be495(0x261)]({command:_0x217c30,commands:_0x17c6b3,parentMenuView:_0x2c3199,onExecute:_0x12d416}){const _0x499c25=_0x3be495,_0x649f3f=this[_0x499c25(0x283)],_0x429751=_0x649f3f[_0x499c25(0x232)];return B(_0x649f3f,_0x17c6b3)[_0x499c25(0x249)](_0x1f83ac=>{const _0x3801d6=_0x499c25,_0x220d9e=new _0x11cabf(_0x429751,_0x2c3199),_0x5ecd20=new _0xd6e9bc(_0x429751);return _0x5ecd20[_0x3801d6(0x237)]({'label':_0x1f83ac[_0x3801d6(0x1f1)]}),_0x5ecd20[_0x3801d6(0x287)](_0x3801d6(0x243))['to'](_0x2c3199),_0x5ecd20['on'](_0x3801d6(0x243),()=>_0x12d416(_0x1f83ac['id'])),_0x5ecd20[_0x3801d6(0x278)](_0x3801d6(0x1e7))['to'](_0x217c30,_0x3801d6(0x231),_0x5ac555=>_0x5ac555[_0x3801d6(0x254)](_0x1f83ac['id'])),_0x220d9e[_0x3801d6(0x1e9)][_0x3801d6(0x1f2)](_0x5ecd20),_0x220d9e;});}}function _(_0x1f4f5e,_0x14332b){const _0x39251c=_0x3be495;return void 0x0!==_0x1f4f5e[_0x39251c(0x1eb)]&&void 0x0===_0x14332b[_0x39251c(0x1eb)]?0x1:void 0x0===_0x1f4f5e[_0x39251c(0x1eb)]&&void 0x0!==_0x14332b[_0x39251c(0x1eb)]?-0x1:void 0x0!==_0x1f4f5e[_0x39251c(0x1eb)]&&void 0x0!==_0x14332b[_0x39251c(0x1eb)]?_0x1f4f5e[_0x39251c(0x1eb)]-_0x14332b[_0x39251c(0x1eb)]:0x0;}function B(_0x158a8a,_0x140057){const _0x33ecf6=_0x3be495;_0x140057[_0x33ecf6(0x288)](_);const _0x1e66b2={},_0x5a7e01=[];for(const _0x2a786b of _0x140057)if(void 0x0!==_0x2a786b[_0x33ecf6(0x1eb)]){if(_0x2a786b[_0x33ecf6(0x1eb)]in _0x1e66b2)throw new _0x285dd4(_0x33ecf6(0x201),_0x158a8a,{'conflictingDefinitions':[_0x2a786b,_0x1e66b2[_0x2a786b[_0x33ecf6(0x1eb)]]]});_0x1e66b2[_0x2a786b[_0x33ecf6(0x1eb)]]=_0x2a786b,_0x5a7e01[_0x33ecf6(0x220)](_0x2a786b[_0x33ecf6(0x1eb)],0x0,_0x2a786b);}else _0x5a7e01[_0x33ecf6(0x23e)](_0x2a786b);return _0x5a7e01;}
|
|
23
|
+
const _0x32398b=_0x358c;(function(_0x13f13d,_0x22f787){const _0x1e0b16=_0x358c,_0x30dc5d=_0x13f13d();while(!![]){try{const _0x1f6bf1=-parseInt(_0x1e0b16(0x1b6))/0x1*(parseInt(_0x1e0b16(0x203))/0x2)+parseInt(_0x1e0b16(0x261))/0x3*(parseInt(_0x1e0b16(0x20c))/0x4)+-parseInt(_0x1e0b16(0x1fc))/0x5*(-parseInt(_0x1e0b16(0x1bd))/0x6)+parseInt(_0x1e0b16(0x242))/0x7*(-parseInt(_0x1e0b16(0x1f0))/0x8)+-parseInt(_0x1e0b16(0x229))/0x9*(-parseInt(_0x1e0b16(0x1f7))/0xa)+-parseInt(_0x1e0b16(0x243))/0xb+parseInt(_0x1e0b16(0x1e9))/0xc;if(_0x1f6bf1===_0x22f787)break;else _0x30dc5d['push'](_0x30dc5d['shift']());}catch(_0x406779){_0x30dc5d['push'](_0x30dc5d['shift']());}}}(_0x5c46,0x2de82));import{Plugin as _0x3dedc9}from'ckeditor5/src/core.js';import{first as _0x34efb3,CKEditorError as _0x4eedef}from'ckeditor5/src/utils.js';import{createDropdown as _0x35d3f1,addMenuToDropdown as _0x39a31f,ButtonView as _0x4a7d33,MenuBarMenuListItemButtonView as _0x2ac5cf,Dialog as _0x4581eb,DialogViewPosition as _0x25ab87,MenuBarMenuView as _0x2e40ac,MenuBarMenuListView as _0xe1044e,MenuBarMenuListItemView as _0xa066cc}from'ckeditor5/src/ui.js';import{icons as _0x493577}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x73b68e,UNGROUPED_COMMANDS_GROUP_ID as _0x539290}from'./utils/normalizecommandsconfig.js';import _0x2474f1 from'./aiassistantediting.js';import _0x3eaafc from'./adapters/aiadapter.js';import{getTranslation as _0x1dc0b1}from'./utils/common-translations.js';import _0x5ad6b6 from'./ui/showaiassistantcommand.js';function _0x358c(_0x5e37d5,_0x485654){const _0x5c4605=_0x5c46();return _0x358c=function(_0x358ce7,_0x2b58e6){_0x358ce7=_0x358ce7-0x1b1;let _0x27d8f2=_0x5c4605[_0x358ce7];return _0x27d8f2;},_0x358c(_0x5e37d5,_0x485654);}import _0x55923d from'./ui/aiassistantcontroller.js';import _0x211568 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x342cc2}from'./ui/form/aiformtoolbarview.js';import _0x3faf31 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';function _0x5c46(){const _0x4a6d6c=['aiLicenseKeyEvaluationLimit','\x20ck-ai-assistant-ui_theme','schema','addMany','aiLicenseKeyUsageLimit','evaluationLimit','aiLicenseKeyTrialLimit','_createAIAssistantUIButton','_populateMenuBarMenu','push','groupLabel','9JGlNKq','document','_initAriaAiStatusChangeAnnouncements','ck-ai-assistant-ui','getData','length','menuBar:aiAssistant','locale','isFlat','updatePosition','AIAssistantUI','ai.useTheme','contentArea','ai.aiAssistant.disabledElements','render','items','domainLimit','_initView','menuBar:aiCommands','plugins','ai.aiAssistant.contentAreaCssClass','_commandDefinitions','includes','featureNotAllowed','command:','16611TcmSOQ','29678vYYyCz','</p>','delegate','get','_licenseKeyCheckInterval','pluginName','prompt','from','change:isError','replace','values','children','add','showAIAssistant','trim','buttons','media','EDITOR_TOP_SIDE','isCollapsed','AI\x20Assistant','map','config','focus','queryView','AIAssistant','label','selection','usageLimit','hideFakeVisualSelection','errorView','21897ajxian','_showLicenseError','body','change:enabledCommandsIds','init','aiLicenseKeyInvalid','enabledCommandsIds','menuView','5TEYHsG','model','aiLicenseKeyDomainLimit','order','isOfficialPlugin','currentContext','_forceMarkersCopy','158154oNWUun','_aiAdapter','change:isProcessing','groupId','getSelectedElement','splice','destroy','_dialog','AI\x20is\x20writing','wasMoved','Generated\x20content:\x20%0','AI\x20Commands','insertContent','aiCommands','componentFactory','listenTo','isPremiumPlugin','getRanges','Error\x20during\x20AI\x20content\x20generation:\x20%0','text/html','sort','_aiAssistantController','_getMenuBarGroupButtons','once','setSelection','_uiCssClasses','getLimitElement','update','showFakeVisualSelection','commands','invalid','panelView','source','expired','tableOfContents','set','aiLicenseKeyExpired','aiLicenseKeyValid','showUI','ai-commands-config-order-collision','aiLicenseKeyNotAllowed','_getResolvedCommandsDefinitions','ck-ai-commands-dropdown\x20','view','1361640jkYVkl','reset','requires','_onExecute','textAdapter','ck-ai-assistant-button\x20','isEnabled','1264vQbyIP','requiresContent','polite','_formView','execute','updateView','change:value','747480ClycRs','copy','INSERT','show','ai.aiAssistant.commands','50evJwsf','aiAssistant','REPLACE','promptView','text','buttonView','bind','33286IGkfeZ','replaceContent','define','comment','editing','forEach','custom','change','editor','108jrhJap','insertContentBelow','<p>','DataTransfer','fire','fieldView','announce','isOn','filter','getSelectedBlocks','menuitemcheckbox','hideUI','menuPanelClass','trialLimit','hide','licenseKey','rawHtml','robotPencil'];_0x5c46=function(){return _0x4a6d6c;};return _0x5c46();}import'../theme/ai-form.css';const w=globalThis[_0x32398b(0x20f)];import{ClipboardMarkersUtils as _0x1b4ee0}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x9be26a,DataTransfer as _0x2aad7a}from'ckeditor5/src/engine.js';export default class n extends _0x3dedc9{static get[_0x32398b(0x248)](){const _0x473528=_0x32398b;return _0x473528(0x233);}static get[_0x32398b(0x1ba)](){return!0x0;}static get[_0x32398b(0x1cd)](){return!0x0;}static get[_0x32398b(0x1eb)](){return[_0x1b4ee0,_0x2474f1,_0x3eaafc,_0x4581eb];}constructor(_0x405254){const _0x2ff9ab=_0x32398b;super(_0x405254),this[_0x2ff9ab(0x1d6)]='',_0x405254[_0x2ff9ab(0x258)][_0x2ff9ab(0x205)](_0x2ff9ab(0x236),[_0x2ff9ab(0x253),_0x2ff9ab(0x21c),_0x2ff9ab(0x1df)]),_0x405254[_0x2ff9ab(0x258)][_0x2ff9ab(0x205)](_0x2ff9ab(0x23d),''),_0x405254[_0x2ff9ab(0x258)][_0x2ff9ab(0x205)](_0x2ff9ab(0x234),!0x0),this[_0x2ff9ab(0x1d6)]=_0x2ff9ab(0x22c)+(_0x405254[_0x2ff9ab(0x258)][_0x2ff9ab(0x246)](_0x2ff9ab(0x234))?_0x2ff9ab(0x21f):'');}[_0x32398b(0x1b2)](){const _0x13bac1=_0x32398b,{editor:_0x568fb8}=this;this[_0x13bac1(0x1be)]=_0x568fb8[_0x13bac1(0x23c)][_0x13bac1(0x246)](_0x3eaafc),this[_0x13bac1(0x1c4)]=_0x568fb8[_0x13bac1(0x23c)][_0x13bac1(0x246)](_0x4581eb),this[_0x13bac1(0x1f3)]=null,this[_0x13bac1(0x23e)]=this[_0x13bac1(0x1e6)]();const _0x113b95=new _0x5ad6b6(_0x568fb8,Array[_0x13bac1(0x24a)](this[_0x13bac1(0x23e)][_0x13bac1(0x24d)]()));_0x568fb8[_0x13bac1(0x1da)][_0x13bac1(0x24f)](_0x13bac1(0x250),_0x113b95),_0x568fb8['ui'][_0x13bac1(0x1cb)][_0x13bac1(0x24f)](_0x13bac1(0x1ca),_0x1d621f=>{const _0x275752=_0x13bac1,_0x41adcf=_0x35d3f1(_0x1d621f);return _0x41adcf[_0x275752(0x1e0)]({'class':_0x275752(0x1e7)+this[_0x275752(0x1d6)]}),_0x41adcf[_0x275752(0x201)][_0x275752(0x1e0)]({'label':_0x1dc0b1(_0x1d621f,_0x275752(0x1c8)),'icon':_0x3faf31,'tooltip':!0x0}),_0x41adcf['on'](_0x275752(0x1f4),_0x2628bf=>this[_0x275752(0x1ec)](_0x2628bf[_0x275752(0x1dd)]['id'])),_0x39a31f(_0x41adcf,_0x568fb8['ui'][_0x275752(0x1e8)][_0x275752(0x263)],function(_0x44f695){const _0x4d0b81=_0x275752,_0x500949=_0x73b68e(_0x44f695[_0x4d0b81(0x258)][_0x4d0b81(0x246)](_0x4d0b81(0x1fb)),_0x44f695[_0x4d0b81(0x230)]),_0x2f0da5=U(_0x44f695,_0x500949)[_0x4d0b81(0x214)](_0x39b708=>_0x39b708[_0x4d0b81(0x1da)][_0x4d0b81(0x22e)]);if(0x1===_0x2f0da5[_0x4d0b81(0x22e)])return U(_0x44f695,_0x2f0da5[0x0][_0x4d0b81(0x1da)])[_0x4d0b81(0x257)](_0x11dae3=>({'id':_0x11dae3['id'],'label':_0x11dae3[_0x4d0b81(0x25c)]}));return _0x2f0da5[_0x4d0b81(0x257)](_0x877aad=>{const _0x490ff4=_0x4d0b81,{groupId:_0xcfb84a,groupLabel:_0x4186c6,commands:_0x447626}=_0x877aad,_0x5cca67=U(_0x44f695,_0x447626)[_0x490ff4(0x257)](_0x18fea6=>({'id':_0x18fea6['id'],'label':_0x18fea6[_0x490ff4(0x25c)]}));return{'id':_0xcfb84a,'menu':_0x4186c6||_0xcfb84a,'children':_0x5cca67};});}(_0x568fb8),{'ariaLabel':_0x1dc0b1(_0x1d621f,_0x275752(0x1c8))}),_0x41adcf[_0x275752(0x1b5)][_0x275752(0x218)]=_0x275752(0x1e7)+this[_0x275752(0x1d6)],_0x113b95['on'](_0x275752(0x1b1),_0x13cc28),_0x41adcf[_0x275752(0x1b5)][_0x275752(0x1d4)](_0x275752(0x237),_0x13cc28),_0x41adcf;function _0x13cc28(){const _0x570c5e=_0x275752;_0x41adcf[_0x570c5e(0x1ef)]=_0x113b95[_0x570c5e(0x1b4)][_0x570c5e(0x22e)]>0x0;for(const _0xf0fa4 of _0x41adcf[_0x570c5e(0x1b5)][_0x570c5e(0x252)])_0xf0fa4[_0x570c5e(0x1ef)]=_0x113b95[_0x570c5e(0x1b4)][_0x570c5e(0x23f)](_0xf0fa4['id']);}}),_0x568fb8['ui'][_0x13bac1(0x1cb)][_0x13bac1(0x24f)](_0x13bac1(0x23b),_0x1b5570=>{const _0x206a2b=_0x13bac1,_0x77bff6=new _0x2e40ac(_0x1b5570);_0x77bff6[_0x206a2b(0x201)][_0x206a2b(0x1e0)]({'label':_0x1dc0b1(_0x1b5570,_0x206a2b(0x1c8)),'icon':_0x3faf31}),_0x77bff6[_0x206a2b(0x202)](_0x206a2b(0x1ef))['to'](_0x113b95,_0x206a2b(0x1b4),_0x43619a=>_0x43619a[_0x206a2b(0x22e)]>0x0);const _0x104486=_0x73b68e(_0x568fb8[_0x206a2b(0x258)][_0x206a2b(0x246)](_0x206a2b(0x1fb)),_0x1b5570);return this[_0x206a2b(0x226)](_0x113b95,_0x77bff6,_0x104486,_0x50aac9=>this[_0x206a2b(0x1ec)](_0x50aac9)),_0x77bff6;}),_0x568fb8['ui'][_0x13bac1(0x1cb)][_0x13bac1(0x24f)](_0x13bac1(0x1fd),()=>{const _0x21bb0a=_0x13bac1,_0xf67b9d=this[_0x21bb0a(0x225)](_0x4a7d33);return _0xf67b9d[_0x21bb0a(0x1e0)]({'tooltip':!0x0,'class':_0x21bb0a(0x1ee)+this[_0x21bb0a(0x1d6)]}),_0xf67b9d;}),_0x568fb8['ui'][_0x13bac1(0x1cb)][_0x13bac1(0x24f)](_0x13bac1(0x22f),()=>{const _0xa017d2=_0x13bac1,_0x4b8c4a=this[_0xa017d2(0x225)](_0x2ac5cf);return _0x4b8c4a[_0xa017d2(0x1e0)]({'role':_0xa017d2(0x216)}),_0x4b8c4a;}),this[_0x13bac1(0x21b)]=this[_0x13bac1(0x20b)][_0x13bac1(0x258)][_0x13bac1(0x246)](_0x13bac1(0x21b));const _0x58a9bd=this[_0x13bac1(0x20b)];this[_0x13bac1(0x247)]=setInterval(()=>{const _0x457d51=_0x13bac1;let _0x1b3cf6;for(const _0x3a2713 in _0x58a9bd){const _0x2210b8=_0x3a2713,_0x45bbc6=_0x58a9bd[_0x2210b8];if(_0x457d51(0x1e2)==_0x45bbc6||_0x457d51(0x1b3)==_0x45bbc6||_0x457d51(0x1e1)==_0x45bbc6||_0x457d51(0x1b8)==_0x45bbc6||_0x457d51(0x1e5)==_0x45bbc6||_0x457d51(0x21e)==_0x45bbc6||_0x457d51(0x224)==_0x45bbc6||_0x457d51(0x222)==_0x45bbc6){delete _0x58a9bd[_0x2210b8],_0x1b3cf6=_0x45bbc6,clearInterval(this[_0x457d51(0x247)]),this[_0x457d51(0x247)]=void 0x0;break;}}_0x457d51(0x1b3)==_0x1b3cf6&&_0x58a9bd[_0x457d51(0x262)](_0x457d51(0x1db)),_0x457d51(0x1e1)==_0x1b3cf6&&_0x58a9bd[_0x457d51(0x262)](_0x457d51(0x1de)),_0x457d51(0x1b8)==_0x1b3cf6&&_0x58a9bd[_0x457d51(0x262)](_0x457d51(0x239)),_0x457d51(0x1e5)==_0x1b3cf6&&_0x58a9bd[_0x457d51(0x262)](_0x457d51(0x240),_0x457d51(0x25b)),_0x457d51(0x21e)==_0x1b3cf6&&_0x58a9bd[_0x457d51(0x262)](_0x457d51(0x223)),_0x457d51(0x224)==_0x1b3cf6&&_0x58a9bd[_0x457d51(0x262)](_0x457d51(0x219)),_0x457d51(0x222)==_0x1b3cf6&&_0x58a9bd[_0x457d51(0x262)](_0x457d51(0x25e));},0x3e8);}[_0x32398b(0x1c3)](){const _0x17876b=_0x32398b;super[_0x17876b(0x1c3)](),this[_0x17876b(0x247)]&&clearInterval(this[_0x17876b(0x247)]);}[_0x32398b(0x1e3)](_0x1edcd2='',_0x306ee6='',_0x429312=_0x32398b(0x209)){const _0x190eaa=_0x32398b,_0x276c81=this[_0x190eaa(0x20b)],_0x6d1227=_0x276c81[_0x190eaa(0x207)][_0x190eaa(0x1e8)],_0x310b76=_0x276c81[_0x190eaa(0x23c)][_0x190eaa(0x246)](_0x2474f1),_0x37dfef=_0x276c81[_0x190eaa(0x23c)][_0x190eaa(0x246)](_0x1b4ee0);_0x310b76[_0x190eaa(0x1d9)]();const _0x1b4f84=new w(),_0x102f25=new ClipboardEvent(_0x190eaa(0x1f8),{'clipboardData':_0x1b4f84}),_0x2a6a43=new _0x2aad7a(_0x1b4f84),_0x5e8842=new _0x9be26a(_0x6d1227,_0x102f25,{'dataTransfer':_0x2a6a43});_0x37dfef[_0x190eaa(0x1bc)](_0x190eaa(0x206),()=>{const _0x28d2df=_0x190eaa;_0x6d1227[_0x28d2df(0x22a)][_0x28d2df(0x210)](_0x28d2df(0x1f8),_0x5e8842);}),this[_0x190eaa(0x1f3)]||(this[_0x190eaa(0x23a)](),this[_0x190eaa(0x1d2)]=new _0x55923d(_0x276c81,this[_0x190eaa(0x1be)][_0x190eaa(0x1ed)],this[_0x190eaa(0x1f3)]));let _0x3aa7dc=_0x2a6a43[_0x190eaa(0x22d)](_0x190eaa(0x1d0));const _0x391e73=_0x276c81[_0x190eaa(0x1b7)][_0x190eaa(0x22a)][_0x190eaa(0x25d)],_0x2b9440=Array[_0x190eaa(0x24a)](_0x391e73[_0x190eaa(0x1ce)]());0x1===_0x2b9440[_0x190eaa(0x22e)]&&_0x2b9440[0x0][_0x190eaa(0x231)]&&!_0x391e73[_0x190eaa(0x1c1)]()&&''!==_0x3aa7dc[_0x190eaa(0x24c)](/ /g,'')[_0x190eaa(0x251)]()&&(_0x3aa7dc=_0x190eaa(0x20e)+_0x3aa7dc+_0x190eaa(0x244)),this[_0x190eaa(0x1d2)][_0x190eaa(0x1f5)]({'actionId':_0x429312,'query':_0x1edcd2,'htmlContent':_0x3aa7dc,'label':_0x306ee6,'mainActionLabel':_0x342cc2[_0x276c81[_0x190eaa(0x1b7)][_0x190eaa(0x22a)][_0x190eaa(0x25d)][_0x190eaa(0x255)]?_0x190eaa(0x1f9):_0x190eaa(0x1fe)]}),_0x190eaa(0x1fd)!==this[_0x190eaa(0x1c4)]['id']?this[_0x190eaa(0x1c4)][_0x190eaa(0x1fa)]({'id':_0x190eaa(0x1fd),'icon':_0x493577[_0x190eaa(0x21d)],'title':_0x1dc0b1(this[_0x190eaa(0x20b)][_0x190eaa(0x230)],_0x190eaa(0x256)),'content':this[_0x190eaa(0x1f3)],'position':_0x25ab87[_0x190eaa(0x254)],'onShow':()=>{const _0x1bebe1=_0x190eaa;this[_0x1bebe1(0x1f3)][_0x1bebe1(0x259)]();},'onHide':()=>{const _0xa6b79b=_0x190eaa;this[_0xa6b79b(0x1d2)][_0xa6b79b(0x1ea)](),_0x310b76[_0xa6b79b(0x25f)]();}}):this[_0x190eaa(0x1c4)][_0x190eaa(0x1e8)][_0x190eaa(0x1c6)]||this[_0x190eaa(0x1c4)][_0x190eaa(0x1e8)][_0x190eaa(0x232)]();}[_0x32398b(0x217)](){const _0x12ed38=_0x32398b;this[_0x12ed38(0x1c4)][_0x12ed38(0x21a)]();}[_0x32398b(0x1e6)](){const _0x57b10b=_0x32398b,_0x3d4304=new Map(),_0x1de584=_0x73b68e(this[_0x57b10b(0x20b)][_0x57b10b(0x258)][_0x57b10b(0x246)](_0x57b10b(0x1fb)),this[_0x57b10b(0x20b)][_0x57b10b(0x230)]);for(const _0x3208bc of _0x1de584)for(const _0x211ee0 of _0x3208bc[_0x57b10b(0x1da)])_0x3d4304[_0x57b10b(0x1e0)](_0x211ee0['id'],{..._0x211ee0,'groupId':_0x3208bc[_0x57b10b(0x1c0)],'groupLabel':_0x3208bc[_0x57b10b(0x228)]||_0x3208bc[_0x57b10b(0x1c0)]});return _0x3d4304;}[_0x32398b(0x225)](_0x47acaf){const _0x2a4194=_0x32398b,_0x327334=this[_0x2a4194(0x20b)],_0x3fab93=_0x327334[_0x2a4194(0x1da)][_0x2a4194(0x246)](_0x2a4194(0x250)),_0x2490ee=new _0x47acaf(_0x327334[_0x2a4194(0x230)]);return _0x2490ee[_0x2a4194(0x1e0)]({'label':_0x1dc0b1(_0x327334[_0x2a4194(0x230)],_0x2a4194(0x256)),'icon':_0x493577[_0x2a4194(0x21d)],'isToggleable':!0x0}),_0x2490ee[_0x2a4194(0x202)](_0x2a4194(0x1ef))['to'](_0x3fab93),_0x2490ee[_0x2a4194(0x202)](_0x2a4194(0x213))['to'](this[_0x2a4194(0x1c4)],'id',_0x59ea86=>_0x2a4194(0x1fd)===_0x59ea86),this[_0x2a4194(0x1cc)](_0x2490ee,_0x2a4194(0x1f4),()=>{const _0x5d3d63=_0x2a4194;_0x2490ee[_0x5d3d63(0x213)]?this[_0x5d3d63(0x217)]():_0x3fab93[_0x5d3d63(0x1f4)]();}),_0x2490ee;}[_0x32398b(0x23a)](){const _0x4fba36=_0x32398b,_0x23f7c0=this[_0x4fba36(0x20b)][_0x4fba36(0x23c)][_0x4fba36(0x246)](_0x2474f1);this[_0x4fba36(0x1f3)]=new _0x211568(this[_0x4fba36(0x20b)][_0x4fba36(0x230)],this[_0x4fba36(0x1d6)],this[_0x4fba36(0x20b)][_0x4fba36(0x258)][_0x4fba36(0x246)](_0x4fba36(0x23d))),this[_0x4fba36(0x1f3)]['on'](_0x4fba36(0x1f6),()=>{const _0x3db7b9=_0x4fba36;this[_0x3db7b9(0x1c4)][_0x3db7b9(0x1e8)][_0x3db7b9(0x1c6)]||this[_0x3db7b9(0x1c4)][_0x3db7b9(0x1e8)][_0x3db7b9(0x232)]();}),this[_0x4fba36(0x1f3)][_0x4fba36(0x1ff)][_0x4fba36(0x25a)][_0x4fba36(0x211)]['on'](_0x4fba36(0x1d8),()=>{const _0x3f2c4a=_0x4fba36;this[_0x3f2c4a(0x1c4)][_0x3f2c4a(0x1e8)][_0x3f2c4a(0x1c6)]||this[_0x3f2c4a(0x1c4)][_0x3f2c4a(0x1e8)][_0x3f2c4a(0x232)]();}),this[_0x4fba36(0x1cc)](this[_0x4fba36(0x1f3)],_0x4fba36(0x204),()=>{const _0x280b97=_0x4fba36;_0x23f7c0[_0x280b97(0x1c9)](this[_0x280b97(0x1d2)][_0x280b97(0x1bb)]),this[_0x280b97(0x217)]();}),this[_0x4fba36(0x1cc)](this[_0x4fba36(0x1f3)],_0x4fba36(0x20d),()=>{const _0x248029=_0x4fba36;_0x23f7c0[_0x248029(0x20d)](this[_0x248029(0x1d2)][_0x248029(0x1bb)]),this[_0x248029(0x217)]();}),this[_0x4fba36(0x22b)]();}[_0x32398b(0x22b)](){const _0x5377cb=_0x32398b,{locale:_0x9b044e,ui:{ariaLiveAnnouncer:_0x422436}}=this[_0x5377cb(0x20b)];this[_0x5377cb(0x1f3)][_0x5377cb(0x235)]['on'](_0x5377cb(0x1bf),(_0x911c85,_0x566942,_0x81390d)=>{const _0x111b8d=_0x5377cb,_0x8baa2e=this[_0x111b8d(0x1d2)][_0x111b8d(0x1bb)];_0x81390d?_0x422436[_0x111b8d(0x212)](_0x1dc0b1(_0x9b044e,_0x111b8d(0x1c5))):_0x8baa2e&&_0x422436[_0x111b8d(0x212)](_0x1dc0b1(_0x9b044e,_0x111b8d(0x1c7),_0x8baa2e),{'politeness':_0x111b8d(0x1f2),'isUnsafeHTML':!0x0});}),this[_0x5377cb(0x1f3)]['on'](_0x5377cb(0x24b),(_0x510be6,_0x4e1b15,_0x374b5c)=>{const _0x10e0e9=_0x5377cb;if(_0x374b5c){const _0x80b6ed=this[_0x10e0e9(0x1f3)][_0x10e0e9(0x260)][_0x10e0e9(0x200)];_0x422436[_0x10e0e9(0x212)](_0x1dc0b1(_0x9b044e,_0x10e0e9(0x1cf),_0x80b6ed));}});}[_0x32398b(0x1ec)](_0x2ba5e1){const _0x557fe5=_0x32398b,_0x5b83fb=this[_0x557fe5(0x23e)][_0x557fe5(0x246)](_0x2ba5e1),_0x2dbc1c=this[_0x557fe5(0x20b)],_0x28087f=_0x2dbc1c[_0x557fe5(0x1b7)][_0x557fe5(0x22a)][_0x557fe5(0x25d)],_0xc9d810=_0x2dbc1c[_0x557fe5(0x1da)][_0x557fe5(0x246)](_0x557fe5(0x250)),_0x212f55=_0x2dbc1c[_0x557fe5(0x23c)][_0x557fe5(0x246)](_0x2474f1),_0x1b73ad=''+(_0x5b83fb[_0x557fe5(0x1c0)]!==_0x539290?_0x5b83fb[_0x557fe5(0x228)]+':\x20':'')+_0x5b83fb[_0x557fe5(0x25c)];if(!0x1!==_0x5b83fb[_0x557fe5(0x1f1)]&&_0x28087f[_0x557fe5(0x255)]){const _0x44e133=_0x34efb3(_0x28087f[_0x557fe5(0x215)]())||_0x2dbc1c[_0x557fe5(0x1b7)][_0x557fe5(0x220)][_0x557fe5(0x1d7)](_0x28087f);_0x2dbc1c[_0x557fe5(0x1b7)][_0x557fe5(0x20a)](_0x1a0c9c=>{const _0x49443b=_0x557fe5;_0x1a0c9c[_0x49443b(0x1d5)](_0x44e133,'in');});}_0x212f55[_0x557fe5(0x1d9)](),_0xc9d810[_0x557fe5(0x1f4)](_0x5b83fb[_0x557fe5(0x249)],_0x1b73ad,_0x557fe5(0x241)+_0x2ba5e1);}[_0x32398b(0x226)](_0x127f51,_0x137a77,_0xf922c8,_0x3f0d65){const _0x2ad677=_0x32398b,_0x19d6ce=this[_0x2ad677(0x20b)],_0x3cb30b=_0x19d6ce[_0x2ad677(0x230)],_0x2325d8=new _0xe1044e(_0x3cb30b),_0x488c25=U(_0x19d6ce,_0xf922c8)[_0x2ad677(0x214)](_0x410adf=>_0x410adf[_0x2ad677(0x1da)][_0x2ad677(0x22e)]);0x1===_0x488c25[_0x2ad677(0x22e)]?this[_0x2ad677(0x1d3)]({'command':_0x127f51,'commands':_0x488c25[0x0][_0x2ad677(0x1da)],'parentMenuView':_0x137a77,'onExecute':_0x3f0d65})[_0x2ad677(0x208)](_0x55c2ff=>_0x2325d8[_0x2ad677(0x238)][_0x2ad677(0x24f)](_0x55c2ff)):_0x488c25[_0x2ad677(0x208)](({groupId:_0x6f391b,groupLabel:_0x2fb648,commands:_0x45f8b4})=>{const _0x39fdab=_0x2ad677,_0x1540fd=new _0xa066cc(_0x3cb30b,_0x137a77),_0x2b73f0=new _0x2e40ac(_0x3cb30b),_0x481c08=new _0xe1044e(_0x3cb30b),_0x3d2610=this[_0x39fdab(0x1d3)]({'command':_0x127f51,'commands':_0x45f8b4,'parentMenuView':_0x2b73f0,'onExecute':_0x3f0d65});_0x2b73f0[_0x39fdab(0x201)][_0x39fdab(0x1e0)]({'label':_0x2fb648||_0x6f391b}),_0x2b73f0[_0x39fdab(0x245)](_0x39fdab(0x1f4))['to'](_0x137a77),_0x481c08[_0x39fdab(0x238)][_0x39fdab(0x221)](_0x3d2610),_0x2b73f0[_0x39fdab(0x1dc)][_0x39fdab(0x24e)][_0x39fdab(0x24f)](_0x481c08),_0x1540fd[_0x39fdab(0x24e)][_0x39fdab(0x24f)](_0x2b73f0),_0x2325d8[_0x39fdab(0x238)][_0x39fdab(0x24f)](_0x1540fd);}),_0x137a77[_0x2ad677(0x1dc)][_0x2ad677(0x24e)][_0x2ad677(0x24f)](_0x2325d8);}[_0x32398b(0x1d3)]({command:_0x2915bd,commands:_0x252225,parentMenuView:_0x40c737,onExecute:_0x4d1e13}){const _0x1461c1=_0x32398b,_0x500311=this[_0x1461c1(0x20b)],_0x579437=_0x500311[_0x1461c1(0x230)];return U(_0x500311,_0x252225)[_0x1461c1(0x257)](_0x35cf74=>{const _0x11faaf=_0x1461c1,_0x912bd=new _0xa066cc(_0x579437,_0x40c737),_0x142bce=new _0x2ac5cf(_0x579437);return _0x142bce[_0x11faaf(0x1e0)]({'label':_0x35cf74[_0x11faaf(0x25c)]}),_0x142bce[_0x11faaf(0x245)](_0x11faaf(0x1f4))['to'](_0x40c737),_0x142bce['on'](_0x11faaf(0x1f4),()=>_0x4d1e13(_0x35cf74['id'])),_0x142bce[_0x11faaf(0x202)](_0x11faaf(0x1ef))['to'](_0x2915bd,_0x11faaf(0x1b4),_0xf449ac=>_0xf449ac[_0x11faaf(0x23f)](_0x35cf74['id'])),_0x912bd[_0x11faaf(0x24e)][_0x11faaf(0x24f)](_0x142bce),_0x912bd;});}}function B(_0xc73f39,_0x4e969c){const _0x18c086=_0x32398b;return void 0x0!==_0xc73f39[_0x18c086(0x1b9)]&&void 0x0===_0x4e969c[_0x18c086(0x1b9)]?0x1:void 0x0===_0xc73f39[_0x18c086(0x1b9)]&&void 0x0!==_0x4e969c[_0x18c086(0x1b9)]?-0x1:void 0x0!==_0xc73f39[_0x18c086(0x1b9)]&&void 0x0!==_0x4e969c[_0x18c086(0x1b9)]?_0xc73f39[_0x18c086(0x1b9)]-_0x4e969c[_0x18c086(0x1b9)]:0x0;}function U(_0x157bb2,_0x14c738){const _0x265512=_0x32398b;_0x14c738[_0x265512(0x1d1)](B);const _0x4e0e5f={},_0xf95b91=[];for(const _0x11b65a of _0x14c738)if(void 0x0!==_0x11b65a[_0x265512(0x1b9)]){if(_0x11b65a[_0x265512(0x1b9)]in _0x4e0e5f)throw new _0x4eedef(_0x265512(0x1e4),_0x157bb2,{'conflictingDefinitions':[_0x11b65a,_0x4e0e5f[_0x11b65a[_0x265512(0x1b9)]]]});_0x4e0e5f[_0x11b65a[_0x265512(0x1b9)]]=_0x11b65a,_0xf95b91[_0x265512(0x1c2)](_0x11b65a[_0x265512(0x1b9)],0x0,_0x11b65a);}else _0xf95b91[_0x265512(0x227)](_0x11b65a);return _0xf95b91;}
|
package/src/aiconfig.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
/**
|
package/src/aiconfig.js
CHANGED
package/src/augmentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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 AIAssistant from './aiassistant.js';
|
package/src/augmentation.js
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
/**
|
|
6
6
|
* @module ai
|
|
7
7
|
*/
|
|
8
|
-
export { default as AIAssistant } from './aiassistant.js';
|
|
8
|
+
export { default as AIAssistant, type AIAssistantConfig, type GroupDefinition, type CommandDefinition } from './aiassistant.js';
|
|
9
|
+
export { default as AIAssistantUI } from './aiassistantui.js';
|
|
9
10
|
export { default as AIAdapter, AIRequestError } from './adapters/aiadapter.js';
|
|
10
11
|
export { default as AITextAdapter, type AITextAdapterRequestData, type RequestHeaders, type RequestParameters, type AITextAdapterDataCallback } from './adapters/aitextadapter.js';
|
|
11
12
|
export { default as OpenAITextAdapter, type OpenAITextAdapterConfig } from './adapters/openaitextadapter.js';
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, 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(_0x2484c2,_0x4ed22f){var _0x3f8e01=_0x5199,_0x2d889e=_0x2484c2();while(!![]){try{var _0x23257f=parseInt(_0x3f8e01(0xa7))/0x1*(parseInt(_0x3f8e01(0xa2))/0x2)+-parseInt(_0x3f8e01(0xaa))/0x3*(-parseInt(_0x3f8e01(0xa4))/0x4)+parseInt(_0x3f8e01(0xa9))/0x5*(parseInt(_0x3f8e01(0xa6))/0x6)+-parseInt(_0x3f8e01(0xa5))/0x7+parseInt(_0x3f8e01(0xa3))/0x8+parseInt(_0x3f8e01(0xa1))/0x9*(parseInt(_0x3f8e01(0xa8))/0xa)+-parseInt(_0x3f8e01(0xa0))/0xb;if(_0x23257f===_0x4ed22f)break;else _0x2d889e['push'](_0x2d889e['shift']());}catch(_0x1d38e0){_0x2d889e['push'](_0x2d889e['shift']());}}}(_0x227d,0x63e3a));export{default as AIAssistant}from'./aiassistant.js';function _0x227d(){var _0x388fae=['9665KzKygp','7880IRapWm','35890UOLjYW','27681MwTzLP','4767147RbpVxM','711sZWNdk','46MsJAIM','2288840IuDolt','200wmKvNw','2180535cOodgS','102PWSSFi'];_0x227d=function(){return _0x388fae;};return _0x227d();}export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x5199(_0x3eef28,_0x2ddb3e){var _0x227d4d=_0x227d();return _0x5199=function(_0x51999e,_0x13c2bb){_0x51999e=_0x51999e-0xa0;var _0x5056f4=_0x227d4d[_0x51999e];return _0x5056f4;},_0x5199(_0x3eef28,_0x2ddb3e);}import'./augmentation.js';
|
package/src/legacyerrors.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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 {};
|
package/src/legacyerrors.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, 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 _0xf35f(){var _0x4af4a0=['144jHkSiv','2016060bnxqLu','5040280GbinUa','24rgcMvC','49024ZfGGfP','1192122DREcKc','786516iztRLG','1ZRFRdt','1243498vodDFo','14NvdfEA','31097000Cbgvbe'];_0xf35f=function(){return _0x4af4a0;};return _0xf35f();}(function(_0x4b1e33,_0x2cbee8){var _0x4cdd1a=_0x22d1,_0x210cea=_0x4b1e33();while(!![]){try{var _0x56e227=parseInt(_0x4cdd1a(0xe8))/0x1*(parseInt(_0x4cdd1a(0xe9))/0x2)+-parseInt(_0x4cdd1a(0xe7))/0x3*(-parseInt(_0x4cdd1a(0xef))/0x4)+parseInt(_0x4cdd1a(0xee))/0x5+-parseInt(_0x4cdd1a(0xe6))/0x6*(-parseInt(_0x4cdd1a(0xea))/0x7)+-parseInt(_0x4cdd1a(0xe5))/0x8*(parseInt(_0x4cdd1a(0xec))/0x9)+parseInt(_0x4cdd1a(0xed))/0xa+-parseInt(_0x4cdd1a(0xeb))/0xb;if(_0x56e227===_0x2cbee8)break;else _0x210cea['push'](_0x210cea['shift']());}catch(_0x102ddc){_0x210cea['push'](_0x210cea['shift']());}}}(_0xf35f,0xd60e1));function _0x22d1(_0xe14f20,_0x243729){var _0xf35f3f=_0xf35f();return _0x22d1=function(_0x22d1aa,_0xf29106){_0x22d1aa=_0x22d1aa-0xe5;var _0x1a9924=_0xf35f3f[_0x22d1aa];return _0x1a9924;},_0x22d1(_0xe14f20,_0x243729);}import{CKEditorError as _0x2914bb}from'ckeditor5/src/utils.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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-2025, 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
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2173a8=_0x3818;(function(_0x409261,_0x4238af){const _0x143c2d=_0x3818,_0x3fccaf=_0x409261();while(!![]){try{const _0x435a72=parseInt(_0x143c2d(0x1ee))/0x1*(parseInt(_0x143c2d(0x22f))/0x2)+parseInt(_0x143c2d(0x204))/0x3*(parseInt(_0x143c2d(0x1ef))/0x4)+-parseInt(_0x143c2d(0x227))/0x5*(-parseInt(_0x143c2d(0x213))/0x6)+parseInt(_0x143c2d(0x1d2))/0x7*(parseInt(_0x143c2d(0x1df))/0x8)+-parseInt(_0x143c2d(0x1ea))/0x9+-parseInt(_0x143c2d(0x1e2))/0xa+parseInt(_0x143c2d(0x1ed))/0xb;if(_0x435a72===_0x4238af)break;else _0x3fccaf['push'](_0x3fccaf['shift']());}catch(_0xf5f313){_0x3fccaf['push'](_0x3fccaf['shift']());}}}(_0xc2ed,0xa66c5));import{ObservableMixin as _0x377ffc}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4df630}from'../adapters/aiadapter.js';import{Matcher as _0x36a3f3,UpcastWriter as _0x36a7d4}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0xc2ed(){const _0x29e61b=['3ClYuXD','startProcessing','remove','push','endsWith','name','data','abort','processor','markers','_parseAndNormalizeContent','querySelector','substring','innerHTML','_domParser','869634cPOTaG','once','_handleQuery','custom','childNodes','reverse','stopListening','previousContext','then','parseFromString','view','makeRequest','destroy','match','_sanitizationContainer','div','_xmlSerializer','isRendered','stopProcessing','<h1></h1>','5PMRVbs','editing','body','editor','message','_stripMarkdownSyntax','value','textAdapter','2aFUbtM','clear','updateView','_sanitizeHTML','element','toView','prompt','previousQuery','7OCXYVp','domConverter','currentResponse','finally','viewToDom','ai.aiAssistant.preserveComments','set:currentContext','trim','config','currentContext','setContentOf','serializeToString','_isH1TagSupportEnabled','6473312RpTEXe','set','ELEMENT_NODE','12758260FrCBHF','```html','initialContext','nodeType','previousLabel','handleError','listenTo','htmlProcessor','8185554LQAubl','tryAgainEvent','```','8102424vVepfG','782213WZRqiT','1576404azZwXV','reset','createElement','rename','document','toModel','get','isProcessing','finishProcessing','previousActionId','stringify','submitPrompt','catch','mainAction','text/html','exec','render','_normalizeResponseHeadings','from','length','startsWith'];_0xc2ed=function(){return _0x29e61b;};return _0xc2ed();}function _0x3818(_0x23cd10,_0x384138){const _0xc2edba=_0xc2ed();return _0x3818=function(_0x38183b,_0x6cfde){_0x38183b=_0x38183b-0x1cb;let _0x53a85c=_0xc2edba[_0x38183b];return _0x53a85c;},_0x3818(_0x23cd10,_0x384138);}export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x377ffc(){constructor(_0x134f43,_0x2fdde2,_0x349727){const _0x41cbc4=_0x3818;super(),this[_0x41cbc4(0x22a)]=_0x134f43,this[_0x41cbc4(0x22e)]=_0x2fdde2,this[_0x41cbc4(0x221)]=document[_0x41cbc4(0x1f1)](_0x41cbc4(0x222)),this[_0x41cbc4(0x212)]=new DOMParser(),this[_0x41cbc4(0x223)]=new XMLSerializer(),this[_0x41cbc4(0x21d)]=_0x349727,this[_0x41cbc4(0x1e0)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x41cbc4(0x1d8),(_0x24f205,_0x49772d,_0x2c4a96)=>{const _0x2ced73=_0x41cbc4;this[_0x2ced73(0x21d)][_0x2ced73(0x22d)]=this[_0x2ced73(0x1cd)](_0x2c4a96);}),this[_0x41cbc4(0x1e8)](this[_0x41cbc4(0x21d)],_0x41cbc4(0x1fa),(_0xf8021f,_0x4bf893)=>{const _0x8c0173=_0x41cbc4,_0x42daac=this[_0x8c0173(0x1db)]||this[_0x8c0173(0x1e4)];this[_0x8c0173(0x215)](_0x4bf893,_0x42daac,_0x8c0173(0x216));}),this[_0x41cbc4(0x1e8)](this[_0x41cbc4(0x21d)],_0x41cbc4(0x1eb),()=>{const _0x2a2fc1=_0x41cbc4;this[_0x2a2fc1(0x21d)][_0x2a2fc1(0x1d0)]=this[_0x2a2fc1(0x1e6)],this[_0x2a2fc1(0x215)](this[_0x2a2fc1(0x1d1)],this[_0x2a2fc1(0x21a)],this[_0x2a2fc1(0x1f8)],this[_0x2a2fc1(0x1e6)]);}),this[_0x41cbc4(0x1e8)](this[_0x41cbc4(0x21d)],_0x41cbc4(0x225),()=>{const _0x371ef3=_0x41cbc4;this[_0x371ef3(0x225)]();});}[_0x2173a8(0x21f)](){const _0x554351=_0x2173a8;this[_0x554351(0x219)]();}async[_0x2173a8(0x1cc)]({actionId:_0x3a6d2a,query:_0x3a8ffd,htmlContent:_0x3262f7,label:_0x87ad05,mainActionLabel:_0x19ed35}){const _0x58022a=_0x2173a8;this[_0x58022a(0x21d)][_0x58022a(0x1d0)]=_0x87ad05,this[_0x58022a(0x21d)][_0x58022a(0x1fc)]=_0x19ed35,this[_0x58022a(0x1e4)]=_0x3262f7,_0x3a8ffd&&(this[_0x58022a(0x21d)][_0x58022a(0x224)]?this[_0x58022a(0x215)](_0x3a8ffd,_0x3262f7,_0x3a6d2a,_0x87ad05):this[_0x58022a(0x21d)][_0x58022a(0x214)](_0x58022a(0x1ff),()=>{const _0xafbc54=_0x58022a;this[_0xafbc54(0x215)](_0x3a8ffd,_0x3262f7,_0x3a6d2a,_0x87ad05);}));}[_0x2173a8(0x225)](){const _0x56f203=_0x2173a8;this[_0x56f203(0x1f6)]&&(this[_0x56f203(0x1f6)]=!0x1,this[_0x56f203(0x21d)][_0x56f203(0x1f7)](),this[_0x56f203(0x22e)][_0x56f203(0x20b)]());}[_0x2173a8(0x1f0)](){const _0x54197b=_0x2173a8;this[_0x54197b(0x1e4)]='',this[_0x54197b(0x1db)]='',this[_0x54197b(0x1d4)]='',this[_0x54197b(0x21a)]='',this[_0x54197b(0x1d1)]='',this[_0x54197b(0x1e6)]='',this[_0x54197b(0x1f8)]=void 0x0,this[_0x54197b(0x21d)][_0x54197b(0x1f0)](),this[_0x54197b(0x225)]();}async[_0x2173a8(0x215)](_0x2d215f,_0x5b7d6f,_0x2b96c3,_0xaf380a){const _0x39e8ed=_0x2173a8;return this[_0x39e8ed(0x1f6)]=!0x0,this[_0x39e8ed(0x21d)][_0x39e8ed(0x205)](),this[_0x39e8ed(0x21a)]=_0x5b7d6f,this[_0x39e8ed(0x1d1)]=_0x2d215f,this[_0x39e8ed(0x1e6)]=_0xaf380a||_0x2d215f,this[_0x39e8ed(0x1f8)]=_0x2b96c3,new Promise(_0x5d415c=>{const _0x2516eb=_0x39e8ed;this[_0x2516eb(0x22e)][_0x2516eb(0x21e)]({'query':_0x2d215f,'context':_0x5b7d6f,'onData':_0x1ae93f=>{const _0x25759f=_0x2516eb;this[_0x25759f(0x1d4)]=_0x1ae93f,this[_0x25759f(0x1db)]=this[_0x25759f(0x20e)](this[_0x25759f(0x1d4)]);},'actionId':_0x2b96c3})[_0x2516eb(0x21b)](()=>{const _0x443689=_0x2516eb;!this[_0x443689(0x1db)]&&this[_0x443689(0x1d4)]&&(this[_0x443689(0x1db)]=this[_0x443689(0x20e)](this[_0x443689(0x1d4)],!0x0));})[_0x2516eb(0x1fb)](_0x400d78=>{const _0x4e7521=_0x2516eb;_0x400d78 instanceof _0x4df630?this[_0x4e7521(0x21d)][_0x4e7521(0x1e7)](_0x400d78[_0x4e7521(0x22b)]):this[_0x4e7521(0x21d)][_0x4e7521(0x1e7)](),_0x5d415c();})[_0x2516eb(0x1d5)](()=>{const _0x4ab3d4=_0x2516eb;this[_0x4ab3d4(0x225)](),_0x5d415c();});});}[_0x2173a8(0x20e)](_0x47d1e9,_0x353e06=!0x1){const _0x35acc7=_0x2173a8,_0x26649d=Z[_0x35acc7(0x1fe)](_0x47d1e9);_0x47d1e9=_0x26649d?_0x47d1e9[_0x35acc7(0x210)](_0x26649d[0x1][_0x35acc7(0x202)]):_0x47d1e9[_0x35acc7(0x202)]<0x64&&!_0x353e06?'':this[_0x35acc7(0x22c)](_0x47d1e9);const _0x331740=this[_0x35acc7(0x212)][_0x35acc7(0x21c)](_0x47d1e9,_0x35acc7(0x1fd));if(_0x26649d){const _0x1aa43f=Array[_0x35acc7(0x201)](_0x331740[_0x35acc7(0x229)][_0x35acc7(0x217)]);_0x1aa43f[_0x35acc7(0x218)]();for(const _0x5c4f53 of _0x1aa43f){if(_0x5c4f53[_0x35acc7(0x1e5)]==Node[_0x35acc7(0x1e1)])break;_0x5c4f53[_0x35acc7(0x206)]();}}const _0xd8909e=this[_0x35acc7(0x22a)][_0x35acc7(0x20a)][_0x35acc7(0x20c)][_0x35acc7(0x1cf)](this[_0x35acc7(0x223)][_0x35acc7(0x1dd)](_0x331740[_0x35acc7(0x229)]));this[_0x35acc7(0x1de)]()||this[_0x35acc7(0x200)](_0xd8909e);const _0x22e49a=this[_0x35acc7(0x22a)][_0x35acc7(0x1da)][_0x35acc7(0x1f5)](_0x35acc7(0x1d7)),_0x2ca7a6=this[_0x35acc7(0x22a)][_0x35acc7(0x20a)][_0x35acc7(0x1f4)](_0xd8909e);return _0x22e49a||_0x2ca7a6[_0x35acc7(0x20d)][_0x35acc7(0x1cb)](),this[_0x35acc7(0x22a)][_0x35acc7(0x20a)][_0x35acc7(0x1f9)](_0x2ca7a6);}[_0x2173a8(0x200)](_0x46aa9c){const _0x405c10=_0x2173a8,_0x525775=new _0x36a7d4(this[_0x405c10(0x22a)][_0x405c10(0x228)][_0x405c10(0x21d)][_0x405c10(0x1f3)]),_0x17d00d=new _0x36a3f3({'name':/^h[1-5]$/}),_0x2b5491=[];let _0xfe82a2=!0x1;for(const _0x280ce4 of _0x46aa9c)_0x280ce4['is'](_0x405c10(0x1ce))&&_0x17d00d[_0x405c10(0x220)](_0x280ce4)&&(_0x2b5491[_0x405c10(0x207)](_0x280ce4),'h1'==_0x280ce4[_0x405c10(0x209)]&&(_0xfe82a2=!0x0));if(_0xfe82a2){for(const _0x272074 of _0x2b5491)_0x525775[_0x405c10(0x1f2)]('h'+(parseInt(_0x272074[_0x405c10(0x209)][0x1])+0x1),_0x272074);}}[_0x2173a8(0x1de)](){const _0x5bd21b=_0x2173a8,{data:_0x4f431a,editing:_0x437555}=this[_0x5bd21b(0x22a)],_0x32b116=_0x4f431a[_0x5bd21b(0x1e9)][_0x5bd21b(0x1cf)](_0x5bd21b(0x226)),_0x29206b=_0x4f431a[_0x5bd21b(0x1cf)](_0x4f431a[_0x5bd21b(0x1f4)](_0x32b116));return!!_0x437555[_0x5bd21b(0x21d)][_0x5bd21b(0x1d3)][_0x5bd21b(0x1d6)](_0x29206b)[_0x5bd21b(0x20f)]('h1');}[_0x2173a8(0x1cd)](_0xdb0a4){const _0x14ccb4=_0x2173a8;return this[_0x14ccb4(0x22a)][_0x14ccb4(0x228)][_0x14ccb4(0x21d)][_0x14ccb4(0x1d3)][_0x14ccb4(0x1dc)](this[_0x14ccb4(0x221)],_0xdb0a4),this[_0x14ccb4(0x221)][_0x14ccb4(0x211)];}[_0x2173a8(0x22c)](_0x29a3c6){const _0x4d003c=_0x2173a8,_0x397c83=_0x29a3c6[_0x4d003c(0x1d9)]();return _0x397c83[_0x4d003c(0x203)](_0x4d003c(0x1e3))?_0x397c83[_0x4d003c(0x208)](_0x4d003c(0x1ec))?_0x397c83[_0x4d003c(0x210)](0x7,_0x397c83[_0x4d003c(0x202)]-0x3):_0x397c83[_0x4d003c(0x210)](0x7):_0x29a3c6;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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-2025, 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
|
+
function _0x3679(_0x3a85ad,_0x492bf6){const _0x1a0805=_0x1a08();return _0x3679=function(_0x3679ab,_0x2614bc){_0x3679ab=_0x3679ab-0xaa;let _0x2b4e69=_0x1a0805[_0x3679ab];return _0x2b4e69;},_0x3679(_0x3a85ad,_0x492bf6);}const _0x2e2737=_0x3679;(function(_0x2e9431,_0x20fad7){const _0x181b0a=_0x3679,_0x39e5c7=_0x2e9431();while(!![]){try{const _0x43891a=-parseInt(_0x181b0a(0xae))/0x1+-parseInt(_0x181b0a(0xc3))/0x2*(parseInt(_0x181b0a(0xe1))/0x3)+parseInt(_0x181b0a(0xd9))/0x4+-parseInt(_0x181b0a(0xd2))/0x5+-parseInt(_0x181b0a(0xd3))/0x6+-parseInt(_0x181b0a(0xff))/0x7*(parseInt(_0x181b0a(0xe8))/0x8)+parseInt(_0x181b0a(0xdc))/0x9*(parseInt(_0x181b0a(0xb5))/0xa);if(_0x43891a===_0x20fad7)break;else _0x39e5c7['push'](_0x39e5c7['shift']());}catch(_0x59f8d2){_0x39e5c7['push'](_0x39e5c7['shift']());}}}(_0x1a08,0x79468));import{global as _0x283241}from'ckeditor5/src/utils.js';import{View as _0x206a66,ButtonView as _0x4b1f8e,SpinnerView as _0x5d1357}from'ckeditor5/src/ui.js';import _0x324a14 from'../../../theme/icons/copy.svg';import{getTranslation as _0x18e504}from'../../utils/common-translations.js';function _0x1a08(){const _0x12e8ed=['getSelection','isProcessing','_createLoader','.ck-ai-form__loader','text/html','style','ck-hidden','copy','1375717vfVtgf','ck-ai-form__content-field','clipboard','firstElementChild','copyButtonView','669094AGGSxq','focus','mousedown','addRange','class','AI\x20is\x20writing...','textContent','8710ytSwZa','<span>]</span>','querySelector','setStartAfter','bindTemplate','scrollHeight','ck-ai-form__content-area-wrapper','\x20ck-ai-form__copy-button--copied','loaderView','locale','ck-ai-form__content-area','icon','createElement','ck-ai-form__copy-button-wrapper','670118LVSlHJ','execCommand','write','-9999px','check','Copy','appendLoader','scrollTo','ClipboardItem','_copyHTMLToClipboard','lastElementChild','body','text/plain','ck-ai-form__copy-button','ck-reset_all-excluded','773870FqawiF','4761822aVoRmZ','absolute','position','value','contentFieldView','left','3451608yvQifV','div','isVisible','18423lQfOjk','ck-content','_createCopyButton','smooth','bind','3cCdETc','change:isProcessing','appendChild','ck-ai-form__content-area--processing','execute','setTemplate','setEndBefore','8LIZVYV','remove','setContent','listenTo','isEnabled','change:value','ck-ai-form__loader','render','element','createRange','set','removeAllRanges','innerHTML','<span>[</span>','wheel'];_0x1a08=function(){return _0x12e8ed;};return _0x1a08();}import{icons as _0x173227}from'ckeditor5/src/core.js';export default class X extends _0x206a66{constructor(_0x317750,_0x5543e5=''){const _0x497499=_0x3679;super(_0x317750),this[_0x497499(0xf2)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x27f171=this[_0x497499(0xb9)];this[_0x497499(0xd7)]=new ContentFieldView(_0x317750,_0x5543e5),this[_0x497499(0xad)]=this[_0x497499(0xde)](),this[_0x497499(0xe6)]({'tag':_0x497499(0xda),'attributes':{'class':['ck',_0x497499(0xbb),_0x27f171['if'](_0x497499(0xdb),_0x497499(0xfd),_0x2de87d=>!_0x2de87d)],'tabindex':'-1'},'children':[{'tag':_0x497499(0xda),'attributes':{'class':['ck',_0x497499(0xbf),_0x27f171['if'](_0x497499(0xf8),_0x497499(0xe4))]},'children':[this[_0x497499(0xd7)],{'tag':_0x497499(0xda),'attributes':{'class':['ck',_0x497499(0xc2)]},'children':[this[_0x497499(0xad)]]}]}]});}[_0x2e2737(0xef)](){const _0x46974c=_0x2e2737;super[_0x46974c(0xef)](),this[_0x46974c(0xd6)]&&this[_0x46974c(0xd7)][_0x46974c(0xea)](this[_0x46974c(0xd6)]);let _0x2a7838=!0x1;this['on'](_0x46974c(0xed),(_0x1d12d7,_0x3c7293,_0x199120)=>{const _0x2d7701=_0x46974c,_0x5cb6a2=!this[_0x2d7701(0xd7)][_0x2d7701(0xf0)][_0x2d7701(0xb7)](_0x2d7701(0xfa));this[_0x2d7701(0xd7)][_0x2d7701(0xea)](_0x199120),this[_0x2d7701(0xf8)]&&_0x5cb6a2&&!_0x2a7838&&this[_0x2d7701(0xf0)][_0x2d7701(0xca)]({'top':this[_0x2d7701(0xf0)][_0x2d7701(0xba)],'behavior':_0x2d7701(0xdf)});}),this['on'](_0x46974c(0xe2),(_0x711357,_0x53a039,_0x4e50a4)=>{const _0x54c773=_0x46974c;_0x2a7838=!0x1,_0x4e50a4?(this[_0x54c773(0xd6)]=null,this[_0x54c773(0xd7)][_0x54c773(0xc9)]()):this[_0x54c773(0xd6)]||this[_0x54c773(0xd7)][_0x54c773(0xea)]('');}),this[_0x46974c(0xeb)](this[_0x46974c(0xf0)],_0x46974c(0xf6),()=>{_0x2a7838=!0x0;}),this[_0x46974c(0xeb)](this[_0x46974c(0xf0)],_0x46974c(0xb0),()=>{_0x2a7838=!0x0;});}[_0x2e2737(0xaf)](){const _0x5902a6=_0x2e2737;this[_0x5902a6(0xf0)][_0x5902a6(0xaf)]();}[_0x2e2737(0xde)](){const _0x337c8b=_0x2e2737,_0x39dd72=this[_0x337c8b(0xbe)],_0x1a444e=new _0x4b1f8e(this[_0x337c8b(0xbe)]),_0x37cb93=_0x337c8b(0xd0);return _0x1a444e[_0x337c8b(0xf2)]({'label':_0x18e504(_0x39dd72,_0x337c8b(0xc8)),'icon':_0x324a14,'class':_0x37cb93,'tooltip':!0x0}),_0x1a444e[_0x337c8b(0xe0)](_0x337c8b(0xdb))['to'](this,_0x337c8b(0xd6),_0x192ca7=>!!_0x192ca7),_0x1a444e[_0x337c8b(0xe0)](_0x337c8b(0xec))['to'](this,_0x337c8b(0xf8),_0x45fbfe=>!_0x45fbfe),_0x1a444e['on'](_0x337c8b(0xe5),()=>{const _0x350716=_0x337c8b;this[_0x350716(0xcc)](this[_0x350716(0xd7)][_0x350716(0xf0)]),_0x1a444e[_0x350716(0xc0)]=_0x173227[_0x350716(0xc7)],_0x1a444e[_0x350716(0xb2)]=_0x37cb93+_0x350716(0xbc),this[_0x350716(0xaf)](),setTimeout(()=>{const _0x1f7666=_0x350716;_0x1a444e[_0x1f7666(0xc0)]=_0x324a14,_0x1a444e[_0x1f7666(0xb2)]=_0x37cb93;},0x3e8);}),_0x1a444e;}[_0x2e2737(0xcc)](_0x5c1c4e){const _0x228e86=_0x2e2737,{window:_0x2a0da5,document:_0x459b4e}=_0x283241;if(_0x2a0da5[_0x228e86(0xcb)]){const {Blob:_0x47a07d,ClipboardItem:_0x2677ac}=_0x2a0da5,_0x20f81e=[new _0x2677ac({'text/html':new _0x47a07d([_0x5c1c4e[_0x228e86(0xf4)]],{'type':_0x228e86(0xfb)}),'text/plain':new _0x47a07d([_0x5c1c4e[_0x228e86(0xb4)]||''],{'type':_0x228e86(0xcf)})})];navigator[_0x228e86(0xab)][_0x228e86(0xc5)](_0x20f81e);}else{const _0x722771=_0x459b4e[_0x228e86(0xc1)](_0x228e86(0xda));_0x722771[_0x228e86(0xfc)][_0x228e86(0xd5)]=_0x228e86(0xd4),_0x722771[_0x228e86(0xfc)][_0x228e86(0xd8)]=_0x228e86(0xc6),_0x722771[_0x228e86(0xf4)]=_0x228e86(0xf5)+_0x5c1c4e[_0x228e86(0xf4)]+_0x228e86(0xb6),_0x459b4e[_0x228e86(0xce)][_0x228e86(0xe3)](_0x722771);const _0x30a5bd=_0x459b4e[_0x228e86(0xf1)]();_0x30a5bd[_0x228e86(0xb8)](_0x722771[_0x228e86(0xac)]),_0x30a5bd[_0x228e86(0xe7)](_0x722771[_0x228e86(0xcd)]);const _0x1635f1=_0x2a0da5[_0x228e86(0xf7)]();_0x1635f1[_0x228e86(0xf3)](),_0x1635f1[_0x228e86(0xb1)](_0x30a5bd),_0x459b4e[_0x228e86(0xc4)](_0x228e86(0xfe)),_0x722771[_0x228e86(0xe9)]();}}}export class ContentFieldView extends _0x206a66{constructor(_0x560049,_0x4a4a05=''){const _0x3f569e=_0x2e2737;super(_0x560049),this[_0x3f569e(0xbd)]=this[_0x3f569e(0xf9)](),this[_0x3f569e(0xe6)]({'tag':_0x3f569e(0xda),'attributes':{'class':['ck',_0x3f569e(0xdd),_0x4a4a05,_0x3f569e(0xd1),_0x3f569e(0xaa)]}});}[_0x2e2737(0xea)](_0x3ec73a){const _0x1772a1=_0x2e2737;this[_0x1772a1(0xf0)][_0x1772a1(0xf4)]=_0x3ec73a;}[_0x2e2737(0xc9)](){const _0x4c5081=_0x2e2737;this[_0x4c5081(0xf0)][_0x4c5081(0xe3)](this[_0x4c5081(0xbd)][_0x4c5081(0xf0)]);}[_0x2e2737(0xf9)](){const _0x44291f=_0x2e2737,_0x30aa34=new _0x206a66(),_0x58f107=this[_0x44291f(0xbe)],_0x3175fc=new _0x5d1357();return _0x3175fc[_0x44291f(0xdb)]=!0x0,_0x30aa34[_0x44291f(0xe6)]({'tag':_0x44291f(0xda),'attributes':{'class':['ck',_0x44291f(0xee)]},'children':[_0x3175fc,{'text':_0x18e504(_0x58f107,_0x44291f(0xb3))}]}),_0x30aa34[_0x44291f(0xef)](),_0x30aa34;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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-2025, 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(_0x5570af,_0x5140dc){const _0xb32e99=_0x268b,_0x5dca2e=_0x5570af();while(!![]){try{const _0x3cf2fe=parseInt(_0xb32e99(0xf7))/0x1*(-parseInt(_0xb32e99(0xf9))/0x2)+parseInt(_0xb32e99(0xfe))/0x3+parseInt(_0xb32e99(0xf2))/0x4+-parseInt(_0xb32e99(0xf5))/0x5+parseInt(_0xb32e99(0xfd))/0x6+-parseInt(_0xb32e99(0xf4))/0x7*(parseInt(_0xb32e99(0xf0))/0x8)+-parseInt(_0xb32e99(0xfc))/0x9*(-parseInt(_0xb32e99(0xf1))/0xa);if(_0x3cf2fe===_0x5140dc)break;else _0x5dca2e['push'](_0x5dca2e['shift']());}catch(_0x119a24){_0x5dca2e['push'](_0x5dca2e['shift']());}}}(_0xdb6c,0xcc750));function _0xdb6c(){const _0x8b32f7=['div','3336kwAPAF','10sscjGf','2124888qSczzX','ck-ai-form__error','20923aavjzf','6100635dhzdeJ','setTemplate','21759jKenpI','set','2wQRncZ','bindTemplate','text','15025266JYsfqT','783048HtocxU','2983653sNWUHx','content'];_0xdb6c=function(){return _0x8b32f7;};return _0xdb6c();}function _0x268b(_0x24d6ea,_0x5ae352){const _0xdb6c05=_0xdb6c();return _0x268b=function(_0x268b73,_0x329b93){_0x268b73=_0x268b73-0xf0;let _0x3016bc=_0xdb6c05[_0x268b73];return _0x3016bc;},_0x268b(_0x24d6ea,_0x5ae352);}import{View as _0x2b5039,IconView as _0x5750df}from'ckeditor5/src/ui.js';import _0x276c94 from'../../../theme/icons/error.svg';export default class rt extends _0x2b5039{constructor(_0xaaf90a,_0x474aa2=''){const _0x53f757=_0x268b;super(_0xaaf90a);const _0xd86708=new _0x5750df(),_0x2256d8=this[_0x53f757(0xfa)];this[_0x53f757(0xf8)](_0x53f757(0xfb),_0x474aa2),_0xd86708[_0x53f757(0xff)]=_0x276c94,this[_0x53f757(0xf6)]({'tag':_0x53f757(0x100),'attributes':{'class':['ck',_0x53f757(0xf3)]},'children':[_0xd86708,{'text':_0x2256d8['to'](_0x53f757(0xfb))}]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
/**
|