@ckeditor/ckeditor5-ai 47.6.2 → 47.7.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x378656=_0x75e0;function _0x75e0(_0x30b553,_0x23c364){const _0xc55937=_0xc559();return _0x75e0=function(_0x75e0ed,_0x2c7650){_0x75e0ed=_0x75e0ed-0xd1;let _0x203209=_0xc55937[_0x75e0ed];return _0x203209;},_0x75e0(_0x30b553,_0x23c364);}(function(_0x561a2c,_0x3a0ab4){const _0x1331cf=_0x75e0,_0x4e7e06=_0x561a2c();while(!![]){try{const _0x123276=-parseInt(_0x1331cf(0xea))/0x1+parseInt(_0x1331cf(0xde))/0x2*(-parseInt(_0x1331cf(0xdb))/0x3)+parseInt(_0x1331cf(0xd2))/0x4*(parseInt(_0x1331cf(0xd6))/0x5)+parseInt(_0x1331cf(0xe4))/0x6*(parseInt(_0x1331cf(0xe6))/0x7)+parseInt(_0x1331cf(0xe7))/0x8+-parseInt(_0x1331cf(0xe5))/0x9*(-parseInt(_0x1331cf(0xec))/0xa)+-parseInt(_0x1331cf(0xd4))/0xb;if(_0x123276===_0x3a0ab4)break;else _0x4e7e06['push'](_0x4e7e06['shift']());}catch(_0x25d92e){_0x4e7e06['push'](_0x4e7e06['shift']());}}}(_0xc559,0x9c8ca));import{FormRowView as _0xa36fc3,ListItemView as _0xd8478c}from'ckeditor5/src/ui.js';import{AIReviewCoreFormDropdownView as _0x42f157}from'./aireviewcoreformdropdown.js';function _0xc559(){const _0x5dcb6a=['10OtAbOQ','_formItem','60984pIOtCY','ck-form__row_with-submit','6874450UtBzLJ','children','75sgXVBy','dropdown','ck-reset_all','value','set','57goRhjJ','ck-ai_review__form-item','bind','96452ArWDZE','add','formType','setTemplate','argsKey','formValue','4591374PIQfkH','2212659cjqYrr','7kxRgOx','7663248TVgmfD','resetToDefault','div','15206TeVuKb','locale'];_0xc559=function(){return _0x5dcb6a;};return _0xc559();}export class AIReviewCoreFormManagerView extends _0xd8478c{[_0x378656(0xd1)]=null;constructor(_0x191ffc,_0x35eb53,_0x4f08d9){const _0x4d95e1=_0x378656;super(_0x191ffc),this[_0x4d95e1(0xe2)]=_0x35eb53?.[_0x4d95e1(0xe2)];if(_0x4d95e1(0xd7)===_0x35eb53[_0x4d95e1(0xe0)])this[_0x4d95e1(0xd1)]=new _0x42f157(this[_0x4d95e1(0xeb)],_0x35eb53);this[_0x4d95e1(0xda)](_0x4d95e1(0xd9),''),this[_0x4d95e1(0xdd)](_0x4d95e1(0xd9))['to'](this[_0x4d95e1(0xd1)],_0x4d95e1(0xe3));const _0x4df4a0=new _0xa36fc3(this[_0x4d95e1(0xeb)],{'children':[this[_0x4d95e1(0xd1)]],'class':[_0x4f08d9?_0x4d95e1(0xd3):'']});_0x4f08d9&&_0x4df4a0[_0x4d95e1(0xd5)][_0x4d95e1(0xdf)](_0x4f08d9),this[_0x4d95e1(0xe1)]({'tag':_0x4d95e1(0xe9),'attributes':{'class':['ck',_0x4d95e1(0xdc),_0x4d95e1(0xd8)]},'children':[_0x4df4a0]});}[_0x378656(0xe8)](){const _0xcd39b6=_0x378656;this[_0xcd39b6(0xd1)][_0xcd39b6(0xe8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1193(_0x22b153,_0x46a61a){const _0x5c1d84=_0x5c1d();return _0x1193=function(_0x119358,_0x2b06e5){_0x119358=_0x119358-0xdd;let _0x59fd11=_0x5c1d84[_0x119358];return _0x59fd11;},_0x1193(_0x22b153,_0x46a61a);}const _0x364a68=_0x1193;(function(_0x35ec9c,_0x4bf003){const _0x1f02f7=_0x1193,_0xe64d23=_0x35ec9c();while(!![]){try{const _0x5b06f8=parseInt(_0x1f02f7(0x103))/0x1+parseInt(_0x1f02f7(0x101))/0x2+parseInt(_0x1f02f7(0x102))/0x3*(parseInt(_0x1f02f7(0xe4))/0x4)+parseInt(_0x1f02f7(0xe6))/0x5+parseInt(_0x1f02f7(0xf0))/0x6*(parseInt(_0x1f02f7(0xfc))/0x7)+-parseInt(_0x1f02f7(0xe1))/0x8*(-parseInt(_0x1f02f7(0xf3))/0x9)+-parseInt(_0x1f02f7(0x104))/0xa;if(_0x5b06f8===_0x4bf003)break;else _0xe64d23['push'](_0xe64d23['shift']());}catch(_0x1038ca){_0xe64d23['push'](_0xe64d23['shift']());}}}(_0x5c1d,0x2e584));function _0x5c1d(){const _0x6fa768=['721744UbietZ','143853fvjgaE','374015iNlmmK','16452490AEHVIu','Longer','Friendly','direct','confident','Casual','longer','make','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','casual','24NiKohW','correctness','Clarity','12mcMVqZ','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','1482105LIehhw','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','make-tone','Readability','friendly','dropdown','Professional','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Direct','clarity','6nToloG','tone','Adjust\x20tone\x20and\x20style','1052847TjoJKw','professional','Confident','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','custom','Custom\x20command','readability','length','Adjust\x20length','2162769PyfsET','Shorter','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Correctness','shorter'];_0x5c1d=function(){return _0x6fa768;};return _0x5c1d();}export const AI_REVIEW_CHECKS=[{'id':_0x364a68(0xf7),'commandId':_0x364a68(0xf7),'title':_0x364a68(0xf8),'description':_0x364a68(0xed),'isParameterized':!0x0},{'id':_0x364a68(0xe2),'commandId':_0x364a68(0xe2),'title':_0x364a68(0xff),'description':_0x364a68(0xe5),'isParameterized':!0x1},{'id':_0x364a68(0xef),'commandId':_0x364a68(0xef),'title':_0x364a68(0xe3),'description':_0x364a68(0xfe),'isParameterized':!0x1},{'id':_0x364a68(0xf9),'commandId':_0x364a68(0xf9),'title':_0x364a68(0xe9),'description':_0x364a68(0xf6),'isParameterized':!0x1},{'id':_0x364a68(0xfa),'commandId':_0x364a68(0xde),'title':_0x364a68(0xfb),'description':_0x364a68(0xdf),'isParameterized':!0x0,'options':[{'formType':_0x364a68(0xeb),'label':_0x364a68(0xfb),'default':_0x364a68(0xdd),'data':[{'label':_0x364a68(0x105),'id':_0x364a68(0xdd)},{'label':_0x364a68(0xfd),'id':_0x364a68(0x100)}]}]},{'id':_0x364a68(0xf1),'commandId':_0x364a68(0xe8),'title':_0x364a68(0xf2),'description':_0x364a68(0xe7),'isParameterized':!0x0,'options':[{'formType':_0x364a68(0xeb),'label':_0x364a68(0xf2),'default':_0x364a68(0xe0),'data':[{'label':_0x364a68(0x109),'id':_0x364a68(0xe0)},{'label':_0x364a68(0xee),'id':_0x364a68(0x107)},{'label':_0x364a68(0x106),'id':_0x364a68(0xea)},{'label':_0x364a68(0xf5),'id':_0x364a68(0x108)},{'label':_0x364a68(0xec),'id':_0x364a68(0xf4)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3b93ca=_0x10eb;function _0x10eb(_0x41fca6,_0x2f5d47){var _0x29af44=_0x29af();return _0x10eb=function(_0x10eb87,_0x3acd6c){_0x10eb87=_0x10eb87-0x1cc;var _0x424cdc=_0x29af44[_0x10eb87];return _0x424cdc;},_0x10eb(_0x41fca6,_0x2f5d47);}(function(_0x1dd1e8,_0x3aed5a){var _0x3c0361=_0x10eb,_0x16765a=_0x1dd1e8();while(!![]){try{var _0x564617=-parseInt(_0x3c0361(0x1d2))/0x1*(parseInt(_0x3c0361(0x1d3))/0x2)+-parseInt(_0x3c0361(0x1d7))/0x3*(-parseInt(_0x3c0361(0x1d9))/0x4)+-parseInt(_0x3c0361(0x1cf))/0x5*(parseInt(_0x3c0361(0x1cc))/0x6)+parseInt(_0x3c0361(0x1d0))/0x7+parseInt(_0x3c0361(0x1db))/0x8*(-parseInt(_0x3c0361(0x1d1))/0x9)+-parseInt(_0x3c0361(0x1da))/0xa+parseInt(_0x3c0361(0x1ce))/0xb*(parseInt(_0x3c0361(0x1d6))/0xc);if(_0x564617===_0x3aed5a)break;else _0x16765a['push'](_0x16765a['shift']());}catch(_0x2d622d){_0x16765a['push'](_0x16765a['shift']());}}}(_0x29af,0xccb40));function _0x29af(){var _0x7c6f93=['1452672wgPHER','234khkkMi','requires','3568UtWVIO','11991770QZeVce','27240vqIDcJ','isOfficialPlugin','7581738SekCmJ','AIReviewMode','330QseQeB','5BLNLvP','3844680BzdvqQ','117LcrTfZ','7sPotGP','258562ajVFVl','pluginName','isPremiumPlugin'];_0x29af=function(){return _0x7c6f93;};return _0x29af();}import{ContextPlugin as _0xcb7ac7}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x116636}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x2ac9a3}from'../aireviewcore/aireviewcoreediting.js';import{AIReviewModeController as _0x36d4b7}from'./aireviewmodecontroller.js';export class AIReviewMode extends _0xcb7ac7{static get[_0x3b93ca(0x1d8)](){return[_0x36d4b7,_0x116636,_0x2ac9a3];}static get[_0x3b93ca(0x1d4)](){var _0x2bfd63=_0x3b93ca;return _0x2bfd63(0x1cd);}static get[_0x3b93ca(0x1dc)](){return!0x0;}static get[_0x3b93ca(0x1d5)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xbcb387=_0x2b33;(function(_0x186c90,_0x12b2f1){const _0x3f05c1=_0x2b33,_0x53ffd4=_0x186c90();while(!![]){try{const _0x274ff8=-parseInt(_0x3f05c1(0x159))/0x1+parseInt(_0x3f05c1(0x18d))/0x2+parseInt(_0x3f05c1(0x14a))/0x3*(parseInt(_0x3f05c1(0x116))/0x4)+parseInt(_0x3f05c1(0x143))/0x5+parseInt(_0x3f05c1(0x194))/0x6*(-parseInt(_0x3f05c1(0x14c))/0x7)+-parseInt(_0x3f05c1(0x173))/0x8*(parseInt(_0x3f05c1(0x115))/0x9)+-parseInt(_0x3f05c1(0x16d))/0xa*(-parseInt(_0x3f05c1(0x19b))/0xb);if(_0x274ff8===_0x12b2f1)break;else _0x53ffd4['push'](_0x53ffd4['shift']());}catch(_0x510d9c){_0x53ffd4['push'](_0x53ffd4['shift']());}}}(_0x4bcf,0xb5dae));function _0x2b33(_0x38fba7,_0x4b2585){const _0x4bcf81=_0x4bcf();return _0x2b33=function(_0x2b3328,_0x294051){_0x2b3328=_0x2b3328-0x111;let _0x2ffc33=_0x4bcf81[_0x2b3328];return _0x2ffc33;},_0x2b33(_0x38fba7,_0x4b2585);}import{CKEditorError as _0x4f37d0}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x479c36}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x2927e0}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x5bd550}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x9bf95e}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x5d96c4}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x795ced}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x479196}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x39cdce}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x55709f}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x479c36{static get[_0xbcb387(0x11f)](){const _0x5e054b=_0xbcb387;return _0x5e054b(0x197);}[_0xbcb387(0x16e)]=!0x1;[_0xbcb387(0x13b)]=!0x1;constructor(_0x4fca46){const _0x4362a6=_0xbcb387;super(_0x4fca46),this[_0x4362a6(0x13b)]=!this[_0x4362a6(0x150)][_0x4362a6(0x17d)][_0x4362a6(0x13c)](_0x4362a6(0x17b)),this[_0x4362a6(0x150)][_0x4362a6(0x17d)][_0x4362a6(0x162)](_0x4362a6(0x17b),_0x2927e0[_0x4362a6(0x17a)](_0x4b0dcf=>_0x4b0dcf['id'])),this[_0x4362a6(0x150)][_0x4362a6(0x17d)][_0x4362a6(0x162)](_0x4362a6(0x158),[]);}async[_0xbcb387(0x111)](){const _0x5f53ef=_0xbcb387;await super[_0x5f53ef(0x111)](),this[_0x5f53ef(0x154)](this[_0x5f53ef(0x183)],_0x5f53ef(0x160),(_0x369eb0,_0x535514)=>{const _0x5a4a33=_0x5f53ef;this[_0x5a4a33(0x16e)]=_0x535514['on'],this[_0x5a4a33(0x157)](this[_0x5a4a33(0x16e)]);});}[_0xbcb387(0x175)](){const _0x689820=_0xbcb387;super[_0x689820(0x175)](),this[_0x689820(0x183)]=this[_0x689820(0x150)][_0x689820(0x136)][_0x689820(0x13c)](_0x689820(0x190)),this[_0x689820(0x155)]=this[_0x689820(0x150)][_0x689820(0x136)][_0x689820(0x13c)](_0x689820(0x13f));}[_0xbcb387(0x16a)](_0x17203f,_0x5c58f7){const _0x1f3a06=_0xbcb387;return _0x17203f[_0x1f3a06(0x135)]?new _0x9bf95e(_0x17203f[_0x1f3a06(0x15d)][_0x1f3a06(0x125)],_0x17203f[_0x1f3a06(0x15d)][_0x1f3a06(0x12f)],this[_0x1f3a06(0x155)][_0x1f3a06(0x196)](),_0x5c58f7,this[_0x1f3a06(0x182)]):_0x5c58f7[_0x1f3a06(0x165)]?new _0x55709f(_0x5c58f7[_0x1f3a06(0x125)],_0x5c58f7[_0x1f3a06(0x18f)]['id'],this[_0x1f3a06(0x155)][_0x1f3a06(0x196)](),_0x5c58f7,this[_0x1f3a06(0x182)]):new _0x5d96c4(this[_0x1f3a06(0x155)][_0x1f3a06(0x196)](),_0x5c58f7,this[_0x1f3a06(0x182)],_0x17203f[_0x1f3a06(0x191)],_0x17203f[_0x1f3a06(0x15d)]);}[_0xbcb387(0x11c)](_0x21ae74){const _0x3e0fec=_0xbcb387;this[_0x3e0fec(0x183)][_0x3e0fec(0x122)](_0x21ae74[_0x3e0fec(0x187)]['id']),this[_0x3e0fec(0x17e)](_0x21ae74[_0x3e0fec(0x187)]['id']);const _0x560331=this[_0x3e0fec(0x155)][_0x3e0fec(0x13d)](_0x21ae74[_0x3e0fec(0x187)]['id']);if(!_0x560331)return;const _0x14f156=this[_0x3e0fec(0x155)][_0x3e0fec(0x178)]();this[_0x3e0fec(0x183)][_0x3e0fec(0x112)](_0x21ae74[_0x3e0fec(0x187)],()=>_0x560331[_0x3e0fec(0x177)](),void 0x0,_0x3e0fec(0x121),_0x14f156?.[_0x3e0fec(0x14d)]?.[_0x3e0fec(0x124)]?.[_0x3e0fec(0x120)](),_0x14f156?.['ui']?.[_0x3e0fec(0x146)]),this[_0x3e0fec(0x155)][_0x3e0fec(0x14e)](_0x21ae74[_0x3e0fec(0x187)]['id']);}[_0xbcb387(0x179)](){const _0x5c8b02=_0xbcb387;this[_0x5c8b02(0x183)][_0x5c8b02(0x167)](),this[_0x5c8b02(0x183)][_0x5c8b02(0x186)](),this[_0x5c8b02(0x155)][_0x5c8b02(0x133)]();}[_0xbcb387(0x188)](_0x576706){const _0x256a16=_0xbcb387;this[_0x256a16(0x11a)]&&_0x256a16(0x121)===_0x576706[_0x256a16(0x14b)]&&(this[_0x256a16(0x13e)]=_0x256a16(0x19c),this[_0x256a16(0x11a)][_0x256a16(0x139)](_0x576706['id']));}[_0xbcb387(0x16c)](_0x19d551){const _0x1ec4f2=_0xbcb387;this[_0x1ec4f2(0x11a)]&&_0x1ec4f2(0x134)===_0x19d551[_0x1ec4f2(0x18a)]&&this[_0x1ec4f2(0x11a)][_0x1ec4f2(0x176)]();}[_0xbcb387(0x15e)](_0x428a53,_0x404d5c){const _0x1ecf00=_0xbcb387;if(!this[_0x1ecf00(0x11a)])return;this[_0x1ecf00(0x13e)]=_0x1ecf00(0x11e),this[_0x1ecf00(0x11a)][_0x1ecf00(0x139)](_0x404d5c[_0x1ecf00(0x15c)]);const _0x8a6a31=this[_0x1ecf00(0x11a)][_0x1ecf00(0x11b)](_0x404d5c[_0x1ecf00(0x15c)]);if(!_0x8a6a31)return;const _0x29ae35=this[_0x1ecf00(0x155)][_0x1ecf00(0x178)]();this[_0x1ecf00(0x183)][_0x1ecf00(0x112)](_0x8a6a31,_0x404d5c[_0x1ecf00(0x19a)],_0x404d5c[_0x1ecf00(0x117)],_0x1ecf00(0x121),_0x29ae35?.[_0x1ecf00(0x14d)]?.[_0x1ecf00(0x124)]?.[_0x1ecf00(0x120)](),_0x29ae35?.['ui']?.[_0x1ecf00(0x146)]);}[_0xbcb387(0x18b)](_0x32f7a2,_0x21eaf9){const _0x467d5e=_0xbcb387;if(!this[_0x467d5e(0x11a)])return;if(this[_0x467d5e(0x11a)][_0x467d5e(0x129)]())return;const _0x31549c=this[_0x467d5e(0x11a)][_0x467d5e(0x11b)](_0x21eaf9[_0x467d5e(0x15c)]);if(!_0x31549c)return;const _0x480842=this[_0x467d5e(0x155)][_0x467d5e(0x178)]();this[_0x467d5e(0x183)][_0x467d5e(0x112)](_0x31549c,_0x21eaf9[_0x467d5e(0x19a)],_0x21eaf9[_0x467d5e(0x117)],_0x467d5e(0x144),_0x480842?.[_0x467d5e(0x14d)]?.[_0x467d5e(0x124)]?.[_0x467d5e(0x120)](),_0x480842?.['ui']?.[_0x467d5e(0x146)]);}[_0xbcb387(0x164)](){const _0x3d7292=_0xbcb387;if(!this[_0x3d7292(0x11a)])return;this[_0x3d7292(0x11a)][_0x3d7292(0x129)]()||this[_0x3d7292(0x183)][_0x3d7292(0x186)]();}[_0xbcb387(0x199)](_0x238476){const _0x2f5cf9=_0xbcb387,_0x2cc809=this[_0x2f5cf9(0x155)][_0x2f5cf9(0x13d)](_0x238476);return _0x2cc809?_0x2cc809[_0x2f5cf9(0x177)]():null;}[_0xbcb387(0x16b)](_0x5e7533,_0x4abca2){const _0x264892=_0xbcb387;this[_0x264892(0x155)][_0x264892(0x132)](_0x5e7533,_0x4abca2);}[_0xbcb387(0x142)](_0x43f8f5,_0x37266e){const _0xf03627=_0xbcb387;return this[_0xf03627(0x155)][_0xf03627(0x141)](_0x43f8f5,_0x37266e);}[_0xbcb387(0x140)](){const _0x29d316=_0xbcb387;this[_0x29d316(0x157)](this[_0x29d316(0x16e)]);}[_0xbcb387(0x157)](_0x20d0f3){const _0x248f10=_0xbcb387,_0x4d69a2=this[_0x248f10(0x155)][_0x248f10(0x178)]();_0x20d0f3?this[_0x248f10(0x183)][_0x248f10(0x12d)]():this[_0x248f10(0x183)][_0x248f10(0x119)](),_0x4d69a2&&_0x4d69a2[_0x248f10(0x14d)][_0x248f10(0x124)][_0x248f10(0x187)](_0x1289dd=>{const _0x302a4b=_0x248f10,_0x69409b=_0x4d69a2[_0x302a4b(0x14d)][_0x302a4b(0x124)][_0x302a4b(0x195)][_0x302a4b(0x193)]();for(const _0x3ba5de of _0x69409b[_0x302a4b(0x166)]())_0x3ba5de[_0x302a4b(0x127)](_0x302a4b(0x15a))&&_0x1289dd[_0x302a4b(0x113)](_0x3ba5de,_0x69409b);_0x1289dd[_0x302a4b(0x12b)](_0x20d0f3?_0x302a4b(0x114):_0x302a4b(0x131),_0x69409b);});}async[_0xbcb387(0x148)](){const _0x3f8bc0=_0xbcb387,_0x390f7c=[..._0x2927e0,...this[_0x3f8bc0(0x153)]()],_0x5ac0d9=this[_0x3f8bc0(0x150)][_0x3f8bc0(0x17d)][_0x3f8bc0(0x13c)](_0x3f8bc0(0x17b))||[];this[_0x3f8bc0(0x198)](_0x5ac0d9,_0x390f7c);let _0x12f6b0=_0x390f7c;this[_0x3f8bc0(0x13b)]||(_0x12f6b0=_0x5ac0d9[_0x3f8bc0(0x17a)](_0x4dc2ac=>_0x390f7c[_0x3f8bc0(0x13a)](_0x1d6f97=>_0x1d6f97['id']===_0x4dc2ac))[_0x3f8bc0(0x145)](_0x328c0e=>!!_0x328c0e)),_0x12f6b0=_0x12f6b0[_0x3f8bc0(0x17a)](_0x141808=>_0x141808[_0x3f8bc0(0x165)]?_0x141808:this[_0x3f8bc0(0x17c)](_0x141808));const _0x199585=_0x12f6b0[_0x3f8bc0(0x161)](_0x14ac43=>_0x14ac43[_0x3f8bc0(0x165)]||_0x3f8bc0(0x156)===_0x14ac43['id']);let _0x160017=[],_0xbfd072=[],_0x364388=null;if(_0x199585){const _0xedb28f=await this[_0x3f8bc0(0x14f)]();_0x160017=_0xedb28f[_0x3f8bc0(0x169)],_0xbfd072=_0xedb28f[_0x3f8bc0(0x17f)],_0x364388=_0xedb28f[_0x3f8bc0(0x15f)];}const _0x4f8814=new _0x5bd550(_0x160017,_0xbfd072,_0x364388);return _0x4f8814[_0x3f8bc0(0x123)](_0x12f6b0),_0x199585&&this[_0x3f8bc0(0x152)](_0x4f8814),_0x4f8814;}[_0xbcb387(0x153)](){const _0x3f5738=_0xbcb387;return(this[_0x3f5738(0x150)][_0x3f5738(0x17d)][_0x3f5738(0x13c)](_0x3f5738(0x158))||[])[_0x3f5738(0x17a)](_0x211acc=>({'id':_0x211acc['id'],'commandId':_0x211acc['id'],'title':_0x211acc[_0x3f5738(0x163)],'description':_0x211acc[_0x3f5738(0x11d)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x211acc[_0x3f5738(0x125)],'model':_0x211acc[_0x3f5738(0x12f)]}));}[_0xbcb387(0x198)](_0xdb287e,_0x34af61){const _0x21bd5f=_0xbcb387,_0xc1ce19=_0xdb287e[_0x21bd5f(0x145)](_0x375c5a=>!_0x34af61[_0x21bd5f(0x161)](_0x9f025c=>_0x9f025c['id']===_0x375c5a));_0xc1ce19[_0x21bd5f(0x180)]&&this[_0x21bd5f(0x137)](new _0x4f37d0(_0x21bd5f(0x15b),this,{'commandIds':_0xc1ce19[_0x21bd5f(0x128)](',\x20')}),!0x0);}async[_0xbcb387(0x14f)](){const _0x4d6802=_0xbcb387;try{const _0x2fc038=new _0x795ced({'connector':this[_0x4d6802(0x182)],'config':this[_0x4d6802(0x150)][_0x4d6802(0x17d)][_0x4d6802(0x13c)](_0x4d6802(0x130)),'locale':this[_0x4d6802(0x150)][_0x4d6802(0x184)]});return{'all':await _0x2fc038[_0x4d6802(0x12a)](),'recommended':await _0x2fc038[_0x4d6802(0x12e)](),'default':await _0x2fc038[_0x4d6802(0x118)]()};}catch(_0x3ce937){return this[_0x4d6802(0x137)](new _0x4f37d0(_0x4d6802(0x189),this,void 0x0,_0x3ce937)),{'all':[],'recommended':[],'default':null};}}[_0xbcb387(0x17c)](_0x3b63e5){const _0x3a0135=_0xbcb387,_0x249dba=_0x3a0135(0x18c)+_0x3b63e5['id'][_0x3a0135(0x126)]()[_0x3a0135(0x147)]('-','_'),_0x726d6e={..._0x3b63e5,'title':this[_0x3a0135(0x151)](_0x249dba+_0x3a0135(0x192),_0x3b63e5[_0x3a0135(0x168)]),'description':this[_0x3a0135(0x151)](_0x249dba+_0x3a0135(0x174),_0x3b63e5[_0x3a0135(0x11d)])};return _0x3b63e5[_0x3a0135(0x170)]&&(_0x726d6e[_0x3a0135(0x170)]=_0x3b63e5[_0x3a0135(0x170)][_0x3a0135(0x17a)](_0x4ae854=>({..._0x4ae854,'label':this[_0x3a0135(0x151)](_0x249dba+_0x3a0135(0x185),_0x4ae854[_0x3a0135(0x163)]||''),'data':_0x4ae854[_0x3a0135(0x181)]?_0x4ae854[_0x3a0135(0x181)][_0x3a0135(0x17a)](_0x39dca0=>({..._0x39dca0,'label':this[_0x3a0135(0x151)](_0x249dba+_0x3a0135(0x172)+_0x39dca0['id'][_0x3a0135(0x126)](),_0x39dca0[_0x3a0135(0x163)])})):void 0x0}))),_0x726d6e;}[_0xbcb387(0x152)](_0x199290){const _0x12e9cb=_0xbcb387,_0x2889b0=[];_0x199290[_0x12e9cb(0x149)][_0x12e9cb(0x16f)](_0x32e5e5=>{const _0x257482=_0x12e9cb;(_0x32e5e5 instanceof _0x39cdce&&!_0x32e5e5[_0x257482(0x18f)]||_0x32e5e5 instanceof _0x479196&&!_0x32e5e5[_0x257482(0x12c)][_0x257482(0x180)])&&_0x2889b0[_0x257482(0x171)](_0x32e5e5['id']);}),_0x2889b0[_0x12e9cb(0x180)]&&_0x2889b0[_0x12e9cb(0x16f)](_0x18af9a=>{const _0x541a80=_0x12e9cb;_0x199290[_0x541a80(0x138)](_0x18af9a),this[_0x541a80(0x137)](new _0x4f37d0(_0x541a80(0x18e),this,{'commandId':_0x18af9a}),!0x0);});}}function _0x4bcf(){const _0x2b35bf=['_onReviewCheckRun','diffContent','_diffContent','4613040QqCRaD','hover','filter','viewportOffset','replaceAll','_getChecksList','checks','407499qQmDQu','uiInteraction','21VWbyvA','editing','setMarkersInElementAsActive','_getModels','context','_getTranslationWithDefault','_filterChecksWithMissingModel','_getExtraChecks','listenTo','_aiReviewCoreEditing','custom','_onDiffChange','ai.review.extraCommands','1095595CxHRSI','ck-ai_review-','ai-review-mode-non-existent-commands-used','changeId','args','_onChangeMarkerClicked','default','toggleDiff','some','define','label','_onChangeMarkerBlurred','isExtra','getClassNames','resetActiveStateInResults','title','all','_createReviewCheckRun','_markChangePositionInEditorContent','_onDeactivateChange','41620phVgNG','_isDiffOn','forEach','options','push','_OPTIONS_DATA_','8HzeFts','_DESCRIPTION','_initRequiredPlugins','deactivateChange','getElement','getEditor','_onReviewCheckResultDeactivated','map','ai.review.availableCommands','_translateReviewCheck','config','_scrollToChange','recommended','length','data','_aiConnector','_aiReviewCoreUi','locale','_OPTIONS_LABEL','hideChangeBalloon','change','_onActivateChange','ai-review-mode-models-unable-to-retrieve','origin','_onChangeMarkerHovered','AI_REVIEW_CHECK_','1058830qxcxbY','ai-review-mode-command-unavailable-due-to-missing-model','defaultModel','AIReviewModeUI','params','_TITLE','getRoot','1639074gDGVSe','document','getDocumentData','AIReviewModeController','_logErrorForNonExistentChecks','_getChangeContentElement','markerElement','5093uKNiFM','panel','init','showChangeBalloon','removeClass','ck-ai_review-diff','10138662ecGxYw','12FeeBPu','domEvent','getDefault','showDiffInBalloon','_currentReviewCheckRun','getChangeById','_onReviewCheckResultActivated','description','content','pluginName','getDomRoot','click','setActiveStateInResults','setupChecks','view','prompt','toUpperCase','startsWith','join','isAnyChangeActivated','getAll','addClass','models','hideDiffInBalloon','getAvailableModels','model','ai.models','ck-ai_review-highlights','markChangePositionInEditorContent','setAllMarkersAsInactive','balloon','isCustom','plugins','_logError','removeCheckById','activateChange','find','_hasDefaultAvailableCommands','get','getMarkerElementForChange','_changeActivationSource','AIReviewCoreEditing'];_0x4bcf=function(){return _0x2b35bf;};return _0x4bcf();}
|
|
23
|
+
const _0x5d6756=_0x4401;(function(_0x3a4bfb,_0x47443d){const _0x3296c1=_0x4401,_0x23110f=_0x3a4bfb();while(!![]){try{const _0x5df1c0=-parseInt(_0x3296c1(0x1ee))/0x1+-parseInt(_0x3296c1(0x188))/0x2+-parseInt(_0x3296c1(0x207))/0x3*(-parseInt(_0x3296c1(0x1d8))/0x4)+parseInt(_0x3296c1(0x1ff))/0x5+-parseInt(_0x3296c1(0x18d))/0x6*(parseInt(_0x3296c1(0x1e7))/0x7)+parseInt(_0x3296c1(0x1de))/0x8*(parseInt(_0x3296c1(0x197))/0x9)+-parseInt(_0x3296c1(0x1ab))/0xa*(-parseInt(_0x3296c1(0x195))/0xb);if(_0x5df1c0===_0x47443d)break;else _0x23110f['push'](_0x23110f['shift']());}catch(_0xe0816f){_0x23110f['push'](_0x23110f['shift']());}}}(_0x10cf,0xd1897));function _0x10cf(){const _0x5da3a8=['showChangeBalloon','AI_REVIEW_CHECK_','prompt','init','_aiReviewCoreEditing','model','_translateReviewCheck','click','_onDeactivateChange','_onChangeMarkerBlurred','_changeActivationSource','_DESCRIPTION','editing','origin','_logErrorForNonExistentChecks','change','_initRequiredPlugins','_aiConnector','ck-ai_review-diff','_OPTIONS_DATA_','setupChecks','_markChangePositionInEditorContent','hideDiffInBalloon','getAvailableModels','isCustom','getDocumentData','params','context','changeId','some','_onReviewCheckResultDeactivated','toUpperCase','_getModels','_hasDefaultAvailableCommands','label','_createReviewCheckRun','default','_onDiffChange','removeClass','getAll','AIReviewModeController','setActiveStateInResults','view','4NCNYLA','viewportOffset','toggleDiff','_diffContent','getElement','models','6044816ntbBDD','replaceAll','listenTo','data','forEach','config','pluginName','removeCheckById','diffContent','5243FsBCfo','length','AIReviewCoreEditing','join','_onActivateChange','_getChangeContentElement','AIReviewModeUI','797986gGSvch','_filterChecksWithMissingModel','description','uiInteraction','plugins','startsWith','_getTranslationWithDefault','all','find','_onReviewCheckRun','activateChange','getClassNames','_aiReviewCoreUi','_onReviewCheckResultActivated','panel','ai.review.availableCommands','get','8549960BRKHHk','checks','_getExtraChecks','getMarkerElementForChange','_onChangeMarkerHovered','_isDiffOn','deactivateChange','options','1955361mYDKxf','ai.models','map','filter','ai-review-mode-models-unable-to-retrieve','resetActiveStateInResults','document','isAnyChangeActivated','getRoot','custom','balloon','setMarkersInElementAsActive','_currentReviewCheckRun','2814322GGXsWI','_getChecksList','_logError','getDefault','define','7356kTmMBp','defaultModel','ck-ai_review-','markerElement','ai-review-mode-non-existent-commands-used','ai.review.extraCommands','showDiffInBalloon','hideChangeBalloon','3993ZSMyQQ','locale','9EtVPkt','title','getEditor','_scrollToChange','_onChangeMarkerClicked','ai-review-mode-command-unavailable-due-to-missing-model','markChangePositionInEditorContent','domEvent','addClass','getDomRoot','args','ck-ai_review-highlights','hover','_TITLE','getChangeById','isExtra','setAllMarkersAsInactive','recommended','content','_OPTIONS_LABEL','23810TtuQDd','push'];_0x10cf=function(){return _0x5da3a8;};return _0x10cf();}import{CKEditorError as _0x2556fc}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x367994}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x5e7fc6}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x45dcab}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x10e247}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x401cf}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x47faa1}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x4c1c0f}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0xdc2648}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x430a10}from'./model/aireviewextracheckrun.js';function _0x4401(_0x30e46e,_0x35ddf9){const _0x10cf12=_0x10cf();return _0x4401=function(_0x44019e,_0x15601f){_0x44019e=_0x44019e-0x180;let _0x2ad3b6=_0x10cf12[_0x44019e];return _0x2ad3b6;},_0x4401(_0x30e46e,_0x35ddf9);}export class AIReviewModeController extends _0x367994{static get[_0x5d6756(0x1e4)](){const _0x1b36f1=_0x5d6756;return _0x1b36f1(0x1d5);}[_0x5d6756(0x204)]=!0x1;[_0x5d6756(0x1ce)]=!0x1;constructor(_0x894ea3){const _0x568167=_0x5d6756;super(_0x894ea3),this[_0x568167(0x1ce)]=!this[_0x568167(0x1c8)][_0x568167(0x1e3)][_0x568167(0x1fe)](_0x568167(0x1fd)),this[_0x568167(0x1c8)][_0x568167(0x1e3)][_0x568167(0x18c)](_0x568167(0x1fd),_0x5e7fc6[_0x568167(0x209)](_0x15c4b9=>_0x15c4b9['id'])),this[_0x568167(0x1c8)][_0x568167(0x1e3)][_0x568167(0x18c)](_0x568167(0x192),[]);}async[_0x5d6756(0x1b0)](){const _0x1c594d=_0x5d6756;await super[_0x1c594d(0x1b0)](),this[_0x1c594d(0x1e0)](this[_0x1c594d(0x1fa)],_0x1c594d(0x1da),(_0x1f69b8,_0xf90fa2)=>{const _0x2d9ab4=_0x1c594d;this[_0x2d9ab4(0x204)]=_0xf90fa2['on'],this[_0x2d9ab4(0x1d2)](this[_0x2d9ab4(0x204)]);});}[_0x5d6756(0x1bd)](){const _0x2dc68c=_0x5d6756;super[_0x2dc68c(0x1bd)](),this[_0x2dc68c(0x1fa)]=this[_0x2dc68c(0x1c8)][_0x2dc68c(0x1f2)][_0x2dc68c(0x1fe)](_0x2dc68c(0x1ed)),this[_0x2dc68c(0x1b1)]=this[_0x2dc68c(0x1c8)][_0x2dc68c(0x1f2)][_0x2dc68c(0x1fe)](_0x2dc68c(0x1e9));}[_0x5d6756(0x1d0)](_0x41dadf,_0x4306a5){const _0x5c4076=_0x5d6756;return _0x41dadf[_0x5c4076(0x1c5)]?new _0x10e247(_0x41dadf[_0x5c4076(0x1a1)][_0x5c4076(0x1af)],_0x41dadf[_0x5c4076(0x1a1)][_0x5c4076(0x1b2)],this[_0x5c4076(0x1b1)][_0x5c4076(0x1c6)](),_0x4306a5,this[_0x5c4076(0x1be)]):_0x4306a5[_0x5c4076(0x1a6)]?new _0x430a10(_0x4306a5[_0x5c4076(0x1af)],_0x4306a5[_0x5c4076(0x18e)]['id'],this[_0x5c4076(0x1b1)][_0x5c4076(0x1c6)](),_0x4306a5,this[_0x5c4076(0x1be)]):new _0x401cf(this[_0x5c4076(0x1b1)][_0x5c4076(0x1c6)](),_0x4306a5,this[_0x5c4076(0x1be)],_0x41dadf[_0x5c4076(0x1c7)],_0x41dadf[_0x5c4076(0x1a1)]);}[_0x5d6756(0x1fb)](_0x1989be){const _0x2ba9b2=_0x5d6756;this[_0x2ba9b2(0x1fa)][_0x2ba9b2(0x1d6)](_0x1989be[_0x2ba9b2(0x1bc)]['id']),this[_0x2ba9b2(0x19a)](_0x1989be[_0x2ba9b2(0x1bc)]['id']);const _0x4f7ae0=this[_0x2ba9b2(0x1b1)][_0x2ba9b2(0x202)](_0x1989be[_0x2ba9b2(0x1bc)]['id']);if(!_0x4f7ae0)return;const _0x5419c6=this[_0x2ba9b2(0x1b1)][_0x2ba9b2(0x199)]();this[_0x2ba9b2(0x1fa)][_0x2ba9b2(0x1ad)](_0x1989be[_0x2ba9b2(0x1bc)],()=>_0x4f7ae0[_0x2ba9b2(0x1dc)](),void 0x0,_0x2ba9b2(0x1b4),_0x5419c6?.[_0x2ba9b2(0x1b9)]?.[_0x2ba9b2(0x1d7)]?.[_0x2ba9b2(0x1a0)](),_0x5419c6?.['ui']?.[_0x2ba9b2(0x1d9)]),this[_0x2ba9b2(0x1b1)][_0x2ba9b2(0x186)](_0x1989be[_0x2ba9b2(0x1bc)]['id']);}[_0x5d6756(0x1cb)](){const _0x4f279f=_0x5d6756;this[_0x4f279f(0x1fa)][_0x4f279f(0x180)](),this[_0x4f279f(0x1fa)][_0x4f279f(0x194)](),this[_0x4f279f(0x1b1)][_0x4f279f(0x1a7)]();}[_0x5d6756(0x1eb)](_0x4da27f){const _0x1684ba=_0x5d6756;this[_0x1684ba(0x187)]&&_0x1684ba(0x1b4)===_0x4da27f[_0x1684ba(0x1f1)]&&(this[_0x1684ba(0x1b7)]=_0x1684ba(0x1fc),this[_0x1684ba(0x187)][_0x1684ba(0x1f8)](_0x4da27f['id']));}[_0x5d6756(0x1b5)](_0x46617f){const _0x27f8ab=_0x5d6756;this[_0x27f8ab(0x187)]&&_0x27f8ab(0x185)===_0x46617f[_0x27f8ab(0x1ba)]&&this[_0x27f8ab(0x187)][_0x27f8ab(0x205)]();}[_0x5d6756(0x19b)](_0x12752e,_0x911a9){const _0x3eff51=_0x5d6756;if(!this[_0x3eff51(0x187)])return;this[_0x3eff51(0x1b7)]=_0x3eff51(0x1a9),this[_0x3eff51(0x187)][_0x3eff51(0x1f8)](_0x911a9[_0x3eff51(0x1c9)]);const _0x5df81a=this[_0x3eff51(0x187)][_0x3eff51(0x1a5)](_0x911a9[_0x3eff51(0x1c9)]);if(!_0x5df81a)return;const _0x3a8c8b=this[_0x3eff51(0x1b1)][_0x3eff51(0x199)]();this[_0x3eff51(0x1fa)][_0x3eff51(0x1ad)](_0x5df81a,_0x911a9[_0x3eff51(0x190)],_0x911a9[_0x3eff51(0x19e)],_0x3eff51(0x1b4),_0x3a8c8b?.[_0x3eff51(0x1b9)]?.[_0x3eff51(0x1d7)]?.[_0x3eff51(0x1a0)](),_0x3a8c8b?.['ui']?.[_0x3eff51(0x1d9)]);}[_0x5d6756(0x203)](_0x3a1620,_0x2d6490){const _0x112fff=_0x5d6756;if(!this[_0x112fff(0x187)])return;if(this[_0x112fff(0x187)][_0x112fff(0x182)]())return;const _0x10f8bd=this[_0x112fff(0x187)][_0x112fff(0x1a5)](_0x2d6490[_0x112fff(0x1c9)]);if(!_0x10f8bd)return;const _0x2eca63=this[_0x112fff(0x1b1)][_0x112fff(0x199)]();this[_0x112fff(0x1fa)][_0x112fff(0x1ad)](_0x10f8bd,_0x2d6490[_0x112fff(0x190)],_0x2d6490[_0x112fff(0x19e)],_0x112fff(0x1a3),_0x2eca63?.[_0x112fff(0x1b9)]?.[_0x112fff(0x1d7)]?.[_0x112fff(0x1a0)](),_0x2eca63?.['ui']?.[_0x112fff(0x1d9)]);}[_0x5d6756(0x1b6)](){const _0x54e3ff=_0x5d6756;if(!this[_0x54e3ff(0x187)])return;this[_0x54e3ff(0x187)][_0x54e3ff(0x182)]()||this[_0x54e3ff(0x1fa)][_0x54e3ff(0x194)]();}[_0x5d6756(0x1ec)](_0x1a61e1){const _0x47fef9=_0x5d6756,_0x410e04=this[_0x47fef9(0x1b1)][_0x47fef9(0x202)](_0x1a61e1);return _0x410e04?_0x410e04[_0x47fef9(0x1dc)]():null;}[_0x5d6756(0x1c2)](_0x22ebca,_0x4883fd){const _0x3fb7bf=_0x5d6756;this[_0x3fb7bf(0x1b1)][_0x3fb7bf(0x19d)](_0x22ebca,_0x4883fd);}[_0x5d6756(0x1db)](_0x24b441,_0x44a335){const _0x4f9426=_0x5d6756;return this[_0x4f9426(0x1b1)][_0x4f9426(0x1e6)](_0x24b441,_0x44a335);}[_0x5d6756(0x1f7)](){const _0x5c4492=_0x5d6756;this[_0x5c4492(0x1d2)](this[_0x5c4492(0x204)]);}[_0x5d6756(0x1d2)](_0x4e9a2f){const _0x424fc8=_0x5d6756,_0x5f50ca=this[_0x424fc8(0x1b1)][_0x424fc8(0x199)]();_0x4e9a2f?this[_0x424fc8(0x1fa)][_0x424fc8(0x1c3)]():this[_0x424fc8(0x1fa)][_0x424fc8(0x193)](),_0x5f50ca&&_0x5f50ca[_0x424fc8(0x1b9)][_0x424fc8(0x1d7)][_0x424fc8(0x1bc)](_0x2158af=>{const _0x5421b0=_0x424fc8,_0x7206a5=_0x5f50ca[_0x5421b0(0x1b9)][_0x5421b0(0x1d7)][_0x5421b0(0x181)][_0x5421b0(0x183)]();for(const _0x255204 of _0x7206a5[_0x5421b0(0x1f9)]())_0x255204[_0x5421b0(0x1f3)](_0x5421b0(0x18f))&&_0x2158af[_0x5421b0(0x1d3)](_0x255204,_0x7206a5);_0x2158af[_0x5421b0(0x19f)](_0x4e9a2f?_0x5421b0(0x1bf):_0x5421b0(0x1a2),_0x7206a5);});}async[_0x5d6756(0x189)](){const _0x2f935c=_0x5d6756,_0x40a6a1=[..._0x5e7fc6,...this[_0x2f935c(0x201)]()],_0x52f7a7=this[_0x2f935c(0x1c8)][_0x2f935c(0x1e3)][_0x2f935c(0x1fe)](_0x2f935c(0x1fd))||[];this[_0x2f935c(0x1bb)](_0x52f7a7,_0x40a6a1);let _0x18afaf=_0x40a6a1;this[_0x2f935c(0x1ce)]||(_0x18afaf=_0x52f7a7[_0x2f935c(0x209)](_0x4a6e40=>_0x40a6a1[_0x2f935c(0x1f6)](_0x5f0da2=>_0x5f0da2['id']===_0x4a6e40))[_0x2f935c(0x20a)](_0x4430d5=>!!_0x4430d5)),_0x18afaf=_0x18afaf[_0x2f935c(0x209)](_0x5d626d=>_0x5d626d[_0x2f935c(0x1a6)]?_0x5d626d:this[_0x2f935c(0x1b3)](_0x5d626d));const _0x2ff056=_0x18afaf[_0x2f935c(0x1ca)](_0x53dfa5=>_0x53dfa5[_0x2f935c(0x1a6)]||_0x2f935c(0x184)===_0x53dfa5['id']);let _0x390860=[],_0x40441e=[],_0x1dfa78=null;if(_0x2ff056){const _0x3b23bb=await this[_0x2f935c(0x1cd)]();_0x390860=_0x3b23bb[_0x2f935c(0x1f5)],_0x40441e=_0x3b23bb[_0x2f935c(0x1a8)],_0x1dfa78=_0x3b23bb[_0x2f935c(0x1d1)];}const _0x2042e0=new _0x45dcab(_0x390860,_0x40441e,_0x1dfa78);return _0x2042e0[_0x2f935c(0x1c1)](_0x18afaf),_0x2ff056&&this[_0x2f935c(0x1ef)](_0x2042e0),_0x2042e0;}[_0x5d6756(0x201)](){const _0x224645=_0x5d6756;return(this[_0x224645(0x1c8)][_0x224645(0x1e3)][_0x224645(0x1fe)](_0x224645(0x192))||[])[_0x224645(0x209)](_0x45504f=>({'id':_0x45504f['id'],'commandId':_0x45504f['id'],'title':_0x45504f[_0x224645(0x1cf)],'description':_0x45504f[_0x224645(0x1f0)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x45504f[_0x224645(0x1af)],'model':_0x45504f[_0x224645(0x1b2)]}));}[_0x5d6756(0x1bb)](_0x568b1e,_0x544b4d){const _0x27959c=_0x5d6756,_0x3e2c2d=_0x568b1e[_0x27959c(0x20a)](_0x424f83=>!_0x544b4d[_0x27959c(0x1ca)](_0x12c3b2=>_0x12c3b2['id']===_0x424f83));_0x3e2c2d[_0x27959c(0x1e8)]&&this[_0x27959c(0x18a)](new _0x2556fc(_0x27959c(0x191),this,{'commandIds':_0x3e2c2d[_0x27959c(0x1ea)](',\x20')}),!0x0);}async[_0x5d6756(0x1cd)](){const _0x5a3713=_0x5d6756;try{const _0x36ee80=new _0x47faa1({'connector':this[_0x5a3713(0x1be)],'config':this[_0x5a3713(0x1c8)][_0x5a3713(0x1e3)][_0x5a3713(0x1fe)](_0x5a3713(0x208)),'locale':this[_0x5a3713(0x1c8)][_0x5a3713(0x196)]});return{'all':await _0x36ee80[_0x5a3713(0x1d4)](),'recommended':await _0x36ee80[_0x5a3713(0x1c4)](),'default':await _0x36ee80[_0x5a3713(0x18b)]()};}catch(_0x1faa23){return this[_0x5a3713(0x18a)](new _0x2556fc(_0x5a3713(0x20b),this,void 0x0,_0x1faa23)),{'all':[],'recommended':[],'default':null};}}[_0x5d6756(0x1b3)](_0x1d9dae){const _0x557c63=_0x5d6756,_0x18bbb5=_0x557c63(0x1ae)+_0x1d9dae['id'][_0x557c63(0x1cc)]()[_0x557c63(0x1df)]('-','_'),_0x17d0be={..._0x1d9dae,'title':this[_0x557c63(0x1f4)](_0x18bbb5+_0x557c63(0x1a4),_0x1d9dae[_0x557c63(0x198)]),'description':this[_0x557c63(0x1f4)](_0x18bbb5+_0x557c63(0x1b8),_0x1d9dae[_0x557c63(0x1f0)])};return _0x1d9dae[_0x557c63(0x206)]&&(_0x17d0be[_0x557c63(0x206)]=_0x1d9dae[_0x557c63(0x206)][_0x557c63(0x209)](_0x24282f=>({..._0x24282f,'label':this[_0x557c63(0x1f4)](_0x18bbb5+_0x557c63(0x1aa),_0x24282f[_0x557c63(0x1cf)]||''),'data':_0x24282f[_0x557c63(0x1e1)]?_0x24282f[_0x557c63(0x1e1)][_0x557c63(0x209)](_0x4c011e=>({..._0x4c011e,'label':this[_0x557c63(0x1f4)](_0x18bbb5+_0x557c63(0x1c0)+_0x4c011e['id'][_0x557c63(0x1cc)](),_0x4c011e[_0x557c63(0x1cf)])})):void 0x0}))),_0x17d0be;}[_0x5d6756(0x1ef)](_0x3dc01b){const _0x4fc69d=_0x5d6756,_0x2f0217=[];_0x3dc01b[_0x4fc69d(0x200)][_0x4fc69d(0x1e2)](_0x1ca818=>{const _0x1dc9bd=_0x4fc69d;(_0x1ca818 instanceof _0xdc2648&&!_0x1ca818[_0x1dc9bd(0x18e)]||_0x1ca818 instanceof _0x4c1c0f&&!_0x1ca818[_0x1dc9bd(0x1dd)][_0x1dc9bd(0x1e8)])&&_0x2f0217[_0x1dc9bd(0x1ac)](_0x1ca818['id']);}),_0x2f0217[_0x4fc69d(0x1e8)]&&_0x2f0217[_0x4fc69d(0x1e2)](_0x3c60a7=>{const _0x43ec1a=_0x4fc69d;_0x3dc01b[_0x43ec1a(0x1e5)](_0x3c60a7),this[_0x43ec1a(0x18a)](new _0x2556fc(_0x43ec1a(0x19c),this,{'commandId':_0x3c60a7}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x405281=_0x537b;function _0x4bb0(){const _0x54e532=['addTab','createMainView','414990SXKKtn','leaveReview','128988QtmLXO','plugins','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','locale','ck-ai-header\x20ck-ai-header_review','reviewMode','context','1542lApFAO','AITabs','3VXdnze','getReviewCheckList','get','732040rJinAA','_mainView','AI_REVIEW_MODE','89326DJDXrJ','view','registerTab','706815qVHLgG','AIReviewModeUI','fire','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','activateTab','1646408qHPJFL','pluginName','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','3031nWRMSI','20TKhVGn'];_0x4bb0=function(){return _0x54e532;};return _0x4bb0();}(function(_0x1eaff4,_0x4dc9cb){const _0x5ed6f0=_0x537b,_0x16fc12=_0x1eaff4();while(!![]){try{const _0x4b3b68=-parseInt(_0x5ed6f0(0x115))/0x1*(parseInt(_0x5ed6f0(0x11b))/0x2)+-parseInt(_0x5ed6f0(0x10a))/0x3+parseInt(_0x5ed6f0(0x10c))/0x4*(parseInt(_0x5ed6f0(0x107))/0x5)+-parseInt(_0x5ed6f0(0x113))/0x6*(parseInt(_0x5ed6f0(0x106))/0x7)+parseInt(_0x5ed6f0(0x102))/0x8+parseInt(_0x5ed6f0(0x11e))/0x9+parseInt(_0x5ed6f0(0x118))/0xa;if(_0x4b3b68===_0x4dc9cb)break;else _0x16fc12['push'](_0x16fc12['shift']());}catch(_0x5dc466){_0x16fc12['push'](_0x16fc12['shift']());}}}(_0x4bb0,0x19210));import{FormHeaderView as _0x59f76c}from'ckeditor5/src/ui.js';import{IconAIReview as _0x2a150d}from'ckeditor5/src/icons.js';import{getTranslation as _0xc81d91}from'../aicore/utils/common-translations.js';function _0x537b(_0x589640,_0x5ba6fb){const _0x4bb066=_0x4bb0();return _0x537b=function(_0x537b3b,_0x9af9b1){_0x537b3b=_0x537b3b-0x100;let _0x2eb4ff=_0x4bb066[_0x537b3b];return _0x2eb4ff;},_0x537b(_0x589640,_0x5ba6fb);}import{AIReviewCoreView as _0xda5442}from'../aireviewcore/ui/aireviewcoreview.js';import{AIReviewCoreUI as _0x431673}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0x5c3150}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x48cf16}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0xdc2a53}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x431673{static get[_0x405281(0x103)](){const _0x38b7c4=_0x405281;return _0x38b7c4(0x11f);}[_0x405281(0x109)](){const _0x5183a2=_0x405281,_0x1fc8e5=this[_0x5183a2(0x112)][_0x5183a2(0x10f)],_0x146147=new _0x59f76c(_0x1fc8e5,{'label':_0xc81d91(_0x1fc8e5,_0x5183a2(0x11a)),'icon':_0x2a150d,'class':_0x5183a2(0x110)});return new _0xda5442(this[_0x5183a2(0x112)][_0x5183a2(0x10f)],{'header':_0x146147,'list':new _0xdc2a53(_0x1fc8e5),'results':new _0x5c3150(_0x1fc8e5,{'generalErrorText':_0xc81d91(_0x1fc8e5,_0x5183a2(0x104))}),'completed':new _0x48cf16(_0x1fc8e5,{'headerText':_0xc81d91(_0x1fc8e5,_0x5183a2(0x105)),'emptyResultsText':_0xc81d91(_0x1fc8e5,_0x5183a2(0x10e)),'buttonText':_0xc81d91(_0x1fc8e5,_0x5183a2(0x100))})});}[_0x405281(0x11d)](){const _0xb5bd1b=_0x405281,_0x4d7032=this[_0xb5bd1b(0x112)][_0xb5bd1b(0x10d)][_0xb5bd1b(0x117)](_0xb5bd1b(0x114));_0x4d7032[_0xb5bd1b(0x11c)]['on'](_0xb5bd1b(0x101),(_0x194722,_0x431fb)=>{const _0x34483d=_0xb5bd1b;_0x34483d(0x111)===_0x431fb?this[_0x34483d(0x120)](_0x34483d(0x116)):this[_0x34483d(0x120)](_0x34483d(0x10b));}),_0x4d7032[_0xb5bd1b(0x11c)][_0xb5bd1b(0x108)]({'id':_0xb5bd1b(0x111),'buttonLabel':_0xc81d91(this[_0xb5bd1b(0x112)][_0xb5bd1b(0x10f)],_0xb5bd1b(0x11a)),'buttonIcon':_0x2a150d,'order':0x0,'content':this[_0xb5bd1b(0x119)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x135412=_0x5f2a;(function(_0x3a3191,_0x447d74){var _0x3bbc2f=_0x5f2a,_0x5cbfd0=_0x3a3191();while(!![]){try{var _0x5d7a0d=parseInt(_0x3bbc2f(0x199))/0x1*(parseInt(_0x3bbc2f(0x19d))/0x2)+-parseInt(_0x3bbc2f(0x191))/0x3*(-parseInt(_0x3bbc2f(0x198))/0x4)+parseInt(_0x3bbc2f(0x19a))/0x5*(parseInt(_0x3bbc2f(0x193))/0x6)+-parseInt(_0x3bbc2f(0x195))/0x7*(-parseInt(_0x3bbc2f(0x19c))/0x8)+-parseInt(_0x3bbc2f(0x197))/0x9+parseInt(_0x3bbc2f(0x192))/0xa+-parseInt(_0x3bbc2f(0x190))/0xb;if(_0x5d7a0d===_0x447d74)break;else _0x5cbfd0['push'](_0x5cbfd0['shift']());}catch(_0x4bd582){_0x5cbfd0['push'](_0x5cbfd0['shift']());}}}(_0x3e34,0xa7251));function _0x5f2a(_0x32e654,_0x50a9ad){var _0x3e34d0=_0x3e34();return _0x5f2a=function(_0x5f2a16,_0x3ed2b4){_0x5f2a16=_0x5f2a16-0x18f;var _0x2fd2e0=_0x3e34d0[_0x5f2a16];return _0x2fd2e0;},_0x5f2a(_0x32e654,_0x50a9ad);}import{AIReviewCheck as _0x3fc97b}from'../../aireviewcore/model/aireviewcheck.js';function _0x3e34(){var _0x1e6028=['6BKGAOu','_models','14742244fYtCdK','531JZgYPD','8584420NQxPlS','936FSuigj','models','28cndkQZ','_defaultModel','9519903PWqvMc','30204MuyQgW','18949BVEARF','21095oXjQpf','defaultModel','345232IXSNXd'];_0x3e34=function(){return _0x1e6028;};return _0x3e34();}export class AIReviewCheckCustom extends _0x3fc97b{[_0x135412(0x18f)]=[];[_0x135412(0x196)]=null;constructor(_0x59e359,_0x3100f2,_0x3bbc03){var _0x67f52d=_0x135412;super(_0x59e359),this[_0x67f52d(0x18f)]=_0x3100f2,this[_0x67f52d(0x196)]=_0x3bbc03;}get[_0x135412(0x194)](){var _0x1bdd0e=_0x135412;return this[_0x1bdd0e(0x18f)];}get[_0x135412(0x19b)](){var _0x200192=_0x135412;return this[_0x200192(0x196)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2e96(_0x35bbe7,_0x4aed86){var _0x506f58=_0x506f();return _0x2e96=function(_0x2e96c0,_0x5eaffc){_0x2e96c0=_0x2e96c0-0xc4;var _0xaa47e9=_0x506f58[_0x2e96c0];return _0xaa47e9;},_0x2e96(_0x35bbe7,_0x4aed86);}var _0xc2bcfb=_0x2e96;(function(_0x7b2adb,_0x21bc84){var _0x461a82=_0x2e96,_0x2b1698=_0x7b2adb();while(!![]){try{var _0x49c342=-parseInt(_0x461a82(0xcf))/0x1+parseInt(_0x461a82(0xcd))/0x2*(parseInt(_0x461a82(0xc8))/0x3)+parseInt(_0x461a82(0xc4))/0x4+parseInt(_0x461a82(0xc6))/0x5+-parseInt(_0x461a82(0xc5))/0x6*(-parseInt(_0x461a82(0xcc))/0x7)+parseInt(_0x461a82(0xc9))/0x8+-parseInt(_0x461a82(0xd0))/0x9;if(_0x49c342===_0x21bc84)break;else _0x2b1698['push'](_0x2b1698['shift']());}catch(_0xcadca1){_0x2b1698['push'](_0x2b1698['shift']());}}}(_0x506f,0x9faee));import{AIReviewCheck as _0x133efd}from'../../aireviewcore/model/aireviewcheck.js';function _0x506f(){var _0x571870=['isExtra','369nZPiqH','2879048RDcjKn','model','defaultModel','7eDQCLg','6458DENVGr','_defaultModel','1131107wjajRk','14400279LqreCH','find','prompt','4304680zZtYsD','5337078psOwDM','3312345LkLHMX'];_0x506f=function(){return _0x571870;};return _0x506f();}export class AIReviewCheckExtra extends _0x133efd{[_0xc2bcfb(0xc7)]=!0x0;[_0xc2bcfb(0xd2)];[_0xc2bcfb(0xca)];[_0xc2bcfb(0xce)]=null;constructor(_0x4ef40b,_0x4d1dfd,_0x3e8df6){var _0x5121c4=_0xc2bcfb;super(_0x4ef40b),this[_0x5121c4(0xd2)]=_0x4ef40b[_0x5121c4(0xd2)],this[_0x5121c4(0xca)]=_0x4ef40b[_0x5121c4(0xca)],this[_0x5121c4(0xca)]?this[_0x5121c4(0xce)]=_0x4d1dfd[_0x5121c4(0xd1)](_0x58e5ed=>_0x58e5ed['id']===this[_0x5121c4(0xca)])||null:this[_0x5121c4(0xce)]=_0x3e8df6;}get[_0xc2bcfb(0xcb)](){var _0x653e63=_0xc2bcfb;return this[_0x653e63(0xce)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4ea9c7=_0x5387;function _0x5387(_0x3ff614,_0x3993d1){var _0x3ea39c=_0x3ea3();return _0x5387=function(_0x5387e7,_0x3c3f5e){_0x5387e7=_0x5387e7-0xd4;var _0x3f2e75=_0x3ea39c[_0x5387e7];return _0x3f2e75;},_0x5387(_0x3ff614,_0x3993d1);}(function(_0x57b636,_0x2bd1e8){var _0x417f30=_0x5387,_0x5dec6e=_0x57b636();while(!![]){try{var _0x4f1d34=-parseInt(_0x417f30(0xe6))/0x1+parseInt(_0x417f30(0xdf))/0x2+parseInt(_0x417f30(0xe0))/0x3+-parseInt(_0x417f30(0xe5))/0x4+parseInt(_0x417f30(0xd8))/0x5*(-parseInt(_0x417f30(0xe2))/0x6)+-parseInt(_0x417f30(0xe4))/0x7*(parseInt(_0x417f30(0xd4))/0x8)+parseInt(_0x417f30(0xdd))/0x9;if(_0x4f1d34===_0x2bd1e8)break;else _0x5dec6e['push'](_0x5dec6e['shift']());}catch(_0x17fc2a){_0x5dec6e['push'](_0x5dec6e['shift']());}}}(_0x3ea3,0x775c4));import{AIReviewCheckRun as _0x162aa5}from'../../aireviewcore/model/aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x162aa5{[_0x4ea9c7(0xe1)];[_0x4ea9c7(0xda)];constructor(_0x184dc1,_0x1d9b3c,_0x36b2cc,_0x2ba6f5,_0x3e98a1){var _0x23af7a=_0x4ea9c7;super(_0x36b2cc,_0x2ba6f5,_0x3e98a1),this[_0x23af7a(0xe1)]=_0x184dc1,this[_0x23af7a(0xda)]=_0x1d9b3c;}get[_0x4ea9c7(0xde)](){var _0x348d8a=_0x4ea9c7;return this[_0x348d8a(0xe1)];}[_0x4ea9c7(0xe3)](){var _0x2bddd6=_0x4ea9c7;return this[_0x2bddd6(0xd7)][_0x2bddd6(0xd6)]({'content':this[_0x2bddd6(0xd5)][_0x2bddd6(0xdc)],'prompt':this[_0x2bddd6(0xe1)],'model':this[_0x2bddd6(0xda)]});}[_0x4ea9c7(0xdb)](_0x3f8f59,_0x2739d1,_0x4c5c8e){var _0x3dd87c=_0x4ea9c7;return this[_0x3dd87c(0xd7)][_0x3dd87c(0xd9)](_0x2739d1,_0x3f8f59,_0x4c5c8e);}}function _0x3ea3(){var _0x433a2d=['24jEAPtd','_documentData','callCustomReview','_aiConnector','40XfOKAi','upsertCustomAIReviewRating','_model','_sendRatingRequest','content','3938211JYOteH','subTitle','1443232nSnsVm','2930499ROzlCs','_prompt','356154FRRDmO','_createApiRequest','597611lXHaFK','3412708KCuOsu','62960fbzyGo'];_0x3ea3=function(){return _0x433a2d;};return _0x3ea3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3aef(){var _0x2a3ed1=['183576SpBrad','337XVWqse','model','12jokipp','794475sjHOhJ','22oUxCKf','_prompt','570120tdrpSA','_model','7ClRJPG','1240MEGchU','prompt','500275ahRhwo','subTitle','160698BjlIQc','67008XxihyV'];_0x3aef=function(){return _0x2a3ed1;};return _0x3aef();}function _0x20af(_0x1604d2,_0x19f84e){var _0x3aef84=_0x3aef();return _0x20af=function(_0x20af76,_0x48f222){_0x20af76=_0x20af76-0x1dc;var _0x2c9549=_0x3aef84[_0x20af76];return _0x2c9549;},_0x20af(_0x1604d2,_0x19f84e);}var _0x16d696=_0x20af;(function(_0x5ababc,_0x29a15d){var _0x418b93=_0x20af,_0x5eee51=_0x5ababc();while(!![]){try{var _0x248421=parseInt(_0x418b93(0x1e9))/0x1*(parseInt(_0x418b93(0x1e2))/0x2)+parseInt(_0x418b93(0x1e7))/0x3+-parseInt(_0x418b93(0x1eb))/0x4*(parseInt(_0x418b93(0x1e4))/0x5)+-parseInt(_0x418b93(0x1e6))/0x6*(-parseInt(_0x418b93(0x1e1))/0x7)+parseInt(_0x418b93(0x1e8))/0x8+parseInt(_0x418b93(0x1dc))/0x9+parseInt(_0x418b93(0x1df))/0xa*(parseInt(_0x418b93(0x1dd))/0xb);if(_0x248421===_0x29a15d)break;else _0x5eee51['push'](_0x5eee51['shift']());}catch(_0x5b5085){_0x5eee51['push'](_0x5eee51['shift']());}}}(_0x3aef,0x2cb64));import{AIReviewCustomCheckRun as _0x37dbd9}from'./aireviewcustomcheckrun.js';export class AIReviewExtraCheckRun extends _0x37dbd9{get[_0x16d696(0x1e5)](){return'';}set[_0x16d696(0x1e3)](_0x4a5b31){var _0x473390=_0x16d696;this[_0x473390(0x1de)]=_0x4a5b31;}set[_0x16d696(0x1ea)](_0x599376){var _0x46b781=_0x16d696;this[_0x46b781(0x1e0)]=_0x599376;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x476b49=_0x2f02;function _0x3462(){var _0x186a50=['custom','16499HfQEXd','186117fsCUzY','setupChecks','54102gPvMQN','map','_defaultModel','_allModels','294152IivPzh','343885QiRORK','_checks','_recommendedModels','624330gAexzy','72rIjYek','isExtra','4mMUVhb','50296JMkkMD'];_0x3462=function(){return _0x186a50;};return _0x3462();}(function(_0x1d3385,_0x45197d){var _0x12436c=_0x2f02,_0x47364b=_0x1d3385();while(!![]){try{var _0x5ee9ac=parseInt(_0x12436c(0x170))/0x1*(parseInt(_0x12436c(0x171))/0x2)+parseInt(_0x12436c(0x174))/0x3+parseInt(_0x12436c(0x17a))/0x4+-parseInt(_0x12436c(0x16a))/0x5+-parseInt(_0x12436c(0x176))/0x6+-parseInt(_0x12436c(0x173))/0x7*(-parseInt(_0x12436c(0x16e))/0x8)+-parseInt(_0x12436c(0x16d))/0x9;if(_0x5ee9ac===_0x45197d)break;else _0x47364b['push'](_0x47364b['shift']());}catch(_0x3997c9){_0x47364b['push'](_0x47364b['shift']());}}}(_0x3462,0x1ae8a));import{AIReviewCheckList as _0x48f212}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0x47c9c7}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0x4c9db9}from'./aireviewcheckcustom.js';function _0x2f02(_0x210916,_0x67fc86){var _0x3462b3=_0x3462();return _0x2f02=function(_0x2f021e,_0x281035){_0x2f021e=_0x2f021e-0x16a;var _0x38e67e=_0x3462b3[_0x2f021e];return _0x38e67e;},_0x2f02(_0x210916,_0x67fc86);}import{AIReviewCheckExtra as _0x4f2178}from'./aireviewcheckextra.js';export class AIReviewModeCheckList extends _0x48f212{[_0x476b49(0x179)]=[];[_0x476b49(0x16c)]=[];[_0x476b49(0x178)]=null;constructor(_0x306111,_0x4452c6,_0x5b1108){var _0x2a8aee=_0x476b49;super(),this[_0x2a8aee(0x179)]=_0x306111,this[_0x2a8aee(0x16c)]=_0x4452c6,this[_0x2a8aee(0x178)]=_0x5b1108;}[_0x476b49(0x175)](_0x4653e7){var _0x5e7876=_0x476b49;this[_0x5e7876(0x16b)]=_0x4653e7[_0x5e7876(0x177)](_0x23b9fa=>!0x0===_0x23b9fa[_0x5e7876(0x16f)]?new _0x4f2178(_0x23b9fa,this[_0x5e7876(0x179)],this[_0x5e7876(0x178)]):_0x5e7876(0x172)===_0x23b9fa['id']?new _0x4c9db9(_0x23b9fa,this[_0x5e7876(0x16c)],this[_0x5e7876(0x178)]):new _0x47c9c7(_0x23b9fa));}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4a1007=_0x5028;(function(_0x177465,_0x364409){const _0x4474b3=_0x5028,_0x265ad7=_0x177465();while(!![]){try{const _0x267bf5=parseInt(_0x4474b3(0x149))/0x1+parseInt(_0x4474b3(0x147))/0x2*(parseInt(_0x4474b3(0x123))/0x3)+parseInt(_0x4474b3(0x140))/0x4+-parseInt(_0x4474b3(0x145))/0x5+parseInt(_0x4474b3(0x125))/0x6+parseInt(_0x4474b3(0x14a))/0x7*(-parseInt(_0x4474b3(0x12e))/0x8)+-parseInt(_0x4474b3(0x13e))/0x9;if(_0x267bf5===_0x364409)break;else _0x265ad7['push'](_0x265ad7['shift']());}catch(_0x12f7f1){_0x265ad7['push'](_0x265ad7['shift']());}}}(_0x4880,0x256da));import{ContextPlugin as _0x2bf75c,Editor as _0x5d4b90}from'ckeditor5/src/core.js';function _0x4880(){const _0x272607=['get','pluginName','isPremiumPlugin','isOfficialPlugin','type','resize','1721637GdXNjI','sidebar','1129060mrWsqk','ai-tabs-sidebar-container-element-not-found','right','visibleByDefault','ai-tabs-configuration-not-found','938150NIhJMa','element','198IoPNzz','side','208238ltRBKy','187117ehShNK','focusTracker','view','context','fire','includes','isMaximized','AITabs','resizedTabs','render','1233DxqbaG','ai.container','968538PjWDtc','showResizeButton','set','overlay','switchType','config','container','appendChild','remove','48BbfZCx','ai-tabs-unsupported-ui-type','body','locale','add','ai-tabs-unsupported-ui-side','custom','destroy','bind','switchSide'];_0x4880=function(){return _0x272607;};return _0x4880();}function _0x5028(_0x35de2b,_0x26ca49){const _0x488046=_0x4880();return _0x5028=function(_0x5028ac,_0x2c6978){_0x5028ac=_0x5028ac-0x122;let _0x202117=_0x488046[_0x5028ac];return _0x202117;},_0x5028(_0x35de2b,_0x26ca49);}import{CKEditorError as _0x5184f4}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x2b5c7a,AI_TABS_VIEW_SIDES as _0x403c3f,AI_TABS_VIEW_TYPES as _0x1363d3}from'./aitabsmainview.js';export class AITabs extends _0x2bf75c{[_0x4a1007(0x14c)];[_0x4a1007(0x12b)]=null;[_0x4a1007(0x126)]=!0x0;static get[_0x4a1007(0x139)](){const _0x329f78=_0x4a1007;return _0x329f78(0x151);}static get[_0x4a1007(0x13b)](){return!0x0;}static get[_0x4a1007(0x13a)](){return!0x0;}constructor(_0x1e59e5){const _0x4b0027=_0x4a1007;super(_0x1e59e5);const _0xbc3fd=this[_0x4b0027(0x14d)][_0x4b0027(0x12a)][_0x4b0027(0x138)](_0x4b0027(0x124));if(this[_0x4b0027(0x127)](_0x4b0027(0x148),_0x4b0027(0x142)),!_0xbc3fd)throw new _0x5184f4(_0x4b0027(0x144));if(void 0x0!==_0xbc3fd[_0x4b0027(0x126)]&&(this[_0x4b0027(0x126)]=_0xbc3fd[_0x4b0027(0x126)]),_0x4b0027(0x13f)!==_0xbc3fd[_0x4b0027(0x13c)]&&_0x4b0027(0x128)!==_0xbc3fd[_0x4b0027(0x13c)]||_0xbc3fd[_0x4b0027(0x148)]&&(this[_0x4b0027(0x148)]=_0xbc3fd[_0x4b0027(0x148)]),_0x4b0027(0x13f)===_0xbc3fd[_0x4b0027(0x13c)]){if(this[_0x4b0027(0x12b)]=_0xbc3fd[_0x4b0027(0x146)],this[_0x4b0027(0x127)](_0x4b0027(0x13c),_0x4b0027(0x13f)),!this[_0x4b0027(0x12b)])throw new _0x5184f4(_0x4b0027(0x141));}else _0x4b0027(0x128)===_0xbc3fd[_0x4b0027(0x13c)]?(this[_0x4b0027(0x12b)]=document[_0x4b0027(0x130)],this[_0x4b0027(0x127)](_0x4b0027(0x13c),_0x4b0027(0x128))):(this[_0x4b0027(0x12b)]=null,this[_0x4b0027(0x127)](_0x4b0027(0x13c),_0x4b0027(0x134)));this[_0x4b0027(0x14c)]=new _0x2b5c7a(this[_0x4b0027(0x14d)][_0x4b0027(0x131)],{'side':this[_0x4b0027(0x148)],'type':this[_0x4b0027(0x13c)],'visibleByDefault':void 0x0===_0xbc3fd[_0x4b0027(0x143)]||_0xbc3fd[_0x4b0027(0x143)]}),this[_0x4b0027(0x14c)][_0x4b0027(0x122)](),this[_0x4b0027(0x14c)][_0x4b0027(0x136)](_0x4b0027(0x148))['to'](this,_0x4b0027(0x148)),this[_0x4b0027(0x14c)][_0x4b0027(0x136)](_0x4b0027(0x13c))['to'](this,_0x4b0027(0x13c)),this[_0x4b0027(0x12b)]&&this[_0x4b0027(0x12b)][_0x4b0027(0x12c)](this[_0x4b0027(0x14c)][_0x4b0027(0x146)]),this[_0x4b0027(0x14d)]instanceof _0x5d4b90&&this[_0x4b0027(0x14d)]['ui'][_0x4b0027(0x14b)][_0x4b0027(0x132)](this[_0x4b0027(0x14c)][_0x4b0027(0x146)]);}[_0x4a1007(0x129)](_0x495cb8){const _0x5dd78b=_0x4a1007;if(_0x495cb8&&this[_0x5dd78b(0x13c)]!==_0x495cb8){if(!_0x1363d3[_0x5dd78b(0x14f)](_0x495cb8))throw new _0x5184f4(_0x5dd78b(0x12f));this[_0x5dd78b(0x13c)]=_0x495cb8;}}[_0x4a1007(0x137)](_0x39296d){const _0xebc84=_0x4a1007;if(_0x39296d&&this[_0xebc84(0x148)]!==_0x39296d){if(!_0x403c3f[_0xebc84(0x14f)](_0x39296d))throw new _0x5184f4(_0xebc84(0x133));this[_0xebc84(0x148)]=_0x39296d;}}[_0x4a1007(0x13d)](){const _0x51b0fe=_0x4a1007;this[_0x51b0fe(0x14c)][_0x51b0fe(0x150)]=!this[_0x51b0fe(0x14c)][_0x51b0fe(0x150)],this[_0x51b0fe(0x14e)](_0x51b0fe(0x152),this[_0x51b0fe(0x14c)][_0x51b0fe(0x150)]);}[_0x4a1007(0x135)](){const _0x4b0b68=_0x4a1007;super[_0x4b0b68(0x135)](),this[_0x4b0b68(0x14c)][_0x4b0b68(0x135)](),this[_0x4b0b68(0x14c)][_0x4b0b68(0x146)]&&this[_0x4b0b68(0x14c)][_0x4b0b68(0x146)][_0x4b0b68(0x12d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x341ea7=_0x5dec;(function(_0x558d59,_0x372bf5){const _0x3f31fe=_0x5dec,_0x543f19=_0x558d59();while(!![]){try{const _0x15a838=parseInt(_0x3f31fe(0xda))/0x1*(parseInt(_0x3f31fe(0xcf))/0x2)+-parseInt(_0x3f31fe(0xcd))/0x3*(parseInt(_0x3f31fe(0xcc))/0x4)+-parseInt(_0x3f31fe(0xd0))/0x5*(-parseInt(_0x3f31fe(0xd9))/0x6)+-parseInt(_0x3f31fe(0xc9))/0x7*(-parseInt(_0x3f31fe(0xd2))/0x8)+-parseInt(_0x3f31fe(0xd7))/0x9*(-parseInt(_0x3f31fe(0xdc))/0xa)+parseInt(_0x3f31fe(0xc6))/0xb*(parseInt(_0x3f31fe(0xca))/0xc)+-parseInt(_0x3f31fe(0xc5))/0xd;if(_0x15a838===_0x372bf5)break;else _0x543f19['push'](_0x543f19['shift']());}catch(_0x4a7b4c){_0x543f19['push'](_0x543f19['shift']());}}}(_0x5c64,0x99e64));function _0x5c64(){const _0x10e82a=['ck-ai-tabs__sidebar','bindTemplate','set','withText','ck-ai-tabs','visibleByDefault','right','extendTemplate','14038388mrJmPD','2304841iloVvP','sidebar','buttonViews','609RSSfBF','36fnbuBW','custom','16UcAglJ','869223vPGCIT','ck-ai-tabs__overlay','2DkOvNE','1721275eCxRSz','ck-hidden','84880pthqoz','side','isVisible','overlay','type','36ayRLHi','add','12qFTGXR','330439QfbAIh','left','746500VbgIgg'];_0x5c64=function(){return _0x10e82a;};return _0x5c64();}import{AITabsView as _0x25382d}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x5dec(_0x1806f2,_0x48018a){const _0x5c6466=_0x5c64();return _0x5dec=function(_0x5dec88,_0x2e1253){_0x5dec88=_0x5dec88-0xc2;let _0x281649=_0x5c6466[_0x5dec88];return _0x281649;},_0x5dec(_0x1806f2,_0x48018a);}export const AI_TABS_VIEW_TYPES=[_0x341ea7(0xd5),_0x341ea7(0xc7),_0x341ea7(0xcb)];export const AI_TABS_VIEW_SIDES=[_0x341ea7(0xdb),_0x341ea7(0xc3)];export class AITabsMainView extends _0x25382d{constructor(_0x74644e,_0x54df13={}){const _0x1196f9=_0x341ea7;super(_0x74644e,_0x54df13),this[_0x1196f9(0xdf)](_0x1196f9(0xd6),_0x54df13[_0x1196f9(0xd6)]||_0x1196f9(0xc7)),this[_0x1196f9(0xdf)](_0x1196f9(0xd3),_0x54df13[_0x1196f9(0xd3)]||_0x1196f9(0xc3)),this[_0x1196f9(0xdf)](_0x1196f9(0xd4),_0x54df13[_0x1196f9(0xc2)]??!0x0);const _0x3a967c=this[_0x1196f9(0xde)];this[_0x1196f9(0xc4)]({'attributes':{'class':[_0x1196f9(0xe1),_0x3a967c['if'](_0x1196f9(0xd6),_0x1196f9(0xce),_0x40c398=>_0x1196f9(0xd5)===_0x40c398),_0x3a967c['if'](_0x1196f9(0xd6),_0x1196f9(0xdd),_0x4204bc=>_0x1196f9(0xc7)===_0x4204bc),_0x3a967c['if'](_0x1196f9(0xd4),_0x1196f9(0xd1),_0x2f0e99=>!_0x2f0e99)]}}),this[_0x1196f9(0xc8)]['on'](_0x1196f9(0xd8),(_0x23bf1b,_0x4ff3ff)=>{const _0x20e44e=_0x1196f9;_0x4ff3ff[_0x20e44e(0xdf)](_0x20e44e(0xe0),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x226bcb=_0x105b;(function(_0x2e65b9,_0x2ab156){const _0x43759e=_0x105b,_0x23f66f=_0x2e65b9();while(!![]){try{const _0x20c02d=-parseInt(_0x43759e(0x1ed))/0x1*(parseInt(_0x43759e(0x215))/0x2)+-parseInt(_0x43759e(0x201))/0x3*(-parseInt(_0x43759e(0x1da))/0x4)+-parseInt(_0x43759e(0x1fb))/0x5+parseInt(_0x43759e(0x203))/0x6+parseInt(_0x43759e(0x1f7))/0x7*(parseInt(_0x43759e(0x1ec))/0x8)+parseInt(_0x43759e(0x1df))/0x9*(-parseInt(_0x43759e(0x1e9))/0xa)+parseInt(_0x43759e(0x1e0))/0xb*(-parseInt(_0x43759e(0x1ef))/0xc);if(_0x20c02d===_0x2ab156)break;else _0x23f66f['push'](_0x23f66f['shift']());}catch(_0x2f05d2){_0x23f66f['push'](_0x23f66f['shift']());}}}(_0x221b,0xa3220));import{View as _0x1caefc}from'ckeditor5/src/ui.js';import{toArray as _0x2dda72,CKEditorError as _0x538f19}from'ckeditor5/src/utils.js';function _0x105b(_0x12e4bd,_0x40fa29){const _0x221be0=_0x221b();return _0x105b=function(_0x105b22,_0x5ef9ba){_0x105b22=_0x105b22-0x1d0;let _0x243f20=_0x221be0[_0x105b22];return _0x243f20;},_0x105b(_0x12e4bd,_0x40fa29);}import{TabButtonView as _0x3c6294}from'./tabbuttonview.js';import{TabPanelView as _0x28f1ab}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x226bcb(0x1d3),_0x226bcb(0x21c),_0x226bcb(0x200)];function _0x221b(){const _0x5bcb7e=['locale','_getPanel','keys','9ssHhnG','23331bTqQEc','panel','_showPanel','show','ck-tabs_','createCollection','buttonIcon','ck-reset','addTab:','2810330tYUAuk','button','children','16HdFoUn','1ohIMZO','setTemplate','7332bNeuTL','set','bind','buttonLabel','activateTab','getIndex','label','ck-tabs__panels-container','3719527oziuzn','class','length','_getButton','1412730GHlBnx','show:','hideTab','ck-tabs__panels-container_','content','right','245559aXuMde','get','6305022yqwitt','getTabIds','panelViews','execute','isMaximized','hide','ck-tabs__buttons-container_','showTab','find','activateTab:','_hidePanel','hide:','add','_hideButton','side','fire','isOn','div','808774hMfllo','render','bindTemplate','isVisible','_showButton','reduce','ui-tabsview-tab-not-found','left','icon','ck-tabs__buttons-container','ck-tabs','addTab','top','ck-ai-tabs_maximized','_tabs','order','_setupButton','activeTab','buttonViews','40cAudVH','getTab'];_0x221b=function(){return _0x5bcb7e;};return _0x221b();}export class AITabsView extends _0x1caefc{[_0x226bcb(0x1d9)]=this[_0x226bcb(0x1e5)]();[_0x226bcb(0x205)]=this[_0x226bcb(0x1e5)]();[_0x226bcb(0x1d5)]=new Map();constructor(_0x4d114c,_0x1f500d={}){const _0x294099=_0x226bcb;super(_0x4d114c),this[_0x294099(0x1f0)](_0x294099(0x1f8),void 0x0),this[_0x294099(0x1f0)](_0x294099(0x1d8),null),this[_0x294099(0x1f0)](_0x294099(0x211),_0x1f500d[_0x294099(0x211)]||_0x294099(0x1d3)),this[_0x294099(0x1f0)](_0x294099(0x207),!0x1);const _0x32d1ae=this[_0x294099(0x217)];this[_0x294099(0x1ee)]({'tag':_0x294099(0x214),'attributes':{'class':['ck',_0x294099(0x1e7),_0x294099(0x1d1),..._0x2dda72(_0x1f500d[_0x294099(0x1f8)]||[]),_0x32d1ae['to'](_0x294099(0x211),_0x409720=>_0x294099(0x1e4)+_0x409720),_0x32d1ae['to'](_0x294099(0x1f8)),_0x32d1ae['to'](_0x294099(0x207),_0x4f3f18=>_0x4f3f18?_0x294099(0x1d4):'')],'tabindex':'0'},'children':[{'tag':_0x294099(0x214),'attributes':{'class':['ck',_0x294099(0x1d0),_0x32d1ae['to'](_0x294099(0x211),_0x12c1d6=>_0x294099(0x209)+_0x12c1d6)]},'children':this[_0x294099(0x1d9)]},{'tag':_0x294099(0x214),'attributes':{'class':['ck',_0x294099(0x1f6),_0x32d1ae['to'](_0x294099(0x211),_0x509d62=>_0x294099(0x1fe)+_0x509d62)]},'children':this[_0x294099(0x205)]},..._0x2dda72(_0x1f500d[_0x294099(0x1eb)]||[])]});}[_0x226bcb(0x204)](){const _0x5b8c1d=_0x226bcb;return[...this[_0x5b8c1d(0x1d5)][_0x5b8c1d(0x1de)]()];}[_0x226bcb(0x1db)](_0x41c76c){const _0x1471d9=_0x226bcb,_0x23b0a4=this[_0x1471d9(0x1d5)][_0x1471d9(0x202)](_0x41c76c);return _0x23b0a4||null;}[_0x226bcb(0x1d2)](_0x423f94){const _0x4edd2d=_0x226bcb,_0x386fce=this[_0x4edd2d(0x1d7)]({'id':_0x423f94['id'],'label':_0x423f94[_0x4edd2d(0x1f2)],'icon':_0x423f94[_0x4edd2d(0x1e6)],'order':_0x423f94[_0x4edd2d(0x1d6)]}),_0x1001b9=new _0x28f1ab(this[_0x4edd2d(0x1dc)]);return _0x1001b9[_0x4edd2d(0x216)](),_0x423f94[_0x4edd2d(0x1ff)]&&_0x1001b9[_0x4edd2d(0x1eb)][_0x4edd2d(0x20f)](_0x423f94[_0x4edd2d(0x1ff)]),this[_0x4edd2d(0x205)][_0x4edd2d(0x20f)](_0x1001b9),this[_0x4edd2d(0x1d5)][_0x4edd2d(0x1f0)](_0x423f94['id'],{'button':_0x386fce,'panel':_0x1001b9,'order':void 0x0!==_0x423f94[_0x4edd2d(0x1d6)]?_0x423f94[_0x4edd2d(0x1d6)]:null}),this[_0x4edd2d(0x212)](_0x4edd2d(0x1e8)+_0x423f94['id'],{'id':_0x423f94['id'],'button':_0x386fce,'panel':_0x1001b9}),null===this[_0x4edd2d(0x1d8)]?this[_0x4edd2d(0x1f3)](_0x423f94['id']):this[_0x4edd2d(0x20d)](_0x423f94['id']),{'button':_0x386fce,'panel':_0x1001b9};}[_0x226bcb(0x1f3)](_0x48b1f2){const _0x4f6b5d=_0x226bcb;if(null!==_0x48b1f2&&!this[_0x4f6b5d(0x1db)](_0x48b1f2))throw new _0x538f19(_0x4f6b5d(0x21b),{'tabs':this,'tabId':_0x48b1f2});this[_0x4f6b5d(0x1d8)]!==_0x48b1f2&&(this[_0x4f6b5d(0x1d8)]&&this[_0x4f6b5d(0x20d)](this[_0x4f6b5d(0x1d8)]),this[_0x4f6b5d(0x1d8)]=_0x48b1f2,_0x48b1f2&&this[_0x4f6b5d(0x1e2)](_0x48b1f2),this[_0x4f6b5d(0x212)](_0x4f6b5d(0x20c)+_0x48b1f2,_0x48b1f2));}[_0x226bcb(0x20a)](_0x529b38){const _0x13d4cc=_0x226bcb;if(!this[_0x13d4cc(0x1db)](_0x529b38))throw new _0x538f19(_0x13d4cc(0x21b),{'tabs':this,'tabId':_0x529b38});this[_0x13d4cc(0x1e2)](_0x529b38),this[_0x13d4cc(0x219)](_0x529b38),this[_0x13d4cc(0x212)](_0x13d4cc(0x1fc)+_0x529b38,_0x529b38);}[_0x226bcb(0x1fd)](_0x5dec69){const _0xe50614=_0x226bcb;if(!this[_0xe50614(0x1db)](_0x5dec69))throw new _0x538f19(_0xe50614(0x21b),{'tabs':this,'tabId':_0x5dec69});const _0x39cdaf=this[_0xe50614(0x1d8)];this[_0xe50614(0x20d)](_0x5dec69),this[_0xe50614(0x210)](_0x5dec69);const _0x1cd7b7=this[_0xe50614(0x204)]();_0x39cdaf===_0x5dec69&&_0x1cd7b7[_0xe50614(0x1f9)]>0x1&&this[_0xe50614(0x1f3)](_0x1cd7b7[_0xe50614(0x20b)](_0xf420f4=>_0xf420f4!==_0x5dec69)),this[_0xe50614(0x212)](_0xe50614(0x20e)+_0x5dec69,_0x5dec69);}[_0x226bcb(0x1dd)](_0x3d1c52){const _0x506193=_0x226bcb,_0x13779f=this[_0x506193(0x1d5)][_0x506193(0x202)](_0x3d1c52);return _0x13779f?_0x13779f[_0x506193(0x1e1)]:null;}[_0x226bcb(0x1e2)](_0x565f91){const _0xf6f7f5=_0x226bcb;null!==this[_0xf6f7f5(0x1d8)]&&this[_0xf6f7f5(0x1d8)]!==_0x565f91||this[_0xf6f7f5(0x1dd)](_0x565f91)[_0xf6f7f5(0x1e3)]();}[_0x226bcb(0x20d)](_0x215c13){const _0x15fdeb=_0x226bcb,_0x5ca6f5=this[_0x15fdeb(0x1dd)](_0x215c13);_0x5ca6f5[_0x15fdeb(0x218)]&&(this[_0x15fdeb(0x1d8)]===_0x215c13&&(this[_0x15fdeb(0x1d8)]=null),_0x5ca6f5[_0x15fdeb(0x208)]());}[_0x226bcb(0x1fa)](_0xf6d348){const _0x3a71c6=_0x226bcb,_0x28d999=this[_0x3a71c6(0x1d5)][_0x3a71c6(0x202)](_0xf6d348);return _0x28d999?_0x28d999[_0x3a71c6(0x1ea)]:null;}[_0x226bcb(0x219)](_0x48778f){const _0x2caad0=_0x226bcb;this[_0x2caad0(0x1fa)](_0x48778f)[_0x2caad0(0x1e3)]();}[_0x226bcb(0x210)](_0x34d844){const _0x1d572f=_0x226bcb;this[_0x1d572f(0x1fa)](_0x34d844)[_0x1d572f(0x208)]();}[_0x226bcb(0x1d7)](_0x52d2d4){const _0x17810f=_0x226bcb,_0x36983e=new _0x3c6294(this[_0x17810f(0x1dc)],{'side':this[_0x17810f(0x211)]}),_0x3e3885=this[_0x17810f(0x1d9)];if(_0x36983e[_0x17810f(0x1f0)]({'label':_0x52d2d4[_0x17810f(0x1f5)],'icon':_0x52d2d4[_0x17810f(0x21d)],'tooltip':!0x0,'withText':!0x0}),_0x36983e[_0x17810f(0x1f1)](_0x17810f(0x213))['to'](this,_0x17810f(0x1d8),_0x52c8da=>_0x52c8da===_0x52d2d4['id']),_0x36983e[_0x17810f(0x1f1)](_0x17810f(0x211))['to'](this,_0x17810f(0x211)),_0x52d2d4[_0x17810f(0x1d6)]){const _0x3ec66e=[...this[_0x17810f(0x1d5)]][_0x17810f(0x21a)]((_0x20d4c7,_0x9d1312)=>{const _0x5e737f=_0x17810f,_0x179848=_0x9d1312[0x0],{order:_0x298865}=_0x9d1312[0x1];return!_0x298865||_0x298865>_0x52d2d4[_0x5e737f(0x1d6)]?_0x20d4c7:_0x298865>=_0x20d4c7[_0x5e737f(0x1d6)]?{'id':_0x179848,'order':_0x298865}:_0x20d4c7;},{'id':'','order':0x0}),_0x261703=_0x3e3885[_0x17810f(0x1f4)](this[_0x17810f(0x1fa)](_0x3ec66e['id']));_0x3e3885[_0x17810f(0x20f)](_0x36983e,_0x261703+0x1);}else _0x3e3885[_0x17810f(0x20f)](_0x36983e);return _0x36983e['on'](_0x17810f(0x206),()=>{const _0x1ed136=_0x17810f;this[_0x1ed136(0x1f3)](_0x52d2d4['id']);}),_0x36983e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xd9d6(_0x3a8a98,_0x2d08f7){const _0x2bb7f0=_0x2bb7();return _0xd9d6=function(_0xd9d698,_0x2ab6e4){_0xd9d698=_0xd9d698-0xd2;let _0x557fd6=_0x2bb7f0[_0xd9d698];return _0x557fd6;},_0xd9d6(_0x3a8a98,_0x2d08f7);}const _0xc738d4=_0xd9d6;(function(_0x3b5cc0,_0x599b69){const _0x458ba8=_0xd9d6,_0x35db20=_0x3b5cc0();while(!![]){try{const _0x967c0c=parseInt(_0x458ba8(0xd8))/0x1+-parseInt(_0x458ba8(0xd4))/0x2+-parseInt(_0x458ba8(0xe2))/0x3+-parseInt(_0x458ba8(0xd7))/0x4+-parseInt(_0x458ba8(0xde))/0x5+-parseInt(_0x458ba8(0xdd))/0x6+parseInt(_0x458ba8(0xe3))/0x7*(parseInt(_0x458ba8(0xdf))/0x8);if(_0x967c0c===_0x599b69)break;else _0x35db20['push'](_0x35db20['shift']());}catch(_0x2d23c1){_0x35db20['push'](_0x35db20['shift']());}}}(_0x2bb7,0x59df9));function _0x2bb7(){const _0x4377a6=['extendTemplate','1021192NXkZIA','709076eKUynw','ck-tab-button_','class','isToggleable','bindTemplate','4116582QGNnOd','3479065fxcEag','8HgBfUk','hide','set','730887vBYGDI','11570811aPAccy','isVisible','top','show','side','226182IGPzud','ck-tab-button'];_0x2bb7=function(){return _0x4377a6;};return _0x2bb7();}import{ButtonView as _0x3960c4}from'ckeditor5/src/ui.js';import{toArray as _0x2c7e47}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x3960c4{constructor(_0x49c042,_0x2c624b={}){const _0x465445=_0xd9d6;super(_0x49c042),this[_0x465445(0xdb)]=!0x0,this[_0x465445(0xe1)](_0x465445(0xd3),_0x2c624b[_0x465445(0xd3)]||_0x465445(0xe5));const _0x3f3b0e=this[_0x465445(0xdc)];this[_0x465445(0xd6)]({'attributes':{'class':[_0x465445(0xd5),..._0x2c7e47(_0x2c624b[_0x465445(0xda)]||[]),_0x3f3b0e['to'](_0x465445(0xd3),_0x57aa80=>_0x465445(0xd9)+_0x57aa80),_0x3f3b0e['to'](_0x465445(0xda))]}});}[_0xc738d4(0xd2)](){const _0x509353=_0xc738d4;this[_0x509353(0xe1)](_0x509353(0xe4),!0x0);}[_0xc738d4(0xe0)](){const _0x24edd6=_0xc738d4;this[_0x24edd6(0xe1)](_0x24edd6(0xe4),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x44c3(){const _0xbecf5=['class','div','hide','599664IWkLsT','ck-tab-panel','createCollection','543456TLaisk','172120fyaxec','bindTemplate','294404yYCbxn','16icmNSh','setTemplate','ck-hidden','children','set','2239951uVkPag','show','1042655OdofxK','935108GDLegQ','isVisible'];_0x44c3=function(){return _0xbecf5;};return _0x44c3();}const _0x5bed18=_0x1cc7;(function(_0x534cbd,_0x35d958){const _0x3af4c5=_0x1cc7,_0x54640b=_0x534cbd();while(!![]){try{const _0x491c99=parseInt(_0x3af4c5(0x1e5))/0x1+-parseInt(_0x3af4c5(0x1d3))/0x2+parseInt(_0x3af4c5(0x1e1))/0x3+parseInt(_0x3af4c5(0x1dc))/0x4+parseInt(_0x3af4c5(0x1db))/0x5+parseInt(_0x3af4c5(0x1e4))/0x6+parseInt(_0x3af4c5(0x1d9))/0x7*(-parseInt(_0x3af4c5(0x1d4))/0x8);if(_0x491c99===_0x35d958)break;else _0x54640b['push'](_0x54640b['shift']());}catch(_0x5974ee){_0x54640b['push'](_0x54640b['shift']());}}}(_0x44c3,0x1cbc8));function _0x1cc7(_0x4e8561,_0x5584a1){const _0x44c32c=_0x44c3();return _0x1cc7=function(_0x1cc7a7,_0x45090b){_0x1cc7a7=_0x1cc7a7-0x1d3;let _0xb8e11c=_0x44c32c[_0x1cc7a7];return _0xb8e11c;},_0x1cc7(_0x4e8561,_0x5584a1);}import{View as _0x9beb64}from'ckeditor5/src/ui.js';import{toArray as _0x1d6c8e}from'ckeditor5/src/utils.js';export class TabPanelView extends _0x9beb64{[_0x5bed18(0x1d7)];constructor(_0x4fdceb,_0x43d0f9={}){const _0x1e3d83=_0x5bed18;super(_0x4fdceb);const _0x30e24d=this[_0x1e3d83(0x1e6)];this[_0x1e3d83(0x1d8)](_0x1e3d83(0x1dd),!0x1),this[_0x1e3d83(0x1d8)](_0x1e3d83(0x1de),''),this[_0x1e3d83(0x1d7)]=this[_0x1e3d83(0x1e3)](),this[_0x1e3d83(0x1d5)]({'tag':_0x1e3d83(0x1df),'attributes':{'class':[_0x1e3d83(0x1e2),..._0x1d6c8e(_0x43d0f9[_0x1e3d83(0x1de)]||[]),_0x30e24d['to'](_0x1e3d83(0x1de)),_0x30e24d['if'](_0x1e3d83(0x1dd),_0x1e3d83(0x1d6),_0x1928e3=>!_0x1928e3)]},'children':this[_0x1e3d83(0x1d7)]});}[_0x5bed18(0x1da)](){const _0x1678a4=_0x5bed18;this[_0x1678a4(0x1d8)](_0x1678a4(0x1dd),!0x0);}[_0x5bed18(0x1e0)](){const _0x4d396d=_0x5bed18;this[_0x4d396d(0x1d8)](_0x4d396d(0x1dd),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3b8610=_0x24a3;(function(_0x63c155,_0x40715f){var _0xe3bb4d=_0x24a3,_0x55d375=_0x63c155();while(!![]){try{var _0x3676c2=parseInt(_0xe3bb4d(0x197))/0x1*(-parseInt(_0xe3bb4d(0x193))/0x2)+parseInt(_0xe3bb4d(0x190))/0x3*(parseInt(_0xe3bb4d(0x19e))/0x4)+parseInt(_0xe3bb4d(0x191))/0x5*(-parseInt(_0xe3bb4d(0x196))/0x6)+-parseInt(_0xe3bb4d(0x18f))/0x7+-parseInt(_0xe3bb4d(0x199))/0x8*(parseInt(_0xe3bb4d(0x19d))/0x9)+parseInt(_0xe3bb4d(0x19f))/0xa*(parseInt(_0xe3bb4d(0x195))/0xb)+-parseInt(_0xe3bb4d(0x198))/0xc*(-parseInt(_0xe3bb4d(0x19a))/0xd);if(_0x3676c2===_0x40715f)break;else _0x55d375['push'](_0x55d375['shift']());}catch(_0x20a6d4){_0x55d375['push'](_0x55d375['shift']());}}}(_0x4d14,0x75370));import{ContextPlugin as _0x43ebf4}from'ckeditor5/src/core.js';function _0x24a3(_0xc4d4b7,_0x302f9d){var _0x4d1484=_0x4d14();return _0x24a3=function(_0x24a30e,_0x2075aa){_0x24a30e=_0x24a30e-0x18e;var _0x2bf21f=_0x4d1484[_0x24a30e];return _0x2bf21f;},_0x24a3(_0xc4d4b7,_0x302f9d);}import{AITranslateController as _0x2a46b8}from'./aitranslatecontroller.js';import{AITranslateUI as _0x362a40}from'./aitranslateui.js';function _0x4d14(){var _0x40a3d9=['requires','2VgEEZk','pluginName','11Djunoa','476310UbYsDX','775579szkZDB','60YpbcvM','1110344dLJAwO','2518529muKYZn','isOfficialPlugin','isPremiumPlugin','36hoLlcC','1864vDaMEA','8016470CPESSi','AITranslate','938238kfFedo','1635feBvMw','5teNgOZ'];_0x4d14=function(){return _0x40a3d9;};return _0x4d14();}import{AIReviewCoreEditing as _0x64aa2d}from'../aireviewcore/aireviewcoreediting.js';export class AITranslate extends _0x43ebf4{static get[_0x3b8610(0x192)](){return[_0x2a46b8,_0x362a40,_0x64aa2d];}static get[_0x3b8610(0x194)](){var _0x53df6e=_0x3b8610;return _0x53df6e(0x18e);}static get[_0x3b8610(0x19b)](){return!0x0;}static get[_0x3b8610(0x19c)](){return!0x0;}}
|