@ckeditor/ckeditor5-ai 47.6.2 → 47.7.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 _0x36815b=_0x4a4a;(function(_0x22c22d,_0xd834c9){const _0x5ee513=_0x4a4a,_0x3c6da6=_0x22c22d();while(!![]){try{const _0x541f29=-parseInt(_0x5ee513(0x182))/0x1+parseInt(_0x5ee513(0x198))/0x2*(-parseInt(_0x5ee513(0x18a))/0x3)+-parseInt(_0x5ee513(0x195))/0x4*(-parseInt(_0x5ee513(0x188))/0x5)+parseInt(_0x5ee513(0x181))/0x6*(parseInt(_0x5ee513(0x199))/0x7)+-parseInt(_0x5ee513(0x18f))/0x8*(parseInt(_0x5ee513(0x186))/0x9)+parseInt(_0x5ee513(0x180))/0xa+parseInt(_0x5ee513(0x197))/0xb*(-parseInt(_0x5ee513(0x193))/0xc);if(_0x541f29===_0xd834c9)break;else _0x3c6da6['push'](_0x3c6da6['shift']());}catch(_0x51c2ba){_0x3c6da6['push'](_0x3c6da6['shift']());}}}(_0x3a0f,0x2ff2f));import{FormRowView as _0x1d5d31,ListItemView as _0x4c2195}from'ckeditor5/src/ui.js';function _0x4a4a(_0x10cb43,_0x34d576){const _0x3a0f92=_0x3a0f();return _0x4a4a=function(_0x4a4a4e,_0x2f4e0a){_0x4a4a4e=_0x4a4a4e-0x17d;let _0x3b8e57=_0x3a0f92[_0x4a4a4e];return _0x3b8e57;},_0x4a4a(_0x10cb43,_0x34d576);}import{AIReviewCoreFormDropdownView as _0x51a553}from'./aireviewcoreformdropdown.js';function _0x3a0f(){const _0xaf32ea=['div','12caVBQm','ck-form__row_with-submit','1321928KbMHhY','value','1228359owahdK','124eJiSXU','105TJXkyn','ck-ai_review__form-item','_formItem','setTemplate','3554460fXWlwq','109818vLGlMc','318673mKqnCy','dropdown','bind','formValue','29367WsJwgC','ck-reset_all','5JZyVRW','argsKey','15201LdpCex','locale','resetToDefault','set','add','48MXtnwG','children','formType'];_0x3a0f=function(){return _0xaf32ea;};return _0x3a0f();}export class AIReviewCoreFormManagerView extends _0x4c2195{[_0x36815b(0x17e)]=null;constructor(_0x47d5d0,_0x25e893,_0x2e4ac2){const _0x3eaaaf=_0x36815b;super(_0x47d5d0),this[_0x3eaaaf(0x189)]=_0x25e893?.[_0x3eaaaf(0x189)];if(_0x3eaaaf(0x183)===_0x25e893[_0x3eaaaf(0x191)])this[_0x3eaaaf(0x17e)]=new _0x51a553(this[_0x3eaaaf(0x18b)],_0x25e893);this[_0x3eaaaf(0x18d)](_0x3eaaaf(0x196),''),this[_0x3eaaaf(0x184)](_0x3eaaaf(0x196))['to'](this[_0x3eaaaf(0x17e)],_0x3eaaaf(0x185));const _0x550d36=new _0x1d5d31(this[_0x3eaaaf(0x18b)],{'children':[this[_0x3eaaaf(0x17e)]],'class':[_0x2e4ac2?_0x3eaaaf(0x194):'']});_0x2e4ac2&&_0x550d36[_0x3eaaaf(0x190)][_0x3eaaaf(0x18e)](_0x2e4ac2),this[_0x3eaaaf(0x17f)]({'tag':_0x3eaaaf(0x192),'attributes':{'class':['ck',_0x3eaaaf(0x17d),_0x3eaaaf(0x187)]},'children':[_0x550d36]});}[_0x36815b(0x18c)](){const _0xd518aa=_0x36815b;this[_0xd518aa(0x17e)][_0xd518aa(0x18c)]();}}
|
|
@@ -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 _0x1f6c8d=_0xbe00;function _0xbe00(_0x11d2b6,_0x109b37){var _0x44d7c4=_0x44d7();return _0xbe00=function(_0xbe0034,_0x9142ed){_0xbe0034=_0xbe0034-0xf3;var _0x1bde9a=_0x44d7c4[_0xbe0034];return _0x1bde9a;},_0xbe00(_0x11d2b6,_0x109b37);}function _0x44d7(){var _0xd9d073=['2071359gvwWTT','623484cpZFcE','isPremiumPlugin','845UAIQtM','2LKCQSv','requires','14uSUkWL','1004248HzFAqo','2926504IDVJYC','17634CygiUL','pluginName','740888aoBCtQ','isOfficialPlugin','4271430gSxIGK','AIReviewMode'];_0x44d7=function(){return _0xd9d073;};return _0x44d7();}(function(_0x486b23,_0x3169c6){var _0x176bb7=_0xbe00,_0xdc9950=_0x486b23();while(!![]){try{var _0xe4f648=-parseInt(_0x176bb7(0xf5))/0x1+parseInt(_0x176bb7(0xfd))/0x2*(-parseInt(_0x176bb7(0xf9))/0x3)+parseInt(_0x176bb7(0x101))/0x4+-parseInt(_0x176bb7(0xfc))/0x5*(-parseInt(_0x176bb7(0xf3))/0x6)+-parseInt(_0x176bb7(0xff))/0x7*(-parseInt(_0x176bb7(0x100))/0x8)+-parseInt(_0x176bb7(0xfa))/0x9+parseInt(_0x176bb7(0xf7))/0xa;if(_0xe4f648===_0x3169c6)break;else _0xdc9950['push'](_0xdc9950['shift']());}catch(_0x518c11){_0xdc9950['push'](_0xdc9950['shift']());}}}(_0x44d7,0x63191));import{ContextPlugin as _0x8bbf6a}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x3e7cb4}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x169bbc}from'../aireviewcore/aireviewcoreediting.js';import{AIReviewModeController as _0x52ec9d}from'./aireviewmodecontroller.js';export class AIReviewMode extends _0x8bbf6a{static get[_0x1f6c8d(0xfe)](){return[_0x52ec9d,_0x3e7cb4,_0x169bbc];}static get[_0x1f6c8d(0xf4)](){var _0x56946c=_0x1f6c8d;return _0x56946c(0xf8);}static get[_0x1f6c8d(0xf6)](){return!0x0;}static get[_0x1f6c8d(0xfb)](){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 _0x51949d=_0x1d7c;function _0x1d7c(_0xaf7fc1,_0x425730){const _0x27d5ea=_0x27d5();return _0x1d7c=function(_0x1d7cf1,_0x5e1d08){_0x1d7cf1=_0x1d7cf1-0x157;let _0xeaf987=_0x27d5ea[_0x1d7cf1];return _0xeaf987;},_0x1d7c(_0xaf7fc1,_0x425730);}(function(_0x13f5c9,_0x221258){const _0x23e858=_0x1d7c,_0x33206b=_0x13f5c9();while(!![]){try{const _0xfccb29=-parseInt(_0x23e858(0x1dc))/0x1*(parseInt(_0x23e858(0x190))/0x2)+parseInt(_0x23e858(0x19a))/0x3+-parseInt(_0x23e858(0x1c7))/0x4+-parseInt(_0x23e858(0x1df))/0x5+-parseInt(_0x23e858(0x1da))/0x6*(parseInt(_0x23e858(0x15a))/0x7)+parseInt(_0x23e858(0x1b8))/0x8+parseInt(_0x23e858(0x162))/0x9;if(_0xfccb29===_0x221258)break;else _0x33206b['push'](_0x33206b['shift']());}catch(_0x23097a){_0x33206b['push'](_0x33206b['shift']());}}}(_0x27d5,0xe3e11));import{CKEditorError as _0x20b8cd}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0xb84063}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x23ec38}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x4b0fa4}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x4adc8b}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x544d00}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x2992ad}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x7327ca}from'./model/aireviewcheckcustom.js';function _0x27d5(){const _0x18e2ed=['_DESCRIPTION','getDefault','recommended','define','_aiReviewCoreEditing','setMarkersInElementAsActive','removeClass','_onReviewCheckResultActivated','models','domEvent','panel','replaceAll','_getModels','click','_initRequiredPlugins','changeId','_hasDefaultAvailableCommands','description','origin','_onChangeMarkerBlurred','join','removeCheckById','init','11066544ojQgmh','context','some','addClass','resetActiveStateInResults','ai.models','data','default','custom','setupChecks','getEditor','_aiReviewCoreUi','_aiConnector','title','editing','2154912mpdxhz','plugins','model','_currentReviewCheckRun','forEach','getElement','diffContent','params','locale','getMarkerElementForChange','getClassNames','document','getRoot','prompt','_markChangePositionInEditorContent','_diffContent','hideDiffInBalloon','label','_OPTIONS_DATA_','5410986XZcdoF','change','4322hsryrm','getAvailableModels','defaultModel','290515XkrDfk','_isDiffOn','ck-ai_review-highlights','_onChangeMarkerHovered','get','7TLglDO','AIReviewModeController','toUpperCase','_getChecksList','args','getDomRoot','all','activateChange','2297205Oeecqp','view','ai-review-mode-models-unable-to-retrieve','hideChangeBalloon','getChangeById','find','ai.review.availableCommands','checks','map','_changeActivationSource','_logError','isCustom','_OPTIONS_LABEL','deactivateChange','viewportOffset','content','AIReviewModeUI','ck-ai_review-diff','_onReviewCheckRun','AIReviewCoreEditing','ck-ai_review-','_logErrorForNonExistentChecks','length','_onDiffChange','_onChangeMarkerClicked','listenTo','_getChangeContentElement','uiInteraction','ai.review.extraCommands','isExtra','startsWith','getDocumentData','_onDeactivateChange','hover','showChangeBalloon','ai-review-mode-non-existent-commands-used','pluginName','setAllMarkersAsInactive','_createReviewCheckRun','_scrollToChange','_getExtraChecks','_translateReviewCheck','filter','markChangePositionInEditorContent','setActiveStateInResults','_TITLE','284oURYyp','ai-review-mode-command-unavailable-due-to-missing-model','_filterChecksWithMissingModel','toggleDiff','options','balloon','config','_getTranslationWithDefault','_onActivateChange','isAnyChangeActivated','4221648WSovKm','getAll','_onReviewCheckResultDeactivated','markerElement','showDiffInBalloon','push','AI_REVIEW_CHECK_'];_0x27d5=function(){return _0x18e2ed;};return _0x27d5();}import{AIReviewCheckExtra as _0x248cf3}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x307a78}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0xb84063{static get[_0x51949d(0x186)](){const _0x2e76dc=_0x51949d;return _0x2e76dc(0x15b);}[_0x51949d(0x1e0)]=!0x1;[_0x51949d(0x1b1)]=!0x1;constructor(_0x2e55db){const _0x31506b=_0x51949d;super(_0x2e55db),this[_0x31506b(0x1b1)]=!this[_0x31506b(0x1b9)][_0x31506b(0x196)][_0x31506b(0x159)](_0x31506b(0x168)),this[_0x31506b(0x1b9)][_0x31506b(0x196)][_0x31506b(0x1a4)](_0x31506b(0x168),_0x23ec38[_0x31506b(0x16a)](_0x478bf3=>_0x478bf3['id'])),this[_0x31506b(0x1b9)][_0x31506b(0x196)][_0x31506b(0x1a4)](_0x31506b(0x17e),[]);}async[_0x51949d(0x1b7)](){const _0x409bb2=_0x51949d;await super[_0x409bb2(0x1b7)](),this[_0x409bb2(0x17b)](this[_0x409bb2(0x1c3)],_0x409bb2(0x193),(_0x5843cf,_0x15856e)=>{const _0x3326f0=_0x409bb2;this[_0x3326f0(0x1e0)]=_0x15856e['on'],this[_0x3326f0(0x179)](this[_0x3326f0(0x1e0)]);});}[_0x51949d(0x1af)](){const _0x1a1508=_0x51949d;super[_0x1a1508(0x1af)](),this[_0x1a1508(0x1c3)]=this[_0x1a1508(0x1b9)][_0x1a1508(0x1c8)][_0x1a1508(0x159)](_0x1a1508(0x172)),this[_0x1a1508(0x1a5)]=this[_0x1a1508(0x1b9)][_0x1a1508(0x1c8)][_0x1a1508(0x159)](_0x1a1508(0x175));}[_0x51949d(0x188)](_0xa92e98,_0x6328c7){const _0x42193d=_0x51949d;return _0xa92e98[_0x42193d(0x16d)]?new _0x4adc8b(_0xa92e98[_0x42193d(0x15e)][_0x42193d(0x1d4)],_0xa92e98[_0x42193d(0x15e)][_0x42193d(0x1c9)],this[_0x42193d(0x1a5)][_0x42193d(0x181)](),_0x6328c7,this[_0x42193d(0x1c4)]):_0x6328c7[_0x42193d(0x17f)]?new _0x307a78(_0x6328c7[_0x42193d(0x1d4)],_0x6328c7[_0x42193d(0x1de)]['id'],this[_0x42193d(0x1a5)][_0x42193d(0x181)](),_0x6328c7,this[_0x42193d(0x1c4)]):new _0x544d00(this[_0x42193d(0x1a5)][_0x42193d(0x181)](),_0x6328c7,this[_0x42193d(0x1c4)],_0xa92e98[_0x42193d(0x1ce)],_0xa92e98[_0x42193d(0x15e)]);}[_0x51949d(0x1a8)](_0x3ccd54){const _0x4e219e=_0x51949d;this[_0x4e219e(0x1c3)][_0x4e219e(0x18e)](_0x3ccd54[_0x4e219e(0x1db)]['id']),this[_0x4e219e(0x189)](_0x3ccd54[_0x4e219e(0x1db)]['id']);const _0x241ce5=this[_0x4e219e(0x1a5)][_0x4e219e(0x1d0)](_0x3ccd54[_0x4e219e(0x1db)]['id']);if(!_0x241ce5)return;const _0x798e60=this[_0x4e219e(0x1a5)][_0x4e219e(0x1c2)]();this[_0x4e219e(0x1c3)][_0x4e219e(0x184)](_0x3ccd54[_0x4e219e(0x1db)],()=>_0x241ce5[_0x4e219e(0x1cc)](),void 0x0,_0x4e219e(0x1ae),_0x798e60?.[_0x4e219e(0x1c6)]?.[_0x4e219e(0x163)]?.[_0x4e219e(0x15f)](),_0x798e60?.['ui']?.[_0x4e219e(0x170)]),this[_0x4e219e(0x1a5)][_0x4e219e(0x1a6)](_0x3ccd54[_0x4e219e(0x1db)]['id']);}[_0x51949d(0x19c)](){const _0x56d1d9=_0x51949d;this[_0x56d1d9(0x1c3)][_0x56d1d9(0x1bc)](),this[_0x56d1d9(0x1c3)][_0x56d1d9(0x165)](),this[_0x56d1d9(0x1a5)][_0x56d1d9(0x187)]();}[_0x51949d(0x198)](_0x30762a){const _0x360774=_0x51949d;this[_0x360774(0x1ca)]&&_0x360774(0x1ae)===_0x30762a[_0x360774(0x17d)]&&(this[_0x360774(0x16b)]=_0x360774(0x1ab),this[_0x360774(0x1ca)][_0x360774(0x161)](_0x30762a['id']));}[_0x51949d(0x182)](_0xb955e2){const _0x1a22ec=_0x51949d;this[_0x1a22ec(0x1ca)]&&_0x1a22ec(0x195)===_0xb955e2[_0x1a22ec(0x1b3)]&&this[_0x1a22ec(0x1ca)][_0x1a22ec(0x16f)]();}[_0x51949d(0x17a)](_0x41316c,_0x5ededd){const _0x428b40=_0x51949d;if(!this[_0x428b40(0x1ca)])return;this[_0x428b40(0x16b)]=_0x428b40(0x171),this[_0x428b40(0x1ca)][_0x428b40(0x161)](_0x5ededd[_0x428b40(0x1b0)]);const _0x847274=this[_0x428b40(0x1ca)][_0x428b40(0x166)](_0x5ededd[_0x428b40(0x1b0)]);if(!_0x847274)return;const _0x9b349a=this[_0x428b40(0x1a5)][_0x428b40(0x1c2)]();this[_0x428b40(0x1c3)][_0x428b40(0x184)](_0x847274,_0x5ededd[_0x428b40(0x19d)],_0x5ededd[_0x428b40(0x1aa)],_0x428b40(0x1ae),_0x9b349a?.[_0x428b40(0x1c6)]?.[_0x428b40(0x163)]?.[_0x428b40(0x15f)](),_0x9b349a?.['ui']?.[_0x428b40(0x170)]);}[_0x51949d(0x158)](_0x2ceba2,_0x43041f){const _0x2383dd=_0x51949d;if(!this[_0x2383dd(0x1ca)])return;if(this[_0x2383dd(0x1ca)][_0x2383dd(0x199)]())return;const _0x1b7abd=this[_0x2383dd(0x1ca)][_0x2383dd(0x166)](_0x43041f[_0x2383dd(0x1b0)]);if(!_0x1b7abd)return;const _0x3ed189=this[_0x2383dd(0x1a5)][_0x2383dd(0x1c2)]();this[_0x2383dd(0x1c3)][_0x2383dd(0x184)](_0x1b7abd,_0x43041f[_0x2383dd(0x19d)],_0x43041f[_0x2383dd(0x1aa)],_0x2383dd(0x183),_0x3ed189?.[_0x2383dd(0x1c6)]?.[_0x2383dd(0x163)]?.[_0x2383dd(0x15f)](),_0x3ed189?.['ui']?.[_0x2383dd(0x170)]);}[_0x51949d(0x1b4)](){const _0x1caf40=_0x51949d;if(!this[_0x1caf40(0x1ca)])return;this[_0x1caf40(0x1ca)][_0x1caf40(0x199)]()||this[_0x1caf40(0x1c3)][_0x1caf40(0x165)]();}[_0x51949d(0x17c)](_0x26cdbe){const _0x486e30=_0x51949d,_0x2b9fa1=this[_0x486e30(0x1a5)][_0x486e30(0x1d0)](_0x26cdbe);return _0x2b9fa1?_0x2b9fa1[_0x486e30(0x1cc)]():null;}[_0x51949d(0x1d5)](_0x23c932,_0x2b373e){const _0x2fc5cd=_0x51949d;this[_0x2fc5cd(0x1a5)][_0x2fc5cd(0x18d)](_0x23c932,_0x2b373e);}[_0x51949d(0x1d6)](_0x40c298,_0x3c8551){const _0x401899=_0x51949d;return this[_0x401899(0x1a5)][_0x401899(0x1cd)](_0x40c298,_0x3c8551);}[_0x51949d(0x174)](){const _0x370b35=_0x51949d;this[_0x370b35(0x179)](this[_0x370b35(0x1e0)]);}[_0x51949d(0x179)](_0x4fb01d){const _0x11aeeb=_0x51949d,_0x25a4a0=this[_0x11aeeb(0x1a5)][_0x11aeeb(0x1c2)]();_0x4fb01d?this[_0x11aeeb(0x1c3)][_0x11aeeb(0x1d7)]():this[_0x11aeeb(0x1c3)][_0x11aeeb(0x19e)](),_0x25a4a0&&_0x25a4a0[_0x11aeeb(0x1c6)][_0x11aeeb(0x163)][_0x11aeeb(0x1db)](_0x2c9662=>{const _0x2ec99e=_0x11aeeb,_0x4960e2=_0x25a4a0[_0x2ec99e(0x1c6)][_0x2ec99e(0x163)][_0x2ec99e(0x1d2)][_0x2ec99e(0x1d3)]();for(const _0x5919d0 of _0x4960e2[_0x2ec99e(0x1d1)]())_0x5919d0[_0x2ec99e(0x180)](_0x2ec99e(0x176))&&_0x2c9662[_0x2ec99e(0x1a7)](_0x5919d0,_0x4960e2);_0x2c9662[_0x2ec99e(0x1bb)](_0x4fb01d?_0x2ec99e(0x173):_0x2ec99e(0x157),_0x4960e2);});}async[_0x51949d(0x15d)](){const _0x160607=_0x51949d,_0x1213f4=[..._0x23ec38,...this[_0x160607(0x18a)]()],_0x2f5ebb=this[_0x160607(0x1b9)][_0x160607(0x196)][_0x160607(0x159)](_0x160607(0x168))||[];this[_0x160607(0x177)](_0x2f5ebb,_0x1213f4);let _0x3e9969=_0x1213f4;this[_0x160607(0x1b1)]||(_0x3e9969=_0x2f5ebb[_0x160607(0x16a)](_0x50e9c6=>_0x1213f4[_0x160607(0x167)](_0x3072db=>_0x3072db['id']===_0x50e9c6))[_0x160607(0x18c)](_0x3b79dc=>!!_0x3b79dc)),_0x3e9969=_0x3e9969[_0x160607(0x16a)](_0x35c512=>_0x35c512[_0x160607(0x17f)]?_0x35c512:this[_0x160607(0x18b)](_0x35c512));const _0x99f5c1=_0x3e9969[_0x160607(0x1ba)](_0x4392e2=>_0x4392e2[_0x160607(0x17f)]||_0x160607(0x1c0)===_0x4392e2['id']);let _0x255cd4=[],_0x1b41db=[],_0x2f619e=null;if(_0x99f5c1){const _0x25c785=await this[_0x160607(0x1ad)]();_0x255cd4=_0x25c785[_0x160607(0x160)],_0x1b41db=_0x25c785[_0x160607(0x1a3)],_0x2f619e=_0x25c785[_0x160607(0x1bf)];}const _0x1ce633=new _0x4b0fa4(_0x255cd4,_0x1b41db,_0x2f619e);return _0x1ce633[_0x160607(0x1c1)](_0x3e9969),_0x99f5c1&&this[_0x160607(0x192)](_0x1ce633),_0x1ce633;}[_0x51949d(0x18a)](){const _0x495690=_0x51949d;return(this[_0x495690(0x1b9)][_0x495690(0x196)][_0x495690(0x159)](_0x495690(0x17e))||[])[_0x495690(0x16a)](_0xe5bb79=>({'id':_0xe5bb79['id'],'commandId':_0xe5bb79['id'],'title':_0xe5bb79[_0x495690(0x1d8)],'description':_0xe5bb79[_0x495690(0x1b2)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0xe5bb79[_0x495690(0x1d4)],'model':_0xe5bb79[_0x495690(0x1c9)]}));}[_0x51949d(0x177)](_0x2c98a0,_0x4d87b5){const _0x58563c=_0x51949d,_0x2e71e9=_0x2c98a0[_0x58563c(0x18c)](_0x572bba=>!_0x4d87b5[_0x58563c(0x1ba)](_0x23f78a=>_0x23f78a['id']===_0x572bba));_0x2e71e9[_0x58563c(0x178)]&&this[_0x58563c(0x16c)](new _0x20b8cd(_0x58563c(0x185),this,{'commandIds':_0x2e71e9[_0x58563c(0x1b5)](',\x20')}),!0x0);}async[_0x51949d(0x1ad)](){const _0x51461e=_0x51949d;try{const _0x46b882=new _0x2992ad({'connector':this[_0x51461e(0x1c4)],'config':this[_0x51461e(0x1b9)][_0x51461e(0x196)][_0x51461e(0x159)](_0x51461e(0x1bd)),'locale':this[_0x51461e(0x1b9)][_0x51461e(0x1cf)]});return{'all':await _0x46b882[_0x51461e(0x19b)](),'recommended':await _0x46b882[_0x51461e(0x1dd)](),'default':await _0x46b882[_0x51461e(0x1a2)]()};}catch(_0x1db358){return this[_0x51461e(0x16c)](new _0x20b8cd(_0x51461e(0x164),this,void 0x0,_0x1db358)),{'all':[],'recommended':[],'default':null};}}[_0x51949d(0x18b)](_0x4caacb){const _0x254799=_0x51949d,_0x4f34a4=_0x254799(0x1a0)+_0x4caacb['id'][_0x254799(0x15c)]()[_0x254799(0x1ac)]('-','_'),_0x468044={..._0x4caacb,'title':this[_0x254799(0x197)](_0x4f34a4+_0x254799(0x18f),_0x4caacb[_0x254799(0x1c5)]),'description':this[_0x254799(0x197)](_0x4f34a4+_0x254799(0x1a1),_0x4caacb[_0x254799(0x1b2)])};return _0x4caacb[_0x254799(0x194)]&&(_0x468044[_0x254799(0x194)]=_0x4caacb[_0x254799(0x194)][_0x254799(0x16a)](_0x754c85=>({..._0x754c85,'label':this[_0x254799(0x197)](_0x4f34a4+_0x254799(0x16e),_0x754c85[_0x254799(0x1d8)]||''),'data':_0x754c85[_0x254799(0x1be)]?_0x754c85[_0x254799(0x1be)][_0x254799(0x16a)](_0x2f01ef=>({..._0x2f01ef,'label':this[_0x254799(0x197)](_0x4f34a4+_0x254799(0x1d9)+_0x2f01ef['id'][_0x254799(0x15c)](),_0x2f01ef[_0x254799(0x1d8)])})):void 0x0}))),_0x468044;}[_0x51949d(0x192)](_0x2b3afb){const _0xff1f01=_0x51949d,_0x21d8fd=[];_0x2b3afb[_0xff1f01(0x169)][_0xff1f01(0x1cb)](_0x2dc3fb=>{const _0x3aed3f=_0xff1f01;(_0x2dc3fb instanceof _0x248cf3&&!_0x2dc3fb[_0x3aed3f(0x1de)]||_0x2dc3fb instanceof _0x7327ca&&!_0x2dc3fb[_0x3aed3f(0x1a9)][_0x3aed3f(0x178)])&&_0x21d8fd[_0x3aed3f(0x19f)](_0x2dc3fb['id']);}),_0x21d8fd[_0xff1f01(0x178)]&&_0x21d8fd[_0xff1f01(0x1cb)](_0x383ee3=>{const _0x4625af=_0xff1f01;_0x2b3afb[_0x4625af(0x1b6)](_0x383ee3),this[_0x4625af(0x16c)](new _0x20b8cd(_0x4625af(0x191),this,{'commandId':_0x383ee3}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2114(){const _0x4b71eb=['get','7167390taVbuV','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','addTab','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','context','AITabs','createMainView','1208168cETkJu','672742QJUdmK','reviewMode','9RmeKFK','ck-ai-header\x20ck-ai-header_review','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','1352708xKhpRp','getReviewCheckList','_mainView','3764058EbjgCv','view','locale','registerTab','40LGQaGd','fire','AI_REVIEW_MODE','plugins','2973270ZhNFPO','AIReviewModeUI','pluginName','431326gpeHIa','activateTab','5silMUC','leaveReview','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'];_0x2114=function(){return _0x4b71eb;};return _0x2114();}const _0x13cc41=_0x44c9;function _0x44c9(_0x3c5724,_0x18f70f){const _0x2114e5=_0x2114();return _0x44c9=function(_0x44c965,_0x16c48c){_0x44c965=_0x44c965-0x6d;let _0xebbea3=_0x2114e5[_0x44c965];return _0xebbea3;},_0x44c9(_0x3c5724,_0x18f70f);}(function(_0x46d013,_0x2e6520){const _0x41919f=_0x44c9,_0x1307a3=_0x46d013();while(!![]){try{const _0x1238cf=-parseInt(_0x41919f(0x71))/0x1+-parseInt(_0x41919f(0x76))/0x2+parseInt(_0x41919f(0x81))/0x3+-parseInt(_0x41919f(0x70))/0x4+parseInt(_0x41919f(0x86))/0x5*(parseInt(_0x41919f(0x79))/0x6)+parseInt(_0x41919f(0x84))/0x7*(parseInt(_0x41919f(0x7d))/0x8)+-parseInt(_0x41919f(0x73))/0x9*(-parseInt(_0x41919f(0x8a))/0xa);if(_0x1238cf===_0x2e6520)break;else _0x1307a3['push'](_0x1307a3['shift']());}catch(_0x6ba7c){_0x1307a3['push'](_0x1307a3['shift']());}}}(_0x2114,0xf237c));import{FormHeaderView as _0x4ad1bb}from'ckeditor5/src/ui.js';import{IconAIReview as _0x6549cf}from'ckeditor5/src/icons.js';import{getTranslation as _0xd85454}from'../aicore/utils/common-translations.js';import{AIReviewCoreView as _0x46a698}from'../aireviewcore/ui/aireviewcoreview.js';import{AIReviewCoreUI as _0x316cfd}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0x3e3046}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x4b38f7}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x15cb44}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x316cfd{static get[_0x13cc41(0x83)](){const _0x5a334d=_0x13cc41;return _0x5a334d(0x82);}[_0x13cc41(0x6f)](){const _0x59ff92=_0x13cc41,_0xeb3f32=this[_0x59ff92(0x6d)][_0x59ff92(0x7b)],_0x56068f=new _0x4ad1bb(_0xeb3f32,{'label':_0xd85454(_0xeb3f32,_0x59ff92(0x7f)),'icon':_0x6549cf,'class':_0x59ff92(0x74)});return new _0x46a698(this[_0x59ff92(0x6d)][_0x59ff92(0x7b)],{'header':_0x56068f,'list':new _0x15cb44(_0xeb3f32),'results':new _0x3e3046(_0xeb3f32,{'generalErrorText':_0xd85454(_0xeb3f32,_0x59ff92(0x8d))}),'completed':new _0x4b38f7(_0xeb3f32,{'headerText':_0xd85454(_0xeb3f32,_0x59ff92(0x75)),'emptyResultsText':_0xd85454(_0xeb3f32,_0x59ff92(0x88)),'buttonText':_0xd85454(_0xeb3f32,_0x59ff92(0x8b))})});}[_0x13cc41(0x7c)](){const _0xe6b556=_0x13cc41,_0x366197=this[_0xe6b556(0x6d)][_0xe6b556(0x80)][_0xe6b556(0x89)](_0xe6b556(0x6e));_0x366197[_0xe6b556(0x7a)]['on'](_0xe6b556(0x85),(_0x3bc88c,_0x578d69)=>{const _0x21256f=_0xe6b556;_0x21256f(0x72)===_0x578d69?this[_0x21256f(0x7e)](_0x21256f(0x77)):this[_0x21256f(0x7e)](_0x21256f(0x87));}),_0x366197[_0xe6b556(0x7a)][_0xe6b556(0x8c)]({'id':_0xe6b556(0x72),'buttonLabel':_0xd85454(this[_0xe6b556(0x6d)][_0xe6b556(0x7b)],_0xe6b556(0x7f)),'buttonIcon':_0x6549cf,'order':0x0,'content':this[_0xe6b556(0x78)]});}}
|
|
@@ -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 _0x2f94cd=_0x2bb5;(function(_0x107b58,_0x14af9c){var _0x1603c8=_0x2bb5,_0x36ab9f=_0x107b58();while(!![]){try{var _0x61dc30=-parseInt(_0x1603c8(0x172))/0x1*(parseInt(_0x1603c8(0x166))/0x2)+parseInt(_0x1603c8(0x163))/0x3*(parseInt(_0x1603c8(0x16b))/0x4)+-parseInt(_0x1603c8(0x16a))/0x5*(-parseInt(_0x1603c8(0x16f))/0x6)+-parseInt(_0x1603c8(0x162))/0x7+-parseInt(_0x1603c8(0x171))/0x8*(-parseInt(_0x1603c8(0x165))/0x9)+-parseInt(_0x1603c8(0x170))/0xa+-parseInt(_0x1603c8(0x16c))/0xb;if(_0x61dc30===_0x14af9c)break;else _0x36ab9f['push'](_0x36ab9f['shift']());}catch(_0x10904d){_0x36ab9f['push'](_0x36ab9f['shift']());}}}(_0x4c05,0xdf3d4));import{AIReviewCheckRun as _0x4744fd}from'../../aireviewcore/model/aireviewcheckrun.js';function _0x4c05(){var _0x14a748=['432TwKHXt','upsertCustomAIReviewRating','subTitle','content','_sendRatingRequest','10381252DfRbFu','15hikzwY','_createApiRequest','29052kfrQLN','2894WWVpuL','_aiConnector','_prompt','callCustomReview','5UapmEy','70916UYxnPT','178321ApNAvZ','_model','_documentData','10491306fOrKov','1574450lkCjnU','3368XQeftq'];_0x4c05=function(){return _0x14a748;};return _0x4c05();}function _0x2bb5(_0x323094,_0xdda363){var _0x4c0556=_0x4c05();return _0x2bb5=function(_0x2bb5ee,_0x438f61){_0x2bb5ee=_0x2bb5ee-0x15e;var _0x4634eb=_0x4c0556[_0x2bb5ee];return _0x4634eb;},_0x2bb5(_0x323094,_0xdda363);}export class AIReviewCustomCheckRun extends _0x4744fd{[_0x2f94cd(0x168)];[_0x2f94cd(0x16d)];constructor(_0x128acd,_0x52343c,_0x3921dd,_0x27da7d,_0x33004c){var _0x50860c=_0x2f94cd;super(_0x3921dd,_0x27da7d,_0x33004c),this[_0x50860c(0x168)]=_0x128acd,this[_0x50860c(0x16d)]=_0x52343c;}get[_0x2f94cd(0x15f)](){var _0x578f53=_0x2f94cd;return this[_0x578f53(0x168)];}[_0x2f94cd(0x164)](){var _0x56e10c=_0x2f94cd;return this[_0x56e10c(0x167)][_0x56e10c(0x169)]({'content':this[_0x56e10c(0x16e)][_0x56e10c(0x160)],'prompt':this[_0x56e10c(0x168)],'model':this[_0x56e10c(0x16d)]});}[_0x2f94cd(0x161)](_0x34c9e7,_0x285751,_0x180d3b){var _0x5dd5ef=_0x2f94cd;return this[_0x5dd5ef(0x167)][_0x5dd5ef(0x15e)](_0x285751,_0x34c9e7,_0x180d3b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x15f6a8=_0x45b7;(function(_0x7df7a3,_0x5c732d){var _0x353e99=_0x45b7,_0x391e84=_0x7df7a3();while(!![]){try{var _0xac66bb=parseInt(_0x353e99(0x143))/0x1*(parseInt(_0x353e99(0x144))/0x2)+-parseInt(_0x353e99(0x13b))/0x3*(parseInt(_0x353e99(0x13c))/0x4)+-parseInt(_0x353e99(0x13d))/0x5+parseInt(_0x353e99(0x146))/0x6*(parseInt(_0x353e99(0x13f))/0x7)+-parseInt(_0x353e99(0x147))/0x8*(parseInt(_0x353e99(0x145))/0x9)+-parseInt(_0x353e99(0x141))/0xa+parseInt(_0x353e99(0x13a))/0xb;if(_0xac66bb===_0x5c732d)break;else _0x391e84['push'](_0x391e84['shift']());}catch(_0x318358){_0x391e84['push'](_0x391e84['shift']());}}}(_0x1086,0x1e5e9));import{AIReviewCustomCheckRun as _0x38445a}from'./aireviewcustomcheckrun.js';function _0x1086(){var _0x321233=['93WeStgB','16916FSDlZj','505125BShqGB','prompt','4130wpWWyV','model','1963930IGlJvJ','_model','7pkMvQW','42626AnWsVR','102015UgvCGR','2118BpTfXt','96bCugdK','_prompt','subTitle','3646159FIDArt'];_0x1086=function(){return _0x321233;};return _0x1086();}function _0x45b7(_0x46e2ee,_0x50fdd3){var _0x108606=_0x1086();return _0x45b7=function(_0x45b7e3,_0x5618b0){_0x45b7e3=_0x45b7e3-0x13a;var _0x557a0d=_0x108606[_0x45b7e3];return _0x557a0d;},_0x45b7(_0x46e2ee,_0x50fdd3);}export class AIReviewExtraCheckRun extends _0x38445a{get[_0x15f6a8(0x149)](){return'';}set[_0x15f6a8(0x13e)](_0x4d9226){var _0x4f2032=_0x15f6a8;this[_0x4f2032(0x148)]=_0x4d9226;}set[_0x15f6a8(0x140)](_0x420e07){var _0x38ad8d=_0x15f6a8;this[_0x38ad8d(0x142)]=_0x420e07;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5b0e(_0x465cdd,_0x9159c2){var _0x2b0a32=_0x2b0a();return _0x5b0e=function(_0x5b0ef6,_0x462888){_0x5b0ef6=_0x5b0ef6-0xb9;var _0x43be52=_0x2b0a32[_0x5b0ef6];return _0x43be52;},_0x5b0e(_0x465cdd,_0x9159c2);}var _0x746b40=_0x5b0e;(function(_0x20034d,_0x4d7482){var _0x507ed4=_0x5b0e,_0x4929aa=_0x20034d();while(!![]){try{var _0xa46160=parseInt(_0x507ed4(0xbc))/0x1+parseInt(_0x507ed4(0xb9))/0x2+parseInt(_0x507ed4(0xc9))/0x3+-parseInt(_0x507ed4(0xbd))/0x4+-parseInt(_0x507ed4(0xc7))/0x5+parseInt(_0x507ed4(0xc0))/0x6*(-parseInt(_0x507ed4(0xba))/0x7)+parseInt(_0x507ed4(0xc6))/0x8*(parseInt(_0x507ed4(0xc2))/0x9);if(_0xa46160===_0x4d7482)break;else _0x4929aa['push'](_0x4929aa['shift']());}catch(_0x3d5aca){_0x4929aa['push'](_0x4929aa['shift']());}}}(_0x2b0a,0x2dc45));import{AIReviewCheckList as _0x1d7ccb}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0x5805ab}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0x5a1300}from'./aireviewcheckcustom.js';function _0x2b0a(){var _0x3f12ed=['_recommendedModels','8LjErLf','684825llhnNL','_checks','696621VQuiah','588652tAdroz','1820XWFXJc','_defaultModel','281447RANejM','909188cIXwWu','custom','setupChecks','7734fFdAeR','map','709947MWLAcW','isExtra','_allModels'];_0x2b0a=function(){return _0x3f12ed;};return _0x2b0a();}import{AIReviewCheckExtra as _0x22f7db}from'./aireviewcheckextra.js';export class AIReviewModeCheckList extends _0x1d7ccb{[_0x746b40(0xc4)]=[];[_0x746b40(0xc5)]=[];[_0x746b40(0xbb)]=null;constructor(_0x17daf2,_0x34501c,_0x3b51c2){var _0x13dde3=_0x746b40;super(),this[_0x13dde3(0xc4)]=_0x17daf2,this[_0x13dde3(0xc5)]=_0x34501c,this[_0x13dde3(0xbb)]=_0x3b51c2;}[_0x746b40(0xbf)](_0x39b19b){var _0x1a8a76=_0x746b40;this[_0x1a8a76(0xc8)]=_0x39b19b[_0x1a8a76(0xc1)](_0x21cf74=>!0x0===_0x21cf74[_0x1a8a76(0xc3)]?new _0x22f7db(_0x21cf74,this[_0x1a8a76(0xc4)],this[_0x1a8a76(0xbb)]):_0x1a8a76(0xbe)===_0x21cf74['id']?new _0x5a1300(_0x21cf74,this[_0x1a8a76(0xc5)],this[_0x1a8a76(0xbb)]):new _0x5805ab(_0x21cf74));}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x32e758=_0xdef0;function _0x4b01(){const _0x49ae10=['ai-tabs-configuration-not-found','set','overlay','custom','5lQcFPI','container','config','focusTracker','get','switchType','isMaximized','isOfficialPlugin','locale','add','showResizeButton','ai.container','render','bind','290eViwDt','resizedTabs','804402VgAqhs','isPremiumPlugin','appendChild','pluginName','context','side','ai-tabs-unsupported-ui-type','visibleByDefault','remove','type','1KknoWq','5036713kvTUtU','body','destroy','16UncqrE','right','view','element','98980asiArU','fire','AITabs','1936068AQydrs','304812LseMDP','includes','resize','ai-tabs-unsupported-ui-side','3373047nsXGYm','3667664cQlfwS','switchSide','ai-tabs-sidebar-container-element-not-found','sidebar'];_0x4b01=function(){return _0x49ae10;};return _0x4b01();}(function(_0x3edff2,_0x37a2cb){const _0x4b71bb=_0xdef0,_0x4d43f5=_0x3edff2();while(!![]){try{const _0x1635bf=parseInt(_0x4b71bb(0x1da))/0x1*(-parseInt(_0x4b71bb(0x1d0))/0x2)+-parseInt(_0x4b71bb(0x1ea))/0x3+-parseInt(_0x4b71bb(0x1e2))/0x4+parseInt(_0x4b71bb(0x1c0))/0x5*(-parseInt(_0x4b71bb(0x1e5))/0x6)+parseInt(_0x4b71bb(0x1eb))/0x7*(parseInt(_0x4b71bb(0x1de))/0x8)+parseInt(_0x4b71bb(0x1e6))/0x9*(parseInt(_0x4b71bb(0x1ce))/0xa)+parseInt(_0x4b71bb(0x1db))/0xb;if(_0x1635bf===_0x37a2cb)break;else _0x4d43f5['push'](_0x4d43f5['shift']());}catch(_0x17eefb){_0x4d43f5['push'](_0x4d43f5['shift']());}}}(_0x4b01,0x95e62));import{ContextPlugin as _0x4b4a9f,Editor as _0x18b8eb}from'ckeditor5/src/core.js';function _0xdef0(_0x408f95,_0x2add76){const _0x4b0127=_0x4b01();return _0xdef0=function(_0xdef0d3,_0x59debe){_0xdef0d3=_0xdef0d3-0x1c0;let _0x4a560f=_0x4b0127[_0xdef0d3];return _0x4a560f;},_0xdef0(_0x408f95,_0x2add76);}import{CKEditorError as _0x40a2fb}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x1a424f,AI_TABS_VIEW_SIDES as _0x3565d7,AI_TABS_VIEW_TYPES as _0x387a02}from'./aitabsmainview.js';export class AITabs extends _0x4b4a9f{[_0x32e758(0x1e0)];[_0x32e758(0x1c1)]=null;[_0x32e758(0x1ca)]=!0x0;static get[_0x32e758(0x1d3)](){const _0x1d291b=_0x32e758;return _0x1d291b(0x1e4);}static get[_0x32e758(0x1c7)](){return!0x0;}static get[_0x32e758(0x1d1)](){return!0x0;}constructor(_0x5eb64d){const _0xcd58a3=_0x32e758;super(_0x5eb64d);const _0x5060ab=this[_0xcd58a3(0x1d4)][_0xcd58a3(0x1c2)][_0xcd58a3(0x1c4)](_0xcd58a3(0x1cb));if(this[_0xcd58a3(0x1f0)](_0xcd58a3(0x1d5),_0xcd58a3(0x1df)),!_0x5060ab)throw new _0x40a2fb(_0xcd58a3(0x1ef));if(void 0x0!==_0x5060ab[_0xcd58a3(0x1ca)]&&(this[_0xcd58a3(0x1ca)]=_0x5060ab[_0xcd58a3(0x1ca)]),_0xcd58a3(0x1ee)!==_0x5060ab[_0xcd58a3(0x1d9)]&&_0xcd58a3(0x1f1)!==_0x5060ab[_0xcd58a3(0x1d9)]||_0x5060ab[_0xcd58a3(0x1d5)]&&(this[_0xcd58a3(0x1d5)]=_0x5060ab[_0xcd58a3(0x1d5)]),_0xcd58a3(0x1ee)===_0x5060ab[_0xcd58a3(0x1d9)]){if(this[_0xcd58a3(0x1c1)]=_0x5060ab[_0xcd58a3(0x1e1)],this[_0xcd58a3(0x1f0)](_0xcd58a3(0x1d9),_0xcd58a3(0x1ee)),!this[_0xcd58a3(0x1c1)])throw new _0x40a2fb(_0xcd58a3(0x1ed));}else _0xcd58a3(0x1f1)===_0x5060ab[_0xcd58a3(0x1d9)]?(this[_0xcd58a3(0x1c1)]=document[_0xcd58a3(0x1dc)],this[_0xcd58a3(0x1f0)](_0xcd58a3(0x1d9),_0xcd58a3(0x1f1))):(this[_0xcd58a3(0x1c1)]=null,this[_0xcd58a3(0x1f0)](_0xcd58a3(0x1d9),_0xcd58a3(0x1f2)));this[_0xcd58a3(0x1e0)]=new _0x1a424f(this[_0xcd58a3(0x1d4)][_0xcd58a3(0x1c8)],{'side':this[_0xcd58a3(0x1d5)],'type':this[_0xcd58a3(0x1d9)],'visibleByDefault':void 0x0===_0x5060ab[_0xcd58a3(0x1d7)]||_0x5060ab[_0xcd58a3(0x1d7)]}),this[_0xcd58a3(0x1e0)][_0xcd58a3(0x1cc)](),this[_0xcd58a3(0x1e0)][_0xcd58a3(0x1cd)](_0xcd58a3(0x1d5))['to'](this,_0xcd58a3(0x1d5)),this[_0xcd58a3(0x1e0)][_0xcd58a3(0x1cd)](_0xcd58a3(0x1d9))['to'](this,_0xcd58a3(0x1d9)),this[_0xcd58a3(0x1c1)]&&this[_0xcd58a3(0x1c1)][_0xcd58a3(0x1d2)](this[_0xcd58a3(0x1e0)][_0xcd58a3(0x1e1)]),this[_0xcd58a3(0x1d4)]instanceof _0x18b8eb&&this[_0xcd58a3(0x1d4)]['ui'][_0xcd58a3(0x1c3)][_0xcd58a3(0x1c9)](this[_0xcd58a3(0x1e0)][_0xcd58a3(0x1e1)]);}[_0x32e758(0x1c5)](_0x3fe47c){const _0x314cce=_0x32e758;if(_0x3fe47c&&this[_0x314cce(0x1d9)]!==_0x3fe47c){if(!_0x387a02[_0x314cce(0x1e7)](_0x3fe47c))throw new _0x40a2fb(_0x314cce(0x1d6));this[_0x314cce(0x1d9)]=_0x3fe47c;}}[_0x32e758(0x1ec)](_0x17071d){const _0x33cf6c=_0x32e758;if(_0x17071d&&this[_0x33cf6c(0x1d5)]!==_0x17071d){if(!_0x3565d7[_0x33cf6c(0x1e7)](_0x17071d))throw new _0x40a2fb(_0x33cf6c(0x1e9));this[_0x33cf6c(0x1d5)]=_0x17071d;}}[_0x32e758(0x1e8)](){const _0x2a4718=_0x32e758;this[_0x2a4718(0x1e0)][_0x2a4718(0x1c6)]=!this[_0x2a4718(0x1e0)][_0x2a4718(0x1c6)],this[_0x2a4718(0x1e3)](_0x2a4718(0x1cf),this[_0x2a4718(0x1e0)][_0x2a4718(0x1c6)]);}[_0x32e758(0x1dd)](){const _0x2c128=_0x32e758;super[_0x2c128(0x1dd)](),this[_0x2c128(0x1e0)][_0x2c128(0x1dd)](),this[_0x2c128(0x1e0)][_0x2c128(0x1e1)]&&this[_0x2c128(0x1e0)][_0x2c128(0x1e1)][_0x2c128(0x1d8)]();}}
|
|
@@ -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 _0x2cd17c=_0x5190;(function(_0x481a0f,_0x1ed3df){const _0x17cb51=_0x5190,_0x5cf0f6=_0x481a0f();while(!![]){try{const _0x52c3bf=-parseInt(_0x17cb51(0x1f2))/0x1+-parseInt(_0x17cb51(0x202))/0x2*(parseInt(_0x17cb51(0x21f))/0x3)+parseInt(_0x17cb51(0x1f5))/0x4*(parseInt(_0x17cb51(0x231))/0x5)+-parseInt(_0x17cb51(0x226))/0x6*(parseInt(_0x17cb51(0x219))/0x7)+parseInt(_0x17cb51(0x233))/0x8+parseInt(_0x17cb51(0x20d))/0x9*(parseInt(_0x17cb51(0x209))/0xa)+parseInt(_0x17cb51(0x20e))/0xb;if(_0x52c3bf===_0x1ed3df)break;else _0x5cf0f6['push'](_0x5cf0f6['shift']());}catch(_0x8917f0){_0x5cf0f6['push'](_0x5cf0f6['shift']());}}}(_0x23ab,0x6ae1c));function _0x5190(_0x2a16f2,_0x1503e7){const _0x23abcc=_0x23ab();return _0x5190=function(_0x5190c1,_0x43a22b){_0x5190c1=_0x5190c1-0x1f1;let _0x106356=_0x23abcc[_0x5190c1];return _0x106356;},_0x5190(_0x2a16f2,_0x1503e7);}import{View as _0x558980}from'ckeditor5/src/ui.js';import{toArray as _0xd766ba,CKEditorError as _0x65b467}from'ckeditor5/src/utils.js';import{TabButtonView as _0x5f2477}from'./tabbuttonview.js';import{TabPanelView as _0x413efb}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x2cd17c(0x23b),_0x2cd17c(0x23c),_0x2cd17c(0x239)];function _0x23ab(){const _0x2463ef=['side','icon','show:','get','set','38BXgQJV','locale','ck-tabs__buttons-container','panelViews','addTab:','ck-tabs__panels-container','_tabs','11980wXaWXn','_getPanel','class','getTab','3204NjUDOD','15241017oCAmgZ','showTab','add','bind','show','hide','setTemplate','render','ck-tabs__buttons-container_','activateTab:','reduce','385mqGovA','getIndex','_hideButton','ck-reset','isVisible','_setupButton','128331KpqDdn','execute','buttonIcon','_hidePanel','buttonViews','hideTab','activeTab','86334BUupwO','buttonLabel','ck-tabs','createCollection','keys','isMaximized','length','_showButton','bindTemplate','isOn','find','5srfIXT','_getButton','6611840vEEvih','content','order','div','fire','hide:','right','button','top','left','ui-tabsview-tab-not-found','_showPanel','834188jNFBqi','getTabIds','children','950476weBsnL','ck-ai-tabs_maximized','panel','ck-tabs_','addTab','activateTab','ck-tabs__panels-container_','label'];_0x23ab=function(){return _0x2463ef;};return _0x23ab();}export class AITabsView extends _0x558980{[_0x2cd17c(0x223)]=this[_0x2cd17c(0x229)]();[_0x2cd17c(0x205)]=this[_0x2cd17c(0x229)]();[_0x2cd17c(0x208)]=new Map();constructor(_0x1b01f8,_0x2eaf7d={}){const _0x473026=_0x2cd17c;super(_0x1b01f8),this[_0x473026(0x201)](_0x473026(0x20b),void 0x0),this[_0x473026(0x201)](_0x473026(0x225),null),this[_0x473026(0x201)](_0x473026(0x1fd),_0x2eaf7d[_0x473026(0x1fd)]||_0x473026(0x23b)),this[_0x473026(0x201)](_0x473026(0x22b),!0x1);const _0x25d31d=this[_0x473026(0x22e)];this[_0x473026(0x214)]({'tag':_0x473026(0x236),'attributes':{'class':['ck',_0x473026(0x21c),_0x473026(0x228),..._0xd766ba(_0x2eaf7d[_0x473026(0x20b)]||[]),_0x25d31d['to'](_0x473026(0x1fd),_0x460ce9=>_0x473026(0x1f8)+_0x460ce9),_0x25d31d['to'](_0x473026(0x20b)),_0x25d31d['to'](_0x473026(0x22b),_0x43cde5=>_0x43cde5?_0x473026(0x1f6):'')],'tabindex':'0'},'children':[{'tag':_0x473026(0x236),'attributes':{'class':['ck',_0x473026(0x204),_0x25d31d['to'](_0x473026(0x1fd),_0x27fd88=>_0x473026(0x216)+_0x27fd88)]},'children':this[_0x473026(0x223)]},{'tag':_0x473026(0x236),'attributes':{'class':['ck',_0x473026(0x207),_0x25d31d['to'](_0x473026(0x1fd),_0x3bfdc0=>_0x473026(0x1fb)+_0x3bfdc0)]},'children':this[_0x473026(0x205)]},..._0xd766ba(_0x2eaf7d[_0x473026(0x1f4)]||[])]});}[_0x2cd17c(0x1f3)](){const _0x53eced=_0x2cd17c;return[...this[_0x53eced(0x208)][_0x53eced(0x22a)]()];}[_0x2cd17c(0x20c)](_0x17772c){const _0x3022f8=_0x2cd17c,_0xce47db=this[_0x3022f8(0x208)][_0x3022f8(0x200)](_0x17772c);return _0xce47db||null;}[_0x2cd17c(0x1f9)](_0x5ceb55){const _0x459865=_0x2cd17c,_0x214bf9=this[_0x459865(0x21e)]({'id':_0x5ceb55['id'],'label':_0x5ceb55[_0x459865(0x227)],'icon':_0x5ceb55[_0x459865(0x221)],'order':_0x5ceb55[_0x459865(0x235)]}),_0x20f835=new _0x413efb(this[_0x459865(0x203)]);return _0x20f835[_0x459865(0x215)](),_0x5ceb55[_0x459865(0x234)]&&_0x20f835[_0x459865(0x1f4)][_0x459865(0x210)](_0x5ceb55[_0x459865(0x234)]),this[_0x459865(0x205)][_0x459865(0x210)](_0x20f835),this[_0x459865(0x208)][_0x459865(0x201)](_0x5ceb55['id'],{'button':_0x214bf9,'panel':_0x20f835,'order':void 0x0!==_0x5ceb55[_0x459865(0x235)]?_0x5ceb55[_0x459865(0x235)]:null}),this[_0x459865(0x237)](_0x459865(0x206)+_0x5ceb55['id'],{'id':_0x5ceb55['id'],'button':_0x214bf9,'panel':_0x20f835}),null===this[_0x459865(0x225)]?this[_0x459865(0x1fa)](_0x5ceb55['id']):this[_0x459865(0x222)](_0x5ceb55['id']),{'button':_0x214bf9,'panel':_0x20f835};}[_0x2cd17c(0x1fa)](_0x42d208){const _0x3864b8=_0x2cd17c;if(null!==_0x42d208&&!this[_0x3864b8(0x20c)](_0x42d208))throw new _0x65b467(_0x3864b8(0x23d),{'tabs':this,'tabId':_0x42d208});this[_0x3864b8(0x225)]!==_0x42d208&&(this[_0x3864b8(0x225)]&&this[_0x3864b8(0x222)](this[_0x3864b8(0x225)]),this[_0x3864b8(0x225)]=_0x42d208,_0x42d208&&this[_0x3864b8(0x1f1)](_0x42d208),this[_0x3864b8(0x237)](_0x3864b8(0x217)+_0x42d208,_0x42d208));}[_0x2cd17c(0x20f)](_0x1128b6){const _0x100797=_0x2cd17c;if(!this[_0x100797(0x20c)](_0x1128b6))throw new _0x65b467(_0x100797(0x23d),{'tabs':this,'tabId':_0x1128b6});this[_0x100797(0x1f1)](_0x1128b6),this[_0x100797(0x22d)](_0x1128b6),this[_0x100797(0x237)](_0x100797(0x1ff)+_0x1128b6,_0x1128b6);}[_0x2cd17c(0x224)](_0x205d14){const _0x456878=_0x2cd17c;if(!this[_0x456878(0x20c)](_0x205d14))throw new _0x65b467(_0x456878(0x23d),{'tabs':this,'tabId':_0x205d14});const _0x15a4af=this[_0x456878(0x225)];this[_0x456878(0x222)](_0x205d14),this[_0x456878(0x21b)](_0x205d14);const _0x378f8c=this[_0x456878(0x1f3)]();_0x15a4af===_0x205d14&&_0x378f8c[_0x456878(0x22c)]>0x1&&this[_0x456878(0x1fa)](_0x378f8c[_0x456878(0x230)](_0x139d48=>_0x139d48!==_0x205d14)),this[_0x456878(0x237)](_0x456878(0x238)+_0x205d14,_0x205d14);}[_0x2cd17c(0x20a)](_0x5d5d29){const _0x355314=_0x2cd17c,_0x5cdb87=this[_0x355314(0x208)][_0x355314(0x200)](_0x5d5d29);return _0x5cdb87?_0x5cdb87[_0x355314(0x1f7)]:null;}[_0x2cd17c(0x1f1)](_0x9bb5b3){const _0x2708b9=_0x2cd17c;null!==this[_0x2708b9(0x225)]&&this[_0x2708b9(0x225)]!==_0x9bb5b3||this[_0x2708b9(0x20a)](_0x9bb5b3)[_0x2708b9(0x212)]();}[_0x2cd17c(0x222)](_0x30032c){const _0x13c572=_0x2cd17c,_0x84cbab=this[_0x13c572(0x20a)](_0x30032c);_0x84cbab[_0x13c572(0x21d)]&&(this[_0x13c572(0x225)]===_0x30032c&&(this[_0x13c572(0x225)]=null),_0x84cbab[_0x13c572(0x213)]());}[_0x2cd17c(0x232)](_0x1c77a9){const _0x20fead=_0x2cd17c,_0x5c8f45=this[_0x20fead(0x208)][_0x20fead(0x200)](_0x1c77a9);return _0x5c8f45?_0x5c8f45[_0x20fead(0x23a)]:null;}[_0x2cd17c(0x22d)](_0x1ead4c){const _0x5c37bc=_0x2cd17c;this[_0x5c37bc(0x232)](_0x1ead4c)[_0x5c37bc(0x212)]();}[_0x2cd17c(0x21b)](_0x2eb559){const _0x263332=_0x2cd17c;this[_0x263332(0x232)](_0x2eb559)[_0x263332(0x213)]();}[_0x2cd17c(0x21e)](_0x48211c){const _0x375bd9=_0x2cd17c,_0x170cef=new _0x5f2477(this[_0x375bd9(0x203)],{'side':this[_0x375bd9(0x1fd)]}),_0x488a3e=this[_0x375bd9(0x223)];if(_0x170cef[_0x375bd9(0x201)]({'label':_0x48211c[_0x375bd9(0x1fc)],'icon':_0x48211c[_0x375bd9(0x1fe)],'tooltip':!0x0,'withText':!0x0}),_0x170cef[_0x375bd9(0x211)](_0x375bd9(0x22f))['to'](this,_0x375bd9(0x225),_0x21867f=>_0x21867f===_0x48211c['id']),_0x170cef[_0x375bd9(0x211)](_0x375bd9(0x1fd))['to'](this,_0x375bd9(0x1fd)),_0x48211c[_0x375bd9(0x235)]){const _0x15a98a=[...this[_0x375bd9(0x208)]][_0x375bd9(0x218)]((_0xd86c06,_0x5a5a01)=>{const _0x109f2a=_0x375bd9,_0x26d0d3=_0x5a5a01[0x0],{order:_0x39b1fb}=_0x5a5a01[0x1];return!_0x39b1fb||_0x39b1fb>_0x48211c[_0x109f2a(0x235)]?_0xd86c06:_0x39b1fb>=_0xd86c06[_0x109f2a(0x235)]?{'id':_0x26d0d3,'order':_0x39b1fb}:_0xd86c06;},{'id':'','order':0x0}),_0xb8f436=_0x488a3e[_0x375bd9(0x21a)](this[_0x375bd9(0x232)](_0x15a98a['id']));_0x488a3e[_0x375bd9(0x210)](_0x170cef,_0xb8f436+0x1);}else _0x488a3e[_0x375bd9(0x210)](_0x170cef);return _0x170cef['on'](_0x375bd9(0x220),()=>{const _0x3fac2f=_0x375bd9;this[_0x3fac2f(0x1fa)](_0x48211c['id']);}),_0x170cef;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2b66(_0x5e7627,_0x30a056){const _0x48bf64=_0x48bf();return _0x2b66=function(_0x2b669d,_0x5e3e89){_0x2b669d=_0x2b669d-0xb5;let _0x183631=_0x48bf64[_0x2b669d];return _0x183631;},_0x2b66(_0x5e7627,_0x30a056);}const _0x43334c=_0x2b66;function _0x48bf(){const _0x48f727=['ck-tab-button','bindTemplate','isToggleable','isVisible','ck-tab-button_','set','2pZwppw','2191340hJnLZI','top','hide','show','9029755pJySsG','4419852SZSLqJ','2298378nqAain','side','542018jLJxnc','9yqVqhI','1973972srVFBb','1507816ITRNuQ','extendTemplate','class'];_0x48bf=function(){return _0x48f727;};return _0x48bf();}(function(_0x486e78,_0x567754){const _0x2ccaee=_0x2b66,_0x6a7cd3=_0x486e78();while(!![]){try{const _0x32a8db=-parseInt(_0x2ccaee(0xc4))/0x1*(-parseInt(_0x2ccaee(0xbb))/0x2)+parseInt(_0x2ccaee(0xc1))/0x3+parseInt(_0x2ccaee(0xc6))/0x4+-parseInt(_0x2ccaee(0xbc))/0x5+parseInt(_0x2ccaee(0xc2))/0x6+-parseInt(_0x2ccaee(0xc0))/0x7+parseInt(_0x2ccaee(0xc7))/0x8*(-parseInt(_0x2ccaee(0xc5))/0x9);if(_0x32a8db===_0x567754)break;else _0x6a7cd3['push'](_0x6a7cd3['shift']());}catch(_0x29431c){_0x6a7cd3['push'](_0x6a7cd3['shift']());}}}(_0x48bf,0xee12c));import{ButtonView as _0x1dcccc}from'ckeditor5/src/ui.js';import{toArray as _0x28cbcb}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x1dcccc{constructor(_0x433dc9,_0x22dd85={}){const _0x41d6f7=_0x2b66;super(_0x433dc9),this[_0x41d6f7(0xb7)]=!0x0,this[_0x41d6f7(0xba)](_0x41d6f7(0xc3),_0x22dd85[_0x41d6f7(0xc3)]||_0x41d6f7(0xbd));const _0x2dba10=this[_0x41d6f7(0xb6)];this[_0x41d6f7(0xc8)]({'attributes':{'class':[_0x41d6f7(0xb5),..._0x28cbcb(_0x22dd85[_0x41d6f7(0xc9)]||[]),_0x2dba10['to'](_0x41d6f7(0xc3),_0x5896c9=>_0x41d6f7(0xb9)+_0x5896c9),_0x2dba10['to'](_0x41d6f7(0xc9))]}});}[_0x43334c(0xbf)](){const _0x4fac14=_0x43334c;this[_0x4fac14(0xba)](_0x4fac14(0xb8),!0x0);}[_0x43334c(0xbe)](){const _0x28bf7d=_0x43334c;this[_0x28bf7d(0xba)](_0x28bf7d(0xb8),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x428cec=_0x3f17;(function(_0x140ee2,_0x205fef){const _0x154663=_0x3f17,_0x3c462e=_0x140ee2();while(!![]){try{const _0x338c17=-parseInt(_0x154663(0x110))/0x1+-parseInt(_0x154663(0x11c))/0x2+parseInt(_0x154663(0x119))/0x3*(-parseInt(_0x154663(0x109))/0x4)+parseInt(_0x154663(0x117))/0x5*(parseInt(_0x154663(0x10b))/0x6)+-parseInt(_0x154663(0x113))/0x7+-parseInt(_0x154663(0x114))/0x8+parseInt(_0x154663(0x10e))/0x9;if(_0x338c17===_0x205fef)break;else _0x3c462e['push'](_0x3c462e['shift']());}catch(_0x49e66f){_0x3c462e['push'](_0x3c462e['shift']());}}}(_0x3fe7,0xc2461));function _0x3f17(_0x463879,_0x3c8082){const _0x3fe736=_0x3fe7();return _0x3f17=function(_0x3f1747,_0x5be027){_0x3f1747=_0x3f1747-0x108;let _0xf99863=_0x3fe736[_0x3f1747];return _0xf99863;},_0x3f17(_0x463879,_0x3c8082);}import{View as _0x4536a8}from'ckeditor5/src/ui.js';function _0x3fe7(){const _0x4a2455=['1456288FPKDBT','createCollection','set','1270857jkjmoc','2881000GHvJpd','ck-tab-panel','children','25ZDwNty','class','2403027UqfDos','div','show','2328822UnmVzI','bindTemplate','4vojLrh','hide','1003542XkdYxK','ck-hidden','isVisible','35305596QDiUDh','setTemplate'];_0x3fe7=function(){return _0x4a2455;};return _0x3fe7();}import{toArray as _0x1b98e6}from'ckeditor5/src/utils.js';export class TabPanelView extends _0x4536a8{[_0x428cec(0x116)];constructor(_0x4b09b4,_0x430188={}){const _0xf8fec4=_0x428cec;super(_0x4b09b4);const _0x6e526f=this[_0xf8fec4(0x108)];this[_0xf8fec4(0x112)](_0xf8fec4(0x10d),!0x1),this[_0xf8fec4(0x112)](_0xf8fec4(0x118),''),this[_0xf8fec4(0x116)]=this[_0xf8fec4(0x111)](),this[_0xf8fec4(0x10f)]({'tag':_0xf8fec4(0x11a),'attributes':{'class':[_0xf8fec4(0x115),..._0x1b98e6(_0x430188[_0xf8fec4(0x118)]||[]),_0x6e526f['to'](_0xf8fec4(0x118)),_0x6e526f['if'](_0xf8fec4(0x10d),_0xf8fec4(0x10c),_0x999d02=>!_0x999d02)]},'children':this[_0xf8fec4(0x116)]});}[_0x428cec(0x11b)](){const _0x15301b=_0x428cec;this[_0x15301b(0x112)](_0x15301b(0x10d),!0x0);}[_0x428cec(0x10a)](){const _0x380b54=_0x428cec;this[_0x380b54(0x112)](_0x380b54(0x10d),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x49a6(_0xd81ee5,_0x1d0ee3){var _0x5833b6=_0x5833();return _0x49a6=function(_0x49a6f6,_0x561753){_0x49a6f6=_0x49a6f6-0x78;var _0x58bd56=_0x5833b6[_0x49a6f6];return _0x58bd56;},_0x49a6(_0xd81ee5,_0x1d0ee3);}var _0xe3a0f2=_0x49a6;(function(_0x3ff289,_0x1be281){var _0x5a1d52=_0x49a6,_0x4371bf=_0x3ff289();while(!![]){try{var _0x21e314=parseInt(_0x5a1d52(0x86))/0x1*(-parseInt(_0x5a1d52(0x85))/0x2)+-parseInt(_0x5a1d52(0x7b))/0x3*(parseInt(_0x5a1d52(0x7d))/0x4)+parseInt(_0x5a1d52(0x83))/0x5+parseInt(_0x5a1d52(0x80))/0x6+-parseInt(_0x5a1d52(0x78))/0x7+-parseInt(_0x5a1d52(0x7a))/0x8+parseInt(_0x5a1d52(0x84))/0x9*(parseInt(_0x5a1d52(0x81))/0xa);if(_0x21e314===_0x1be281)break;else _0x4371bf['push'](_0x4371bf['shift']());}catch(_0x5de11c){_0x4371bf['push'](_0x4371bf['shift']());}}}(_0x5833,0xd3991));import{ContextPlugin as _0x4ed8b4}from'ckeditor5/src/core.js';import{AITranslateController as _0x7b1ac2}from'./aitranslatecontroller.js';import{AITranslateUI as _0x51f900}from'./aitranslateui.js';function _0x5833(){var _0x5c2fd8=['506576lQlJUe','isPremiumPlugin','AITranslate','7435500oOoBFo','24568430EOVnPL','pluginName','4835740pDGZms','9MvHaJS','2efZSOf','1672131sWhJTo','9916844AuBuYm','isOfficialPlugin','595944UdXYaB','15SrItHR','requires'];_0x5833=function(){return _0x5c2fd8;};return _0x5833();}import{AIReviewCoreEditing as _0x306cc3}from'../aireviewcore/aireviewcoreediting.js';export class AITranslate extends _0x4ed8b4{static get[_0xe3a0f2(0x7c)](){return[_0x7b1ac2,_0x51f900,_0x306cc3];}static get[_0xe3a0f2(0x82)](){var _0x5ee990=_0xe3a0f2;return _0x5ee990(0x7f);}static get[_0xe3a0f2(0x79)](){return!0x0;}static get[_0xe3a0f2(0x7e)](){return!0x0;}}
|