@ckeditor/ckeditor5-ai 47.2.0-alpha.4 → 47.2.0-alpha.5
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/model/aichatmodels.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/aichat/utils/scrollmanager.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/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/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/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/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/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/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
|
+
(function(_0xf4e24b,_0x361b20){const _0x2b9460=_0x42bc,_0x288afb=_0xf4e24b();while(!![]){try{const _0x721a9c=-parseInt(_0x2b9460(0x77))/0x1+parseInt(_0x2b9460(0x8b))/0x2+parseInt(_0x2b9460(0x94))/0x3*(parseInt(_0x2b9460(0x7d))/0x4)+-parseInt(_0x2b9460(0x8a))/0x5*(parseInt(_0x2b9460(0x74))/0x6)+parseInt(_0x2b9460(0x8e))/0x7*(parseInt(_0x2b9460(0x90))/0x8)+parseInt(_0x2b9460(0x99))/0x9*(-parseInt(_0x2b9460(0x8c))/0xa)+parseInt(_0x2b9460(0x7a))/0xb*(parseInt(_0x2b9460(0x92))/0xc);if(_0x721a9c===_0x361b20)break;else _0x288afb['push'](_0x288afb['shift']());}catch(_0x1b4c2c){_0x288afb['push'](_0x288afb['shift']());}}}(_0x2d16,0xce7f8));function _0x42bc(_0x3d2627,_0xcf782c){const _0x2d1620=_0x2d16();return _0x42bc=function(_0x42bc68,_0x5af2f1){_0x42bc68=_0x42bc68-0x72;let _0x35889e=_0x2d1620[_0x42bc68];return _0x35889e;},_0x42bc(_0x3d2627,_0xcf782c);}function _0x2d16(){const _0x295f3e=['getDocumentContext','779449IkuiTN','cloneNode','anchorId','5956ywUGYT','getDiff','node','history','content','version','filter','marker','document','markers','model','oldRange','get','3562015ljjsIb','562882MpBqVU','180uByNTg','getOperations','11350199xONYHZ','documentContextContent','8rLjYLp','map','48fOThzq','shift','186ubRyVJ','operationsA','name','data-id','length','41553dNZVDs','removed','getRange','6euSpnJ','previousSibling','type','637327JPRFGk','new'];_0x2d16=function(){return _0x295f3e;};return _0x2d16();}import{transformOperationSets as _0x4998c2}from'ckeditor5/src/engine.js';import{append as _0xc7a6e7,findByAttribute as _0x41f936,prependChild as _0x1f5e54,removeElement as _0x4ff632,serialize as _0x2418e8}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x28741f,interaction:_0x528457,reply:_0x169b59,groups:_0x13dd56,transform:_0x1fad6d,documentCompare:_0x2995ef,documentCompareOptions:_0x2288d1}){const _0x263776=_0x42bc,_0x1dc6e3=_0x528457[_0x263776(0x79)]();if(!_0x1dc6e3)return[];const _0xc5c8bd=_0x1dc6e3[_0x263776(0x81)],_0x475e61=_0x1dc6e3[_0x263776(0x82)],_0x51fc95=_0x169b59[_0x263776(0x8f)][_0x263776(0x7b)](!0x0);for(const {changes:_0x2ec2cb}of _0x13dd56){const _0x4f023d=_0x2ec2cb[_0x263776(0x83)](_0x29c659=>_0x263776(0x78)!=_0x29c659[_0x263776(0x76)])[_0x263776(0x91)](_0x1c86cb=>_0x41f936(_0x263776(0x97),_0x1c86cb['id'],_0x51fc95)),_0x3004b4=_0x2ec2cb[_0x263776(0x83)](_0x3a5f4d=>_0x263776(0x72)!=_0x3a5f4d[_0x263776(0x76)])[_0x263776(0x91)](_0x4e1e00=>_0x4e1e00[_0x263776(0x7f)][_0x263776(0x7b)](!0x0));let _0x2738ff=null;if(_0x4f023d[_0x263776(0x98)]){_0x2738ff=_0x4f023d[0x0][_0x263776(0x75)];for(let _0x4492d2=0x0;_0x4492d2<_0x4f023d[_0x263776(0x98)];_0x4492d2++)_0x4ff632(_0x4f023d[_0x4492d2]);}if(_0x3004b4[_0x263776(0x98)]){_0x2738ff||(_0x2ec2cb[0x0][_0x263776(0x7c)]?_0x2738ff=_0x41f936(_0x263776(0x97),_0x2ec2cb[0x0][_0x263776(0x7c)],_0x51fc95):(_0x2738ff=_0x3004b4[_0x263776(0x93)](),_0x1f5e54(_0x51fc95,_0x2738ff)));for(let _0x238b12=0x0;_0x238b12<_0x3004b4[_0x263776(0x98)];_0x238b12++)_0xc7a6e7(_0x2738ff,_0x3004b4[_0x238b12]),_0x2738ff=_0x3004b4[_0x238b12];}}const _0xb726cc=_0x2418e8(_0x51fc95),_0x1c4a5d=_0x2995ef[_0x263776(0x7e)](_0xc5c8bd,_0xb726cc,_0x2288d1)[_0x263776(0x8d)]();if(_0x1fad6d){const _0x1a8cad=_0x28741f[_0x263776(0x87)][_0x263776(0x85)][_0x263776(0x80)][_0x263776(0x8d)](_0x475e61),_0x4155e7={'document':_0x28741f[_0x263776(0x87)][_0x263776(0x85)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x4998c2(_0x1c4a5d,_0x1a8cad,_0x4155e7)[_0x263776(0x95)];}return _0x1c4a5d;}export function fixMarkerOperationOldRange(_0x26855d,_0x17beeb){const _0x52dd55=_0x42bc;if(_0x52dd55(0x84)!=_0x17beeb[_0x52dd55(0x76)])return;const _0x4545a7=_0x26855d[_0x52dd55(0x87)][_0x52dd55(0x86)][_0x52dd55(0x89)](_0x17beeb[_0x52dd55(0x96)]);_0x4545a7&&(_0x17beeb[_0x52dd55(0x88)]=_0x4545a7[_0x52dd55(0x73)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x16ce40,_0x11846c){const _0x449680=_0x1d35,_0x452cda=_0x16ce40();while(!![]){try{const _0xd823b4=parseInt(_0x449680(0x17d))/0x1*(parseInt(_0x449680(0x152))/0x2)+-parseInt(_0x449680(0x1a9))/0x3+-parseInt(_0x449680(0x173))/0x4+-parseInt(_0x449680(0x147))/0x5*(parseInt(_0x449680(0x140))/0x6)+-parseInt(_0x449680(0x16b))/0x7*(parseInt(_0x449680(0x15a))/0x8)+parseInt(_0x449680(0x1ad))/0x9+parseInt(_0x449680(0x160))/0xa;if(_0xd823b4===_0x11846c)break;else _0x452cda['push'](_0x452cda['shift']());}catch(_0x5256a1){_0x452cda['push'](_0x452cda['shift']());}}}(_0x600b,0x258e1));import{findOne as _0x296b1e,getAttribute as _0x4fe326,Document as _0x4a4b9d,serialize as _0x452314,parse as _0x50fa4e}from'./htmlparser.js';import{fixElementSuggestionRange as _0x40878f}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x495281,_DetachOperation as _0x52edf2,_removeFromModelNodeList as _0x34b452,_insertIntoModelNodeList as _0x33d633}from'ckeditor5/src/engine.js';import{uid as _0x33c613}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x583759,changeGroups:_0x16c09f,documentContextContent:_0x3cc913,showDiff:_0x2cd107,trimUnchanged:_0x18e428=!0x0}){const _0x185f73=_0x1d35;return _0x16c09f[_0x185f73(0x181)](_0x31a047=>{const _0x41504c=_0x185f73,_0x4d9aa4=new _0x4a4b9d([]),_0x444bba=new _0x4a4b9d([]);for(const _0x4cbd49 of _0x31a047[_0x41504c(0x198)])if(_0x2cd107&&_0x41504c(0x151)==_0x4cbd49[_0x41504c(0x1ac)]||_0x444bba[_0x41504c(0x1b1)][_0x41504c(0x16c)](_0x4cbd49[_0x41504c(0x144)][_0x41504c(0x19c)](!0x0)),_0x41504c(0x18f)!=_0x4cbd49[_0x41504c(0x1ac)]&&(_0x2cd107||_0x41504c(0x151)!=_0x4cbd49[_0x41504c(0x1ac)])){const _0x2c6d5f=_0x296b1e(_0x29e7c6=>_0x4fe326(_0x29e7c6,_0x41504c(0x153))==_0x4cbd49['id'],_0x3cc913,!0x0);_0x2c6d5f&&_0x4d9aa4[_0x41504c(0x1b1)][_0x41504c(0x16c)](_0x2c6d5f[_0x41504c(0x19c)](!0x0));}const {content:_0x48c71f,hasChanges:_0x14e1e0}=function(_0x4ee230,_0x2a67ba,_0x5cb0f0,_0x4a7426,_0x30884f=!0x0){const _0x4a9257=_0x41504c,_0x3edd45=_0x4ee230[_0x4a9257(0x163)][_0x4a9257(0x1b2)](_0x4a9257(0x1b3)),_0x225875=_0x452314(_0x2a67ba),_0x48b1eb=_0x452314(_0x5cb0f0),_0x42bb3e=_0x4ee230[_0x4a9257(0x19e)][_0x4a9257(0x16d)](_0x225875,_0x4a9257(0x18e)),_0x1a880e=_0x4ee230[_0x4a9257(0x183)][_0x4a9257(0x14e)](_0x42bb3e,0x0),_0x185324=_0x3edd45[_0x4a9257(0x166)](_0x225875,_0x48b1eb,{'anchor':_0x1a880e,'markDeletions':_0x4a7426}),_0x5ec711=_0x185324[_0x4a9257(0x191)]();if(0x0==_0x5ec711[_0x4a9257(0x185)])return{'content':_0x2a67ba[_0x4a9257(0x19c)](!0x0),'hasChanges':!0x1};_0x4a7426?function(_0xdf5f2c,_0x5aa243,_0x53f564){const _0x2ed176=_0x4a9257;if(0x0==_0xdf5f2c[_0x2ed176(0x185)])return;const _0x5d31fa=_0x53f564[_0x2ed176(0x163)][_0x2ed176(0x1b2)](_0x2ed176(0x1b3)),_0x4bc592=_0x53f564[_0x2ed176(0x163)][_0x2ed176(0x1b2)](_0x2ed176(0x18c));_0x53f564[_0x2ed176(0x183)][_0x2ed176(0x190)](_0x14d644=>{const _0x3101b4=_0x2ed176,_0x2dc94e=new Set();for(let _0x3a02d3=0x0;_0x3a02d3<_0xdf5f2c[_0x3101b4(0x185)];_0x3a02d3++){const _0x3d19ba=_0xdf5f2c[_0x3a02d3];if(_0x3d19ba[_0x3101b4(0x167)]=null,_0x3d19ba[_0x3101b4(0x18d)]=!0x1,_0x5d31fa[_0x3101b4(0x17f)](_0x3d19ba)){const _0x159cf1=_0x40878f(_0x3d19ba[_0x3101b4(0x168)],_0x53f564[_0x3101b4(0x183)]),_0x4ed151=_0x3101b4(0x158)+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x4ed151,_0x159cf1);}else switch(_0x3d19ba[_0x3101b4(0x1ac)]){case _0x3101b4(0x156):{if(_0x3d19ba[_0x3101b4(0x16e)]==_0x3d19ba[_0x3101b4(0x155)])break;_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x3d19ba),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x3d19ba);const _0x3011d6=_0x3101b4(0x169),_0x10bf30=_0x3d19ba[_0x3101b4(0x1a5)],_0x4ddcb4=_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x1a1)](_0x10bf30,_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14e)](_0x10bf30[_0x3101b4(0x14a)],_0x3101b4(0x196))),_0x53cfec=_0x3101b4(0x142)+_0x3011d6+':'+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x53cfec,_0x4ddcb4);break;}case _0x3101b4(0x15d):case _0x3101b4(0x15f):case _0x3101b4(0x188):{if(_0x3d19ba[_0x3101b4(0x148)]==_0x3d19ba[_0x3101b4(0x161)])break;_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x3d19ba),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x3d19ba);const _0x1b4de3=_0x3d19ba[_0x3101b4(0x199)];if(!_0x4bc592[_0x3101b4(0x164)](_0x1b4de3))break;const _0x458437=_0x40878f(_0x3d19ba[_0x3101b4(0x184)],_0x53f564[_0x3101b4(0x183)]),_0x1d2361=_0x3101b4(0x142)+_0x1b4de3+':'+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x1d2361,_0x458437);break;}case _0x3101b4(0x1a7):{_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x3d19ba),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x3d19ba);if(_0xdf5f2c[_0x3a02d3+0x1]&&_0x3101b4(0x165)==_0xdf5f2c[_0x3a02d3+0x1][_0x3101b4(0x1ac)]){ro(_0x5aa243,_0x3d19ba);break;}const _0x5a4e2d=_0x3d19ba[_0x3101b4(0x1a5)],_0x531140=_0x3d19ba[_0x3101b4(0x143)],_0x427e33=_0x40878f(_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x1a1)](_0x5a4e2d,_0x5a4e2d[_0x3101b4(0x17a)](_0x531140)),_0x53f564[_0x3101b4(0x183)]),_0x300cd9=_0x3101b4(0x14f)+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x300cd9,_0x427e33);break;}case _0x3101b4(0x18a):{_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x3d19ba),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x3d19ba);const _0x440115=_0x3d19ba[_0x3101b4(0x1a6)],_0x440c9b=_0x3d19ba[_0x3101b4(0x159)],_0x3140a6=_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x1a1)](_0x440115,_0x440c9b),_0x5e75c2=_0x3101b4(0x14f)+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x5e75c2,_0x3140a6);break;}case _0x3101b4(0x165):{_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x3d19ba),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x3d19ba),_0xdf5f2c[_0x3a02d3-0x1]&&_0x3101b4(0x1a7)==_0xdf5f2c[_0x3a02d3-0x1][_0x3101b4(0x1ac)]&&ro(_0x5aa243,_0x3d19ba);const _0x13a20f=_0x3d19ba[_0x3101b4(0x1a4)](),_0x31042b=_0x3d19ba[_0x3101b4(0x143)];for(let _0x4256f6=0x0;_0x4256f6<_0x31042b;_0x4256f6++){const _0x1810f8=_0x13a20f[_0x3101b4(0x17a)](_0x4256f6)[_0x3101b4(0x14a)];_0x2dc94e[_0x3101b4(0x1ab)](_0x1810f8);}break;}case _0x3101b4(0x1a8):{const _0x3c7097=_0x3d19ba[_0x3101b4(0x1ae)],_0x2324bd=_0x3d19ba[_0x3101b4(0x143)],_0x353be8=new _0x52edf2(_0x3c7097,_0x2324bd);_0x14d644[_0x3101b4(0x171)][_0x3101b4(0x189)](_0x353be8),_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x14b)](_0x353be8);break;}}}for(const _0x5d1a9d of _0x2dc94e){const _0x43f096=_0x53f564[_0x3101b4(0x183)][_0x3101b4(0x145)](_0x5d1a9d),_0x35ca60=_0x3101b4(0x19d)+_0x33c613()+_0x3101b4(0x15e);_0x5aa243[_0x3101b4(0x175)][_0x3101b4(0x1a2)](_0x35ca60,_0x40878f(_0x43f096,_0x53f564[_0x3101b4(0x183)]));}});}(_0x5ec711,_0x42bb3e,_0x4ee230):_0x4ee230[_0x4a9257(0x183)][_0x4a9257(0x190)](_0x5ed668=>{const _0x338b98=_0x4a9257;for(const _0x4a8c00 of _0x5ec711)if(_0x338b98(0x1a8)==_0x4a8c00[_0x338b98(0x1ac)]){const _0x326233=_0x4a8c00[_0x338b98(0x1ae)],_0x1bd400=_0x4a8c00[_0x338b98(0x143)],_0x42c2f2=new _0x52edf2(_0x326233,_0x1bd400);_0x5ed668[_0x338b98(0x171)][_0x338b98(0x189)](_0x42c2f2),_0x4ee230[_0x338b98(0x183)][_0x338b98(0x14b)](_0x42c2f2);}else{if(_0x338b98(0x193)==_0x4a8c00[_0x338b98(0x1ac)]){const _0x2d48f8=_0x4a8c00[_0x338b98(0x1af)],_0x300926=_0x4a8c00[_0x338b98(0x168)];_0x42bb3e[_0x338b98(0x175)][_0x338b98(0x1a2)](_0x2d48f8,_0x300926);}else _0x4a8c00[_0x338b98(0x167)]=null,_0x4a8c00[_0x338b98(0x18d)]=!0x1,_0x5ed668[_0x338b98(0x171)][_0x338b98(0x189)](_0x4a8c00),_0x4ee230[_0x338b98(0x183)][_0x338b98(0x14b)](_0x4a8c00);}});if(_0x30884f){const _0x54a9d5=getMinimalSelection(_0x4ee230,_0x5ec711,_0x42bb3e);expandSelectionWithContext(_0x4ee230[_0x4a9257(0x183)],_0x54a9d5),function(_0x73f616,_0x308941){const _0x5c29d5=_0x4a9257,_0x2a6d88=_0x308941[_0x5c29d5(0x157)]()[_0x5c29d5(0x180)];let _0x4765df=_0x308941[_0x5c29d5(0x157)]()[_0x5c29d5(0x196)];const _0x41f466=_0x2a6d88[_0x5c29d5(0x162)];(_0x4765df[_0x5c29d5(0x19b)]||_0x4765df[_0x5c29d5(0x14a)]&&_0x4765df[_0x5c29d5(0x14a)]['is'](_0x5c29d5(0x149)))&&(_0x33d633(_0x4765df,_0x5c29d5(0x154)),_0x4765df=_0x4765df[_0x5c29d5(0x17a)](0x3)),(_0x2a6d88[_0x5c29d5(0x19b)]||_0x2a6d88[_0x5c29d5(0x17e)]&&_0x2a6d88[_0x5c29d5(0x17e)]['is'](_0x5c29d5(0x149)))&&(_0x33d633(_0x2a6d88,_0x5c29d5(0x154)),function(_0x21efaf,_0x556de9,_0x504258){const _0x4f0177=_0x5c29d5;for(let [_0x4d7fb0,_0x4b67a9]of _0x21efaf[_0x4f0177(0x175)]){const _0x125eb6=_0x4b67a9[_0x4f0177(0x179)](_0x556de9,_0x504258,!0x1);_0x4b67a9=_0x125eb6[0x0],_0x21efaf[_0x4f0177(0x175)][_0x4f0177(0x1a2)](_0x4d7fb0,_0x4b67a9);}}(_0x41f466,_0x2a6d88,0x3),_0x2a6d88[_0x5c29d5(0x170)]==_0x4765df[_0x5c29d5(0x170)]&&(_0x4765df=_0x4765df[_0x5c29d5(0x17a)](0x3)));const _0x5c43d8=_0x73f616[_0x5c29d5(0x1a1)](_0x73f616[_0x5c29d5(0x14e)](_0x41f466,0x0),_0x2a6d88),_0x5eff14=_0x73f616[_0x5c29d5(0x1a1)](_0x4765df,_0x73f616[_0x5c29d5(0x14e)](_0x41f466,_0x5c29d5(0x196))),_0x209c83=[..._0x5c43d8[_0x5c29d5(0x15c)](),..._0x5eff14[_0x5c29d5(0x15c)]()];_0x209c83[_0x5c29d5(0x14d)]();for(const _0x5101ce of _0x209c83)_0x34b452(_0x5101ce),_transformMarkersByDeletion(_0x41f466,_0x5101ce);}(_0x4ee230[_0x4a9257(0x183)],_0x54a9d5);}const _0x1b8ba0=_0x4ee230[_0x4a9257(0x19e)][_0x4a9257(0x1b0)](_0x42bb3e,{'showSuggestionHighlights':!0x0});return{'content':_0x50fa4e(_0x1b8ba0),'hasChanges':!0x0};}(_0x583759,_0x4d9aa4,_0x444bba,_0x2cd107,_0x18e428);return{'type':_0x31a047[_0x41504c(0x198)][0x0][_0x41504c(0x1ac)],'index':_0x31a047[_0x41504c(0x19a)],'content':_0x48c71f,'hasChanges':_0x14e1e0};});}function ro(_0x1d8441,_0x10a226){const _0xe7dee0=_0x1d35;for(const [_0x176ee8,_0x374043]of _0x1d8441[_0xe7dee0(0x175)]){const _0x4af9e1=_0x495281[_0xe7dee0(0x19f)](_0x374043[_0xe7dee0(0x17b)](_0x10a226));_0x1d8441[_0xe7dee0(0x175)][_0xe7dee0(0x1a2)](_0x176ee8,_0x4af9e1);}}export function getMinimalSelection(_0xba0b42,_0xe5d61b,_0x340ff4){const _0x16c938=_0x1d35,_0x29b588=_0xba0b42[_0x16c938(0x163)][_0x16c938(0x1b2)](_0x16c938(0x1b3));let _0x3daa7b=_0xba0b42[_0x16c938(0x183)][_0x16c938(0x14e)](_0x340ff4,Number[_0x16c938(0x177)]),_0xdac2a8=_0xba0b42[_0x16c938(0x183)][_0x16c938(0x14e)](_0x340ff4,0x0);for(const _0x2321d0 of _0xe5d61b){let _0x4f4488,_0x3a26a8;if(_0x29b588[_0x16c938(0x17f)](_0x2321d0))_0x4f4488=_0x2321d0[_0x16c938(0x168)][_0x16c938(0x180)],_0x3a26a8=_0x2321d0[_0x16c938(0x168)][_0x16c938(0x196)];else switch(_0x3daa7b=_0x3daa7b[_0x16c938(0x17b)](_0x2321d0),_0xdac2a8=_0xdac2a8[_0x16c938(0x17b)](_0x2321d0),_0x2321d0[_0x16c938(0x1ac)]){case _0x16c938(0x156):_0x4f4488=_0x2321d0[_0x16c938(0x1a5)],_0x3a26a8=_0x4f4488[_0x16c938(0x17a)](0x1);break;case _0x16c938(0x15d):case _0x16c938(0x15f):case _0x16c938(0x188):_0x4f4488=_0x2321d0[_0x16c938(0x184)][_0x16c938(0x180)],_0x3a26a8=_0x2321d0[_0x16c938(0x184)][_0x16c938(0x196)];break;case _0x16c938(0x1a7):_0x4f4488=_0x2321d0[_0x16c938(0x1a5)],_0x3a26a8=_0x4f4488[_0x16c938(0x17a)](_0x2321d0[_0x16c938(0x143)]);break;case _0x16c938(0x18a):_0x4f4488=_0x2321d0[_0x16c938(0x1a6)],_0x3a26a8=_0x2321d0[_0x16c938(0x159)];break;case _0x16c938(0x146):{const _0x3d901b=_0x2321d0[_0x16c938(0x150)][_0x16c938(0x17c)][_0x16c938(0x186)](0x0,-0x1);_0x4f4488=_0xba0b42[_0x16c938(0x183)][_0x16c938(0x194)](_0x340ff4,_0x3d901b),_0x3a26a8=_0x4f4488[_0x16c938(0x17a)](0x1);break;}case _0x16c938(0x1a8):{const _0x11cc73=_0x2321d0[_0x16c938(0x143)],_0x324257=_0x2321d0[_0x16c938(0x1ae)][_0x16c938(0x179)](_0x2321d0[_0x16c938(0x150)],_0x11cc73),_0x2806e3=_0x2321d0[_0x16c938(0x1a4)]();_0x16c938(0x1a8)==_0x2321d0[_0x16c938(0x1ac)]?(_0x4f4488=_0x324257,_0x3a26a8=_0x324257):(_0x4f4488=_0x2806e3,_0x3a26a8=_0x2806e3[_0x16c938(0x17a)](_0x11cc73));break;}}_0x4f4488&&_0x4f4488[_0x16c938(0x192)](_0x3daa7b)&&(_0x3daa7b=_0x4f4488[_0x16c938(0x174)](),_0x3daa7b[_0x16c938(0x16a)]=_0x16c938(0x18b)),_0x3a26a8&&_0x3a26a8[_0x16c938(0x172)](_0xdac2a8)&&(_0xdac2a8=_0x3a26a8[_0x16c938(0x174)](),_0xdac2a8[_0x16c938(0x16a)]=_0x16c938(0x18b));}return _0xba0b42[_0x16c938(0x183)][_0x16c938(0x1aa)](_0xba0b42[_0x16c938(0x183)][_0x16c938(0x1a1)](_0x3daa7b,_0xdac2a8));}export function expandSelectionWithContext(_0x4f8e7c,_0x468950){const _0x359b67=_0x1d35;so(_0x4f8e7c,_0x468950,_0x359b67(0x182));const _0x33b1c9=_0x468950[_0x359b67(0x157)]();_0x468950[_0x359b67(0x197)]([]),_0x468950[_0x359b67(0x197)](_0x33b1c9,{'backward':!0x0}),so(_0x4f8e7c,_0x468950,_0x359b67(0x141));}function so(_0x14ceab,_0x16ab3a,_0x40d6d2){const _0xbbbebb=_0x1d35;let _0x1088db=0x14;for(;_0x1088db;){_0x14ceab[_0xbbbebb(0x1a3)](_0x16ab3a,{'unit':_0xbbbebb(0x176),'direction':_0x40d6d2}),_0x1088db--;const _0xa36074=_0x16ab3a[_0xbbbebb(0x178)][_0xbbbebb(0x182)==_0x40d6d2?_0xbbbebb(0x17e):_0xbbbebb(0x14a)];if(_0xa36074&&_0xa36074['is'](_0xbbbebb(0x15b))&&_0x14ceab[_0xbbbebb(0x195)][_0xbbbebb(0x1b4)](_0xa36074)&&_0x14ceab[_0xbbbebb(0x195)][_0xbbbebb(0x16f)](_0xa36074))break;}}function _0x1d35(_0x1e9ba4,_0x225b69){const _0x600b75=_0x600b();return _0x1d35=function(_0x1d35e4,_0x403b4c){_0x1d35e4=_0x1d35e4-0x140;let _0x52949e=_0x600b75[_0x1d35e4];return _0x52949e;},_0x1d35(_0x1e9ba4,_0x225b69);}function _0x600b(){const _0x53fb30=['newRange','$elementName','stickiness','7iulUai','push','parse','oldName','isObject','parent','batch','isAfter','463316oMtGzD','clone','markers','word','POSITIVE_INFINITY','focus','_getTransformedByInsertion','getShiftedBy','getTransformedByOperation','path','498cKvwNx','nodeBefore','isMarkedRemoveOperation','start','map','forward','model','range','length','slice','_getTransformedByDeletion','changeAttribute','addOperation','split','toNone','SuggestionsConversion','isDocumentOperation','$root','new','change','getOperations','isBefore','marker','createPositionFromPath','schema','end','setTo','changes','key','index','textNode','cloneNode','suggestion:formatBlock:$fakeWrap:','data','_createFromRanges','delete','createRange','set','modifySelection','getMovedRangeStart','position','splitPosition','insert','remove','136950tOnZAU','createSelection','add','type','873540GdAmRG','sourcePosition','name','stringify','children','get','DocumentCompare','isBlock','54AQLRVv','backward','suggestion:attribute:','howMany','node','createRangeOn','merge','72530TrEdEO','oldValue','$text','nodeAfter','applyOperation','offset','reverse','createPositionAt','suggestion:insertion:','targetPosition','removed','542yNYEJI','data-id','...','newName','rename','getFirstRange','suggestion:deletion:','moveTargetPosition','1961096FDoBlW','element','getMinimalFlatRanges','addAttribute',':$aiSuggestion','removeAttribute','4589770bAehor','newValue','root','plugins','isRegisteredAttribute','move','getDiff','baseVersion'];_0x600b=function(){return _0x53fb30;};return _0x600b();}export function _transformMarkersByDeletion(_0x1af0ef,_0x309fe4){const _0x439a81=_0x1d35;for(const [_0x2444c8,_0x4e397a]of _0x1af0ef[_0x439a81(0x175)]){const _0x510331=_0x4e397a[_0x439a81(0x187)](_0x309fe4[_0x439a81(0x180)],_0x309fe4[_0x439a81(0x196)][_0x439a81(0x14c)]-_0x309fe4[_0x439a81(0x180)][_0x439a81(0x14c)]);null!=_0x510331?_0x1af0ef[_0x439a81(0x175)][_0x439a81(0x1a2)](_0x2444c8,_0x510331):_0x1af0ef[_0x439a81(0x175)][_0x439a81(0x1a0)](_0x2444c8);}}
|
|
23
|
+
function _0x5d79(){const _0x47f090=['54KnOzzL','path','word','getOperations','start','split','key','createSelection','schema','index','sourcePosition','node','removed','suggestion:attribute:','model','isDocumentOperation','clone','getMovedRangeStart','suggestion:deletion:','getShiftedBy','createPositionFromPath','insert','changes','getDiff','remove','isBlock','push','10767348vwefoQ','end','change','move','251997VfKHlz','changeAttribute','nodeAfter','toNone','parent','cloneNode','splitPosition','element','oldName','setTo','suggestion:formatBlock:$fakeWrap:','suggestion:insertion:','isMarkedRemoveOperation','root','addAttribute','applyOperation','createRangeOn','get','3425aScLJG','range','newValue','$elementName','POSITIVE_INFINITY','type','parse','length','2003344NXLUoQ','set','1wlzDYW','...','isObject','baseVersion','231OOFgQO','SuggestionsConversion','backward','forward','newRange','$root','batch','map',':$aiSuggestion','data-id','add','DocumentCompare','1562858AJGQUs','name','newName','getFirstRange','position','_getTransformedByInsertion','nodeBefore','getTransformedByOperation','data','focus','11sZGfPr','addOperation','offset','children','moveTargetPosition','stickiness','2922EzXpqK','new','$text','_getTransformedByDeletion','removeAttribute','oldValue','stringify','reverse','isRegisteredAttribute','merge','createRange','973870Cmomya','targetPosition','slice','marker','_createFromRanges','delete','plugins','472lfCUAu','rename','howMany','getMinimalFlatRanges','markers','isBefore','createPositionAt','textNode','isAfter','modifySelection'];_0x5d79=function(){return _0x47f090;};return _0x5d79();}(function(_0x3ab403,_0x345830){const _0x1b06cc=_0x297f,_0x2fed64=_0x3ab403();while(!![]){try{const _0x42a226=-parseInt(_0x1b06cc(0x166))/0x1*(parseInt(_0x1b06cc(0x176))/0x2)+parseInt(_0x1b06cc(0x14a))/0x3+parseInt(_0x1b06cc(0x121))/0x4*(-parseInt(_0x1b06cc(0x15c))/0x5)+parseInt(_0x1b06cc(0x186))/0x6*(-parseInt(_0x1b06cc(0x16a))/0x7)+-parseInt(_0x1b06cc(0x164))/0x8+-parseInt(_0x1b06cc(0x12b))/0x9*(-parseInt(_0x1b06cc(0x191))/0xa)+-parseInt(_0x1b06cc(0x180))/0xb*(-parseInt(_0x1b06cc(0x146))/0xc);if(_0x42a226===_0x345830)break;else _0x2fed64['push'](_0x2fed64['shift']());}catch(_0x2806ab){_0x2fed64['push'](_0x2fed64['shift']());}}}(_0x5d79,0x6aa74));import{findOne as _0x37e268,getAttribute as _0x299c8c,Document as _0x43922c,serialize as _0x1ba8da,parse as _0x45122a}from'./htmlparser.js';function _0x297f(_0x461f3c,_0x149942){const _0x5d79e4=_0x5d79();return _0x297f=function(_0x297fda,_0x4ad544){_0x297fda=_0x297fda-0x120;let _0x13d8cb=_0x5d79e4[_0x297fda];return _0x13d8cb;},_0x297f(_0x461f3c,_0x149942);}import{fixElementSuggestionRange as _0x1dee2d}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x23cb4a,_DetachOperation as _0x5844c0,_removeFromModelNodeList as _0xe2de61,_insertIntoModelNodeList as _0x5780bc}from'ckeditor5/src/engine.js';import{uid as _0x417017}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x28e1b,changeGroups:_0x568a7c,documentContextContent:_0x17ac7e,showDiff:_0x160d85,trimUnchanged:_0x34310f=!0x0}){const _0x4069d1=_0x297f;return _0x568a7c[_0x4069d1(0x171)](_0x121127=>{const _0x17d143=_0x4069d1,_0x48f182=new _0x43922c([]),_0x4fa10f=new _0x43922c([]);for(const _0x1f0fe9 of _0x121127[_0x17d143(0x141)])if(_0x160d85&&_0x17d143(0x137)==_0x1f0fe9[_0x17d143(0x161)]||_0x4fa10f[_0x17d143(0x183)][_0x17d143(0x145)](_0x1f0fe9[_0x17d143(0x136)][_0x17d143(0x14f)](!0x0)),_0x17d143(0x187)!=_0x1f0fe9[_0x17d143(0x161)]&&(_0x160d85||_0x17d143(0x137)!=_0x1f0fe9[_0x17d143(0x161)])){const _0x53a767=_0x37e268(_0x3e05a2=>_0x299c8c(_0x3e05a2,_0x17d143(0x173))==_0x1f0fe9['id'],_0x17ac7e,!0x0);_0x53a767&&_0x48f182[_0x17d143(0x183)][_0x17d143(0x145)](_0x53a767[_0x17d143(0x14f)](!0x0));}const {content:_0x244efd,hasChanges:_0x1bfb23}=function(_0x4ff684,_0x3e3938,_0x34d0b1,_0x36a697,_0x51d41d=!0x0){const _0x2debab=_0x17d143,_0x417d90=_0x4ff684[_0x2debab(0x120)][_0x2debab(0x15b)](_0x2debab(0x175)),_0x51956a=_0x1ba8da(_0x3e3938),_0xc5ec6d=_0x1ba8da(_0x34d0b1),_0x4e6e40=_0x4ff684[_0x2debab(0x17e)][_0x2debab(0x162)](_0x51956a,_0x2debab(0x16f)),_0x3864bb=_0x4ff684[_0x2debab(0x139)][_0x2debab(0x127)](_0x4e6e40,0x0),_0x4abd39=_0x417d90[_0x2debab(0x142)](_0x51956a,_0xc5ec6d,{'anchor':_0x3864bb,'markDeletions':_0x36a697}),_0x31ef0a=_0x4abd39[_0x2debab(0x12e)]();if(0x0==_0x31ef0a[_0x2debab(0x163)])return{'content':_0x3e3938[_0x2debab(0x14f)](!0x0),'hasChanges':!0x1};_0x36a697?function(_0x33dbda,_0x4e9e7d,_0x31839b){const _0x513fda=_0x2debab;if(0x0==_0x33dbda[_0x513fda(0x163)])return;const _0x17c774=_0x31839b[_0x513fda(0x120)][_0x513fda(0x15b)](_0x513fda(0x175)),_0x15c4c9=_0x31839b[_0x513fda(0x120)][_0x513fda(0x15b)](_0x513fda(0x16b));_0x31839b[_0x513fda(0x139)][_0x513fda(0x148)](_0x119d6c=>{const _0x2854ff=_0x513fda,_0x46e709=new Set();for(let _0x463ef4=0x0;_0x463ef4<_0x33dbda[_0x2854ff(0x163)];_0x463ef4++){const _0x5c9c60=_0x33dbda[_0x463ef4];if(_0x5c9c60[_0x2854ff(0x169)]=null,_0x5c9c60[_0x2854ff(0x13a)]=!0x1,_0x17c774[_0x2854ff(0x156)](_0x5c9c60)){const _0x54b8b0=_0x1dee2d(_0x5c9c60[_0x2854ff(0x16e)],_0x31839b[_0x2854ff(0x139)]),_0x1df2da=_0x2854ff(0x13d)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x1df2da,_0x54b8b0);}else switch(_0x5c9c60[_0x2854ff(0x161)]){case _0x2854ff(0x122):{if(_0x5c9c60[_0x2854ff(0x152)]==_0x5c9c60[_0x2854ff(0x178)])break;_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x196ce1=_0x2854ff(0x15f),_0x5076e9=_0x5c9c60[_0x2854ff(0x17a)],_0x1b82b5=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0x5076e9,_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x127)](_0x5076e9[_0x2854ff(0x14c)],_0x2854ff(0x147))),_0x2d5486=_0x2854ff(0x138)+_0x196ce1+':'+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2d5486,_0x1b82b5);break;}case _0x2854ff(0x158):case _0x2854ff(0x18a):case _0x2854ff(0x14b):{if(_0x5c9c60[_0x2854ff(0x18b)]==_0x5c9c60[_0x2854ff(0x15e)])break;_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x21dbf0=_0x5c9c60[_0x2854ff(0x131)];if(!_0x15c4c9[_0x2854ff(0x18e)](_0x21dbf0))break;const _0x53d381=_0x1dee2d(_0x5c9c60[_0x2854ff(0x15d)],_0x31839b[_0x2854ff(0x139)]),_0x2c6d2c=_0x2854ff(0x138)+_0x21dbf0+':'+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2c6d2c,_0x53d381);break;}case _0x2854ff(0x140):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);if(_0x33dbda[_0x463ef4+0x1]&&_0x2854ff(0x149)==_0x33dbda[_0x463ef4+0x1][_0x2854ff(0x161)]){ro(_0x4e9e7d,_0x5c9c60);break;}const _0xa7e124=_0x5c9c60[_0x2854ff(0x17a)],_0x406e88=_0x5c9c60[_0x2854ff(0x123)],_0xc07867=_0x1dee2d(_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0xa7e124,_0xa7e124[_0x2854ff(0x13e)](_0x406e88)),_0x31839b[_0x2854ff(0x139)]),_0x2b1a5c=_0x2854ff(0x155)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2b1a5c,_0xc07867);break;}case _0x2854ff(0x130):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x2a2f18=_0x5c9c60[_0x2854ff(0x150)],_0x50ea6a=_0x5c9c60[_0x2854ff(0x184)],_0x273ab2=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0x2a2f18,_0x50ea6a),_0x10b688=_0x2854ff(0x155)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x10b688,_0x273ab2);break;}case _0x2854ff(0x149):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60),_0x33dbda[_0x463ef4-0x1]&&_0x2854ff(0x140)==_0x33dbda[_0x463ef4-0x1][_0x2854ff(0x161)]&&ro(_0x4e9e7d,_0x5c9c60);const _0x534b6e=_0x5c9c60[_0x2854ff(0x13c)](),_0x26ad00=_0x5c9c60[_0x2854ff(0x123)];for(let _0x1778ce=0x0;_0x1778ce<_0x26ad00;_0x1778ce++){const _0x268e24=_0x534b6e[_0x2854ff(0x13e)](_0x1778ce)[_0x2854ff(0x14c)];_0x46e709[_0x2854ff(0x174)](_0x268e24);}break;}case _0x2854ff(0x143):{const _0x16e824=_0x5c9c60[_0x2854ff(0x135)],_0x433be9=_0x5c9c60[_0x2854ff(0x123)],_0x5e1197=new _0x5844c0(_0x16e824,_0x433be9);_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5e1197),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5e1197);break;}}}for(const _0xf6c3d9 of _0x46e709){const _0x1d3c49=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x15a)](_0xf6c3d9),_0x225ac5=_0x2854ff(0x154)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x225ac5,_0x1dee2d(_0x1d3c49,_0x31839b[_0x2854ff(0x139)]));}});}(_0x31ef0a,_0x4e6e40,_0x4ff684):_0x4ff684[_0x2debab(0x139)][_0x2debab(0x148)](_0x260979=>{const _0x3ceec1=_0x2debab;for(const _0x466196 of _0x31ef0a)if(_0x3ceec1(0x143)==_0x466196[_0x3ceec1(0x161)]){const _0x167d5e=_0x466196[_0x3ceec1(0x135)],_0x54d597=_0x466196[_0x3ceec1(0x123)],_0x3f9dca=new _0x5844c0(_0x167d5e,_0x54d597);_0x260979[_0x3ceec1(0x170)][_0x3ceec1(0x181)](_0x3f9dca),_0x4ff684[_0x3ceec1(0x139)][_0x3ceec1(0x159)](_0x3f9dca);}else{if(_0x3ceec1(0x194)==_0x466196[_0x3ceec1(0x161)]){const _0x3d63a2=_0x466196[_0x3ceec1(0x177)],_0x13f1d9=_0x466196[_0x3ceec1(0x16e)];_0x4e6e40[_0x3ceec1(0x125)][_0x3ceec1(0x165)](_0x3d63a2,_0x13f1d9);}else _0x466196[_0x3ceec1(0x169)]=null,_0x466196[_0x3ceec1(0x13a)]=!0x1,_0x260979[_0x3ceec1(0x170)][_0x3ceec1(0x181)](_0x466196),_0x4ff684[_0x3ceec1(0x139)][_0x3ceec1(0x159)](_0x466196);}});if(_0x51d41d){const _0x232c53=getMinimalSelection(_0x4ff684,_0x31ef0a,_0x4e6e40);expandSelectionWithContext(_0x4ff684[_0x2debab(0x139)],_0x232c53),function(_0x54d8fc,_0x3a6dab){const _0x2812f6=_0x2debab,_0xea2189=_0x3a6dab[_0x2812f6(0x179)]()[_0x2812f6(0x12f)];let _0x44e0e7=_0x3a6dab[_0x2812f6(0x179)]()[_0x2812f6(0x147)];const _0x5949bc=_0xea2189[_0x2812f6(0x157)];(_0x44e0e7[_0x2812f6(0x128)]||_0x44e0e7[_0x2812f6(0x14c)]&&_0x44e0e7[_0x2812f6(0x14c)]['is'](_0x2812f6(0x188)))&&(_0x5780bc(_0x44e0e7,_0x2812f6(0x167)),_0x44e0e7=_0x44e0e7[_0x2812f6(0x13e)](0x3)),(_0xea2189[_0x2812f6(0x128)]||_0xea2189[_0x2812f6(0x17c)]&&_0xea2189[_0x2812f6(0x17c)]['is'](_0x2812f6(0x188)))&&(_0x5780bc(_0xea2189,_0x2812f6(0x167)),function(_0x1b710e,_0x436b56,_0x2eca5b){const _0x2018d9=_0x2812f6;for(let [_0x49261e,_0x4290a5]of _0x1b710e[_0x2018d9(0x125)]){const _0x3a426f=_0x4290a5[_0x2018d9(0x17b)](_0x436b56,_0x2eca5b,!0x1);_0x4290a5=_0x3a426f[0x0],_0x1b710e[_0x2018d9(0x125)][_0x2018d9(0x165)](_0x49261e,_0x4290a5);}}(_0x5949bc,_0xea2189,0x3),_0xea2189[_0x2812f6(0x14e)]==_0x44e0e7[_0x2812f6(0x14e)]&&(_0x44e0e7=_0x44e0e7[_0x2812f6(0x13e)](0x3)));const _0x339e43=_0x54d8fc[_0x2812f6(0x190)](_0x54d8fc[_0x2812f6(0x127)](_0x5949bc,0x0),_0xea2189),_0x230437=_0x54d8fc[_0x2812f6(0x190)](_0x44e0e7,_0x54d8fc[_0x2812f6(0x127)](_0x5949bc,_0x2812f6(0x147))),_0x8259d5=[..._0x339e43[_0x2812f6(0x124)](),..._0x230437[_0x2812f6(0x124)]()];_0x8259d5[_0x2812f6(0x18d)]();for(const _0x3666ce of _0x8259d5)_0xe2de61(_0x3666ce),_transformMarkersByDeletion(_0x5949bc,_0x3666ce);}(_0x4ff684[_0x2debab(0x139)],_0x232c53);}const _0x32fdc7=_0x4ff684[_0x2debab(0x17e)][_0x2debab(0x18c)](_0x4e6e40,{'showSuggestionHighlights':!0x0});return{'content':_0x45122a(_0x32fdc7),'hasChanges':!0x0};}(_0x28e1b,_0x48f182,_0x4fa10f,_0x160d85,_0x34310f);return{'type':_0x121127[_0x17d143(0x141)][0x0][_0x17d143(0x161)],'index':_0x121127[_0x17d143(0x134)],'content':_0x244efd,'hasChanges':_0x1bfb23};});}function ro(_0x944aa4,_0x27dd6a){const _0xc807c6=_0x297f;for(const [_0x355142,_0xa692f2]of _0x944aa4[_0xc807c6(0x125)]){const _0x39d364=_0x23cb4a[_0xc807c6(0x195)](_0xa692f2[_0xc807c6(0x17d)](_0x27dd6a));_0x944aa4[_0xc807c6(0x125)][_0xc807c6(0x165)](_0x355142,_0x39d364);}}export function getMinimalSelection(_0x7d5d06,_0x28040b,_0x2f7f4e){const _0x5c9f0b=_0x297f,_0x55987e=_0x7d5d06[_0x5c9f0b(0x120)][_0x5c9f0b(0x15b)](_0x5c9f0b(0x175));let _0x37522f=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x127)](_0x2f7f4e,Number[_0x5c9f0b(0x160)]),_0x3c544c=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x127)](_0x2f7f4e,0x0);for(const _0x201a74 of _0x28040b){let _0x9507fa,_0x10911c;if(_0x55987e[_0x5c9f0b(0x156)](_0x201a74))_0x9507fa=_0x201a74[_0x5c9f0b(0x16e)][_0x5c9f0b(0x12f)],_0x10911c=_0x201a74[_0x5c9f0b(0x16e)][_0x5c9f0b(0x147)];else switch(_0x37522f=_0x37522f[_0x5c9f0b(0x17d)](_0x201a74),_0x3c544c=_0x3c544c[_0x5c9f0b(0x17d)](_0x201a74),_0x201a74[_0x5c9f0b(0x161)]){case _0x5c9f0b(0x122):_0x9507fa=_0x201a74[_0x5c9f0b(0x17a)],_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](0x1);break;case _0x5c9f0b(0x158):case _0x5c9f0b(0x18a):case _0x5c9f0b(0x14b):_0x9507fa=_0x201a74[_0x5c9f0b(0x15d)][_0x5c9f0b(0x12f)],_0x10911c=_0x201a74[_0x5c9f0b(0x15d)][_0x5c9f0b(0x147)];break;case _0x5c9f0b(0x140):_0x9507fa=_0x201a74[_0x5c9f0b(0x17a)],_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](_0x201a74[_0x5c9f0b(0x123)]);break;case _0x5c9f0b(0x130):_0x9507fa=_0x201a74[_0x5c9f0b(0x150)],_0x10911c=_0x201a74[_0x5c9f0b(0x184)];break;case _0x5c9f0b(0x18f):{const _0x387b26=_0x201a74[_0x5c9f0b(0x192)][_0x5c9f0b(0x12c)][_0x5c9f0b(0x193)](0x0,-0x1);_0x9507fa=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x13f)](_0x2f7f4e,_0x387b26),_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](0x1);break;}case _0x5c9f0b(0x143):{const _0x4579fc=_0x201a74[_0x5c9f0b(0x123)],_0x42e1e4=_0x201a74[_0x5c9f0b(0x135)][_0x5c9f0b(0x17b)](_0x201a74[_0x5c9f0b(0x192)],_0x4579fc),_0x2fd71b=_0x201a74[_0x5c9f0b(0x13c)]();_0x5c9f0b(0x143)==_0x201a74[_0x5c9f0b(0x161)]?(_0x9507fa=_0x42e1e4,_0x10911c=_0x42e1e4):(_0x9507fa=_0x2fd71b,_0x10911c=_0x2fd71b[_0x5c9f0b(0x13e)](_0x4579fc));break;}}_0x9507fa&&_0x9507fa[_0x5c9f0b(0x126)](_0x37522f)&&(_0x37522f=_0x9507fa[_0x5c9f0b(0x13b)](),_0x37522f[_0x5c9f0b(0x185)]=_0x5c9f0b(0x14d)),_0x10911c&&_0x10911c[_0x5c9f0b(0x129)](_0x3c544c)&&(_0x3c544c=_0x10911c[_0x5c9f0b(0x13b)](),_0x3c544c[_0x5c9f0b(0x185)]=_0x5c9f0b(0x14d));}return _0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x132)](_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x190)](_0x37522f,_0x3c544c));}export function expandSelectionWithContext(_0x3cd7a8,_0x4f85f1){const _0x225a38=_0x297f;so(_0x3cd7a8,_0x4f85f1,_0x225a38(0x16d));const _0x9eb616=_0x4f85f1[_0x225a38(0x179)]();_0x4f85f1[_0x225a38(0x153)]([]),_0x4f85f1[_0x225a38(0x153)](_0x9eb616,{'backward':!0x0}),so(_0x3cd7a8,_0x4f85f1,_0x225a38(0x16c));}function so(_0x1c9ab9,_0x5a6781,_0x1defb4){const _0x4572fa=_0x297f;let _0x87745d=0x14;for(;_0x87745d;){_0x1c9ab9[_0x4572fa(0x12a)](_0x5a6781,{'unit':_0x4572fa(0x12d),'direction':_0x1defb4}),_0x87745d--;const _0x599a75=_0x5a6781[_0x4572fa(0x17f)][_0x4572fa(0x16d)==_0x1defb4?_0x4572fa(0x17c):_0x4572fa(0x14c)];if(_0x599a75&&_0x599a75['is'](_0x4572fa(0x151))&&_0x1c9ab9[_0x4572fa(0x133)][_0x4572fa(0x144)](_0x599a75)&&_0x1c9ab9[_0x4572fa(0x133)][_0x4572fa(0x168)](_0x599a75))break;}}export function _transformMarkersByDeletion(_0x48aa05,_0xbf91e0){const _0x2e84d7=_0x297f;for(const [_0x254fbe,_0x185d52]of _0x48aa05[_0x2e84d7(0x125)]){const _0x497ba1=_0x185d52[_0x2e84d7(0x189)](_0xbf91e0[_0x2e84d7(0x12f)],_0xbf91e0[_0x2e84d7(0x147)][_0x2e84d7(0x182)]-_0xbf91e0[_0x2e84d7(0x12f)][_0x2e84d7(0x182)]);null!=_0x497ba1?_0x48aa05[_0x2e84d7(0x125)][_0x2e84d7(0x165)](_0x254fbe,_0x497ba1):_0x48aa05[_0x2e84d7(0x125)][_0x2e84d7(0x196)](_0x254fbe);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x154376,_0x16639c){const _0x3de239=_0xd7bf,_0x2676c6=_0x154376();while(!![]){try{const _0x522149=parseInt(_0x3de239(0x14a))/0x1*(parseInt(_0x3de239(0x147))/0x2)+-parseInt(_0x3de239(0x152))/0x3*(-parseInt(_0x3de239(0x14c))/0x4)+parseInt(_0x3de239(0x149))/0x5+-parseInt(_0x3de239(0x140))/0x6+-parseInt(_0x3de239(0x13c))/0x7*(-parseInt(_0x3de239(0x14e))/0x8)+parseInt(_0x3de239(0x144))/0x9+parseInt(_0x3de239(0x141))/0xa*(-parseInt(_0x3de239(0x143))/0xb);if(_0x522149===_0x16639c)break;else _0x2676c6['push'](_0x2676c6['shift']());}catch(_0x590629){_0x2676c6['push'](_0x2676c6['shift']());}}}(_0x2ffd,0x36d47));function _0x2ffd(){const _0x5dcdcb=['6ZboqyW','beforebegin','1760745PWBojj','113463VozLFD','indexOf','116pkqREA','reverse','888JFCQwu','slice','afterend','attribs','28359MEFQMd','replace','beforeend','forEach','21399tKsCqr','parentNode','afterbegin','map','785052DjMJhq','10iDlcej','push','12086789RcQZzi','1333998fgYNvh','nextSibling','cloneNode'];_0x2ffd=function(){return _0x5dcdcb;};return _0x2ffd();}import{parseDocument as _0x31396f}from'htmlparser2';import{append as _0x39fb41,appendChild as _0x5ac0fa,find as _0x1b723c,findAll as _0x1e0352,findOne as _0x28a469,getChildren as _0x5cfd84,isComment as _0x2483d8,isTag as _0x406904,prepend as _0x13807f,prependChild as _0x381381,removeElement as _0xb66a73,replaceElement as _0xaf0c0c,textContent as _0x2b4e08,getParent as _0x1626c0,hasChildren as _0x26b8f3}from'domutils';import _0x28149f from'dom-serializer';import{cloneNode as _0x12e1e0,isDocument as _0x9af609,isText as _0x5eacdc,Element as _0x261e20,Text as _0x5c1374,Document as _0x47f11a,NodeWithChildren as _0x38bb84}from'domhandler';export{_0x12e1e0 as cloneNode,_0x1b723c as find,_0x28a469 as findOne,_0x1e0352 as findAll,_0x5cfd84 as getChildren,_0x1626c0 as getParent,_0x2483d8 as isComment,_0x9af609 as isDocument,_0x406904 as isTag,_0x5eacdc as isText,_0x39fb41 as append,_0x5ac0fa as appendChild,_0x13807f as prepend,_0x381381 as prependChild,_0x28149f as render,_0xb66a73 as removeElement,_0xaf0c0c as replaceElement,_0x2b4e08 as textContent,_0x26b8f3 as hasChildren,_0x261e20 as Element,_0x47f11a as Document,_0x38bb84 as NodeWithChildren,_0x5c1374 as Text};export function parse(_0x9feb2d){return _0x31396f(_0x9feb2d);}export function serialize(_0x4b3044){return _0x28149f(_0x4b3044);}export function findByAttribute(_0x2a3b06,_0x5127cf,_0x224b36){const _0x4d2770=_0xd7bf,_0x35fac3=null!==_0x5127cf?_0x120e7c=>_0x120e7c[_0x4d2770(0x151)][_0x2a3b06]===_0x5127cf:_0x3eedfe=>Boolean(_0x3eedfe[_0x4d2770(0x151)][_0x2a3b06]);return _0x28a469(_0x2694e4=>_0x406904(_0x2694e4)&&_0x35fac3(_0x2694e4),_0x224b36);}export function findAllByAttribute(_0x2d315c,_0x44e433,_0x334619){const _0x12fa4d=_0xd7bf,_0x621b54=null!==_0x44e433?_0xa43705=>_0xa43705[_0x12fa4d(0x151)][_0x2d315c]===_0x44e433:_0x129df6=>Boolean(_0x129df6[_0x12fa4d(0x151)][_0x2d315c]);return _0x1e0352(_0x2b03d3=>_0x406904(_0x2b03d3)&&_0x621b54(_0x2b03d3),_0x334619);}function _0xd7bf(_0x22c9d6,_0x36d786){const _0x2ffd7f=_0x2ffd();return _0xd7bf=function(_0xd7bffd,_0x432e3d){_0xd7bffd=_0xd7bffd-0x13b;let _0x6ae28e=_0x2ffd7f[_0xd7bffd];return _0x6ae28e;},_0xd7bf(_0x22c9d6,_0x36d786);}export function findAllComments(_0x9f82d8){return _0x1b723c(_0x3d86df=>_0x2483d8(_0x3d86df),_0x9f82d8,!0x0,0x1/0x0);}export function getAttribute(_0x1435ad,_0x5a1b90){const _0x1f7909=_0xd7bf;return _0x1435ad&&_0x406904(_0x1435ad)?_0x1435ad[_0x1f7909(0x151)][_0x5a1b90]:null;}export function setAttribute(_0x5a09e9,_0x5e8196,_0x236037){const _0x2a5984=_0xd7bf;_0x406904(_0x5a09e9)&&(null===_0x236037?delete _0x5a09e9[_0x2a5984(0x151)][_0x5e8196]:_0x5a09e9[_0x2a5984(0x151)][_0x5e8196]=_0x236037);}export function insertElement(_0x157411,_0x1e402a,_0x5ee329){const _0x1fc7da=_0xd7bf,_0x4e2245=_0x1e402a[_0x1fc7da(0x146)](!0x0);_0x1fc7da(0x148)===_0x5ee329?_0x13807f(_0x157411,_0x4e2245):_0x1fc7da(0x13e)===_0x5ee329?_0x381381(_0x157411,_0x4e2245):_0x1fc7da(0x154)===_0x5ee329?_0x5ac0fa(_0x157411,_0x4e2245):_0x1fc7da(0x150)===_0x5ee329&&_0x39fb41(_0x157411,_0x4e2245);}export function moveElement(_0x2bcc12,_0x4f3e2f){_0xb66a73(_0x2bcc12),_0xaf0c0c(_0x4f3e2f,_0x2bcc12);}export function clone(_0x484fa0){const _0x4c37a4=_0xd7bf;return _0x484fa0[_0x4c37a4(0x146)](!0x0);}export function getParents(_0x302738){const _0x19f60a=_0xd7bf,_0x263945=[];let _0x51ca35=_0x302738;for(;_0x51ca35;)_0x51ca35=_0x1626c0(_0x51ca35),_0x51ca35&&_0x263945[_0x19f60a(0x142)](_0x51ca35);return _0x263945;}export function normalizeHTML(_0x10a66a){const _0x281222=_0xd7bf;return _0x10a66a[_0x281222(0x153)](/^\s+/gm,'')[_0x281222(0x153)](/\s+$/gm,'')[_0x281222(0x153)](/\n*/g,'')[_0x281222(0x153)](/\s+/g,'\x20')[_0x281222(0x153)](/>\s*</g,'><');}export function areNodesSame(_0x44fed7,_0x44dfb8){return normalizeHTML(serialize(_0x44fed7))===normalizeHTML(serialize(_0x44dfb8));}export function getNodeNestingLevel(_0x4f9ee4){const _0x507d55=_0xd7bf;let _0x287262=0x0;for(;_0x4f9ee4[_0x507d55(0x13d)];)_0x4f9ee4=_0x4f9ee4[_0x507d55(0x13d)],_0x287262++;return _0x287262;}export function removeElementsAfter(_0x233f10){const _0x78af0=_0xd7bf,_0x59eabe=[];let _0x20c330=_0x233f10[_0x78af0(0x145)];for(;_0x20c330;)_0x59eabe[_0x78af0(0x142)](_0x20c330),_0x20c330=_0x20c330[_0x78af0(0x145)];_0x59eabe[_0x78af0(0x13b)](_0xc375da=>{_0xb66a73(_0xc375da);});}export function getNodePath(_0x460c6a){const _0xce0f00=_0xd7bf;return[_0x460c6a,...getParents(_0x460c6a)][_0xce0f00(0x14f)](0x0,-0x1)[_0xce0f00(0x13f)](_0x44cd28=>{const _0x3541cf=_0xce0f00,_0xed41a4=_0x1626c0(_0x44cd28);return _0x5cfd84(_0xed41a4)[_0x3541cf(0x14b)](_0x44cd28);})[_0xce0f00(0x14d)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b8a1a=_0x54c3;(function(_0x557d7f,_0x2f5ebe){const _0x7a2461=_0x54c3,_0x4eb86b=_0x557d7f();while(!![]){try{const _0x65e0f4=-parseInt(_0x7a2461(0x1df))/0x1+-parseInt(_0x7a2461(0x1d9))/0x2*(parseInt(_0x7a2461(0x1de))/0x3)+parseInt(_0x7a2461(0x1e0))/0x4*(parseInt(_0x7a2461(0x1d6))/0x5)+-parseInt(_0x7a2461(0x1c1))/0x6*(-parseInt(_0x7a2461(0x1b4))/0x7)+parseInt(_0x7a2461(0x1bf))/0x8*(parseInt(_0x7a2461(0x1ce))/0x9)+-parseInt(_0x7a2461(0x1e6))/0xa+parseInt(_0x7a2461(0x1e1))/0xb*(parseInt(_0x7a2461(0x1b3))/0xc);if(_0x65e0f4===_0x2f5ebe)break;else _0x4eb86b['push'](_0x4eb86b['shift']());}catch(_0x2611bb){_0x4eb86b['push'](_0x4eb86b['shift']());}}}(_0x10cf,0x994aa));import _0x43f2b9 from'morphdom';import{NodeWithChildren as _0x573230,Text as _0x57c87c,Element as _0x363ab7,isText as _0x5df9aa,isDocument as _0x2eee53,isTag as _0x8b2d8f,cloneNode as _0x5e58b4,getChildren as _0x2cbe9a,prepend as _0x21a36d,removeElement as _0x5575f9,textContent as _0x4ac33c,render as _0x176bcc}from'./htmlparser.js';function _0x54c3(_0x2804ae,_0x42bf91){const _0x10cf2d=_0x10cf();return _0x54c3=function(_0x54c3f4,_0x2fa5ff){_0x54c3f4=_0x54c3f4-0x1b3;let _0x4d7f0a=_0x10cf2d[_0x54c3f4];return _0x4d7f0a;},_0x54c3(_0x2804ae,_0x42bf91);}function _0x10cf(){const _0x114e49=['isStreaming','nodesList','sub','renderNode','children','isWordSplitResult','map','replaceWith','code','match','div','9KvJyFU','now','span[data-ck-html-streamer-word-chunk]','document','currentIndex','mark','includes','stream','25oppbkg','querySelectorAll','shouldBeStreamed','2PEbQZC','abort','span','bind','isWordSplitSource','3489171zMZvrh','134852NNEPEq','204392UXJJyW','121GYEsDj','del','strong','textNodeStyle','join','738960NHusAa','from','sup','splitTextNodeIntoWordNodes','tagName','childNodes','length','reverse','parent','attribs','entries','addEventListener','839892iRBtBq','1337zMhpaN','delay','onStreamUpdate','getParsedDocumentNodeList','stop','push','ins','timeoutAbortController','cleanUpAnimations','options','ai-html-streamer-current-index-out-of-bounds','7606424fSXxvo','forEach','738KMOCYU','signal'];_0x10cf=function(){return _0x114e49;};return _0x10cf();}import{logWarning as _0x35c309}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x3b8a1a(0x1bd)];[_0x3b8a1a(0x1c3)]=!0x1;[_0x3b8a1a(0x1d1)]=null;[_0x3b8a1a(0x1c4)]=[];[_0x3b8a1a(0x1d2)]=0x0;[_0x3b8a1a(0x1bb)]=null;constructor(_0x3a72da){const _0x1a3544=_0x3b8a1a;this[_0x1a3544(0x1bd)]={'delay':_0x3a72da[_0x1a3544(0x1b5)]??0x14,'textNodeStyle':_0x3a72da[_0x1a3544(0x1e4)],'onStreamUpdate':_0x3a72da[_0x1a3544(0x1b6)]||(()=>{})};}async[_0x3b8a1a(0x1d5)]({document:_0x2372d0,targetElement:_0x38b155,abortSignal:_0x581181}){const _0x22eb18=_0x3b8a1a;this[_0x22eb18(0x1c3)]&&this[_0x22eb18(0x1b8)](),_0x581181?.[_0x22eb18(0x1f1)](_0x22eb18(0x1da),this[_0x22eb18(0x1b8)][_0x22eb18(0x1dc)](this)),this[_0x22eb18(0x1d1)]=_0x5e58b4(_0x2372d0,!0x0),this[_0x22eb18(0x1c4)]=this[_0x22eb18(0x1b7)](),this[_0x22eb18(0x1c3)]=!0x0,this[_0x22eb18(0x1d2)]>this[_0x22eb18(0x1c4)][_0x22eb18(0x1ec)]&&(_0x35c309(_0x22eb18(0x1be),{'currentIndex':this[_0x22eb18(0x1d2)],'nodeList':this[_0x22eb18(0x1c4)]}),this[_0x22eb18(0x1d2)]=this[_0x22eb18(0x1c4)][_0x22eb18(0x1ec)]);for(let _0x7ba9a7=0x0;_0x7ba9a7<this[_0x22eb18(0x1d2)];_0x7ba9a7++)this[_0x22eb18(0x1c4)][_0x7ba9a7][_0x22eb18(0x1d8)]=!0x0;let _0x271660=0x0;for(let _0x21e4c6=this[_0x22eb18(0x1d2)];_0x21e4c6<this[_0x22eb18(0x1c4)][_0x22eb18(0x1ec)];_0x21e4c6++){const _0x22e50f=Date[_0x22eb18(0x1cf)](),_0x4898a7=this[_0x22eb18(0x1c4)][_0x21e4c6],_0xf87a8=_0x22e50f-_0x271660;_0x4898a7[_0x22eb18(0x1d8)]=!0x0;let _0x277af4=_0x4898a7[_0x22eb18(0x1ee)];for(;_0x277af4;)_0x277af4[_0x22eb18(0x1d8)]=!0x0,_0x277af4=_0x277af4[_0x22eb18(0x1ee)];if(_0xf87a8<this[_0x22eb18(0x1bd)][_0x22eb18(0x1b5)])try{const {promise:_0x24618a,abortController:_0x4255a8}=pr(this[_0x22eb18(0x1bd)][_0x22eb18(0x1b5)]-_0xf87a8);this[_0x22eb18(0x1bb)]=_0x4255a8,await _0x24618a;}catch(_0xcbbf95){return;}_0x43f2b9(_0x38b155,'<'+_0x38b155[_0x22eb18(0x1ea)]+'>'+this[_0x22eb18(0x1c6)](this[_0x22eb18(0x1d1)])+'</'+_0x38b155[_0x22eb18(0x1ea)]+'>',{'childrenOnly':!0x0}),this[_0x22eb18(0x1bd)][_0x22eb18(0x1b6)]&&this[_0x22eb18(0x1bd)][_0x22eb18(0x1b6)](),this[_0x22eb18(0x1d2)]=_0x21e4c6,_0x271660=Date[_0x22eb18(0x1cf)]();}this[_0x22eb18(0x1c3)]=!0x1;}[_0x3b8a1a(0x1bc)]({targetElement:_0x5704ba}){const _0x6dd74c=_0x3b8a1a;Array[_0x6dd74c(0x1e7)](_0x5704ba[_0x6dd74c(0x1d7)](_0x6dd74c(0x1d0)))[_0x6dd74c(0x1ed)]()[_0x6dd74c(0x1c0)](_0x18e6b2=>{const _0x319e0e=_0x6dd74c;_0x18e6b2[_0x319e0e(0x1ca)](_0x18e6b2[_0x319e0e(0x1eb)][0x0]);});}[_0x3b8a1a(0x1b8)](){const _0x3673ee=_0x3b8a1a;this[_0x3673ee(0x1c3)]=!0x1,this[_0x3673ee(0x1bb)]&&(this[_0x3673ee(0x1bb)][_0x3673ee(0x1da)](),this[_0x3673ee(0x1bb)]=null);}[_0x3b8a1a(0x1c6)](_0x35c3ec){const _0x5dd7d0=_0x3b8a1a;let _0x47f39e='';if(function(_0x2ad64a){return _0x2eee53(_0x2ad64a);}(_0x35c3ec)){for(const _0x3465b4 of _0x35c3ec[_0x5dd7d0(0x1c7)])_0x47f39e+=this[_0x5dd7d0(0x1c6)](_0x3465b4);}else{if(dr(_0x35c3ec)){if(!_0x35c3ec[_0x5dd7d0(0x1d8)])return'';const _0x33f07d=_0x35c3ec,_0x18ff34=Object[_0x5dd7d0(0x1f0)](_0x33f07d[_0x5dd7d0(0x1ef)])[_0x5dd7d0(0x1c9)](([_0x5b8d49,_0x2d372a])=>_0x5b8d49+'=\x22'+_0x2d372a+'\x22')[_0x5dd7d0(0x1e5)]('\x20');_0x47f39e+='<'+_0x33f07d[_0x5dd7d0(0x1ea)]+(_0x18ff34?'\x20'+_0x18ff34:'')+'>';for(const _0x191a3f of _0x2cbe9a(_0x33f07d))_0x47f39e+=this[_0x5dd7d0(0x1c6)](_0x191a3f);_0x47f39e+='</'+_0x33f07d[_0x5dd7d0(0x1ea)]+'>';}else{if(!ar(_0x35c3ec))return'';if(!_0x35c3ec[_0x5dd7d0(0x1d8)])return'';!function(_0x23ae05){const _0x53eab0=_0x5dd7d0;if(!_0x23ae05[_0x53eab0(0x1ee)]||!dr(_0x23ae05[_0x53eab0(0x1ee)]))return!0x1;if(!cr[_0x53eab0(0x1d4)](_0x23ae05[_0x53eab0(0x1ee)][_0x53eab0(0x1ea)]))return!0x1;return!_0x4ac33c(_0x23ae05)[_0x53eab0(0x1cc)](/^\s*[<>]\s*$/);}(_0x35c3ec)?_0x47f39e+=_0x176bcc(_0x35c3ec):_0x47f39e+=_0x176bcc(new _0x363ab7(_0x5dd7d0(0x1db),{'data-ck-html-streamer-word-chunk':'','style':this[_0x5dd7d0(0x1bd)][_0x5dd7d0(0x1e4)]},[_0x35c3ec]));}}return _0x47f39e;}[_0x3b8a1a(0x1b7)](){const _0x4c53c0=_0x3b8a1a,_0x440ec4=[];return function(_0x5127ae,_0x3b2e6a){const _0x40c150=_0x54c3,_0x50db6c=_0x424f4e=>{const _0x37ef2b=_0x54c3;if(_0x3b2e6a(_0x424f4e),_0x424f4e instanceof _0x573230)for(let _0xd10183=0x0;_0xd10183<_0x424f4e[_0x37ef2b(0x1c7)][_0x37ef2b(0x1ec)];_0xd10183++){const _0x47d945=_0x424f4e[_0x37ef2b(0x1c7)][_0xd10183];_0x50db6c(_0x47d945);}};for(let _0xb77401=0x0;_0xb77401<_0x5127ae[_0x40c150(0x1c7)][_0x40c150(0x1ec)];_0xb77401++)_0x50db6c(_0x5127ae[_0x40c150(0x1c7)][_0xb77401]);}(this[_0x4c53c0(0x1d1)],_0x43d67d=>{const _0x3a16ef=_0x4c53c0;if(ar(_0x43d67d)){const _0x22fbb9=this[_0x3a16ef(0x1e9)](_0x43d67d);_0x22fbb9[_0x3a16ef(0x1ec)]&&_0x440ec4[_0x3a16ef(0x1b9)](..._0x22fbb9);}_0x43d67d[_0x3a16ef(0x1dd)]||_0x43d67d[_0x3a16ef(0x1c8)]||_0x440ec4[_0x3a16ef(0x1b9)](_0x43d67d);}),_0x440ec4;}[_0x3b8a1a(0x1e9)](_0x1c730f){const _0x27d1e1=_0x3b8a1a;if(_0x1c730f[_0x27d1e1(0x1dd)]||_0x1c730f[_0x27d1e1(0x1c8)])return[];const _0x29244c=_0x4ac33c(_0x1c730f)[_0x27d1e1(0x1cc)](/(?:\s*\S+\s*)/g),_0x22d81b=[];if(_0x29244c&&_0x29244c[_0x27d1e1(0x1ec)]>0x1){for(const _0x362b10 of _0x29244c){const _0x11cade=new _0x57c87c(_0x362b10);_0x11cade[_0x27d1e1(0x1c8)]=!0x0,_0x21a36d(_0x1c730f,_0x11cade),_0x22d81b[_0x27d1e1(0x1b9)](_0x11cade);}_0x1c730f[_0x27d1e1(0x1dd)]=!0x0,_0x5575f9(_0x1c730f);}return _0x22d81b;}}const cr=['p','li','td','th',_0x3b8a1a(0x1db),'h1','h2','h3','h4','h5','h6','b',_0x3b8a1a(0x1e3),'i','em',_0x3b8a1a(0x1d3),_0x3b8a1a(0x1e2),_0x3b8a1a(0x1ba),_0x3b8a1a(0x1e8),_0x3b8a1a(0x1c5),'a',_0x3b8a1a(0x1cb),_0x3b8a1a(0x1cd)];function ar(_0x1d6dd3){return _0x5df9aa(_0x1d6dd3);}function dr(_0xf4733d){return _0x8b2d8f(_0xf4733d);}function pr(_0x6bae35){const _0x354e42=new AbortController();return{'promise':new Promise((_0x2355c4,_0x4b547c)=>{const _0x1898e8=_0x54c3,_0x4df4e6=setTimeout(_0x2355c4,_0x6bae35);_0x354e42[_0x1898e8(0x1c2)][_0x1898e8(0x1f1)](_0x1898e8(0x1da),()=>{clearTimeout(_0x4df4e6),_0x4b547c();});}),'abortController':_0x354e42};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x263a(_0x5a037a,_0x277393){var _0x3b8b5f=_0x3b8b();return _0x263a=function(_0x263a25,_0xb9b4d8){_0x263a25=_0x263a25-0xb2;var _0x451dca=_0x3b8b5f[_0x263a25];return _0x451dca;},_0x263a(_0x5a037a,_0x277393);}function _0x3b8b(){var _0x456a62=['3445023qLuqGg','20dvPYGk','isOfficialPlugin','AIEditorIntegration','requires','25226894jRpFUG','2099732JBZeIp','12488iBwOPo','2274wJuVxY','5YwuRVe','isPremiumPlugin','913696bCAyRg','4585688cfdkli','pluginName','2vaebsO','2759472RDPCig','12OzMAVv'];_0x3b8b=function(){return _0x456a62;};return _0x3b8b();}var _0x3171c1=_0x263a;(function(_0x1330cf,_0x2c95bd){var _0x31ea70=_0x263a,_0xde038c=_0x1330cf();while(!![]){try{var _0x4f8ccd=parseInt(_0x31ea70(0xb7))/0x1+parseInt(_0x31ea70(0xba))/0x2*(-parseInt(_0x31ea70(0xbd))/0x3)+-parseInt(_0x31ea70(0xb2))/0x4*(parseInt(_0x31ea70(0xb5))/0x5)+parseInt(_0x31ea70(0xb4))/0x6*(-parseInt(_0x31ea70(0xb3))/0x7)+parseInt(_0x31ea70(0xb8))/0x8+parseInt(_0x31ea70(0xbb))/0x9*(-parseInt(_0x31ea70(0xbe))/0xa)+-parseInt(_0x31ea70(0xc2))/0xb*(-parseInt(_0x31ea70(0xbc))/0xc);if(_0x4f8ccd===_0x2c95bd)break;else _0xde038c['push'](_0xde038c['shift']());}catch(_0x8941ef){_0xde038c['push'](_0xde038c['shift']());}}}(_0x3b8b,0xc79e3));import{Plugin as _0xc84cb8}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x3699e0}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x470862}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0xc84cb8{static get[_0x3171c1(0xc1)](){return[_0x3699e0,_0x470862];}static get[_0x3171c1(0xb9)](){var _0x2f9e4e=_0x3171c1;return _0x2f9e4e(0xc0);}static get[_0x3171c1(0xbf)](){return!0x0;}static get[_0x3171c1(0xb6)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x12f5(_0x24e80d,_0x4dba93){const _0x471a56=_0x471a();return _0x12f5=function(_0x12f548,_0x45ed04){_0x12f548=_0x12f548-0x109;let _0x2cf043=_0x471a56[_0x12f548];return _0x2cf043;},_0x12f5(_0x24e80d,_0x4dba93);}const _0x4d3dd3=_0x12f5;(function(_0x230715,_0x5442b6){const _0x5fffa0=_0x12f5,_0x3986a5=_0x230715();while(!![]){try{const _0x3f3c48=-parseInt(_0x5fffa0(0x117))/0x1*(parseInt(_0x5fffa0(0x12b))/0x2)+-parseInt(_0x5fffa0(0x119))/0x3*(parseInt(_0x5fffa0(0x125))/0x4)+parseInt(_0x5fffa0(0x10b))/0x5*(-parseInt(_0x5fffa0(0x118))/0x6)+-parseInt(_0x5fffa0(0x12a))/0x7*(-parseInt(_0x5fffa0(0x121))/0x8)+-parseInt(_0x5fffa0(0x113))/0x9*(-parseInt(_0x5fffa0(0x10d))/0xa)+parseInt(_0x5fffa0(0x123))/0xb+-parseInt(_0x5fffa0(0x10c))/0xc*(-parseInt(_0x5fffa0(0x116))/0xd);if(_0x3f3c48===_0x5442b6)break;else _0x3986a5['push'](_0x3986a5['shift']());}catch(_0x434203){_0x3986a5['push'](_0x3986a5['shift']());}}}(_0x471a,0xc69a1));import{Plugin as _0x40cc}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x46a3b6}from'./toggleaicommand.js';import{ButtonView as _0xbf6c15,MenuBarMenuListItemButtonView as _0x39ee96}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x13c643}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x130bf7}from'../../aicore/utils/common-translations.js';import{AITabs as _0x1a766a}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x471a(){const _0x51b0de=['516djIeXK','46540anyKuA','value','set','execute','requires','add','1062FpARjH','bind','isOfficialPlugin','435539VitXnl','1350JFOnKj','1339410rLppQg','3905598ovLFPB','ck-ai-toggle-button','get','editor','AI_TOGGLE_BUTTON_LABEL','AIToggleButtonUI','toggleAi','_createAIUIButton','5656HHFQvV','locale','4995826ErbVTg','init','4ETiDUa','menuBar:toggleAi','isEnabled','pluginName','commands','4557PVmPTT','838sVMsnz','componentFactory','isOn','menuitemcheckbox','listenTo','isPremiumPlugin','5nNdFzw'];_0x471a=function(){return _0x51b0de;};return _0x471a();}export class AIToggleButtonUI extends _0x40cc{static get[_0x4d3dd3(0x111)](){return[_0x1a766a];}static get[_0x4d3dd3(0x128)](){const _0x22e765=_0x4d3dd3;return _0x22e765(0x11e);}static get[_0x4d3dd3(0x115)](){return!0x0;}static get[_0x4d3dd3(0x10a)](){return!0x0;}[_0x4d3dd3(0x124)](){const _0x29a7da=_0x4d3dd3,_0x28f74e=this[_0x29a7da(0x11c)];_0x28f74e[_0x29a7da(0x129)][_0x29a7da(0x112)](_0x29a7da(0x11f),new _0x46a3b6(_0x28f74e)),_0x28f74e['ui'][_0x29a7da(0x12c)][_0x29a7da(0x112)](_0x29a7da(0x11f),()=>{const _0x53cc0b=_0x29a7da,_0x79aad6=this[_0x53cc0b(0x120)](_0xbf6c15);return _0x79aad6[_0x53cc0b(0x10f)]({'tooltip':!0x0,'class':_0x53cc0b(0x11a)}),_0x79aad6;}),_0x28f74e['ui'][_0x29a7da(0x12c)][_0x29a7da(0x112)](_0x29a7da(0x126),()=>{const _0x1189f3=_0x29a7da,_0x7e0918=this[_0x1189f3(0x120)](_0x39ee96);return _0x7e0918[_0x1189f3(0x10f)]({'role':_0x1189f3(0x12e)}),_0x7e0918;});}[_0x4d3dd3(0x120)](_0x139de0){const _0xe02f62=_0x4d3dd3,_0xdb013=this[_0xe02f62(0x11c)],_0x9c6104=_0xdb013[_0xe02f62(0x129)][_0xe02f62(0x11b)](_0xe02f62(0x11f)),_0x1316ee=new _0x139de0(_0xdb013[_0xe02f62(0x122)]);return _0x1316ee[_0xe02f62(0x10f)]({'label':_0x130bf7(_0xdb013[_0xe02f62(0x122)],_0xe02f62(0x11d)),'icon':_0x13c643,'isToggleable':!0x0}),_0x1316ee[_0xe02f62(0x114)](_0xe02f62(0x127))['to'](_0x9c6104),_0x1316ee[_0xe02f62(0x114)](_0xe02f62(0x12d))['to'](_0x9c6104,_0xe02f62(0x10e),_0x4e8f27=>!!_0x4e8f27),this[_0xe02f62(0x109)](_0x1316ee,_0xe02f62(0x110),()=>{const _0x2e52d1=_0xe02f62;_0x9c6104[_0x2e52d1(0x110)]();}),_0x1316ee;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x18ec53=_0x3909;function _0xf339(){const _0x123036=['AITabs','7QjiPFP','editor','isEnabled','4272876nSiKBZ','30CXqPbD','view','3914520zKEKEu','5097088CdwDVW','get','plugins','execute','bind','18988450okRjRe','value','708024PKCFFk','2756070ffUgch','682922nsRGzR','2JwlFRJ','isVisible'];_0xf339=function(){return _0x123036;};return _0xf339();}function _0x3909(_0x12de3c,_0x4fe641){const _0xf33987=_0xf339();return _0x3909=function(_0x3909b5,_0x55da34){_0x3909b5=_0x3909b5-0xd3;let _0x30f8c4=_0xf33987[_0x3909b5];return _0x30f8c4;},_0x3909(_0x12de3c,_0x4fe641);}(function(_0x11e49f,_0x2b1ddb){const _0x2af0c7=_0x3909,_0x51a260=_0x11e49f();while(!![]){try{const _0x48064a=-parseInt(_0x2af0c7(0xdb))/0x1*(-parseInt(_0x2af0c7(0xda))/0x2)+parseInt(_0x2af0c7(0xd9))/0x3+-parseInt(_0x2af0c7(0xe4))/0x4+-parseInt(_0x2af0c7(0xe2))/0x5*(-parseInt(_0x2af0c7(0xd8))/0x6)+-parseInt(_0x2af0c7(0xde))/0x7*(-parseInt(_0x2af0c7(0xe5))/0x8)+parseInt(_0x2af0c7(0xe1))/0x9+-parseInt(_0x2af0c7(0xd6))/0xa;if(_0x48064a===_0x2b1ddb)break;else _0x51a260['push'](_0x51a260['shift']());}catch(_0x468821){_0x51a260['push'](_0x51a260['shift']());}}}(_0xf339,0x84d3d));import{Command as _0x593f3d}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x593f3d{constructor(_0x3d418e){const _0x529894=_0x3909;super(_0x3d418e);const _0x279f54=_0x3d418e[_0x529894(0xd3)][_0x529894(0xe6)](_0x529894(0xdd))[_0x529894(0xe3)];this[_0x529894(0xd5)](_0x529894(0xd7))['to'](_0x279f54,_0x529894(0xdc)),this[_0x529894(0xe0)]=!0x0;}[_0x18ec53(0xd4)](){const _0x1529f0=_0x18ec53,_0x482d3f=this[_0x1529f0(0xdf)][_0x1529f0(0xd3)][_0x1529f0(0xe6)](_0x1529f0(0xdd))[_0x1529f0(0xe3)];_0x482d3f[_0x1529f0(0xdc)]=!_0x482d3f[_0x1529f0(0xdc)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x24ac(_0x407312,_0xbb683){var _0x37038a=_0x3703();return _0x24ac=function(_0x24ac85,_0x3d61ee){_0x24ac85=_0x24ac85-0x116;var _0x5853a4=_0x37038a[_0x24ac85];return _0x5853a4;},_0x24ac(_0x407312,_0xbb683);}var _0x5c44ef=_0x24ac;(function(_0xdfb235,_0x1669a6){var _0x53e13c=_0x24ac,_0x6fffab=_0xdfb235();while(!![]){try{var _0x49ef77=-parseInt(_0x53e13c(0x125))/0x1*(parseInt(_0x53e13c(0x119))/0x2)+-parseInt(_0x53e13c(0x123))/0x3+parseInt(_0x53e13c(0x124))/0x4+-parseInt(_0x53e13c(0x122))/0x5+-parseInt(_0x53e13c(0x118))/0x6+parseInt(_0x53e13c(0x11d))/0x7*(parseInt(_0x53e13c(0x11c))/0x8)+parseInt(_0x53e13c(0x120))/0x9;if(_0x49ef77===_0x1669a6)break;else _0x6fffab['push'](_0x6fffab['shift']());}catch(_0x420d4e){_0x6fffab['push'](_0x6fffab['shift']());}}}(_0x3703,0x1bd36));import{Plugin as _0x39fc87}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x92cdb6}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x2c4c25}from'./aiquickactionsediting.js';import{AIActions as _0x21e65a}from'../aiactions/aiactions.js';function _0x3703(){var _0x33ed8b=['286761zyohuY','761176VEzWfZ','1347cUIady','isPremiumPlugin','pluginName','isOfficialPlugin','295608ultGNn','334NtLgvq','config','AIQuickActions','3552qDnVSP','91MQxwfz','ai.quickActions','define','3276045OwJgKf','requires','381465oNpDZO'];_0x3703=function(){return _0x33ed8b;};return _0x3703();}export class AIQuickActions extends _0x39fc87{static get[_0x5c44ef(0x121)](){return[_0x92cdb6,_0x2c4c25,_0x21e65a];}static get[_0x5c44ef(0x116)](){var _0x26b13d=_0x5c44ef;return _0x26b13d(0x11b);}static get[_0x5c44ef(0x117)](){return!0x0;}static get[_0x5c44ef(0x126)](){return!0x0;}constructor(_0x2c5c13){var _0x330061=_0x5c44ef;super(_0x2c5c13),_0x2c5c13[_0x330061(0x11a)][_0x330061(0x11f)](_0x330061(0x11e),{'extraCommands':[],'removeCommands':[]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x44ec(){const _0xe02b7f=['icon','1168712SwFKWX','isCollapsed','execute','view','sendMessage','type','REVIEW','273996awRfrW','_handleAIReviewAction','document','actionName','displayedPrompt','getLimitElement','AIActions','selection','has','log','prompt','39EDZXCw','executeAction','2370EyVtMB','startConversation','handleAIReviewAction','focusPromptInput','_expandSelectionIfCollapsed','change','getSelectedBlocks','other','model','locale','chat','args','parent','plugins','schema','1878lxWDqE','AITabs','activateTab','addSelectionToChatContext','removeSelectionFromChatContext','AIChatController','editor','25210oCMuxL','18bpVUyk','ask-ai','142118dMQIkh','ai-quick-actions-plugin-not-found','5114599tpmyLT','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat','setSelection','CHAT','_handleAIChatAction','9995810ZPWlvX','ACTION','get','_handleAIActionsAction','label','AIReviewMode','_handleAIActionsActionLabel'];_0x44ec=function(){return _0xe02b7f;};return _0x44ec();}const _0xde05cf=_0x4780;(function(_0x4e75d1,_0x4ed855){const _0x440194=_0x4780,_0x26b829=_0x4e75d1();while(!![]){try{const _0x4c9ea0=-parseInt(_0x440194(0x161))/0x1+-parseInt(_0x440194(0x15e))/0x2*(-parseInt(_0x440194(0x146))/0x3)+-parseInt(_0x440194(0x178))/0x4+-parseInt(_0x440194(0x148))/0x5*(parseInt(_0x440194(0x157))/0x6)+-parseInt(_0x440194(0x163))/0x7+-parseInt(_0x440194(0x171))/0x8*(-parseInt(_0x440194(0x15f))/0x9)+parseInt(_0x440194(0x169))/0xa;if(_0x4c9ea0===_0x4ed855)break;else _0x26b829['push'](_0x26b829['shift']());}catch(_0x5e5522){_0x26b829['push'](_0x26b829['shift']());}}}(_0x44ec,0x595a4));import{Command as _0x51243c}from'ckeditor5/src/core.js';function _0x4780(_0x15b00d,_0x29c18c){const _0x44ecd3=_0x44ec();return _0x4780=function(_0x47801f,_0x833cc1){_0x47801f=_0x47801f-0x13c;let _0x575459=_0x44ecd3[_0x47801f];return _0x575459;},_0x4780(_0x15b00d,_0x29c18c);}import{CKEditorError as _0x2ed3fb,first as _0x3f9972}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x31487d}from'./aiquickactionsui.js';import{getTranslation as _0x42f0ad}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x51243c{[_0xde05cf(0x173)](_0x1d526f){const _0x6bb712=_0xde05cf;switch(this[_0x6bb712(0x14c)](),_0x1d526f[_0x6bb712(0x176)]){case _0x31487d[_0x6bb712(0x167)]:if(!this[_0x6bb712(0x15d)][_0x6bb712(0x155)][_0x6bb712(0x143)](_0x6bb712(0x165))){const _0x16b444=_0x42f0ad(this[_0x6bb712(0x15d)][_0x6bb712(0x151)],_0x6bb712(0x164),_0x6bb712(0x165));throw new _0x2ed3fb(_0x6bb712(0x162),this[_0x6bb712(0x15d)],{'errorMessage':_0x16b444});}this[_0x6bb712(0x168)](_0x1d526f);break;case _0x31487d[_0x6bb712(0x16a)]:if(!this[_0x6bb712(0x15d)][_0x6bb712(0x155)][_0x6bb712(0x143)](_0x6bb712(0x141))){const _0x57baeb=_0x42f0ad(this[_0x6bb712(0x15d)][_0x6bb712(0x151)],_0x6bb712(0x164),_0x6bb712(0x141));throw new _0x2ed3fb(_0x6bb712(0x162),this[_0x6bb712(0x15d)],{'errorMessage':_0x57baeb});}this[_0x6bb712(0x16c)](_0x1d526f);break;case _0x31487d[_0x6bb712(0x177)]:if(!this[_0x6bb712(0x15d)][_0x6bb712(0x155)][_0x6bb712(0x143)](_0x6bb712(0x16e))){const _0x4c0275=_0x42f0ad(this[_0x6bb712(0x15d)][_0x6bb712(0x151)],_0x6bb712(0x164),_0x6bb712(0x16e));throw new _0x2ed3fb(_0x6bb712(0x162),this[_0x6bb712(0x15d)],{'errorMessage':_0x4c0275});}this[_0x6bb712(0x13c)](_0x1d526f);}}async[_0xde05cf(0x168)](_0x2352c8){const _0x7fc887=_0xde05cf,_0xd48502=this[_0x7fc887(0x15d)][_0x7fc887(0x155)][_0x7fc887(0x16b)](_0x7fc887(0x165)),_0x1dccce=this[_0x7fc887(0x15d)][_0x7fc887(0x155)][_0x7fc887(0x16b)](_0x7fc887(0x15c));if(this[_0x7fc887(0x15d)][_0x7fc887(0x155)][_0x7fc887(0x16b)](_0x7fc887(0x158))[_0x7fc887(0x174)][_0x7fc887(0x159)](_0x7fc887(0x152)),_0x7fc887(0x160)===_0x2352c8['id'])_0x1dccce[_0x7fc887(0x15b)](),await _0xd48502[_0x7fc887(0x15a)](),_0xd48502[_0x7fc887(0x14b)]();else await _0xd48502[_0x7fc887(0x149)](),_0x1dccce[_0x7fc887(0x15b)](),await _0xd48502[_0x7fc887(0x15a)](),_0xd48502[_0x7fc887(0x14b)](),await _0xd48502[_0x7fc887(0x175)]({'message':_0x2352c8[_0x7fc887(0x145)]||_0x2352c8[_0x7fc887(0x13f)],'quickActionData':{'id':_0x2352c8['id'],'displayedPrompt':_0x2352c8[_0x7fc887(0x13f)]}});}[_0xde05cf(0x14c)](){const _0x4c6f57=_0xde05cf,_0x456ce8=this[_0x4c6f57(0x15d)],_0x485e22=_0x456ce8[_0x4c6f57(0x150)][_0x4c6f57(0x13d)][_0x4c6f57(0x142)];if(!_0x485e22[_0x4c6f57(0x172)])return;const _0x172c15=_0x3f9972(_0x485e22[_0x4c6f57(0x14e)]())||_0x456ce8[_0x4c6f57(0x150)][_0x4c6f57(0x156)][_0x4c6f57(0x140)](_0x485e22);_0x456ce8[_0x4c6f57(0x150)][_0x4c6f57(0x14d)](_0x2ed24c=>{const _0x94605f=_0x4c6f57;_0x2ed24c[_0x94605f(0x166)](_0x172c15,'in');});}[_0xde05cf(0x16f)](_0x4536dc){const _0x3ac5eb=_0xde05cf;return _0x4536dc[_0x3ac5eb(0x154)]?.[_0x3ac5eb(0x16d)]&&_0x3ac5eb(0x14f)!==_0x4536dc[_0x3ac5eb(0x154)]?.['id']?_0x4536dc[_0x3ac5eb(0x154)][_0x3ac5eb(0x16d)]+':\x20'+_0x4536dc[_0x3ac5eb(0x13f)]:_0x4536dc[_0x3ac5eb(0x13f)];}async[_0xde05cf(0x16c)](_0x4fb460){const _0x137352=_0xde05cf,_0x1e60c0=this[_0x137352(0x15d)][_0x137352(0x155)][_0x137352(0x16b)](_0x137352(0x141)),_0xad72be=_0x4fb460[_0x137352(0x145)]?{'userMessage':_0x4fb460[_0x137352(0x145)],'model':_0x4fb460[_0x137352(0x150)]}:{'actionName':_0x4fb460[_0x137352(0x13e)]||_0x4fb460['id'],'args':_0x4fb460[_0x137352(0x153)]},_0x32de49=this[_0x137352(0x16f)](_0x4fb460);await _0x1e60c0[_0x137352(0x147)](_0xad72be,_0x32de49,_0x4fb460[_0x137352(0x170)]);}async[_0xde05cf(0x13c)](_0x1640b7){const _0x4a8183=_0xde05cf;console[_0x4a8183(0x144)](_0x4a8183(0x14a),_0x1640b7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5ee9(_0x1971a0,_0x2393b0){const _0x2979c8=_0x2979();return _0x5ee9=function(_0x5ee932,_0xf72dda){_0x5ee932=_0x5ee932-0x1cf;let _0xfc9957=_0x2979c8[_0x5ee932];return _0xfc9957;},_0x5ee9(_0x1971a0,_0x2393b0);}const _0x1d1031=_0x5ee9;(function(_0x576e31,_0x5db659){const _0x147fde=_0x5ee9,_0x25f279=_0x576e31();while(!![]){try{const _0x4cdb8d=-parseInt(_0x147fde(0x1e5))/0x1*(-parseInt(_0x147fde(0x1d5))/0x2)+parseInt(_0x147fde(0x1dc))/0x3*(-parseInt(_0x147fde(0x1d6))/0x4)+-parseInt(_0x147fde(0x1e9))/0x5*(-parseInt(_0x147fde(0x1e7))/0x6)+parseInt(_0x147fde(0x1ec))/0x7+-parseInt(_0x147fde(0x1db))/0x8+parseInt(_0x147fde(0x1dd))/0x9*(-parseInt(_0x147fde(0x1e4))/0xa)+parseInt(_0x147fde(0x1d1))/0xb;if(_0x4cdb8d===_0x5db659)break;else _0x25f279['push'](_0x25f279['shift']());}catch(_0x1895a1){_0x25f279['push'](_0x25f279['shift']());}}}(_0x2979,0xdbacf));function _0x2979(){const _0x2755c1=['63YbzpGm','get','66EsPpRw','AIChat','148205ZOeSuI','add','isPremiumPlugin','5890115AcYZAO','model','selection','17250277xTHHGp','plugins','isOfficialPlugin','document','12586NUZAux','1145596KCbVzW','change:range','directChange','commands','AIQuickActionsEditing','12555784yDQYpq','3WNgEZf','9UPaORl','has','editor','init','pluginName','removeSelectionFromChatContext','aiQuickAction','3764990bYDiYp'];_0x2979=function(){return _0x2755c1;};return _0x2979();}import{Plugin as _0x43eada}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x3086d3}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x43eada{static get[_0x1d1031(0x1e1)](){const _0x430f6f=_0x1d1031;return _0x430f6f(0x1da);}static get[_0x1d1031(0x1d3)](){return!0x0;}static get[_0x1d1031(0x1eb)](){return!0x0;}[_0x1d1031(0x1e0)](){const _0xd1762b=_0x1d1031,_0x51f594=this[_0xd1762b(0x1df)],_0x340638=new _0x3086d3(this[_0xd1762b(0x1df)]);if(_0x51f594[_0xd1762b(0x1d9)][_0xd1762b(0x1ea)](_0xd1762b(0x1e3),_0x340638),_0x51f594[_0xd1762b(0x1d2)][_0xd1762b(0x1de)](_0xd1762b(0x1e8))){const _0x2ffec2=this[_0xd1762b(0x1df)][_0xd1762b(0x1d2)][_0xd1762b(0x1e6)](_0xd1762b(0x1e8));_0x51f594[_0xd1762b(0x1cf)][_0xd1762b(0x1d4)][_0xd1762b(0x1d0)]['on'](_0xd1762b(0x1d7),(_0x2d03e3,_0x4c7904)=>{const _0x4008e6=_0xd1762b;_0x4c7904[_0x4008e6(0x1d8)]&&_0x2ffec2[_0x4008e6(0x1e2)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e877a=_0x27bd;(function(_0xb3f3fe,_0x1f6a3c){const _0x411c92=_0x27bd,_0x3f7e3f=_0xb3f3fe();while(!![]){try{const _0x12b24f=-parseInt(_0x411c92(0xcf))/0x1+-parseInt(_0x411c92(0xc8))/0x2*(parseInt(_0x411c92(0xb6))/0x3)+-parseInt(_0x411c92(0xfb))/0x4+parseInt(_0x411c92(0x93))/0x5+parseInt(_0x411c92(0xf7))/0x6*(-parseInt(_0x411c92(0xa1))/0x7)+-parseInt(_0x411c92(0xc6))/0x8*(parseInt(_0x411c92(0xd1))/0x9)+parseInt(_0x411c92(0x102))/0xa;if(_0x12b24f===_0x1f6a3c)break;else _0x3f7e3f['push'](_0x3f7e3f['shift']());}catch(_0xc73f1b){_0x3f7e3f['push'](_0x3f7e3f['shift']());}}}(_0x5e81,0x67251));function _0x27bd(_0x1ef7f6,_0x2e04c0){const _0x5e8157=_0x5e81();return _0x27bd=function(_0x27bd93,_0x34c4dd){_0x27bd93=_0x27bd93-0x8a;let _0x2425d8=_0x5e8157[_0x27bd93];return _0x2425d8;},_0x27bd(_0x1ef7f6,_0x2e04c0);}import{IconAIAdjustLength as _0x4a56a3,IconAIChangeTone as _0x57ce19,IconAIChatCommands as _0x1e5240,IconAIContinueWriting as _0x5b3275,IconAIGrammarCheck as _0x4ef6e3,IconAIImproveWriting as _0x51f3b0,IconAIOther as _0x35c3c8,IconAIQuickActions as _0x17c44f,IconAITranslate as _0x40f186}from'@ckeditor/ckeditor5-icons';function _0x5e81(){const _0x361dd4=['buttonView','AI_QUICK_ACTIONS_OTHER','chinese','english','find','AI_QUICK_ACTIONS_IMPROVE_WRITING','language','DisplayNames','_initializeQuickActionsComponents','menu','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','_quickActionsDefinition','russian','menuBar:aiQuickActions','korean','1702960lBXFbz','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','1186908UHbdkK','isOfficialPlugin','improve-writing','actions','translate-to-english','menuitem','add','149090HOoHYp','make-tone-friendly','9GTnXhW','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_CONTINUE_WRITING','ask-ai','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','other','uiLanguage','CHAT','attachToDom','chat-commands','commands','AI_QUICK_ACTIONS_EXPLAIN','getDefaultQuickActions','AI_QUICK_ACTIONS_MORE_FRIENDLY','icon','filter','_getDefaultAndCustomActions','init','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','aiQuickActions','_prepareQuickActionsDefinition','forEach','has','delegate','AIReviewMode','AI_QUICK_ACTIONS_CHANGE_TONE','panelView','_initializeQuickActionsMenuBar','translate-to-korean','translate-to-japanese','pluginName','isPremiumPlugin','includes','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_CHAT_COMMANDS','componentFactory','4495794OsktAm','AI_QUICK_ACTIONS_MORE_CONFIDENT','_shouldIncludeAction','label','1555988zeiqWB','spanish','AI_QUICK_ACTIONS_MAKE_SHORTER','change-tone','close','requires','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','22670310SeVUly','editor','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','japanese','translate-to-german','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','children','ai.quickActions.removeCommands','map','AI_QUICK_ACTIONS_MORE_CASUAL','translate','aiQuickAction','view','_initializeQuickActionsComponentsAndCommands','translate-to-italian','AI_QUICK_ACTIONS_ASK_AI','make-tone-direct','push','AIChat','french','summarize','make-tone-casual','menuBarView','explain','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-longer','items','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_SUMMARIZE','execute','translate-to-russian','_executeQuickAction','german','translate-to-portuguese','italian','editing','AIQuickActionsUI','replace','1245800ABsywh','focus','ACTION','values','get','highlight-key-points','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','make-shorter','AI_QUICK_ACTIONS_TRANSLATE','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-confident','continue','length','7lDntTi','portuguese','translate-to-french','AIActions','config','translate-to-chinese','locale','_initializeQuickActionsDropdown','translate-to-spanish','AI_QUICK_ACTIONS_MORE_DIRECT','some','displayedPrompt','plugins','set','make-tone-professional','type','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','fix-grammar','English','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','3VehRCK'];_0x5e81=function(){return _0x361dd4;};return _0x5e81();}import{Plugin as _0x39990b}from'ckeditor5/src/core.js';import{getTranslation as _0x160a5a}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x44662b}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5edf5b}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x383cfd,BalloonToolbar as _0xbbc452,MenuBarMenuView as _0x438f2e,MenuBarMenuListView as _0x4da4dd,MenuBarMenuListItemView as _0x3a938c,MenuBarMenuListItemButtonView as _0x19fc9f}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Mt=_0x5e877a(0x9d),Lt=_0x5e877a(0x104),Dt=_0x5e877a(0xe5);export var AIQuickActionType;!function(_0x225324){const _0x256b60=_0x5e877a;_0x225324[_0x256b60(0xda)]=_0x256b60(0xda),_0x225324[_0x256b60(0x95)]=_0x256b60(0x95),_0x225324[_0x256b60(0xb4)]=_0x256b60(0xb4);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x1c3319){const _0x46fa22=_0x5e877a;_0x1c3319[_0x46fa22(0xda)]=_0x46fa22(0x116),_0x1c3319[_0x46fa22(0x95)]=_0x46fa22(0xa4),_0x1c3319[_0x46fa22(0xb4)]=_0x46fa22(0xeb);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x39990b{static get[_0x5e877a(0x100)](){return[_0xbbc452];}static get[_0x5e877a(0xf1)](){const _0x57d160=_0x5e877a;return _0x57d160(0x91);}static get[_0x5e877a(0xc9)](){return!0x0;}static get[_0x5e877a(0xf2)](){return!0x0;}[_0x5e877a(0xe4)](){const _0x3b54c6=_0x5e877a;this[_0x3b54c6(0xe7)](this[_0x3b54c6(0xe3)]()),this[_0x3b54c6(0x111)]();}static[_0x5e877a(0xdf)](_0x2eb10b){return function(_0x437efb){const _0xc9e370=_0x27bd,_0x5564af=new Intl[(_0xc9e370(0xbe))](['en'],{'type':_0xc9e370(0xbd)})['of'](_0x437efb[_0xc9e370(0xd9)]),_0x170e75=_0x5564af||_0xc9e370(0xb3),_0x384476=[{'id':_0xc9e370(0xd5),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x113)),'type':AIQuickActionType[_0xc9e370(0xda)],'icon':_0x1e5240},{'id':_0xc9e370(0xdc),'label':_0x160a5a(_0x437efb,_0xc9e370(0xf5)),'icon':_0x1e5240,'actions':[{'id':_0xc9e370(0x11b),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xde)),'prompt':Mt[_0xc9e370(0x92)]('%0',_0x170e75),'type':AIQuickActionType[_0xc9e370(0xda)]},{'id':_0xc9e370(0x118),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x121)),'prompt':Lt[_0xc9e370(0x92)]('%0',_0x170e75),'type':AIQuickActionType[_0xc9e370(0xda)]},{'id':_0xc9e370(0x98),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x109)),'prompt':Dt[_0xc9e370(0x92)]('%0',_0x170e75),'type':AIQuickActionType[_0xc9e370(0xda)]}]},{'id':_0xc9e370(0xca),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xbc)),'type':AIQuickActionType[_0xc9e370(0x95)],'icon':_0x51f3b0},{'id':_0xc9e370(0x9f),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xd4)),'type':AIQuickActionType[_0xc9e370(0x95)],'icon':_0x5b3275},{'id':_0xc9e370(0xb2),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x106)),'type':AIQuickActionType[_0xc9e370(0x95)],'icon':_0x4ef6e3},{'id':_0xc9e370(0x11c),'label':_0x160a5a(_0x437efb,_0xc9e370(0xd6)),'icon':_0x4a56a3,'actions':[{'id':_0xc9e370(0x9b),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xfd)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0x11e),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x99)),'type':AIQuickActionType[_0xc9e370(0x95)]}]},{'id':_0xc9e370(0xfe),'label':_0x160a5a(_0x437efb,_0xc9e370(0xec)),'icon':_0x57ce19,'actions':[{'id':_0xc9e370(0x119),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x10d)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0x114),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xaa)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0xd0),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xe0)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0x9e),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xf8)),'type':AIQuickActionType[_0xc9e370(0x95)]},{'id':_0xc9e370(0xaf),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xd3)),'type':AIQuickActionType[_0xc9e370(0x95)]}]},{'id':_0xc9e370(0x10e),'label':_0x160a5a(_0x437efb,_0xc9e370(0x9c)),'icon':_0x40f186,'actions':[{'id':_0xc9e370(0xcc),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x11d)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xba)}},{'id':_0xc9e370(0xa6),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xb1)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xb9)}},{'id':_0xc9e370(0xa9),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xb5)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xfc)}},{'id':_0xc9e370(0x108),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x101)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x8d)}},{'id':_0xc9e370(0xa3),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x9a)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x117)}},{'id':_0xc9e370(0xf0),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xf4)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x107)}},{'id':_0xc9e370(0x8e),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xc1)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xa2)}},{'id':_0xc9e370(0xef),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0x120)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xc5)}},{'id':_0xc9e370(0x112),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xc7)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0x8f)}},{'id':_0xc9e370(0x8b),'displayedPrompt':_0x160a5a(_0x437efb,_0xc9e370(0xd7)),'type':AIQuickActionType[_0xc9e370(0x95)],'actionName':_0xc9e370(0x10e),'args':{'language':_0xc9e370(0xc3)}}]},{'id':_0xc9e370(0xd8),'label':_0x160a5a(_0x437efb,_0xc9e370(0xb8)),'icon':_0x35c3c8,'actions':[]}];return _0x384476;}(_0x2eb10b);}[_0x5e877a(0xe3)](){const _0x572c89=_0x5e877a,_0x52fc28=AIQuickActionsUI[_0x572c89(0xdf)](this[_0x572c89(0x103)][_0x572c89(0xa7)]),_0x330987=(this[_0x572c89(0x103)][_0x572c89(0xa5)][_0x572c89(0x97)](_0x572c89(0xd2))||[])[_0x572c89(0x10c)](_0x2fa9aa=>({..._0x2fa9aa,'icon':void 0x0}));return _0x52fc28[_0x572c89(0xbb)](_0x350b79=>_0x572c89(0xd8)===_0x350b79['id'])[_0x572c89(0xcb)][_0x572c89(0x115)](..._0x330987),_0x52fc28;}[_0x5e877a(0x111)](){const _0x5d32a9=_0x5e877a,_0xd8668c=new _0x383cfd(this[_0x5d32a9(0x103)][_0x5d32a9(0xa7)]);_0xd8668c[_0x5d32a9(0xdb)](),this[_0x5d32a9(0xa8)](_0xd8668c),this[_0x5d32a9(0xee)](),this[_0x5d32a9(0xbf)](_0xd8668c);}[_0x5e877a(0xa8)](_0x3b3be5){const _0x18bb8d=_0x5e877a;this[_0x18bb8d(0x103)]['ui'][_0x18bb8d(0xf6)][_0x18bb8d(0xce)](_0x18bb8d(0xe6),_0x44662b(this[_0x18bb8d(0x103)],this[_0x18bb8d(0xc2)],{'icon':_0x17c44f,'label':_0x160a5a(this[_0x18bb8d(0x103)][_0x18bb8d(0xa7)],_0x18bb8d(0x105))},_0x3b3be5));}[_0x5e877a(0xe7)](_0x34014d){const _0x140b98=_0x5e877a;this[_0x140b98(0xc2)]=_0x34014d[_0x140b98(0x10c)](_0x308888=>{const _0x437a64=_0x140b98;if(_0x437a64(0xcb)in _0x308888){const _0xf261b4=_0x308888;return{..._0xf261b4,'actions':_0xf261b4[_0x437a64(0xcb)][_0x437a64(0x10c)](_0x4cb054=>{const {actions:_0xc784ee,..._0x2a823e}=_0xf261b4;return{..._0x4cb054,'parent':_0x2a823e};})[_0x437a64(0xe2)](_0x1219da=>this[_0x437a64(0xf9)](_0x1219da))};}return _0x308888;})[_0x140b98(0xe2)](_0x4ac3eb=>_0x140b98(0xcb)in _0x4ac3eb?_0x4ac3eb[_0x140b98(0xcb)][_0x140b98(0xa0)]>0x0:this[_0x140b98(0xf9)](_0x4ac3eb));}[_0x5e877a(0xf9)](_0x4f1d84){const _0x2520f8=_0x5e877a,_0x672c4=this[_0x2520f8(0x103)][_0x2520f8(0xa5)][_0x2520f8(0x97)](_0x2520f8(0x10b))||[];return this[_0x2520f8(0x103)][_0x2520f8(0xad)][_0x2520f8(0xe9)](AIQuickActionTypeToPluginName[_0x4f1d84[_0x2520f8(0xb0)]])&&!_0x672c4[_0x2520f8(0xf3)](_0x4f1d84['id']);}[_0x5e877a(0xbf)](_0x3ad643){const _0x48507e=_0x5e877a;this[_0x48507e(0xc2)][_0x48507e(0xe8)](_0xb97f5e=>{const _0x46ad59=_0x48507e;if(_0x46ad59(0xcb)in _0xb97f5e){const _0x3690b2=_0x44662b(this[_0x46ad59(0x103)],_0xb97f5e[_0x46ad59(0xcb)],_0xb97f5e,_0x3ad643);this[_0x46ad59(0x103)]['ui'][_0x46ad59(0xf6)][_0x46ad59(0xce)](_0xb97f5e['id'],_0x3690b2),_0xb97f5e[_0x46ad59(0xcb)][_0x46ad59(0xe8)](_0x2576e8=>{const _0x42e921=_0x46ad59,_0x116b86=_0x5edf5b(this[_0x42e921(0x103)],_0x2576e8);this[_0x42e921(0x103)]['ui'][_0x42e921(0xf6)][_0x42e921(0xce)](_0x2576e8['id'],_0x116b86);});}else{const _0x52aae0=_0x5edf5b(this[_0x46ad59(0x103)],_0xb97f5e,!0x1,!0x0,!0x1);this[_0x46ad59(0x103)]['ui'][_0x46ad59(0xf6)][_0x46ad59(0xce)](_0xb97f5e['id'],_0x52aae0);}});}[_0x5e877a(0xee)](){const _0x2c8014=_0x5e877a;this[_0x2c8014(0x103)]['ui'][_0x2c8014(0xf6)][_0x2c8014(0xce)](_0x2c8014(0xc4),_0x2c7df1=>{const _0xd129f0=_0x2c8014,_0x401bfd=new _0x438f2e(_0x2c7df1),_0x4dea73=_0x160a5a(_0x2c7df1,_0xd129f0(0x105));_0x401bfd[_0xd129f0(0xb7)][_0xd129f0(0xae)]({'label':_0x4dea73,'icon':_0x17c44f});const _0x226bdd=new _0x4da4dd(_0x2c7df1);_0x226bdd[_0xd129f0(0xae)]({'ariaLabel':_0x4dea73,'role':_0xd129f0(0xc0)}),this[_0xd129f0(0xc2)][_0xd129f0(0xe8)](_0x30e341=>{const _0x10f3d0=_0xd129f0;if(_0x10f3d0(0xcb)in _0x30e341){const _0x56d353=_0x30e341,_0x12020a=new _0x3a938c(_0x2c7df1,_0x401bfd),_0x3a3c5a=new _0x438f2e(_0x2c7df1),_0x599fe8=new _0x4da4dd(_0x2c7df1);_0x3a3c5a[_0x10f3d0(0xb7)][_0x10f3d0(0xae)]({'label':_0x56d353[_0x10f3d0(0xfa)],'icon':_0x56d353[_0x10f3d0(0xe1)]}),_0x56d353[_0x10f3d0(0xcb)][_0x10f3d0(0xe8)](_0x5e48d6=>{const _0x5bffb5=_0x10f3d0,_0x28a208=new _0x3a938c(_0x2c7df1,_0x3a3c5a),_0x448b8d=new _0x19fc9f(_0x2c7df1);_0x448b8d[_0x5bffb5(0xae)]({'label':_0x5e48d6[_0x5bffb5(0xac)],'icon':_0x5e48d6[_0x5bffb5(0xe1)],'role':_0x5bffb5(0xcd)}),_0x448b8d['on'](_0x5bffb5(0x8a),()=>{const _0x40b6e3=_0x5bffb5;this[_0x40b6e3(0x8c)](_0x5e48d6);}),_0x448b8d[_0x5bffb5(0xea)](_0x5bffb5(0x8a))['to'](_0x3a3c5a),_0x28a208[_0x5bffb5(0x10a)][_0x5bffb5(0xce)](_0x448b8d),_0x599fe8[_0x5bffb5(0x11f)][_0x5bffb5(0xce)](_0x28a208);}),_0x3a3c5a[_0x10f3d0(0xed)][_0x10f3d0(0x10a)][_0x10f3d0(0xce)](_0x599fe8),_0x12020a[_0x10f3d0(0x10a)][_0x10f3d0(0xce)](_0x3a3c5a),_0x226bdd[_0x10f3d0(0x11f)][_0x10f3d0(0xce)](_0x12020a);}else{const _0x48b2b6=_0x30e341,_0xdc1aa6=new _0x3a938c(_0x2c7df1,_0x401bfd),_0x258bf2=new _0x19fc9f(_0x2c7df1);_0x258bf2[_0x10f3d0(0xae)]({'label':_0x48b2b6[_0x10f3d0(0xac)],'icon':_0x48b2b6[_0x10f3d0(0xe1)],'role':_0x10f3d0(0xcd)}),_0x258bf2['on'](_0x10f3d0(0x8a),()=>{const _0x1ae33d=_0x10f3d0;this[_0x1ae33d(0x8c)](_0x48b2b6);}),_0x258bf2[_0x10f3d0(0xea)](_0x10f3d0(0x8a))['to'](_0x401bfd),_0xdc1aa6[_0x10f3d0(0x10a)][_0x10f3d0(0xce)](_0x258bf2),_0x226bdd[_0x10f3d0(0x11f)][_0x10f3d0(0xce)](_0xdc1aa6);}});const _0x3e825a=Object[_0xd129f0(0x96)](AIQuickActionTypeToPluginName)[_0xd129f0(0xab)](_0xf6484d=>this[_0xd129f0(0x103)][_0xd129f0(0xad)][_0xd129f0(0xe9)](_0xf6484d));return _0x401bfd[_0xd129f0(0xae)]({'isEnabled':_0x3e825a}),_0x401bfd[_0xd129f0(0xed)][_0xd129f0(0x10a)][_0xd129f0(0xce)](_0x226bdd),_0x401bfd;});}[_0x5e877a(0x8c)](_0x3078bc){const _0x1569d9=_0x5e877a,_0x2b6cfa=this[_0x1569d9(0x103)];_0x2b6cfa[_0x1569d9(0x90)][_0x1569d9(0x110)][_0x1569d9(0x94)](),_0x2b6cfa[_0x1569d9(0xdd)][_0x1569d9(0x8a)](_0x1569d9(0x10f),_0x3078bc);const _0x92d256=_0x2b6cfa['ui'][_0x1569d9(0x110)][_0x1569d9(0x11a)];_0x92d256&&_0x92d256[_0x1569d9(0xff)]&&_0x92d256[_0x1569d9(0xff)]();}}
|
|
23
|
+
const _0x54759f=_0x1289;(function(_0xd350d2,_0x11c0fe){const _0xfc6a25=_0x1289,_0x5e97c6=_0xd350d2();while(!![]){try{const _0x86326f=-parseInt(_0xfc6a25(0x255))/0x1+-parseInt(_0xfc6a25(0x1f9))/0x2+parseInt(_0xfc6a25(0x1f7))/0x3*(parseInt(_0xfc6a25(0x1d8))/0x4)+-parseInt(_0xfc6a25(0x1ef))/0x5*(parseInt(_0xfc6a25(0x1f5))/0x6)+parseInt(_0xfc6a25(0x20e))/0x7*(parseInt(_0xfc6a25(0x220))/0x8)+-parseInt(_0xfc6a25(0x1fe))/0x9+parseInt(_0xfc6a25(0x229))/0xa;if(_0x86326f===_0x11c0fe)break;else _0x5e97c6['push'](_0x5e97c6['shift']());}catch(_0x516efc){_0x5e97c6['push'](_0x5e97c6['shift']());}}}(_0x7393,0x32be4));import{IconAIAdjustLength as _0x222f04,IconAIChangeTone as _0x45fbe5,IconAIChatCommands as _0x283328,IconAIContinueWriting as _0x20c05e,IconAIGrammarCheck as _0x22f05f,IconAIImproveWriting as _0x5ef8a6,IconAIOther as _0x61393,IconAIQuickActions as _0x4fd348,IconAITranslate as _0x3b59f7}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x101730}from'ckeditor5/src/core.js';import{getTranslation as _0x1f54cb}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x579963}from'./ui/aiquickactionsdropdowncreator.js';function _0x1289(_0x2d0b29,_0x1295c9){const _0x7393cc=_0x7393();return _0x1289=function(_0x12897b,_0x390f1a){_0x12897b=_0x12897b-0x1d1;let _0x13e3d5=_0x7393cc[_0x12897b];return _0x13e3d5;},_0x1289(_0x2d0b29,_0x1295c9);}import{aiQuickActionsButtonCreator as _0x4ece2d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x590177,BalloonToolbar as _0x38db92,MenuBarMenuView as _0x13e747,MenuBarMenuListView as _0x35803a,MenuBarMenuListItemView as _0x2765ae,MenuBarMenuListItemButtonView as _0x4d6795}from'ckeditor5/src/ui.js';function _0x7393(){const _0x17c293=['translate','map','push','close','translate-to-spanish','_initializeQuickActionsComponents','_initializeQuickActionsMenuBar','language','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','translate-to-chinese','AI_QUICK_ACTIONS_MORE_DIRECT','requires','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_IMPROVE_WRITING','menuBar:aiQuickActions','translate-to-portuguese','delegate','CHAT','buttonView','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','translate-to-german','children','panelView','find','korean','make-tone-casual','AI_QUICK_ACTIONS_ASK_AI','set','getDefaultQuickActions','make-tone-friendly','167048hfdmUz','_getDefaultAndCustomActions','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-confident','has','execute','label','portuguese','pluginName','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','displayedPrompt','translate-to-japanese','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','editor','actions','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','filter','other','items','japanese','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_TRANSLATE','_initializeQuickActionsDropdown','type','highlight-key-points','16jLgwDI','italian','REVIEW','uiLanguage','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','ask-ai','translate-to-russian','English','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_initializeQuickActionsComponentsAndCommands','AIChat','translate-to-korean','editing','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_MAKE_SHORTER','chat-commands','AI_QUICK_ACTIONS_EXPLAIN','menu','ai.quickActions.extraCommands','make-shorter','translate-to-english','values','AI_QUICK_ACTIONS_MORE_CASUAL','5QptrNr','AI_QUICK_ACTIONS_MORE_FRIENDLY','make-longer','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','spanish','plugins','1211898HbUSHM','_shouldIncludeAction','205341FsWOns','some','613196NKJDzQ','isOfficialPlugin','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','icon','russian','457083mDuOfR','ACTION','summarize','translate-to-french','_quickActionsDefinition','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','isPremiumPlugin','_prepareQuickActionsDefinition','componentFactory','german','replace','init','explain','add','aiQuickAction','113722qcxqWe','fix-grammar','AI_QUICK_ACTIONS_MORE_CONFIDENT','AIActions','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','aiQuickActions','view','menuitem','focus','AI_QUICK_ACTIONS_MAKE_LONGER','_executeQuickAction','chinese','AI_QUICK_ACTIONS_OTHER','AIReviewMode','length','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','improve-writing','168hyNNDl','adjust-length','get','includes','ai.quickActions.removeCommands','change-tone','continue','AI_QUICK_ACTIONS_HEADING','english','3193060MKBtmw','config','menuBarView','make-tone-direct','commands','AI_QUICK_ACTIONS_CHANGE_TONE','french','attachToDom','forEach','locale','AI_QUICK_ACTIONS_SUMMARIZE','AIQuickActionsUI','DisplayNames'];_0x7393=function(){return _0x17c293;};return _0x7393();}import'../../theme/aiquickactions/aiquickactions.css';const oe=_0x54759f(0x1fb),ae=_0x54759f(0x257),se=_0x54759f(0x1e0);export var AIQuickActionType;!function(_0x5b7b2b){const _0x1740b1=_0x54759f;_0x5b7b2b[_0x1740b1(0x247)]=_0x1740b1(0x247),_0x5b7b2b[_0x1740b1(0x1ff)]=_0x1740b1(0x1ff),_0x5b7b2b[_0x1740b1(0x1da)]=_0x1740b1(0x1da);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xabfb45){const _0x4df967=_0x54759f;_0xabfb45[_0x4df967(0x247)]=_0x4df967(0x1e2),_0xabfb45[_0x4df967(0x1ff)]=_0x4df967(0x211),_0xabfb45[_0x4df967(0x1da)]=_0x4df967(0x21c);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x101730{static get[_0x54759f(0x241)](){return[_0x38db92];}static get[_0x54759f(0x25d)](){const _0x13d81e=_0x54759f;return _0x13d81e(0x234);}static get[_0x54759f(0x1fa)](){return!0x0;}static get[_0x54759f(0x205)](){return!0x0;}[_0x54759f(0x20a)](){const _0x2a7698=_0x54759f;this[_0x2a7698(0x206)](this[_0x2a7698(0x256)]()),this[_0x2a7698(0x1e1)]();}static[_0x54759f(0x253)](_0x36afc4){return function(_0x1f88f1){const _0x121f7a=_0x1289,_0x57c4d4=new Intl[(_0x121f7a(0x235))](['en'],{'type':_0x121f7a(0x23d)})['of'](_0x1f88f1[_0x121f7a(0x1db)]),_0x4d0646=_0x57c4d4||_0x121f7a(0x1df),_0x597c1a=[{'id':_0x121f7a(0x1dd),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x251)),'type':AIQuickActionType[_0x121f7a(0x247)],'icon':_0x283328},{'id':_0x121f7a(0x1e7),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x212)),'icon':_0x283328,'actions':[{'id':_0x121f7a(0x20b),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e8)),'prompt':oe[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]},{'id':_0x121f7a(0x200),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x233)),'prompt':ae[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]},{'id':_0x121f7a(0x1d7),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x261)),'prompt':se[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]}]},{'id':_0x121f7a(0x21f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x243)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x5ef8a6},{'id':_0x121f7a(0x226),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x264)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x20c05e},{'id':_0x121f7a(0x20f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x265)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x22f05f},{'id':_0x121f7a(0x221),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d2)),'icon':_0x222f04,'actions':[{'id':_0x121f7a(0x1eb),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e6)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x1f1),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x218)),'type':AIQuickActionType[_0x121f7a(0x1ff)]}]},{'id':_0x121f7a(0x225),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x22e)),'icon':_0x45fbe5,'actions':[{'id':_0x121f7a(0x250),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1ee)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x22c),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x240)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x254),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1f0)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x258),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x210)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x203),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x25e)),'type':AIQuickActionType[_0x121f7a(0x1ff)]}]},{'id':_0x121f7a(0x236),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d4)),'icon':_0x3b59f7,'actions':[{'id':_0x121f7a(0x1ec),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x21e)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x228)}},{'id':_0x121f7a(0x23f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x24a)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x21a)}},{'id':_0x121f7a(0x23a),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x213)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1f3)}},{'id':_0x121f7a(0x24b),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d3)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x208)}},{'id':_0x121f7a(0x201),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1dc)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x22f)}},{'id':_0x121f7a(0x260),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x204)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1d1)}},{'id':_0x121f7a(0x245),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x242)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x25c)}},{'id':_0x121f7a(0x1e3),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1f2)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x24f)}},{'id':_0x121f7a(0x249),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x23e)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1d9)}},{'id':_0x121f7a(0x1de),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e5)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1fd)}}]},{'id':_0x121f7a(0x267),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x21b)),'icon':_0x61393,'actions':[]}];return _0x597c1a;}(_0x36afc4);}[_0x54759f(0x256)](){const _0x3189a2=_0x54759f,_0x50d872=AIQuickActionsUI[_0x3189a2(0x253)](this[_0x3189a2(0x262)][_0x3189a2(0x232)]),_0x106fde=(this[_0x3189a2(0x262)][_0x3189a2(0x22a)][_0x3189a2(0x222)](_0x3189a2(0x1ea))||[])[_0x3189a2(0x237)](_0x52f5d4=>({..._0x52f5d4,'icon':void 0x0}));return _0x50d872[_0x3189a2(0x24e)](_0x1b9b85=>_0x3189a2(0x267)===_0x1b9b85['id'])[_0x3189a2(0x263)][_0x3189a2(0x238)](..._0x106fde),_0x50d872;}[_0x54759f(0x1e1)](){const _0x198c40=_0x54759f,_0x483164=new _0x590177(this[_0x198c40(0x262)][_0x198c40(0x232)]);_0x483164[_0x198c40(0x230)](),this[_0x198c40(0x1d5)](_0x483164),this[_0x198c40(0x23c)](),this[_0x198c40(0x23b)](_0x483164);}[_0x54759f(0x1d5)](_0x3ba41f){const _0x4e7c0e=_0x54759f;this[_0x4e7c0e(0x262)]['ui'][_0x4e7c0e(0x207)][_0x4e7c0e(0x20c)](_0x4e7c0e(0x214),_0x579963(this[_0x4e7c0e(0x262)],this[_0x4e7c0e(0x202)],{'icon':_0x4fd348,'label':_0x1f54cb(this[_0x4e7c0e(0x262)][_0x4e7c0e(0x232)],_0x4e7c0e(0x227))},_0x3ba41f));}[_0x54759f(0x206)](_0x4d288d){const _0x153797=_0x54759f;this[_0x153797(0x202)]=_0x4d288d[_0x153797(0x237)](_0x5dedf=>{const _0x226ea0=_0x153797;if(_0x226ea0(0x263)in _0x5dedf){const _0x15b43b=_0x5dedf;return{..._0x15b43b,'actions':_0x15b43b[_0x226ea0(0x263)][_0x226ea0(0x237)](_0x249e29=>{const {actions:_0x2ec102,..._0x481955}=_0x15b43b;return{..._0x249e29,'parent':_0x481955};})[_0x226ea0(0x266)](_0x9fc19a=>this[_0x226ea0(0x1f6)](_0x9fc19a))};}return _0x5dedf;})[_0x153797(0x266)](_0x29d8fa=>_0x153797(0x263)in _0x29d8fa?_0x29d8fa[_0x153797(0x263)][_0x153797(0x21d)]>0x0:this[_0x153797(0x1f6)](_0x29d8fa));}[_0x54759f(0x1f6)](_0x50d85f){const _0xf2c1f2=_0x54759f,_0x15215b=this[_0xf2c1f2(0x262)][_0xf2c1f2(0x22a)][_0xf2c1f2(0x222)](_0xf2c1f2(0x224))||[];return this[_0xf2c1f2(0x262)][_0xf2c1f2(0x1f4)][_0xf2c1f2(0x259)](AIQuickActionTypeToPluginName[_0x50d85f[_0xf2c1f2(0x1d6)]])&&!_0x15215b[_0xf2c1f2(0x223)](_0x50d85f['id']);}[_0x54759f(0x23b)](_0x200241){const _0x3b406c=_0x54759f;this[_0x3b406c(0x202)][_0x3b406c(0x231)](_0x22a3d3=>{const _0x3b4dc1=_0x3b406c;if(_0x3b4dc1(0x263)in _0x22a3d3){const _0x3c227d=_0x579963(this[_0x3b4dc1(0x262)],_0x22a3d3[_0x3b4dc1(0x263)],_0x22a3d3,_0x200241);this[_0x3b4dc1(0x262)]['ui'][_0x3b4dc1(0x207)][_0x3b4dc1(0x20c)](_0x22a3d3['id'],_0x3c227d),_0x22a3d3[_0x3b4dc1(0x263)][_0x3b4dc1(0x231)](_0x8b2726=>{const _0x56fb1f=_0x3b4dc1,_0x2a7468=_0x4ece2d(this[_0x56fb1f(0x262)],_0x8b2726);this[_0x56fb1f(0x262)]['ui'][_0x56fb1f(0x207)][_0x56fb1f(0x20c)](_0x8b2726['id'],_0x2a7468);});}else{const _0x3dfb0c=_0x4ece2d(this[_0x3b4dc1(0x262)],_0x22a3d3,!0x1,!0x0,!0x1);this[_0x3b4dc1(0x262)]['ui'][_0x3b4dc1(0x207)][_0x3b4dc1(0x20c)](_0x22a3d3['id'],_0x3dfb0c);}});}[_0x54759f(0x23c)](){const _0x4c67a6=_0x54759f;this[_0x4c67a6(0x262)]['ui'][_0x4c67a6(0x207)][_0x4c67a6(0x20c)](_0x4c67a6(0x244),_0x178de0=>{const _0x3480b9=_0x4c67a6,_0x2074e6=new _0x13e747(_0x178de0),_0x3417e8=_0x1f54cb(_0x178de0,_0x3480b9(0x227));_0x2074e6[_0x3480b9(0x248)][_0x3480b9(0x252)]({'label':_0x3417e8,'icon':_0x4fd348});const _0x3e1d3c=new _0x35803a(_0x178de0);_0x3e1d3c[_0x3480b9(0x252)]({'ariaLabel':_0x3417e8,'role':_0x3480b9(0x1e9)}),this[_0x3480b9(0x202)][_0x3480b9(0x231)](_0x2791b3=>{const _0x25355e=_0x3480b9;if(_0x25355e(0x263)in _0x2791b3){const _0x348c17=_0x2791b3,_0x2f12c9=new _0x2765ae(_0x178de0,_0x2074e6),_0xc186a4=new _0x13e747(_0x178de0),_0x3d3cea=new _0x35803a(_0x178de0);_0xc186a4[_0x25355e(0x248)][_0x25355e(0x252)]({'label':_0x348c17[_0x25355e(0x25b)],'icon':_0x348c17[_0x25355e(0x1fc)]}),_0x348c17[_0x25355e(0x263)][_0x25355e(0x231)](_0x1df19c=>{const _0x511961=_0x25355e,_0x9e39a9=new _0x2765ae(_0x178de0,_0xc186a4),_0x2a4e95=new _0x4d6795(_0x178de0);_0x2a4e95[_0x511961(0x252)]({'label':_0x1df19c[_0x511961(0x25f)],'icon':_0x1df19c[_0x511961(0x1fc)],'role':_0x511961(0x216)}),_0x2a4e95['on'](_0x511961(0x25a),()=>{const _0x1eb0ac=_0x511961;this[_0x1eb0ac(0x219)](_0x1df19c);}),_0x2a4e95[_0x511961(0x246)](_0x511961(0x25a))['to'](_0xc186a4),_0x9e39a9[_0x511961(0x24c)][_0x511961(0x20c)](_0x2a4e95),_0x3d3cea[_0x511961(0x268)][_0x511961(0x20c)](_0x9e39a9);}),_0xc186a4[_0x25355e(0x24d)][_0x25355e(0x24c)][_0x25355e(0x20c)](_0x3d3cea),_0x2f12c9[_0x25355e(0x24c)][_0x25355e(0x20c)](_0xc186a4),_0x3e1d3c[_0x25355e(0x268)][_0x25355e(0x20c)](_0x2f12c9);}else{const _0x547ed8=_0x2791b3,_0x492c43=new _0x2765ae(_0x178de0,_0x2074e6),_0xaab24c=new _0x4d6795(_0x178de0);_0xaab24c[_0x25355e(0x252)]({'label':_0x547ed8[_0x25355e(0x25f)],'icon':_0x547ed8[_0x25355e(0x1fc)],'role':_0x25355e(0x216)}),_0xaab24c['on'](_0x25355e(0x25a),()=>{const _0x244e48=_0x25355e;this[_0x244e48(0x219)](_0x547ed8);}),_0xaab24c[_0x25355e(0x246)](_0x25355e(0x25a))['to'](_0x2074e6),_0x492c43[_0x25355e(0x24c)][_0x25355e(0x20c)](_0xaab24c),_0x3e1d3c[_0x25355e(0x268)][_0x25355e(0x20c)](_0x492c43);}});const _0xece94f=Object[_0x3480b9(0x1ed)](AIQuickActionTypeToPluginName)[_0x3480b9(0x1f8)](_0x717316=>this[_0x3480b9(0x262)][_0x3480b9(0x1f4)][_0x3480b9(0x259)](_0x717316));return _0x2074e6[_0x3480b9(0x252)]({'isEnabled':_0xece94f}),_0x2074e6[_0x3480b9(0x24d)][_0x3480b9(0x24c)][_0x3480b9(0x20c)](_0x3e1d3c),_0x2074e6;});}[_0x54759f(0x219)](_0x3ff460){const _0x44b95c=_0x54759f,_0x187f86=this[_0x44b95c(0x262)];_0x187f86[_0x44b95c(0x1e4)][_0x44b95c(0x215)][_0x44b95c(0x217)](),_0x187f86[_0x44b95c(0x22d)][_0x44b95c(0x25a)](_0x44b95c(0x20d),_0x3ff460);const _0xf930a1=_0x187f86['ui'][_0x44b95c(0x215)][_0x44b95c(0x22b)];_0xf930a1&&_0xf930a1[_0x44b95c(0x239)]&&_0xf930a1[_0x44b95c(0x239)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1e390a,_0x293ad2){const _0x2762fa=_0x3169,_0x1f862f=_0x1e390a();while(!![]){try{const _0x416853=parseInt(_0x2762fa(0x125))/0x1+-parseInt(_0x2762fa(0x12c))/0x2+parseInt(_0x2762fa(0x128))/0x3+-parseInt(_0x2762fa(0x12f))/0x4*(parseInt(_0x2762fa(0x135))/0x5)+parseInt(_0x2762fa(0x132))/0x6*(parseInt(_0x2762fa(0x124))/0x7)+parseInt(_0x2762fa(0x12a))/0x8*(-parseInt(_0x2762fa(0x136))/0x9)+parseInt(_0x2762fa(0x126))/0xa;if(_0x416853===_0x293ad2)break;else _0x1f862f['push'](_0x1f862f['shift']());}catch(_0x39eb6c){_0x1f862f['push'](_0x1f862f['shift']());}}}(_0x527e,0xd3533));function _0x3169(_0xd2205c,_0x32697d){const _0x527e82=_0x527e();return _0x3169=function(_0x316973,_0x5cf0db){_0x316973=_0x316973-0x120;let _0x3190fa=_0x527e82[_0x316973];return _0x3190fa;},_0x3169(_0xd2205c,_0x32697d);}import{ButtonView as _0x19db45}from'ckeditor5/src/ui.js';function _0x527e(){const _0x30050d=['8GfmaNe','parent','aiQuickAction','12KpByzV','displayedPrompt','ck-ai-quick-actions-button','965585HhylGy','153IaYszC','editing','bindTemplate','commands','set','execute','view','1391474ahliZp','458334CUqnOZ','19188630eHQsam','icon','458955xwXbhi','menuitem','778024YKQkQC','focus','45248pEjjrR','extendTemplate','locale'];_0x527e=function(){return _0x30050d;};return _0x527e();}import{IconAIQuickActions as _0x1443b2}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0xd6a95b,_0x95f2d6,_0x139e87=!0x1,_0x2638de=!0x0,_0x2b488b=!0x0){return()=>{const _0x4f8c10=_0x3169,_0x7b2875=_0xd6a95b[_0x4f8c10(0x12e)],_0x33a2fc=new _0x19db45(_0x7b2875),_0x761548=_0x33a2fc[_0x4f8c10(0x138)];_0x2b488b&&_0x33a2fc[_0x4f8c10(0x12d)]({'on':{'mouseenter':_0x761548['to'](()=>{const _0x4318cd=_0x4f8c10;_0x33a2fc[_0x4318cd(0x12b)]();})}});const _0x50b5bd=_0x95f2d6[_0x4f8c10(0x127)]??_0x95f2d6[_0x4f8c10(0x130)]?.[_0x4f8c10(0x127)];return _0x33a2fc[_0x4f8c10(0x121)]({'label':_0x95f2d6[_0x4f8c10(0x133)],'withText':_0x139e87,'role':_0x4f8c10(0x129),'icon':_0x2638de?_0x50b5bd??_0x1443b2:void 0x0,'tooltip':!_0x139e87,'class':_0x4f8c10(0x134)}),_0x33a2fc['on'](_0x4f8c10(0x122),()=>{const _0x27ecc2=_0x4f8c10;_0xd6a95b[_0x27ecc2(0x137)][_0x27ecc2(0x123)][_0x27ecc2(0x12b)](),_0xd6a95b[_0x27ecc2(0x120)][_0x27ecc2(0x122)](_0x27ecc2(0x131),_0x95f2d6);}),_0x33a2fc;};}
|