@ckeditor/ckeditor5-ai 47.6.2-alpha.0 → 47.6.2
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/model/aiactionsinteraction.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/aiassistantediting.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/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/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/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/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/utils/promisequeue.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/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.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/aiskeleton.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/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ai",
|
|
3
|
-
"version": "47.6.2
|
|
3
|
+
"version": "47.6.2",
|
|
4
4
|
"description": "AI features for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -28,20 +28,20 @@
|
|
|
28
28
|
"dist/translations/*.umd.js"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@ckeditor/ckeditor5-clipboard": "47.6.2
|
|
32
|
-
"@ckeditor/ckeditor5-cloud-services": "47.6.2
|
|
33
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.6.2
|
|
34
|
-
"@ckeditor/ckeditor5-core": "47.6.2
|
|
35
|
-
"@ckeditor/ckeditor5-engine": "47.6.2
|
|
36
|
-
"@ckeditor/ckeditor5-icons": "47.6.2
|
|
37
|
-
"@ckeditor/ckeditor5-markdown-gfm": "47.6.2
|
|
38
|
-
"@ckeditor/ckeditor5-real-time-collaboration": "47.6.2
|
|
39
|
-
"@ckeditor/ckeditor5-table": "47.6.2
|
|
40
|
-
"@ckeditor/ckeditor5-theme-lark": "47.6.2
|
|
41
|
-
"@ckeditor/ckeditor5-ui": "47.6.2
|
|
42
|
-
"@ckeditor/ckeditor5-utils": "47.6.2
|
|
43
|
-
"ckeditor5": "47.6.2
|
|
44
|
-
"ckeditor5-collaboration": "47.6.2
|
|
31
|
+
"@ckeditor/ckeditor5-clipboard": "47.6.2",
|
|
32
|
+
"@ckeditor/ckeditor5-cloud-services": "47.6.2",
|
|
33
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.6.2",
|
|
34
|
+
"@ckeditor/ckeditor5-core": "47.6.2",
|
|
35
|
+
"@ckeditor/ckeditor5-engine": "47.6.2",
|
|
36
|
+
"@ckeditor/ckeditor5-icons": "47.6.2",
|
|
37
|
+
"@ckeditor/ckeditor5-markdown-gfm": "47.6.2",
|
|
38
|
+
"@ckeditor/ckeditor5-real-time-collaboration": "47.6.2",
|
|
39
|
+
"@ckeditor/ckeditor5-table": "47.6.2",
|
|
40
|
+
"@ckeditor/ckeditor5-theme-lark": "47.6.2",
|
|
41
|
+
"@ckeditor/ckeditor5-ui": "47.6.2",
|
|
42
|
+
"@ckeditor/ckeditor5-utils": "47.6.2",
|
|
43
|
+
"ckeditor5": "47.6.2",
|
|
44
|
+
"ckeditor5-collaboration": "47.6.2",
|
|
45
45
|
"diff": "8.0.3",
|
|
46
46
|
"dom-serializer": "2.0.0",
|
|
47
47
|
"domhandler": "5.0.3",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x59288e=_0x304d;(function(_0x41afe1,_0x5ab6c0){const _0x4c50b8=_0x304d,_0x51ca5d=_0x41afe1();while(!![]){try{const _0x461ee2=parseInt(_0x4c50b8(0x1ad))/0x1+-parseInt(_0x4c50b8(0x1a8))/0x2*(-parseInt(_0x4c50b8(0x1c2))/0x3)+parseInt(_0x4c50b8(0x1b3))/0x4+parseInt(_0x4c50b8(0x1b4))/0x5*(-parseInt(_0x4c50b8(0x1bc))/0x6)+-parseInt(_0x4c50b8(0x1bf))/0x7*(-parseInt(_0x4c50b8(0x1ae))/0x8)+-parseInt(_0x4c50b8(0x1bd))/0x9*(-parseInt(_0x4c50b8(0x1c4))/0xa)+-parseInt(_0x4c50b8(0x1ab))/0xb;if(_0x461ee2===_0x5ab6c0)break;else _0x51ca5d['push'](_0x51ca5d['shift']());}catch(_0xa35a5d){_0x51ca5d['push'](_0x51ca5d['shift']());}}}(_0x2fc1,0x6d8fc));import{AIInteraction as _0xc7968a,AI_MODEL_EVENT_NAMES as _0x22b17d}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x13e074}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x536e5f}from'./aiactionsreply.js';function _0x304d(_0x45f2ce,_0x587b19){const _0x2fc15a=_0x2fc1();return _0x304d=function(_0x304d51,_0x3784f4){_0x304d51=_0x304d51-0x1a4;let _0xb34e52=_0x2fc15a[_0x304d51];return _0xb34e52;},_0x304d(_0x45f2ce,_0x587b19);}function _0x2fc1(){const _0x1ae742=['replies','6MVKeCu','819PbQTuo','replyCreated','77nqkpxi','executeAction','hasError','1452bfgywU','args','65530VQVakQ','delegate','createReply','current-document','TEXT','model','350olQjwO','editor','content','1567599XFCIPs','fire','93004CKuyYl','467272JrMyIn','userMessage','version','Current\x20document','html','245412RBMioc','4433030RQLvQy','connector','getDocumentContext','push','actionName','executeCustomAction','sendRequest'];_0x2fc1=function(){return _0x1ae742;};return _0x2fc1();}export class AIActionsInteraction extends _0xc7968a{[_0x59288e(0x1aa)];[_0x59288e(0x1b0)];[_0x59288e(0x1b8)];[_0x59288e(0x1c3)];[_0x59288e(0x1af)];[_0x59288e(0x1a7)];[_0x59288e(0x1c1)]=!0x1;constructor(_0x3ae1b9){const _0x58c637=_0x59288e;super(_0x3ae1b9),this[_0x58c637(0x1aa)]=_0x3ae1b9[_0x58c637(0x1aa)],this[_0x58c637(0x1b0)]=_0x3ae1b9[_0x58c637(0x1b0)],this[_0x58c637(0x1b8)]=_0x3ae1b9[_0x58c637(0x1b8)],this[_0x58c637(0x1c3)]=_0x3ae1b9[_0x58c637(0x1c3)],this[_0x58c637(0x1af)]=_0x3ae1b9[_0x58c637(0x1af)],this[_0x58c637(0x1a7)]=_0x3ae1b9[_0x58c637(0x1a7)];}async[_0x59288e(0x1ba)](){const _0x14d698=_0x59288e;return this[_0x14d698(0x1b8)]?this[_0x14d698(0x1b5)][_0x14d698(0x1c0)]({'content':this[_0x14d698(0x1aa)],'actionName':this[_0x14d698(0x1b8)],'args':this[_0x14d698(0x1c3)]}):this[_0x14d698(0x1b5)][_0x14d698(0x1b9)]({'content':this[_0x14d698(0x1aa)],'message':this[_0x14d698(0x1af)],'model':this[_0x14d698(0x1a7)],'outputFormat':_0x14d698(0x1b2)});}[_0x59288e(0x1b6)](){const _0xb09339=_0x59288e;return{'type':_0x13e074[_0xb09339(0x1a6)],'content':this[_0xb09339(0x1aa)],'version':this[_0xb09339(0x1b0)],'label':_0xb09339(0x1b1),'uiId':_0xb09339(0x1a5)};}[_0x59288e(0x1a4)](_0xc5a30){const _0x4f1207=_0x59288e,_0x443823=new _0x536e5f({'editor':this[_0x4f1207(0x1a9)],'documentContextContent':this[_0x4f1207(0x1aa)],..._0xc5a30});return this[_0x4f1207(0x1bb)][_0x4f1207(0x1b7)](_0x443823),_0x443823[_0x4f1207(0x1c5)](..._0x22b17d)['to'](this),this[_0x4f1207(0x1ac)](_0x4f1207(0x1be),_0x443823),_0x443823;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40f059=_0x4704;(function(_0x14b9b1,_0x529a6e){const _0x12d7df=_0x4704,_0x31f9f7=_0x14b9b1();while(!![]){try{const _0x2cb5bf=-parseInt(_0x12d7df(0x177))/0x1+parseInt(_0x12d7df(0x16b))/0x2+-parseInt(_0x12d7df(0x169))/0x3+-parseInt(_0x12d7df(0x179))/0x4*(-parseInt(_0x12d7df(0x172))/0x5)+parseInt(_0x12d7df(0x15a))/0x6+-parseInt(_0x12d7df(0x168))/0x7+-parseInt(_0x12d7df(0x170))/0x8*(-parseInt(_0x12d7df(0x15f))/0x9);if(_0x2cb5bf===_0x529a6e)break;else _0x31f9f7['push'](_0x31f9f7['shift']());}catch(_0x58f927){_0x31f9f7['push'](_0x31f9f7['shift']());}}}(_0x46e2,0x190a8));import{Plugin as _0xbe7ca2}from'ckeditor5/src/core.js';import{CKEditorError as _0x119456}from'ckeditor5/src/utils.js';import{AIAdapter as _0x3bfbf9,AIRequestError as _0x2af5a5}from'./aiadapter.js';import{getTranslation as _0x53f59f}from'../utils/common-translations.js';function _0x4704(_0xe5c267,_0x2ca139){const _0x46e2aa=_0x46e2();return _0x4704=function(_0x470475,_0x1d94e0){_0x470475=_0x470475-0x159;let _0x6374ce=_0x46e2aa[_0x470475];return _0x6374ce;},_0x4704(_0xe5c267,_0x2ca139);}function _0x46e2(){const _0x347e21=['428MdSRhl','application/json','resolve','AbortError','textAdapter','709344GRTegH','error','name','abortController','editor','250326FhTUiK','aborted','aitextadapter-send-request-failed','abort','_prepareRequestParameters','get','sendRequest','requires','_prepareRequestHeaders','848162YMHKTC','467454EmbLtY','AI_ERROR_GET_HEADERS','284920jMOqVM','signal','locale','init','assign','40oiAGil','catch','8130RxYvYA','plugins','AI_ERROR_GET_PARAMETERS','object','makeRequest','194184ITukeA','reject'];_0x46e2=function(){return _0x347e21;};return _0x46e2();}export class AITextAdapter extends _0xbe7ca2{[_0x40f059(0x15d)];static get[_0x40f059(0x166)](){return[_0x3bfbf9];}constructor(_0x8cf3ae){const _0x29e01b=_0x40f059;super(_0x8cf3ae),this[_0x29e01b(0x15d)]=new AbortController();}[_0x40f059(0x16e)](){const _0x467ce3=_0x40f059;this[_0x467ce3(0x15e)][_0x467ce3(0x173)][_0x467ce3(0x164)](_0x3bfbf9)[_0x467ce3(0x159)]=this;}[_0x40f059(0x162)](){const _0x17f394=_0x40f059;this[_0x17f394(0x15d)][_0x17f394(0x16c)][_0x17f394(0x160)]||(this[_0x17f394(0x15d)][_0x17f394(0x162)](),this[_0x17f394(0x15d)]=new AbortController());}async[_0x40f059(0x176)](_0x698094){const _0x2d6d92=_0x40f059;return this[_0x2d6d92(0x165)](_0x698094)[_0x2d6d92(0x171)](_0x4829f0=>{const _0x5e44a4=_0x2d6d92;if(_0x4829f0 instanceof _0x2af5a5)return Promise[_0x5e44a4(0x178)](_0x4829f0);if(_0x5e44a4(0x17c)==_0x4829f0[_0x5e44a4(0x15c)])return Promise[_0x5e44a4(0x17b)]();throw console[_0x5e44a4(0x15b)](_0x4829f0),new _0x119456(_0x5e44a4(0x161),null);});}async[_0x40f059(0x167)](_0x481002,_0x48e6b4){const _0x8216cd=_0x40f059,_0x5d2467=this[_0x8216cd(0x15e)][_0x8216cd(0x16d)],_0x28d0ca={'Content-Type':_0x8216cd(0x17a)};if(_0x8216cd(0x175)==typeof _0x481002)Object[_0x8216cd(0x16f)](_0x28d0ca,_0x481002);else{if(_0x481002)try{const _0x21192c=await _0x481002(_0x48e6b4);Object[_0x8216cd(0x16f)](_0x28d0ca,_0x21192c);}catch{return Promise[_0x8216cd(0x178)](new _0x2af5a5(_0x53f59f(_0x5d2467,_0x8216cd(0x16a))));}}return _0x28d0ca;}async[_0x40f059(0x163)](_0x5102b5,_0x407db1){const _0x2cd211=_0x40f059,_0x474617=this[_0x2cd211(0x15e)][_0x2cd211(0x16d)];if(_0x2cd211(0x175)==typeof _0x5102b5)return _0x5102b5;try{return await _0x5102b5(_0x407db1);}catch{return Promise[_0x2cd211(0x178)](new _0x2af5a5(_0x53f59f(_0x474617,_0x2cd211(0x174))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x53e7d7=_0x1af5;(function(_0x30bf1a,_0x50aa72){var _0x5cb1ee=_0x1af5,_0x209ad2=_0x30bf1a();while(!![]){try{var _0x43fa03=parseInt(_0x5cb1ee(0xac))/0x1+parseInt(_0x5cb1ee(0xa9))/0x2*(-parseInt(_0x5cb1ee(0xb6))/0x3)+-parseInt(_0x5cb1ee(0xb0))/0x4*(-parseInt(_0x5cb1ee(0xa8))/0x5)+parseInt(_0x5cb1ee(0xb4))/0x6*(parseInt(_0x5cb1ee(0xaf))/0x7)+-parseInt(_0x5cb1ee(0xb7))/0x8*(-parseInt(_0x5cb1ee(0xb8))/0x9)+-parseInt(_0x5cb1ee(0xad))/0xa+-parseInt(_0x5cb1ee(0xb5))/0xb*(parseInt(_0x5cb1ee(0xba))/0xc);if(_0x43fa03===_0x50aa72)break;else _0x209ad2['push'](_0x209ad2['shift']());}catch(_0x457e54){_0x209ad2['push'](_0x209ad2['shift']());}}}(_0x3222,0xf3e08));function _0x1af5(_0x238d44,_0xf94c67){var _0x3222e6=_0x3222();return _0x1af5=function(_0x1af573,_0xc567b0){_0x1af573=_0x1af573-0xa8;var _0x1118ed=_0x3222e6[_0x1af573];return _0x1118ed;},_0x1af5(_0x238d44,_0xf94c67);}import{AITextAdapter as _0x420e9a}from'./aitextadapter.js';import{AIRequestError as _0x5e4247}from'./aiadapter.js';import{getTranslation as _0x135579}from'../utils/common-translations.js';import{logWarning as _0x2b9fd8,logError as _0x1e0891}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x420e9a{static get[_0x53e7d7(0xbb)](){var _0x51f862=_0x53e7d7;return _0x51f862(0xae);}[_0x53e7d7(0xb3)](){var _0x366366=_0x53e7d7;super[_0x366366(0xb3)](),_0x2b9fd8(_0x366366(0xab));}async[_0x53e7d7(0xaa)](_0x1e9248){var _0xa8da32=_0x53e7d7;throw _0x1e0891(_0xa8da32(0xab)),new _0x5e4247(_0x135579(this[_0xa8da32(0xb2)][_0xa8da32(0xb9)],_0xa8da32(0xb1)));}}function _0x3222(){var _0x53abb4=['48AoPjXq','pluginName','20pwbOwt','49340OYdLOh','sendRequest','ai-aws-adapter-not-supported','1125893IvKhZy','14488970IpzZdD','AWSTextAdapter','6797147ICHQYV','844868ZOQkVb','AI_ERROR_AWS_NOT_SUPPORTED','editor','init','6fEtrjr','837133DaTWmf','45bkemQs','8OlEErh','1624473TRcELx','locale'];_0x3222=function(){return _0x53abb4;};return _0x3222();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27759c=_0x4520;(function(_0x2bea0a,_0x35a9b5){const _0x201dc9=_0x4520,_0x1d15b8=_0x2bea0a();while(!![]){try{const _0x979573=-parseInt(_0x201dc9(0x1a7))/0x1*(parseInt(_0x201dc9(0x1d1))/0x2)+parseInt(_0x201dc9(0x1b8))/0x3+parseInt(_0x201dc9(0x199))/0x4+-parseInt(_0x201dc9(0x1c0))/0x5*(-parseInt(_0x201dc9(0x19b))/0x6)+parseInt(_0x201dc9(0x195))/0x7+parseInt(_0x201dc9(0x1d7))/0x8*(parseInt(_0x201dc9(0x1c5))/0x9)+-parseInt(_0x201dc9(0x1a6))/0xa;if(_0x979573===_0x35a9b5)break;else _0x1d15b8['push'](_0x1d15b8['shift']());}catch(_0x2feef2){_0x1d15b8['push'](_0x1d15b8['shift']());}}}(_0x59d9,0xa631d));function _0x4520(_0x22e6bb,_0x211e53){const _0x59d937=_0x59d9();return _0x4520=function(_0x452068,_0x46bacd){_0x452068=_0x452068-0x192;let _0x35cece=_0x59d937[_0x452068];return _0x35cece;},_0x4520(_0x22e6bb,_0x211e53);}import{AITextAdapter as _0x4308e2}from'./aitextadapter.js';import{AIRequestError as _0x1decf3}from'./aiadapter.js';function _0x59d9(){const _0x4fa853=['abortController','_requestParameters','join','config','stream','33000010TzUgqH','83azBTRb','body','message','get','define','choices','decode','user','_isBufferIncomplete','AI_ERROR_MODERATION','sendRequest','pluginName','ai.assistant.adapter.openAI.apiUrl','filter','stringify','system','signal','1903470GAPIuL','_readStreamableResponse','length','_prepareRequestParameters','resolve','https://api.openai.com/v1/chat/completions','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','545sxPVFr','Instruction:\x0a','data:\x20','split','replace','405cwwcoC','_apiUrl','includes','gpt-4o','context_length_exceeded','content','POST','parse','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','Moderation','json','text','6368wRkrol','editor','delta','[DONE]','_cleanUpData','ai.assistant.adapter.openAI.requestParameters','222648cpddAK','_requestHeaders','_readStaticResponse','reject','7536123yPBEtd','OpenAITextAdapter','locale','map','4694052gOqqAq','AI_ERROR_CONTEXT_LENGTH','5946eqABIs','_prepareRequestHeaders','getReader','ai.assistant.adapter.openAI.requestHeaders','prepareMessages','read'];_0x59d9=function(){return _0x4fa853;};return _0x59d9();}import{getTranslation as _0xffe544}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x4308e2{[_0x27759c(0x1c6)];[_0x27759c(0x192)];[_0x27759c(0x1a2)];static get[_0x27759c(0x1b2)](){const _0x1acce7=_0x27759c;return _0x1acce7(0x196);}constructor(_0x1b8620){const _0x1f0253=_0x27759c;super(_0x1b8620),_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1ab)](_0x1f0253(0x1b3),_0x1f0253(0x1bd)),_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x1d6))||_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1ab)](_0x1f0253(0x1d6),{'model':_0x1f0253(0x1c8),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x1f0253(0x1c6)]=_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x1b3)),this[_0x1f0253(0x192)]=_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x19e))||{},this[_0x1f0253(0x1a2)]=_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x1d6));}async[_0x27759c(0x1b1)]({query:_0x1b6463,context:_0x41fa0d,onData:_0x2efdb5,actionId:_0x5bc83b}){const _0x67aaa5=_0x27759c,_0x437e65=this[_0x67aaa5(0x1d2)][_0x67aaa5(0x197)],_0x3e0894=await this[_0x67aaa5(0x19f)](_0x1b6463,_0x41fa0d,_0x5bc83b),_0x3966e2=await this[_0x67aaa5(0x19c)](this[_0x67aaa5(0x192)],_0x5bc83b),_0x244e9b=await this[_0x67aaa5(0x1bb)](this[_0x67aaa5(0x1a2)],_0x5bc83b),_0x58c717={'messages':_0x3e0894,..._0x244e9b},_0x57e6e0={'method':_0x67aaa5(0x1cb),'headers':_0x3966e2,'body':JSON[_0x67aaa5(0x1b5)](_0x58c717),'signal':this[_0x67aaa5(0x1a1)][_0x67aaa5(0x1b7)]},_0x2aef6c=await fetch(this[_0x67aaa5(0x1c6)],_0x57e6e0);if(_0x2aef6c['ok'])return _0x244e9b[_0x67aaa5(0x1a5)]?await this[_0x67aaa5(0x1b9)](_0x2aef6c,_0x2efdb5):await this[_0x67aaa5(0x193)](_0x2aef6c,_0x2efdb5),Promise[_0x67aaa5(0x1bc)]();{const _0x5d9567=await _0x2aef6c[_0x67aaa5(0x1d0)]();return _0x5d9567[_0x67aaa5(0x1c7)](_0x67aaa5(0x1c9))?Promise[_0x67aaa5(0x194)](new _0x1decf3(_0xffe544(_0x437e65,_0x67aaa5(0x19a)))):_0x5d9567[_0x67aaa5(0x1c7)](_0x67aaa5(0x1ce))?Promise[_0x67aaa5(0x194)](new _0x1decf3(_0xffe544(_0x437e65,_0x67aaa5(0x1b0)))):Promise[_0x67aaa5(0x194)](new Error(_0x5d9567));}}async[_0x27759c(0x19f)](_0x25969f,_0x3b1351,_0x912415){const _0x35e484=_0x27759c;let _0x35d4c0,_0x3b9608;return _0x3b1351?(_0x35d4c0=_0x35e484(0x1cd),_0x3b9608=_0x35e484(0x1c1)+_0x25969f+_0x35e484(0x1be)+_0x3b1351):(_0x35d4c0=_0x35e484(0x1bf),_0x3b9608=_0x25969f),[{'role':_0x35e484(0x1b6),'content':_0x35d4c0},{'role':_0x35e484(0x1ae),'content':_0x3b9608}];}async[_0x27759c(0x1b9)](_0x1227e5,_0x25e4d6){const _0x4cb103=_0x27759c,_0x118b4d=_0x1227e5[_0x4cb103(0x1a8)][_0x4cb103(0x19d)](),_0x3ac7fe=new TextDecoder();let _0x4a44e3='',_0x4a83bf='',_0x59fa0d='',_0x599ea1=!0x1;for(;!_0x599ea1;){const {done:_0x2a8685,value:_0x2f9327}=await _0x118b4d[_0x4cb103(0x1a0)](),_0x43a197=_0x4a44e3+_0x3ac7fe[_0x4cb103(0x1ad)](_0x2f9327);let _0x3440f4='';_0x599ea1=_0x2a8685;try{_0x3440f4=this[_0x4cb103(0x1d5)](_0x43a197),_0x4a44e3='';}catch{_0x4a44e3=_0x43a197;continue;}_0x4a83bf+=_0x3440f4,!_0x599ea1&&this[_0x4cb103(0x1af)](_0x4a83bf)||_0x4a83bf&&(_0x59fa0d+=_0x4a83bf,_0x4a83bf='',_0x25e4d6(_0x59fa0d));}return Promise[_0x4cb103(0x1bc)]();}async[_0x27759c(0x193)](_0x1b59fa,_0x448329){const _0x24d447=_0x27759c;return _0x448329((await _0x1b59fa[_0x24d447(0x1cf)]())[_0x24d447(0x1ac)][0x0][_0x24d447(0x1a9)][_0x24d447(0x1ca)]),Promise[_0x24d447(0x1bc)]();}[_0x27759c(0x1af)](_0x397e43){const _0x4a8652=_0x27759c,_0x9bafc2=_0x397e43[_0x4a8652(0x1c3)]('<')[_0x4a8652(0x1ba)]!==_0x397e43[_0x4a8652(0x1c3)]('>')[_0x4a8652(0x1ba)],_0x506537=_0x397e43[_0x4a8652(0x1ba)]<0x1e;return _0x9bafc2&&_0x506537;}[_0x27759c(0x1d5)](_0x20c740){const _0x35dfcd=_0x27759c;return _0x20c740[_0x35dfcd(0x1c3)](/\n(?![^{]*\})/g)[_0x35dfcd(0x198)](_0x4fc79c=>_0x4fc79c[_0x35dfcd(0x1c4)](_0x35dfcd(0x1c2),''))[_0x35dfcd(0x1b4)](_0x56c7ad=>_0x56c7ad&&_0x56c7ad[_0x35dfcd(0x1ba)]>0x0&&_0x35dfcd(0x1d4)!==_0x56c7ad)[_0x35dfcd(0x198)](_0x2e3002=>{const _0x3d843d=_0x35dfcd,{choices:_0x1f8ef7}=JSON[_0x3d843d(0x1cc)](_0x2e3002);if(_0x1f8ef7[0x0]?.[_0x3d843d(0x1d3)]?.[_0x3d843d(0x1ca)])return _0x1f8ef7[0x0][_0x3d843d(0x1d3)][_0x3d843d(0x1ca)];})[_0x35dfcd(0x1b4)](_0x5e2dba=>_0x5e2dba)[_0x35dfcd(0x1a3)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39f3ea=_0x1c72;(function(_0x3d19fa,_0xa797d0){const _0x41e0c7=_0x1c72,_0x502661=_0x3d19fa();while(!![]){try{const _0x1515ac=parseInt(_0x41e0c7(0x138))/0x1+-parseInt(_0x41e0c7(0x177))/0x2*(-parseInt(_0x41e0c7(0x160))/0x3)+-parseInt(_0x41e0c7(0x17e))/0x4*(parseInt(_0x41e0c7(0x14f))/0x5)+-parseInt(_0x41e0c7(0x156))/0x6*(parseInt(_0x41e0c7(0x129))/0x7)+parseInt(_0x41e0c7(0x11b))/0x8+parseInt(_0x41e0c7(0x154))/0x9*(-parseInt(_0x41e0c7(0x185))/0xa)+parseInt(_0x41e0c7(0x12f))/0xb;if(_0x1515ac===_0xa797d0)break;else _0x502661['push'](_0x502661['shift']());}catch(_0x3008ce){_0x502661['push'](_0x502661['shift']());}}}(_0x3adf,0xac0bb));import{uid as _0x512362}from'ckeditor5/src/utils.js';import{Plugin as _0x4ed674}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x36236b}from'ckeditor5/src/clipboard.js';function _0x3adf(){const _0x4c1e9b=['element','editingDowncast','getSelectedTableCells','off','table','markerToElement','_resetContentOfSelectedTableCells','parse','isOfficialPlugin','deleteContent','showFakeVisualSelection','_getDefaultInsertBelowPosition','addMarker','afterInit','first','getRowIndexes','selection','setSelection','contentInsertion','2531728eUGOjB','lowest','filter','editing','getMarkersGroup','isAtEnd','isCollapsed','276SXbtuk','pop','ck-ai-assistant-ui_theme','ai-ui','insertRows','editor','insertContent','195830KgOpCV','DataTransfer','has','_createEmptyTableRows','TableUtils','4450424ehfnlK','push','getChildren','ck-fake-ai-selection','forEach','resultRange','getLastPosition','fire','_pasteHTMLUsingClipboard','markerRange','getChild','getFirstRange','paste','_getTableRowCountFromContent','3249127inwZCq','span','getLastMatchingPosition','createPositionAt','getColumnIndexes','plugins','10267983FouNzg','insertContentBelow','canEditAt','document','length','start','text/html','removeMarker','updateMarker','475574hFdLaU','fromCharCode','once','schema','for','end','model','AIAssistantEditing','getRanges','getRows','init','last','isPremiumPlugin','createPositionAfter','get','change','pluginName','markerToHighlight','isContent','from','config','_getAISelection','getSelectedBlocks','100200zFIJle','createRange','_prepareTableInsertBelowPosition','data','addClass','99jAsBXp','markers','12DLDJoW','setData','ai.assistant.useTheme','join','createSelection','href','findAncestor','hideFakeVisualSelection','ck-fake-ai-selection_collapsed','createUIElement','3LyyWoE','map','getRange','conversion'];_0x3adf=function(){return _0x4c1e9b;};return _0x3adf();}import{ViewDocumentDomEventData as _0x36df72,ViewDataTransfer as _0x59453d}from'ckeditor5/src/engine.js';function _0x1c72(_0x4f7f10,_0xaa0a9c){const _0x3adf08=_0x3adf();return _0x1c72=function(_0x1c722a,_0x117cb9){_0x1c722a=_0x1c722a-0x119;let _0x58797b=_0x3adf08[_0x1c722a];return _0x58797b;},_0x1c72(_0x4f7f10,_0xaa0a9c);}const w=globalThis[_0x39f3ea(0x186)],f=_0x39f3ea(0x181);export class AIAssistantEditing extends _0x4ed674{static get[_0x39f3ea(0x148)](){const _0x4cf08a=_0x39f3ea;return _0x4cf08a(0x13f);}static get[_0x39f3ea(0x16c)](){return!0x0;}static get[_0x39f3ea(0x144)](){return!0x0;}[_0x39f3ea(0x142)](){const _0x53762c=_0x39f3ea,{editor:_0x2b7cac}=this,_0x306b7e=[_0x53762c(0x11e)];_0x2b7cac[_0x53762c(0x14c)][_0x53762c(0x146)](_0x53762c(0x158))&&_0x306b7e[_0x53762c(0x11c)](_0x53762c(0x180)),_0x2b7cac[_0x53762c(0x163)][_0x53762c(0x13c)](_0x53762c(0x165))[_0x53762c(0x149)]({'model':f,'view':{'classes':_0x306b7e,'priority':0xc}}),_0x2b7cac[_0x53762c(0x163)][_0x53762c(0x13c)](_0x53762c(0x165))[_0x53762c(0x169)]({'model':f,'view':(_0x425f24,{writer:_0x2a91e1})=>{const _0x520ae5=_0x53762c;if(!_0x425f24[_0x520ae5(0x124)][_0x520ae5(0x17d)])return null;const _0x2d85ef=_0x2a91e1[_0x520ae5(0x15f)](_0x520ae5(0x12a));return _0x2a91e1[_0x520ae5(0x153)]([_0x520ae5(0x11e),_0x520ae5(0x15e)],_0x2d85ef),_0x2d85ef;}});}[_0x39f3ea(0x171)](){!async function(_0x4063a8){const _0x5d5c7f=_0x27786d([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x4978e1=0x3dffc4e1,_0x317e18=0x3df84271^_0x4978e1,_0x357bb5=window[_0x27786d([0x44,0x61,0x74,0x65])][_0x27786d([0x6e,0x6f,0x77])](),_0x1805be=_0x4063a8[_0x27786d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a329d=new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x512d68=>{_0x1805be[_0x27786d([0x6f,0x6e,0x63,0x65])](_0x27786d([0x72,0x65,0x61,0x64,0x79]),_0x512d68);}),_0x5eb745={[_0x27786d([0x6b,0x74,0x79])]:_0x27786d([0x45,0x43]),[_0x27786d([0x75,0x73,0x65])]:_0x27786d([0x73,0x69,0x67]),[_0x27786d([0x63,0x72,0x76])]:_0x27786d([0x50,0x2d,0x32,0x35,0x36]),[_0x27786d([0x78])]:_0x27786d([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x27786d([0x79])]:_0x27786d([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x27786d([0x61,0x6c,0x67])]:_0x27786d([0x45,0x53,0x32,0x35,0x36])},_0x2d0d8f=_0x1805be[_0x27786d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x27786d([0x67,0x65,0x74])](_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2cc887(){let _0x17f06c,_0x21894f=null,_0x28849b=null;try{if(_0x2d0d8f==_0x27786d([0x47,0x50,0x4c]))return _0x27786d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x17f06c=_0x381c72(),!_0x17f06c)return _0x27786d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x17f06c[_0x27786d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28849b=_0x541396(_0x17f06c[_0x27786d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x17f06c[_0x27786d([0x6a,0x74,0x69])])),await _0x1bbb00()?_0x2db890()?_0x19c470()?_0x27786d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x206439()?(_0x17f06c[_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27786d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21894f=_0x30125b(_0x27786d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc6e808()):_0x27786d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x27786d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x27786d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x27786d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x19c470(){const _0x18fe04=[_0x27786d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x27786d([0x74,0x72,0x69,0x61,0x6c])][_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17f06c[_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x357bb5/0x3e8:0xe10*_0x317e18;return _0x17f06c[_0x27786d([0x65,0x78,0x70])]<_0x18fe04;}function _0x2db890(){const _0x3a6c78=_0x17f06c[_0x27786d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a6c78&&(!!_0x3a6c78[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27786d([0x2a]))||!!_0x3a6c78[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27786d([0x41,0x49])));}function _0x206439(){const _0x199927=_0x1c72,_0x243eda=_0x17f06c[_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x243eda||0x0==_0x243eda[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49978e}=new URL(window[_0x27786d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x199927(0x15b)]);if(_0x243eda[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49978e))return!0x0;const _0x586c4e=_0x49978e[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e]));return _0x243eda[_0x27786d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1da546=>_0x1da546[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27786d([0x2a])))[_0x27786d([0x6d,0x61,0x70])](_0x29b9eb=>_0x29b9eb[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e])))[_0x27786d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x406ec8=>_0x406ec8[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x586c4e[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27786d([0x6d,0x61,0x70])](_0x2b41fd=>Array(_0x586c4e[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b41fd[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27786d([0x66,0x69,0x6c,0x6c])](_0x2b41fd[0x0]===_0x27786d([0x2a])?_0x27786d([0x2a]):'')[_0x27786d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b41fd))[_0x27786d([0x73,0x6f,0x6d,0x65])](_0x1a56da=>_0x586c4e[_0x27786d([0x65,0x76,0x65,0x72,0x79])]((_0x5a1e72,_0x29bc33)=>_0x1a56da[_0x29bc33]===_0x5a1e72||_0x1a56da[_0x29bc33]===_0x27786d([0x2a])));}function _0xc6e808(){return _0x21894f&&_0x28849b?new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa38591,_0x12a25d)=>{_0x21894f[_0x27786d([0x74,0x68,0x65,0x6e])](_0xa38591,_0x12a25d),_0x28849b[_0x27786d([0x74,0x68,0x65,0x6e])](_0x5017d5=>{_0x5017d5!=_0x27786d([0x56,0x61,0x6c,0x69,0x64])&&_0xa38591(_0x5017d5);},_0x12a25d);}):_0x21894f||_0x28849b||_0x27786d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x541396(_0x3029a6,_0x4792b8){return new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x959220=>{if(_0x12619f())return _0x959220(_0x27786d([0x56,0x61,0x6c,0x69,0x64]));_0x171d03(),_0x1805be[_0x27786d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x27786d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b981e=!0x1;const _0x4d5ccc=_0x512362();function _0x3c467a(_0x39867c){return!!_0x39867c&&(typeof _0x39867c===_0x27786d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x39867c===_0x27786d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x39867c[_0x27786d([0x74,0x68,0x65,0x6e])]===_0x27786d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x39867c[_0x27786d([0x63,0x61,0x74,0x63,0x68])]===_0x27786d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47916f(_0x767e64){_0x27091b(_0x767e64)[_0x27786d([0x74,0x68,0x65,0x6e])](_0x9013bc=>{if(!_0x9013bc||_0x9013bc[_0x27786d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x27786d([0x6f,0x6b]))return _0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x246e68(_0x12ccc4(_0x4d5ccc+_0x4792b8))!=_0x9013bc[_0x27786d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x27786d([0x56,0x61,0x6c,0x69,0x64]);})[_0x27786d([0x74,0x68,0x65,0x6e])](_0x33c568=>(_0x58ae3f(),_0x33c568),()=>{const _0x5972de=_0x5e9110();return null==_0x5972de?(_0x58ae3f(),_0x27786d([0x56,0x61,0x6c,0x69,0x64])):_0x27786d(_0x357bb5-_0x5972de>(0x19f340e1^_0x4978e1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x27786d([0x74,0x68,0x65,0x6e])](_0x959220)[_0x27786d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x959220(_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x20a8e1=0x3dc92a61^_0x4978e1;function _0x58ae3f(){const _0x9ec49f=_0x27786d([0x6c,0x6c,0x63,0x74,0x2d])+_0x246e68(_0x12ccc4(_0x3029a6)),_0x3f862e=_0xc1cb45(_0x246e68(window[_0x27786d([0x4d,0x61,0x74,0x68])][_0x27786d([0x63,0x65,0x69,0x6c])](_0x357bb5/_0x20a8e1)));window[_0x27786d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27786d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9ec49f,_0x3f862e);}function _0x5e9110(){const _0x3420cc=_0x27786d([0x6c,0x6c,0x63,0x74,0x2d])+_0x246e68(_0x12ccc4(_0x3029a6)),_0x5dfdda=window[_0x27786d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27786d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3420cc);return _0x5dfdda?window[_0x27786d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc1cb45(_0x5dfdda),0x10)*_0x20a8e1:null;}function _0x27091b(_0x195ede){return new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcc591f,_0xe6bb16)=>{_0x195ede[_0x27786d([0x74,0x68,0x65,0x6e])](_0xcc591f,_0xe6bb16),window[_0x27786d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe6bb16,0x3dfe1021^_0x4978e1);});}}_0x1805be[_0x27786d([0x6f,0x6e])](_0x27786d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29c186,_0x1d2258)=>{if(_0x1d2258[0x0]!=_0x3029a6)return _0x959220(_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d2258[0x1]={..._0x1d2258[0x1],[_0x27786d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d5ccc};},{[_0x27786d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27786d([0x68,0x69,0x67,0x68])}),_0x1805be[_0x27786d([0x6f,0x6e])](_0x27786d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57650f=>{_0x3c467a(_0x57650f[_0x27786d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b981e=!0x0,_0x47916f(_0x57650f[_0x27786d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x27786d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27786d([0x6c,0x6f,0x77])}),_0x3a329d[_0x27786d([0x74,0x68,0x65,0x6e])](()=>{_0x4b981e||_0x959220(_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12619f(){return _0x1805be[_0x27786d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27786d([0x76,0x69,0x65,0x77])][_0x27786d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x27786d([0x61,0x75,0x74,0x6f]);}function _0x171d03(){_0x1805be[_0x27786d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27786d([0x76,0x69,0x65,0x77])][_0x27786d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x27786d([0x61,0x75,0x74,0x6f]);}}function _0x30125b(_0x44c33c){const _0x12f51f=[new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x569f68=>setTimeout(_0x569f68,0x3df6fa2d^_0x4978e1)),_0x3a329d[_0x27786d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x233c22=>{let _0x372af5=0x0;_0x1805be[_0x27786d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27786d([0x6f,0x6e])](_0x27786d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1fdd6d,_0x2c75ec)=>{_0x2c75ec[0x0][_0x27786d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x372af5++,_0x372af5==(0x3dffc109^_0x4978e1)&&(_0x233c22(),_0x1fdd6d[_0x27786d([0x6f,0x66,0x66])]());});}))];return window[_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x27786d([0x72,0x61,0x63,0x65])](_0x12f51f)[_0x27786d([0x74,0x68,0x65,0x6e])](()=>_0x44c33c);}async function _0x2207a2(){await _0x3a329d,_0x1805be[_0x27786d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27786d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x669042,_0x1805be[_0x27786d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27786d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x669042,_0x1805be[_0x27786d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x27786d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1aea33(_0x443582){const _0x5a0a68=_0x4f536f();_0x1805be[_0x5a0a68]=_0x27786d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x443582,_0x443582!=_0x27786d([0x56,0x61,0x6c,0x69,0x64])&&_0x2207a2();}function _0x4f536f(){const _0x3e2ac8=window[_0x27786d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x27786d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x27786d([0x6e,0x6f,0x77])]())[_0x27786d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x27786d([0x2e]),'');let _0x2a5b05=_0x27786d([0x6e]);for(let _0x3b2485=0x0;_0x3b2485<_0x3e2ac8[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b2485+=0x2){let _0x4eec27=window[_0x27786d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e2ac8[_0x27786d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b2485,_0x3b2485+0x2));_0x4eec27>=_0x5d5c7f[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4eec27-=_0x5d5c7f[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a5b05+=_0x5d5c7f[_0x4eec27];}return _0x2a5b05;}function _0x381c72(){const _0x41839e=_0x2d0d8f[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e]));if(0x3!=_0x41839e[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3cf297(_0x41839e[0x1]);function _0x3cf297(_0x53b2a2){const _0xe0f94b=_0x472fb9(_0x53b2a2);return _0xe0f94b&&_0x1b4277()?_0xe0f94b:null;function _0x1b4277(){const _0x124373=_0xe0f94b[_0x27786d([0x6a,0x74,0x69])],_0x2aa9d6=window[_0x27786d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x124373[_0x27786d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x124373[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x498e96={..._0xe0f94b,[_0x27786d([0x6a,0x74,0x69])]:_0x124373[_0x27786d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x124373[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x498e96[_0x27786d([0x76,0x63])],_0x12ccc4(_0x498e96)==_0x2aa9d6;}}}async function _0x1bbb00(){let _0x327258=!0x0;try{const _0x5978b8=_0x2d0d8f[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e])),[_0x2abc4e,_0x4a8141,_0x2dd297]=_0x5978b8;return _0x91640c(_0x2abc4e),await _0x389c65(_0x2abc4e,_0x4a8141,_0x2dd297),_0x327258;}catch{return!0x1;}function _0x91640c(_0x53b42c){const _0x5b72fd=_0x472fb9(_0x53b42c);_0x5b72fd&&_0x5b72fd[_0x27786d([0x61,0x6c,0x67])]==_0x27786d([0x45,0x53,0x32,0x35,0x36])||(_0x327258=!0x1);}async function _0x389c65(_0x53e688,_0x10ce1b,_0x16d611){const _0x4c74f5=window[_0x27786d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x27786d([0x66,0x72,0x6f,0x6d])](_0x1a0cce(_0x16d611),_0x2aa208=>_0x2aa208[_0x27786d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x377719=new window[(_0x27786d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x27786d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53e688+_0x27786d([0x2e])+_0x10ce1b),_0x3cc726=window[_0x27786d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x27786d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3cc726)return;const _0x48360f=await _0x3cc726[_0x27786d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x27786d([0x6a,0x77,0x6b]),_0x5eb745,{[_0x27786d([0x6e,0x61,0x6d,0x65])]:_0x27786d([0x45,0x43,0x44,0x53,0x41]),[_0x27786d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x27786d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x27786d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3cc726[_0x27786d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x27786d([0x6e,0x61,0x6d,0x65])]:_0x27786d([0x45,0x43,0x44,0x53,0x41]),[_0x27786d([0x68,0x61,0x73,0x68])]:{[_0x27786d([0x6e,0x61,0x6d,0x65])]:_0x27786d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48360f,_0x4c74f5,_0x377719)||(_0x327258=!0x1);}}function _0x472fb9(_0x455e36){return _0x455e36[_0x27786d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x27786d([0x65,0x79]))?JSON[_0x27786d([0x70,0x61,0x72,0x73,0x65])](_0x1a0cce(_0x455e36)):null;}function _0x1a0cce(_0x490aa4){return window[_0x27786d([0x61,0x74,0x6f,0x62])](_0x490aa4[_0x27786d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x27786d([0x2b]))[_0x27786d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x27786d([0x2f])));}function _0x12ccc4(_0x3ec2c8){let _0x178f79=0x1505;function _0x3f135d(_0x4a2a67){for(let _0x24554a=0x0;_0x24554a<_0x4a2a67[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24554a++){const _0x255d3f=_0x4a2a67[_0x27786d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24554a);_0x178f79=(_0x178f79<<0x5)+_0x178f79+_0x255d3f,_0x178f79&=_0x178f79;}}function _0x33aba8(_0x2d8535){Array[_0x27786d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d8535)?_0x2d8535[_0x27786d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33aba8):_0x2d8535&&typeof _0x2d8535==_0x27786d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x27786d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d8535)[_0x27786d([0x73,0x6f,0x72,0x74])]()[_0x27786d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b7a21,_0x574528])=>{_0x3f135d(_0x4b7a21),_0x33aba8(_0x574528);}):_0x3f135d(window[_0x27786d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d8535));}return _0x33aba8(_0x3ec2c8),_0x178f79>>>0x0;}function _0x246e68(_0x1c26f2){return _0x1c26f2[_0x27786d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x27786d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x27786d([0x30]));}function _0xc1cb45(_0x1c3edb){return _0x1c3edb[_0x27786d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x27786d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x27786d([0x6a,0x6f,0x69,0x6e])]('');}function _0x669042(){}function _0x27786d(_0x1b60af){const _0x42c7f6=_0x1c72;return _0x1b60af[_0x42c7f6(0x161)](_0x45b4cf=>String[_0x42c7f6(0x139)](_0x45b4cf))[_0x42c7f6(0x159)]('');}_0x1aea33(await _0x2cc887());}(this);}[_0x39f3ea(0x16e)](){const _0x5e22de=_0x39f3ea,_0xa78748=this[_0x5e22de(0x183)][_0x5e22de(0x13e)];_0xa78748[_0x5e22de(0x147)](_0x3c5992=>{const _0x255b5f=_0x5e22de,_0x66e692=_0xa78748[_0x255b5f(0x132)][_0x255b5f(0x174)][_0x255b5f(0x140)]();let _0x515da5=0x0;for(const _0x2b7aaa of _0x66e692){const _0x5b0e2d=f+':'+_0x515da5;if(_0xa78748[_0x255b5f(0x155)][_0x255b5f(0x187)](_0x5b0e2d))_0x3c5992[_0x255b5f(0x137)](_0x5b0e2d,{'range':_0x2b7aaa});else{if(_0x2b7aaa[_0x255b5f(0x134)][_0x255b5f(0x17c)]){const _0x2d8720=_0x2b7aaa[_0x255b5f(0x134)][_0x255b5f(0x12b)](({item:_0x42ddb4})=>!_0xa78748[_0x255b5f(0x13b)][_0x255b5f(0x14a)](_0x42ddb4),{'boundaries':_0x2b7aaa});_0x3c5992[_0x255b5f(0x170)](_0x5b0e2d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3c5992[_0x255b5f(0x150)](_0x2d8720,_0x2b7aaa[_0x255b5f(0x13d)])});}else _0x3c5992[_0x255b5f(0x170)](_0x5b0e2d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2b7aaa});}_0x515da5++;}});}[_0x39f3ea(0x15d)](){const _0x22bcab=_0x39f3ea,_0x4afeed=this[_0x22bcab(0x183)][_0x22bcab(0x13e)],_0x4bae3f=Array[_0x22bcab(0x14b)](this[_0x22bcab(0x183)][_0x22bcab(0x13e)][_0x22bcab(0x155)][_0x22bcab(0x17b)](f));_0x4bae3f[_0x22bcab(0x133)]&&_0x4afeed[_0x22bcab(0x147)](_0x461892=>{const _0x5cfbc9=_0x22bcab;_0x4bae3f[_0x5cfbc9(0x11f)](_0x20a784=>{const _0x2ebf34=_0x5cfbc9;_0x461892[_0x2ebf34(0x136)](_0x20a784);});});}[_0x39f3ea(0x184)](_0x12ed9e,_0x318c70){const _0x12c4b5=_0x39f3ea,_0x4832a6=this[_0x12c4b5(0x14d)](),_0x180ea1=_0x318c70||_0x4832a6[_0x12c4b5(0x126)]();this[_0x12c4b5(0x183)][_0x12c4b5(0x13e)][_0x12c4b5(0x131)](_0x180ea1)&&this[_0x12c4b5(0x183)][_0x12c4b5(0x13e)][_0x12c4b5(0x147)](_0x41ac41=>{const _0xccfa9e=_0x12c4b5;this[_0xccfa9e(0x15d)](),_0x318c70||this[_0xccfa9e(0x16a)](_0x41ac41,_0x4832a6),this[_0xccfa9e(0x123)]({'insertAt':_0x180ea1,'writer':_0x41ac41,'html':_0x12ed9e});});}[_0x39f3ea(0x130)](_0x5defed){const _0x8a9e19=_0x39f3ea,{model:_0x31b477}=this[_0x8a9e19(0x183)],_0xafe660=this[_0x8a9e19(0x14d)]();_0x31b477[_0x8a9e19(0x147)](()=>{const _0x3b10e3=_0x8a9e19,_0x3fbb48=this[_0x3b10e3(0x151)](_0x5defed,_0xafe660)||this[_0x3b10e3(0x16f)](_0xafe660);this[_0x3b10e3(0x184)](_0x5defed,_0x3fbb48);});}[_0x39f3ea(0x14d)](){const _0x52e9e4=_0x39f3ea,_0x18069d=this[_0x52e9e4(0x183)][_0x52e9e4(0x13e)],_0x510caf=Array[_0x52e9e4(0x14b)](_0x18069d[_0x52e9e4(0x155)][_0x52e9e4(0x17b)](f))[_0x52e9e4(0x161)](_0x418809=>_0x418809[_0x52e9e4(0x162)]());return _0x18069d[_0x52e9e4(0x15a)](_0x510caf);}[_0x39f3ea(0x123)]({writer:_0x29b871,html:_0x4cbe33,insertAt:_0x399818}){const _0x3cf826=_0x39f3ea,{view:_0x12c106}=this[_0x3cf826(0x183)][_0x3cf826(0x17a)],_0x4fba2a=this[_0x3cf826(0x183)][_0x3cf826(0x12e)][_0x3cf826(0x146)](_0x36236b),_0x4b6f2e=new w();_0x4b6f2e[_0x3cf826(0x157)](_0x3cf826(0x135),_0x4cbe33);const _0xf8e00b=new ClipboardEvent(_0x3cf826(0x127),{'clipboardData':_0x4b6f2e}),_0x5249e5=new _0x36df72(_0x12c106,_0xf8e00b,{'dataTransfer':new _0x59453d(_0x4b6f2e)});_0x29b871[_0x3cf826(0x175)](_0x399818);const _0x7784b2=(_0x45199e,_0x382ba6)=>{const _0x5c6a5a=_0x3cf826;_0x382ba6[_0x5c6a5a(0x120)]&&_0x29b871[_0x5c6a5a(0x175)](_0x382ba6[_0x5c6a5a(0x120)]);};_0x4fba2a[_0x3cf826(0x13a)](_0x3cf826(0x176),_0x7784b2,{'priority':_0x3cf826(0x178)}),_0x12c106[_0x3cf826(0x132)][_0x3cf826(0x122)](_0x3cf826(0x127),_0x5249e5),_0x4fba2a[_0x3cf826(0x167)](_0x3cf826(0x176),_0x7784b2);}[_0x39f3ea(0x16f)](_0x5d88e1){const _0x1f2fb0=_0x39f3ea,{model:_0x37016d}=this[_0x1f2fb0(0x183)],_0x5596cd=Array[_0x1f2fb0(0x14b)](_0x5d88e1[_0x1f2fb0(0x14e)]());return _0x5596cd[_0x1f2fb0(0x133)]?_0x37016d[_0x1f2fb0(0x145)](_0x5596cd[_0x1f2fb0(0x17f)]()):_0x5d88e1[_0x1f2fb0(0x121)]();}[_0x39f3ea(0x151)](_0x5386bd,_0x14ba51){const _0x574d45=_0x39f3ea,{model:_0x1bf76d,plugins:_0x3330d0}=this[_0x574d45(0x183)];if(_0x3330d0[_0x574d45(0x187)](_0x574d45(0x11a))){const _0x7a3766=_0x3330d0[_0x574d45(0x146)](_0x574d45(0x11a))[_0x574d45(0x166)](_0x14ba51);if(_0x7a3766[_0x574d45(0x133)]){const _0x1a4123=this[_0x574d45(0x128)](_0x5386bd),_0x2865ee=this[_0x574d45(0x119)](_0x7a3766,_0x1a4123);return _0x1bf76d[_0x574d45(0x12c)](_0x2865ee,0x0);}}return null;}[_0x39f3ea(0x128)](_0x10620e){const _0x380873=_0x39f3ea,_0x2edb90=this[_0x380873(0x183)][_0x380873(0x12e)][_0x380873(0x146)](_0x380873(0x11a)),_0x29eeb6=this[_0x380873(0x183)][_0x380873(0x152)][_0x380873(0x16b)](_0x10620e),_0x1eef03=Array[_0x380873(0x14b)](_0x29eeb6[_0x380873(0x11d)]())[_0x380873(0x179)](_0x204f4=>_0x204f4['is'](_0x380873(0x164),_0x380873(0x168)));let _0x19d20d=0x0;return _0x1eef03[_0x380873(0x11f)](_0x1ef288=>{const _0x5b9d5f=_0x380873;_0x19d20d+=_0x2edb90[_0x5b9d5f(0x141)](_0x1ef288);}),_0x19d20d;}[_0x39f3ea(0x119)](_0x36e253,_0x1cf21a){const _0xea1ab4=_0x39f3ea,_0x6ac397=this[_0xea1ab4(0x183)][_0xea1ab4(0x12e)][_0xea1ab4(0x146)](_0xea1ab4(0x11a)),_0x1b6d62=_0x6ac397[_0xea1ab4(0x173)](_0x36e253),_0x3cbc89=_0x6ac397[_0xea1ab4(0x12d)](_0x36e253),_0x2444bf=_0x1b6d62[_0xea1ab4(0x143)]+0x1,_0x63647=_0x3cbc89[_0xea1ab4(0x172)],_0x51ec59=_0x36e253[0x0][_0xea1ab4(0x15c)](_0xea1ab4(0x168));for(let _0x3d54a4=0x0;_0x3d54a4<_0x1cf21a;_0x3d54a4++)_0x6ac397[_0xea1ab4(0x182)](_0x51ec59,{'at':_0x2444bf});return _0x51ec59[_0xea1ab4(0x125)](_0x2444bf)[_0xea1ab4(0x125)](_0x63647);}[_0x39f3ea(0x16a)](_0x5e8e49,_0x190118){const _0x565b72=_0x39f3ea,{plugins:_0x4cf8a7}=this[_0x565b72(0x183)],{model:_0xcb51f9}=_0x5e8e49;if(!_0x4cf8a7[_0x565b72(0x187)](_0x565b72(0x11a)))return;_0x4cf8a7[_0x565b72(0x146)](_0x565b72(0x11a))[_0x565b72(0x166)](_0x190118)[_0x565b72(0x133)]&&_0xcb51f9[_0x565b72(0x16d)](_0x190118);}}
|
|
23
|
+
const _0x2fd9a2=_0x245d;function _0x245d(_0x36139a,_0x11bd70){const _0x1e6aec=_0x1e6a();return _0x245d=function(_0x245de9,_0x540abf){_0x245de9=_0x245de9-0x1aa;let _0x17d26d=_0x1e6aec[_0x245de9];return _0x17d26d;},_0x245d(_0x36139a,_0x11bd70);}(function(_0x1052ed,_0x3be2b4){const _0xd39665=_0x245d,_0x344477=_0x1052ed();while(!![]){try{const _0x53d0dd=-parseInt(_0xd39665(0x1b1))/0x1+parseInt(_0xd39665(0x1aa))/0x2*(parseInt(_0xd39665(0x1b0))/0x3)+parseInt(_0xd39665(0x1c5))/0x4*(parseInt(_0xd39665(0x201))/0x5)+parseInt(_0xd39665(0x1f1))/0x6*(parseInt(_0xd39665(0x1f5))/0x7)+parseInt(_0xd39665(0x1f6))/0x8*(parseInt(_0xd39665(0x1ac))/0x9)+parseInt(_0xd39665(0x217))/0xa*(parseInt(_0xd39665(0x1be))/0xb)+-parseInt(_0xd39665(0x1d0))/0xc*(parseInt(_0xd39665(0x1d4))/0xd);if(_0x53d0dd===_0x3be2b4)break;else _0x344477['push'](_0x344477['shift']());}catch(_0x1ee982){_0x344477['push'](_0x344477['shift']());}}}(_0x1e6a,0x1bd44));import{uid as _0x3ccb12}from'ckeditor5/src/utils.js';import{Plugin as _0x274cb1}from'ckeditor5/src/core.js';function _0x1e6a(){const _0x97e80b=['document','setSelection','getRange','element','for','selection','filter','_getTableRowCountFromContent','getChildren','editor','getColumnIndexes','ai.assistant.useTheme','getLastPosition','conversion','12560WlBuTF','canEditAt','ck-fake-ai-selection_collapsed','change','2SLkZlm','resultRange','9dtNIJS','isAtEnd','plugins','AIAssistantEditing','509268qkLWxF','67464soXtck','markerRange','getRowIndexes','_resetContentOfSelectedTableCells','text/html','pop','createUIElement','map','editingDowncast','getMarkersGroup','last','model','config','1100dDfRzm','_prepareTableInsertBelowPosition','getRows','insertContentBelow','ck-ai-assistant-ui_theme','getRanges','ai-ui','1256gYWfMX','DataTransfer','isCollapsed','getChild','get','_pasteHTMLUsingClipboard','markers','start','end','_getDefaultInsertBelowPosition','forEach','1704YWruXC','setData','href','markerToElement','23361IcOYfC','paste','isContent','addClass','createPositionAfter','from','insertContent','parse','getLastMatchingPosition','findAncestor','isOfficialPlugin','table','getSelectedBlocks','getSelectedTableCells','_createEmptyTableRows','off','createPositionAt','once','ck-fake-ai-selection','hideFakeVisualSelection','data','editing','removeMarker','fire','showFakeVisualSelection','span','addMarker','init','markerToHighlight','258ukXCHj','createSelection','TableUtils','deleteContent','9611TudDhl','92648ISNyMR','contentInsertion','updateMarker','has','first','lowest','isPremiumPlugin','pluginName','createRange','afterInit','schema','1125UNTPgf','fromCharCode','length','getFirstRange','_getAISelection','insertRows','push','join'];_0x1e6a=function(){return _0x97e80b;};return _0x1e6a();}import{ClipboardPipeline as _0x594634}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3302f9,ViewDataTransfer as _0x3ec29a}from'ckeditor5/src/engine.js';const w=globalThis[_0x2fd9a2(0x1c6)],f=_0x2fd9a2(0x1c4);export class AIAssistantEditing extends _0x274cb1{static get[_0x2fd9a2(0x1fd)](){const _0x381486=_0x2fd9a2;return _0x381486(0x1af);}static get[_0x2fd9a2(0x1de)](){return!0x0;}static get[_0x2fd9a2(0x1fc)](){return!0x0;}[_0x2fd9a2(0x1ef)](){const _0x28272d=_0x2fd9a2,{editor:_0x1d132b}=this,_0x35fde8=[_0x28272d(0x1e6)];_0x1d132b[_0x28272d(0x1bd)][_0x28272d(0x1c9)](_0x28272d(0x214))&&_0x35fde8[_0x28272d(0x207)](_0x28272d(0x1c2)),_0x1d132b[_0x28272d(0x216)][_0x28272d(0x20d)](_0x28272d(0x1b9))[_0x28272d(0x1f0)]({'model':f,'view':{'classes':_0x35fde8,'priority':0xc}}),_0x1d132b[_0x28272d(0x216)][_0x28272d(0x20d)](_0x28272d(0x1b9))[_0x28272d(0x1d3)]({'model':f,'view':(_0xffb5ac,{writer:_0x54c486})=>{const _0x17c5ee=_0x28272d;if(!_0xffb5ac[_0x17c5ee(0x1b2)][_0x17c5ee(0x1c7)])return null;const _0x501757=_0x54c486[_0x17c5ee(0x1b7)](_0x17c5ee(0x1ed));return _0x54c486[_0x17c5ee(0x1d7)]([_0x17c5ee(0x1e6),_0x17c5ee(0x219)],_0x501757),_0x501757;}});}[_0x2fd9a2(0x1ff)](){!async function(_0x24f133){const _0x489969=_0x595a41([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x1b6f10=0x3dffc4e1,_0x584a71=0x3df84249^_0x1b6f10,_0x7fb09f=window[_0x595a41([0x44,0x61,0x74,0x65])][_0x595a41([0x6e,0x6f,0x77])](),_0x3a9cdc=_0x24f133[_0x595a41([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x14a470=new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cb50e=>{_0x3a9cdc[_0x595a41([0x6f,0x6e,0x63,0x65])](_0x595a41([0x72,0x65,0x61,0x64,0x79]),_0x5cb50e);}),_0x3a92e5={[_0x595a41([0x6b,0x74,0x79])]:_0x595a41([0x45,0x43]),[_0x595a41([0x75,0x73,0x65])]:_0x595a41([0x73,0x69,0x67]),[_0x595a41([0x63,0x72,0x76])]:_0x595a41([0x50,0x2d,0x32,0x35,0x36]),[_0x595a41([0x78])]:_0x595a41([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x595a41([0x79])]:_0x595a41([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x595a41([0x61,0x6c,0x67])]:_0x595a41([0x45,0x53,0x32,0x35,0x36])},_0x231852=_0x3a9cdc[_0x595a41([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x595a41([0x67,0x65,0x74])](_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x20473e(){let _0x217c47,_0x1ec13b=null,_0x566554=null;try{if(_0x231852==_0x595a41([0x47,0x50,0x4c]))return _0x595a41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x217c47=_0xd2b556(),!_0x217c47)return _0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x217c47[_0x595a41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x566554=_0x262e3a(_0x217c47[_0x595a41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x217c47[_0x595a41([0x6a,0x74,0x69])])),await _0x28e9fc()?_0x40c732()?_0x225d80()?_0x595a41([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x128190()?(_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x595a41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ec13b=_0xbeda15(_0x595a41([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x339ab8()):_0x595a41([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x595a41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x225d80(){const _0x5f0a91=[_0x595a41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x595a41([0x74,0x72,0x69,0x61,0x6c])][_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7fb09f/0x3e8:0xe10*_0x584a71;return _0x217c47[_0x595a41([0x65,0x78,0x70])]<_0x5f0a91;}function _0x40c732(){const _0x2cdae3=_0x217c47[_0x595a41([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2cdae3&&(!!_0x2cdae3[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x2a]))||!!_0x2cdae3[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x41,0x49])));}function _0x128190(){const _0x3add23=_0x245d,_0x2055ec=_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2055ec||0x0==_0x2055ec[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb067d7}=new URL(window[_0x595a41([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3add23(0x1d2)]);if(_0x2055ec[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb067d7))return!0x0;const _0x53d9e5=_0xb067d7[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e]));return _0x2055ec[_0x595a41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14c605=>_0x14c605[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x2a])))[_0x595a41([0x6d,0x61,0x70])](_0x1aac4d=>_0x1aac4d[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e])))[_0x595a41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf11565=>_0xf11565[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53d9e5[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x595a41([0x6d,0x61,0x70])](_0x11cff6=>Array(_0x53d9e5[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11cff6[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x595a41([0x66,0x69,0x6c,0x6c])](_0x11cff6[0x0]===_0x595a41([0x2a])?_0x595a41([0x2a]):'')[_0x595a41([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11cff6))[_0x595a41([0x73,0x6f,0x6d,0x65])](_0x152f19=>_0x53d9e5[_0x595a41([0x65,0x76,0x65,0x72,0x79])]((_0x1f12b4,_0x3cccce)=>_0x152f19[_0x3cccce]===_0x1f12b4||_0x152f19[_0x3cccce]===_0x595a41([0x2a])));}function _0x339ab8(){return _0x1ec13b&&_0x566554?new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47a63e,_0x39d956)=>{_0x1ec13b[_0x595a41([0x74,0x68,0x65,0x6e])](_0x47a63e,_0x39d956),_0x566554[_0x595a41([0x74,0x68,0x65,0x6e])](_0x2314c9=>{_0x2314c9!=_0x595a41([0x56,0x61,0x6c,0x69,0x64])&&_0x47a63e(_0x2314c9);},_0x39d956);}):_0x1ec13b||_0x566554||_0x595a41([0x56,0x61,0x6c,0x69,0x64]);}}function _0x262e3a(_0x3eb1c2,_0x4abd74){return new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cc2be=>{if(_0x38caf8())return _0x5cc2be(_0x595a41([0x56,0x61,0x6c,0x69,0x64]));_0x3ecdfa(),_0x3a9cdc[_0x595a41([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4093d2=!0x1;const _0x93bb1e=_0x3ccb12();function _0x40392b(_0x8ae2d4){return!!_0x8ae2d4&&(typeof _0x8ae2d4===_0x595a41([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8ae2d4===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8ae2d4[_0x595a41([0x74,0x68,0x65,0x6e])]===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8ae2d4[_0x595a41([0x63,0x61,0x74,0x63,0x68])]===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe9c597(_0x404092){_0x39420f(_0x404092)[_0x595a41([0x74,0x68,0x65,0x6e])](_0x269a35=>{if(!_0x269a35||_0x269a35[_0x595a41([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x595a41([0x6f,0x6b]))return _0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bb3a3(_0x2b53c5(_0x93bb1e+_0x4abd74))!=_0x269a35[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x595a41([0x56,0x61,0x6c,0x69,0x64]);})[_0x595a41([0x74,0x68,0x65,0x6e])](_0x466410=>(_0x415b7f(),_0x466410),()=>{const _0x22c4bb=_0x2a9873();return null==_0x22c4bb?(_0x415b7f(),_0x595a41([0x56,0x61,0x6c,0x69,0x64])):_0x595a41(_0x7fb09f-_0x22c4bb>(0x19f340e1^_0x1b6f10)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x595a41([0x74,0x68,0x65,0x6e])](_0x5cc2be)[_0x595a41([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x380f6e=0x3dc92a61^_0x1b6f10;function _0x415b7f(){const _0x13c555=_0x595a41([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb3a3(_0x2b53c5(_0x3eb1c2)),_0x348171=_0x17503c(_0x5bb3a3(window[_0x595a41([0x4d,0x61,0x74,0x68])][_0x595a41([0x63,0x65,0x69,0x6c])](_0x7fb09f/_0x380f6e)));window[_0x595a41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x595a41([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13c555,_0x348171);}function _0x2a9873(){const _0x37d62e=_0x595a41([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb3a3(_0x2b53c5(_0x3eb1c2)),_0x30e332=window[_0x595a41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x595a41([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37d62e);return _0x30e332?window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17503c(_0x30e332),0x10)*_0x380f6e:null;}function _0x39420f(_0x54a631){return new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e657c,_0x48db5)=>{_0x54a631[_0x595a41([0x74,0x68,0x65,0x6e])](_0x5e657c,_0x48db5),window[_0x595a41([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48db5,0x3dfe1021^_0x1b6f10);});}}_0x3a9cdc[_0x595a41([0x6f,0x6e])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26e46b,_0x5c2ce6)=>{if(_0x5c2ce6[0x0]!=_0x3eb1c2)return _0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c2ce6[0x1]={..._0x5c2ce6[0x1],[_0x595a41([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x93bb1e};},{[_0x595a41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x595a41([0x68,0x69,0x67,0x68])}),_0x3a9cdc[_0x595a41([0x6f,0x6e])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a2ea6=>{_0x40392b(_0x3a2ea6[_0x595a41([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4093d2=!0x0,_0xe9c597(_0x3a2ea6[_0x595a41([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x595a41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x595a41([0x6c,0x6f,0x77])}),_0x14a470[_0x595a41([0x74,0x68,0x65,0x6e])](()=>{_0x4093d2||_0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38caf8(){return _0x3a9cdc[_0x595a41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x595a41([0x76,0x69,0x65,0x77])][_0x595a41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x595a41([0x61,0x75,0x74,0x6f]);}function _0x3ecdfa(){_0x3a9cdc[_0x595a41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x595a41([0x76,0x69,0x65,0x77])][_0x595a41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x595a41([0x61,0x75,0x74,0x6f]);}}function _0xbeda15(_0x54cdcd){const _0x491677=[new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x307ee3=>setTimeout(_0x307ee3,0x3df6fa2d^_0x1b6f10)),_0x14a470[_0x595a41([0x74,0x68,0x65,0x6e])](()=>new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26c3c9=>{let _0x46bf17=0x0;_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x6f,0x6e])](_0x595a41([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f4506,_0x4f4275)=>{_0x4f4275[0x0][_0x595a41([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46bf17++,_0x46bf17==(0x3dffc109^_0x1b6f10)&&(_0x26c3c9(),_0x5f4506[_0x595a41([0x6f,0x66,0x66])]());});}))];return window[_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x595a41([0x72,0x61,0x63,0x65])](_0x491677)[_0x595a41([0x74,0x68,0x65,0x6e])](()=>_0x54cdcd);}async function _0x23dd13(){await _0x14a470,_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8e3839,_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8e3839,_0x3a9cdc[_0x595a41([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x595a41([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33f35e(_0xffdd09){const _0x2fcfb1=_0x9ec556();_0x3a9cdc[_0x2fcfb1]=_0x595a41([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xffdd09,_0xffdd09!=_0x595a41([0x56,0x61,0x6c,0x69,0x64])&&_0x23dd13();}function _0x9ec556(){const _0x2af970=window[_0x595a41([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x595a41([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x595a41([0x6e,0x6f,0x77])]())[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x595a41([0x2e]),'');let _0x256c3b=_0x595a41([0x6e]);for(let _0x48d860=0x0;_0x48d860<_0x2af970[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48d860+=0x2){let _0x453f2f=window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af970[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48d860,_0x48d860+0x2));_0x453f2f>=_0x489969[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x453f2f-=_0x489969[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x256c3b+=_0x489969[_0x453f2f];}return _0x256c3b;}function _0xd2b556(){const _0x1b16d7=_0x231852[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e]));if(0x3!=_0x1b16d7[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5717fa(_0x1b16d7[0x1]);function _0x5717fa(_0x28d317){const _0x27014e=_0x2b2b27(_0x28d317);return _0x27014e&&_0xf62156()?_0x27014e:null;function _0xf62156(){const _0x32ffe0=_0x27014e[_0x595a41([0x6a,0x74,0x69])],_0x4a9ce8=window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32ffe0[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32ffe0[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38a27d={..._0x27014e,[_0x595a41([0x6a,0x74,0x69])]:_0x32ffe0[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32ffe0[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38a27d[_0x595a41([0x76,0x63])],_0x2b53c5(_0x38a27d)==_0x4a9ce8;}}}async function _0x28e9fc(){let _0x53715d=!0x0;try{const _0x1cfa27=_0x231852[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e])),[_0x5787b4,_0x41768b,_0x4110b7]=_0x1cfa27;return _0x35c51b(_0x5787b4),await _0x43ea79(_0x5787b4,_0x41768b,_0x4110b7),_0x53715d;}catch{return!0x1;}function _0x35c51b(_0x1e9bcc){const _0x4dc062=_0x2b2b27(_0x1e9bcc);_0x4dc062&&_0x4dc062[_0x595a41([0x61,0x6c,0x67])]==_0x595a41([0x45,0x53,0x32,0x35,0x36])||(_0x53715d=!0x1);}async function _0x43ea79(_0x338b64,_0x52b94d,_0x3370b2){const _0x53ffb8=window[_0x595a41([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x595a41([0x66,0x72,0x6f,0x6d])](_0x35b56b(_0x3370b2),_0xbb4333=>_0xbb4333[_0x595a41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a0db5=new window[(_0x595a41([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x595a41([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x338b64+_0x595a41([0x2e])+_0x52b94d),_0x10945f=window[_0x595a41([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x595a41([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10945f)return;const _0x19e1ed=await _0x10945f[_0x595a41([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x595a41([0x6a,0x77,0x6b]),_0x3a92e5,{[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x45,0x43,0x44,0x53,0x41]),[_0x595a41([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x595a41([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10945f[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x45,0x43,0x44,0x53,0x41]),[_0x595a41([0x68,0x61,0x73,0x68])]:{[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x19e1ed,_0x53ffb8,_0x3a0db5)||(_0x53715d=!0x1);}}function _0x2b2b27(_0x382e98){return _0x382e98[_0x595a41([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x595a41([0x65,0x79]))?JSON[_0x595a41([0x70,0x61,0x72,0x73,0x65])](_0x35b56b(_0x382e98)):null;}function _0x35b56b(_0x35ff41){return window[_0x595a41([0x61,0x74,0x6f,0x62])](_0x35ff41[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x595a41([0x2b]))[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x595a41([0x2f])));}function _0x2b53c5(_0x2782ed){let _0x31ddd3=0x1505;function _0x593ff9(_0x57f445){for(let _0x337aee=0x0;_0x337aee<_0x57f445[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x337aee++){const _0x110c1f=_0x57f445[_0x595a41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x337aee);_0x31ddd3=(_0x31ddd3<<0x5)+_0x31ddd3+_0x110c1f,_0x31ddd3&=_0x31ddd3;}}function _0x1a0766(_0xb3d78d){Array[_0x595a41([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb3d78d)?_0xb3d78d[_0x595a41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a0766):_0xb3d78d&&typeof _0xb3d78d==_0x595a41([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x595a41([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb3d78d)[_0x595a41([0x73,0x6f,0x72,0x74])]()[_0x595a41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x265e96,_0x2687f5])=>{_0x593ff9(_0x265e96),_0x1a0766(_0x2687f5);}):_0x593ff9(window[_0x595a41([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb3d78d));}return _0x1a0766(_0x2782ed),_0x31ddd3>>>0x0;}function _0x5bb3a3(_0x5a0f3e){return _0x5a0f3e[_0x595a41([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x595a41([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x595a41([0x30]));}function _0x17503c(_0x2d6292){return _0x2d6292[_0x595a41([0x73,0x70,0x6c,0x69,0x74])]('')[_0x595a41([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x595a41([0x6a,0x6f,0x69,0x6e])]('');}function _0x8e3839(){}function _0x595a41(_0x5e12de){const _0x564379=_0x245d;return _0x5e12de[_0x564379(0x1b8)](_0x83921f=>String[_0x564379(0x202)](_0x83921f))[_0x564379(0x208)]('');}_0x33f35e(await _0x20473e());}(this);}[_0x2fd9a2(0x1ec)](){const _0x6745a5=_0x2fd9a2,_0x9f0209=this[_0x6745a5(0x212)][_0x6745a5(0x1bc)];_0x9f0209[_0x6745a5(0x21a)](_0x45ac44=>{const _0x47e249=_0x6745a5,_0x481c20=_0x9f0209[_0x47e249(0x209)][_0x47e249(0x20e)][_0x47e249(0x1c3)]();let _0x1eee3d=0x0;for(const _0x5dc398 of _0x481c20){const _0x4cbab3=f+':'+_0x1eee3d;if(_0x9f0209[_0x47e249(0x1cb)][_0x47e249(0x1f9)](_0x4cbab3))_0x45ac44[_0x47e249(0x1f8)](_0x4cbab3,{'range':_0x5dc398});else{if(_0x5dc398[_0x47e249(0x1cc)][_0x47e249(0x1ad)]){const _0x578669=_0x5dc398[_0x47e249(0x1cc)][_0x47e249(0x1dc)](({item:_0x1cb2f5})=>!_0x9f0209[_0x47e249(0x200)][_0x47e249(0x1d6)](_0x1cb2f5),{'boundaries':_0x5dc398});_0x45ac44[_0x47e249(0x1ee)](_0x4cbab3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45ac44[_0x47e249(0x1fe)](_0x578669,_0x5dc398[_0x47e249(0x1cd)])});}else _0x45ac44[_0x47e249(0x1ee)](_0x4cbab3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5dc398});}_0x1eee3d++;}});}[_0x2fd9a2(0x1e7)](){const _0x359f69=_0x2fd9a2,_0x28ca0=this[_0x359f69(0x212)][_0x359f69(0x1bc)],_0x22495f=Array[_0x359f69(0x1d9)](this[_0x359f69(0x212)][_0x359f69(0x1bc)][_0x359f69(0x1cb)][_0x359f69(0x1ba)](f));_0x22495f[_0x359f69(0x203)]&&_0x28ca0[_0x359f69(0x21a)](_0x4a51ba=>{const _0x4f0e88=_0x359f69;_0x22495f[_0x4f0e88(0x1cf)](_0x3befc8=>{const _0x48f5d9=_0x4f0e88;_0x4a51ba[_0x48f5d9(0x1ea)](_0x3befc8);});});}[_0x2fd9a2(0x1da)](_0x1af8e8,_0x42f072){const _0x956aaa=_0x2fd9a2,_0x4121f6=this[_0x956aaa(0x205)](),_0xd86a54=_0x42f072||_0x4121f6[_0x956aaa(0x204)]();this[_0x956aaa(0x212)][_0x956aaa(0x1bc)][_0x956aaa(0x218)](_0xd86a54)&&this[_0x956aaa(0x212)][_0x956aaa(0x1bc)][_0x956aaa(0x21a)](_0x363492=>{const _0x49d445=_0x956aaa;this[_0x49d445(0x1e7)](),_0x42f072||this[_0x49d445(0x1b4)](_0x363492,_0x4121f6),this[_0x49d445(0x1ca)]({'insertAt':_0xd86a54,'writer':_0x363492,'html':_0x1af8e8});});}[_0x2fd9a2(0x1c1)](_0xbfb7d9){const _0x2e5ba9=_0x2fd9a2,{model:_0x106bde}=this[_0x2e5ba9(0x212)],_0x54456d=this[_0x2e5ba9(0x205)]();_0x106bde[_0x2e5ba9(0x21a)](()=>{const _0x4c1e60=_0x2e5ba9,_0x53df5d=this[_0x4c1e60(0x1bf)](_0xbfb7d9,_0x54456d)||this[_0x4c1e60(0x1ce)](_0x54456d);this[_0x4c1e60(0x1da)](_0xbfb7d9,_0x53df5d);});}[_0x2fd9a2(0x205)](){const _0x578bce=_0x2fd9a2,_0xde0d79=this[_0x578bce(0x212)][_0x578bce(0x1bc)],_0x1798db=Array[_0x578bce(0x1d9)](_0xde0d79[_0x578bce(0x1cb)][_0x578bce(0x1ba)](f))[_0x578bce(0x1b8)](_0x36814d=>_0x36814d[_0x578bce(0x20b)]());return _0xde0d79[_0x578bce(0x1f2)](_0x1798db);}[_0x2fd9a2(0x1ca)]({writer:_0x46f523,html:_0x387da2,insertAt:_0x22b8a3}){const _0x3f81c0=_0x2fd9a2,{view:_0x127d72}=this[_0x3f81c0(0x212)][_0x3f81c0(0x1e9)],_0x50aca0=this[_0x3f81c0(0x212)][_0x3f81c0(0x1ae)][_0x3f81c0(0x1c9)](_0x594634),_0x4f3e05=new w();_0x4f3e05[_0x3f81c0(0x1d1)](_0x3f81c0(0x1b5),_0x387da2);const _0x1d948e=new ClipboardEvent(_0x3f81c0(0x1d5),{'clipboardData':_0x4f3e05}),_0x3105fa=new _0x3302f9(_0x127d72,_0x1d948e,{'dataTransfer':new _0x3ec29a(_0x4f3e05)});_0x46f523[_0x3f81c0(0x20a)](_0x22b8a3);const _0x247bb2=(_0x223fdc,_0x4cbc76)=>{const _0x524b32=_0x3f81c0;_0x4cbc76[_0x524b32(0x1ab)]&&_0x46f523[_0x524b32(0x20a)](_0x4cbc76[_0x524b32(0x1ab)]);};_0x50aca0[_0x3f81c0(0x1e5)](_0x3f81c0(0x1f7),_0x247bb2,{'priority':_0x3f81c0(0x1fb)}),_0x127d72[_0x3f81c0(0x209)][_0x3f81c0(0x1eb)](_0x3f81c0(0x1d5),_0x3105fa),_0x50aca0[_0x3f81c0(0x1e3)](_0x3f81c0(0x1f7),_0x247bb2);}[_0x2fd9a2(0x1ce)](_0x506cef){const _0x2aa825=_0x2fd9a2,{model:_0x32cfa1}=this[_0x2aa825(0x212)],_0x227c8b=Array[_0x2aa825(0x1d9)](_0x506cef[_0x2aa825(0x1e0)]());return _0x227c8b[_0x2aa825(0x203)]?_0x32cfa1[_0x2aa825(0x1d8)](_0x227c8b[_0x2aa825(0x1b6)]()):_0x506cef[_0x2aa825(0x215)]();}[_0x2fd9a2(0x1bf)](_0x33ccef,_0x48b1fd){const _0x2572fe=_0x2fd9a2,{model:_0x14c309,plugins:_0x3b9e8f}=this[_0x2572fe(0x212)];if(_0x3b9e8f[_0x2572fe(0x1f9)](_0x2572fe(0x1f3))){const _0x2d8f58=_0x3b9e8f[_0x2572fe(0x1c9)](_0x2572fe(0x1f3))[_0x2572fe(0x1e1)](_0x48b1fd);if(_0x2d8f58[_0x2572fe(0x203)]){const _0x57dd26=this[_0x2572fe(0x210)](_0x33ccef),_0x5d8e9a=this[_0x2572fe(0x1e2)](_0x2d8f58,_0x57dd26);return _0x14c309[_0x2572fe(0x1e4)](_0x5d8e9a,0x0);}}return null;}[_0x2fd9a2(0x210)](_0x3b700a){const _0x569d18=_0x2fd9a2,_0x5cdace=this[_0x569d18(0x212)][_0x569d18(0x1ae)][_0x569d18(0x1c9)](_0x569d18(0x1f3)),_0x32d300=this[_0x569d18(0x212)][_0x569d18(0x1e8)][_0x569d18(0x1db)](_0x3b700a),_0x431e93=Array[_0x569d18(0x1d9)](_0x32d300[_0x569d18(0x211)]())[_0x569d18(0x20f)](_0x4ffa07=>_0x4ffa07['is'](_0x569d18(0x20c),_0x569d18(0x1df)));let _0x5453b7=0x0;return _0x431e93[_0x569d18(0x1cf)](_0x3728b8=>{const _0x3376be=_0x569d18;_0x5453b7+=_0x5cdace[_0x3376be(0x1c0)](_0x3728b8);}),_0x5453b7;}[_0x2fd9a2(0x1e2)](_0x7c347b,_0x415449){const _0x27501b=_0x2fd9a2,_0x45e399=this[_0x27501b(0x212)][_0x27501b(0x1ae)][_0x27501b(0x1c9)](_0x27501b(0x1f3)),_0x4f43e0=_0x45e399[_0x27501b(0x1b3)](_0x7c347b),_0x3e7650=_0x45e399[_0x27501b(0x213)](_0x7c347b),_0x4319ab=_0x4f43e0[_0x27501b(0x1bb)]+0x1,_0x1719d4=_0x3e7650[_0x27501b(0x1fa)],_0x43233b=_0x7c347b[0x0][_0x27501b(0x1dd)](_0x27501b(0x1df));for(let _0x313744=0x0;_0x313744<_0x415449;_0x313744++)_0x45e399[_0x27501b(0x206)](_0x43233b,{'at':_0x4319ab});return _0x43233b[_0x27501b(0x1c8)](_0x4319ab)[_0x27501b(0x1c8)](_0x1719d4);}[_0x2fd9a2(0x1b4)](_0x10d08b,_0x118a1b){const _0x306526=_0x2fd9a2,{plugins:_0x5ea36f}=this[_0x306526(0x212)],{model:_0x18e91b}=_0x10d08b;if(!_0x5ea36f[_0x306526(0x1f9)](_0x306526(0x1f3)))return;_0x5ea36f[_0x306526(0x1c9)](_0x306526(0x1f3))[_0x306526(0x1e1)](_0x118a1b)[_0x306526(0x203)]&&_0x18e91b[_0x306526(0x1f4)](_0x118a1b);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x19946a=_0x23a8;(function(_0x2d2f7e,_0x592c87){const _0x323ea4=_0x23a8,_0x5afde1=_0x2d2f7e();while(!![]){try{const _0x1f84c6=-parseInt(_0x323ea4(0x124))/0x1+parseInt(_0x323ea4(0x123))/0x2+-parseInt(_0x323ea4(0x142))/0x3*(-parseInt(_0x323ea4(0x146))/0x4)+parseInt(_0x323ea4(0x129))/0x5+-parseInt(_0x323ea4(0x144))/0x6+-parseInt(_0x323ea4(0x112))/0x7*(parseInt(_0x323ea4(0x134))/0x8)+parseInt(_0x323ea4(0x133))/0x9;if(_0x1f84c6===_0x592c87)break;else _0x5afde1['push'](_0x5afde1['shift']());}catch(_0x32cd59){_0x5afde1['push'](_0x5afde1['shift']());}}}(_0x7645,0x467fd));import{ObservableMixin as _0x2f552b}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1304f6}from'../adapters/aiadapter.js';import{Matcher as _0x5d4b2f,ViewUpcastWriter as _0x1850d6}from'ckeditor5/src/engine.js';function _0x23a8(_0x37e4ec,_0x452040){const _0x7645f5=_0x7645();return _0x23a8=function(_0x23a869,_0x3815b6){_0x23a869=_0x23a869-0xf7;let _0x15d373=_0x7645f5[_0x23a869];return _0x15d373;},_0x23a8(_0x37e4ec,_0x452040);}const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2f552b(){[_0x19946a(0x130)];[_0x19946a(0xfe)];[_0x19946a(0x116)];[_0x19946a(0x10d)];[_0x19946a(0x105)];[_0x19946a(0x14f)];constructor(_0x2c2f49,_0x1ef4b7,_0x44d362){const _0xce46dc=_0x19946a;super(),this[_0xce46dc(0x130)]=_0x2c2f49,this[_0xce46dc(0xfe)]=_0x1ef4b7,this[_0xce46dc(0x10d)]=document[_0xce46dc(0x119)](_0xce46dc(0xf7)),this[_0xce46dc(0x105)]=new DOMParser(),this[_0xce46dc(0x14f)]=new XMLSerializer(),this[_0xce46dc(0x116)]=_0x44d362,this[_0xce46dc(0xfa)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xce46dc(0x120),(_0x44d3d6,_0x381934,_0x2fdbbf)=>{const _0x37748d=_0xce46dc;this[_0x37748d(0x116)][_0x37748d(0x11c)]=this[_0x37748d(0xf8)](_0x2fdbbf);}),this[_0xce46dc(0x10f)](this[_0xce46dc(0x116)],_0xce46dc(0x157),(_0x464286,_0x11032e)=>{const _0x5f23e3=_0xce46dc,_0x11dec7=this[_0x5f23e3(0x152)]||this[_0x5f23e3(0x111)];this[_0x5f23e3(0x122)](_0x11032e,_0x11dec7,_0x5f23e3(0x140));}),this[_0xce46dc(0x10f)](this[_0xce46dc(0x116)],_0xce46dc(0xfd),()=>{const _0x1c80bd=_0xce46dc;this[_0x1c80bd(0x116)][_0x1c80bd(0x102)]=this[_0x1c80bd(0x115)],this[_0x1c80bd(0x122)](this[_0x1c80bd(0x132)],this[_0x1c80bd(0x14e)],this[_0x1c80bd(0x10e)],this[_0x1c80bd(0x115)]);}),this[_0xce46dc(0x10f)](this[_0xce46dc(0x116)],_0xce46dc(0x110),()=>{const _0x18c015=_0xce46dc;this[_0x18c015(0x110)]();});}[_0x19946a(0x11e)](){const _0x5c26a0=_0x19946a;this[_0x5c26a0(0x12a)]();}async[_0x19946a(0x151)]({actionId:_0x4068d7,query:_0x29a2f9,htmlContent:_0x77e41,label:_0x666343,mainActionLabel:_0xdbc9f}){const _0x4f22c5=_0x19946a;this[_0x4f22c5(0x116)][_0x4f22c5(0x102)]=_0x666343,this[_0x4f22c5(0x116)][_0x4f22c5(0x147)]=_0xdbc9f,this[_0x4f22c5(0x111)]=_0x77e41,_0x29a2f9&&(this[_0x4f22c5(0x116)][_0x4f22c5(0x12e)]?this[_0x4f22c5(0x122)](_0x29a2f9,_0x77e41,_0x4068d7,_0x666343):this[_0x4f22c5(0x116)][_0x4f22c5(0x13c)](_0x4f22c5(0x118),()=>{const _0x46815b=_0x4f22c5;this[_0x46815b(0x122)](_0x29a2f9,_0x77e41,_0x4068d7,_0x666343);}));}[_0x19946a(0x110)](){const _0x581afe=_0x19946a;this[_0x581afe(0x149)]&&(this[_0x581afe(0x149)]=!0x1,this[_0x581afe(0x116)][_0x581afe(0x159)](),this[_0x581afe(0xfe)][_0x581afe(0x156)]());}[_0x19946a(0x10a)](){const _0x57fccf=_0x19946a;this[_0x57fccf(0x111)]='',this[_0x57fccf(0x152)]='',this[_0x57fccf(0x158)]='',this[_0x57fccf(0x14e)]='',this[_0x57fccf(0x132)]='',this[_0x57fccf(0x115)]='',this[_0x57fccf(0x10e)]=void 0x0,this[_0x57fccf(0x116)][_0x57fccf(0x10a)](),this[_0x57fccf(0x110)]();}async[_0x19946a(0x122)](_0x202e89,_0x45a1f4,_0x12cd01,_0x176f54){const _0x22b1fd=_0x19946a;return this[_0x22b1fd(0x149)]=!0x0,this[_0x22b1fd(0x116)][_0x22b1fd(0x14d)](),this[_0x22b1fd(0x14e)]=_0x45a1f4,this[_0x22b1fd(0x132)]=_0x202e89,this[_0x22b1fd(0x115)]=_0x176f54||_0x202e89,this[_0x22b1fd(0x10e)]=_0x12cd01,new Promise(_0x59dba5=>{const _0x3e12fe=_0x22b1fd;this[_0x3e12fe(0xfe)][_0x3e12fe(0x101)]({'query':_0x202e89,'context':_0x45a1f4,'onData':_0x3943df=>{const _0x1015c1=_0x3e12fe;this[_0x1015c1(0x158)]=_0x3943df,this[_0x1015c1(0x152)]=this[_0x1015c1(0x14c)](this[_0x1015c1(0x158)]);},'actionId':_0x12cd01})[_0x3e12fe(0xfb)](()=>{const _0x5c4ce0=_0x3e12fe;!this[_0x5c4ce0(0x152)]&&this[_0x5c4ce0(0x158)]&&(this[_0x5c4ce0(0x152)]=this[_0x5c4ce0(0x14c)](this[_0x5c4ce0(0x158)],!0x0));})[_0x3e12fe(0x13d)](_0x1bd2f4=>{const _0x1dd26f=_0x3e12fe;_0x1bd2f4 instanceof _0x1304f6?this[_0x1dd26f(0x116)][_0x1dd26f(0x138)](_0x1bd2f4[_0x1dd26f(0x14b)]):this[_0x1dd26f(0x116)][_0x1dd26f(0x138)](),_0x59dba5();})[_0x3e12fe(0x139)](()=>{const _0x22b3f1=_0x3e12fe;this[_0x22b3f1(0x110)](),_0x59dba5();});});}[_0x19946a(0x14c)](_0x47ed19,_0xa0d759=!0x1){const _0x5efbb3=_0x19946a,_0x38907d=hs[_0x5efbb3(0x13b)](_0x47ed19);_0x47ed19=_0x38907d?_0x47ed19[_0x5efbb3(0x12d)](_0x38907d[0x1][_0x5efbb3(0x126)]):_0x47ed19[_0x5efbb3(0x126)]<0x64&&!_0xa0d759?'':this[_0x5efbb3(0x11b)](_0x47ed19);const _0x551a0e=this[_0x5efbb3(0x105)][_0x5efbb3(0x13f)](_0x47ed19,_0x5efbb3(0x143));if(_0x38907d){const _0x30c78f=Array[_0x5efbb3(0x117)](_0x551a0e[_0x5efbb3(0x128)][_0x5efbb3(0x10b)]);_0x30c78f[_0x5efbb3(0x13a)]();for(const _0x8d8ca7 of _0x30c78f){if(_0x8d8ca7[_0x5efbb3(0x114)]==Node[_0x5efbb3(0x107)])break;_0x8d8ca7[_0x5efbb3(0x141)]();}}const _0x6c7029=this[_0x5efbb3(0x130)][_0x5efbb3(0x10c)][_0x5efbb3(0x11f)][_0x5efbb3(0x127)](this[_0x5efbb3(0x14f)][_0x5efbb3(0x104)](_0x551a0e[_0x5efbb3(0x128)]));this[_0x5efbb3(0x131)]()||this[_0x5efbb3(0x12f)](_0x6c7029);const _0x40359b=this[_0x5efbb3(0x130)][_0x5efbb3(0x153)][_0x5efbb3(0xf9)](_0x5efbb3(0x12c)),_0x5b5415=this[_0x5efbb3(0x130)][_0x5efbb3(0x10c)][_0x5efbb3(0x11a)](_0x6c7029);return _0x40359b||_0x5b5415[_0x5efbb3(0x150)][_0x5efbb3(0xff)](),this[_0x5efbb3(0x130)][_0x5efbb3(0x10c)][_0x5efbb3(0x13e)](_0x5b5415);}[_0x19946a(0x12f)](_0x31c6f1){const _0x3c7fa2=_0x19946a,_0x8b277a=new _0x1850d6(this[_0x3c7fa2(0x130)][_0x3c7fa2(0x109)][_0x3c7fa2(0x116)][_0x3c7fa2(0x14a)]),_0x30dbd9=new _0x5d4b2f({'name':/^h[1-5]$/}),_0x55ae12=[];let _0x349f9f=!0x1;for(const _0x998a2e of _0x31c6f1)_0x998a2e['is'](_0x3c7fa2(0xfc))&&_0x30dbd9[_0x3c7fa2(0x154)](_0x998a2e)&&(_0x55ae12[_0x3c7fa2(0x135)](_0x998a2e),'h1'==_0x998a2e[_0x3c7fa2(0x108)]&&(_0x349f9f=!0x0));if(_0x349f9f){for(const _0x39bcaf of _0x55ae12)_0x8b277a[_0x3c7fa2(0x103)]('h'+(parseInt(_0x39bcaf[_0x3c7fa2(0x108)][0x1])+0x1),_0x39bcaf);}}[_0x19946a(0x131)](){const _0x41116b=_0x19946a,{data:_0x482b23,editing:_0x2eee47}=this[_0x41116b(0x130)],_0x2d98b5=_0x482b23[_0x41116b(0x11d)][_0x41116b(0x127)](_0x41116b(0x100)),_0x3b7627=_0x482b23[_0x41116b(0x127)](_0x482b23[_0x41116b(0x11a)](_0x2d98b5));return!!_0x2eee47[_0x41116b(0x116)][_0x41116b(0x12b)][_0x41116b(0x113)](_0x3b7627)[_0x41116b(0x106)]('h1');}[_0x19946a(0xf8)](_0x414c12){const _0x55565f=_0x19946a;return this[_0x55565f(0x130)][_0x55565f(0x109)][_0x55565f(0x116)][_0x55565f(0x12b)][_0x55565f(0x155)](this[_0x55565f(0x10d)],_0x414c12),this[_0x55565f(0x10d)][_0x55565f(0x125)];}[_0x19946a(0x11b)](_0x39650a){const _0x4add7c=_0x19946a,_0x48029d=_0x39650a[_0x4add7c(0x121)]();return _0x48029d[_0x4add7c(0x148)](_0x4add7c(0x145))?_0x48029d[_0x4add7c(0x136)](_0x4add7c(0x137))?_0x48029d[_0x4add7c(0x12d)](0x7,_0x48029d[_0x4add7c(0x126)]-0x3):_0x48029d[_0x4add7c(0x12d)](0x7):_0x39650a;}}function _0x7645(){const _0x258d67=['previousLabel','view','from','render','createElement','toModel','_stripMarkdownSyntax','value','htmlProcessor','destroy','processor','set:currentContext','trim','_handleQuery','381356YPnBHt','360676EUoctl','innerHTML','length','toView','body','1144965JPKbGq','stopListening','domConverter','ai.assistant.preserveComments','substring','isRendered','_normalizeResponseHeadings','editor','_isH1TagSupportEnabled','previousQuery','5419962GdgKfv','7272eAKUuE','push','endsWith','```','handleError','finally','reverse','exec','once','catch','stringify','parseFromString','custom','remove','3WYcKey','text/html','896172hiMBwr','```html','892932MRlyeU','mainAction','startsWith','isProcessing','document','message','_parseAndNormalizeContent','startProcessing','previousContext','_xmlSerializer','markers','updateView','currentContext','config','match','setContentOf','abort','submitPrompt','currentResponse','finishProcessing','div','_sanitizeHTML','get','set','then','element','tryAgainEvent','textAdapter','clear','<h1></h1>','makeRequest','prompt','rename','serializeToString','_domParser','querySelector','ELEMENT_NODE','name','editing','reset','childNodes','data','_sanitizationContainer','previousActionId','listenTo','stopProcessing','initialContext','3437LUqbVL','viewToDom','nodeType'];_0x7645=function(){return _0x258d67;};return _0x7645();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x95b8(){const _0x4c2148=['isVisible','setStartAfter','-9999px','write','render','scrollHeight','value','AI\x20is\x20writing...','ck-ai-form__copy-button','listenTo','setContent','ck-ai-form__content-area','<span>[</span>','contentFieldView','execCommand','text/html','textContent','12uASlby','18484OHCTko','17tPGuMj','createElement','clipboard','appendChild','362298aoiftr','class','set','_copyHTMLToClipboard','mousedown','bind','ck-ai-form__content-area-wrapper','body','3229061PRmFYg','loaderView','style','getSelection','removeAllRanges','isEnabled','24246xAMyYU','ck-ai-form__content-field','setTemplate','1454523lobaDZ','absolute','position','_createCopyButton','createRange','copyButtonView','ck-ai-form__copy-button-wrapper','10AYBGYm','4duUjif','bindTemplate','wheel','ck-ai-form__loader','locale','ck-reset_all-excluded','ck-ai-form__content-area--processing','change:value','<span>]</span>','firstElementChild','Copy','ClipboardItem','scrollTo','.ck-ai-form__loader','ck-content','lastElementChild','isProcessing','appendLoader','smooth','addRange','element','copy','change:isProcessing','_createLoader','setEndBefore','777444dJvbxF','ck-hidden','innerHTML','text/plain','64790wNOujU','216mdXhZo','left','\x20ck-ai-form__copy-button--copied','icon','remove','div','querySelector','execute','focus'];_0x95b8=function(){return _0x4c2148;};return _0x95b8();}const _0x8f50c0=_0x50ec;(function(_0x102a6d,_0x4011a5){const _0x2383e1=_0x50ec,_0x382d40=_0x102a6d();while(!![]){try{const _0x4ff05f=parseInt(_0x2383e1(0x114))/0x1*(parseInt(_0x2383e1(0x113))/0x2)+-parseInt(_0x2383e1(0xf3))/0x3*(-parseInt(_0x2383e1(0xda))/0x4)+-parseInt(_0x2383e1(0xd9))/0x5*(parseInt(_0x2383e1(0x118))/0x6)+parseInt(_0x2383e1(0xd2))/0x7+parseInt(_0x2383e1(0xf8))/0x8*(-parseInt(_0x2383e1(0xcf))/0x9)+-parseInt(_0x2383e1(0xf7))/0xa+parseInt(_0x2383e1(0xc9))/0xb*(-parseInt(_0x2383e1(0x112))/0xc);if(_0x4ff05f===_0x4011a5)break;else _0x382d40['push'](_0x382d40['shift']());}catch(_0x32cdfa){_0x382d40['push'](_0x382d40['shift']());}}}(_0x95b8,0x1fdd5));function _0x50ec(_0x50e1a1,_0x323822){const _0x95b851=_0x95b8();return _0x50ec=function(_0x50ec6a,_0x2d1a75){_0x50ec6a=_0x50ec6a-0xc5;let _0xd2078a=_0x95b851[_0x50ec6a];return _0xd2078a;},_0x50ec(_0x50e1a1,_0x323822);}import{global as _0x39352b}from'ckeditor5/src/utils.js';import{View as _0xdb5ef4,ButtonView as _0x191ffd,SpinnerView as _0x3a8841}from'ckeditor5/src/ui.js';import{IconCheck as _0x4406cd,IconCopy as _0x536b14}from'ckeditor5/src/icons.js';import{getTranslation as _0x2fc6b4}from'../../utils/common-translations.js';export class AIFormContentArea extends _0xdb5ef4{[_0x8f50c0(0x10e)];[_0x8f50c0(0xd7)];constructor(_0x3ba779,_0x1b06c8=''){const _0x29de2e=_0x8f50c0;super(_0x3ba779),this[_0x29de2e(0x11a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xd99d5e=this[_0x29de2e(0xdb)];this[_0x29de2e(0x10e)]=new ContentFieldView(_0x3ba779,_0x1b06c8),this[_0x29de2e(0xd7)]=this[_0x29de2e(0xd5)](),this[_0x29de2e(0xd1)]({'tag':_0x29de2e(0xfd),'attributes':{'class':['ck',_0x29de2e(0xc7),_0xd99d5e['if'](_0x29de2e(0x101),_0x29de2e(0xf4),_0x46c448=>!_0x46c448)],'tabindex':'-1'},'children':[{'tag':_0x29de2e(0xfd),'attributes':{'class':['ck',_0x29de2e(0x10c),_0xd99d5e['if'](_0x29de2e(0xea),_0x29de2e(0xe0))]},'children':[this[_0x29de2e(0x10e)],{'tag':_0x29de2e(0xfd),'attributes':{'class':['ck',_0x29de2e(0xd8)]},'children':[this[_0x29de2e(0xd7)]]}]}]});}[_0x8f50c0(0x105)](){const _0x40c12f=_0x8f50c0;super[_0x40c12f(0x105)](),this[_0x40c12f(0x107)]&&this[_0x40c12f(0x10e)][_0x40c12f(0x10b)](this[_0x40c12f(0x107)]);let _0x59bd84=!0x1;this['on'](_0x40c12f(0xe1),(_0x434866,_0x60d793,_0x4144e6)=>{const _0x241087=_0x40c12f,_0x4aee59=!this[_0x241087(0x10e)][_0x241087(0xee)][_0x241087(0xfe)](_0x241087(0xe7));this[_0x241087(0x10e)][_0x241087(0x10b)](_0x4144e6),this[_0x241087(0xea)]&&_0x4aee59&&!_0x59bd84&&this[_0x241087(0xee)][_0x241087(0xe6)]({'top':this[_0x241087(0xee)][_0x241087(0x106)],'behavior':_0x241087(0xec)});}),this['on'](_0x40c12f(0xf0),(_0x4f360b,_0x483fd5,_0x4019e4)=>{const _0xb77f9a=_0x40c12f;_0x59bd84=!0x1,_0x4019e4?(this[_0xb77f9a(0x107)]=null,this[_0xb77f9a(0x10e)][_0xb77f9a(0xeb)]()):this[_0xb77f9a(0x107)]||this[_0xb77f9a(0x10e)][_0xb77f9a(0x10b)]('');}),this[_0x40c12f(0x10a)](this[_0x40c12f(0xee)],_0x40c12f(0xdc),()=>{_0x59bd84=!0x0;}),this[_0x40c12f(0x10a)](this[_0x40c12f(0xee)],_0x40c12f(0xc5),()=>{_0x59bd84=!0x0;});}[_0x8f50c0(0x100)](){const _0x1429ae=_0x8f50c0;this[_0x1429ae(0xee)][_0x1429ae(0x100)]();}[_0x8f50c0(0xd5)](){const _0x1c1903=_0x8f50c0,_0x11cca3=this[_0x1c1903(0xde)],_0x22cbab=new _0x191ffd(this[_0x1c1903(0xde)]),_0x5d6345=_0x1c1903(0x109);return _0x22cbab[_0x1c1903(0x11a)]({'label':_0x2fc6b4(_0x11cca3,_0x1c1903(0xe4)),'icon':_0x536b14,'class':_0x5d6345,'tooltip':!0x0}),_0x22cbab[_0x1c1903(0xc6)](_0x1c1903(0x101))['to'](this,_0x1c1903(0x107),_0xb8877a=>!!_0xb8877a),_0x22cbab[_0x1c1903(0xc6)](_0x1c1903(0xce))['to'](this,_0x1c1903(0xea),_0x291680=>!_0x291680),_0x22cbab['on'](_0x1c1903(0xff),()=>{const _0xf02384=_0x1c1903;this[_0xf02384(0x11b)](this[_0xf02384(0x10e)][_0xf02384(0xee)]),_0x22cbab[_0xf02384(0xfb)]=_0x4406cd,_0x22cbab[_0xf02384(0x119)]=_0x5d6345+_0xf02384(0xfa),this[_0xf02384(0x100)](),setTimeout(()=>{const _0x3811d8=_0xf02384;_0x22cbab[_0x3811d8(0xfb)]=_0x536b14,_0x22cbab[_0x3811d8(0x119)]=_0x5d6345;},0x3e8);}),_0x22cbab;}[_0x8f50c0(0x11b)](_0x30e227){const _0x9d335f=_0x8f50c0,{window:_0x3b5f6b,document:_0x48e506}=_0x39352b;if(_0x3b5f6b[_0x9d335f(0xe5)]){const {Blob:_0x4e5299,ClipboardItem:_0x274711}=_0x3b5f6b,_0x43a2d5=[new _0x274711({'text/html':new _0x4e5299([_0x30e227[_0x9d335f(0xf5)]],{'type':_0x9d335f(0x110)}),'text/plain':new _0x4e5299([_0x30e227[_0x9d335f(0x111)]||''],{'type':_0x9d335f(0xf6)})})];navigator[_0x9d335f(0x116)][_0x9d335f(0x104)](_0x43a2d5);}else{const _0x416405=_0x48e506[_0x9d335f(0x115)](_0x9d335f(0xfd));_0x416405[_0x9d335f(0xcb)][_0x9d335f(0xd4)]=_0x9d335f(0xd3),_0x416405[_0x9d335f(0xcb)][_0x9d335f(0xf9)]=_0x9d335f(0x103),_0x416405[_0x9d335f(0xf5)]=_0x9d335f(0x10d)+_0x30e227[_0x9d335f(0xf5)]+_0x9d335f(0xe2),_0x48e506[_0x9d335f(0xc8)][_0x9d335f(0x117)](_0x416405);const _0x2d9328=_0x48e506[_0x9d335f(0xd6)]();_0x2d9328[_0x9d335f(0x102)](_0x416405[_0x9d335f(0xe3)]),_0x2d9328[_0x9d335f(0xf2)](_0x416405[_0x9d335f(0xe9)]);const _0x4eae1b=_0x3b5f6b[_0x9d335f(0xcc)]();_0x4eae1b[_0x9d335f(0xcd)](),_0x4eae1b[_0x9d335f(0xed)](_0x2d9328),_0x48e506[_0x9d335f(0x10f)](_0x9d335f(0xef)),_0x416405[_0x9d335f(0xfc)]();}}}export class ContentFieldView extends _0xdb5ef4{constructor(_0x253c79,_0x342113=''){const _0x15cb90=_0x8f50c0;super(_0x253c79),this[_0x15cb90(0xca)]=this[_0x15cb90(0xf1)](),this[_0x15cb90(0xd1)]({'tag':_0x15cb90(0xfd),'attributes':{'class':['ck',_0x15cb90(0xe8),_0x342113,_0x15cb90(0xdf),_0x15cb90(0xd0)]}});}[_0x8f50c0(0x10b)](_0x4c5e68){const _0x112416=_0x8f50c0;this[_0x112416(0xee)][_0x112416(0xf5)]=_0x4c5e68;}[_0x8f50c0(0xeb)](){const _0x5b461f=_0x8f50c0;this[_0x5b461f(0xee)][_0x5b461f(0x117)](this[_0x5b461f(0xca)][_0x5b461f(0xee)]);}[_0x8f50c0(0xf1)](){const _0x832b0a=_0x8f50c0,_0x51dd14=new _0xdb5ef4(),_0x5a4ed0=this[_0x832b0a(0xde)],_0x2c38c8=new _0x3a8841();return _0x2c38c8[_0x832b0a(0x101)]=!0x0,_0x51dd14[_0x832b0a(0xd1)]({'tag':_0x832b0a(0xfd),'attributes':{'class':['ck',_0x832b0a(0xdd)]},'children':[_0x2c38c8,{'text':_0x2fc6b4(_0x5a4ed0,_0x832b0a(0x108))}]}),_0x51dd14[_0x832b0a(0x105)](),_0x51dd14;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2a9d(){const _0x2f134d=['isOn','_createShowHistoryButton','3767796qLOjod','focusableChildren','470232sOJFfj','locale','element','resultsView','ck-ai-form__toggle-history','execute','focusCycler','maxRows','queryView','showHistoryButtonView','update','isEnabled','render','right','width','focus','uiLanguageDirection','fire','4313432ILNixR','value','add','requestAnimationFrame','focusLast','style','ck-ai-form__submit','isVisible','fieldWrapperChildren','children','focusFirst','submitButtonView','set','keystrokes','_createSubmitButton','window','6724440JrFDcA','38KBhNiw','excludeScrollbarsAndBorders','target','1082532yAErrE','enter','bind','minRows','History','20nqozJC','313530DulTMY','rtl','Submit','43541WemaeY','fieldView','isEmpty','left','submit','filteredView'];_0x2a9d=function(){return _0x2f134d;};return _0x2a9d();}const _0x2d2c9c=_0x5167;(function(_0x1b444e,_0xfab4c0){const _0x37ed70=_0x5167,_0x181bb4=_0x1b444e();while(!![]){try{const _0x5c6caa=parseInt(_0x37ed70(0x125))/0x1*(-parseInt(_0x37ed70(0x152))/0x2)+-parseInt(_0x37ed70(0x155))/0x3+parseInt(_0x37ed70(0x151))/0x4+-parseInt(_0x37ed70(0x121))/0x5*(-parseInt(_0x37ed70(0x12f))/0x6)+-parseInt(_0x37ed70(0x122))/0x7+parseInt(_0x37ed70(0x141))/0x8+-parseInt(_0x37ed70(0x12d))/0x9;if(_0x5c6caa===_0xfab4c0)break;else _0x181bb4['push'](_0x181bb4['shift']());}catch(_0x5b48eb){_0x181bb4['push'](_0x181bb4['shift']());}}}(_0x2a9d,0xd762c));import{Rect as _0x2a6634,global as _0x470b18,isVisible as _0x3d4bc9}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x34ea11,IconSubmit as _0x18ef55}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x86cc5f,ButtonView as _0x38655d}from'ckeditor5/src/ui.js';function _0x5167(_0x30fb7b,_0x43e908){const _0x2a9df5=_0x2a9d();return _0x5167=function(_0x5167a5,_0x23d3df){_0x5167a5=_0x5167a5-0x11d;let _0x5b3ae7=_0x2a9df5[_0x5167a5];return _0x5b3ae7;},_0x5167(_0x30fb7b,_0x43e908);}import{getTranslation as _0x284464}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x86cc5f{[_0x2d2c9c(0x14c)];[_0x2d2c9c(0x138)];constructor(_0x4d8308,_0x36ce1f){const _0x154e6c=_0x2d2c9c;super(_0x4d8308,_0x36ce1f),this[_0x154e6c(0x137)][_0x154e6c(0x126)][_0x154e6c(0x11f)]=0x1,this[_0x154e6c(0x137)][_0x154e6c(0x126)][_0x154e6c(0x136)]=0x3,this[_0x154e6c(0x14c)]=this[_0x154e6c(0x14f)](),this[_0x154e6c(0x138)]=this[_0x154e6c(0x12c)](),this[_0x154e6c(0x12e)][_0x154e6c(0x143)](this[_0x154e6c(0x138)],0x1),this[_0x154e6c(0x12e)][_0x154e6c(0x143)](this[_0x154e6c(0x14c)]);}[_0x2d2c9c(0x13b)](){const _0xb83349=_0x2d2c9c;super[_0xb83349(0x13b)](),this[_0xb83349(0x137)][_0xb83349(0x149)][_0xb83349(0x143)](this[_0xb83349(0x138)]),this[_0xb83349(0x14a)][_0xb83349(0x143)](this[_0xb83349(0x14c)]),this[_0xb83349(0x14e)][_0xb83349(0x14d)](_0xb83349(0x11d),(_0x503687,_0x245da0)=>{const _0x38d71f=_0xb83349;_0x503687[_0x38d71f(0x154)]==this[_0x38d71f(0x137)][_0x38d71f(0x126)][_0x38d71f(0x131)]&&(this[_0x38d71f(0x129)](),_0x245da0());});}[_0x2d2c9c(0x14f)](){const _0x10db35=_0x2d2c9c,_0x1f197c=new _0x38655d(this[_0x10db35(0x130)]),_0x4e5ee4=this[_0x10db35(0x130)];return _0x1f197c[_0x10db35(0x14d)]({'icon':_0x18ef55,'label':_0x284464(_0x4e5ee4,_0x10db35(0x124)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x10db35(0x147)}),_0x1f197c['on'](_0x10db35(0x134),()=>{const _0x2f8e38=_0x10db35;this[_0x2f8e38(0x129)]();}),_0x1f197c[_0x10db35(0x11e)](_0x10db35(0x13a))['to'](this[_0x10db35(0x137)][_0x10db35(0x126)],_0x10db35(0x127),this,_0x10db35(0x13a),(_0x155487,_0x2be93a)=>!_0x155487&&_0x2be93a),_0x1f197c;}[_0x2d2c9c(0x12c)](){const _0x9cf6ec=_0x2d2c9c,_0x4799f3=new _0x38655d(this[_0x9cf6ec(0x130)]),_0x4ce4b7=this[_0x9cf6ec(0x132)],_0x415cf8=this[_0x9cf6ec(0x130)];_0x4799f3[_0x9cf6ec(0x14d)]({'label':_0x284464(_0x415cf8,_0x9cf6ec(0x120)),'withText':!0x1,'icon':_0x34ea11,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x9cf6ec(0x133)}),_0x4799f3[_0x9cf6ec(0x11e)](_0x9cf6ec(0x12b))['to'](_0x4ce4b7,_0x9cf6ec(0x148)),_0x4799f3[_0x9cf6ec(0x11e)](_0x9cf6ec(0x13a))['to'](this,_0x9cf6ec(0x13a)),_0x4799f3['on'](_0x9cf6ec(0x134),()=>{const _0x2b91c5=_0x9cf6ec;_0x4ce4b7[_0x2b91c5(0x148)]=!_0x4ce4b7[_0x2b91c5(0x148)],_0x4ce4b7[_0x2b91c5(0x148)]?this[_0x2b91c5(0x12a)][_0x2b91c5(0x13e)]():this[_0x2b91c5(0x13e)]();});const _0x237c77=()=>{const _0x6b2ec=_0x9cf6ec;_0x470b18[_0x6b2ec(0x150)][_0x6b2ec(0x144)](()=>{const _0x6203d6=_0x6b2ec;if(_0x3d4bc9(this[_0x6203d6(0x131)])){const _0x43e7d9=new _0x2a6634(this[_0x6203d6(0x137)][_0x6203d6(0x126)][_0x6203d6(0x131)]),_0x1cdeb4=_0x43e7d9[_0x6203d6(0x13d)],_0x1b0b85=_0x6203d6(0x123)===_0x415cf8[_0x6203d6(0x13f)]?_0x6203d6(0x128):_0x6203d6(0x13c);_0x43e7d9[_0x6203d6(0x153)](),_0x4799f3[_0x6203d6(0x131)][_0x6203d6(0x146)][_0x1b0b85]=_0x1cdeb4-_0x43e7d9[_0x6203d6(0x13d)]+0x1+'px';}});};return this[_0x9cf6ec(0x137)][_0x9cf6ec(0x126)]['on'](_0x9cf6ec(0x139),_0x237c77),this['on'](_0x9cf6ec(0x13b),_0x237c77),_0x4799f3;}[_0x2d2c9c(0x129)](){const _0x5a2bc9=_0x2d2c9c,_0x365a7d=this[_0x5a2bc9(0x137)][_0x5a2bc9(0x126)][_0x5a2bc9(0x131)][_0x5a2bc9(0x142)];this[_0x5a2bc9(0x140)](_0x5a2bc9(0x129),_0x365a7d);}[_0x2d2c9c(0x13e)](_0x3fe417){const _0x1f185e=_0x2d2c9c;-0x1===_0x3fe417?this[_0x1f185e(0x135)][_0x1f185e(0x145)]():this[_0x1f185e(0x135)][_0x1f185e(0x14b)]();}}
|