@ckeditor/ckeditor5-ai 47.7.1-alpha.0 → 47.7.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/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- 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/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/aiballoon/aiballoon.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/ui/aichatballoonview.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/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/utils/eventnames.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/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/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/documentrange.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/aiquickactionscommand.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/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/aireviewchecklist.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/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/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.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/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4682c4=_0x25d8;(function(_0x5d4d7d,_0x54aa74){var _0x70593f=_0x25d8,_0x4ce469=_0x5d4d7d();while(!![]){try{var _0x2006b5=parseInt(_0x70593f(0xc4))/0x1+parseInt(_0x70593f(0xca))/0x2*(-parseInt(_0x70593f(0xc6))/0x3)+parseInt(_0x70593f(0xce))/0x4*(-parseInt(_0x70593f(0xc0))/0x5)+parseInt(_0x70593f(0xc2))/0x6*(parseInt(_0x70593f(0xc7))/0x7)+parseInt(_0x70593f(0xc3))/0x8*(parseInt(_0x70593f(0xc8))/0x9)+-parseInt(_0x70593f(0xcd))/0xa+-parseInt(_0x70593f(0xc9))/0xb*(-parseInt(_0x70593f(0xcc))/0xc);if(_0x2006b5===_0x54aa74)break;else _0x4ce469['push'](_0x4ce469['shift']());}catch(_0x370ca8){_0x4ce469['push'](_0x4ce469['shift']());}}}(_0x2056,0x6c393));function _0x2056(){var _0x131335=['1716zTWGpy','6152630MvxPZU','91032DOcksn','requires','isOfficialPlugin','5dtHcLT','isPremiumPlugin','552DYhrqO','261216hsggvw','581289fXvITn','pluginName','5541xkFIic','34307ZZTUHm','9KGvUAf','4961PTBNZX','52DkYnhZ','AIReviewMode'];_0x2056=function(){return _0x131335;};return _0x2056();}function _0x25d8(_0x255f49,_0x121efd){var _0x2056bc=_0x2056();return _0x25d8=function(_0x25d8ee,_0x23448a){_0x25d8ee=_0x25d8ee-0xbe;var _0x572233=_0x2056bc[_0x25d8ee];return _0x572233;},_0x25d8(_0x255f49,_0x121efd);}import{ContextPlugin as _0x15fc8c}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x7c485c}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x472c3a}from'../aireviewcore/aireviewcoreediting.js';import{AIReviewModeController as _0x1a1f31}from'./aireviewmodecontroller.js';export class AIReviewMode extends _0x15fc8c{static get[_0x4682c4(0xbe)](){return[_0x1a1f31,_0x7c485c,_0x472c3a];}static get[_0x4682c4(0xc5)](){var _0x420b5c=_0x4682c4;return _0x420b5c(0xcb);}static get[_0x4682c4(0xbf)](){return!0x0;}static get[_0x4682c4(0xc1)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x442761=_0x31c8;(function(_0x2f2df6,_0x406137){const _0x11f450=_0x31c8,_0x245e69=_0x2f2df6();while(!![]){try{const _0x152184=-parseInt(_0x11f450(0x12f))/0x1+parseInt(_0x11f450(0x123))/0x2+-parseInt(_0x11f450(0xc3))/0x3*(-parseInt(_0x11f450(0xc7))/0x4)+parseInt(_0x11f450(0xe7))/0x5*(parseInt(_0x11f450(0x132))/0x6)+parseInt(_0x11f450(0x13f))/0x7*(parseInt(_0x11f450(0x13c))/0x8)+-parseInt(_0x11f450(0x116))/0x9*(-parseInt(_0x11f450(0xc6))/0xa)+-parseInt(_0x11f450(0xfd))/0xb*(parseInt(_0x11f450(0xf1))/0xc);if(_0x152184===_0x406137)break;else _0x245e69['push'](_0x245e69['shift']());}catch(_0x247a71){_0x245e69['push'](_0x245e69['shift']());}}}(_0x76dd,0x561c3));import{CKEditorError as _0x1e09e8}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x4b6b31}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x595e44}from'./aireviewcheckdefinitions.js';function _0x31c8(_0x2020ef,_0x48474b){const _0x76dd52=_0x76dd();return _0x31c8=function(_0x31c81e,_0x1db82b){_0x31c81e=_0x31c81e-0xc0;let _0x5823f9=_0x76dd52[_0x31c81e];return _0x5823f9;},_0x31c8(_0x2020ef,_0x48474b);}import{AIReviewModeCheckList as _0x2db898}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0xd35207}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x57d764}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x5ec8a5}from'../aicore/model/aimodels.js';function _0x76dd(){const _0x59ad37=['content','ai.review.extraCommands','hideDiffInBalloon','args','_onReviewCheckRun','markChangePositionInEditorContent','1216966JOZzvl','_initRequiredPlugins','hideChangeBalloon','panel','domEvent','ai-review-mode-command-unavailable-due-to-missing-model','locale','toUpperCase','ck-ai_review-diff','find','_getModels','isExtra','704119hYfTAn','getAll','toggleDiff','175308xkTwtj','getAvailableModels','models','getDomRoot','ck-ai_review-highlights','_createReviewCheckRun','origin','getRoot','AI_REVIEW_CHECK_','setupChecks','376cKGWco','_hasDefaultAvailableCommands','title','77315KXbiqB','view','diffContent','ck-ai_review-','deactivateChange','filter','pluginName','recommended','replaceAll','getChangeById','params','changeId','_onDiffChange','getDocumentData','_isDiffOn','getElement','checks','14484fHRseC','_onChangeMarkerHovered','_TITLE','90FSqJmL','248oWzHra','options','_onReviewCheckResultActivated','_getTranslationWithDefault','resetActiveStateInResults','getEditor','hover','removeClass','all','_translateReviewCheck','_onChangeMarkerBlurred','_logError','getClassNames','_getExtraChecks','addClass','_onActivateChange','join','_logErrorForNonExistentChecks','ai.review.availableCommands','plugins','_filterChecksWithMissingModel','document','prompt','AIReviewCoreEditing','removeCheckById','_onReviewCheckResultDeactivated','ai.models','model','_aiConnector','getDefault','markerElement','_OPTIONS_LABEL','90PzxHpH','balloon','some','get','uiInteraction','defaultModel','startsWith','_currentReviewCheckRun','_onDeactivateChange','_onChangeMarkerClicked','2318028CGMokS','_markChangePositionInEditorContent','_DESCRIPTION','forEach','init','data','_getChangeContentElement','showDiffInBalloon','setMarkersInElementAsActive','editing','custom','_aiReviewCoreUi','55NHadZx','default','context','_OPTIONS_DATA_','ai-review-mode-non-existent-commands-used','_changeActivationSource','click','ai-review-mode-models-unable-to-retrieve','config','description','viewportOffset','_getChecksList','activateChange','_diffContent','define','setAllMarkersAsInactive','map','length','_scrollToChange','label','isCustom','listenTo','showChangeBalloon','change','push','69813lQalwm','getMarkerElementForChange','_aiReviewCoreEditing','isAnyChangeActivated','AIReviewModeController','setActiveStateInResults','AIReviewModeUI'];_0x76dd=function(){return _0x59ad37;};return _0x76dd();}import{AIReviewCheckCustom as _0x368e09}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x5ed0e3}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x2e08c7}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x4b6b31{static get[_0x442761(0x145)](){const _0x3d432d=_0x442761;return _0x3d432d(0x11a);}[_0x442761(0xc0)]=!0x1;[_0x442761(0x13d)]=!0x1;constructor(_0x180d48){const _0x3ae440=_0x442761;super(_0x180d48),this[_0x3ae440(0x13d)]=!this[_0x3ae440(0xff)][_0x3ae440(0x105)][_0x3ae440(0xea)](_0x3ae440(0xd9)),this[_0x3ae440(0xff)][_0x3ae440(0x105)][_0x3ae440(0x10b)](_0x3ae440(0xd9),_0x595e44[_0x3ae440(0x10d)](_0x1e6842=>_0x1e6842['id'])),this[_0x3ae440(0xff)][_0x3ae440(0x105)][_0x3ae440(0x10b)](_0x3ae440(0x11e),[]);}async[_0x442761(0xf5)](){const _0x32a462=_0x442761;await super[_0x32a462(0xf5)](),this[_0x32a462(0x112)](this[_0x32a462(0xfc)],_0x32a462(0x131),(_0x35a793,_0x486135)=>{const _0x45635c=_0x32a462;this[_0x45635c(0xc0)]=_0x486135['on'],this[_0x45635c(0x14b)](this[_0x45635c(0xc0)]);});}[_0x442761(0x124)](){const _0x14eb7e=_0x442761;super[_0x14eb7e(0x124)](),this[_0x14eb7e(0xfc)]=this[_0x14eb7e(0xff)][_0x14eb7e(0xda)][_0x14eb7e(0xea)](_0x14eb7e(0x11c)),this[_0x14eb7e(0x118)]=this[_0x14eb7e(0xff)][_0x14eb7e(0xda)][_0x14eb7e(0xea)](_0x14eb7e(0xde));}[_0x442761(0x137)](_0x508b00,_0x4f3de5){const _0x266189=_0x442761;return _0x508b00[_0x266189(0x111)]?new _0xd35207(_0x508b00[_0x266189(0x120)][_0x266189(0xdd)],_0x508b00[_0x266189(0x120)][_0x266189(0xe2)],this[_0x266189(0x118)][_0x266189(0x14c)](),_0x4f3de5,this[_0x266189(0xe3)]):_0x4f3de5[_0x266189(0x12e)]?new _0x2e08c7(_0x4f3de5[_0x266189(0xdd)],_0x4f3de5[_0x266189(0xec)]['id'],this[_0x266189(0x118)][_0x266189(0x14c)](),_0x4f3de5,this[_0x266189(0xe3)]):new _0x57d764(this[_0x266189(0x118)][_0x266189(0x14c)](),_0x4f3de5,this[_0x266189(0xe3)],_0x508b00[_0x266189(0x149)],_0x508b00[_0x266189(0x120)]);}[_0x442761(0xc9)](_0x52b13b){const _0x11f0c8=_0x442761;this[_0x11f0c8(0xfc)][_0x11f0c8(0x11b)](_0x52b13b[_0x11f0c8(0x114)]['id']),this[_0x11f0c8(0x10f)](_0x52b13b[_0x11f0c8(0x114)]['id']);const _0x2dfe09=this[_0x11f0c8(0x118)][_0x11f0c8(0x117)](_0x52b13b[_0x11f0c8(0x114)]['id']);if(!_0x2dfe09)return;const _0x2d4878=this[_0x11f0c8(0x118)][_0x11f0c8(0xcc)]();this[_0x11f0c8(0xfc)][_0x11f0c8(0x113)](_0x52b13b[_0x11f0c8(0x114)],()=>_0x2dfe09[_0x11f0c8(0xc1)](),void 0x0,_0x11f0c8(0x103),_0x2d4878?.[_0x11f0c8(0xfa)]?.[_0x11f0c8(0x140)]?.[_0x11f0c8(0x135)](),_0x2d4878?.['ui']?.[_0x11f0c8(0x107)]),this[_0x11f0c8(0x118)][_0x11f0c8(0xf9)](_0x52b13b[_0x11f0c8(0x114)]['id']);}[_0x442761(0xe0)](){const _0x50bf49=_0x442761;this[_0x50bf49(0xfc)][_0x50bf49(0xcb)](),this[_0x50bf49(0xfc)][_0x50bf49(0x125)](),this[_0x50bf49(0x118)][_0x50bf49(0x10c)]();}[_0x442761(0xd6)](_0x328a43){const _0x39cfda=_0x442761;this[_0x39cfda(0xee)]&&_0x39cfda(0x103)===_0x328a43[_0x39cfda(0xeb)]&&(this[_0x39cfda(0x102)]=_0x39cfda(0x126),this[_0x39cfda(0xee)][_0x39cfda(0x109)](_0x328a43['id']));}[_0x442761(0xef)](_0x54e120){const _0x22bcc7=_0x442761;this[_0x22bcc7(0xee)]&&_0x22bcc7(0xe8)===_0x54e120[_0x22bcc7(0x138)]&&this[_0x22bcc7(0xee)][_0x22bcc7(0x143)]();}[_0x442761(0xf0)](_0x5a14e6,_0x55e606){const _0x41b4f8=_0x442761;if(!this[_0x41b4f8(0xee)])return;this[_0x41b4f8(0x102)]=_0x41b4f8(0x11d),this[_0x41b4f8(0xee)][_0x41b4f8(0x109)](_0x55e606[_0x41b4f8(0x14a)]);const _0x5d1c73=this[_0x41b4f8(0xee)][_0x41b4f8(0x148)](_0x55e606[_0x41b4f8(0x14a)]);if(!_0x5d1c73)return;const _0x251b51=this[_0x41b4f8(0x118)][_0x41b4f8(0xcc)]();this[_0x41b4f8(0xfc)][_0x41b4f8(0x113)](_0x5d1c73,_0x55e606[_0x41b4f8(0xe5)],_0x55e606[_0x41b4f8(0x127)],_0x41b4f8(0x103),_0x251b51?.[_0x41b4f8(0xfa)]?.[_0x41b4f8(0x140)]?.[_0x41b4f8(0x135)](),_0x251b51?.['ui']?.[_0x41b4f8(0x107)]);}[_0x442761(0xc4)](_0x556c3f,_0xf5c572){const _0x4303c7=_0x442761;if(!this[_0x4303c7(0xee)])return;if(this[_0x4303c7(0xee)][_0x4303c7(0x119)]())return;const _0x349d0d=this[_0x4303c7(0xee)][_0x4303c7(0x148)](_0xf5c572[_0x4303c7(0x14a)]);if(!_0x349d0d)return;const _0x4d0c06=this[_0x4303c7(0x118)][_0x4303c7(0xcc)]();this[_0x4303c7(0xfc)][_0x4303c7(0x113)](_0x349d0d,_0xf5c572[_0x4303c7(0xe5)],_0xf5c572[_0x4303c7(0x127)],_0x4303c7(0xcd),_0x4d0c06?.[_0x4303c7(0xfa)]?.[_0x4303c7(0x140)]?.[_0x4303c7(0x135)](),_0x4d0c06?.['ui']?.[_0x4303c7(0x107)]);}[_0x442761(0xd1)](){const _0x5ab82b=_0x442761;if(!this[_0x5ab82b(0xee)])return;this[_0x5ab82b(0xee)][_0x5ab82b(0x119)]()||this[_0x5ab82b(0xfc)][_0x5ab82b(0x125)]();}[_0x442761(0xf7)](_0x2710f5){const _0x4d3279=_0x442761,_0x2a087d=this[_0x4d3279(0x118)][_0x4d3279(0x117)](_0x2710f5);return _0x2a087d?_0x2a087d[_0x4d3279(0xc1)]():null;}[_0x442761(0xf2)](_0x43e1da,_0x8cf4ca){const _0x76069a=_0x442761;this[_0x76069a(0x118)][_0x76069a(0x122)](_0x43e1da,_0x8cf4ca);}[_0x442761(0x10a)](_0x5de428,_0x83099f){const _0x81b8de=_0x442761;return this[_0x81b8de(0x118)][_0x81b8de(0x141)](_0x5de428,_0x83099f);}[_0x442761(0x121)](){const _0x18a386=_0x442761;this[_0x18a386(0x14b)](this[_0x18a386(0xc0)]);}[_0x442761(0x14b)](_0x23b299){const _0x467add=_0x442761,_0x317bc6=this[_0x467add(0x118)][_0x467add(0xcc)]();_0x23b299?this[_0x467add(0xfc)][_0x467add(0x11f)]():this[_0x467add(0xfc)][_0x467add(0xf8)](),_0x317bc6&&_0x317bc6[_0x467add(0xfa)][_0x467add(0x140)][_0x467add(0x114)](_0x3274cf=>{const _0x3f3ac6=_0x467add,_0x4eeb19=_0x317bc6[_0x3f3ac6(0xfa)][_0x3f3ac6(0x140)][_0x3f3ac6(0xdc)][_0x3f3ac6(0x139)]();for(const _0x5cbeda of _0x4eeb19[_0x3f3ac6(0xd3)]())_0x5cbeda[_0x3f3ac6(0xed)](_0x3f3ac6(0x142))&&_0x3274cf[_0x3f3ac6(0xce)](_0x5cbeda,_0x4eeb19);_0x3274cf[_0x3f3ac6(0xd5)](_0x23b299?_0x3f3ac6(0x12b):_0x3f3ac6(0x136),_0x4eeb19);});}async[_0x442761(0x108)](){const _0xbe0d4c=_0x442761,_0x5b2bc0=[..._0x595e44,...this[_0xbe0d4c(0xd4)]()],_0x1f4504=this[_0xbe0d4c(0xff)][_0xbe0d4c(0x105)][_0xbe0d4c(0xea)](_0xbe0d4c(0xd9))||[];this[_0xbe0d4c(0xd8)](_0x1f4504,_0x5b2bc0);let _0x4195a1=_0x5b2bc0;this[_0xbe0d4c(0x13d)]||(_0x4195a1=_0x1f4504[_0xbe0d4c(0x10d)](_0x4df2f8=>_0x5b2bc0[_0xbe0d4c(0x12c)](_0xa9e8eb=>_0xa9e8eb['id']===_0x4df2f8))[_0xbe0d4c(0x144)](_0x49f937=>!!_0x49f937)),_0x4195a1=_0x4195a1[_0xbe0d4c(0x10d)](_0x2aae23=>_0x2aae23[_0xbe0d4c(0x12e)]?_0x2aae23:this[_0xbe0d4c(0xd0)](_0x2aae23));const _0x5771e3=_0x4195a1[_0xbe0d4c(0xe9)](_0x51962f=>_0x51962f[_0xbe0d4c(0x12e)]||_0xbe0d4c(0xfb)===_0x51962f['id']);let _0x40348a=[],_0x43b527=[],_0x371666=null;if(_0x5771e3){const _0x40cd10=await this[_0xbe0d4c(0x12d)]();_0x40348a=_0x40cd10[_0xbe0d4c(0xcf)],_0x43b527=_0x40cd10[_0xbe0d4c(0x146)],_0x371666=_0x40cd10[_0xbe0d4c(0xfe)];}const _0x2278d8=new _0x2db898(_0x40348a,_0x43b527,_0x371666);return _0x2278d8[_0xbe0d4c(0x13b)](_0x4195a1),_0x5771e3&&this[_0xbe0d4c(0xdb)](_0x2278d8),_0x2278d8;}[_0x442761(0xd4)](){const _0x4b76ab=_0x442761;return(this[_0x4b76ab(0xff)][_0x4b76ab(0x105)][_0x4b76ab(0xea)](_0x4b76ab(0x11e))||[])[_0x4b76ab(0x10d)](_0x37cf04=>({'id':_0x37cf04['id'],'commandId':_0x37cf04['id'],'title':_0x37cf04[_0x4b76ab(0x110)],'description':_0x37cf04[_0x4b76ab(0x106)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x37cf04[_0x4b76ab(0xdd)],'model':_0x37cf04[_0x4b76ab(0xe2)]}));}[_0x442761(0xd8)](_0x502e54,_0x13acfe){const _0x412ab4=_0x442761,_0x1ffc18=_0x502e54[_0x412ab4(0x144)](_0x3af7d5=>!_0x13acfe[_0x412ab4(0xe9)](_0xfcdefd=>_0xfcdefd['id']===_0x3af7d5));_0x1ffc18[_0x412ab4(0x10e)]&&this[_0x412ab4(0xd2)](new _0x1e09e8(_0x412ab4(0x101),this,{'commandIds':_0x1ffc18[_0x412ab4(0xd7)](',\x20')}),!0x0);}async[_0x442761(0x12d)](){const _0x10678f=_0x442761;try{const _0x1cb6b5=new _0x5ec8a5({'connector':this[_0x10678f(0xe3)],'config':this[_0x10678f(0xff)][_0x10678f(0x105)][_0x10678f(0xea)](_0x10678f(0xe1)),'locale':this[_0x10678f(0xff)][_0x10678f(0x129)]});return{'all':await _0x1cb6b5[_0x10678f(0x130)](),'recommended':await _0x1cb6b5[_0x10678f(0x133)](),'default':await _0x1cb6b5[_0x10678f(0xe4)]()};}catch(_0x1678fe){return this[_0x10678f(0xd2)](new _0x1e09e8(_0x10678f(0x104),this,void 0x0,_0x1678fe)),{'all':[],'recommended':[],'default':null};}}[_0x442761(0xd0)](_0x2fed2a){const _0x47a5a6=_0x442761,_0x494c5e=_0x47a5a6(0x13a)+_0x2fed2a['id'][_0x47a5a6(0x12a)]()[_0x47a5a6(0x147)]('-','_'),_0x23c75b={..._0x2fed2a,'title':this[_0x47a5a6(0xca)](_0x494c5e+_0x47a5a6(0xc5),_0x2fed2a[_0x47a5a6(0x13e)]),'description':this[_0x47a5a6(0xca)](_0x494c5e+_0x47a5a6(0xf3),_0x2fed2a[_0x47a5a6(0x106)])};return _0x2fed2a[_0x47a5a6(0xc8)]&&(_0x23c75b[_0x47a5a6(0xc8)]=_0x2fed2a[_0x47a5a6(0xc8)][_0x47a5a6(0x10d)](_0x308c4a=>({..._0x308c4a,'label':this[_0x47a5a6(0xca)](_0x494c5e+_0x47a5a6(0xe6),_0x308c4a[_0x47a5a6(0x110)]||''),'data':_0x308c4a[_0x47a5a6(0xf6)]?_0x308c4a[_0x47a5a6(0xf6)][_0x47a5a6(0x10d)](_0x3e2ef8=>({..._0x3e2ef8,'label':this[_0x47a5a6(0xca)](_0x494c5e+_0x47a5a6(0x100)+_0x3e2ef8['id'][_0x47a5a6(0x12a)](),_0x3e2ef8[_0x47a5a6(0x110)])})):void 0x0}))),_0x23c75b;}[_0x442761(0xdb)](_0x46351b){const _0x50fea8=_0x442761,_0x1ed08a=[];_0x46351b[_0x50fea8(0xc2)][_0x50fea8(0xf4)](_0xa21197=>{const _0x32cdf3=_0x50fea8;(_0xa21197 instanceof _0x5ed0e3&&!_0xa21197[_0x32cdf3(0xec)]||_0xa21197 instanceof _0x368e09&&!_0xa21197[_0x32cdf3(0x134)][_0x32cdf3(0x10e)])&&_0x1ed08a[_0x32cdf3(0x115)](_0xa21197['id']);}),_0x1ed08a[_0x50fea8(0x10e)]&&_0x1ed08a[_0x50fea8(0xf4)](_0x26731d=>{const _0x246aa0=_0x50fea8;_0x46351b[_0x246aa0(0xdf)](_0x26731d),this[_0x246aa0(0xd2)](new _0x1e09e8(_0x246aa0(0x128),this,{'commandId':_0x26731d}),!0x0);});}}
|
|
23
|
+
const _0xf8f5f=_0x367f;function _0x367f(_0xebc05d,_0x4a8119){const _0x223689=_0x2236();return _0x367f=function(_0x367f85,_0xb5063f){_0x367f85=_0x367f85-0x180;let _0x21383c=_0x223689[_0x367f85];return _0x21383c;},_0x367f(_0xebc05d,_0x4a8119);}(function(_0x1d1cc4,_0xad2568){const _0x265af1=_0x367f,_0x297880=_0x1d1cc4();while(!![]){try{const _0x16ce5c=-parseInt(_0x265af1(0x205))/0x1+-parseInt(_0x265af1(0x191))/0x2*(parseInt(_0x265af1(0x186))/0x3)+-parseInt(_0x265af1(0x1ed))/0x4+-parseInt(_0x265af1(0x209))/0x5+-parseInt(_0x265af1(0x1fb))/0x6*(parseInt(_0x265af1(0x1c2))/0x7)+-parseInt(_0x265af1(0x19b))/0x8+-parseInt(_0x265af1(0x1d4))/0x9*(-parseInt(_0x265af1(0x1a7))/0xa);if(_0x16ce5c===_0xad2568)break;else _0x297880['push'](_0x297880['shift']());}catch(_0x49d627){_0x297880['push'](_0x297880['shift']());}}}(_0x2236,0xc4d56));import{CKEditorError as _0x36c905}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x53a60b}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x103f25}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x728085}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x796a37}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x1e96d3}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x128de1}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0xedcaa4}from'./model/aireviewcheckcustom.js';function _0x2236(){const _0x578a9f=['hover','domEvent','map','getEditor','getMarkerElementForChange','_aiConnector','_onChangeMarkerClicked','deactivateChange','custom','5609796DFudtw','removeCheckById','_aiReviewCoreEditing','viewportOffset','resetActiveStateInResults','some','getClassNames','ck-ai_review-','_diffContent','_onReviewCheckRun','setActiveStateInResults','isCustom','ai-review-mode-non-existent-commands-used','hideChangeBalloon','60qWGqDY','getChangeById','defaultModel','isExtra','default','_getChecksList','_hasDefaultAvailableCommands','getElement','getDocumentData','_translateReviewCheck','1580497diYatJ','uiInteraction','markChangePositionInEditorContent','setMarkersInElementAsActive','2145525qpNAya','startsWith','ai.review.availableCommands','define','_getChangeContentElement','_createReviewCheckRun','join','_aiReviewCoreUi','15eiwzZz','push','_OPTIONS_LABEL','showDiffInBalloon','markerElement','AIReviewModeController','_onDeactivateChange','document','getDomRoot','_scrollToChange','length','471200oQLhlE','options','ai.review.extraCommands','panel','getAll','title','model','showChangeBalloon','removeClass','_initRequiredPlugins','1664592qUcfDp','_onChangeMarkerHovered','forEach','getDefault','AI_REVIEW_CHECK_','_onActivateChange','hideDiffInBalloon','checks','activateChange','ai-review-mode-command-unavailable-due-to-missing-model','ai.models','content','11678890AFKmHk','args','balloon','addClass','replaceAll','view','AIReviewCoreEditing','_DESCRIPTION','ai-review-mode-models-unable-to-retrieve','_currentReviewCheckRun','find','config','_TITLE','locale','params','_changeActivationSource','toUpperCase','_markChangePositionInEditorContent','_onReviewCheckResultDeactivated','_OPTIONS_DATA_','setupChecks','_logError','isAnyChangeActivated','_isDiffOn','diffContent','_getModels','get','164563IqWhoj','context','change','getAvailableModels','_getExtraChecks','toggleDiff','filter','plugins','ck-ai_review-highlights','data','ck-ai_review-diff','all','init','_filterChecksWithMissingModel','getRoot','label','models','pluginName','45spYOfn','_onDiffChange','editing','changeId','AIReviewModeUI','_onReviewCheckResultActivated','description','_getTranslationWithDefault','_onChangeMarkerBlurred','prompt','recommended','setAllMarkersAsInactive','origin','click','_logErrorForNonExistentChecks','listenTo'];_0x2236=function(){return _0x578a9f;};return _0x2236();}import{AIReviewCheckExtra as _0x5dcd64}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x2bb39d}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x53a60b{static get[_0xf8f5f(0x1d3)](){const _0x4a7855=_0xf8f5f;return _0x4a7855(0x18b);}[_0xf8f5f(0x1be)]=!0x1;[_0xf8f5f(0x201)]=!0x1;constructor(_0x1f1465){const _0x40264a=_0xf8f5f;super(_0x1f1465),this[_0x40264a(0x201)]=!this[_0x40264a(0x1c3)][_0x40264a(0x1b2)][_0x40264a(0x1c1)](_0x40264a(0x180)),this[_0x40264a(0x1c3)][_0x40264a(0x1b2)][_0x40264a(0x181)](_0x40264a(0x180),_0x103f25[_0x40264a(0x1e6)](_0x59c8c6=>_0x59c8c6['id'])),this[_0x40264a(0x1c3)][_0x40264a(0x1b2)][_0x40264a(0x181)](_0x40264a(0x193),[]);}async[_0xf8f5f(0x1ce)](){const _0x2ef62a=_0xf8f5f;await super[_0x2ef62a(0x1ce)](),this[_0x2ef62a(0x1e3)](this[_0x2ef62a(0x185)],_0x2ef62a(0x1c7),(_0x2ddf42,_0x1c33a2)=>{const _0x473a49=_0x2ef62a;this[_0x473a49(0x1be)]=_0x1c33a2['on'],this[_0x473a49(0x1d5)](this[_0x473a49(0x1be)]);});}[_0xf8f5f(0x19a)](){const _0x4dc29e=_0xf8f5f;super[_0x4dc29e(0x19a)](),this[_0x4dc29e(0x185)]=this[_0x4dc29e(0x1c3)][_0x4dc29e(0x1c9)][_0x4dc29e(0x1c1)](_0x4dc29e(0x1d8)),this[_0x4dc29e(0x1ef)]=this[_0x4dc29e(0x1c3)][_0x4dc29e(0x1c9)][_0x4dc29e(0x1c1)](_0x4dc29e(0x1ad));}[_0xf8f5f(0x183)](_0x2bda0b,_0x297744){const _0x108585=_0xf8f5f;return _0x2bda0b[_0x108585(0x1f8)]?new _0x796a37(_0x2bda0b[_0x108585(0x1a8)][_0x108585(0x1dd)],_0x2bda0b[_0x108585(0x1a8)][_0x108585(0x197)],this[_0x108585(0x1ef)][_0x108585(0x203)](),_0x297744,this[_0x108585(0x1e9)]):_0x297744[_0x108585(0x1fe)]?new _0x2bb39d(_0x297744[_0x108585(0x1dd)],_0x297744[_0x108585(0x1fd)]['id'],this[_0x108585(0x1ef)][_0x108585(0x203)](),_0x297744,this[_0x108585(0x1e9)]):new _0x1e96d3(this[_0x108585(0x1ef)][_0x108585(0x203)](),_0x297744,this[_0x108585(0x1e9)],_0x2bda0b[_0x108585(0x1b5)],_0x2bda0b[_0x108585(0x1a8)]);}[_0xf8f5f(0x1d9)](_0x3b0f66){const _0x3f0abf=_0xf8f5f;this[_0x3f0abf(0x185)][_0x3f0abf(0x1f7)](_0x3b0f66[_0x3f0abf(0x1c4)]['id']),this[_0x3f0abf(0x18f)](_0x3b0f66[_0x3f0abf(0x1c4)]['id']);const _0x2f51b9=this[_0x3f0abf(0x1ef)][_0x3f0abf(0x1e8)](_0x3b0f66[_0x3f0abf(0x1c4)]['id']);if(!_0x2f51b9)return;const _0x1906df=this[_0x3f0abf(0x1ef)][_0x3f0abf(0x1e7)]();this[_0x3f0abf(0x185)][_0x3f0abf(0x198)](_0x3b0f66[_0x3f0abf(0x1c4)],()=>_0x2f51b9[_0x3f0abf(0x202)](),void 0x0,_0x3f0abf(0x1e1),_0x1906df?.[_0x3f0abf(0x1d6)]?.[_0x3f0abf(0x1ac)]?.[_0x3f0abf(0x18e)](),_0x1906df?.['ui']?.[_0x3f0abf(0x1f0)]),this[_0x3f0abf(0x1ef)][_0x3f0abf(0x208)](_0x3b0f66[_0x3f0abf(0x1c4)]['id']);}[_0xf8f5f(0x1b9)](){const _0x2fa06b=_0xf8f5f;this[_0x2fa06b(0x185)][_0x2fa06b(0x1f1)](),this[_0x2fa06b(0x185)][_0x2fa06b(0x1fa)](),this[_0x2fa06b(0x1ef)][_0x2fa06b(0x1df)]();}[_0xf8f5f(0x1a0)](_0x1d9c71){const _0xe626f6=_0xf8f5f;this[_0xe626f6(0x1b0)]&&_0xe626f6(0x1e1)===_0x1d9c71[_0xe626f6(0x206)]&&(this[_0xe626f6(0x1b6)]=_0xe626f6(0x194),this[_0xe626f6(0x1b0)][_0xe626f6(0x1a3)](_0x1d9c71['id']));}[_0xf8f5f(0x18c)](_0x5649e7){const _0x5650df=_0xf8f5f;this[_0x5650df(0x1b0)]&&_0x5650df(0x1a9)===_0x5649e7[_0x5650df(0x1e0)]&&this[_0x5650df(0x1b0)][_0x5650df(0x1eb)]();}[_0xf8f5f(0x1ea)](_0x3186b9,_0x2f00d9){const _0x77bfed=_0xf8f5f;if(!this[_0x77bfed(0x1b0)])return;this[_0x77bfed(0x1b6)]=_0x77bfed(0x1a6),this[_0x77bfed(0x1b0)][_0x77bfed(0x1a3)](_0x2f00d9[_0x77bfed(0x1d7)]);const _0x67cc17=this[_0x77bfed(0x1b0)][_0x77bfed(0x1fc)](_0x2f00d9[_0x77bfed(0x1d7)]);if(!_0x67cc17)return;const _0x4cc43a=this[_0x77bfed(0x1ef)][_0x77bfed(0x1e7)]();this[_0x77bfed(0x185)][_0x77bfed(0x198)](_0x67cc17,_0x2f00d9[_0x77bfed(0x18a)],_0x2f00d9[_0x77bfed(0x1e5)],_0x77bfed(0x1e1),_0x4cc43a?.[_0x77bfed(0x1d6)]?.[_0x77bfed(0x1ac)]?.[_0x77bfed(0x18e)](),_0x4cc43a?.['ui']?.[_0x77bfed(0x1f0)]);}[_0xf8f5f(0x19c)](_0x2e5c40,_0x97d263){const _0x3a23e5=_0xf8f5f;if(!this[_0x3a23e5(0x1b0)])return;if(this[_0x3a23e5(0x1b0)][_0x3a23e5(0x1bd)]())return;const _0x2cf663=this[_0x3a23e5(0x1b0)][_0x3a23e5(0x1fc)](_0x97d263[_0x3a23e5(0x1d7)]);if(!_0x2cf663)return;const _0x58f7db=this[_0x3a23e5(0x1ef)][_0x3a23e5(0x1e7)]();this[_0x3a23e5(0x185)][_0x3a23e5(0x198)](_0x2cf663,_0x97d263[_0x3a23e5(0x18a)],_0x97d263[_0x3a23e5(0x1e5)],_0x3a23e5(0x1e4),_0x58f7db?.[_0x3a23e5(0x1d6)]?.[_0x3a23e5(0x1ac)]?.[_0x3a23e5(0x18e)](),_0x58f7db?.['ui']?.[_0x3a23e5(0x1f0)]);}[_0xf8f5f(0x1dc)](){const _0x4b30c3=_0xf8f5f;if(!this[_0x4b30c3(0x1b0)])return;this[_0x4b30c3(0x1b0)][_0x4b30c3(0x1bd)]()||this[_0x4b30c3(0x185)][_0x4b30c3(0x1fa)]();}[_0xf8f5f(0x182)](_0x383bda){const _0xde8d41=_0xf8f5f,_0x55f24a=this[_0xde8d41(0x1ef)][_0xde8d41(0x1e8)](_0x383bda);return _0x55f24a?_0x55f24a[_0xde8d41(0x202)]():null;}[_0xf8f5f(0x1b8)](_0x12bd55,_0x487cf8){const _0x4e42ca=_0xf8f5f;this[_0x4e42ca(0x1ef)][_0x4e42ca(0x207)](_0x12bd55,_0x487cf8);}[_0xf8f5f(0x1f5)](_0x4694d1,_0x365ca5){const _0x25624f=_0xf8f5f;return this[_0x25624f(0x1ef)][_0x25624f(0x1bf)](_0x4694d1,_0x365ca5);}[_0xf8f5f(0x1f6)](){const _0x3351de=_0xf8f5f;this[_0x3351de(0x1d5)](this[_0x3351de(0x1be)]);}[_0xf8f5f(0x1d5)](_0x165f26){const _0x2d27b2=_0xf8f5f,_0x232229=this[_0x2d27b2(0x1ef)][_0x2d27b2(0x1e7)]();_0x165f26?this[_0x2d27b2(0x185)][_0x2d27b2(0x1a1)]():this[_0x2d27b2(0x185)][_0x2d27b2(0x189)](),_0x232229&&_0x232229[_0x2d27b2(0x1d6)][_0x2d27b2(0x1ac)][_0x2d27b2(0x1c4)](_0x1a8cc2=>{const _0x3528f5=_0x2d27b2,_0x10ed30=_0x232229[_0x3528f5(0x1d6)][_0x3528f5(0x1ac)][_0x3528f5(0x18d)][_0x3528f5(0x1d0)]();for(const _0x33bc8e of _0x10ed30[_0x3528f5(0x1f3)]())_0x33bc8e[_0x3528f5(0x20a)](_0x3528f5(0x1f4))&&_0x1a8cc2[_0x3528f5(0x199)](_0x33bc8e,_0x10ed30);_0x1a8cc2[_0x3528f5(0x1aa)](_0x165f26?_0x3528f5(0x1cc):_0x3528f5(0x1ca),_0x10ed30);});}async[_0xf8f5f(0x200)](){const _0x6eb782=_0xf8f5f,_0x4fce4a=[..._0x103f25,...this[_0x6eb782(0x1c6)]()],_0xb27bb5=this[_0x6eb782(0x1c3)][_0x6eb782(0x1b2)][_0x6eb782(0x1c1)](_0x6eb782(0x180))||[];this[_0x6eb782(0x1e2)](_0xb27bb5,_0x4fce4a);let _0xb191c5=_0x4fce4a;this[_0x6eb782(0x201)]||(_0xb191c5=_0xb27bb5[_0x6eb782(0x1e6)](_0x1bcc1b=>_0x4fce4a[_0x6eb782(0x1b1)](_0x883c78=>_0x883c78['id']===_0x1bcc1b))[_0x6eb782(0x1c8)](_0x1d4e52=>!!_0x1d4e52)),_0xb191c5=_0xb191c5[_0x6eb782(0x1e6)](_0xcfd5a4=>_0xcfd5a4[_0x6eb782(0x1fe)]?_0xcfd5a4:this[_0x6eb782(0x204)](_0xcfd5a4));const _0x6015f1=_0xb191c5[_0x6eb782(0x1f2)](_0x18a3fe=>_0x18a3fe[_0x6eb782(0x1fe)]||_0x6eb782(0x1ec)===_0x18a3fe['id']);let _0x2af04c=[],_0x15bd53=[],_0x3714f4=null;if(_0x6015f1){const _0x5c0a8f=await this[_0x6eb782(0x1c0)]();_0x2af04c=_0x5c0a8f[_0x6eb782(0x1cd)],_0x15bd53=_0x5c0a8f[_0x6eb782(0x1de)],_0x3714f4=_0x5c0a8f[_0x6eb782(0x1ff)];}const _0x137352=new _0x728085(_0x2af04c,_0x15bd53,_0x3714f4);return _0x137352[_0x6eb782(0x1bb)](_0xb191c5),_0x6015f1&&this[_0x6eb782(0x1cf)](_0x137352),_0x137352;}[_0xf8f5f(0x1c6)](){const _0x36a329=_0xf8f5f;return(this[_0x36a329(0x1c3)][_0x36a329(0x1b2)][_0x36a329(0x1c1)](_0x36a329(0x193))||[])[_0x36a329(0x1e6)](_0x4c2cb8=>({'id':_0x4c2cb8['id'],'commandId':_0x4c2cb8['id'],'title':_0x4c2cb8[_0x36a329(0x1d1)],'description':_0x4c2cb8[_0x36a329(0x1da)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x4c2cb8[_0x36a329(0x1dd)],'model':_0x4c2cb8[_0x36a329(0x197)]}));}[_0xf8f5f(0x1e2)](_0x9a8541,_0x316e1b){const _0x297333=_0xf8f5f,_0x54bda8=_0x9a8541[_0x297333(0x1c8)](_0x3160c4=>!_0x316e1b[_0x297333(0x1f2)](_0x1e4db7=>_0x1e4db7['id']===_0x3160c4));_0x54bda8[_0x297333(0x190)]&&this[_0x297333(0x1bc)](new _0x36c905(_0x297333(0x1f9),this,{'commandIds':_0x54bda8[_0x297333(0x184)](',\x20')}),!0x0);}async[_0xf8f5f(0x1c0)](){const _0x2635bb=_0xf8f5f;try{const _0x5438ed=new _0x128de1({'connector':this[_0x2635bb(0x1e9)],'config':this[_0x2635bb(0x1c3)][_0x2635bb(0x1b2)][_0x2635bb(0x1c1)](_0x2635bb(0x1a5)),'locale':this[_0x2635bb(0x1c3)][_0x2635bb(0x1b4)]});return{'all':await _0x5438ed[_0x2635bb(0x195)](),'recommended':await _0x5438ed[_0x2635bb(0x1c5)](),'default':await _0x5438ed[_0x2635bb(0x19e)]()};}catch(_0x308ff6){return this[_0x2635bb(0x1bc)](new _0x36c905(_0x2635bb(0x1af),this,void 0x0,_0x308ff6)),{'all':[],'recommended':[],'default':null};}}[_0xf8f5f(0x204)](_0x47fb77){const _0x440bcf=_0xf8f5f,_0x115d59=_0x440bcf(0x19f)+_0x47fb77['id'][_0x440bcf(0x1b7)]()[_0x440bcf(0x1ab)]('-','_'),_0x2cd8e8={..._0x47fb77,'title':this[_0x440bcf(0x1db)](_0x115d59+_0x440bcf(0x1b3),_0x47fb77[_0x440bcf(0x196)]),'description':this[_0x440bcf(0x1db)](_0x115d59+_0x440bcf(0x1ae),_0x47fb77[_0x440bcf(0x1da)])};return _0x47fb77[_0x440bcf(0x192)]&&(_0x2cd8e8[_0x440bcf(0x192)]=_0x47fb77[_0x440bcf(0x192)][_0x440bcf(0x1e6)](_0x65ef89=>({..._0x65ef89,'label':this[_0x440bcf(0x1db)](_0x115d59+_0x440bcf(0x188),_0x65ef89[_0x440bcf(0x1d1)]||''),'data':_0x65ef89[_0x440bcf(0x1cb)]?_0x65ef89[_0x440bcf(0x1cb)][_0x440bcf(0x1e6)](_0x5298ad=>({..._0x5298ad,'label':this[_0x440bcf(0x1db)](_0x115d59+_0x440bcf(0x1ba)+_0x5298ad['id'][_0x440bcf(0x1b7)](),_0x5298ad[_0x440bcf(0x1d1)])})):void 0x0}))),_0x2cd8e8;}[_0xf8f5f(0x1cf)](_0x1260ad){const _0x53c097=_0xf8f5f,_0x566230=[];_0x1260ad[_0x53c097(0x1a2)][_0x53c097(0x19d)](_0x2c3805=>{const _0x43dac2=_0x53c097;(_0x2c3805 instanceof _0x5dcd64&&!_0x2c3805[_0x43dac2(0x1fd)]||_0x2c3805 instanceof _0xedcaa4&&!_0x2c3805[_0x43dac2(0x1d2)][_0x43dac2(0x190)])&&_0x566230[_0x43dac2(0x187)](_0x2c3805['id']);}),_0x566230[_0x53c097(0x190)]&&_0x566230[_0x53c097(0x19d)](_0x50fade=>{const _0x13a9dc=_0x53c097;_0x1260ad[_0x13a9dc(0x1ee)](_0x50fade),this[_0x13a9dc(0x1bc)](new _0x36c905(_0x13a9dc(0x1a4),this,{'commandId':_0x50fade}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1af33d=_0x52c6;function _0x52c6(_0x1ca7b4,_0x3347cc){var _0x4c7753=_0x4c77();return _0x52c6=function(_0x52c666,_0x5662f5){_0x52c666=_0x52c666-0xf9;var _0x8e7fdd=_0x4c7753[_0x52c666];return _0x8e7fdd;},_0x52c6(_0x1ca7b4,_0x3347cc);}(function(_0x335ee7,_0x83890){var _0x526422=_0x52c6,_0x4e8600=_0x335ee7();while(!![]){try{var _0x1a3cd6=parseInt(_0x526422(0x101))/0x1+-parseInt(_0x526422(0x104))/0x2+-parseInt(_0x526422(0xfd))/0x3*(-parseInt(_0x526422(0xf9))/0x4)+-parseInt(_0x526422(0xfa))/0x5*(-parseInt(_0x526422(0x103))/0x6)+parseInt(_0x526422(0x100))/0x7+parseInt(_0x526422(0xfe))/0x8+-parseInt(_0x526422(0xfb))/0x9;if(_0x1a3cd6===_0x83890)break;else _0x4e8600['push'](_0x4e8600['shift']());}catch(_0xf3545e){_0x4e8600['push'](_0x4e8600['shift']());}}}(_0x4c77,0xa3828));import{AIReviewCheck as _0x1e6529}from'../../aireviewcore/model/aireviewcheck.js';function _0x4c77(){var _0x8e2215=['21GfEHhs','1388376KvGduN','_models','9113055xUiVRT','57711wVgOkf','models','5856054nKcfEG','175672feYyXc','_defaultModel','558124ZbSWRn','5NcAiXi','24554493mSDrxw','defaultModel'];_0x4c77=function(){return _0x8e2215;};return _0x4c77();}export class AIReviewCheckCustom extends _0x1e6529{[_0x1af33d(0xff)]=[];[_0x1af33d(0x105)]=null;constructor(_0x2487a3,_0x178c93,_0x28bace){var _0x285136=_0x1af33d;super(_0x2487a3),this[_0x285136(0xff)]=_0x178c93,this[_0x285136(0x105)]=_0x28bace;}get[_0x1af33d(0x102)](){var _0x4234bb=_0x1af33d;return this[_0x4234bb(0xff)];}get[_0x1af33d(0xfc)](){var _0x4c5634=_0x1af33d;return this[_0x4c5634(0x105)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x318893=_0x5a87;function _0x5a87(_0x48cd2b,_0x5ee2e2){var _0x560492=_0x5604();return _0x5a87=function(_0x5a875f,_0x531967){_0x5a875f=_0x5a875f-0xeb;var _0x51b796=_0x560492[_0x5a875f];return _0x51b796;},_0x5a87(_0x48cd2b,_0x5ee2e2);}(function(_0xcfd7d9,_0x2c2bdb){var _0x157498=_0x5a87,_0x51c896=_0xcfd7d9();while(!![]){try{var _0x216416=-parseInt(_0x157498(0xf9))/0x1+-parseInt(_0x157498(0xec))/0x2*(parseInt(_0x157498(0xfa))/0x3)+-parseInt(_0x157498(0xee))/0x4+parseInt(_0x157498(0xf1))/0x5+-parseInt(_0x157498(0xeb))/0x6+parseInt(_0x157498(0xf6))/0x7*(parseInt(_0x157498(0xf4))/0x8)+parseInt(_0x157498(0xef))/0x9*(parseInt(_0x157498(0xf3))/0xa);if(_0x216416===_0x2c2bdb)break;else _0x51c896['push'](_0x51c896['shift']());}catch(_0x13b084){_0x51c896['push'](_0x51c896['shift']());}}}(_0x5604,0x641ef));import{AIReviewCheck as _0x1deb16}from'../../aireviewcore/model/aireviewcheck.js';function _0x5604(){var _0x48e5ea=['2000700haDppv','1674MShveM','prompt','754712SuWsiw','88470kUAYox','find','1103230QBmWDK','isExtra','790VTQpPD','233480MLtXmR','defaultModel','112tOlDbE','model','_defaultModel','212219qvGhfd','1146VmQvgV'];_0x5604=function(){return _0x48e5ea;};return _0x5604();}export class AIReviewCheckExtra extends _0x1deb16{[_0x318893(0xf2)]=!0x0;[_0x318893(0xed)];[_0x318893(0xf7)];[_0x318893(0xf8)]=null;constructor(_0x2cf782,_0x223b02,_0x2d58bf){var _0x2c8c34=_0x318893;super(_0x2cf782),this[_0x2c8c34(0xed)]=_0x2cf782[_0x2c8c34(0xed)],this[_0x2c8c34(0xf7)]=_0x2cf782[_0x2c8c34(0xf7)],this[_0x2c8c34(0xf7)]?this[_0x2c8c34(0xf8)]=_0x223b02[_0x2c8c34(0xf0)](_0x4730a8=>_0x4730a8['id']===this[_0x2c8c34(0xf7)])||null:this[_0x2c8c34(0xf8)]=_0x2d58bf;}get[_0x318893(0xf5)](){var _0x1908b8=_0x318893;return this[_0x1908b8(0xf8)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3d6f(_0x3ef0d7,_0x3c55c1){var _0x555edd=_0x555e();return _0x3d6f=function(_0x3d6f9f,_0x4db67f){_0x3d6f9f=_0x3d6f9f-0xa4;var _0x4603da=_0x555edd[_0x3d6f9f];return _0x4603da;},_0x3d6f(_0x3ef0d7,_0x3c55c1);}var _0x37fe44=_0x3d6f;(function(_0x110ac1,_0x34dfc4){var _0x5bdb1a=_0x3d6f,_0x264325=_0x110ac1();while(!![]){try{var _0x2b0da0=parseInt(_0x5bdb1a(0xaf))/0x1*(parseInt(_0x5bdb1a(0xb6))/0x2)+parseInt(_0x5bdb1a(0xb7))/0x3*(-parseInt(_0x5bdb1a(0xb8))/0x4)+parseInt(_0x5bdb1a(0xb3))/0x5+-parseInt(_0x5bdb1a(0xa7))/0x6+-parseInt(_0x5bdb1a(0xb1))/0x7*(-parseInt(_0x5bdb1a(0xaa))/0x8)+parseInt(_0x5bdb1a(0xa9))/0x9+-parseInt(_0x5bdb1a(0xa4))/0xa*(-parseInt(_0x5bdb1a(0xa5))/0xb);if(_0x2b0da0===_0x34dfc4)break;else _0x264325['push'](_0x264325['shift']());}catch(_0x29eca7){_0x264325['push'](_0x264325['shift']());}}}(_0x555e,0x85a46));import{AIReviewCheckRun as _0x306846}from'../../aireviewcore/model/aireviewcheckrun.js';function _0x555e(){var _0x135183=['4hvmmKZ','95505IXYFJD','12QEArMO','3773420pzRBzi','11GRiqvZ','subTitle','6281640fEocYa','_aiConnector','4701285epOKjV','1217048ZAQoTA','callCustomReview','_createApiRequest','_prompt','content','256121jtpeaM','_sendRatingRequest','7fgaHTp','_documentData','628815hCcxNG','upsertCustomAIReviewRating','_model'];_0x555e=function(){return _0x135183;};return _0x555e();}export class AIReviewCustomCheckRun extends _0x306846{[_0x37fe44(0xad)];[_0x37fe44(0xb5)];constructor(_0x368107,_0x4ac063,_0x3f87d6,_0xb97715,_0x263a9e){var _0x52c70c=_0x37fe44;super(_0x3f87d6,_0xb97715,_0x263a9e),this[_0x52c70c(0xad)]=_0x368107,this[_0x52c70c(0xb5)]=_0x4ac063;}get[_0x37fe44(0xa6)](){var _0x3f6d8b=_0x37fe44;return this[_0x3f6d8b(0xad)];}[_0x37fe44(0xac)](){var _0x524705=_0x37fe44;return this[_0x524705(0xa8)][_0x524705(0xab)]({'content':this[_0x524705(0xb2)][_0x524705(0xae)],'prompt':this[_0x524705(0xad)],'model':this[_0x524705(0xb5)]});}[_0x37fe44(0xb0)](_0x40cfca,_0x446f43,_0x55d22){var _0x2cb81b=_0x37fe44;return this[_0x2cb81b(0xa8)][_0x2cb81b(0xb4)](_0x446f43,_0x40cfca,_0x55d22);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5898f6=_0x26c0;(function(_0x57254f,_0x2bf7b2){var _0x232b8e=_0x26c0,_0x4198ac=_0x57254f();while(!![]){try{var _0x27d2e1=parseInt(_0x232b8e(0x114))/0x1*(parseInt(_0x232b8e(0x10d))/0x2)+-parseInt(_0x232b8e(0x11b))/0x3*(parseInt(_0x232b8e(0x110))/0x4)+parseInt(_0x232b8e(0x118))/0x5*(parseInt(_0x232b8e(0x11e))/0x6)+-parseInt(_0x232b8e(0x11d))/0x7*(parseInt(_0x232b8e(0x115))/0x8)+parseInt(_0x232b8e(0x11f))/0x9*(parseInt(_0x232b8e(0x116))/0xa)+parseInt(_0x232b8e(0x117))/0xb*(parseInt(_0x232b8e(0x120))/0xc)+-parseInt(_0x232b8e(0x11c))/0xd*(parseInt(_0x232b8e(0x121))/0xe);if(_0x27d2e1===_0x2bf7b2)break;else _0x4198ac['push'](_0x4198ac['shift']());}catch(_0x112343){_0x4198ac['push'](_0x4198ac['shift']());}}}(_0x23cc,0x4a27b));import{AIReviewCheckList as _0x106e71}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0x23be94}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0xb9ce3}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x2cb6b6}from'./aireviewcheckextra.js';function _0x26c0(_0x1ad9cd,_0x27abca){var _0x23cc00=_0x23cc();return _0x26c0=function(_0x26c0d3,_0x1cae0d){_0x26c0d3=_0x26c0d3-0x10d;var _0xe5bc87=_0x23cc00[_0x26c0d3];return _0xe5bc87;},_0x26c0(_0x1ad9cd,_0x27abca);}function _0x23cc(){var _0x39b43f=['21552QokCiV','6256138lrVAnn','isExtra','8886cNwabM','setupChecks','_recommendedModels','52zEbiKy','custom','_checks','map','67cWLdGs','8YZJMUA','661970taojBX','2882xlZSGZ','5uqJyVs','_defaultModel','_allModels','104241cVPAXo','13rOdicm','2830667bdfobR','2647698XhxTXp','54qEzUWL'];_0x23cc=function(){return _0x39b43f;};return _0x23cc();}export class AIReviewModeCheckList extends _0x106e71{[_0x5898f6(0x11a)]=[];[_0x5898f6(0x10f)]=[];[_0x5898f6(0x119)]=null;constructor(_0x5256a8,_0x360400,_0x1c5869){var _0xf8caaa=_0x5898f6;super(),this[_0xf8caaa(0x11a)]=_0x5256a8,this[_0xf8caaa(0x10f)]=_0x360400,this[_0xf8caaa(0x119)]=_0x1c5869;}[_0x5898f6(0x10e)](_0x269566){var _0x518dec=_0x5898f6;this[_0x518dec(0x112)]=_0x269566[_0x518dec(0x113)](_0x1ef266=>!0x0===_0x1ef266[_0x518dec(0x122)]?new _0x2cb6b6(_0x1ef266,this[_0x518dec(0x11a)],this[_0x518dec(0x119)]):_0x518dec(0x111)===_0x1ef266['id']?new _0xb9ce3(_0x1ef266,this[_0x518dec(0x10f)],this[_0x518dec(0x119)]):new _0x23be94(_0x1ef266));}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a920c=_0x3df8;(function(_0x422309,_0x1b3776){const _0x9640a9=_0x3df8,_0x44a340=_0x422309();while(!![]){try{const _0x3aca01=parseInt(_0x9640a9(0x1e7))/0x1+parseInt(_0x9640a9(0x1d8))/0x2+-parseInt(_0x9640a9(0x1d5))/0x3*(parseInt(_0x9640a9(0x1e5))/0x4)+parseInt(_0x9640a9(0x1da))/0x5*(parseInt(_0x9640a9(0x1ca))/0x6)+parseInt(_0x9640a9(0x1de))/0x7*(-parseInt(_0x9640a9(0x1f0))/0x8)+parseInt(_0x9640a9(0x1c6))/0x9*(-parseInt(_0x9640a9(0x1c2))/0xa)+parseInt(_0x9640a9(0x1d9))/0xb;if(_0x3aca01===_0x1b3776)break;else _0x44a340['push'](_0x44a340['shift']());}catch(_0x8c3769){_0x44a340['push'](_0x44a340['shift']());}}}(_0xaa01,0x98895));function _0x3df8(_0x47e13e,_0xea7717){const _0xaa01a5=_0xaa01();return _0x3df8=function(_0x3df8f4,_0x26bbdb){_0x3df8f4=_0x3df8f4-0x1c1;let _0x407204=_0xaa01a5[_0x3df8f4];return _0x407204;},_0x3df8(_0x47e13e,_0xea7717);}import{ContextPlugin as _0x53a057,Editor as _0x3179b9}from'ckeditor5/src/core.js';function _0xaa01(){const _0x3a049e=['visibleByDefault','196420zXZsBP','remove','switchSide','bind','type','isMaximized','switchType','fire','sidebar','48KYOSYW','config','isPremiumPlugin','includes','body','8167390xjemro','ai-tabs-unsupported-ui-side','appendChild','side','9uZCIYZ','focusTracker','custom','destroy','382866PgVLAT','get','pluginName','right','element','container','context','ai-tabs-sidebar-container-element-not-found','add','view','ai-tabs-configuration-not-found','3023127wXQvfd','AITabs','isOfficialPlugin','2175548yFjlSp','5539655MjQdlr','80gloTuU','ai.container','overlay','set','419461fGkyVt','resizedTabs','locale','showResizeButton','resize','render','ai-tabs-unsupported-ui-type','4qMxDRT'];_0xaa01=function(){return _0x3a049e;};return _0xaa01();}import{CKEditorError as _0x4fd415}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x31446f,AI_TABS_VIEW_SIDES as _0x197def,AI_TABS_VIEW_TYPES as _0x2bc91d}from'./aitabsmainview.js';export class AITabs extends _0x53a057{[_0x3a920c(0x1d3)];[_0x3a920c(0x1cf)]=null;[_0x3a920c(0x1e1)]=!0x0;static get[_0x3a920c(0x1cc)](){const _0x2f3709=_0x3a920c;return _0x2f3709(0x1d6);}static get[_0x3a920c(0x1d7)](){return!0x0;}static get[_0x3a920c(0x1f2)](){return!0x0;}constructor(_0x41f1c4){const _0x503443=_0x3a920c;super(_0x41f1c4);const _0x4439aa=this[_0x503443(0x1d0)][_0x503443(0x1f1)][_0x503443(0x1cb)](_0x503443(0x1db));if(this[_0x503443(0x1dd)](_0x503443(0x1c5),_0x503443(0x1cd)),!_0x4439aa)throw new _0x4fd415(_0x503443(0x1d4));if(void 0x0!==_0x4439aa[_0x503443(0x1e1)]&&(this[_0x503443(0x1e1)]=_0x4439aa[_0x503443(0x1e1)]),_0x503443(0x1ef)!==_0x4439aa[_0x503443(0x1eb)]&&_0x503443(0x1dc)!==_0x4439aa[_0x503443(0x1eb)]||_0x4439aa[_0x503443(0x1c5)]&&(this[_0x503443(0x1c5)]=_0x4439aa[_0x503443(0x1c5)]),_0x503443(0x1ef)===_0x4439aa[_0x503443(0x1eb)]){if(this[_0x503443(0x1cf)]=_0x4439aa[_0x503443(0x1ce)],this[_0x503443(0x1dd)](_0x503443(0x1eb),_0x503443(0x1ef)),!this[_0x503443(0x1cf)])throw new _0x4fd415(_0x503443(0x1d1));}else _0x503443(0x1dc)===_0x4439aa[_0x503443(0x1eb)]?(this[_0x503443(0x1cf)]=document[_0x503443(0x1c1)],this[_0x503443(0x1dd)](_0x503443(0x1eb),_0x503443(0x1dc))):(this[_0x503443(0x1cf)]=null,this[_0x503443(0x1dd)](_0x503443(0x1eb),_0x503443(0x1c8)));this[_0x503443(0x1d3)]=new _0x31446f(this[_0x503443(0x1d0)][_0x503443(0x1e0)],{'side':this[_0x503443(0x1c5)],'type':this[_0x503443(0x1eb)],'visibleByDefault':void 0x0===_0x4439aa[_0x503443(0x1e6)]||_0x4439aa[_0x503443(0x1e6)]}),this[_0x503443(0x1d3)][_0x503443(0x1e3)](),this[_0x503443(0x1d3)][_0x503443(0x1ea)](_0x503443(0x1c5))['to'](this,_0x503443(0x1c5)),this[_0x503443(0x1d3)][_0x503443(0x1ea)](_0x503443(0x1eb))['to'](this,_0x503443(0x1eb)),this[_0x503443(0x1cf)]&&this[_0x503443(0x1cf)][_0x503443(0x1c4)](this[_0x503443(0x1d3)][_0x503443(0x1ce)]),this[_0x503443(0x1d0)]instanceof _0x3179b9&&this[_0x503443(0x1d0)]['ui'][_0x503443(0x1c7)][_0x503443(0x1d2)](this[_0x503443(0x1d3)][_0x503443(0x1ce)]);}[_0x3a920c(0x1ed)](_0x3d6e69){const _0x2ece8b=_0x3a920c;if(_0x3d6e69&&this[_0x2ece8b(0x1eb)]!==_0x3d6e69){if(!_0x2bc91d[_0x2ece8b(0x1f3)](_0x3d6e69))throw new _0x4fd415(_0x2ece8b(0x1e4));this[_0x2ece8b(0x1eb)]=_0x3d6e69;}}[_0x3a920c(0x1e9)](_0x4ae8e6){const _0x1ef04f=_0x3a920c;if(_0x4ae8e6&&this[_0x1ef04f(0x1c5)]!==_0x4ae8e6){if(!_0x197def[_0x1ef04f(0x1f3)](_0x4ae8e6))throw new _0x4fd415(_0x1ef04f(0x1c3));this[_0x1ef04f(0x1c5)]=_0x4ae8e6;}}[_0x3a920c(0x1e2)](){const _0x37d178=_0x3a920c;this[_0x37d178(0x1d3)][_0x37d178(0x1ec)]=!this[_0x37d178(0x1d3)][_0x37d178(0x1ec)],this[_0x37d178(0x1ee)](_0x37d178(0x1df),this[_0x37d178(0x1d3)][_0x37d178(0x1ec)]);}[_0x3a920c(0x1c9)](){const _0x7c8d8d=_0x3a920c;super[_0x7c8d8d(0x1c9)](),this[_0x7c8d8d(0x1d3)][_0x7c8d8d(0x1c9)](),this[_0x7c8d8d(0x1d3)][_0x7c8d8d(0x1ce)]&&this[_0x7c8d8d(0x1d3)][_0x7c8d8d(0x1ce)][_0x7c8d8d(0x1e8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x66e24c=_0x2a24;(function(_0xa84cb4,_0x3d54d3){var _0x4fb00a=_0x2a24,_0x36ba2d=_0xa84cb4();while(!![]){try{var _0x11485a=parseInt(_0x4fb00a(0x1d7))/0x1*(parseInt(_0x4fb00a(0x1db))/0x2)+parseInt(_0x4fb00a(0x1da))/0x3+-parseInt(_0x4fb00a(0x1d5))/0x4*(parseInt(_0x4fb00a(0x1e0))/0x5)+parseInt(_0x4fb00a(0x1dc))/0x6+-parseInt(_0x4fb00a(0x1dd))/0x7*(-parseInt(_0x4fb00a(0x1e1))/0x8)+-parseInt(_0x4fb00a(0x1e4))/0x9*(-parseInt(_0x4fb00a(0x1e2))/0xa)+-parseInt(_0x4fb00a(0x1de))/0xb;if(_0x11485a===_0x3d54d3)break;else _0x36ba2d['push'](_0x36ba2d['shift']());}catch(_0x1764fc){_0x36ba2d['push'](_0x36ba2d['shift']());}}}(_0x53fc,0x8c788));function _0x53fc(){var _0x4ee6f5=['requires','1639810iZWVxQ','6872OhTtRN','66370UVZmdm','pluginName','171XUWcJY','8ZWNbYO','AITranslate','50319NpUJYx','isOfficialPlugin','isPremiumPlugin','3020466IWawHF','2CvxdJz','5016468dnryNo','9191VktgJy','21074867DdcHdT'];_0x53fc=function(){return _0x4ee6f5;};return _0x53fc();}function _0x2a24(_0x17271e,_0x17cabe){var _0x53fc97=_0x53fc();return _0x2a24=function(_0x2a240d,_0x59dff2){_0x2a240d=_0x2a240d-0x1d5;var _0x4c8b7e=_0x53fc97[_0x2a240d];return _0x4c8b7e;},_0x2a24(_0x17271e,_0x17cabe);}import{ContextPlugin as _0x1e198f}from'ckeditor5/src/core.js';import{AITranslateController as _0x27ac8e}from'./aitranslatecontroller.js';import{AITranslateUI as _0x4d4301}from'./aitranslateui.js';import{AIReviewCoreEditing as _0x584642}from'../aireviewcore/aireviewcoreediting.js';export class AITranslate extends _0x1e198f{static get[_0x66e24c(0x1df)](){return[_0x27ac8e,_0x4d4301,_0x584642];}static get[_0x66e24c(0x1e3)](){var _0x2b5016=_0x66e24c;return _0x2b5016(0x1d6);}static get[_0x66e24c(0x1d8)](){return!0x0;}static get[_0x66e24c(0x1d9)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4f2b0b=_0x14aa;function _0x14aa(_0x47c315,_0x1823d4){var _0x36c483=_0x36c4();return _0x14aa=function(_0x14aabf,_0x544ad1){_0x14aabf=_0x14aabf-0x151;var _0xaeba69=_0x36c483[_0x14aabf];return _0xaeba69;},_0x14aa(_0x47c315,_0x1823d4);}(function(_0x53d8ef,_0x5ad4fd){var _0x4f11e3=_0x14aa,_0x4ec9fc=_0x53d8ef();while(!![]){try{var _0x29563d=-parseInt(_0x4f11e3(0x158))/0x1+-parseInt(_0x4f11e3(0x15a))/0x2+parseInt(_0x4f11e3(0x15d))/0x3*(parseInt(_0x4f11e3(0x155))/0x4)+-parseInt(_0x4f11e3(0x156))/0x5*(-parseInt(_0x4f11e3(0x15c))/0x6)+parseInt(_0x4f11e3(0x153))/0x7*(parseInt(_0x4f11e3(0x159))/0x8)+parseInt(_0x4f11e3(0x15e))/0x9*(parseInt(_0x4f11e3(0x152))/0xa)+-parseInt(_0x4f11e3(0x157))/0xb*(parseInt(_0x4f11e3(0x154))/0xc);if(_0x29563d===_0x5ad4fd)break;else _0x4ec9fc['push'](_0x4ec9fc['shift']());}catch(_0x4b73a3){_0x4ec9fc['push'](_0x4ec9fc['shift']());}}}(_0x36c4,0xd7f8d));import{AIReviewCheck as _0x22f56a}from'../../aireviewcore/model/aireviewcheck.js';function _0x36c4(){var _0x3065e0=['90uHopfR','translate','801470kGVsyF','1640079EdXGLM','118836EAATwP','6090956FiDznM','94795iSSYwI','2662MabPrm','689317DuEqqW','48jafXwd','2059560KUgarY','apiId','402qQaGzh','3mIYjos'];_0x36c4=function(){return _0x3065e0;};return _0x36c4();}export class AITranslateCheck extends _0x22f56a{get[_0x4f2b0b(0x15b)](){var _0x4791f8=_0x4f2b0b;return _0x4791f8(0x151);}}
|