@ckeditor/ckeditor5-ai 47.4.0-alpha.6 → 47.4.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/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/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/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.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/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/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/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.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/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.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/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/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1f4acb=_0x1b67;(function(_0x511d76,_0x41e7f2){const _0x10b396=_0x1b67,_0x4e67b=_0x511d76();while(!![]){try{const _0x1b37ba=parseInt(_0x10b396(0x11f))/0x1+parseInt(_0x10b396(0x132))/0x2*(parseInt(_0x10b396(0x110))/0x3)+-parseInt(_0x10b396(0x10f))/0x4+-parseInt(_0x10b396(0x122))/0x5*(-parseInt(_0x10b396(0x131))/0x6)+-parseInt(_0x10b396(0x117))/0x7*(parseInt(_0x10b396(0x135))/0x8)+-parseInt(_0x10b396(0x121))/0x9*(parseInt(_0x10b396(0x124))/0xa)+parseInt(_0x10b396(0x12a))/0xb*(-parseInt(_0x10b396(0x10d))/0xc);if(_0x1b37ba===_0x41e7f2)break;else _0x4e67b['push'](_0x4e67b['shift']());}catch(_0x314182){_0x4e67b['push'](_0x4e67b['shift']());}}}(_0x1802,0x4ed0c));function _0x1802(){const _0x3fa6a1=['7lpchGC','88px','150px','_createSkeletonItems','map','setTemplate','250px','44px','512912efqxYh','40px','117KqLQdN','1142510jLYqBj','center','395570yoYAiW','100%','128px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','right','height','22yhMLJg','class','div','fill',';\x20height:\x20','left','ck-ai-skeleton__item','12qtVaSQ','374920pGrJiK','tag','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','343272PesVLi','align','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','3500976UnSjLf','24px','275288wdhzNp','9UoWOAp','72px','attributes','ck-ai-skeleton','140px','width','width:\x20'];_0x1802=function(){return _0x3fa6a1;};return _0x1802();}import{View as _0x562337}from'ckeditor5/src/ui.js';function _0x1b67(_0x1fb215,_0x1e1647){const _0x18023e=_0x1802();return _0x1b67=function(_0x1b67b6,_0xf30844){_0x1b67b6=_0x1b67b6-0x10b;let _0x53a663=_0x18023e[_0x1b67b6];return _0x53a663;},_0x1b67(_0x1fb215,_0x1e1647);}export class AISkeletonView extends _0x562337{constructor(_0x2d902c,_0x267717){const _0x52dc43=_0x1b67;super(_0x2d902c),this[_0x52dc43(0x11c)]({'tag':_0x52dc43(0x12c),'attributes':{'class':['ck',_0x52dc43(0x113)]},'children':this[_0x52dc43(0x11a)](_0x267717)});}[_0x1f4acb(0x11a)](_0x442387){const _0x1fd465=_0x1f4acb,_0x35870c=['ck',_0x1fd465(0x130)];return _0x442387[_0x1fd465(0x11b)](_0x454a7d=>{const _0x19287d=_0x1fd465;let _0x4497a7='';switch(_0x454a7d[_0x19287d(0x112)][_0x19287d(0x10b)]){case _0x19287d(0x128):_0x4497a7=_0x19287d(0x10c);break;case _0x19287d(0x123):_0x4497a7=_0x19287d(0x134);break;case _0x19287d(0x12f):_0x4497a7=_0x19287d(0x127);}return{'tag':_0x454a7d[_0x19287d(0x133)],'attributes':{'class':[..._0x35870c,_0x454a7d[_0x19287d(0x112)][_0x19287d(0x12b)]?_0x454a7d[_0x19287d(0x112)][_0x19287d(0x12b)]:''],'style':_0x19287d(0x116)+_0x454a7d[_0x19287d(0x112)][_0x19287d(0x115)]+_0x19287d(0x12e)+_0x454a7d[_0x19287d(0x112)][_0x19287d(0x129)]+';'+_0x4497a7}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x125),'height':_0x1f4acb(0x111),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x11d),'height':_0x1f4acb(0x120),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x125),'height':_0x1f4acb(0x118),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x119),'height':_0x1f4acb(0x120),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x125),'height':_0x1f4acb(0x114),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x11d),'height':_0x1f4acb(0x120),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x125),'height':_0x1f4acb(0x118),'align':_0x1f4acb(0x128)}}],'aiHistory':$e(0x5,_0x1f4acb(0x125),_0x1f4acb(0x11e),_0x1f4acb(0x128)),'aiChatResources':$e(0x8,_0x1f4acb(0x125),_0x1f4acb(0x10e),_0x1f4acb(0x128)),'aiReviewChecks':[{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x126),'height':_0x1f4acb(0x10e),'align':_0x1f4acb(0x12f)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x125),'height':_0x1f4acb(0x10e),'align':_0x1f4acb(0x12f)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x126),'height':_0x1f4acb(0x10e),'align':_0x1f4acb(0x12f)}}]};function $e(_0x89eec6,_0x223d93,_0x1df46c,_0x33689b){const _0x46128b=_0x1f4acb;return new Array(_0x89eec6)[_0x46128b(0x12d)](null)[_0x46128b(0x11b)](()=>({'tag':_0x46128b(0x12c),'attributes':{'width':_0x223d93,'height':_0x1df46c,'align':_0x33689b}}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ccbf4,_0x29675c){const _0x2f4de8=_0x70e1,_0x47f2b9=_0x4ccbf4();while(!![]){try{const _0x105af2=-parseInt(_0x2f4de8(0x158))/0x1*(-parseInt(_0x2f4de8(0x162))/0x2)+-parseInt(_0x2f4de8(0x15c))/0x3+-parseInt(_0x2f4de8(0x164))/0x4+parseInt(_0x2f4de8(0x165))/0x5*(-parseInt(_0x2f4de8(0x15b))/0x6)+-parseInt(_0x2f4de8(0x166))/0x7*(parseInt(_0x2f4de8(0x159))/0x8)+parseInt(_0x2f4de8(0x15a))/0x9+-parseInt(_0x2f4de8(0x163))/0xa*(-parseInt(_0x2f4de8(0x15d))/0xb);if(_0x105af2===_0x29675c)break;else _0x47f2b9['push'](_0x47f2b9['shift']());}catch(_0x31135e){_0x47f2b9['push'](_0x47f2b9['shift']());}}}(_0x4ba9,0xca9e7));function _0x70e1(_0x392976,_0x312ee6){const _0x4ba9d3=_0x4ba9();return _0x70e1=function(_0x70e1cd,_0xe95c36){_0x70e1cd=_0x70e1cd-0x158;let _0x18f0c3=_0x4ba9d3[_0x70e1cd];return _0x18f0c3;},_0x70e1(_0x392976,_0x312ee6);}function _0x4ba9(){const _0x2f06fa=['4jhcvwc','28358170RgUhnS','4650592QgBWYY','665BlRadL','124978rzcjQe','741616WZNnWq','232iFFMUm','1644066sAJltJ','59670kgCFoj','2006091pTjVaX','11gvYskk','ck-ai-spinner_','span','ck-ai-spinner','extendTemplate'];_0x4ba9=function(){return _0x2f06fa;};return _0x4ba9();}import{SpinnerView as _0x162acd}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x162acd{constructor(_0x18ab06=void 0x0){const _0x299edd=_0x70e1;super();const _0x10dee7=_0x18ab06?_0x299edd(0x15e)+_0x18ab06:'';this[_0x299edd(0x161)]({'tag':_0x299edd(0x15f),'attributes':{'class':[_0x299edd(0x160),_0x10dee7]}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x46d2(_0x484c56,_0x527a0c){const _0x4f1b41=_0x4f1b();return _0x46d2=function(_0x46d2cc,_0xe4d32b){_0x46d2cc=_0x46d2cc-0x186;let _0x4157e9=_0x4f1b41[_0x46d2cc];return _0x4157e9;},_0x46d2(_0x484c56,_0x527a0c);}function _0x4f1b(){const _0x8fa288=['fire','ck-ai-mini-toolbar\x20ck-hidden','execute','set','AI_MINI_TOOLBAR_LIKE','dislike','copyButton','extendTemplate','class','2KXLjJk','addMany','locale','likeButton','items','toggleShowChanges','showChanges','add','AI_MINI_TOOLBAR_COPY','8927470sOPULe','7278510drQOIC','4958691iPLRKp','like','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','10259264cwXVch','4BranuG','customView','full','7QhlAUs','showChangesButton','14138028MVxEAZ','_config','_setupRatingButtons','length','_setupShowChangesButton','isEnabled','ck-ai-mini-toolbar','AI_SUGGESTION_BUTTON_SHOW_CHANGES','children','dislikeButton','showCopy','isOn','ck-ai-mini-toolbar-copy-button__check-mark','173044iyYlqk','_setupCopyButton','AI_MINI_TOOLBAR_DISLIKE','showDislike','showLike','1509864GCnKHO','ck-ai-mini-toolbar-copy-button','bind','isLoading'];_0x4f1b=function(){return _0x8fa288;};return _0x4f1b();}const _0xe7f46e=_0x46d2;(function(_0x5b251a,_0x13a7c8){const _0x27ad10=_0x46d2,_0x9fb533=_0x5b251a();while(!![]){try{const _0x2e5316=-parseInt(_0x27ad10(0x199))/0x1*(parseInt(_0x27ad10(0x1ab))/0x2)+-parseInt(_0x27ad10(0x1b6))/0x3*(-parseInt(_0x27ad10(0x187))/0x4)+-parseInt(_0x27ad10(0x1b4))/0x5+-parseInt(_0x27ad10(0x19e))/0x6*(-parseInt(_0x27ad10(0x18a))/0x7)+-parseInt(_0x27ad10(0x186))/0x8+parseInt(_0x27ad10(0x18c))/0x9+parseInt(_0x27ad10(0x1b5))/0xa;if(_0x2e5316===_0x13a7c8)break;else _0x9fb533['push'](_0x9fb533['shift']());}catch(_0x57c376){_0x9fb533['push'](_0x9fb533['shift']());}}}(_0x4f1b,0xeaf22));import{ButtonView as _0xd9abda,IconView as _0x3450d7,ToolbarView as _0xc2c799}from'ckeditor5/src/ui.js';import{IconCheck as _0xbf4376,IconCopy as _0x217552,IconShowChangesOff as _0x464623,IconShowChangesOn as _0x3da21d,IconThumbDown as _0x4d5369,IconThumbUp as _0x37f91a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2951fa}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0xc2c799{[_0xe7f46e(0x1a8)];[_0xe7f46e(0x1ae)];[_0xe7f46e(0x195)];[_0xe7f46e(0x18b)];[_0xe7f46e(0x18d)];constructor(_0x1910a2,_0x546151={},_0x358bc6){const _0x23f431=_0xe7f46e;super(_0x1910a2),this[_0x23f431(0x1a5)](_0x23f431(0x1a1),!0x1),this[_0x23f431(0x18d)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x546151};const _0x247570=!(this[_0x23f431(0x18d)][_0x23f431(0x196)]||this[_0x23f431(0x18d)][_0x23f431(0x1b1)]||this[_0x23f431(0x18d)][_0x23f431(0x19d)]||this[_0x23f431(0x18d)][_0x23f431(0x19c)]||this[_0x23f431(0x18d)][_0x23f431(0x188)]?.[_0x23f431(0x18f)]);this[_0x23f431(0x1aa)]=_0x247570?_0x23f431(0x1a3):_0x23f431(0x192),this[_0x23f431(0x18d)][_0x23f431(0x196)]&&(this[_0x23f431(0x19a)](),this[_0x23f431(0x1af)][_0x23f431(0x1b2)](this[_0x23f431(0x1a8)])),this[_0x23f431(0x18d)][_0x23f431(0x1b1)]&&(this[_0x23f431(0x190)](_0x358bc6),this[_0x23f431(0x1af)][_0x23f431(0x1b2)](this[_0x23f431(0x18b)])),this[_0x23f431(0x18e)](),this[_0x23f431(0x18d)][_0x23f431(0x19d)]&&this[_0x23f431(0x1af)][_0x23f431(0x1b2)](this[_0x23f431(0x1ae)]),this[_0x23f431(0x18d)][_0x23f431(0x19c)]&&this[_0x23f431(0x1af)][_0x23f431(0x1b2)](this[_0x23f431(0x195)]),this[_0x23f431(0x18d)][_0x23f431(0x188)]&&this[_0x23f431(0x1af)][_0x23f431(0x1ac)](this[_0x23f431(0x18d)][_0x23f431(0x188)]);}[_0xe7f46e(0x18e)](){const _0x4c017b=_0xe7f46e;this[_0x4c017b(0x1ae)]=new _0xd9abda(this[_0x4c017b(0x1ad)]),this[_0x4c017b(0x1ae)][_0x4c017b(0x1a5)]({'icon':_0x37f91a,'label':_0x2951fa(this[_0x4c017b(0x1ad)],_0x4c017b(0x1a6)),'tooltip':!0x0}),this[_0x4c017b(0x1ae)][_0x4c017b(0x1a0)](_0x4c017b(0x191))['to'](this,_0x4c017b(0x1a1),_0x45a885=>!_0x45a885),this[_0x4c017b(0x1ae)]['on'](_0x4c017b(0x1a4),()=>{const _0x3edc46=_0x4c017b;this[_0x3edc46(0x1a2)](_0x3edc46(0x1b7));}),this[_0x4c017b(0x195)]=new _0xd9abda(this[_0x4c017b(0x1ad)]),this[_0x4c017b(0x195)][_0x4c017b(0x1a5)]({'icon':_0x4d5369,'label':_0x2951fa(this[_0x4c017b(0x1ad)],_0x4c017b(0x19b)),'tooltip':!0x0}),this[_0x4c017b(0x195)][_0x4c017b(0x1a0)](_0x4c017b(0x191))['to'](this,_0x4c017b(0x1a1),_0x163162=>!_0x163162),this[_0x4c017b(0x195)]['on'](_0x4c017b(0x1a4),()=>{const _0x64b6e6=_0x4c017b;this[_0x64b6e6(0x1a2)](_0x64b6e6(0x1a7));});}[_0xe7f46e(0x19a)](){const _0x39e8a4=_0xe7f46e;this[_0x39e8a4(0x1a8)]=new _0xd9abda(this[_0x39e8a4(0x1ad)]),this[_0x39e8a4(0x1a8)][_0x39e8a4(0x1a5)]({'icon':_0x217552,'label':_0x2951fa(this[_0x39e8a4(0x1ad)],_0x39e8a4(0x1b3)),'class':_0x39e8a4(0x19f),'tooltip':!0x0}),this[_0x39e8a4(0x1a8)][_0x39e8a4(0x1a0)](_0x39e8a4(0x191))['to'](this,_0x39e8a4(0x1a1),_0x22324d=>!_0x22324d);const _0x351ab5=new _0x3450d7();_0x351ab5[_0x39e8a4(0x1a5)]({'content':_0xbf4376}),_0x351ab5[_0x39e8a4(0x1a9)]({'attributes':{'class':[_0x39e8a4(0x198)]}}),this[_0x39e8a4(0x1a8)]['on'](_0x39e8a4(0x1a4),()=>{const _0x1285b9=_0x39e8a4;this[_0x1285b9(0x1a8)][_0x1285b9(0x1aa)]=_0x1285b9(0x1b8),setTimeout(()=>{const _0xb72ad=_0x1285b9;this[_0xb72ad(0x1a8)][_0xb72ad(0x1aa)]=_0xb72ad(0x19f);},0x7d0);}),this[_0x39e8a4(0x1a8)][_0x39e8a4(0x194)][_0x39e8a4(0x1b2)](_0x351ab5);}[_0xe7f46e(0x190)](_0x53268c){const _0xbdd6d7=_0xe7f46e;this[_0xbdd6d7(0x18b)]=new _0xd9abda(this[_0xbdd6d7(0x1ad)]),this[_0xbdd6d7(0x18b)][_0xbdd6d7(0x1a5)]({'icon':_0x464623,'label':_0x2951fa(this[_0xbdd6d7(0x1ad)],_0xbdd6d7(0x193)),'withText':_0xbdd6d7(0x189)==this[_0xbdd6d7(0x18d)][_0xbdd6d7(0x1b1)],'tooltip':_0xbdd6d7(0x189)!=this[_0xbdd6d7(0x18d)][_0xbdd6d7(0x1b1)],'isOn':_0x53268c}),this[_0xbdd6d7(0x18b)][_0xbdd6d7(0x1a0)](_0xbdd6d7(0x191))['to'](this,_0xbdd6d7(0x1a1),_0x23adba=>!_0x23adba),this[_0xbdd6d7(0x18b)]['on'](_0xbdd6d7(0x1a4),()=>{const _0x2fcc05=_0xbdd6d7,_0x409715=!this[_0x2fcc05(0x18b)][_0x2fcc05(0x197)];this[_0x2fcc05(0x18b)][_0x2fcc05(0x1a5)]({'isOn':_0x409715,'icon':_0x409715?_0x3da21d:_0x464623}),this[_0x2fcc05(0x1a2)](_0x2fcc05(0x1b0),_0x409715);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xfebb(_0x5ad853,_0x5cb6d8){const _0x45152e=_0x4515();return _0xfebb=function(_0xfebb12,_0x20972a){_0xfebb12=_0xfebb12-0x164;let _0x19130a=_0x45152e[_0xfebb12];return _0x19130a;},_0xfebb(_0x5ad853,_0x5cb6d8);}const _0x4f2177=_0xfebb;(function(_0xef541d,_0x2c898d){const _0x21aff7=_0xfebb,_0x380d68=_0xef541d();while(!![]){try{const _0x342c75=-parseInt(_0x21aff7(0x194))/0x1+-parseInt(_0x21aff7(0x195))/0x2+-parseInt(_0x21aff7(0x185))/0x3+parseInt(_0x21aff7(0x17f))/0x4+parseInt(_0x21aff7(0x18c))/0x5+-parseInt(_0x21aff7(0x176))/0x6*(-parseInt(_0x21aff7(0x178))/0x7)+parseInt(_0x21aff7(0x17b))/0x8;if(_0x342c75===_0x2c898d)break;else _0x380d68['push'](_0x380d68['shift']());}catch(_0x4a2703){_0x380d68['push'](_0x380d68['shift']());}}}(_0x4515,0x91077));import{View as _0x2fbc32}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x1ac4a4}from'./aisuggestioncontentpartview.js';function _0x4515(){const _0x383b1d=['838874TvDiBO','1746902FLTWvj','abort','_children','index','createCollection','set','partsCount','forEach','setTemplate','warning','AI_SUGGESTION_EMPTY_PART_WARNING','state','queueEmptyPromise','_emptyPartsWarningView','add','_areActionsDisabled','hasNonEmptyParts','delegate','toggleHeader','getPartView','find','enqueue','hasPendingParts','filter','hasChanges','_availableActions','6nVyTLc','push','6615707Vgduob','ck-ai-suggestion__body__content-parts','findIndex','17389160XNBbKR','div','some','_showUnchangedParts','960384USqmwf','partDefinition','addEventListener','first','updateContent','empty-parts-warning','3436854ZSQqan','from','ck-ai-suggestion__body','updateContentParts','isVisible','markAsDone','_cachedContentParts','465700pQQMvj','_updateContentPartsPromiseQueue','updatePartState','length','locale','AI_SUGGESTION_NO_PARTS_WARNING','setContent','pending'];_0x4515=function(){return _0x383b1d;};return _0x4515();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5af84d}from'../../utils/eventnames.js';import{PromiseQueue as _0x5d4a13}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x23e8d5}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0xaa2b04}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x2fbc32{[_0x4f2177(0x197)];[_0x4f2177(0x16b)];[_0x4f2177(0x17e)];[_0x4f2177(0x18d)];[_0x4f2177(0x169)];[_0x4f2177(0x175)];[_0x4f2177(0x18b)]=[];constructor(_0x4362c1,_0x5722cb){const _0x5a21d1=_0x4f2177;super(_0x4362c1);const {areActionsDisabled:_0x36314e,showUnchangedParts:_0x85f880,availableActions:_0x4170fb}=_0x5722cb;this[_0x5a21d1(0x16b)]=_0x36314e,this[_0x5a21d1(0x17e)]=_0x85f880,this[_0x5a21d1(0x175)]=_0x4170fb,this[_0x5a21d1(0x19a)](_0x5a21d1(0x172),!0x1),this[_0x5a21d1(0x197)]=this[_0x5a21d1(0x199)](),this[_0x5a21d1(0x18d)]=new _0x5d4a13(),this[_0x5a21d1(0x169)]=new _0x23e8d5({'id':_0x5a21d1(0x184),'initialContent':_0xaa2b04(_0x4362c1,_0x5a21d1(0x166)),'level':_0x5a21d1(0x165)}),this[_0x5a21d1(0x169)][_0x5a21d1(0x189)]=!0x1,this[_0x5a21d1(0x164)]({'tag':_0x5a21d1(0x17c),'attributes':{'class':['ck',_0x5a21d1(0x187)]},'children':[{'tag':_0x5a21d1(0x17c),'attributes':{'class':['ck',_0x5a21d1(0x179)]},'children':this[_0x5a21d1(0x197)]},this[_0x5a21d1(0x169)]]});}get[_0x4f2177(0x19b)](){const _0x5dee27=_0x4f2177;return this[_0x5dee27(0x197)][_0x5dee27(0x18f)];}async[_0x4f2177(0x188)]({parts:_0x401cb7,renderingStrategy:_0x24f431,abortSignal:_0x5bfe5e}){const _0x48e9f8=_0x4f2177;this[_0x48e9f8(0x197)][_0x48e9f8(0x18f)]?_0x401cb7[_0x48e9f8(0x19c)](_0x5d4fa5=>{const _0x2a06a9=_0x48e9f8,_0x60642e=this[_0x2a06a9(0x18b)][_0x2a06a9(0x17a)](_0x378f55=>_0x378f55[_0x2a06a9(0x198)]==_0x5d4fa5[_0x2a06a9(0x198)]);-0x1===_0x60642e?this[_0x2a06a9(0x18b)][_0x2a06a9(0x177)](_0x5d4fa5):this[_0x2a06a9(0x18b)][_0x60642e]=_0x5d4fa5;}):this[_0x48e9f8(0x18b)]=_0x401cb7;for(const _0x4cf978 of _0x401cb7[_0x48e9f8(0x173)](_0x4acbb8=>_0x4acbb8[_0x48e9f8(0x174)]))this[_0x48e9f8(0x18d)][_0x48e9f8(0x171)](async _0x490941=>{const _0x3d4598=_0x48e9f8;let _0x509e07=this[_0x3d4598(0x16f)](_0x4cf978[_0x3d4598(0x198)]);_0x509e07||(_0x509e07=new _0x1ac4a4(this[_0x3d4598(0x190)],{'part':_0x4cf978,'uiIndex':this[_0x3d4598(0x197)][_0x3d4598(0x18f)]+0x1,'areActionsDisabled':this[_0x3d4598(0x16b)],'availableActions':this[_0x3d4598(0x175)]}),_0x509e07[_0x3d4598(0x16d)](..._0x5af84d)['to'](this),this[_0x3d4598(0x197)][_0x3d4598(0x16a)](_0x509e07),this[_0x3d4598(0x172)]=!0x0),0x2===this[_0x3d4598(0x197)][_0x3d4598(0x18f)]&&this[_0x3d4598(0x197)][_0x3d4598(0x182)][_0x3d4598(0x16e)](!0x0),_0x509e07[_0x3d4598(0x16e)](this[_0x3d4598(0x197)][_0x3d4598(0x18f)]>0x1),await _0x509e07[_0x3d4598(0x183)]({'part':_0x4cf978,'renderingStrategy':_0x24f431,'showUnchangedParts':this[_0x3d4598(0x17e)],'abortSignal':_0x490941});});return _0x5bfe5e?.[_0x48e9f8(0x181)](_0x48e9f8(0x196),()=>{const _0x3ef072=_0x48e9f8;this[_0x3ef072(0x18d)][_0x3ef072(0x196)]();}),this[_0x48e9f8(0x18d)][_0x48e9f8(0x168)];}[_0x4f2177(0x18e)](_0x4cad53,_0x414115){const _0x31eafe=_0x4f2177,_0x21293c=this[_0x31eafe(0x16f)](_0x4cad53);_0x21293c&&(_0x21293c[_0x31eafe(0x167)]=_0x414115),this[_0x31eafe(0x172)]=_0x31eafe(0x193)==_0x414115||Array[_0x31eafe(0x186)](this[_0x31eafe(0x197)])[_0x31eafe(0x17d)](_0x5ec661=>_0x31eafe(0x193)==_0x5ec661[_0x31eafe(0x167)]);}[_0x4f2177(0x16f)](_0x380203){const _0x5423c8=_0x4f2177;return this[_0x5423c8(0x197)][_0x5423c8(0x170)](_0x2a2e64=>_0x2a2e64[_0x5423c8(0x180)][_0x5423c8(0x198)]==_0x380203)??null;}[_0x4f2177(0x18a)](){const _0x1d9f35=_0x4f2177;if(!this[_0x1d9f35(0x17e)]){const _0xf0bf10=!this[_0x1d9f35(0x18b)][_0x1d9f35(0x170)](({hasChanges:_0x3f9065})=>_0x3f9065),_0x26c42c=!!this[_0x1d9f35(0x18b)][_0x1d9f35(0x170)](({hasChanges:_0x3aa218})=>!_0x3aa218);this[_0x1d9f35(0x169)][_0x1d9f35(0x189)]=0x0==this[_0x1d9f35(0x197)][_0x1d9f35(0x18f)]||_0x26c42c,_0xf0bf10?this[_0x1d9f35(0x169)][_0x1d9f35(0x192)](_0xaa2b04(this[_0x1d9f35(0x190)],_0x1d9f35(0x191))):this[_0x1d9f35(0x169)][_0x1d9f35(0x192)](_0xaa2b04(this[_0x1d9f35(0x190)],_0x1d9f35(0x166)));}}get[_0x4f2177(0x16c)](){const _0x3468d3=_0x4f2177;return!!this[_0x3468d3(0x197)][_0x3468d3(0x170)](_0x32a25e=>_0x32a25e[_0x3468d3(0x180)][_0x3468d3(0x174)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2bd136=_0x5bd3;function _0x1211(){const _0x26c867=['defaultPositions','.ck-ai-chat','icon','querySelector','northArrowSouthEast','ck-ai-suggestion__container','hasNonEmptyParts','setTemplate','ck-ai-suggestion__error','hide','6033269TXqmMa','isShowChangesToggleVisible','url','ck-ai-web-source__tooltip-url','ck-ai-web-sources','title','2pokDjK','content','map','removeNavigationItem','isEnabled','ck-hidden','84TPfqqV','areChangesVisible','addNavigationItem','clearLoading','element','small','createCollection','addMany','substring','children','ck-ai-web-source__tooltip-image','delegate','ck-ai-web-source__tooltip-title','source','AI_CHAT_SOURCES_HEADER','destroy','isErrorVisible','_bodyCollection','span','clear','1313189Cplwjj','AI_CHAT_GENERIC_ERROR','div','sourcesView','northArrowSouth','isOn','hideLoader','_updateTooltipContent','open','_showTooltip','744dYJwRw','clearErrorState','AI_CHAT_IS_WRITING','.ck-ai-suggestion__error-text','toggleSuggestionDisplayMode','ck-ai-suggestion__loader','ck-ai-suggestion__loader-text','markAsDone','push','get','1640215cabWpN','_createTooltipContentView','updateContentParts','12132wfCAAp','36063SxcUNW','bodyView','showError','pin','_setupBalloonPanel','remove','setLoading','7147220HiSuhc','showLoader','fire','favicon','img','balloonPanelView','12DRDwlB','length','isLoaderVisible','...','errorView','ck-ai-web-sources__header','ck-ai-web-source__tooltip-row','northArrowSouthWest','isVisible','_createLoaderView','_createErrorView','setErrorState','246393BJgQyq','loaderView','updateSources','showChangesToggleView','ck-rounded-corners','add','headerView','isLoading','bindTemplate','_blank','939MEpIKq','miniToolbarView','extendTemplate','hostname','show','toggleShowChanges','bodyCollection','_hideTooltip','ck-ai-web-source__image','textContent','items','hideError','ck\x20ck-ai-web-source','locale','bind','updateContent','set','ck-ai-suggestion__error-text','ck-ai-web-source__tooltip-balloon','ck-ai-web-source__tooltip'];_0x1211=function(){return _0x26c867;};return _0x1211();}(function(_0x50ef8a,_0x34a1f4){const _0x109096=_0x5bd3,_0x413f7a=_0x50ef8a();while(!![]){try{const _0x25e846=-parseInt(_0x109096(0x1b9))/0x1*(parseInt(_0x109096(0x19f))/0x2)+-parseInt(_0x109096(0x1f4))/0x3*(-parseInt(_0x109096(0x1d0))/0x4)+parseInt(_0x109096(0x1cd))/0x5+parseInt(_0x109096(0x1a5))/0x6*(parseInt(_0x109096(0x1ea))/0x7)+parseInt(_0x109096(0x1c3))/0x8*(parseInt(_0x109096(0x1d1))/0x9)+-parseInt(_0x109096(0x1d8))/0xa+-parseInt(_0x109096(0x199))/0xb*(-parseInt(_0x109096(0x1de))/0xc);if(_0x25e846===_0x34a1f4)break;else _0x413f7a['push'](_0x413f7a['shift']());}catch(_0x3ce97e){_0x413f7a['push'](_0x413f7a['shift']());}}}(_0x1211,0xa1f51));import{IconWeb as _0x1d2dc8}from'@ckeditor/ckeditor5-icons';import{View as _0x49c3db,ButtonView as _0x32f137,IconView as _0x33aba6,BalloonPanelView as _0x342216}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0xc7580d}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x204e6e}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x5793ad}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x43504f}from'../../utils/eventnames.js';import{AISpinnerView as _0x2e0848}from'../aispinner.js';import{getTranslation as _0x251a5e}from'../../utils/common-translations.js';function _0x5bd3(_0x1b534a,_0x3e9a41){const _0x1211e1=_0x1211();return _0x5bd3=function(_0x5bd304,_0x25148b){_0x5bd304=_0x5bd304-0x198;let _0x449329=_0x1211e1[_0x5bd304];return _0x449329;},_0x5bd3(_0x1b534a,_0x3e9a41);}export class AISuggestionContainerView extends _0x49c3db{[_0x2bd136(0x1d2)];[_0x2bd136(0x1f5)];[_0x2bd136(0x1ae)];[_0x2bd136(0x1f0)];[_0x2bd136(0x1eb)];[_0x2bd136(0x1e2)];[_0x2bd136(0x1bc)];[_0x2bd136(0x1b6)];constructor(_0x31a50e,_0x589062,_0x9e2a60){const _0x5a111d=_0x2bd136;super(_0x31a50e),this[_0x5a111d(0x1b6)]=_0x9e2a60;const {showDiff:_0x4dbbd8,areActionsDisabled:_0x4731e0,miniToolbarConfig:_0xb5e3c2,hideHeader:_0x4ebe5e,showLoader:_0x1c6cff,showUnchangedParts:_0x4f8c3b,availableActions:_0x328594}=_0x589062;this[_0x5a111d(0x204)](_0x5a111d(0x1a6),!0x1),this[_0x5a111d(0x204)](_0x5a111d(0x1e0),!!_0x1c6cff),this[_0x5a111d(0x204)](_0x5a111d(0x1b5),!0x1),this[_0x5a111d(0x204)](_0x5a111d(0x1f1),!0x1),this[_0x5a111d(0x1ae)]=this[_0x5a111d(0x1ab)](),_0x4ebe5e||(this[_0x5a111d(0x1f0)]=new _0x204e6e(_0x31a50e,{'showDiff':_0x4dbbd8}),this[_0x5a111d(0x1f0)]['on'](_0x5a111d(0x1f9),(_0x4f214e,_0x389405)=>{const _0x2cd425=_0x5a111d;this[_0x2cd425(0x1a6)]=_0x389405[_0x2cd425(0x1be)],this[_0x2cd425(0x1da)](_0x2cd425(0x1c7),{'showDiff':_0x389405[_0x2cd425(0x1be)]});}),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1f0)])),this[_0x5a111d(0x1d2)]=new _0x5793ad(_0x31a50e,{'areActionsDisabled':_0x4731e0,'showUnchangedParts':!!_0x4f8c3b,'availableActions':_0x328594}),this[_0x5a111d(0x1d2)][_0x5a111d(0x1b0)](..._0x43504f)['to'](this),this[_0x5a111d(0x1d2)][_0x5a111d(0x1f6)]({'attributes':{'class':[this[_0x5a111d(0x1f2)]['if'](_0x5a111d(0x1e0),_0x5a111d(0x1a4)),this[_0x5a111d(0x1f2)]['if'](_0x5a111d(0x1b5),_0x5a111d(0x1a4))]}}),this[_0x5a111d(0x1f5)]=new _0xc7580d(_0x31a50e,_0xb5e3c2,_0x4dbbd8),this[_0x5a111d(0x1f5)][_0x5a111d(0x1b0)](..._0x43504f)['to'](this),this[_0x5a111d(0x1f5)]['on'](_0x5a111d(0x1f9),(_0x7b950e,_0x322a6e)=>{const _0x42e56b=_0x5a111d;this[_0x42e56b(0x1a6)]=_0x322a6e,this[_0x42e56b(0x1da)](_0x42e56b(0x1c7),{'showDiff':_0x322a6e});}),this[_0x5a111d(0x1f5)][_0x5a111d(0x202)](_0x5a111d(0x1f1))['to'](this),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1d2)]),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1f5)]),this[_0x5a111d(0x1bc)]=new AIWebSourcesView(this[_0x5a111d(0x201)],this[_0x5a111d(0x1b6)]),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1bc)]),_0x1c6cff&&(this[_0x5a111d(0x1eb)]=this[_0x5a111d(0x1e7)](),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1eb)])),this[_0x5a111d(0x1e2)]=this[_0x5a111d(0x1e8)](),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1e2)]),this[_0x5a111d(0x20f)]({'tag':_0x5a111d(0x1bb),'attributes':{'class':['ck',_0x5a111d(0x20d),_0x5a111d(0x1ee)]},'children':this[_0x5a111d(0x1ae)]});}async[_0x2bd136(0x203)](_0x5db51f){const _0x375a08=_0x2bd136;await this[_0x375a08(0x1d2)][_0x375a08(0x1cf)](_0x5db51f);}[_0x2bd136(0x1ec)](_0x8dba3e){const _0x16c93e=_0x2bd136,_0x397160=this[_0x16c93e(0x1bc)],_0x2aec56=_0x397160[_0x16c93e(0x1dd)];_0x397160[_0x16c93e(0x1ae)][_0x16c93e(0x1ac)](_0x8dba3e[_0x16c93e(0x1a1)](_0x2dcdc9=>new AIWebSourceView(this[_0x16c93e(0x201)],_0x2dcdc9,_0x2aec56))),_0x397160[_0x16c93e(0x1e6)]=!0x0;}[_0x2bd136(0x1d9)](){const _0x55ff50=_0x2bd136;this[_0x55ff50(0x1eb)]&&(this[_0x55ff50(0x1e0)]=!0x0);}[_0x2bd136(0x1bf)](){const _0x1c8795=_0x2bd136;this[_0x1c8795(0x1eb)]&&(this[_0x1c8795(0x1e0)]=!0x1);}[_0x2bd136(0x1d3)](_0x4f8fea){const _0x1b60b4=_0x2bd136;if(this[_0x1b60b4(0x1e2)]){const _0x13744e=this[_0x1b60b4(0x1e2)][_0x1b60b4(0x1a9)]?.[_0x1b60b4(0x20b)](_0x1b60b4(0x1c6));_0x13744e&&(_0x13744e[_0x1b60b4(0x1fd)]=_0x4f8fea),this[_0x1b60b4(0x1b5)]=!0x0;}}[_0x2bd136(0x1ff)](){const _0x5b774a=_0x2bd136;this[_0x5b774a(0x1e2)]&&(this[_0x5b774a(0x1b5)]=!0x1);}[_0x2bd136(0x1ca)](){const _0x4f7078=_0x2bd136;this[_0x4f7078(0x1d2)][_0x4f7078(0x1ca)](),this[_0x4f7078(0x1f0)]&&(this[_0x4f7078(0x1f0)][_0x4f7078(0x19a)]=this[_0x4f7078(0x1d2)][_0x4f7078(0x20e)]);}[_0x2bd136(0x1d7)](){const _0x5c40f4=_0x2bd136;this[_0x5c40f4(0x1f1)]=!0x0;}[_0x2bd136(0x1a8)](){const _0x319ecc=_0x2bd136;this[_0x319ecc(0x1f1)]=!0x1;}[_0x2bd136(0x1e9)](){const _0x49a56d=_0x2bd136;this[_0x49a56d(0x1f5)]&&(this[_0x49a56d(0x1f5)][_0x49a56d(0x1f1)]=!0x0),this[_0x49a56d(0x1f0)]?.[_0x49a56d(0x1ed)]&&(this[_0x49a56d(0x1f0)][_0x49a56d(0x1ed)][_0x49a56d(0x1a3)]=!0x1);}[_0x2bd136(0x1c4)](){const _0x29510d=_0x2bd136;this[_0x29510d(0x1f5)]&&(this[_0x29510d(0x1f5)][_0x29510d(0x1f1)]=!0x1),this[_0x29510d(0x1f0)]?.[_0x29510d(0x1ed)]&&(this[_0x29510d(0x1f0)][_0x29510d(0x1ed)][_0x29510d(0x1a3)]=!0x0);}[_0x2bd136(0x1a7)](_0x62ada){const _0x3c1746=_0x2bd136;this[_0x3c1746(0x1f5)][_0x3c1746(0x1fe)][_0x3c1746(0x1ef)](_0x62ada);}[_0x2bd136(0x1a2)](_0x15201e){const _0x1f1be9=_0x2bd136;this[_0x1f1be9(0x1f5)][_0x1f1be9(0x1fe)][_0x1f1be9(0x1d6)](_0x15201e);}[_0x2bd136(0x1e7)](){const _0x5c0066=_0x2bd136,_0x5ebf69=new _0x49c3db(this[_0x5c0066(0x201)]),_0x187477=new _0x2e0848(_0x5c0066(0x1aa));_0x187477[_0x5c0066(0x1e6)]=!0x0;const _0x4755bd=new _0x49c3db(this[_0x5c0066(0x201)]);return _0x4755bd[_0x5c0066(0x20f)]({'tag':_0x5c0066(0x1b7),'attributes':{'class':['ck',_0x5c0066(0x1c9)]},'children':[_0x251a5e(this[_0x5c0066(0x201)],_0x5c0066(0x1c5))]}),_0x5ebf69[_0x5c0066(0x20f)]({'tag':_0x5c0066(0x1bb),'attributes':{'class':['ck',_0x5c0066(0x1c8),this[_0x5c0066(0x1f2)]['if'](_0x5c0066(0x1e0),_0x5c0066(0x1a4),_0x3d2542=>!_0x3d2542)]},'children':[_0x187477,_0x4755bd]}),_0x5ebf69;}[_0x2bd136(0x1e8)](){const _0x34c48c=_0x2bd136,_0x45eedc=new _0x49c3db(this[_0x34c48c(0x201)]),_0x58e0e5=new _0x49c3db(this[_0x34c48c(0x201)]);return _0x58e0e5[_0x34c48c(0x20f)]({'tag':_0x34c48c(0x1b7),'attributes':{'class':['ck',_0x34c48c(0x205)]},'children':[_0x251a5e(this[_0x34c48c(0x201)],_0x34c48c(0x1ba))]}),_0x45eedc[_0x34c48c(0x20f)]({'tag':_0x34c48c(0x1bb),'attributes':{'class':['ck',_0x34c48c(0x210),this[_0x34c48c(0x1f2)]['if'](_0x34c48c(0x1b5),_0x34c48c(0x1a4),_0x37febf=>!_0x37febf)]},'children':[_0x58e0e5]}),_0x45eedc;}}export class AIWebSourcesView extends _0x49c3db{[_0x2bd136(0x1ae)];[_0x2bd136(0x1dd)];[_0x2bd136(0x1fa)];constructor(_0x26fe65,_0x4808bc){const _0x2a3a89=_0x2bd136;super(_0x26fe65),this[_0x2a3a89(0x1fa)]=_0x4808bc,this[_0x2a3a89(0x1ae)]=this[_0x2a3a89(0x1ab)](),this[_0x2a3a89(0x204)](_0x2a3a89(0x1e6),!0x1),this[_0x2a3a89(0x20f)]({'tag':_0x2a3a89(0x1bb),'attributes':{'class':['ck',_0x2a3a89(0x19d),this[_0x2a3a89(0x1f2)]['if'](_0x2a3a89(0x1e6),_0x2a3a89(0x1a4),_0x2fc44c=>!_0x2fc44c)]},'children':this[_0x2a3a89(0x1ae)]});const _0x23d965=new _0x49c3db(this[_0x2a3a89(0x201)]),_0xf56fbb=new _0x33aba6();_0xf56fbb[_0x2a3a89(0x1a0)]=_0x1d2dc8,_0x23d965[_0x2a3a89(0x20f)]({'tag':_0x2a3a89(0x1bb),'attributes':{'class':['ck',_0x2a3a89(0x1e3)]},'children':[_0xf56fbb,{'tag':_0x2a3a89(0x1b7),'children':[{'text':_0x251a5e(this[_0x2a3a89(0x201)],_0x2a3a89(0x1b3))}]}]}),this[_0x2a3a89(0x1ae)][_0x2a3a89(0x1ef)](_0x23d965),this[_0x2a3a89(0x1d5)](_0x26fe65);}[_0x2bd136(0x1d5)](_0x5e10d6){const _0x5dd265=_0x2bd136;this[_0x5dd265(0x1dd)]=new _0x342216(_0x5e10d6),this[_0x5dd265(0x1dd)][_0x5dd265(0x1f6)]({'attributes':{'class':[_0x5dd265(0x206)]}}),this[_0x5dd265(0x1fa)][_0x5dd265(0x1ef)](this[_0x5dd265(0x1dd)]);}}export class AIWebSourceView extends _0x32f137{[_0x2bd136(0x1dd)];[_0x2bd136(0x1b2)];constructor(_0x1c39bc,_0x533f36,_0x5c1b87){const _0x377758=_0x2bd136;super(_0x1c39bc),this[_0x377758(0x1b2)]=_0x533f36,this[_0x377758(0x1dd)]=_0x5c1b87,this[_0x377758(0x204)]({'label':_0x533f36[_0x377758(0x19e)],'class':[_0x377758(0x200)],'withText':!0x0});const _0x574459=this[_0x377758(0x1f2)];if(this[_0x377758(0x1f6)]({'on':{'click':_0x574459['to'](()=>{const _0xd24481=_0x377758;window[_0xd24481(0x1c1)](_0x533f36[_0xd24481(0x19b)],_0xd24481(0x1f3));}),'mouseenter':_0x574459['to'](()=>{const _0x2e9c83=_0x377758;this[_0x2e9c83(0x1c2)]();}),'mouseleave':_0x574459['to'](()=>{const _0x5b65de=_0x377758;this[_0x5b65de(0x1fb)]();})}}),_0x533f36[_0x377758(0x1db)]){const _0x2344b3=new _0x49c3db(_0x1c39bc);_0x2344b3[_0x377758(0x20f)]({'tag':_0x377758(0x1dc),'attributes':{'src':_0x533f36[_0x377758(0x1db)]||_0x1d2dc8,'alt':_0x533f36[_0x377758(0x19e)],'class':[_0x377758(0x1fc)]}}),this[_0x377758(0x1ae)][_0x377758(0x1ef)](_0x2344b3);}else this[_0x377758(0x204)](_0x377758(0x20a),_0x1d2dc8);}[_0x2bd136(0x1ce)](_0x463e03,_0x366bd5){const _0x3710ae=_0x2bd136,_0x4359e6=new _0x49c3db(_0x463e03),_0x2b4b4f=[];let _0x3a9ca8;_0x366bd5?.[_0x3710ae(0x1db)]?(_0x3a9ca8=new _0x49c3db(_0x463e03),_0x3a9ca8[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1dc),'attributes':{'src':_0x366bd5[_0x3710ae(0x1db)],'alt':_0x366bd5[_0x3710ae(0x19e)],'class':[_0x3710ae(0x1af)]}})):(_0x3a9ca8=new _0x33aba6(),_0x3a9ca8[_0x3710ae(0x1a0)]=_0x1d2dc8,_0x3a9ca8[_0x3710ae(0x1f6)]({'attributes':{'alt':_0x366bd5[_0x3710ae(0x19e)],'class':[_0x3710ae(0x1af)]}})),_0x2b4b4f[_0x3710ae(0x1cb)](_0x3a9ca8);const _0x2c040b=new _0x49c3db(_0x463e03);_0x2c040b[_0x3710ae(0x20f)]({'tag':'a','attributes':{'class':[_0x3710ae(0x19c)],'href':_0x366bd5[_0x3710ae(0x19b)]},'children':[{'text':new URL(_0x366bd5[_0x3710ae(0x19b)])?.[_0x3710ae(0x1f7)]}]}),_0x2b4b4f[_0x3710ae(0x1cb)](_0x2c040b);const _0x11c49a=new _0x49c3db(_0x463e03);_0x11c49a[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1bb),'attributes':{'class':[_0x3710ae(0x1e4)]},'children':_0x2b4b4f});const _0x44f253=new _0x49c3db(_0x463e03);return _0x44f253[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1b7),'attributes':{'class':[_0x3710ae(0x1e4),_0x3710ae(0x1b1)]},'children':[{'text':_0x366bd5[_0x3710ae(0x19e)][_0x3710ae(0x1df)]>0x190?_0x366bd5[_0x3710ae(0x19e)][_0x3710ae(0x1ad)](0x0,0x190)+_0x3710ae(0x1e1):_0x366bd5[_0x3710ae(0x19e)]}]}),_0x4359e6[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1bb),'attributes':{'class':['ck',_0x3710ae(0x207)]},'children':[_0x11c49a,_0x44f253]}),_0x4359e6;}[_0x2bd136(0x1c2)](){const _0x319d87=_0x2bd136;this[_0x319d87(0x1c0)](),this[_0x319d87(0x1dd)][_0x319d87(0x1d4)]({'target':this[_0x319d87(0x1a9)],'positions':[_0x342216[_0x319d87(0x208)][_0x319d87(0x1bd)],_0x342216[_0x319d87(0x208)][_0x319d87(0x1e5)],_0x342216[_0x319d87(0x208)][_0x319d87(0x20c)]],'limiter':document[_0x319d87(0x20b)](_0x319d87(0x209))}),this[_0x319d87(0x1dd)][_0x319d87(0x1f8)]();}[_0x2bd136(0x1fb)](){const _0x3ecec4=_0x2bd136;this[_0x3ecec4(0x1dd)][_0x3ecec4(0x198)]();}[_0x2bd136(0x1c0)](){const _0x39ac54=_0x2bd136;this[_0x39ac54(0x1dd)][_0x39ac54(0x1a0)][_0x39ac54(0x1cc)](0x0)?.[_0x39ac54(0x1b4)](),this[_0x39ac54(0x1dd)][_0x39ac54(0x1a0)][_0x39ac54(0x1b8)]();const _0x545434=this[_0x39ac54(0x1ce)](this[_0x39ac54(0x201)],this[_0x39ac54(0x1b2)]);this[_0x39ac54(0x1dd)][_0x39ac54(0x1a0)][_0x39ac54(0x1ef)](_0x545434);}}
|
|
23
|
+
const _0x2b696e=_0x3800;(function(_0x790988,_0xa305c9){const _0x156f81=_0x3800,_0x1e24ac=_0x790988();while(!![]){try{const _0x2502c9=parseInt(_0x156f81(0x1ba))/0x1*(-parseInt(_0x156f81(0x1e1))/0x2)+-parseInt(_0x156f81(0x1aa))/0x3*(-parseInt(_0x156f81(0x21e))/0x4)+parseInt(_0x156f81(0x1e8))/0x5+parseInt(_0x156f81(0x1dd))/0x6+-parseInt(_0x156f81(0x1cc))/0x7*(parseInt(_0x156f81(0x1c3))/0x8)+parseInt(_0x156f81(0x1f5))/0x9+-parseInt(_0x156f81(0x1d1))/0xa;if(_0x2502c9===_0xa305c9)break;else _0x1e24ac['push'](_0x1e24ac['shift']());}catch(_0x259d2b){_0x1e24ac['push'](_0x1e24ac['shift']());}}}(_0x2286,0xcb905));import{IconWeb as _0x3b3673}from'@ckeditor/ckeditor5-icons';import{View as _0x2fab46,ButtonView as _0x17705e,IconView as _0x47598c,BalloonPanelView as _0x28274b}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x1d14c8}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x30285f}from'./aisuggestionheaderview.js';function _0x3800(_0x3f9c3c,_0x19010a){const _0x2286d8=_0x2286();return _0x3800=function(_0x380034,_0x1879d1){_0x380034=_0x380034-0x1a9;let _0x498951=_0x2286d8[_0x380034];return _0x498951;},_0x3800(_0x3f9c3c,_0x19010a);}import{AISuggestionBodyView as _0x418bd0}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2c742a}from'../../utils/eventnames.js';import{AISpinnerView as _0x32dde5}from'../aispinner.js';import{getTranslation as _0x2d4076}from'../../utils/common-translations.js';function _0x2286(){const _0x2d30f6=['bodyView','updateContent','isLoaderVisible','ck-ai-suggestion__container','sourcesView','.ck-ai-chat','substring','_setupBalloonPanel','open','_createLoaderView','createCollection','remove','addMany','northArrowSouth','116534PxIuTy','ck\x20ck-ai-web-source','ck-ai-web-source__tooltip-row','length','textContent','AI_CHAT_GENERIC_ERROR','hideError','div','ck-ai-suggestion__error-text','7712lBOEeL','_createTooltipContentView','...','children','small','isOn','title','locale','ck-ai-web-source__tooltip-balloon','4382TRiQgG','source','areChangesVisible','destroy','ck-ai-suggestion__loader-text','22658240aOfNMJ','hideLoader','.ck-ai-suggestion__error-text','addNavigationItem','pin','ck-ai-web-sources','hostname','querySelector','content','loaderView','clearLoading','isErrorVisible','1997394FVxaLi','span','ck-ai-web-source__tooltip-title','map','22ydEwYb','removeNavigationItem','showLoader','isVisible','showChangesToggleView','hasNonEmptyParts','ck-ai-suggestion__error','8086045mKUWqr','push','defaultPositions','_createErrorView','bodyCollection','AI_CHAT_SOURCES_HEADER','img','ck-ai-web-source__tooltip-url','isShowChangesToggleVisible','url','bind','_hideTooltip','headerView','14234283tCeljv','isEnabled','get','fire','clearErrorState','AI_CHAT_IS_WRITING','setLoading','favicon','_updateTooltipContent','showError','ck-hidden','ck-rounded-corners','ck-ai-web-source__tooltip-image','add','errorView','northArrowSouthEast','_bodyCollection','updateContentParts','element','delegate','show','toggleShowChanges','ck-ai-web-sources__header','bindTemplate','_blank','isLoading','hide','markAsDone','set','balloonPanelView','ck-ai-suggestion__loader','_showTooltip','extendTemplate','ck-ai-web-source__image','miniToolbarView','updateSources','northArrowSouthWest','ck-ai-web-source__tooltip','setTemplate','toggleSuggestionDisplayMode','setErrorState','244GQHArD','clear','icon','71472eLXtrZ','items'];_0x2286=function(){return _0x2d30f6;};return _0x2286();}export class AISuggestionContainerView extends _0x2fab46{[_0x2b696e(0x1ac)];[_0x2b696e(0x217)];[_0x2b696e(0x1c6)];[_0x2b696e(0x1f4)];[_0x2b696e(0x1da)];[_0x2b696e(0x203)];[_0x2b696e(0x1b0)];[_0x2b696e(0x205)];constructor(_0xff4ef8,_0x3fb5dd,_0x54d9c0){const _0x799a07=_0x2b696e;super(_0xff4ef8),this[_0x799a07(0x205)]=_0x54d9c0;const {showDiff:_0x247440,areActionsDisabled:_0x18594f,miniToolbarConfig:_0x8c8128,hideHeader:_0x50538,showLoader:_0x500957,showUnchangedParts:_0x114a5e,availableActions:_0x572d2f}=_0x3fb5dd;this[_0x799a07(0x211)](_0x799a07(0x1ce),!0x1),this[_0x799a07(0x211)](_0x799a07(0x1ae),!!_0x500957),this[_0x799a07(0x211)](_0x799a07(0x1dc),!0x1),this[_0x799a07(0x211)](_0x799a07(0x20e),!0x1),this[_0x799a07(0x1c6)]=this[_0x799a07(0x1b6)](),_0x50538||(this[_0x799a07(0x1f4)]=new _0x30285f(_0xff4ef8,{'showDiff':_0x247440}),this[_0x799a07(0x1f4)]['on'](_0x799a07(0x20a),(_0x1cbc09,_0x402fdc)=>{const _0x34a629=_0x799a07;this[_0x34a629(0x1ce)]=_0x402fdc[_0x34a629(0x1c8)],this[_0x34a629(0x1f8)](_0x34a629(0x21c),{'showDiff':_0x402fdc[_0x34a629(0x1c8)]});}),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x1f4)])),this[_0x799a07(0x1ac)]=new _0x418bd0(_0xff4ef8,{'areActionsDisabled':_0x18594f,'showUnchangedParts':!!_0x114a5e,'availableActions':_0x572d2f}),this[_0x799a07(0x1ac)][_0x799a07(0x208)](..._0x2c742a)['to'](this),this[_0x799a07(0x1ac)][_0x799a07(0x215)]({'attributes':{'class':[this[_0x799a07(0x20c)]['if'](_0x799a07(0x1ae),_0x799a07(0x1ff)),this[_0x799a07(0x20c)]['if'](_0x799a07(0x1dc),_0x799a07(0x1ff))]}}),this[_0x799a07(0x217)]=new _0x1d14c8(_0xff4ef8,_0x8c8128,_0x247440),this[_0x799a07(0x217)][_0x799a07(0x208)](..._0x2c742a)['to'](this),this[_0x799a07(0x217)]['on'](_0x799a07(0x20a),(_0x1dd953,_0x4c1d20)=>{const _0x5e58dc=_0x799a07;this[_0x5e58dc(0x1ce)]=_0x4c1d20,this[_0x5e58dc(0x1f8)](_0x5e58dc(0x21c),{'showDiff':_0x4c1d20});}),this[_0x799a07(0x217)][_0x799a07(0x1f2)](_0x799a07(0x20e))['to'](this),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x1ac)]),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x217)]),this[_0x799a07(0x1b0)]=new AIWebSourcesView(this[_0x799a07(0x1ca)],this[_0x799a07(0x205)]),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x1b0)]),_0x500957&&(this[_0x799a07(0x1da)]=this[_0x799a07(0x1b5)](),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x1da)])),this[_0x799a07(0x203)]=this[_0x799a07(0x1eb)](),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x203)]),this[_0x799a07(0x21b)]({'tag':_0x799a07(0x1c1),'attributes':{'class':['ck',_0x799a07(0x1af),_0x799a07(0x200)]},'children':this[_0x799a07(0x1c6)]});}async[_0x2b696e(0x1ad)](_0x47b382){const _0x141648=_0x2b696e;await this[_0x141648(0x1ac)][_0x141648(0x206)](_0x47b382);}[_0x2b696e(0x218)](_0x2c4885){const _0x263a98=_0x2b696e,_0xf9ce2=this[_0x263a98(0x1b0)],_0x44964d=_0xf9ce2[_0x263a98(0x212)];_0xf9ce2[_0x263a98(0x1c6)][_0x263a98(0x1b8)](_0x2c4885[_0x263a98(0x1e0)](_0xcfa717=>new AIWebSourceView(this[_0x263a98(0x1ca)],_0xcfa717,_0x44964d))),_0xf9ce2[_0x263a98(0x1e4)]=!0x0;}[_0x2b696e(0x1e3)](){const _0x1d8f10=_0x2b696e;this[_0x1d8f10(0x1da)]&&(this[_0x1d8f10(0x1ae)]=!0x0);}[_0x2b696e(0x1d2)](){const _0x238d02=_0x2b696e;this[_0x238d02(0x1da)]&&(this[_0x238d02(0x1ae)]=!0x1);}[_0x2b696e(0x1fe)](_0x30221b){const _0x16ea99=_0x2b696e;if(this[_0x16ea99(0x203)]){const _0x359779=this[_0x16ea99(0x203)][_0x16ea99(0x207)]?.[_0x16ea99(0x1d8)](_0x16ea99(0x1d3));_0x359779&&(_0x359779[_0x16ea99(0x1be)]=_0x30221b),this[_0x16ea99(0x1dc)]=!0x0;}}[_0x2b696e(0x1c0)](){const _0x1a35f5=_0x2b696e;this[_0x1a35f5(0x203)]&&(this[_0x1a35f5(0x1dc)]=!0x1);}[_0x2b696e(0x210)](){const _0x156caa=_0x2b696e;this[_0x156caa(0x1ac)][_0x156caa(0x210)](),this[_0x156caa(0x1f4)]&&(this[_0x156caa(0x1f4)][_0x156caa(0x1f0)]=this[_0x156caa(0x1ac)][_0x156caa(0x1e6)]);}[_0x2b696e(0x1fb)](){const _0x4f9c7e=_0x2b696e;this[_0x4f9c7e(0x20e)]=!0x0;}[_0x2b696e(0x1db)](){const _0x615dae=_0x2b696e;this[_0x615dae(0x20e)]=!0x1;}[_0x2b696e(0x21d)](){const _0x3c868a=_0x2b696e;this[_0x3c868a(0x217)]&&(this[_0x3c868a(0x217)][_0x3c868a(0x20e)]=!0x0),this[_0x3c868a(0x1f4)]?.[_0x3c868a(0x1e5)]&&(this[_0x3c868a(0x1f4)][_0x3c868a(0x1e5)][_0x3c868a(0x1f6)]=!0x1);}[_0x2b696e(0x1f9)](){const _0xcee7e2=_0x2b696e;this[_0xcee7e2(0x217)]&&(this[_0xcee7e2(0x217)][_0xcee7e2(0x20e)]=!0x1),this[_0xcee7e2(0x1f4)]?.[_0xcee7e2(0x1e5)]&&(this[_0xcee7e2(0x1f4)][_0xcee7e2(0x1e5)][_0xcee7e2(0x1f6)]=!0x0);}[_0x2b696e(0x1d4)](_0x3f03ee){const _0x200288=_0x2b696e;this[_0x200288(0x217)][_0x200288(0x1ab)][_0x200288(0x202)](_0x3f03ee);}[_0x2b696e(0x1e2)](_0x5824a1){const _0x54796a=_0x2b696e;this[_0x54796a(0x217)][_0x54796a(0x1ab)][_0x54796a(0x1b7)](_0x5824a1);}[_0x2b696e(0x1b5)](){const _0x475cff=_0x2b696e,_0x141bfb=new _0x2fab46(this[_0x475cff(0x1ca)]),_0x5020dd=new _0x32dde5(_0x475cff(0x1c7));_0x5020dd[_0x475cff(0x1e4)]=!0x0;const _0x117861=new _0x2fab46(this[_0x475cff(0x1ca)]);return _0x117861[_0x475cff(0x21b)]({'tag':_0x475cff(0x1de),'attributes':{'class':['ck',_0x475cff(0x1d0)]},'children':[_0x2d4076(this[_0x475cff(0x1ca)],_0x475cff(0x1fa))]}),_0x141bfb[_0x475cff(0x21b)]({'tag':_0x475cff(0x1c1),'attributes':{'class':['ck',_0x475cff(0x213),this[_0x475cff(0x20c)]['if'](_0x475cff(0x1ae),_0x475cff(0x1ff),_0x623f14=>!_0x623f14)]},'children':[_0x5020dd,_0x117861]}),_0x141bfb;}[_0x2b696e(0x1eb)](){const _0x5af190=_0x2b696e,_0x19e314=new _0x2fab46(this[_0x5af190(0x1ca)]),_0x40d7fc=new _0x2fab46(this[_0x5af190(0x1ca)]);return _0x40d7fc[_0x5af190(0x21b)]({'tag':_0x5af190(0x1de),'attributes':{'class':['ck',_0x5af190(0x1c2)]},'children':[_0x2d4076(this[_0x5af190(0x1ca)],_0x5af190(0x1bf))]}),_0x19e314[_0x5af190(0x21b)]({'tag':_0x5af190(0x1c1),'attributes':{'class':['ck',_0x5af190(0x1e7),this[_0x5af190(0x20c)]['if'](_0x5af190(0x1dc),_0x5af190(0x1ff),_0x5b9ad8=>!_0x5b9ad8)]},'children':[_0x40d7fc]}),_0x19e314;}}export class AIWebSourcesView extends _0x2fab46{[_0x2b696e(0x1c6)];[_0x2b696e(0x212)];[_0x2b696e(0x1ec)];constructor(_0x39d85b,_0xf549dc){const _0xfc1f4a=_0x2b696e;super(_0x39d85b),this[_0xfc1f4a(0x1ec)]=_0xf549dc,this[_0xfc1f4a(0x1c6)]=this[_0xfc1f4a(0x1b6)](),this[_0xfc1f4a(0x211)](_0xfc1f4a(0x1e4),!0x1),this[_0xfc1f4a(0x21b)]({'tag':_0xfc1f4a(0x1c1),'attributes':{'class':['ck',_0xfc1f4a(0x1d6),this[_0xfc1f4a(0x20c)]['if'](_0xfc1f4a(0x1e4),_0xfc1f4a(0x1ff),_0x1beedb=>!_0x1beedb)]},'children':this[_0xfc1f4a(0x1c6)]});const _0x1fa7af=new _0x2fab46(this[_0xfc1f4a(0x1ca)]),_0x1e80fc=new _0x47598c();_0x1e80fc[_0xfc1f4a(0x1d9)]=_0x3b3673,_0x1fa7af[_0xfc1f4a(0x21b)]({'tag':_0xfc1f4a(0x1c1),'attributes':{'class':['ck',_0xfc1f4a(0x20b)]},'children':[_0x1e80fc,{'tag':_0xfc1f4a(0x1de),'children':[{'text':_0x2d4076(this[_0xfc1f4a(0x1ca)],_0xfc1f4a(0x1ed))}]}]}),this[_0xfc1f4a(0x1c6)][_0xfc1f4a(0x202)](_0x1fa7af),this[_0xfc1f4a(0x1b3)](_0x39d85b);}[_0x2b696e(0x1b3)](_0x3693cf){const _0x21560d=_0x2b696e;this[_0x21560d(0x212)]=new _0x28274b(_0x3693cf),this[_0x21560d(0x212)][_0x21560d(0x215)]({'attributes':{'class':[_0x21560d(0x1cb)]}}),this[_0x21560d(0x1ec)][_0x21560d(0x202)](this[_0x21560d(0x212)]);}}export class AIWebSourceView extends _0x17705e{[_0x2b696e(0x212)];[_0x2b696e(0x1cd)];constructor(_0x3ac484,_0x245598,_0x2ea8c2){const _0x5e4c33=_0x2b696e;super(_0x3ac484),this[_0x5e4c33(0x1cd)]=_0x245598,this[_0x5e4c33(0x212)]=_0x2ea8c2,this[_0x5e4c33(0x211)]({'label':_0x245598[_0x5e4c33(0x1c9)],'class':[_0x5e4c33(0x1bb)],'withText':!0x0});const _0x42c20e=this[_0x5e4c33(0x20c)];if(this[_0x5e4c33(0x215)]({'on':{'click':_0x42c20e['to'](()=>{const _0x3262b8=_0x5e4c33;window[_0x3262b8(0x1b4)](_0x245598[_0x3262b8(0x1f1)],_0x3262b8(0x20d));}),'mouseenter':_0x42c20e['to'](()=>{const _0x191ef4=_0x5e4c33;this[_0x191ef4(0x214)]();}),'mouseleave':_0x42c20e['to'](()=>{const _0x56f0f8=_0x5e4c33;this[_0x56f0f8(0x1f3)]();})}}),_0x245598[_0x5e4c33(0x1fc)]){const _0x1dbc3a=new _0x2fab46(_0x3ac484);_0x1dbc3a[_0x5e4c33(0x21b)]({'tag':_0x5e4c33(0x1ee),'attributes':{'src':_0x245598[_0x5e4c33(0x1fc)]||_0x3b3673,'alt':_0x245598[_0x5e4c33(0x1c9)],'class':[_0x5e4c33(0x216)]}}),this[_0x5e4c33(0x1c6)][_0x5e4c33(0x202)](_0x1dbc3a);}else this[_0x5e4c33(0x211)](_0x5e4c33(0x1a9),_0x3b3673);}[_0x2b696e(0x1c4)](_0x4713fe,_0x560413){const _0x2323c9=_0x2b696e,_0x188370=new _0x2fab46(_0x4713fe),_0x3cd29f=[];let _0x2be27d;_0x560413?.[_0x2323c9(0x1fc)]?(_0x2be27d=new _0x2fab46(_0x4713fe),_0x2be27d[_0x2323c9(0x21b)]({'tag':_0x2323c9(0x1ee),'attributes':{'src':_0x560413[_0x2323c9(0x1fc)],'alt':_0x560413[_0x2323c9(0x1c9)],'class':[_0x2323c9(0x201)]}})):(_0x2be27d=new _0x47598c(),_0x2be27d[_0x2323c9(0x1d9)]=_0x3b3673,_0x2be27d[_0x2323c9(0x215)]({'attributes':{'alt':_0x560413[_0x2323c9(0x1c9)],'class':[_0x2323c9(0x201)]}})),_0x3cd29f[_0x2323c9(0x1e9)](_0x2be27d);const _0x32beea=new _0x2fab46(_0x4713fe);_0x32beea[_0x2323c9(0x21b)]({'tag':'a','attributes':{'class':[_0x2323c9(0x1ef)],'href':_0x560413[_0x2323c9(0x1f1)]},'children':[{'text':new URL(_0x560413[_0x2323c9(0x1f1)])?.[_0x2323c9(0x1d7)]}]}),_0x3cd29f[_0x2323c9(0x1e9)](_0x32beea);const _0x2a5b76=new _0x2fab46(_0x4713fe);_0x2a5b76[_0x2323c9(0x21b)]({'tag':_0x2323c9(0x1c1),'attributes':{'class':[_0x2323c9(0x1bc)]},'children':_0x3cd29f});const _0x682ac7=new _0x2fab46(_0x4713fe);return _0x682ac7[_0x2323c9(0x21b)]({'tag':_0x2323c9(0x1de),'attributes':{'class':[_0x2323c9(0x1bc),_0x2323c9(0x1df)]},'children':[{'text':_0x560413[_0x2323c9(0x1c9)][_0x2323c9(0x1bd)]>0x190?_0x560413[_0x2323c9(0x1c9)][_0x2323c9(0x1b2)](0x0,0x190)+_0x2323c9(0x1c5):_0x560413[_0x2323c9(0x1c9)]}]}),_0x188370[_0x2323c9(0x21b)]({'tag':_0x2323c9(0x1c1),'attributes':{'class':['ck',_0x2323c9(0x21a)]},'children':[_0x2a5b76,_0x682ac7]}),_0x188370;}[_0x2b696e(0x214)](){const _0x1526ca=_0x2b696e;this[_0x1526ca(0x1fd)](),this[_0x1526ca(0x212)][_0x1526ca(0x1d5)]({'target':this[_0x1526ca(0x207)],'positions':[_0x28274b[_0x1526ca(0x1ea)][_0x1526ca(0x1b9)],_0x28274b[_0x1526ca(0x1ea)][_0x1526ca(0x219)],_0x28274b[_0x1526ca(0x1ea)][_0x1526ca(0x204)]],'limiter':document[_0x1526ca(0x1d8)](_0x1526ca(0x1b1))}),this[_0x1526ca(0x212)][_0x1526ca(0x209)]();}[_0x2b696e(0x1f3)](){const _0x399386=_0x2b696e;this[_0x399386(0x212)][_0x399386(0x20f)]();}[_0x2b696e(0x1fd)](){const _0x114a99=_0x2b696e;this[_0x114a99(0x212)][_0x114a99(0x1d9)][_0x114a99(0x1f7)](0x0)?.[_0x114a99(0x1cf)](),this[_0x114a99(0x212)][_0x114a99(0x1d9)][_0x114a99(0x21f)]();const _0x1f8e28=this[_0x114a99(0x1c4)](this[_0x114a99(0x1ca)],this[_0x114a99(0x1cd)]);this[_0x114a99(0x212)][_0x114a99(0x1d9)][_0x114a99(0x202)](_0x1f8e28);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1843b3=_0x3097;(function(_0x102a41,_0x5ebb43){const _0x2412e1=_0x3097,_0x5c3aa7=_0x102a41();while(!![]){try{const _0x32fb78=parseInt(_0x2412e1(0x11c))/0x1+parseInt(_0x2412e1(0x147))/0x2*(-parseInt(_0x2412e1(0x10e))/0x3)+parseInt(_0x2412e1(0x114))/0x4+-parseInt(_0x2412e1(0x13c))/0x5*(-parseInt(_0x2412e1(0x11a))/0x6)+-parseInt(_0x2412e1(0x137))/0x7+parseInt(_0x2412e1(0x140))/0x8+-parseInt(_0x2412e1(0x139))/0x9;if(_0x32fb78===_0x5ebb43)break;else _0x5c3aa7['push'](_0x5c3aa7['shift']());}catch(_0x2d87f4){_0x5c3aa7['push'](_0x5c3aa7['shift']());}}}(_0xb25e,0xab9a5));import{View as _0x2c7b94,IconView as _0x1e4caf,ToolbarView as _0x4c0584,ButtonView as _0x32ee88}from'ckeditor5/src/ui.js';import{IconAddComment as _0x18a503,IconDocumentWithLoupe as _0x4b6ad3,IconDocumentWithCheckmark as _0x4bd956,IconDocumentWithCross as _0x30e085,IconRemove as _0x1d240a,IconThreeStars as _0x185c96}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x1fbc19}from'../../utils/htmlstreamer.js';import{getTranslation as _0x309eef}from'../../utils/common-translations.js';import{serialize as _0x173243}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2ca1b3}from'../../utils/eventnames.js';function _0x3097(_0x276356,_0x3a48bd){const _0xb25eee=_0xb25e();return _0x3097=function(_0x3097c1,_0x4fc732){_0x3097c1=_0x3097c1-0x106;let _0x174aab=_0xb25eee[_0x3097c1];return _0x174aab;},_0x3097(_0x276356,_0x3a48bd);}function _0xb25e(){const _0x438f07=['ck-ai-suggestion__body__content-part__content','setTemplate','ck-ai-suggestion__body__content-part_','rejectSuggestion','htmlStreamer','mouseOverSuggestion','ck-ai-suggestion__body__content-part__icon-title','extendTemplate','ck-ai-suggestion__body__content-part__icon-accepted','AI_SUGGESTION_CONTENT_PART_DELETE','insertSuggestion','_iconStateOutdated','AI_SUGGESTION_CONTENT_PART_REJECTED','partDefinition','push','remove','bindTemplate','ck-ai-suggestion__body__content-part_active','309TkfIHt','createCollection','accepted','span','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','ck-ai-suggestion__body__content-part__title','934008dOCVUX','delegate','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','change:state','element','addMany','4299546AMFisu','_iconStateRejected','859205pInQey','bind','streaming','ck-ai-suggestion__body__content-part__icon-outdated','ck-content','index','toString','_iconStateAccepted','isEnabled','ck-ai-suggestion__body__content-part','content','innerHTML','ck-hidden','hasChanges','div','includes','outdated','fire','_toolbarView','headerView','ck-ai-suggestion__body__content-part__icon-rejected','AI_SUGGESTION_CONTENT_PART_OUTDATED','children','add','has','rejected','ck-ai-suggestion__body__content-part__title__label','4485418DMwdNv','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','9652122JAdSDC','stream','mouseLeaveSuggestion','5ARoSpb','isVisible','execute','items','6669824xkLqwq','animation:\x20ck-html-streamer-fade-in\x20.5s','toggleHeader','state','AI_SUGGESTION_CONTENT_PART_TITLE','showChangeInText','ck-reset_all-excluded','4406dgMPhB','pending','set','updateContent','contentView'];_0xb25e=function(){return _0x438f07;};return _0xb25e();}export class AISuggestionBodyViewContentPartView extends _0x2c7b94{[_0x1843b3(0x150)];[_0x1843b3(0x132)];[_0x1843b3(0x12f)];[_0x1843b3(0x14b)];constructor(_0x3388c3,{part:_0x13d07b,uiIndex:_0x2e5600,areActionsDisabled:_0x52f2b0,availableActions:_0x35c17e}){const _0x2066ab=_0x1843b3;super(_0x3388c3),this[_0x2066ab(0x149)](_0x2066ab(0x109),_0x13d07b),this[_0x2066ab(0x149)](_0x2066ab(0x143),_0x2066ab(0x148)),this[_0x2066ab(0x149)](_0x2066ab(0x13d),!0x1),this[_0x2066ab(0x11d)](_0x2066ab(0x124))['to'](this,_0x2066ab(0x143),_0x468e17=>_0x2066ab(0x148)==_0x468e17&&!_0x52f2b0),this[_0x2066ab(0x132)]=this[_0x2066ab(0x10f)](),this[_0x2066ab(0x150)]=new _0x1fbc19({'textNodeStyle':_0x2066ab(0x141),'delay':0x14}),this[_0x2066ab(0x12f)]=new Dn(_0x3388c3,{'part':_0x13d07b,'uiIndex':_0x2e5600,'availableActions':_0x35c17e}),this[_0x2066ab(0x12f)][_0x2066ab(0x11d)](_0x2066ab(0x109))['to'](this),this[_0x2066ab(0x12f)][_0x2066ab(0x11d)](_0x2066ab(0x124))['to'](this),this[_0x2066ab(0x12f)][_0x2066ab(0x11d)](_0x2066ab(0x143))['to'](this),this[_0x2066ab(0x12f)][_0x2066ab(0x115)](..._0x2ca1b3)['to'](this);const _0x121299=this[_0x2066ab(0x10c)];this[_0x2066ab(0x14b)]=new _0x2c7b94(),this[_0x2066ab(0x14b)][_0x2066ab(0x14d)]({'tag':_0x2066ab(0x12a),'attributes':{'class':['ck',_0x2066ab(0x120),_0x2066ab(0x146),_0x2066ab(0x14c)]}}),this[_0x2066ab(0x132)][_0x2066ab(0x119)]([this[_0x2066ab(0x14b)]]),this[_0x2066ab(0x14d)]({'tag':_0x2066ab(0x12a),'attributes':{'class':['ck',_0x2066ab(0x125),_0x121299['to'](_0x2066ab(0x143),_0x131c98=>_0x2066ab(0x14e)+_0x131c98),_0x121299['to'](_0x2066ab(0x124),_0x262a95=>_0x262a95?_0x2066ab(0x10d):void 0x0),_0x121299['if'](_0x2066ab(0x13d),_0x2066ab(0x128),_0x12401f=>!_0x12401f)]},'children':this[_0x2066ab(0x132)],'on':{'mouseenter':_0x121299['to'](()=>{const _0x9d13fb=_0x2066ab;this[_0x9d13fb(0x124)]&&this[_0x9d13fb(0x12d)](_0x9d13fb(0x151),{'index':_0x13d07b[_0x9d13fb(0x121)]});}),'mouseleave':_0x121299['to'](()=>{const _0x1a1b64=_0x2066ab;this[_0x1a1b64(0x124)]&&this[_0x1a1b64(0x12d)](_0x1a1b64(0x13b),{'index':_0x13d07b[_0x1a1b64(0x121)]});})}});}async[_0x1843b3(0x14a)]({part:_0x3c017d,renderingStrategy:_0x3ec3e9,showUnchangedParts:_0x4b204e=!0x1,abortSignal:_0x549fbc}){const _0x239854=_0x1843b3;this[_0x239854(0x109)]=_0x3c017d,this[_0x239854(0x13d)]=this[_0x239854(0x109)][_0x239854(0x129)]||_0x4b204e,this[_0x239854(0x13d)]&&(_0x239854(0x11e)===_0x3ec3e9?await this[_0x239854(0x150)][_0x239854(0x13a)]({'document':this[_0x239854(0x109)][_0x239854(0x126)],'targetElement':this[_0x239854(0x14b)][_0x239854(0x118)],'abortSignal':_0x549fbc}):this[_0x239854(0x14b)][_0x239854(0x118)][_0x239854(0x127)]=_0x173243(this[_0x239854(0x109)][_0x239854(0x126)]));}[_0x1843b3(0x142)](_0x2e1ad2){const _0x5b6acc=_0x1843b3;_0x2e1ad2?this[_0x5b6acc(0x132)][_0x5b6acc(0x134)](this[_0x5b6acc(0x12f)])||this[_0x5b6acc(0x132)][_0x5b6acc(0x133)](this[_0x5b6acc(0x12f)],0x0):this[_0x5b6acc(0x132)][_0x5b6acc(0x134)](this[_0x5b6acc(0x12f)])&&this[_0x5b6acc(0x132)][_0x5b6acc(0x10b)](this[_0x5b6acc(0x12f)]);}}class Dn extends _0x2c7b94{[_0x1843b3(0x132)];[_0x1843b3(0x12e)];[_0x1843b3(0x123)];[_0x1843b3(0x11b)];[_0x1843b3(0x107)];constructor(_0x34f850,{part:_0x2a57cb,uiIndex:_0x466a70,availableActions:_0x1bed6e}){const _0x5961b4=_0x1843b3;super(_0x34f850),this[_0x5961b4(0x149)](_0x5961b4(0x109),_0x2a57cb),this[_0x5961b4(0x149)](_0x5961b4(0x124),!0x0),this[_0x5961b4(0x149)](_0x5961b4(0x143),_0x5961b4(0x148));const _0x34ec6a=new _0x1e4caf();_0x34ec6a[_0x5961b4(0x126)]=_0x185c96,_0x34ec6a[_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x152)]}});const _0xb64dc5=[];if(_0x1bed6e[_0x5961b4(0x12b)](_0x5961b4(0x145))){const _0x229beb=new _0x32ee88(_0x34f850);_0x229beb[_0x5961b4(0x149)]({'label':_0x309eef(_0x34f850,_0x5961b4(0x112)),'tooltip':!0x0,'withText':!0x1,'icon':_0x4b6ad3}),_0x229beb[_0x5961b4(0x11d)](_0x5961b4(0x124))['to'](this),_0x229beb['on'](_0x5961b4(0x13e),()=>{const _0x22340a=_0x5961b4;this[_0x22340a(0x12d)](_0x22340a(0x145),{'index':_0x2a57cb[_0x22340a(0x121)]});}),_0xb64dc5[_0x5961b4(0x10a)](_0x229beb);}if(_0x1bed6e[_0x5961b4(0x12b)](_0x5961b4(0x106))){const _0x2e8458=new _0x32ee88(_0x34f850);_0x2e8458[_0x5961b4(0x149)]({'label':_0x309eef(_0x34f850,_0x5961b4(0x138)),'tooltip':!0x0,'withText':!0x1,'icon':_0x18a503}),_0x2e8458[_0x5961b4(0x11d)](_0x5961b4(0x124))['to'](this),_0x2e8458['on'](_0x5961b4(0x13e),()=>{const _0xac0fc9=_0x5961b4;this[_0xac0fc9(0x12d)](_0xac0fc9(0x106),{'index':_0x2a57cb[_0xac0fc9(0x121)]});}),_0xb64dc5[_0x5961b4(0x10a)](_0x2e8458);}const _0x32c627=new _0x32ee88(_0x34f850);_0x32c627[_0x5961b4(0x149)]({'label':_0x309eef(_0x34f850,_0x5961b4(0x155)),'tooltip':!0x0,'withText':!0x1,'icon':_0x1d240a}),_0x32c627[_0x5961b4(0x11d)](_0x5961b4(0x124))['to'](this),_0x32c627['on'](_0x5961b4(0x13e),()=>{const _0x1ab78c=_0x5961b4;this[_0x1ab78c(0x12d)](_0x1ab78c(0x14f),{'index':_0x2a57cb[_0x1ab78c(0x121)]});}),_0xb64dc5[_0x5961b4(0x10a)](_0x32c627),this[_0x5961b4(0x12e)]=new _0x4c0584(_0x34f850),this[_0x5961b4(0x12e)][_0x5961b4(0x13f)][_0x5961b4(0x119)](_0xb64dc5),this[_0x5961b4(0x123)]=new _0x1e4caf(),this[_0x5961b4(0x123)][_0x5961b4(0x126)]=_0x4bd956,this[_0x5961b4(0x123)][_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x154)],'data-cke-tooltip-text':_0x309eef(_0x34f850,_0x5961b4(0x116)),'data-cke-tooltip-position':'n'}}),this[_0x5961b4(0x11b)]=new _0x1e4caf(),this[_0x5961b4(0x11b)][_0x5961b4(0x126)]=_0x30e085,this[_0x5961b4(0x11b)][_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x130)],'data-cke-tooltip-text':_0x309eef(_0x34f850,_0x5961b4(0x108)),'data-cke-tooltip-position':'n'}}),this[_0x5961b4(0x107)]=new _0x1e4caf(),this[_0x5961b4(0x107)][_0x5961b4(0x126)]=_0x30e085,this[_0x5961b4(0x107)][_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x11f)],'data-cke-tooltip-text':_0x309eef(_0x34f850,_0x5961b4(0x131)),'data-cke-tooltip-position':'n'}});const _0xba849f=new _0x2c7b94(_0x34f850);_0xba849f[_0x5961b4(0x14d)]({'tag':_0x5961b4(0x111),'attributes':{'class':['ck',_0x5961b4(0x136)]},'children':[_0x309eef(_0x34f850,_0x5961b4(0x144),_0x466a70[_0x5961b4(0x122)]())]}),this[_0x5961b4(0x132)]=this[_0x5961b4(0x10f)](),this[_0x5961b4(0x132)][_0x5961b4(0x119)]([_0x34ec6a,_0xba849f,this[_0x5961b4(0x12e)]]),this[_0x5961b4(0x14d)]({'tag':_0x5961b4(0x12a),'attributes':{'class':['ck',_0x5961b4(0x146),_0x5961b4(0x113)]},'children':this[_0x5961b4(0x132)]}),this['on'](_0x5961b4(0x117),(_0x1542fb,_0x4981f4,_0x2706c8,_0x5dfe70)=>{const _0x573a03=_0x5961b4;switch(_0x5dfe70){case _0x573a03(0x148):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x12e)]);break;case _0x573a03(0x110):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x123)]);break;case _0x573a03(0x135):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x11b)]);break;case _0x573a03(0x12c):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x107)]);}switch(_0x2706c8){case _0x573a03(0x148):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x12e)]);break;case _0x573a03(0x110):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x123)]);break;case _0x573a03(0x135):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x11b)]);break;case _0x573a03(0x12c):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x107)]);}});}}
|
|
23
|
+
const _0x31ad2f=_0x5c78;(function(_0x275c2d,_0x4c784c){const _0x36a477=_0x5c78,_0x486422=_0x275c2d();while(!![]){try{const _0x59d5f7=-parseInt(_0x36a477(0xaf))/0x1+parseInt(_0x36a477(0x8b))/0x2+parseInt(_0x36a477(0xa8))/0x3*(-parseInt(_0x36a477(0xb0))/0x4)+parseInt(_0x36a477(0x93))/0x5*(parseInt(_0x36a477(0x94))/0x6)+-parseInt(_0x36a477(0x67))/0x7+parseInt(_0x36a477(0x9c))/0x8+-parseInt(_0x36a477(0x9e))/0x9;if(_0x59d5f7===_0x4c784c)break;else _0x486422['push'](_0x486422['shift']());}catch(_0x3fde1b){_0x486422['push'](_0x486422['shift']());}}}(_0x4682,0x72549));function _0x4682(){const _0xb5fc91=['remove','extendTemplate','fire','children','bind','headerView','streaming','state','change:state','includes','ck-ai-suggestion__body__content-part','AI_SUGGESTION_CONTENT_PART_TITLE','isEnabled','isVisible','ck-ai-suggestion__body__content-part_','1599252ObLTtb','outdated','ck-ai-suggestion__body__content-part__icon-accepted','execute','addMany','mouseLeaveSuggestion','mouseOverSuggestion','pending','10oDakXZ','2710146pbweNo','stream','bindTemplate','ck-hidden','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','content','push','showChangeInText','5641200BomLfX','ck-ai-suggestion__body__content-part__content','6297579bcDmiS','contentView','createCollection','AI_SUGGESTION_CONTENT_PART_REJECTED','rejected','insertSuggestion','_iconStateRejected','ck-ai-suggestion__body__content-part__icon-outdated','ck-ai-suggestion__body__content-part__icon-title','accepted','90969tEtBQE','rejectSuggestion','ck-ai-suggestion__body__content-part__title__label','ck-ai-suggestion__body__content-part_active','partDefinition','hasChanges','span','376856eVdMgK','8RLONiM','toggleHeader','innerHTML','delegate','toString','ck-reset_all-excluded','_toolbarView','5618396UBvpBn','setTemplate','index','_iconStateOutdated','animation:\x20ck-html-streamer-fade-in\x20.5s','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','ck-ai-suggestion__body__content-part__title','add','ck-content','AI_SUGGESTION_CONTENT_PART_DELETE','AI_SUGGESTION_CONTENT_PART_OUTDATED','div','ck-ai-suggestion__body__content-part__icon-rejected','set','element','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','_iconStateAccepted','has','htmlStreamer','items','updateContent'];_0x4682=function(){return _0xb5fc91;};return _0x4682();}import{View as _0x4f7fde,IconView as _0x4f5081,ToolbarView as _0x1472cf,ButtonView as _0x4a2fcc}from'ckeditor5/src/ui.js';import{IconAddComment as _0x228a86,IconDocumentWithLoupe as _0x483dc7,IconDocumentWithCheckmark as _0x84993,IconDocumentWithCross as _0x314d3c,IconRemove as _0x811dbb,IconThreeStars as _0x1b4abe}from'ckeditor5/src/icons.js';function _0x5c78(_0x3fcda7,_0x286cf9){const _0x46828f=_0x4682();return _0x5c78=function(_0x5c7835,_0x576a8b){_0x5c7835=_0x5c7835-0x65;let _0x285d50=_0x46828f[_0x5c7835];return _0x285d50;},_0x5c78(_0x3fcda7,_0x286cf9);}import{HTMLStreamer as _0x4dfcd9}from'../../utils/htmlstreamer.js';import{getTranslation as _0x3840a2}from'../../utils/common-translations.js';import{serialize as _0x2ed104}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3e7e6c}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x4f7fde{[_0x31ad2f(0x79)];[_0x31ad2f(0x7f)];[_0x31ad2f(0x81)];[_0x31ad2f(0x9f)];constructor(_0x1d036e,{part:_0x1d88cd,uiIndex:_0x459c0e,areActionsDisabled:_0x32a57b,availableActions:_0x5cf29e}){const _0x5efbee=_0x31ad2f;super(_0x1d036e),this[_0x5efbee(0x74)](_0x5efbee(0xac),_0x1d88cd),this[_0x5efbee(0x74)](_0x5efbee(0x83),_0x5efbee(0x92)),this[_0x5efbee(0x74)](_0x5efbee(0x89),!0x1),this[_0x5efbee(0x80)](_0x5efbee(0x88))['to'](this,_0x5efbee(0x83),_0xeda6f0=>_0x5efbee(0x92)==_0xeda6f0&&!_0x32a57b),this[_0x5efbee(0x7f)]=this[_0x5efbee(0xa0)](),this[_0x5efbee(0x79)]=new _0x4dfcd9({'textNodeStyle':_0x5efbee(0x6b),'delay':0x14}),this[_0x5efbee(0x81)]=new Wn(_0x1d036e,{'part':_0x1d88cd,'uiIndex':_0x459c0e,'availableActions':_0x5cf29e}),this[_0x5efbee(0x81)][_0x5efbee(0x80)](_0x5efbee(0xac))['to'](this),this[_0x5efbee(0x81)][_0x5efbee(0x80)](_0x5efbee(0x88))['to'](this),this[_0x5efbee(0x81)][_0x5efbee(0x80)](_0x5efbee(0x83))['to'](this),this[_0x5efbee(0x81)][_0x5efbee(0xb3)](..._0x3e7e6c)['to'](this);const _0xd16e75=this[_0x5efbee(0x96)];this[_0x5efbee(0x9f)]=new _0x4f7fde(),this[_0x5efbee(0x9f)][_0x5efbee(0x68)]({'tag':_0x5efbee(0x72),'attributes':{'class':['ck',_0x5efbee(0x6f),_0x5efbee(0x65),_0x5efbee(0x9d)]}}),this[_0x5efbee(0x7f)][_0x5efbee(0x8f)]([this[_0x5efbee(0x9f)]]),this[_0x5efbee(0x68)]({'tag':_0x5efbee(0x72),'attributes':{'class':['ck',_0x5efbee(0x86),_0xd16e75['to'](_0x5efbee(0x83),_0x1c30ca=>_0x5efbee(0x8a)+_0x1c30ca),_0xd16e75['to'](_0x5efbee(0x88),_0x59d59e=>_0x59d59e?_0x5efbee(0xab):void 0x0),_0xd16e75['if'](_0x5efbee(0x89),_0x5efbee(0x97),_0x46ae26=>!_0x46ae26)]},'children':this[_0x5efbee(0x7f)],'on':{'mouseenter':_0xd16e75['to'](()=>{const _0x1ca613=_0x5efbee;this[_0x1ca613(0x88)]&&this[_0x1ca613(0x7e)](_0x1ca613(0x91),{'index':_0x1d88cd[_0x1ca613(0x69)]});}),'mouseleave':_0xd16e75['to'](()=>{const _0x178969=_0x5efbee;this[_0x178969(0x88)]&&this[_0x178969(0x7e)](_0x178969(0x90),{'index':_0x1d88cd[_0x178969(0x69)]});})}});}async[_0x31ad2f(0x7b)]({part:_0x1f55db,renderingStrategy:_0x1c6a00,showUnchangedParts:_0x5da8f1=!0x1,abortSignal:_0x5f1ddf}){const _0x3c6d7c=_0x31ad2f;this[_0x3c6d7c(0xac)]=_0x1f55db,this[_0x3c6d7c(0x89)]=this[_0x3c6d7c(0xac)][_0x3c6d7c(0xad)]||_0x5da8f1,this[_0x3c6d7c(0x89)]&&(_0x3c6d7c(0x82)===_0x1c6a00?await this[_0x3c6d7c(0x79)][_0x3c6d7c(0x95)]({'document':this[_0x3c6d7c(0xac)][_0x3c6d7c(0x99)],'targetElement':this[_0x3c6d7c(0x9f)][_0x3c6d7c(0x75)],'abortSignal':_0x5f1ddf}):this[_0x3c6d7c(0x9f)][_0x3c6d7c(0x75)][_0x3c6d7c(0xb2)]=_0x2ed104(this[_0x3c6d7c(0xac)][_0x3c6d7c(0x99)]));}[_0x31ad2f(0xb1)](_0x298f13){const _0x32519f=_0x31ad2f;_0x298f13?this[_0x32519f(0x7f)][_0x32519f(0x78)](this[_0x32519f(0x81)])||this[_0x32519f(0x7f)][_0x32519f(0x6e)](this[_0x32519f(0x81)],0x0):this[_0x32519f(0x7f)][_0x32519f(0x78)](this[_0x32519f(0x81)])&&this[_0x32519f(0x7f)][_0x32519f(0x7c)](this[_0x32519f(0x81)]);}}class Wn extends _0x4f7fde{[_0x31ad2f(0x7f)];[_0x31ad2f(0x66)];[_0x31ad2f(0x77)];[_0x31ad2f(0xa4)];[_0x31ad2f(0x6a)];constructor(_0x50f43c,{part:_0x3ed584,uiIndex:_0x540d19,availableActions:_0x3f252b}){const _0x2de199=_0x31ad2f;super(_0x50f43c),this[_0x2de199(0x74)](_0x2de199(0xac),_0x3ed584),this[_0x2de199(0x74)](_0x2de199(0x88),!0x0),this[_0x2de199(0x74)](_0x2de199(0x83),_0x2de199(0x92));const _0x1a41e6=new _0x4f5081();_0x1a41e6[_0x2de199(0x99)]=_0x1b4abe,_0x1a41e6[_0x2de199(0x7d)]({'attributes':{'class':[_0x2de199(0xa6)]}});const _0x4d55df=[];if(_0x3f252b[_0x2de199(0x85)](_0x2de199(0x9b))){const _0x12f1e2=new _0x4a2fcc(_0x50f43c);_0x12f1e2[_0x2de199(0x74)]({'label':_0x3840a2(_0x50f43c,_0x2de199(0x6c)),'tooltip':!0x0,'withText':!0x1,'icon':_0x483dc7}),_0x12f1e2[_0x2de199(0x80)](_0x2de199(0x88))['to'](this),_0x12f1e2['on'](_0x2de199(0x8e),()=>{const _0x3cc6d6=_0x2de199;this[_0x3cc6d6(0x7e)](_0x3cc6d6(0x9b),{'index':_0x3ed584[_0x3cc6d6(0x69)]});}),_0x4d55df[_0x2de199(0x9a)](_0x12f1e2);}if(_0x3f252b[_0x2de199(0x85)](_0x2de199(0xa3))){const _0x6b4da5=new _0x4a2fcc(_0x50f43c);_0x6b4da5[_0x2de199(0x74)]({'label':_0x3840a2(_0x50f43c,_0x2de199(0x98)),'tooltip':!0x0,'withText':!0x1,'icon':_0x228a86}),_0x6b4da5[_0x2de199(0x80)](_0x2de199(0x88))['to'](this),_0x6b4da5['on'](_0x2de199(0x8e),()=>{const _0x30ca9a=_0x2de199;this[_0x30ca9a(0x7e)](_0x30ca9a(0xa3),{'index':_0x3ed584[_0x30ca9a(0x69)]});}),_0x4d55df[_0x2de199(0x9a)](_0x6b4da5);}const _0x3c8cee=new _0x4a2fcc(_0x50f43c);_0x3c8cee[_0x2de199(0x74)]({'label':_0x3840a2(_0x50f43c,_0x2de199(0x70)),'tooltip':!0x0,'withText':!0x1,'icon':_0x811dbb}),_0x3c8cee[_0x2de199(0x80)](_0x2de199(0x88))['to'](this),_0x3c8cee['on'](_0x2de199(0x8e),()=>{const _0x28f094=_0x2de199;this[_0x28f094(0x7e)](_0x28f094(0xa9),{'index':_0x3ed584[_0x28f094(0x69)]});}),_0x4d55df[_0x2de199(0x9a)](_0x3c8cee),this[_0x2de199(0x66)]=new _0x1472cf(_0x50f43c),this[_0x2de199(0x66)][_0x2de199(0x7a)][_0x2de199(0x8f)](_0x4d55df),this[_0x2de199(0x77)]=new _0x4f5081(),this[_0x2de199(0x77)][_0x2de199(0x99)]=_0x84993,this[_0x2de199(0x77)][_0x2de199(0x7d)]({'attributes':{'class':[_0x2de199(0x8d)],'data-cke-tooltip-text':_0x3840a2(_0x50f43c,_0x2de199(0x76)),'data-cke-tooltip-position':'n'}}),this[_0x2de199(0xa4)]=new _0x4f5081(),this[_0x2de199(0xa4)][_0x2de199(0x99)]=_0x314d3c,this[_0x2de199(0xa4)][_0x2de199(0x7d)]({'attributes':{'class':[_0x2de199(0x73)],'data-cke-tooltip-text':_0x3840a2(_0x50f43c,_0x2de199(0xa1)),'data-cke-tooltip-position':'n'}}),this[_0x2de199(0x6a)]=new _0x4f5081(),this[_0x2de199(0x6a)][_0x2de199(0x99)]=_0x314d3c,this[_0x2de199(0x6a)][_0x2de199(0x7d)]({'attributes':{'class':[_0x2de199(0xa5)],'data-cke-tooltip-text':_0x3840a2(_0x50f43c,_0x2de199(0x71)),'data-cke-tooltip-position':'n'}});const _0x321114=new _0x4f7fde(_0x50f43c);_0x321114[_0x2de199(0x68)]({'tag':_0x2de199(0xae),'attributes':{'class':['ck',_0x2de199(0xaa)]},'children':[_0x3840a2(_0x50f43c,_0x2de199(0x87),_0x540d19[_0x2de199(0xb4)]())]}),this[_0x2de199(0x7f)]=this[_0x2de199(0xa0)](),this[_0x2de199(0x7f)][_0x2de199(0x8f)]([_0x1a41e6,_0x321114,this[_0x2de199(0x66)]]),this[_0x2de199(0x68)]({'tag':_0x2de199(0x72),'attributes':{'class':['ck',_0x2de199(0x65),_0x2de199(0x6d)]},'children':this[_0x2de199(0x7f)]}),this['on'](_0x2de199(0x84),(_0x18bd86,_0x29b8b3,_0x37b406,_0x5927ac)=>{const _0x3cf5d8=_0x2de199;switch(_0x5927ac){case _0x3cf5d8(0x92):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x7c)](this[_0x3cf5d8(0x66)]);break;case _0x3cf5d8(0xa7):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x7c)](this[_0x3cf5d8(0x77)]);break;case _0x3cf5d8(0xa2):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x7c)](this[_0x3cf5d8(0xa4)]);break;case _0x3cf5d8(0x8c):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x7c)](this[_0x3cf5d8(0x6a)]);}switch(_0x37b406){case _0x3cf5d8(0x92):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x6e)](this[_0x3cf5d8(0x66)]);break;case _0x3cf5d8(0xa7):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x6e)](this[_0x3cf5d8(0x77)]);break;case _0x3cf5d8(0xa2):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x6e)](this[_0x3cf5d8(0xa4)]);break;case _0x3cf5d8(0x8c):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x6e)](this[_0x3cf5d8(0x6a)]);}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x492520=_0x542a;(function(_0x1711b7,_0x8125ff){const _0x5baa8b=_0x542a,_0x176d9d=_0x1711b7();while(!![]){try{const _0x46567d=-parseInt(_0x5baa8b(0xe0))/0x1*(-parseInt(_0x5baa8b(0xde))/0x2)+parseInt(_0x5baa8b(0xea))/0x3*(-parseInt(_0x5baa8b(0xca))/0x4)+parseInt(_0x5baa8b(0xd1))/0x5+parseInt(_0x5baa8b(0xc9))/0x6+parseInt(_0x5baa8b(0xd3))/0x7*(-parseInt(_0x5baa8b(0xec))/0x8)+-parseInt(_0x5baa8b(0xdc))/0x9*(parseInt(_0x5baa8b(0xe2))/0xa)+parseInt(_0x5baa8b(0xda))/0xb;if(_0x46567d===_0x8125ff)break;else _0x176d9d['push'](_0x176d9d['shift']());}catch(_0x27c267){_0x176d9d['push'](_0x176d9d['shift']());}}}(_0x4519,0xe8f36));function _0x542a(_0x55d25a,_0x1caeab){const _0x451996=_0x4519();return _0x542a=function(_0x542afa,_0x39c64e){_0x542afa=_0x542afa-0xc7;let _0x5d7ef0=_0x451996[_0x542afa];return _0x5d7ef0;},_0x542a(_0x55d25a,_0x1caeab);}function _0x4519(){const _0x3b5424=['children','iconView','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','add','render','6936996YFwLpF','AI_SUGGESTION_HEADER_TITLE','10377BPtXQj','AI_SUGGESTION_BUTTON_SHOW_CHANGES','10694TRLBFz','showDiff','101myAPmJ','setTemplate','9800YvtXTe','fire','bind','ck-ai-suggestion__header','isVisible','span','ck-hidden','isOn','2069124SwAUUE','showHeader','6875104Khexur','content','toggleShowChanges','3875262KbyoBJ','4CJzzaf','div','remove','showChangesToggleView','isShowChangesToggleVisible','icon','filter','9083210GLMWWd','execute','7XNINWF','set'];_0x4519=function(){return _0x3b5424;};return _0x4519();}import{getTranslation as _0x1b3767}from'../../utils/common-translations.js';import{ButtonView as _0x5dbff2,IconView as _0x3d621c,View as _0xca7e1b}from'ckeditor5/src/ui.js';import{IconDocument as _0x178237,IconShowChangesOff as _0x250b56,IconShowChangesOn as _0x5cc948}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0xca7e1b{[_0x492520(0xcd)];constructor(_0x2540c5,_0x578f34){const _0x569cf6=_0x492520;super(_0x2540c5),this[_0x569cf6(0xd4)](_0x569cf6(0xce),!0x0),this[_0x569cf6(0xcd)]=new ShowChangesToggleView(_0x2540c5),this[_0x569cf6(0xcd)][_0x569cf6(0xd4)]({'class':_0x569cf6(0xd7),'label':_0x1b3767(_0x2540c5,_0x569cf6(0xdd)),'withText':!0x0}),this[_0x569cf6(0xcd)][_0x569cf6(0xe9)]=_0x578f34[_0x569cf6(0xdf)],this[_0x569cf6(0xcd)][_0x569cf6(0xe4)](_0x569cf6(0xe6))['to'](this,_0x569cf6(0xce)),this[_0x569cf6(0xcd)][_0x569cf6(0xe4)](_0x569cf6(0xcf))['to'](this[_0x569cf6(0xcd)],_0x569cf6(0xe9),_0x156da0=>_0x156da0?_0x5cc948:_0x250b56),this[_0x569cf6(0xcd)]['on'](_0x569cf6(0xd2),()=>{const _0x57d4f5=_0x569cf6;this[_0x57d4f5(0xcd)][_0x57d4f5(0xe9)]=!this[_0x57d4f5(0xcd)][_0x57d4f5(0xe9)],this[_0x57d4f5(0xe3)](_0x57d4f5(0xc8),{'isOn':this[_0x57d4f5(0xcd)][_0x57d4f5(0xe9)]});});const _0x50ae91=new _0x3d621c();_0x50ae91[_0x569cf6(0xc7)]=_0x178237,this[_0x569cf6(0xe1)]({'tag':_0x569cf6(0xcb),'attributes':{'class':['ck',_0x569cf6(0xe5),!0x1===_0x578f34[_0x569cf6(0xeb)]?_0x569cf6(0xe8):null][_0x569cf6(0xd0)](Boolean)},'children':[_0x50ae91,{'tag':_0x569cf6(0xe7),'children':[_0x1b3767(_0x2540c5,_0x569cf6(0xdb))]},this[_0x569cf6(0xcd)]]});}}export class ShowChangesToggleView extends _0x5dbff2{[_0x492520(0xd9)](){const _0x993fd4=_0x492520;super[_0x993fd4(0xd9)](),this[_0x993fd4(0xd5)][_0x993fd4(0xcc)](this[_0x993fd4(0xd6)]),this[_0x993fd4(0xd5)][_0x993fd4(0xd8)](this[_0x993fd4(0xd6)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x175c(_0x5bfbfc,_0xed86c2){const _0x1677cb=_0x1677();return _0x175c=function(_0x175cc2,_0x239819){_0x175cc2=_0x175cc2-0xa1;let _0x65bbff=_0x1677cb[_0x175cc2];return _0x65bbff;},_0x175c(_0x5bfbfc,_0xed86c2);}(function(_0x29d9b5,_0x4ed745){const _0x1c3e10=_0x175c,_0x7b7444=_0x29d9b5();while(!![]){try{const _0x17054a=-parseInt(_0x1c3e10(0xa4))/0x1*(parseInt(_0x1c3e10(0xad))/0x2)+parseInt(_0x1c3e10(0xa5))/0x3+parseInt(_0x1c3e10(0xb1))/0x4+-parseInt(_0x1c3e10(0xa7))/0x5+parseInt(_0x1c3e10(0xb2))/0x6*(-parseInt(_0x1c3e10(0xa8))/0x7)+-parseInt(_0x1c3e10(0xa2))/0x8+parseInt(_0x1c3e10(0xab))/0x9;if(_0x17054a===_0x4ed745)break;else _0x7b7444['push'](_0x7b7444['shift']());}catch(_0x13233e){_0x7b7444['push'](_0x7b7444['shift']());}}}(_0x1677,0xcd001));function _0x1677(){const _0x464e9f=['AI_TABS_LABEL_MAXIMIZE','resizeTabs','13349349ljmmSD','label','2007976KTpYPT','icon','isMaximized','execute','3704564ZrFVbV','6aRGzwe','AI_TABS_LABEL_MINIMIZE','isOn','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','set','7208224mBMWzl','fire','1FoMjgz','4835460ySSLBY','bind','468560DjMuDj','8279691vHBvJh'];_0x1677=function(){return _0x464e9f;};return _0x1677();}import{ButtonView as _0x5c901f}from'ckeditor5/src/ui.js';import{IconMaximize as _0x3956c9,IconMinimize as _0x4eb8b1}from'ckeditor5/src/icons.js';import{getTranslation as _0x9d28b9}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x536fdb,_0x29ffc1){const _0x5c13a7=_0x175c,_0x899fe1=new _0x5c901f(_0x536fdb),_0x3386fb=_0x9d28b9(_0x536fdb,_0x5c13a7(0xb3)),_0x176c46=_0x9d28b9(_0x536fdb,_0x5c13a7(0xa9));return _0x899fe1[_0x5c13a7(0xa1)]({'withText':!0x1,'icon':_0x3956c9,'tooltip':!0x0,'class':_0x5c13a7(0xb5)}),_0x899fe1[_0x5c13a7(0xa6)](_0x5c13a7(0xac))['to'](_0x29ffc1,_0x5c13a7(0xaf),_0x1a8486=>_0x1a8486?_0x3386fb:_0x176c46),_0x899fe1[_0x5c13a7(0xa6)](_0x5c13a7(0xae))['to'](_0x29ffc1,_0x5c13a7(0xaf),_0x589cd0=>_0x589cd0?_0x4eb8b1:_0x3956c9),_0x899fe1[_0x5c13a7(0xa6)](_0x5c13a7(0xb4))['to'](_0x29ffc1,_0x5c13a7(0xaf)),_0x899fe1['on'](_0x5c13a7(0xb0),()=>{const _0x732960=_0x5c13a7;_0x29ffc1[_0x732960(0xa3)](_0x732960(0xaa));}),_0x899fe1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2725(_0x5045ca,_0x371cc7){const _0x48624a=_0x4862();return _0x2725=function(_0x2725a1,_0x2ea3ad){_0x2725a1=_0x2725a1-0x10e;let _0x4c778b=_0x48624a[_0x2725a1];return _0x4c778b;},_0x2725(_0x5045ca,_0x371cc7);}const _0xd4843c=_0x2725;(function(_0x5ebb82,_0x4845a6){const _0x41f199=_0x2725,_0x1686a5=_0x5ebb82();while(!![]){try{const _0x38b356=parseInt(_0x41f199(0x123))/0x1*(parseInt(_0x41f199(0x12a))/0x2)+parseInt(_0x41f199(0x116))/0x3+parseInt(_0x41f199(0x127))/0x4+-parseInt(_0x41f199(0x128))/0x5+parseInt(_0x41f199(0x126))/0x6*(-parseInt(_0x41f199(0x110))/0x7)+-parseInt(_0x41f199(0x11f))/0x8+parseInt(_0x41f199(0x11b))/0x9*(parseInt(_0x41f199(0x11a))/0xa);if(_0x38b356===_0x4845a6)break;else _0x1686a5['push'](_0x1686a5['shift']());}catch(_0x56c5fa){_0x1686a5['push'](_0x1686a5['shift']());}}}(_0x4862,0xb79a8));import{CKEditorError as _0x420f51,compareArrays as _0x2a680a}from'ckeditor5/src/utils.js';import{getNodePath as _0x2ff420,isText as _0x1259df,getChildren as _0x747c24,isDocument as _0x44afff,getParent as _0x52e23c,textContent as _0x2bdc2e,hasChildren as _0x57ea09}from'./htmlparser.js';export class DocumentPosition{[_0xd4843c(0x124)];[_0xd4843c(0x129)];[_0xd4843c(0x117)];constructor(_0x1bc796,_0x140f74,_0x52a96a){const _0x1d780d=_0xd4843c;if(_0x1259df(_0x140f74)&&_0x52a96a>_0x140f74[_0x1d780d(0x119)][_0x1d780d(0x114)])throw new _0x420f51(_0x1d780d(0x10e),null,{'index':_0x52a96a,'parent':_0x140f74});if(_0x57ea09(_0x140f74)&&_0x52a96a>_0x747c24(_0x140f74)[_0x1d780d(0x114)])throw new _0x420f51(_0x1d780d(0x10e),null,{'index':_0x52a96a,'parent':_0x140f74});if(_0x52a96a<0x0)throw new _0x420f51(_0x1d780d(0x10e),null,{'index':_0x52a96a,'parent':_0x140f74});this[_0x1d780d(0x124)]=_0x140f74,this[_0x1d780d(0x129)]=_0x52a96a,this[_0x1d780d(0x117)]=_0x1bc796;}get[_0xd4843c(0x12e)](){const _0x584511=_0xd4843c;return[..._0x2ff420(this[_0x584511(0x124)]),this[_0x584511(0x129)]];}[_0xd4843c(0x11c)](_0x4d341a){const _0x41ffc2=_0xd4843c;return this[_0x41ffc2(0x117)]==_0x4d341a[_0x41ffc2(0x117)]&&_0x41ffc2(0x115)===_0x2a680a(this[_0x41ffc2(0x12e)],_0x4d341a[_0x41ffc2(0x12e)]);}get[_0xd4843c(0x113)](){const _0x27064b=_0xd4843c;if(_0x57ea09(this[_0x27064b(0x124)])){const _0x3fad13=_0x747c24(this[_0x27064b(0x124)])[this[_0x27064b(0x129)]];if(_0x3fad13)return _0x3fad13;{const _0x38196d=DocumentPosition[_0x27064b(0x12c)](this[_0x27064b(0x117)],this[_0x27064b(0x124)]);if(_0x38196d)return _0x38196d[_0x27064b(0x113)];}}return null;}get[_0xd4843c(0x12b)](){const _0x23bea5=_0xd4843c;if(_0x57ea09(this[_0x23bea5(0x124)])){const _0x25395d=_0x747c24(this[_0x23bea5(0x124)])[this[_0x23bea5(0x129)]-0x1];if(_0x25395d)return _0x25395d;{const _0x2f01ef=DocumentPosition[_0x23bea5(0x11e)](this[_0x23bea5(0x117)],this[_0x23bea5(0x124)]);if(_0x2f01ef)return _0x2f01ef[_0x23bea5(0x12b)];}}return null;}[_0xd4843c(0x125)](_0x567bdd=_0xd4843c(0x112)){const _0x1b202f=_0xd4843c;if(!_0x1259df(this[_0x1b202f(0x124)]))return this;const _0x22017e=this[_0x1b202f(0x12e)][this[_0x1b202f(0x12e)][_0x1b202f(0x114)]-0x1],_0x20984f=_0x2bdc2e(this[_0x1b202f(0x124)])[_0x1b202f(0x118)](/(?:\s*\S+\s*)/g);let _0x4663ff=0x0,_0x627bb0=_0x22017e;for(const _0x562d93 of _0x20984f){if(_0x4663ff+_0x562d93[_0x1b202f(0x114)]===_0x22017e)return this;if(_0x4663ff+_0x562d93[_0x1b202f(0x114)]>_0x22017e){_0x627bb0=_0x1b202f(0x112)===_0x567bdd?_0x4663ff:_0x4663ff+_0x562d93[_0x1b202f(0x114)];break;}_0x4663ff+=_0x562d93[_0x1b202f(0x114)];}return DocumentPosition[_0x1b202f(0x10f)](this[_0x1b202f(0x117)],this[_0x1b202f(0x124)],_0x627bb0);}static[_0xd4843c(0x12c)](_0x2e37c4,_0x5a0116){const _0x3414fa=_0xd4843c;if(_0x44afff(_0x5a0116))return null;const _0x596cae=_0x52e23c(_0x5a0116);return DocumentPosition[_0x3414fa(0x10f)](_0x2e37c4,_0x596cae,_0x747c24(_0x596cae)[_0x3414fa(0x111)](_0x5a0116)+0x1);}static[_0xd4843c(0x11e)](_0x450801,_0x14d087){const _0x42b202=_0xd4843c;if(_0x44afff(_0x14d087))return null;const _0x51985e=_0x52e23c(_0x14d087);return DocumentPosition[_0x42b202(0x10f)](_0x450801,_0x51985e,_0x747c24(_0x51985e)[_0x42b202(0x111)](_0x14d087));}static[_0xd4843c(0x10f)](_0x5b0787,_0x19f279,_0x40972c=_0xd4843c(0x112)){const _0x6065c8=_0xd4843c;return new DocumentPosition(_0x5b0787,_0x19f279,_0x6065c8(0x112)===_0x40972c?0x0:_0x6065c8(0x12d)===_0x40972c?_0x1259df(_0x19f279)?_0x19f279[_0x6065c8(0x119)][_0x6065c8(0x114)]:_0x747c24(_0x19f279)[_0x6065c8(0x114)]:_0x40972c);}static[_0xd4843c(0x121)](_0x13e662,_0xf5afeb){const _0x114527=_0xd4843c;if(!_0xf5afeb[_0x114527(0x114)])throw new _0x420f51(_0x114527(0x122),null,{'path':_0xf5afeb});const _0x3bed27=_0xf5afeb[_0x114527(0x120)](0x0,-0x1)[_0x114527(0x11d)]((_0x3af6a4,_0x45bf0c)=>_0x1259df(_0x3af6a4)?_0x3af6a4:_0x747c24(_0x3af6a4)[_0x45bf0c],_0x13e662);return DocumentPosition[_0x114527(0x10f)](_0x13e662,_0x3bed27,_0xf5afeb[_0xf5afeb[_0x114527(0x114)]-0x1]);}}function _0x4862(){const _0x4367a0=['document','match','data','18117670sjCBLU','9AmMyRD','isEqual','reduce','createBefore','10651880qClulg','slice','createFromPath','ai-documentposition-createfrompath-path-cannot-be-empty','155806vmtUnr','parent','getNudgedToWordBoundary','834342EhJDCU','3288628WacFnZ','5232800oXNtKw','index','8LgyBms','previousNode','createAfter','end','path','ai-documentposition-index-out-of-bounds','createAt','28bJvVOw','indexOf','start','nextNode','length','same','1287495ihrcVu'];_0x4862=function(){return _0x4367a0;};return _0x4862();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37b166=_0x59c7;function _0x59c7(_0x3ad535,_0x13b89b){const _0x249391=_0x2493();return _0x59c7=function(_0x59c77d,_0x344c66){_0x59c77d=_0x59c77d-0x13e;let _0x5a4ebe=_0x249391[_0x59c77d];return _0x5a4ebe;},_0x59c7(_0x3ad535,_0x13b89b);}(function(_0x2057a8,_0x462291){const _0x251d46=_0x59c7,_0xd3b571=_0x2057a8();while(!![]){try{const _0xfd7dd5=-parseInt(_0x251d46(0x15a))/0x1*(-parseInt(_0x251d46(0x14a))/0x2)+parseInt(_0x251d46(0x145))/0x3*(-parseInt(_0x251d46(0x15d))/0x4)+-parseInt(_0x251d46(0x13f))/0x5*(-parseInt(_0x251d46(0x14f))/0x6)+-parseInt(_0x251d46(0x14d))/0x7*(parseInt(_0x251d46(0x151))/0x8)+-parseInt(_0x251d46(0x144))/0x9*(parseInt(_0x251d46(0x153))/0xa)+parseInt(_0x251d46(0x157))/0xb+parseInt(_0x251d46(0x143))/0xc*(parseInt(_0x251d46(0x159))/0xd);if(_0xfd7dd5===_0x462291)break;else _0xd3b571['push'](_0xd3b571['shift']());}catch(_0x2422b0){_0xd3b571['push'](_0xd3b571['shift']());}}}(_0x2493,0x1e474));function _0x2493(){const _0x267c4f=['parent','previousNode','12NBPgzr','createFromPath','length','path','document','lastChild','5RrAqtY','getNudgedToWordBoundary','isEqual','createAfter','36ECxqdB','531aEnqTv','175173dUXsFa','end','createAt','reverse','includes','4VBjOUC','getContent','push','7EBOCGP','firstChild','567048snTpas','slice','20152Pvzdhu','start','39780yZxHwr','createBefore','data','forEach','994279rgoAdG','nextNode','490529GmfXLn','119159TIGRed'];_0x2493=function(){return _0x267c4f;};return _0x2493();}import{DocumentPosition as _0x440a05}from'./documentposition.js';import{clone as _0x57335c,getParents as _0x1424f6,Document as _0x445aea,Text as _0x45c7b9,isTag as _0x1904f0,isText as _0x16ad57,replaceElement as _0x5a15da,removeElement as _0x5d2f92}from'./htmlparser.js';export class DocumentRange{[_0x37b166(0x152)];[_0x37b166(0x146)];constructor(_0x20986b,_0x2bb504){const _0x308281=_0x37b166;this[_0x308281(0x152)]=_0x20986b,this[_0x308281(0x146)]=_0x2bb504;}[_0x37b166(0x141)](_0x435560){const _0x361579=_0x37b166;return this==_0x435560||this[_0x361579(0x152)][_0x361579(0x141)](_0x435560[_0x361579(0x152)])&&this[_0x361579(0x146)][_0x361579(0x141)](_0x435560[_0x361579(0x146)]);}[_0x37b166(0x140)](){const _0x3c608c=_0x37b166;return new DocumentRange(this[_0x3c608c(0x152)][_0x3c608c(0x140)](_0x3c608c(0x152)),this[_0x3c608c(0x146)][_0x3c608c(0x140)](_0x3c608c(0x146)));}[_0x37b166(0x14b)](){const _0x4c690b=_0x37b166,_0x276cd7=_0x57335c(this[_0x4c690b(0x152)][_0x4c690b(0x161)]),_0x18e799=_0x440a05[_0x4c690b(0x15e)](_0x276cd7,this[_0x4c690b(0x152)][_0x4c690b(0x160)]),_0x528249=_0x440a05[_0x4c690b(0x15e)](_0x276cd7,this[_0x4c690b(0x146)][_0x4c690b(0x160)]);let _0x45d5cf,_0x2d2ec0;if(_0x16ad57(_0x18e799[_0x4c690b(0x15b)])){const _0x1a8381=_0x18e799[_0x4c690b(0x160)][_0x18e799[_0x4c690b(0x160)][_0x4c690b(0x15f)]-0x1],_0x380274=new _0x45c7b9(_0x18e799[_0x4c690b(0x15b)][_0x4c690b(0x155)][_0x4c690b(0x150)](_0x1a8381));_0x5a15da(_0x18e799[_0x4c690b(0x15b)],_0x380274),_0x45d5cf=_0x380274;}else _0x45d5cf=_0x18e799[_0x4c690b(0x158)];if(_0x16ad57(_0x528249[_0x4c690b(0x15b)])){const _0x387418=_0x528249[_0x4c690b(0x160)][_0x528249[_0x4c690b(0x160)][_0x4c690b(0x15f)]-0x1],_0x2c782f=new _0x45c7b9(_0x528249[_0x4c690b(0x15b)][_0x4c690b(0x155)][_0x4c690b(0x150)](0x0,_0x387418));_0x5a15da(_0x528249[_0x4c690b(0x15b)],_0x2c782f),_0x2d2ec0=_0x2c782f;}else _0x2d2ec0=_0x528249[_0x4c690b(0x15c)];if(!(_0x45d5cf&&_0x2d2ec0&&_0x276cd7[_0x4c690b(0x14e)]&&_0x276cd7[_0x4c690b(0x13e)]))return new _0x445aea([]);const _0x2f497c=_0x1424f6(_0x45d5cf),_0x4631db=_0x1424f6(_0x2d2ec0),_0x123591=[],_0x9497d0=[];let _0x342a79=_0x276cd7[_0x4c690b(0x14e)];for(;_0x342a79&&_0x342a79!==_0x45d5cf;){let _0x2860b0;_0x2f497c[_0x4c690b(0x149)](_0x342a79)||_0x123591[_0x4c690b(0x14c)](_0x342a79),_0x2860b0=_0x1904f0(_0x342a79)?_0x440a05[_0x4c690b(0x147)](_0x276cd7,_0x342a79,_0x4c690b(0x152)):_0x440a05[_0x4c690b(0x142)](_0x276cd7,_0x342a79),_0x342a79=_0x2860b0?_0x2860b0[_0x4c690b(0x158)]:null;}for(_0x342a79=_0x276cd7[_0x4c690b(0x13e)];_0x342a79&&_0x342a79!==_0x2d2ec0;){let _0x2649c1;_0x4631db[_0x4c690b(0x149)](_0x342a79)||_0x9497d0[_0x4c690b(0x14c)](_0x342a79),_0x2649c1=_0x1904f0(_0x342a79)?_0x440a05[_0x4c690b(0x147)](_0x276cd7,_0x342a79,_0x4c690b(0x146)):_0x440a05[_0x4c690b(0x154)](_0x276cd7,_0x342a79),_0x342a79=_0x2649c1?_0x2649c1[_0x4c690b(0x15c)]:null;}return _0x123591[_0x4c690b(0x156)](_0x2bcfb9=>{_0x5d2f92(_0x2bcfb9);}),_0x9497d0[_0x4c690b(0x148)]()[_0x4c690b(0x156)](_0x42a5f6=>{_0x5d2f92(_0x42a5f6);}),_0x276cd7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2845(_0x449c05,_0x30a614){var _0x43215e=_0x4321();return _0x2845=function(_0x2845ea,_0x23eb60){_0x2845ea=_0x2845ea-0xf3;var _0x3c128a=_0x43215e[_0x2845ea];return _0x3c128a;},_0x2845(_0x449c05,_0x30a614);}(function(_0x495738,_0x2cec07){var _0x588286=_0x2845,_0x26fe0f=_0x495738();while(!![]){try{var _0x42572b=parseInt(_0x588286(0xf8))/0x1*(-parseInt(_0x588286(0xf7))/0x2)+parseInt(_0x588286(0xfd))/0x3+-parseInt(_0x588286(0xf3))/0x4*(-parseInt(_0x588286(0xf4))/0x5)+-parseInt(_0x588286(0xfa))/0x6*(-parseInt(_0x588286(0xf9))/0x7)+parseInt(_0x588286(0x102))/0x8+-parseInt(_0x588286(0x103))/0x9+-parseInt(_0x588286(0x100))/0xa*(parseInt(_0x588286(0xfc))/0xb);if(_0x42572b===_0x2cec07)break;else _0x26fe0f['push'](_0x26fe0f['shift']());}catch(_0x5de48e){_0x26fe0f['push'](_0x26fe0f['shift']());}}}(_0x4321,0xc799b));import{CKEditorError as _0x3b4d2d}from'ckeditor5/src/utils.js';import{Editor as _0x46732d}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x4357b0){var _0x26413e=_0x2845;if(_0x4357b0 instanceof _0x46732d)return _0x4357b0;if(_0x4357b0?.[_0x26413e(0xf6)]&&_0x4357b0[_0x26413e(0xf6)][_0x26413e(0xff)](0x0))return _0x4357b0[_0x26413e(0xf6)][_0x26413e(0xfe)]>0x1&&console[_0x26413e(0xfb)](_0x26413e(0x101)),_0x4357b0[_0x26413e(0xf6)][_0x26413e(0xff)](0x0);throw new _0x3b4d2d(_0x26413e(0xf5));}function _0x4321(){var _0x382704=['AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','2822312vRmCcM','1000251IBMTTX','2782048nYUlGs','5rithFV','ai-get-editor-from-context-no-editor','editors','204398LOFotL','1HnSHzI','7buwvHQ','6138846cwxavx','warn','33uOsnQt','2975490JJasKo','length','get','6774570JBLuSo'];_0x4321=function(){return _0x382704;};return _0x4321();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4b6db1,_0x3d1cba){const _0xa224d3=_0x42bf,_0x244d95=_0x4b6db1();while(!![]){try{const _0x13839b=parseInt(_0xa224d3(0x18b))/0x1+-parseInt(_0xa224d3(0x188))/0x2+-parseInt(_0xa224d3(0x19a))/0x3*(parseInt(_0xa224d3(0x198))/0x4)+-parseInt(_0xa224d3(0x185))/0x5+parseInt(_0xa224d3(0x196))/0x6*(parseInt(_0xa224d3(0x1a2))/0x7)+parseInt(_0xa224d3(0x187))/0x8*(parseInt(_0xa224d3(0x1a4))/0x9)+parseInt(_0xa224d3(0x197))/0xa;if(_0x13839b===_0x3d1cba)break;else _0x244d95['push'](_0x244d95['shift']());}catch(_0x1e6044){_0x244d95['push'](_0x244d95['shift']());}}}(_0x5d41,0x4d359));function _0x5d41(){const _0x43350e=['297999altLwO','filter','data-id','name','removed','history','type','get','map','node','previousSibling','64290DJqLsm','10721710gkmWsJ','4qdtgXc','shift','1450437OSMGFg','anchorId','version','getDiff','documentContextContent','content','operationsA','document','133Eugobx','getRange','2403GzaBuk','markers','new','getOperations','marker','oldRange','getDocumentContext','2630285tKrkxO','model','7200wEERnc','976540rHfmOA','cloneNode','length'];_0x5d41=function(){return _0x43350e;};return _0x5d41();}import{transformOperationSets as _0x226829}from'ckeditor5/src/engine.js';import{append as _0x5494f8,findByAttribute as _0x1578f,prependChild as _0x51e9ac,removeElement as _0x4dc1e0,serialize as _0x597fbd}from'./htmlparser.js';function _0x42bf(_0x1979bb,_0x13da07){const _0x5d41b0=_0x5d41();return _0x42bf=function(_0x42bfef,_0x3e337f){_0x42bfef=_0x42bfef-0x180;let _0x582421=_0x5d41b0[_0x42bfef];return _0x582421;},_0x42bf(_0x1979bb,_0x13da07);}export function getOperationsFromReply({editor:_0x3d5e4e,interaction:_0x47d60e,reply:_0xfb3dd5,groups:_0x3bbf48,transform:_0x692d9,documentCompare:_0x513435,documentCompareOptions:_0x5ade77}){const _0x1db5c3=_0x42bf,_0x4415ce=_0x47d60e[_0x1db5c3(0x184)]();if(!_0x4415ce)return[];const _0xba5336=_0x4415ce[_0x1db5c3(0x19f)],_0x12ae59=_0x4415ce[_0x1db5c3(0x19c)],_0x58b143=_0xfb3dd5[_0x1db5c3(0x19e)][_0x1db5c3(0x189)](!0x0);for(const {changes:_0x55dd5e}of _0x3bbf48){const _0x2ba66f=_0x55dd5e[_0x1db5c3(0x18c)](_0x1c8974=>_0x1db5c3(0x180)!=_0x1c8974[_0x1db5c3(0x191)])[_0x1db5c3(0x193)](_0x40a760=>_0x1578f(_0x1db5c3(0x18d),_0x40a760['id'],_0x58b143)),_0x527673=_0x55dd5e[_0x1db5c3(0x18c)](_0x5209d4=>_0x1db5c3(0x18f)!=_0x5209d4[_0x1db5c3(0x191)])[_0x1db5c3(0x193)](_0x37a02f=>_0x37a02f[_0x1db5c3(0x194)][_0x1db5c3(0x189)](!0x0));let _0x394e62=null;if(_0x2ba66f[_0x1db5c3(0x18a)]){_0x394e62=_0x2ba66f[0x0][_0x1db5c3(0x195)];for(let _0x10d5da=0x0;_0x10d5da<_0x2ba66f[_0x1db5c3(0x18a)];_0x10d5da++)_0x4dc1e0(_0x2ba66f[_0x10d5da]);}if(_0x527673[_0x1db5c3(0x18a)]){_0x394e62||(_0x55dd5e[0x0][_0x1db5c3(0x19b)]?_0x394e62=_0x1578f(_0x1db5c3(0x18d),_0x55dd5e[0x0][_0x1db5c3(0x19b)],_0x58b143):(_0x394e62=_0x527673[_0x1db5c3(0x199)](),_0x51e9ac(_0x58b143,_0x394e62)));for(let _0x69f320=0x0;_0x69f320<_0x527673[_0x1db5c3(0x18a)];_0x69f320++)_0x5494f8(_0x394e62,_0x527673[_0x69f320]),_0x394e62=_0x527673[_0x69f320];}}const _0xeca443=_0x597fbd(_0x58b143),_0x30a7b8=_0x513435[_0x1db5c3(0x19d)](_0xba5336,_0xeca443,_0x5ade77)[_0x1db5c3(0x181)]();if(_0x692d9){const _0x5ca56b=_0x3d5e4e[_0x1db5c3(0x186)][_0x1db5c3(0x1a1)][_0x1db5c3(0x190)][_0x1db5c3(0x181)](_0x12ae59),_0x438e48={'document':_0x3d5e4e[_0x1db5c3(0x186)][_0x1db5c3(0x1a1)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x226829(_0x30a7b8,_0x5ca56b,_0x438e48)[_0x1db5c3(0x1a0)];}return _0x30a7b8;}export function fixMarkerOperationOldRange(_0x51d973,_0x1b2262){const _0x4b1da2=_0x42bf;if(_0x4b1da2(0x182)!=_0x1b2262[_0x4b1da2(0x191)])return;const _0x19af21=_0x51d973[_0x4b1da2(0x186)][_0x4b1da2(0x1a5)][_0x4b1da2(0x192)](_0x1b2262[_0x4b1da2(0x18e)]);_0x19af21&&(_0x1b2262[_0x4b1da2(0x183)]=_0x19af21[_0x4b1da2(0x1a3)]());}
|