@ckeditor/ckeditor5-ai 47.3.0-alpha.3 → 47.3.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/aiassistantediting.js +1 -1
  8. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  9. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  10. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  11. package/src/aiassistant/ui/form/aiformview.js +1 -1
  12. package/src/aiballoon/aiballoon.js +1 -1
  13. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  14. package/src/aiballoon/ui/aiballoonview.js +1 -1
  15. package/src/aichat/aichat.js +1 -1
  16. package/src/aichat/aichatcontroller.js +1 -1
  17. package/src/aichat/aichatui.js +1 -1
  18. package/src/aichat/model/aichatcontext.js +1 -1
  19. package/src/aichat/model/aichatconversation.js +1 -1
  20. package/src/aichat/model/aichatinteraction.js +1 -1
  21. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  22. package/src/aichat/ui/aichatfeedview.js +1 -1
  23. package/src/aichat/ui/aichatheaderview.js +1 -1
  24. package/src/aichat/ui/aichatview.js +1 -1
  25. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  26. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  27. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  28. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  29. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  30. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  31. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  32. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  33. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  34. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  35. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  36. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  37. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  38. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  39. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  40. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  43. package/src/aichat/utils/eventnames.js +1 -1
  44. package/src/aichathistory/aichathistory.js +1 -1
  45. package/src/aichathistory/aichathistorycontroller.js +1 -1
  46. package/src/aichathistory/aichathistoryui.js +1 -1
  47. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  48. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  49. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  50. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  51. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  52. package/src/aicore/aiconnector.js +1 -1
  53. package/src/aicore/aiediting.js +1 -1
  54. package/src/aicore/model/aiinteraction.js +1 -1
  55. package/src/aicore/model/aimodels.js +1 -1
  56. package/src/aicore/model/aireply.js +1 -1
  57. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  58. package/src/aicore/pipeline/airesponseparser.js +2 -2
  59. package/src/aicore/ui/aidisclaimerview.js +1 -1
  60. package/src/aicore/ui/aiskeleton.js +1 -1
  61. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  62. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  63. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  64. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  65. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  66. package/src/aicore/utils/documentrange.js +1 -1
  67. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  68. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  69. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  70. package/src/aicore/utils/htmlparser.js +1 -1
  71. package/src/aicore/utils/htmlstreamer.js +1 -1
  72. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  73. package/src/aiquickactions/aiquickactionsui.js +1 -1
  74. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  75. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  76. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  77. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  78. package/src/aireviewmode/aireviewmode.js +1 -1
  79. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  80. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  81. package/src/aireviewmode/aireviewmodeui.js +1 -1
  82. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  83. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  84. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  85. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  86. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  87. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  88. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  89. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  90. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  91. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  92. package/src/aitabs/aitabs.js +1 -1
  93. package/src/aitabs/tabs/aitabsview.js +1 -1
  94. package/src/aitabs/tabs/tabpanelview.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ai",
3
- "version": "47.3.0-alpha.3",
3
+ "version": "47.3.0-alpha.5",
4
4
  "description": "AI features for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -29,20 +29,20 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@aws-sdk/client-bedrock-runtime": "3.823.0",
32
- "@ckeditor/ckeditor5-clipboard": "47.3.0-alpha.3",
33
- "@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.3",
34
- "@ckeditor/ckeditor5-collaboration-core": "47.3.0-alpha.3",
35
- "@ckeditor/ckeditor5-core": "47.3.0-alpha.3",
36
- "@ckeditor/ckeditor5-engine": "47.3.0-alpha.3",
37
- "@ckeditor/ckeditor5-icons": "47.3.0-alpha.3",
38
- "@ckeditor/ckeditor5-markdown-gfm": "47.3.0-alpha.3",
39
- "@ckeditor/ckeditor5-table": "47.3.0-alpha.3",
40
- "@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.3",
41
- "@ckeditor/ckeditor5-ui": "47.3.0-alpha.3",
42
- "@ckeditor/ckeditor5-utils": "47.3.0-alpha.3",
43
- "@ckeditor/ckeditor5-real-time-collaboration": "47.3.0-alpha.3",
44
- "ckeditor5": "47.3.0-alpha.3",
45
- "ckeditor5-collaboration": "47.3.0-alpha.3",
32
+ "@ckeditor/ckeditor5-clipboard": "47.3.0-alpha.5",
33
+ "@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.5",
34
+ "@ckeditor/ckeditor5-collaboration-core": "47.3.0-alpha.5",
35
+ "@ckeditor/ckeditor5-core": "47.3.0-alpha.5",
36
+ "@ckeditor/ckeditor5-engine": "47.3.0-alpha.5",
37
+ "@ckeditor/ckeditor5-icons": "47.3.0-alpha.5",
38
+ "@ckeditor/ckeditor5-markdown-gfm": "47.3.0-alpha.5",
39
+ "@ckeditor/ckeditor5-table": "47.3.0-alpha.5",
40
+ "@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.5",
41
+ "@ckeditor/ckeditor5-ui": "47.3.0-alpha.5",
42
+ "@ckeditor/ckeditor5-utils": "47.3.0-alpha.5",
43
+ "@ckeditor/ckeditor5-real-time-collaboration": "47.3.0-alpha.5",
44
+ "ckeditor5": "47.3.0-alpha.5",
45
+ "ckeditor5-collaboration": "47.3.0-alpha.5",
46
46
  "es-toolkit": "1.39.5",
47
47
  "eventsource-parser": "3.0.2",
48
48
  "htmlparser2": "10.0.0",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57c324=_0x2e2a;(function(_0x55b89b,_0x5bf888){const _0x253e24=_0x2e2a,_0x7cce42=_0x55b89b();while(!![]){try{const _0x3f8af5=parseInt(_0x253e24(0x1e2))/0x1*(parseInt(_0x253e24(0x190))/0x2)+parseInt(_0x253e24(0x1ba))/0x3+-parseInt(_0x253e24(0x135))/0x4*(parseInt(_0x253e24(0x12b))/0x5)+parseInt(_0x253e24(0x159))/0x6+-parseInt(_0x253e24(0x141))/0x7+-parseInt(_0x253e24(0x196))/0x8+-parseInt(_0x253e24(0x174))/0x9*(-parseInt(_0x253e24(0x12e))/0xa);if(_0x3f8af5===_0x5bf888)break;else _0x7cce42['push'](_0x7cce42['shift']());}catch(_0x646a0b){_0x7cce42['push'](_0x7cce42['shift']());}}}(_0x3ae8,0xdb5f0));import{Plugin as _0x595ac1}from'ckeditor5/src/core.js';import{AIConnector as _0x5e0545}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x4f9b64}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x2e2a(_0x90bfa6,_0x350cb1){const _0x3ae851=_0x3ae8();return _0x2e2a=function(_0x2e2a32,_0x2b899f){_0x2e2a32=_0x2e2a32-0x104;let _0xc56597=_0x3ae851[_0x2e2a32];return _0xc56597;},_0x2e2a(_0x90bfa6,_0x350cb1);}import{Dialog as _0x3f779f,ButtonView as _0x1e59c2,ViewCollection as _0x1b2194,View as _0x4fbd3c}from'ckeditor5/src/ui.js';import{AIEditing as _0x1456b0}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x55116b}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x412b17,first as _0x3b2959}from'ckeditor5/src/utils.js';function _0x3ae8(){const _0x21e9bf=['miniToolbarView','listenTo','nextSibling','open','end','startAutoScroll','_setErrorState','getSelectionAsFragment','icon','length','5633117kKjaIQ','requires','random','message','AI_ACTIONS_PREVIOUS_INTERACTION','selectionRemoved','executeAction','getOperations','removeNavigationItem','ai.availableReplyActions','addOperation','first','indexOf','parent','stopInteraction','stopListening','AI_ACTIONS_GENERIC_ERROR','clearErrorState','_execute','range','_navigationCounter','_navigateToPrevious','remove','forEach','1553838gOuKoq','getRoot','selection','AIConnector','_navigationPreviousButton','span','signal','isBusy','stickiness','documentContextContent','getSelectedContent','add','ai-request-aborted','_createInteraction','_getExecuteDataRegular','map','data','_applyChanges','showError','interactionFinished','queueEmptyPromise','_disableCustomViews','isLoading','_interaction','createPositionBefore','isPremiumPlugin','1/1','5372118iDQZuX','startsWith','addNavigationItem','get','upsertAIActionRating','setTemplate','accepted','execute','catch','actionCallId','_displayInteractionAtIndex','start','slice','$graveyard','actionName','_executeAction','TableSelection','getDocumentContext','_applyOperationsAsSuggestions','_isNavigationPreviousButtonInView','showChangesButton','textContent','_clearLoadingState','_isAbortError','path','_balloonShowDiff','sourcePosition','howMany','2349318FPssdy','getSelectedBlocks','AI_ACTIONS_NEXT_INTERACTION','_navigateToNext','createPositionAfter','abort','11078008RpABWL','rejected','Error\x20updating\x20content\x20during\x20navigation:','AIActions','modelToViewWithIds','clone','applySuggestion','setErrorState','_navigationNextButton','operationsA','clearLoading','pluginName','position','documentFragment','setLoading','model','nodeAfter','_getExecuteDataInTable','reinsert','isDocumentOperation','replyContentUpdated','insertSuggestion','setSelection','_interactionParams','processor','Attribute','_setLoadingState','root','isCollapsed','_stopInteraction','ck-ai-interaction-counter','replyChangeGroupStateUpdated','_clearInteractionHistory','getLimitElement','isOfficialPlugin','schema','3322242LOYpXq','ck-ai-navigation-button\x20ck-ai-previous-button','_wrapWithCommonAncestors','baseVersion','getChildAtOffset','dialogClosed','includes','type','has','_isNavigationCounterInView','stopAutoScroll','toolbar','toggleSuggestionDisplayMode','TrackChangesEditing','upsertCustomAIActionRating','bodyView','updateContent','getFirstRange','move','createPositionAt','_children','AI_ACTIONS_TRY_AGAIN','element','state','merge','_filterOperationsOutsideRange','set','locale','TrackChanges','bind','getChild','hasError','replies','toData','change','balloonView','split','plugins','_clearErrorState','document','1FiAlqd','_anchorOperation','_refreshInteraction','filter','AIBalloon','batch','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','enqueue','Error\x20updating\x20content\x20in\x20replyContentUpdated:','_currentInteractionIndex','close','getAncestors','editor','hideLoader','config','rootName','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','changeGroups','_clone','version','_setupCustomViews','createRange','_appendChild','hideError','_customViews','aiBalloon','ai-no-track-changes','getRanges','_promiseQueue','getCommonAncestor','_clearSuggestionContent','static','setChangeGroupState','push','ck-ai-custom-action-button','applyOperation','_updateNavigationUI','error','replyCreated','insert','hasPendingParts','Error\x20updating\x20content\x20in\x20replyCreated:','_isNavigationNextButtonInView','areChangesVisible','pending','rename','ck-ai-navigation-button\x20ck-ai-next-button','getSelectedTableCells','Error\x20refreshing\x20interaction:','282665CNDfCL','isEnabled','streaming','30rzyBmG','mainView','showLoader','stop','history','_interactions','focus','88hVeePB','_aiConnector'];_0x3ae8=function(){return _0x21e9bf;};return _0x3ae8();}import{IconAIQuickActions as _0x3d91b0,IconRefresh as _0x441514,IconNextArrow as _0x110cc2,IconPreviousArrow as _0x900c18,IconShowChangesOff as _0x2cb6f9}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x2d0a0d}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x134c68}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x6f8525}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x244069}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x9becbe}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x48ff50,getOperationsFromReply as _0x21b3d3}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x1d88e3,ModelRange as _0x139e99,ModelPosition as _0xb441f1,_DetachOperation as _0x4d5d2b,transformOperationSets as _0x4edd31}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x3db63d}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIActions extends _0x595ac1{static get[_0x57c324(0x142)](){return[_0x5e0545,_0x3f779f,_0x1456b0,_0x2d0a0d,_0x9becbe];}static get[_0x57c324(0x1a1)](){const _0x2ccd4b=_0x57c324;return _0x2ccd4b(0x199);}static get[_0x57c324(0x1b8)](){return!0x0;}static get[_0x57c324(0x172)](){return!0x0;}[_0x57c324(0x136)];[_0x57c324(0x133)]=[];[_0x57c324(0x1eb)]=0x0;[_0x57c324(0x1ad)];[_0x57c324(0x18d)]=!0x1;[_0x57c324(0x112)]=new _0x1b2194();[_0x57c324(0x15d)];[_0x57c324(0x155)];[_0x57c324(0x1c3)]=!0x1;[_0x57c324(0x19e)];[_0x57c324(0x187)]=!0x1;[_0x57c324(0x124)]=!0x1;[_0x57c324(0x116)];get[_0x57c324(0x170)](){const _0x4cb4d4=_0x57c324;return this[_0x4cb4d4(0x133)][this[_0x4cb4d4(0x133)][_0x4cb4d4(0x140)]-0x1];}constructor(_0x470cc9){const _0x24c8eb=_0x57c324;super(_0x470cc9),this[_0x24c8eb(0x136)]=this[_0x24c8eb(0x106)][_0x24c8eb(0x1df)][_0x24c8eb(0x177)](_0x24c8eb(0x15c)),this[_0x24c8eb(0x1d4)](_0x24c8eb(0x160),!0x1),this[_0x24c8eb(0x116)]=new _0x134c68(),this[_0x24c8eb(0x10e)]();}[_0x57c324(0x14f)](){const _0x449281=_0x57c324;this[_0x449281(0x1b3)]();}async[_0x57c324(0x147)](_0x4d57ea,_0x12f4a3,_0x19dc99){const _0x1f77fe=_0x57c324;if(this[_0x1f77fe(0x106)][_0x1f77fe(0x1df)][_0x1f77fe(0x1c2)](_0x1f77fe(0x184))){if(this[_0x1f77fe(0x106)][_0x1f77fe(0x1df)][_0x1f77fe(0x177)](_0x1f77fe(0x184))[_0x1f77fe(0x129)]()){const {modelFragment:_0x27b2b9,anchorData:_0x35df99}=this[_0x1f77fe(0x1a7)]();return this[_0x1f77fe(0x183)](_0x4d57ea,_0x27b2b9,_0x35df99,_0x12f4a3,_0x19dc99);}}const {modelFragment:_0xc6cf0e,anchorData:_0x3099cb}=this[_0x1f77fe(0x167)]();return this[_0x1f77fe(0x183)](_0x4d57ea,_0xc6cf0e,_0x3099cb,_0x12f4a3,_0x19dc99);}[_0x57c324(0x167)](){const _0x508067=_0x57c324,_0x1abe03=this[_0x508067(0x106)][_0x508067(0x1a5)][_0x508067(0x1e1)][_0x508067(0x15b)];if(_0x1abe03[_0x508067(0x1b2)]){const _0x33f304=_0x3b2959(_0x1abe03[_0x508067(0x191)]())||this[_0x508067(0x106)][_0x508067(0x1a5)][_0x508067(0x1b9)][_0x508067(0x1b7)](_0x1abe03);this[_0x508067(0x106)][_0x508067(0x1a5)][_0x508067(0x1dc)](_0x415c74=>{const _0x26d68c=_0x508067;_0x415c74[_0x26d68c(0x1ac)](_0x33f304,'in');});}const _0x5c9879=_0x1abe03[_0x508067(0x1cb)](),_0xdfb2b6=this[_0x508067(0x1bc)](this[_0x508067(0x106)][_0x508067(0x1a5)][_0x508067(0x163)](_0x1abe03),_0x5c9879[_0x508067(0x17f)],_0x5c9879[_0x508067(0x13b)]),_0x253580=_0x1abe03[_0x508067(0x1cb)]()[_0x508067(0x17f)],_0x5e2e08=new Map();let _0x49a61f=_0xdfb2b6;for(let _0x374074=0x0;_0x374074<_0x253580[_0x508067(0x18c)][_0x508067(0x140)];_0x374074++)_0x5e2e08[_0x508067(0x1d4)](_0x49a61f,_0x253580[_0x508067(0x18c)][_0x374074]),_0x49a61f=_0x49a61f[_0x508067(0x1d8)](0x0);return{'modelFragment':_0xdfb2b6,'anchorData':_0x5e2e08};}[_0x57c324(0x1a7)](){const _0x214485=_0x57c324,_0x4dfb92=this[_0x214485(0x106)][_0x214485(0x1a5)][_0x214485(0x1e1)][_0x214485(0x15b)],_0x7b81f7=this[_0x214485(0x106)][_0x214485(0x1df)][_0x214485(0x177)](_0x214485(0x184))[_0x214485(0x13e)](),_0x5e8446=_0x4dfb92[_0x214485(0x1cb)]()[_0x214485(0x17f)][_0x214485(0x14e)][_0x214485(0x14e)],_0x5b63a2=this[_0x214485(0x1bc)](_0x7b81f7,this[_0x214485(0x106)][_0x214485(0x1a5)][_0x214485(0x171)](_0x5e8446),this[_0x214485(0x106)][_0x214485(0x1a5)][_0x214485(0x194)](_0x5e8446)),_0x18c332=_0x4dfb92[_0x214485(0x1cb)]()[_0x214485(0x17f)],_0x2f8474=new Map();let _0x5c7b3f=_0x5b63a2;for(let _0x20df6f=0x0;_0x20df6f<_0x18c332[_0x214485(0x18c)][_0x214485(0x140)];_0x20df6f++)if(_0x2f8474[_0x214485(0x1d4)](_0x5c7b3f,_0x18c332[_0x214485(0x18c)][_0x20df6f]),_0x20df6f<_0x18c332[_0x214485(0x18c)][_0x214485(0x140)]-0x1)_0x5c7b3f=_0x5c7b3f[_0x214485(0x1d8)](0x0);else{let _0x51f6d7=_0x5c7b3f[_0x214485(0x139)];for(;_0x51f6d7;)_0x2f8474[_0x214485(0x1d4)](_0x51f6d7,_0x18c332[_0x214485(0x18c)][_0x20df6f]),_0x51f6d7=_0x51f6d7[_0x214485(0x139)];}return{'modelFragment':_0x5b63a2,'anchorData':_0x2f8474};}[_0x57c324(0x183)](_0x2c602c,_0x327771,_0x439e16,_0x240aa5,_0x14e02c){const _0x2d646c=_0x57c324,_0x2d2a42=this[_0x2d646c(0x106)][_0x2d646c(0x1df)][_0x2d646c(0x177)](_0x1456b0),_0x3de061=this[_0x2d646c(0x106)][_0x2d646c(0x1df)][_0x2d646c(0x177)](_0x2d0a0d),_0x7e7269=this[_0x2d646c(0x106)][_0x2d646c(0x1a5)][_0x2d646c(0x1e1)][_0x2d646c(0x15b)],_0x9d92fb=_0x2d2a42[_0x2d646c(0x19a)](_0x327771),_0x3808ed=this[_0x2d646c(0x106)][_0x2d646c(0x169)][_0x2d646c(0x1ae)][_0x2d646c(0x1db)](_0x9d92fb),_0x20321=this[_0x2d646c(0x106)][_0x2d646c(0x1a5)][_0x2d646c(0x1e1)][_0x2d646c(0x10d)],_0x4a6137=[..._0x7e7269[_0x2d646c(0x115)]()];let _0x398b29=this[_0x2d646c(0x106)][_0x2d646c(0x108)][_0x2d646c(0x177)](_0x2d646c(0x14a))||[..._0x3db63d];this[_0x2d646c(0x106)][_0x2d646c(0x1df)][_0x2d646c(0x1c2)](_0x2d646c(0x1d6))||(_0x398b29=_0x398b29[_0x2d646c(0x1e5)](_0x48b79f=>_0x2d646c(0x1ab)!=_0x48b79f));const _0x8967b5=new _0x4f9b64(this[_0x2d646c(0x106)][_0x2d646c(0x1d5)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x2d646c(0x13f),'customView':this[_0x2d646c(0x112)]},'showUnchangedParts':!0x0,'availableActions':_0x398b29});return _0x3de061[_0x2d646c(0x13a)]({'index':0x3e8*Math[_0x2d646c(0x143)]()%0x3e8,'title':_0x240aa5,'icon':_0x14e02c||_0x3d91b0,'mainView':_0x8967b5,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':this[_0x2d646c(0x106)][_0x2d646c(0x1df)][_0x2d646c(0x1c2)](_0x2d646c(0x1d6)),'ranges':_0x4a6137}),this[_0x2d646c(0x1b0)](_0x8967b5,_0x3de061),this[_0x2d646c(0x138)](_0x3de061,_0x2d646c(0x19c),()=>{const _0x3e7d30=_0x2d646c;this[_0x3e7d30(0x16a)](_0x327771,_0x439e16,!0x1);}),this[_0x2d646c(0x138)](_0x3de061,_0x2d646c(0x1ab),()=>{const _0x44578c=_0x2d646c;this[_0x44578c(0x16a)](_0x327771,_0x439e16,!0x0);}),this[_0x2d646c(0x138)](_0x3de061,_0x2d646c(0x146),()=>{const _0x140512=_0x2d646c;this[_0x140512(0x1b3)](),this[_0x140512(0x16e)]();}),this[_0x2d646c(0x138)](_0x3de061,_0x2d646c(0x1bf),()=>{const _0x369f3c=_0x2d646c;if(this[_0x369f3c(0x170)]&&this[_0x369f3c(0x170)][_0x369f3c(0x1da)][_0x369f3c(0x140)]>0x0){const _0x21ccee=this[_0x369f3c(0x170)][_0x369f3c(0x1da)][this[_0x369f3c(0x170)][_0x369f3c(0x1da)][_0x369f3c(0x140)]-0x1],_0x6a0618=_0x21ccee[_0x369f3c(0x10b)][0x0];_0x6a0618&&_0x369f3c(0x126)===_0x6a0618[_0x369f3c(0x1d1)]&&_0x21ccee[_0x369f3c(0x11a)](0x0,_0x369f3c(0x197));}this[_0x369f3c(0x1b3)](),this[_0x369f3c(0x1b6)](),this[_0x369f3c(0x150)](_0x3de061);}),this[_0x2d646c(0x166)](_0x3808ed,_0x20321,_0x8967b5,_0x3de061,_0x2c602c);}[_0x57c324(0x1bc)](_0x8c0b9,_0x172e2a,_0x16c89e){const _0x11be34=_0x57c324,_0x55b90b=this[_0x11be34(0x106)][_0x11be34(0x1a5)][_0x11be34(0x10f)](_0x172e2a,_0x16c89e)[_0x11be34(0x117)](),_0x5a0c0e=_0x55b90b['is'](_0x11be34(0x1a3))?[]:_0x55b90b[_0x11be34(0x105)]({'includeSelf':!0x0})[_0x11be34(0x180)](0x1);if(_0x5a0c0e[_0x11be34(0x140)]){const _0x4c30ac=_0x5a0c0e[_0x11be34(0x168)](_0x3bf2d3=>_0x3bf2d3[_0x11be34(0x10c)](!0x1));for(let _0x333245=0x1;_0x333245<_0x4c30ac[_0x11be34(0x140)];_0x333245++)_0x4c30ac[_0x333245-0x1][_0x11be34(0x110)](_0x4c30ac[_0x333245]);return _0x4c30ac[_0x4c30ac[_0x11be34(0x140)]-0x1][_0x11be34(0x110)](_0x8c0b9),new _0x1d88e3(_0x4c30ac[0x0]);}return _0x8c0b9;}async[_0x57c324(0x166)](_0x2d26c0,_0x23e7a1,_0x46c21f,_0xb02198,_0x2ec180){const _0xed98ae=_0x57c324,_0x14447d=this[_0xed98ae(0x106)];this[_0xed98ae(0x1ad)]={'action':_0x2ec180,'content':_0x2d26c0,'version':_0x23e7a1,'mainView':_0x46c21f,'aiBalloon':_0xb02198};const _0x4087f2=new _0x55116b({'connector':this[_0xed98ae(0x136)],'editor':_0x14447d,'content':_0x2d26c0,'version':_0x23e7a1,..._0x2ec180});this[_0xed98ae(0x133)][_0xed98ae(0x11b)](_0x4087f2),_0x46c21f[_0xed98ae(0x111)]();const _0x116c0a=(_0x4ed8c7,_0x3d34b8,_0x1ef4d6=!0x1,_0x1deee6=_0xed98ae(0x12d))=>this[_0xed98ae(0x116)][_0xed98ae(0x1e9)](async _0x32733a=>{const _0x2425e3=_0xed98ae;try{const _0x1283aa=_0x244069({'editor':_0x14447d,'changeGroups':_0x4ed8c7[_0x2425e3(0x10b)],'documentContextContent':_0x4ed8c7[_0x2425e3(0x162)],'showDiff':_0x1ef4d6,'trimUnchanged':!0x1});await _0x3d34b8[_0x2425e3(0x1ca)]({'parts':_0x1283aa,'renderingStrategy':_0x1deee6,'abortSignal':_0x32733a});}catch(_0x212ba5){if(this[_0x2425e3(0x18b)](_0x212ba5))return;throw _0x212ba5;}});this[_0xed98ae(0x170)]['on'](_0xed98ae(0x120),(_0x373e76,_0x54543d)=>{const _0x3ab86e=_0xed98ae;_0x46c21f[_0x3ab86e(0x107)](),_0xb02198[_0x3ab86e(0x13c)](),_0x116c0a(_0x54543d,_0x46c21f)[_0x3ab86e(0x17c)](_0x1e949b=>{const _0x55465f=_0x3ab86e;this[_0x55465f(0x18b)](_0x1e949b)||(console[_0x55465f(0x11f)](_0x55465f(0x123),_0x1e949b),this[_0x55465f(0x13d)](_0x4087f2,_0x46c21f));});}),this[_0xed98ae(0x170)]['on'](_0xed98ae(0x1aa),(_0x575ffc,_0x444172)=>{const _0x118353=_0xed98ae;_0x116c0a(_0x444172,_0x46c21f)[_0x118353(0x17c)](_0x1c3efc=>{const _0x19f297=_0x118353;this[_0x19f297(0x18b)](_0x1c3efc)||(console[_0x19f297(0x11f)](_0x19f297(0x1ea),_0x1c3efc),this[_0x19f297(0x13d)](_0x4087f2,_0x46c21f));});}),this[_0xed98ae(0x170)]['on'](_0xed98ae(0x16c),async()=>{const _0x1832f8=_0xed98ae;try{await this[_0x1832f8(0x18a)](_0x46c21f,_0xb02198),this[_0x1832f8(0x11e)](),await this[_0x1832f8(0x116)][_0x1832f8(0x16d)];}catch(_0x6c13e2){this[_0x1832f8(0x18b)](_0x6c13e2)||(console[_0x1832f8(0x11f)](_0x1832f8(0x10a),_0x6c13e2),this[_0x1832f8(0x13d)](_0x4087f2,_0x46c21f));}finally{_0xb02198[_0x1832f8(0x1c4)]();}}),this[_0xed98ae(0x138)](_0x46c21f,_0xed98ae(0x1c6),async(_0x417f9e,{showDiff:_0x33fed1})=>{const _0x34ffce=_0xed98ae;try{this[_0x34ffce(0x18d)]=_0x33fed1;const _0x150913=this[_0x34ffce(0x170)][_0x34ffce(0x1da)][this[_0x34ffce(0x170)][_0x34ffce(0x1da)][_0x34ffce(0x140)]-0x1];_0x150913&&await _0x116c0a(_0x150913,_0x46c21f,_0x33fed1,_0x34ffce(0x119));}catch(_0x4c62d8){this[_0x34ffce(0x18b)](_0x4c62d8)||(console[_0x34ffce(0x11f)](_0x34ffce(0x1e8),_0x4c62d8),this[_0x34ffce(0x13d)](_0x4087f2,_0x46c21f));}}),this[_0xed98ae(0x170)]['on'](_0xed98ae(0x1b5),(_0x17fe26,{reply:_0x49657e})=>{const _0x552f4f=_0xed98ae,_0x156498={'positiveCount':_0x49657e[_0x552f4f(0x10b)][_0x552f4f(0x1e5)](_0x51490a=>_0x552f4f(0x17a)===_0x51490a[_0x552f4f(0x1d1)])[_0x552f4f(0x140)],'totalCount':_0x49657e[_0x552f4f(0x10b)][_0x552f4f(0x140)]},_0x1b8d0a=this[_0x552f4f(0x170)][_0x552f4f(0x17d)],_0x153d3c=this[_0x552f4f(0x170)][_0x552f4f(0x182)];_0x153d3c?this[_0x552f4f(0x136)][_0x552f4f(0x178)](_0x153d3c,_0x1b8d0a,_0x156498):this[_0x552f4f(0x136)][_0x552f4f(0x1c8)](_0x1b8d0a,_0x156498);}),this[_0xed98ae(0x1b0)](_0x46c21f,_0xb02198);try{const _0x3be0ed=await this[_0xed98ae(0x170)][_0xed98ae(0x17f)]();return this[_0xed98ae(0x11e)](),_0x3be0ed;}catch(_0x328acf){if(this[_0xed98ae(0x18b)](_0x328acf))return;_0x46c21f[_0xed98ae(0x107)](),this[_0xed98ae(0x13d)](_0x4087f2,_0x46c21f);}}[_0x57c324(0x16a)](_0x108a98,_0x247814,_0x558252){const _0x95a5ff=_0x57c324,_0x1c85ad=this[_0x95a5ff(0x106)];if(_0x558252&&!_0x1c85ad[_0x95a5ff(0x1df)][_0x95a5ff(0x1c2)](_0x95a5ff(0x1d6)))throw new _0x412b17(_0x95a5ff(0x114),null);const _0x25b5c1=this[_0x95a5ff(0x106)][_0x95a5ff(0x1df)][_0x95a5ff(0x177)](_0x9becbe),_0x383270=this[_0x95a5ff(0x170)],_0x37d355=this[_0x95a5ff(0x170)][_0x95a5ff(0x1da)][this[_0x95a5ff(0x170)][_0x95a5ff(0x1da)][_0x95a5ff(0x140)]-0x1],_0x110b33=_0x37d355[_0x95a5ff(0x10b)];_0x37d355[_0x95a5ff(0x11a)](0x0,_0x95a5ff(0x17a));let _0x48434a=_0x21b3d3({'editor':_0x1c85ad,'reply':_0x37d355,'interaction':_0x383270,'groups':_0x110b33,'transform':!0x1,'documentCompare':_0x25b5c1,'documentCompareOptions':{'anchor':_0x1c85ad[_0x95a5ff(0x1a5)][_0x95a5ff(0x1cd)](_0x108a98,0x0),'markDeletions':_0x558252}});_0x48434a=this[_0x95a5ff(0x1d3)](_0x48434a,_0x247814);for(const _0x4856eb of _0x48434a)this[_0x95a5ff(0x1e3)](_0x247814,_0x4856eb,_0x1c85ad[_0x95a5ff(0x1a5)][_0x95a5ff(0x1e1)][_0x95a5ff(0x15a)]());const _0x2cc863=_0x383270[_0x95a5ff(0x185)]()[_0x95a5ff(0x10d)],_0xe2ce3c=_0x1c85ad[_0x95a5ff(0x1a5)][_0x95a5ff(0x1e1)][_0x95a5ff(0x132)][_0x95a5ff(0x148)](_0x2cc863),_0xa94690={'document':_0x1c85ad[_0x95a5ff(0x1a5)][_0x95a5ff(0x1e1)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x826ee7=_0x4edd31(_0x48434a,_0xe2ce3c,_0xa94690)[_0x95a5ff(0x19f)];_0x1c85ad[_0x95a5ff(0x1a5)][_0x95a5ff(0x1dc)](_0x4fbd2c=>{const _0x3d64f5=_0x95a5ff;if(_0x4fbd2c[_0x3d64f5(0x1ac)](_0x1c85ad[_0x3d64f5(0x1a5)][_0x3d64f5(0x1e1)][_0x3d64f5(0x15b)][_0x3d64f5(0x134)]),_0x558252)_0x1c85ad[_0x3d64f5(0x1df)][_0x3d64f5(0x177)](_0x3d64f5(0x1c7))[_0x3d64f5(0x186)](_0x826ee7);else{for(const _0x31bbff of _0x826ee7)_0x31bbff[_0x3d64f5(0x1bd)]=_0x1c85ad[_0x3d64f5(0x1a5)][_0x3d64f5(0x1e1)][_0x3d64f5(0x10d)],_0x48ff50(_0x1c85ad,_0x31bbff),_0x4fbd2c[_0x3d64f5(0x1e7)][_0x3d64f5(0x14b)](_0x31bbff),_0x1c85ad[_0x3d64f5(0x1a5)][_0x3d64f5(0x11d)](_0x31bbff);}}),this[_0x95a5ff(0x106)][_0x95a5ff(0x1df)][_0x95a5ff(0x177)](_0x95a5ff(0x1e6))[_0x95a5ff(0x104)]();}[_0x57c324(0x1d3)](_0x51d44b,_0x1f3a60){const _0x1230b0=_0x57c324;return _0x51d44b[_0x1230b0(0x1e5)](_0x25a9fb=>{const _0x1f7a1b=_0x1230b0;if(_0x1f7a1b(0x127)==_0x25a9fb[_0x1f7a1b(0x1c1)]){const _0x9a7275=_0x25a9fb[_0x1f7a1b(0x1a2)][_0x1f7a1b(0x1a6)];return!_0x1f3a60[_0x1f7a1b(0x1c2)](_0x9a7275);}if(_0x25a9fb[_0x1f7a1b(0x1c1)][_0x1f7a1b(0x14d)](_0x1f7a1b(0x1af))>-0x1){const _0x479623=_0x25a9fb[_0x1f7a1b(0x154)][_0x1f7a1b(0x17f)][_0x1f7a1b(0x1a6)];return!_0x1f3a60[_0x1f7a1b(0x1c2)](_0x479623);}return!0x0;});}[_0x57c324(0x1e3)](_0x573f7f,_0x301626,_0x3aac70){const _0x41a747=_0x57c324,_0x1953ff=_0x301626[_0x41a747(0x19b)]();for(const _0x467781 in _0x301626){const _0x207075=_0x301626[_0x467781];_0x207075 instanceof _0x139e99?_0x301626[_0x467781]=new _0x139e99(_0x57dbe5(_0x207075[_0x41a747(0x17f)]),_0x57dbe5(_0x207075[_0x41a747(0x13b)])):_0x207075 instanceof _0xb441f1&&(_0x301626[_0x467781]=_0x57dbe5(_0x207075));}if([_0x41a747(0x121),_0x41a747(0x1cc),_0x41a747(0x157),_0x41a747(0x1a8),_0x41a747(0x1de),_0x41a747(0x1d2)][_0x41a747(0x1c0)](_0x1953ff[_0x41a747(0x1c1)])){if(_0x1953ff[_0x41a747(0x1a9)]=!0x1,_0x1953ff[_0x41a747(0x1bd)]=null,_0x41a747(0x157)==_0x1953ff[_0x41a747(0x1c1)]){const _0x18baf9=_0x1953ff[_0x41a747(0x18e)],_0x3d5154=_0x1953ff[_0x41a747(0x18f)];new _0x4d5d2b(_0x18baf9,_0x3d5154)[_0x41a747(0x153)]();}else _0x1953ff[_0x41a747(0x153)]();}function _0x57dbe5(_0x2a013e){const _0x2d73a6=_0x41a747;if(_0x2d73a6(0x181)==_0x2a013e[_0x2d73a6(0x1b1)][_0x2d73a6(0x109)])return _0x2a013e;const _0x1a89c4=[];let _0xfcb0a6=_0x2a013e[_0x2d73a6(0x1b1)];for(let _0xb47940=0x0;_0xb47940<_0x2a013e[_0x2d73a6(0x18c)][_0x2d73a6(0x140)];_0xb47940++){const _0x114132=_0x573f7f[_0x2d73a6(0x177)](_0xfcb0a6)||0x0;_0x1a89c4[_0xb47940]=_0x2a013e[_0x2d73a6(0x18c)][_0xb47940]+_0x114132,_0xfcb0a6=_0xfcb0a6[_0x2d73a6(0x1be)](_0x2a013e[_0x2d73a6(0x18c)][_0xb47940]);}return new _0xb441f1(_0x3aac70,_0x1a89c4,_0x2a013e[_0x2d73a6(0x161)]);}}[_0x57c324(0x1e4)](){const _0x2d3528=_0x57c324;if(!this[_0x2d3528(0x1ad)])return;this[_0x2d3528(0x133)][_0x2d3528(0x140)]>0x0&&this[_0x2d3528(0x1b3)](),this[_0x2d3528(0x1eb)]=0x0,this[_0x2d3528(0x18d)]=!0x1;const {action:_0x2c030c,content:_0x5ad8a1,version:_0x47d148,mainView:_0x3a7909,aiBalloon:_0x199b3f}=this[_0x2d3528(0x1ad)];_0x3a7909[_0x2d3528(0x125)]=!0x1,_0x3a7909[_0x2d3528(0x111)](),this[_0x2d3528(0x1e0)](_0x3a7909,_0x199b3f);const _0x3188c2=_0x3a7909;_0x3188c2[_0x2d3528(0x137)]&&_0x3188c2[_0x2d3528(0x137)][_0x2d3528(0x188)]&&_0x3188c2[_0x2d3528(0x137)][_0x2d3528(0x188)][_0x2d3528(0x1d4)]({'isOn':!0x1,'icon':_0x2cb6f9}),this[_0x2d3528(0x118)](_0x3a7909),_0x3a7909[_0x2d3528(0x130)](),this[_0x2d3528(0x11e)](),this[_0x2d3528(0x150)](_0x3a7909),this[_0x2d3528(0x166)](_0x5ad8a1,_0x47d148,_0x3a7909,_0x199b3f,_0x2c030c)[_0x2d3528(0x17c)](_0x4f28ef=>{const _0x5202f0=_0x2d3528;this[_0x5202f0(0x18b)](_0x4f28ef)||console[_0x5202f0(0x11f)](_0x5202f0(0x12a),_0x4f28ef);});}[_0x57c324(0x118)](_0x529399){const _0x29d7cf=_0x57c324,_0x83fe1b=_0x529399[_0x29d7cf(0x1c9)][_0x29d7cf(0x1ce)];for(;_0x83fe1b[_0x29d7cf(0x140)]>0x0;)_0x83fe1b[_0x29d7cf(0x157)](_0x83fe1b[_0x29d7cf(0x14c)]);_0x529399[_0x29d7cf(0x1c9)][_0x29d7cf(0x122)]=!0x1;}[_0x57c324(0x18b)](_0x4f7e52){const _0x6e9aaa=_0x57c324;return!!_0x4f7e52[_0x6e9aaa(0x144)]&&_0x4f7e52[_0x6e9aaa(0x144)][_0x6e9aaa(0x175)](_0x6e9aaa(0x165));}[_0x57c324(0x1b6)](){const _0xb04f10=_0x57c324;this[_0xb04f10(0x133)]=[],this[_0xb04f10(0x1ad)]=void 0x0,this[_0xb04f10(0x1eb)]=0x0,this[_0xb04f10(0x11e)]();}[_0x57c324(0x1b3)](){const _0x55189e=_0x57c324;this[_0x55189e(0x170)]&&this[_0x55189e(0x170)][_0x55189e(0x131)](),this[_0x55189e(0x116)][_0x55189e(0x195)](),this[_0x55189e(0x160)]=!0x1,this[_0x55189e(0x1ad)]&&this[_0x55189e(0x1ad)][_0x55189e(0x113)][_0x55189e(0x1c4)]();}[_0x57c324(0x10e)](){const _0x20c8a2=_0x57c324,_0x49f061=new _0x1e59c2(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)]),_0x5f3c1a=new _0x1e59c2(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)]),_0x4779d4=new _0x4fbd3c(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)]),_0x51e578=new _0x1e59c2(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)]);_0x49f061[_0x20c8a2(0x1d4)]({'icon':_0x441514,'label':_0x6f8525(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)],_0x20c8a2(0x1cf)),'tooltip':!0x0,'class':_0x20c8a2(0x11c)}),_0x5f3c1a[_0x20c8a2(0x1d4)]({'icon':_0x900c18,'tooltip':_0x6f8525(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)],_0x20c8a2(0x145)),'class':_0x20c8a2(0x1bb)}),_0x4779d4[_0x20c8a2(0x179)]({'tag':_0x20c8a2(0x15e),'attributes':{'class':[_0x20c8a2(0x1b4)]},'children':[_0x20c8a2(0x173)]}),_0x51e578[_0x20c8a2(0x1d4)]({'icon':_0x110cc2,'tooltip':_0x6f8525(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)],_0x20c8a2(0x192)),'class':_0x20c8a2(0x128)}),_0x49f061[_0x20c8a2(0x1d7)](_0x20c8a2(0x12c))['to'](this,_0x20c8a2(0x160),_0x4fd454=>!_0x4fd454),_0x49f061['on'](_0x20c8a2(0x17b),()=>{const _0xc65676=_0x20c8a2;this[_0xc65676(0x1e4)]();}),_0x5f3c1a[_0x20c8a2(0x1d7)](_0x20c8a2(0x12c))['to'](this,_0x20c8a2(0x160),_0x236941=>!_0x236941),_0x5f3c1a['on'](_0x20c8a2(0x17b),()=>{const _0x33d314=_0x20c8a2;this[_0x33d314(0x156)]();}),_0x51e578[_0x20c8a2(0x1d7)](_0x20c8a2(0x12c))['to'](this,_0x20c8a2(0x160),_0x1fbb26=>!_0x1fbb26),_0x51e578['on'](_0x20c8a2(0x17b),()=>{const _0x2b592d=_0x20c8a2;this[_0x2b592d(0x193)]();}),this[_0x20c8a2(0x15d)]=_0x5f3c1a,this[_0x20c8a2(0x155)]=_0x4779d4,this[_0x20c8a2(0x19e)]=_0x51e578,this[_0x20c8a2(0x112)][_0x20c8a2(0x164)](_0x49f061);}[_0x57c324(0x156)](){const _0x37c7f7=_0x57c324,_0x37414c=this[_0x37c7f7(0x133)][_0x37c7f7(0x140)];this[_0x37c7f7(0x1eb)]<_0x37414c-0x1&&this[_0x37c7f7(0x17e)](this[_0x37c7f7(0x1eb)]+0x1);}[_0x57c324(0x193)](){const _0x49a45a=_0x57c324;this[_0x49a45a(0x1eb)]>0x0&&this[_0x49a45a(0x17e)](this[_0x49a45a(0x1eb)]-0x1);}async[_0x57c324(0x17e)](_0x490d92){const _0xc39985=_0x57c324;if(!this[_0xc39985(0x1ad)])return;this[_0xc39985(0x1eb)]=_0x490d92;const {mainView:_0x409dfd}=this[_0xc39985(0x1ad)],_0x37b815=this[_0xc39985(0x133)][this[_0xc39985(0x133)][_0xc39985(0x140)]-0x1-this[_0xc39985(0x1eb)]];if(!_0x37b815)return;if(_0x37b815[_0xc39985(0x1d9)])return this[_0xc39985(0x13d)](_0x37b815,_0x409dfd),void this[_0xc39985(0x11e)]();if(!_0x37b815[_0xc39985(0x1da)][_0xc39985(0x140)])return;_0x409dfd[_0xc39985(0x111)](),this[_0xc39985(0x1ad)]&&this[_0xc39985(0x1e0)](_0x409dfd,this[_0xc39985(0x1ad)][_0xc39985(0x113)]);const _0x121449=_0x37b815[_0xc39985(0x1da)][_0x37b815[_0xc39985(0x1da)][_0xc39985(0x140)]-0x1];if(_0x121449){const _0x290f33=this[_0xc39985(0x106)];this[_0xc39985(0x118)](_0x409dfd);try{const _0x4c0b1d=_0x244069({'editor':_0x290f33,'changeGroups':_0x121449[_0xc39985(0x10b)],'documentContextContent':_0x121449[_0xc39985(0x162)],'showDiff':this[_0xc39985(0x18d)],'trimUnchanged':!0x1});this[_0xc39985(0x118)](_0x409dfd),await new Promise(_0x534a16=>setTimeout(_0x534a16,0x32)),await _0x409dfd[_0xc39985(0x1ca)]({'parts':_0x4c0b1d,'renderingStrategy':_0xc39985(0x119),'abortSignal':new AbortController()[_0xc39985(0x15f)]});}catch(_0x1475cf){this[_0xc39985(0x18b)](_0x1475cf)||console[_0xc39985(0x11f)](_0xc39985(0x198),_0x1475cf);}}this[_0xc39985(0x11e)]();}[_0x57c324(0x11e)](){const _0x43614f=_0x57c324;if(!this[_0x43614f(0x15d)]||!this[_0x43614f(0x155)]||!this[_0x43614f(0x19e)])return;const _0x400a8c=this[_0x43614f(0x133)][_0x43614f(0x140)],_0x4179cc=_0x400a8c>0x1,_0x221c85=this[_0x43614f(0x1ad)]?.[_0x43614f(0x12f)];if(_0x4179cc){this[_0x43614f(0x187)]||this[_0x43614f(0x1c3)]||this[_0x43614f(0x124)]||(this[_0x43614f(0x112)][_0x43614f(0x164)](this[_0x43614f(0x15d)]),_0x221c85?.[_0x43614f(0x176)](this[_0x43614f(0x15d)]),this[_0x43614f(0x187)]=!0x0,this[_0x43614f(0x112)][_0x43614f(0x164)](this[_0x43614f(0x155)]),_0x221c85?.[_0x43614f(0x176)](this[_0x43614f(0x155)]),this[_0x43614f(0x1c3)]=!0x0,this[_0x43614f(0x112)][_0x43614f(0x164)](this[_0x43614f(0x19e)]),_0x221c85?.[_0x43614f(0x176)](this[_0x43614f(0x19e)]),this[_0x43614f(0x124)]=!0x0);const _0x51b5b5=_0x400a8c-this[_0x43614f(0x1eb)];this[_0x43614f(0x155)][_0x43614f(0x1d0)]&&(this[_0x43614f(0x155)][_0x43614f(0x1d0)][_0x43614f(0x189)]=_0x51b5b5+'/'+_0x400a8c),this[_0x43614f(0x15d)][_0x43614f(0x12c)]=this[_0x43614f(0x1eb)]<_0x400a8c-0x1,this[_0x43614f(0x19e)][_0x43614f(0x12c)]=this[_0x43614f(0x1eb)]>0x0;}else(this[_0x43614f(0x187)]||this[_0x43614f(0x1c3)]||this[_0x43614f(0x124)])&&(this[_0x43614f(0x112)][_0x43614f(0x157)](this[_0x43614f(0x15d)]),_0x221c85?.[_0x43614f(0x149)](this[_0x43614f(0x15d)]),this[_0x43614f(0x187)]=!0x1,this[_0x43614f(0x112)][_0x43614f(0x157)](this[_0x43614f(0x155)]),_0x221c85?.[_0x43614f(0x149)](this[_0x43614f(0x155)]),this[_0x43614f(0x1c3)]=!0x1,this[_0x43614f(0x112)][_0x43614f(0x157)](this[_0x43614f(0x19e)]),_0x221c85?.[_0x43614f(0x149)](this[_0x43614f(0x19e)]),this[_0x43614f(0x124)]=!0x1);}[_0x57c324(0x1b0)](_0x275587,_0x2c2f4a){const _0x9f92cd=_0x57c324;_0x275587[_0x9f92cd(0x1a4)](),_0x2c2f4a[_0x9f92cd(0x1dd)][_0x9f92cd(0x1a4)](),this[_0x9f92cd(0x160)]=!0x0;}async[_0x57c324(0x13d)](_0x49aef3,_0x508628){const _0x3d2c0=_0x57c324,_0x2927a5=_0x6f8525(this[_0x3d2c0(0x106)][_0x3d2c0(0x1d5)],_0x3d2c0(0x151));_0x508628[_0x3d2c0(0x16b)](_0x2927a5),_0x49aef3[_0x3d2c0(0x1d9)]=!0x0,await this[_0x3d2c0(0x116)][_0x3d2c0(0x16d)],_0x508628[_0x3d2c0(0x19d)](),this[_0x3d2c0(0x1ad)]?.[_0x3d2c0(0x113)][_0x3d2c0(0x1dd)][_0x3d2c0(0x1c5)]&&(this[_0x3d2c0(0x1ad)][_0x3d2c0(0x113)][_0x3d2c0(0x1dd)][_0x3d2c0(0x1c5)][_0x3d2c0(0x16f)]=!0x0);}[_0x57c324(0x1e0)](_0x1066e4,_0x4e9530){const _0x1fd270=_0x57c324;_0x1066e4[_0x1fd270(0x152)](),_0x4e9530[_0x1fd270(0x1dd)][_0x1fd270(0x1c5)]&&(_0x4e9530[_0x1fd270(0x1dd)][_0x1fd270(0x1c5)][_0x1fd270(0x16f)]=!0x1);}async[_0x57c324(0x18a)](_0x475b45,_0xdc60a8){const _0x476120=_0x57c324;await this[_0x476120(0x116)][_0x476120(0x16d)],this[_0x476120(0x160)]=!0x1,_0x475b45[_0x476120(0x1a0)](),_0xdc60a8[_0x476120(0x1dd)][_0x476120(0x1a0)]();}[_0x57c324(0x16e)](){const _0x12e07a=_0x57c324;this[_0x12e07a(0x112)][_0x12e07a(0x158)](_0x4f7806=>{const _0x54dc02=_0x12e07a;_0x54dc02(0x12c)in _0x4f7806&&(_0x4f7806[_0x54dc02(0x12c)]=!0x1);});}}
23
+ const _0x3069f6=_0x1a91;function _0x1a91(_0x54fdd3,_0x397265){const _0x1ac409=_0x1ac4();return _0x1a91=function(_0x1a9142,_0x2aa56d){_0x1a9142=_0x1a9142-0x1e1;let _0x2f3d7d=_0x1ac409[_0x1a9142];return _0x2f3d7d;},_0x1a91(_0x54fdd3,_0x397265);}(function(_0x2252b3,_0x304152){const _0x2d1e5d=_0x1a91,_0x40186c=_0x2252b3();while(!![]){try{const _0x5c0e6b=-parseInt(_0x2d1e5d(0x2bc))/0x1+parseInt(_0x2d1e5d(0x255))/0x2*(parseInt(_0x2d1e5d(0x2b5))/0x3)+-parseInt(_0x2d1e5d(0x28d))/0x4+-parseInt(_0x2d1e5d(0x214))/0x5+-parseInt(_0x2d1e5d(0x274))/0x6*(parseInt(_0x2d1e5d(0x237))/0x7)+-parseInt(_0x2d1e5d(0x24d))/0x8*(parseInt(_0x2d1e5d(0x230))/0x9)+-parseInt(_0x2d1e5d(0x1ff))/0xa*(-parseInt(_0x2d1e5d(0x23f))/0xb);if(_0x5c0e6b===_0x304152)break;else _0x40186c['push'](_0x40186c['shift']());}catch(_0x135192){_0x40186c['push'](_0x40186c['shift']());}}}(_0x1ac4,0x295b6));import{Plugin as _0x4d3651}from'ckeditor5/src/core.js';import{AIConnector as _0x1f3b7c}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x57d591}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x1ac4(){const _0x4a65df=['filter','setTemplate','_currentInteractionIndex','replyCreated','pluginName','getLimitElement','hideError','dialogClosed','icon','getAncestors','getSelectedBlocks','close','_wrapWithCommonAncestors','_appendChild','_aiConnector','AIBalloon','ai.availableReplyActions','createPositionAt','mainView','_displayInteractionAtIndex','move','_execute','toData','setLoading','_setErrorState','isBusy','set','1/1','_refreshInteraction','6YuiGGB','addNavigationItem','_updateNavigationUI','createPositionBefore','_filterOperationsOutsideRange','first','history','merge','executeAction','execute','getDocumentContext','TrackChangesEditing','map','change','push','_interactions','_setLoadingState','getFirstRange','model','_customViews','documentContextContent','setErrorState','ck-ai-interaction-counter','rename','span','717744AVxurT','ck-ai-custom-action-button','selectionRemoved','stopListening','hasPendingParts','focus','data','createPositionAfter','getChild','isLoading','startsWith','actionName','_interaction','_applyOperationsAsSuggestions','applySuggestion','_isNavigationCounterInView','setChangeGroupState','get','_applyChanges','_balloonShowDiff','_isAbortError','clone','stickiness','random','Error\x20refreshing\x20interaction:','_isNavigationNextButtonInView','open','replies','baseVersion','addOperation','updateContent','getCommonAncestor','$graveyard','listenTo','modelToViewWithIds','rejected','indexOf','AI_ACTIONS_NEXT_INTERACTION','replyContentUpdated','schema','3nZkSbO','nodeAfter','element','replyChangeGroupStateUpdated','changeGroups','length','TrackChanges','19776hBgeWO','state','applyOperation','message','position','isCollapsed','isEnabled','stopInteraction','_navigationNextButton','ck-ai-navigation-button\x20ck-ai-next-button','howMany','processor','actionCallId','bodyView','stopAutoScroll','document','catch','static','_promiseQueue','editor','ck-ai-navigation-button\x20ck-ai-previous-button','getSelectionAsFragment','range','start','type','reinsert','TableSelection','add','removeNavigationItem','miniToolbarView','includes','stop','_disableCustomViews','clearLoading','_getExecuteDataRegular','_clone','showError','AIActions','interactionFinished','getChildAtOffset','root','toolbar','getSelectedTableCells','_children','2360010QiAGeh','batch','Error\x20updating\x20content\x20in\x20replyCreated:','_anchorOperation','rootName','_navigationPreviousButton','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','bind','_stopInteraction','getOperations','getSelectedContent','isDocumentOperation','error','aiBalloon','documentFragment','toggleSuggestionDisplayMode','AI_ACTIONS_PREVIOUS_INTERACTION','pending','sourcePosition','streaming','requires','514690AFVhvT','AIConnector','_clearLoadingState','has','plugins','end','Error\x20updating\x20content\x20during\x20navigation:','locale','_interactionParams','config','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','AI_ACTIONS_TRY_AGAIN','nextSibling','Error\x20updating\x20content\x20in\x20replyContentUpdated:','version','operationsA','hideLoader','_isNavigationPreviousButtonInView','selection','_getExecuteDataInTable','_clearSuggestionContent','clearErrorState','_navigationCounter','showLoader','setSelection','remove','split','parent','225JuIsat','startAutoScroll','forEach','areChangesVisible','upsertCustomAIActionRating','_createInteraction','upsertAIActionRating','1397683GScbGv','Attribute','_navigateToNext','isPremiumPlugin','isOfficialPlugin','ai-no-track-changes','balloonView','_clearErrorState','22KdISMQ','accepted','_executeAction','showChangesButton','ai-request-aborted','insertSuggestion','_setupCustomViews','hasError','path','abort','createRange','enqueue','getRoot','AI_ACTIONS_GENERIC_ERROR','30848NydPKI','_navigateToPrevious','slice','queueEmptyPromise','insert','_clearInteractionHistory','getRanges','textContent','591230RvYEtN','signal'];_0x1ac4=function(){return _0x4a65df;};return _0x1ac4();}import{Dialog as _0x365036,ButtonView as _0xddbbfc,ViewCollection as _0x4c3f91,View as _0x292d79}from'ckeditor5/src/ui.js';import{AIEditing as _0x40a241}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x4bb6f0}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x3a8ce2,first as _0x495082}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x5a91c8,IconRefresh as _0x3674ff,IconNextArrow as _0x1620bd,IconPreviousArrow as _0x33d6cb,IconShowChangesOff as _0x2270fb}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x1c0689}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x319c26}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x2378ba}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x5ea45d}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x5792c0}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x45781e,getOperationsFromReply as _0x3f911}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x1c5bdb,ModelRange as _0x93d323,ModelPosition as _0x355e2f,_DetachOperation as _0x4fe31c,transformOperationSets as _0x363719}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x325d74}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIActions extends _0x4d3651{static get[_0x3069f6(0x213)](){return[_0x1f3b7c,_0x365036,_0x40a241,_0x1c0689,_0x5792c0];}static get[_0x3069f6(0x25b)](){const _0x321852=_0x3069f6;return _0x321852(0x1f8);}static get[_0x3069f6(0x23b)](){return!0x0;}static get[_0x3069f6(0x23a)](){return!0x0;}[_0x3069f6(0x265)];[_0x3069f6(0x283)]=[];[_0x3069f6(0x259)]=0x0;[_0x3069f6(0x21c)];[_0x3069f6(0x2a0)]=!0x1;[_0x3069f6(0x287)]=new _0x4c3f91();[_0x3069f6(0x204)];[_0x3069f6(0x22a)];[_0x3069f6(0x29c)]=!0x1;[_0x3069f6(0x2c4)];[_0x3069f6(0x225)]=!0x1;[_0x3069f6(0x2a6)]=!0x1;[_0x3069f6(0x1e5)];get[_0x3069f6(0x299)](){const _0x27e694=_0x3069f6;return this[_0x27e694(0x283)][this[_0x27e694(0x283)][_0x27e694(0x2ba)]-0x1];}constructor(_0x27705d){const _0x1ffbe6=_0x3069f6;super(_0x27705d),this[_0x1ffbe6(0x265)]=this[_0x1ffbe6(0x1e6)][_0x1ffbe6(0x218)][_0x1ffbe6(0x29e)](_0x1ffbe6(0x215)),this[_0x1ffbe6(0x271)](_0x1ffbe6(0x270),!0x1),this[_0x1ffbe6(0x1e5)]=new _0x319c26(),this[_0x1ffbe6(0x245)]();}[_0x3069f6(0x2c3)](){const _0xf75e19=_0x3069f6;this[_0xf75e19(0x207)]();}async[_0x3069f6(0x27c)](_0x97ba5a,_0x388073,_0x35ead9){const _0x285ffc=_0x3069f6;if(this[_0x285ffc(0x1e6)][_0x285ffc(0x218)][_0x285ffc(0x217)](_0x285ffc(0x1ed))){if(this[_0x285ffc(0x1e6)][_0x285ffc(0x218)][_0x285ffc(0x29e)](_0x285ffc(0x1ed))[_0x285ffc(0x1fd)]()){const {modelFragment:_0x14a952,anchorData:_0x95b077}=this[_0x285ffc(0x227)]();return this[_0x285ffc(0x241)](_0x97ba5a,_0x14a952,_0x95b077,_0x388073,_0x35ead9);}}const {modelFragment:_0x5afb38,anchorData:_0x56b8aa}=this[_0x285ffc(0x1f5)]();return this[_0x285ffc(0x241)](_0x97ba5a,_0x5afb38,_0x56b8aa,_0x388073,_0x35ead9);}[_0x3069f6(0x1f5)](){const _0x1f947c=_0x3069f6,_0x4f0a23=this[_0x1f947c(0x1e6)][_0x1f947c(0x286)][_0x1f947c(0x1e2)][_0x1f947c(0x226)];if(_0x4f0a23[_0x1f947c(0x2c1)]){const _0x3f059f=_0x495082(_0x4f0a23[_0x1f947c(0x261)]())||this[_0x1f947c(0x1e6)][_0x1f947c(0x286)][_0x1f947c(0x2b4)][_0x1f947c(0x25c)](_0x4f0a23);this[_0x1f947c(0x1e6)][_0x1f947c(0x286)][_0x1f947c(0x281)](_0x343a39=>{const _0x20e2b1=_0x1f947c;_0x343a39[_0x20e2b1(0x22c)](_0x3f059f,'in');});}const _0x54c184=_0x4f0a23[_0x1f947c(0x285)](),_0x3492c3=this[_0x1f947c(0x263)](this[_0x1f947c(0x1e6)][_0x1f947c(0x286)][_0x1f947c(0x209)](_0x4f0a23),_0x54c184[_0x1f947c(0x1ea)],_0x54c184[_0x1f947c(0x219)]),_0x1d232b=_0x4f0a23[_0x1f947c(0x285)]()[_0x1f947c(0x1ea)],_0x50096f=new Map();let _0x5c7be1=_0x3492c3;for(let _0x5c3461=0x0;_0x5c3461<_0x1d232b[_0x1f947c(0x247)][_0x1f947c(0x2ba)];_0x5c3461++)_0x50096f[_0x1f947c(0x271)](_0x5c7be1,_0x1d232b[_0x1f947c(0x247)][_0x5c3461]),_0x5c7be1=_0x5c7be1[_0x1f947c(0x295)](0x0);return{'modelFragment':_0x3492c3,'anchorData':_0x50096f};}[_0x3069f6(0x227)](){const _0x2f98ec=_0x3069f6,_0x4fca34=this[_0x2f98ec(0x1e6)][_0x2f98ec(0x286)][_0x2f98ec(0x1e2)][_0x2f98ec(0x226)],_0x4c67e7=this[_0x2f98ec(0x1e6)][_0x2f98ec(0x218)][_0x2f98ec(0x29e)](_0x2f98ec(0x1ed))[_0x2f98ec(0x1e8)](),_0x3b1790=_0x4fca34[_0x2f98ec(0x285)]()[_0x2f98ec(0x1ea)][_0x2f98ec(0x22f)][_0x2f98ec(0x22f)],_0x34ef7e=this[_0x2f98ec(0x263)](_0x4c67e7,this[_0x2f98ec(0x1e6)][_0x2f98ec(0x286)][_0x2f98ec(0x277)](_0x3b1790),this[_0x2f98ec(0x1e6)][_0x2f98ec(0x286)][_0x2f98ec(0x294)](_0x3b1790)),_0x2e83d3=_0x4fca34[_0x2f98ec(0x285)]()[_0x2f98ec(0x1ea)],_0x2b717f=new Map();let _0x3135a3=_0x34ef7e;for(let _0x5b1a0b=0x0;_0x5b1a0b<_0x2e83d3[_0x2f98ec(0x247)][_0x2f98ec(0x2ba)];_0x5b1a0b++)if(_0x2b717f[_0x2f98ec(0x271)](_0x3135a3,_0x2e83d3[_0x2f98ec(0x247)][_0x5b1a0b]),_0x5b1a0b<_0x2e83d3[_0x2f98ec(0x247)][_0x2f98ec(0x2ba)]-0x1)_0x3135a3=_0x3135a3[_0x2f98ec(0x295)](0x0);else{let _0x4dfd9c=_0x3135a3[_0x2f98ec(0x220)];for(;_0x4dfd9c;)_0x2b717f[_0x2f98ec(0x271)](_0x4dfd9c,_0x2e83d3[_0x2f98ec(0x247)][_0x5b1a0b]),_0x4dfd9c=_0x4dfd9c[_0x2f98ec(0x220)];}return{'modelFragment':_0x34ef7e,'anchorData':_0x2b717f};}[_0x3069f6(0x241)](_0x14f330,_0x2c8562,_0x3935db,_0x3b1abd,_0x359f34){const _0x4c0bca=_0x3069f6,_0x47297e=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x218)][_0x4c0bca(0x29e)](_0x40a241),_0x20e8f1=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x218)][_0x4c0bca(0x29e)](_0x1c0689),_0x4ebba9=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x286)][_0x4c0bca(0x1e2)][_0x4c0bca(0x226)],_0x138b54=_0x47297e[_0x4c0bca(0x2af)](_0x2c8562),_0x5abf81=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x293)][_0x4c0bca(0x2c7)][_0x4c0bca(0x26d)](_0x138b54),_0x13b54e=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x286)][_0x4c0bca(0x1e2)][_0x4c0bca(0x222)],_0x2c865e=[..._0x4ebba9[_0x4c0bca(0x253)]()];let _0x30c084=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x21d)][_0x4c0bca(0x29e)](_0x4c0bca(0x267))||[..._0x325d74];this[_0x4c0bca(0x1e6)][_0x4c0bca(0x218)][_0x4c0bca(0x217)](_0x4c0bca(0x2bb))||(_0x30c084=_0x30c084[_0x4c0bca(0x257)](_0x259ac6=>_0x4c0bca(0x244)!=_0x259ac6));const _0x48cfe4=new _0x57d591(this[_0x4c0bca(0x1e6)][_0x4c0bca(0x21b)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x4c0bca(0x25f),'customView':this[_0x4c0bca(0x287)]},'showUnchangedParts':!0x0,'availableActions':_0x30c084});return _0x20e8f1[_0x4c0bca(0x2a7)]({'index':0x3e8*Math[_0x4c0bca(0x2a4)]()%0x3e8,'title':_0x3b1abd,'icon':_0x359f34||_0x5a91c8,'mainView':_0x48cfe4,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':this[_0x4c0bca(0x1e6)][_0x4c0bca(0x218)][_0x4c0bca(0x217)](_0x4c0bca(0x2bb)),'ranges':_0x2c865e}),this[_0x4c0bca(0x284)](_0x48cfe4,_0x20e8f1),this[_0x4c0bca(0x2ae)](_0x20e8f1,_0x4c0bca(0x29b),()=>{const _0xe4b53c=_0x4c0bca;this[_0xe4b53c(0x29f)](_0x2c8562,_0x3935db,!0x1);}),this[_0x4c0bca(0x2ae)](_0x20e8f1,_0x4c0bca(0x244),()=>{const _0x5c60a9=_0x4c0bca;this[_0x5c60a9(0x29f)](_0x2c8562,_0x3935db,!0x0);}),this[_0x4c0bca(0x2ae)](_0x20e8f1,_0x4c0bca(0x28f),()=>{const _0x5d1f34=_0x4c0bca;this[_0x5d1f34(0x207)](),this[_0x5d1f34(0x1f3)]();}),this[_0x4c0bca(0x2ae)](_0x20e8f1,_0x4c0bca(0x25e),()=>{const _0x340969=_0x4c0bca;if(this[_0x340969(0x299)]&&this[_0x340969(0x299)][_0x340969(0x2a8)][_0x340969(0x2ba)]>0x0){const _0xeb7eee=this[_0x340969(0x299)][_0x340969(0x2a8)][this[_0x340969(0x299)][_0x340969(0x2a8)][_0x340969(0x2ba)]-0x1],_0x1d6dde=_0xeb7eee[_0x340969(0x2b9)][0x0];_0x1d6dde&&_0x340969(0x210)===_0x1d6dde[_0x340969(0x2bd)]&&_0xeb7eee[_0x340969(0x29d)](0x0,_0x340969(0x2b0));}this[_0x340969(0x207)](),this[_0x340969(0x252)](),this[_0x340969(0x290)](_0x20e8f1);}),this[_0x4c0bca(0x235)](_0x5abf81,_0x13b54e,_0x48cfe4,_0x20e8f1,_0x14f330);}[_0x3069f6(0x263)](_0x553f48,_0x2668e9,_0x34231b){const _0x5c5782=_0x3069f6,_0x10c760=this[_0x5c5782(0x1e6)][_0x5c5782(0x286)][_0x5c5782(0x249)](_0x2668e9,_0x34231b)[_0x5c5782(0x2ac)](),_0x43ca36=_0x10c760['is'](_0x5c5782(0x20d))?[]:_0x10c760[_0x5c5782(0x260)]({'includeSelf':!0x0})[_0x5c5782(0x24f)](0x1);if(_0x43ca36[_0x5c5782(0x2ba)]){const _0x505092=_0x43ca36[_0x5c5782(0x280)](_0x271c0b=>_0x271c0b[_0x5c5782(0x1f6)](!0x1));for(let _0x4e7ae7=0x1;_0x4e7ae7<_0x505092[_0x5c5782(0x2ba)];_0x4e7ae7++)_0x505092[_0x4e7ae7-0x1][_0x5c5782(0x264)](_0x505092[_0x4e7ae7]);return _0x505092[_0x505092[_0x5c5782(0x2ba)]-0x1][_0x5c5782(0x264)](_0x553f48),new _0x1c5bdb(_0x505092[0x0]);}return _0x553f48;}async[_0x3069f6(0x235)](_0x48cee5,_0x1ff902,_0x56c330,_0x52a1fb,_0x3311e1){const _0x4ef9d9=_0x3069f6,_0x4ac337=this[_0x4ef9d9(0x1e6)];this[_0x4ef9d9(0x21c)]={'action':_0x3311e1,'content':_0x48cee5,'version':_0x1ff902,'mainView':_0x56c330,'aiBalloon':_0x52a1fb};const _0x55f99c=new _0x4bb6f0({'connector':this[_0x4ef9d9(0x265)],'editor':_0x4ac337,'content':_0x48cee5,'version':_0x1ff902,..._0x3311e1});this[_0x4ef9d9(0x283)][_0x4ef9d9(0x282)](_0x55f99c),_0x56c330[_0x4ef9d9(0x25d)]();const _0x369526=(_0x337437,_0x533a54,_0x239a91=!0x1,_0xa05ff8=_0x4ef9d9(0x212))=>this[_0x4ef9d9(0x1e5)][_0x4ef9d9(0x24a)](async _0x36ec2e=>{const _0x3c9184=_0x4ef9d9;try{const _0x172b2e=_0x5ea45d({'editor':_0x4ac337,'changeGroups':_0x337437[_0x3c9184(0x2b9)],'documentContextContent':_0x337437[_0x3c9184(0x288)],'showDiff':_0x239a91,'trimUnchanged':!0x1});await _0x533a54[_0x3c9184(0x2ab)]({'parts':_0x172b2e,'renderingStrategy':_0xa05ff8,'abortSignal':_0x36ec2e});}catch(_0x87ac69){if(this[_0x3c9184(0x2a1)](_0x87ac69))return;throw _0x87ac69;}});this[_0x4ef9d9(0x299)]['on'](_0x4ef9d9(0x25a),(_0x5c8f15,_0x43d0b4)=>{const _0x312059=_0x4ef9d9;_0x56c330[_0x312059(0x224)](),_0x52a1fb[_0x312059(0x231)](),_0x369526(_0x43d0b4,_0x56c330)[_0x312059(0x1e3)](_0x4ee9da=>{const _0x5763f9=_0x312059;this[_0x5763f9(0x2a1)](_0x4ee9da)||(console[_0x5763f9(0x20b)](_0x5763f9(0x201),_0x4ee9da),this[_0x5763f9(0x26f)](_0x55f99c,_0x56c330));});}),this[_0x4ef9d9(0x299)]['on'](_0x4ef9d9(0x2b3),(_0x3a2e12,_0x55d3c0)=>{const _0x2b428e=_0x4ef9d9;_0x369526(_0x55d3c0,_0x56c330)[_0x2b428e(0x1e3)](_0x159174=>{const _0x45bf59=_0x2b428e;this[_0x45bf59(0x2a1)](_0x159174)||(console[_0x45bf59(0x20b)](_0x45bf59(0x221),_0x159174),this[_0x45bf59(0x26f)](_0x55f99c,_0x56c330));});}),this[_0x4ef9d9(0x299)]['on'](_0x4ef9d9(0x1f9),async()=>{const _0x138cfe=_0x4ef9d9;try{await this[_0x138cfe(0x216)](_0x56c330,_0x52a1fb),this[_0x138cfe(0x276)](),await this[_0x138cfe(0x1e5)][_0x138cfe(0x250)];}catch(_0x8fb8e4){this[_0x138cfe(0x2a1)](_0x8fb8e4)||(console[_0x138cfe(0x20b)](_0x138cfe(0x21e),_0x8fb8e4),this[_0x138cfe(0x26f)](_0x55f99c,_0x56c330));}finally{_0x52a1fb[_0x138cfe(0x1e1)]();}}),this[_0x4ef9d9(0x2ae)](_0x56c330,_0x4ef9d9(0x20e),async(_0x258091,{showDiff:_0x558d59})=>{const _0x47408e=_0x4ef9d9;try{this[_0x47408e(0x2a0)]=_0x558d59;const _0x2f5071=this[_0x47408e(0x299)][_0x47408e(0x2a8)][this[_0x47408e(0x299)][_0x47408e(0x2a8)][_0x47408e(0x2ba)]-0x1];_0x2f5071&&await _0x369526(_0x2f5071,_0x56c330,_0x558d59,_0x47408e(0x1e4));}catch(_0x3b6d7d){this[_0x47408e(0x2a1)](_0x3b6d7d)||(console[_0x47408e(0x20b)](_0x47408e(0x205),_0x3b6d7d),this[_0x47408e(0x26f)](_0x55f99c,_0x56c330));}}),this[_0x4ef9d9(0x299)]['on'](_0x4ef9d9(0x2b8),(_0x27b98c,{reply:_0x511854})=>{const _0x5f3472=_0x4ef9d9,_0x3ee3eb={'positiveCount':_0x511854[_0x5f3472(0x2b9)][_0x5f3472(0x257)](_0x7e5730=>_0x5f3472(0x240)===_0x7e5730[_0x5f3472(0x2bd)])[_0x5f3472(0x2ba)],'totalCount':_0x511854[_0x5f3472(0x2b9)][_0x5f3472(0x2ba)]},_0x5d527c=this[_0x5f3472(0x299)][_0x5f3472(0x2c8)],_0x579c87=this[_0x5f3472(0x299)][_0x5f3472(0x298)];_0x579c87?this[_0x5f3472(0x265)][_0x5f3472(0x236)](_0x579c87,_0x5d527c,_0x3ee3eb):this[_0x5f3472(0x265)][_0x5f3472(0x234)](_0x5d527c,_0x3ee3eb);}),this[_0x4ef9d9(0x284)](_0x56c330,_0x52a1fb);try{const _0x509be5=await this[_0x4ef9d9(0x299)][_0x4ef9d9(0x1ea)]();return this[_0x4ef9d9(0x276)](),_0x509be5;}catch(_0x2202b1){if(this[_0x4ef9d9(0x2a1)](_0x2202b1))return;_0x56c330[_0x4ef9d9(0x224)](),this[_0x4ef9d9(0x26f)](_0x55f99c,_0x56c330);}}[_0x3069f6(0x29f)](_0x5d2a55,_0x29da98,_0x122982){const _0x18fe08=_0x3069f6,_0x3c59c4=this[_0x18fe08(0x1e6)];if(_0x122982&&!_0x3c59c4[_0x18fe08(0x218)][_0x18fe08(0x217)](_0x18fe08(0x2bb)))throw new _0x3a8ce2(_0x18fe08(0x23c),null);const _0xf922a0=this[_0x18fe08(0x1e6)][_0x18fe08(0x218)][_0x18fe08(0x29e)](_0x5792c0),_0x475d66=this[_0x18fe08(0x299)],_0x1d5df6=this[_0x18fe08(0x299)][_0x18fe08(0x2a8)][this[_0x18fe08(0x299)][_0x18fe08(0x2a8)][_0x18fe08(0x2ba)]-0x1],_0x37ff21=_0x1d5df6[_0x18fe08(0x2b9)];_0x1d5df6[_0x18fe08(0x29d)](0x0,_0x18fe08(0x240));let _0x1e0cbf=_0x3f911({'editor':_0x3c59c4,'reply':_0x1d5df6,'interaction':_0x475d66,'groups':_0x37ff21,'transform':!0x1,'documentCompare':_0xf922a0,'documentCompareOptions':{'anchor':_0x3c59c4[_0x18fe08(0x286)][_0x18fe08(0x268)](_0x5d2a55,0x0),'markDeletions':_0x122982}});_0x1e0cbf=this[_0x18fe08(0x278)](_0x1e0cbf,_0x29da98);for(const _0x3eda5c of _0x1e0cbf)this[_0x18fe08(0x202)](_0x29da98,_0x3eda5c,_0x3c59c4[_0x18fe08(0x286)][_0x18fe08(0x1e2)][_0x18fe08(0x24b)]());const _0x4a41f3=_0x475d66[_0x18fe08(0x27e)]()[_0x18fe08(0x222)],_0x199b67=_0x3c59c4[_0x18fe08(0x286)][_0x18fe08(0x1e2)][_0x18fe08(0x27a)][_0x18fe08(0x208)](_0x4a41f3),_0x22dcb5={'document':_0x3c59c4[_0x18fe08(0x286)][_0x18fe08(0x1e2)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2c0590=_0x363719(_0x1e0cbf,_0x199b67,_0x22dcb5)[_0x18fe08(0x223)];_0x3c59c4[_0x18fe08(0x286)][_0x18fe08(0x281)](_0x1019e4=>{const _0x2ddeea=_0x18fe08;if(_0x1019e4[_0x2ddeea(0x22c)](_0x3c59c4[_0x2ddeea(0x286)][_0x2ddeea(0x1e2)][_0x2ddeea(0x226)][_0x2ddeea(0x292)]),_0x122982)_0x3c59c4[_0x2ddeea(0x218)][_0x2ddeea(0x29e)](_0x2ddeea(0x27f))[_0x2ddeea(0x29a)](_0x2c0590);else{for(const _0xb0b9e of _0x2c0590)_0xb0b9e[_0x2ddeea(0x2a9)]=_0x3c59c4[_0x2ddeea(0x286)][_0x2ddeea(0x1e2)][_0x2ddeea(0x222)],_0x45781e(_0x3c59c4,_0xb0b9e),_0x1019e4[_0x2ddeea(0x200)][_0x2ddeea(0x2aa)](_0xb0b9e),_0x3c59c4[_0x2ddeea(0x286)][_0x2ddeea(0x2be)](_0xb0b9e);}}),this[_0x18fe08(0x1e6)][_0x18fe08(0x218)][_0x18fe08(0x29e)](_0x18fe08(0x266))[_0x18fe08(0x262)]();}[_0x3069f6(0x278)](_0x4af542,_0x369833){const _0x3384f5=_0x3069f6;return _0x4af542[_0x3384f5(0x257)](_0x27756a=>{const _0x4aedb6=_0x3384f5;if(_0x4aedb6(0x28b)==_0x27756a[_0x4aedb6(0x1eb)]){const _0x464653=_0x27756a[_0x4aedb6(0x2c0)][_0x4aedb6(0x2b6)];return!_0x369833[_0x4aedb6(0x217)](_0x464653);}if(_0x27756a[_0x4aedb6(0x1eb)][_0x4aedb6(0x2b1)](_0x4aedb6(0x238))>-0x1){const _0x5eabbe=_0x27756a[_0x4aedb6(0x1e9)][_0x4aedb6(0x1ea)][_0x4aedb6(0x2b6)];return!_0x369833[_0x4aedb6(0x217)](_0x5eabbe);}return!0x0;});}[_0x3069f6(0x202)](_0x42a634,_0x5d8879,_0x216c88){const _0x4a9dba=_0x3069f6,_0xb6b290=_0x5d8879[_0x4a9dba(0x2a2)]();for(const _0x42b194 in _0x5d8879){const _0x1d6c66=_0x5d8879[_0x42b194];_0x1d6c66 instanceof _0x93d323?_0x5d8879[_0x42b194]=new _0x93d323(_0x1b5d95(_0x1d6c66[_0x4a9dba(0x1ea)]),_0x1b5d95(_0x1d6c66[_0x4a9dba(0x219)])):_0x1d6c66 instanceof _0x355e2f&&(_0x5d8879[_0x42b194]=_0x1b5d95(_0x1d6c66));}if([_0x4a9dba(0x251),_0x4a9dba(0x26b),_0x4a9dba(0x22d),_0x4a9dba(0x1ec),_0x4a9dba(0x22e),_0x4a9dba(0x27b)][_0x4a9dba(0x1f1)](_0xb6b290[_0x4a9dba(0x1eb)])){if(_0xb6b290[_0x4a9dba(0x20a)]=!0x1,_0xb6b290[_0x4a9dba(0x2a9)]=null,_0x4a9dba(0x22d)==_0xb6b290[_0x4a9dba(0x1eb)]){const _0x35ad9e=_0xb6b290[_0x4a9dba(0x211)],_0x65d577=_0xb6b290[_0x4a9dba(0x2c6)];new _0x4fe31c(_0x35ad9e,_0x65d577)[_0x4a9dba(0x26c)]();}else _0xb6b290[_0x4a9dba(0x26c)]();}function _0x1b5d95(_0x2aa2cf){const _0x173587=_0x4a9dba;if(_0x173587(0x2ad)==_0x2aa2cf[_0x173587(0x1fb)][_0x173587(0x203)])return _0x2aa2cf;const _0x131055=[];let _0x4d3654=_0x2aa2cf[_0x173587(0x1fb)];for(let _0x269a76=0x0;_0x269a76<_0x2aa2cf[_0x173587(0x247)][_0x173587(0x2ba)];_0x269a76++){const _0x658a77=_0x42a634[_0x173587(0x29e)](_0x4d3654)||0x0;_0x131055[_0x269a76]=_0x2aa2cf[_0x173587(0x247)][_0x269a76]+_0x658a77,_0x4d3654=_0x4d3654[_0x173587(0x1fa)](_0x2aa2cf[_0x173587(0x247)][_0x269a76]);}return new _0x355e2f(_0x216c88,_0x131055,_0x2aa2cf[_0x173587(0x2a3)]);}}[_0x3069f6(0x273)](){const _0x2159f2=_0x3069f6;if(!this[_0x2159f2(0x21c)])return;this[_0x2159f2(0x283)][_0x2159f2(0x2ba)]>0x0&&this[_0x2159f2(0x207)](),this[_0x2159f2(0x259)]=0x0,this[_0x2159f2(0x2a0)]=!0x1;const {action:_0x37c09d,content:_0x57762a,version:_0x380041,mainView:_0x2c57c6,aiBalloon:_0x8e8733}=this[_0x2159f2(0x21c)];_0x2c57c6[_0x2159f2(0x233)]=!0x1,_0x2c57c6[_0x2159f2(0x25d)](),this[_0x2159f2(0x23e)](_0x2c57c6,_0x8e8733);const _0x5f354b=_0x2c57c6;_0x5f354b[_0x2159f2(0x1f0)]&&_0x5f354b[_0x2159f2(0x1f0)][_0x2159f2(0x242)]&&_0x5f354b[_0x2159f2(0x1f0)][_0x2159f2(0x242)][_0x2159f2(0x271)]({'isOn':!0x1,'icon':_0x2270fb}),this[_0x2159f2(0x228)](_0x2c57c6),_0x2c57c6[_0x2159f2(0x22b)](),this[_0x2159f2(0x276)](),this[_0x2159f2(0x290)](_0x2c57c6),this[_0x2159f2(0x235)](_0x57762a,_0x380041,_0x2c57c6,_0x8e8733,_0x37c09d)[_0x2159f2(0x1e3)](_0x2248dc=>{const _0x4f5ea2=_0x2159f2;this[_0x4f5ea2(0x2a1)](_0x2248dc)||console[_0x4f5ea2(0x20b)](_0x4f5ea2(0x2a5),_0x2248dc);});}[_0x3069f6(0x228)](_0x2d3932){const _0x14a33b=_0x3069f6,_0x3e6281=_0x2d3932[_0x14a33b(0x2c9)][_0x14a33b(0x1fe)];for(;_0x3e6281[_0x14a33b(0x2ba)]>0x0;)_0x3e6281[_0x14a33b(0x22d)](_0x3e6281[_0x14a33b(0x279)]);_0x2d3932[_0x14a33b(0x2c9)][_0x14a33b(0x291)]=!0x1;}[_0x3069f6(0x2a1)](_0x56e462){const _0xc418ab=_0x3069f6;return!!_0x56e462[_0xc418ab(0x2bf)]&&_0x56e462[_0xc418ab(0x2bf)][_0xc418ab(0x297)](_0xc418ab(0x243));}[_0x3069f6(0x252)](){const _0x12f0d7=_0x3069f6;this[_0x12f0d7(0x283)]=[],this[_0x12f0d7(0x21c)]=void 0x0,this[_0x12f0d7(0x259)]=0x0,this[_0x12f0d7(0x276)]();}[_0x3069f6(0x207)](){const _0x5c4e2e=_0x3069f6;this[_0x5c4e2e(0x299)]&&this[_0x5c4e2e(0x299)][_0x5c4e2e(0x1f2)](),this[_0x5c4e2e(0x1e5)][_0x5c4e2e(0x248)](),this[_0x5c4e2e(0x270)]=!0x1,this[_0x5c4e2e(0x21c)]&&this[_0x5c4e2e(0x21c)][_0x5c4e2e(0x20c)][_0x5c4e2e(0x1e1)]();}[_0x3069f6(0x245)](){const _0x3248cc=_0x3069f6,_0x22a146=new _0xddbbfc(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)]),_0x3a3b00=new _0xddbbfc(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)]),_0x8fdd6f=new _0x292d79(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)]),_0x3486ba=new _0xddbbfc(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)]);_0x22a146[_0x3248cc(0x271)]({'icon':_0x3674ff,'label':_0x2378ba(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)],_0x3248cc(0x21f)),'tooltip':!0x0,'class':_0x3248cc(0x28e)}),_0x3a3b00[_0x3248cc(0x271)]({'icon':_0x33d6cb,'tooltip':_0x2378ba(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)],_0x3248cc(0x20f)),'class':_0x3248cc(0x1e7)}),_0x8fdd6f[_0x3248cc(0x258)]({'tag':_0x3248cc(0x28c),'attributes':{'class':[_0x3248cc(0x28a)]},'children':[_0x3248cc(0x272)]}),_0x3486ba[_0x3248cc(0x271)]({'icon':_0x1620bd,'tooltip':_0x2378ba(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)],_0x3248cc(0x2b2)),'class':_0x3248cc(0x2c5)}),_0x22a146[_0x3248cc(0x206)](_0x3248cc(0x2c2))['to'](this,_0x3248cc(0x270),_0x1a1e1a=>!_0x1a1e1a),_0x22a146['on'](_0x3248cc(0x27d),()=>{const _0x412110=_0x3248cc;this[_0x412110(0x273)]();}),_0x3a3b00[_0x3248cc(0x206)](_0x3248cc(0x2c2))['to'](this,_0x3248cc(0x270),_0x409368=>!_0x409368),_0x3a3b00['on'](_0x3248cc(0x27d),()=>{const _0x212f3a=_0x3248cc;this[_0x212f3a(0x24e)]();}),_0x3486ba[_0x3248cc(0x206)](_0x3248cc(0x2c2))['to'](this,_0x3248cc(0x270),_0x4677bf=>!_0x4677bf),_0x3486ba['on'](_0x3248cc(0x27d),()=>{const _0x37accb=_0x3248cc;this[_0x37accb(0x239)]();}),this[_0x3248cc(0x204)]=_0x3a3b00,this[_0x3248cc(0x22a)]=_0x8fdd6f,this[_0x3248cc(0x2c4)]=_0x3486ba,this[_0x3248cc(0x287)][_0x3248cc(0x1ee)](_0x22a146);}[_0x3069f6(0x24e)](){const _0xb7d1e8=_0x3069f6,_0x2c763f=this[_0xb7d1e8(0x283)][_0xb7d1e8(0x2ba)];this[_0xb7d1e8(0x259)]<_0x2c763f-0x1&&this[_0xb7d1e8(0x26a)](this[_0xb7d1e8(0x259)]+0x1);}[_0x3069f6(0x239)](){const _0x3f9383=_0x3069f6;this[_0x3f9383(0x259)]>0x0&&this[_0x3f9383(0x26a)](this[_0x3f9383(0x259)]-0x1);}async[_0x3069f6(0x26a)](_0x1a85d2){const _0x404e4c=_0x3069f6;if(!this[_0x404e4c(0x21c)])return;this[_0x404e4c(0x259)]=_0x1a85d2;const {mainView:_0x51cd80}=this[_0x404e4c(0x21c)],_0x4ca745=this[_0x404e4c(0x283)][this[_0x404e4c(0x283)][_0x404e4c(0x2ba)]-0x1-this[_0x404e4c(0x259)]];if(!_0x4ca745)return;if(_0x4ca745[_0x404e4c(0x246)])return this[_0x404e4c(0x26f)](_0x4ca745,_0x51cd80),void this[_0x404e4c(0x276)]();if(!_0x4ca745[_0x404e4c(0x2a8)][_0x404e4c(0x2ba)])return;_0x51cd80[_0x404e4c(0x25d)](),this[_0x404e4c(0x21c)]&&this[_0x404e4c(0x23e)](_0x51cd80,this[_0x404e4c(0x21c)][_0x404e4c(0x20c)]);const _0x4dde40=_0x4ca745[_0x404e4c(0x2a8)][_0x4ca745[_0x404e4c(0x2a8)][_0x404e4c(0x2ba)]-0x1];if(_0x4dde40){const _0x4edf08=this[_0x404e4c(0x1e6)];this[_0x404e4c(0x228)](_0x51cd80);try{const _0x2b7246=_0x5ea45d({'editor':_0x4edf08,'changeGroups':_0x4dde40[_0x404e4c(0x2b9)],'documentContextContent':_0x4dde40[_0x404e4c(0x288)],'showDiff':this[_0x404e4c(0x2a0)],'trimUnchanged':!0x1});this[_0x404e4c(0x228)](_0x51cd80),await new Promise(_0x1dec67=>setTimeout(_0x1dec67,0x32)),await _0x51cd80[_0x404e4c(0x2ab)]({'parts':_0x2b7246,'renderingStrategy':_0x404e4c(0x1e4),'abortSignal':new AbortController()[_0x404e4c(0x256)]});}catch(_0x30a7fa){this[_0x404e4c(0x2a1)](_0x30a7fa)||console[_0x404e4c(0x20b)](_0x404e4c(0x21a),_0x30a7fa);}}this[_0x404e4c(0x276)]();}[_0x3069f6(0x276)](){const _0x5d1a50=_0x3069f6;if(!this[_0x5d1a50(0x204)]||!this[_0x5d1a50(0x22a)]||!this[_0x5d1a50(0x2c4)])return;const _0x200b90=this[_0x5d1a50(0x283)][_0x5d1a50(0x2ba)],_0x11b129=_0x200b90>0x1,_0x1b277d=this[_0x5d1a50(0x21c)]?.[_0x5d1a50(0x269)];if(_0x11b129){this[_0x5d1a50(0x225)]||this[_0x5d1a50(0x29c)]||this[_0x5d1a50(0x2a6)]||(this[_0x5d1a50(0x287)][_0x5d1a50(0x1ee)](this[_0x5d1a50(0x204)]),_0x1b277d?.[_0x5d1a50(0x275)](this[_0x5d1a50(0x204)]),this[_0x5d1a50(0x225)]=!0x0,this[_0x5d1a50(0x287)][_0x5d1a50(0x1ee)](this[_0x5d1a50(0x22a)]),_0x1b277d?.[_0x5d1a50(0x275)](this[_0x5d1a50(0x22a)]),this[_0x5d1a50(0x29c)]=!0x0,this[_0x5d1a50(0x287)][_0x5d1a50(0x1ee)](this[_0x5d1a50(0x2c4)]),_0x1b277d?.[_0x5d1a50(0x275)](this[_0x5d1a50(0x2c4)]),this[_0x5d1a50(0x2a6)]=!0x0);const _0x291bad=_0x200b90-this[_0x5d1a50(0x259)];this[_0x5d1a50(0x22a)][_0x5d1a50(0x2b7)]&&(this[_0x5d1a50(0x22a)][_0x5d1a50(0x2b7)][_0x5d1a50(0x254)]=_0x291bad+'/'+_0x200b90),this[_0x5d1a50(0x204)][_0x5d1a50(0x2c2)]=this[_0x5d1a50(0x259)]<_0x200b90-0x1,this[_0x5d1a50(0x2c4)][_0x5d1a50(0x2c2)]=this[_0x5d1a50(0x259)]>0x0;}else(this[_0x5d1a50(0x225)]||this[_0x5d1a50(0x29c)]||this[_0x5d1a50(0x2a6)])&&(this[_0x5d1a50(0x287)][_0x5d1a50(0x22d)](this[_0x5d1a50(0x204)]),_0x1b277d?.[_0x5d1a50(0x1ef)](this[_0x5d1a50(0x204)]),this[_0x5d1a50(0x225)]=!0x1,this[_0x5d1a50(0x287)][_0x5d1a50(0x22d)](this[_0x5d1a50(0x22a)]),_0x1b277d?.[_0x5d1a50(0x1ef)](this[_0x5d1a50(0x22a)]),this[_0x5d1a50(0x29c)]=!0x1,this[_0x5d1a50(0x287)][_0x5d1a50(0x22d)](this[_0x5d1a50(0x2c4)]),_0x1b277d?.[_0x5d1a50(0x1ef)](this[_0x5d1a50(0x2c4)]),this[_0x5d1a50(0x2a6)]=!0x1);}[_0x3069f6(0x284)](_0x22523e,_0x34bc7e){const _0x117012=_0x3069f6;_0x22523e[_0x117012(0x26e)](),_0x34bc7e[_0x117012(0x23d)][_0x117012(0x26e)](),this[_0x117012(0x270)]=!0x0;}async[_0x3069f6(0x26f)](_0x4a6ca6,_0x4254d5){const _0x309717=_0x3069f6,_0x55a6d6=_0x2378ba(this[_0x309717(0x1e6)][_0x309717(0x21b)],_0x309717(0x24c));_0x4254d5[_0x309717(0x1f7)](_0x55a6d6),_0x4a6ca6[_0x309717(0x246)]=!0x0,await this[_0x309717(0x1e5)][_0x309717(0x250)],_0x4254d5[_0x309717(0x289)](),this[_0x309717(0x21c)]?.[_0x309717(0x20c)][_0x309717(0x23d)][_0x309717(0x1fc)]&&(this[_0x309717(0x21c)][_0x309717(0x20c)][_0x309717(0x23d)][_0x309717(0x1fc)][_0x309717(0x296)]=!0x0);}[_0x3069f6(0x23e)](_0x1b8b84,_0x45c64a){const _0x14ceb0=_0x3069f6;_0x1b8b84[_0x14ceb0(0x229)](),_0x45c64a[_0x14ceb0(0x23d)][_0x14ceb0(0x1fc)]&&(_0x45c64a[_0x14ceb0(0x23d)][_0x14ceb0(0x1fc)][_0x14ceb0(0x296)]=!0x1);}async[_0x3069f6(0x216)](_0xf882c5,_0x36a01e){const _0x24c478=_0x3069f6;await this[_0x24c478(0x1e5)][_0x24c478(0x250)],this[_0x24c478(0x270)]=!0x1,_0xf882c5[_0x24c478(0x1f4)](),_0x36a01e[_0x24c478(0x23d)][_0x24c478(0x1f4)]();}[_0x3069f6(0x1f3)](){const _0x42f784=_0x3069f6;this[_0x42f784(0x287)][_0x42f784(0x232)](_0x2a9f7f=>{const _0xa09df8=_0x42f784;_0xa09df8(0x2c2)in _0x2a9f7f&&(_0x2a9f7f[_0xa09df8(0x2c2)]=!0x1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c2a23=_0x5897;(function(_0x376c5b,_0x5ebad3){const _0x202d8e=_0x5897,_0x470a83=_0x376c5b();while(!![]){try{const _0x26e90c=parseInt(_0x202d8e(0x12e))/0x1*(-parseInt(_0x202d8e(0x13b))/0x2)+-parseInt(_0x202d8e(0x11f))/0x3*(-parseInt(_0x202d8e(0x136))/0x4)+parseInt(_0x202d8e(0x13d))/0x5+parseInt(_0x202d8e(0x132))/0x6*(parseInt(_0x202d8e(0x123))/0x7)+-parseInt(_0x202d8e(0x122))/0x8+parseInt(_0x202d8e(0x128))/0x9+-parseInt(_0x202d8e(0x131))/0xa*(-parseInt(_0x202d8e(0x121))/0xb);if(_0x26e90c===_0x5ebad3)break;else _0x470a83['push'](_0x470a83['shift']());}catch(_0x510a94){_0x470a83['push'](_0x470a83['shift']());}}}(_0x1809,0xe9134));import{AIInteraction as _0x19649b,AI_MODEL_EVENT_NAMES as _0x283fc5}from'../../aicore/model/aiinteraction.js';function _0x1809(){const _0x4a8932=['replyCreated','sendRequest','10822113IlipLE','executeCustomAction','current-document','delegate','push','fire','42511UIOlSn','createReply','TEXT','10sSvFrT','5682NeEKpV','actionName','executeAction','editor','4ZvUMjg','replies','args','Current\x20document','getDocumentContext','46bnXKDf','html','6557080vmApsl','connector','version','content','261543SmpuLs','userMessage','5402771uBqRou','10475296TZERrW','1106AbhFfg','model','hasError'];_0x1809=function(){return _0x4a8932;};return _0x1809();}function _0x5897(_0x2b5430,_0x94eca0){const _0x180969=_0x1809();return _0x5897=function(_0x58971a,_0x4c2f5b){_0x58971a=_0x58971a-0x11e;let _0x32c31a=_0x180969[_0x58971a];return _0x32c31a;},_0x5897(_0x2b5430,_0x94eca0);}import{AIContextItemType as _0x257f1c}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x3ffd5b}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x19649b{[_0x1c2a23(0x11e)];[_0x1c2a23(0x13f)];[_0x1c2a23(0x133)];[_0x1c2a23(0x138)];[_0x1c2a23(0x120)];[_0x1c2a23(0x124)];[_0x1c2a23(0x125)]=!0x1;constructor(_0x30f03b){const _0x2a9c96=_0x1c2a23;super(_0x30f03b),this[_0x2a9c96(0x11e)]=_0x30f03b[_0x2a9c96(0x11e)],this[_0x2a9c96(0x13f)]=_0x30f03b[_0x2a9c96(0x13f)],this[_0x2a9c96(0x133)]=_0x30f03b[_0x2a9c96(0x133)],this[_0x2a9c96(0x138)]=_0x30f03b[_0x2a9c96(0x138)],this[_0x2a9c96(0x120)]=_0x30f03b[_0x2a9c96(0x120)],this[_0x2a9c96(0x124)]=_0x30f03b[_0x2a9c96(0x124)];}async[_0x1c2a23(0x127)](){const _0x14d2e0=_0x1c2a23;return this[_0x14d2e0(0x133)]?this[_0x14d2e0(0x13e)][_0x14d2e0(0x134)]({'content':this[_0x14d2e0(0x11e)],'actionName':this[_0x14d2e0(0x133)],'args':this[_0x14d2e0(0x138)]}):this[_0x14d2e0(0x13e)][_0x14d2e0(0x129)]({'content':this[_0x14d2e0(0x11e)],'message':this[_0x14d2e0(0x120)],'model':this[_0x14d2e0(0x124)],'outputFormat':_0x14d2e0(0x13c)});}[_0x1c2a23(0x13a)](){const _0xe86ed6=_0x1c2a23;return{'type':_0x257f1c[_0xe86ed6(0x130)],'content':this[_0xe86ed6(0x11e)],'version':this[_0xe86ed6(0x13f)],'label':_0xe86ed6(0x139),'uiId':_0xe86ed6(0x12a)};}[_0x1c2a23(0x12f)](_0xa7c0f4){const _0xed21d8=_0x1c2a23,_0x3cf270=new _0x3ffd5b({'editor':this[_0xed21d8(0x135)],'documentContextContent':this[_0xed21d8(0x11e)],..._0xa7c0f4});return this[_0xed21d8(0x137)][_0xed21d8(0x12c)](_0x3cf270),_0x3cf270[_0xed21d8(0x12b)](..._0x283fc5)['to'](this),this[_0xed21d8(0x12d)](_0xed21d8(0x126),_0x3cf270),_0x3cf270;}}
23
+ const _0x22511b=_0x4273;function _0x4273(_0x377bcc,_0x452a45){const _0x599e8b=_0x599e();return _0x4273=function(_0x4273e2,_0x3e12ff){_0x4273e2=_0x4273e2-0x177;let _0x414f40=_0x599e8b[_0x4273e2];return _0x414f40;},_0x4273(_0x377bcc,_0x452a45);}(function(_0xc37a5a,_0x53aeb5){const _0x1ef5c5=_0x4273,_0x5675f6=_0xc37a5a();while(!![]){try{const _0xc61867=parseInt(_0x1ef5c5(0x180))/0x1*(parseInt(_0x1ef5c5(0x195))/0x2)+-parseInt(_0x1ef5c5(0x18d))/0x3+parseInt(_0x1ef5c5(0x177))/0x4*(-parseInt(_0x1ef5c5(0x181))/0x5)+parseInt(_0x1ef5c5(0x196))/0x6+-parseInt(_0x1ef5c5(0x191))/0x7+parseInt(_0x1ef5c5(0x198))/0x8*(parseInt(_0x1ef5c5(0x18b))/0x9)+-parseInt(_0x1ef5c5(0x17a))/0xa*(-parseInt(_0x1ef5c5(0x197))/0xb);if(_0xc61867===_0x53aeb5)break;else _0x5675f6['push'](_0x5675f6['shift']());}catch(_0x39bf27){_0x5675f6['push'](_0x5675f6['shift']());}}}(_0x599e,0xb7a40));import{AIInteraction as _0x560757,AI_MODEL_EVENT_NAMES as _0x483a48}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x150933}from'../../aicore/model/aicontext.js';function _0x599e(){const _0x85b1be=['replies','args','executeAction','sendRequest','model','replyCreated','getDocumentContext','1413NkdTXb','delegate','2006274rwIDkv','TEXT','fire','executeCustomAction','8541050rjYuSj','connector','html','Current\x20document','2pOZzRu','6573684iMSUPv','451tDkNpw','42152axrerk','12nTScWv','version','userMessage','82560CPOqRL','hasError','editor','current-document','actionName','push','681560nObbZS','503005CYLVmk','content','createReply'];_0x599e=function(){return _0x85b1be;};return _0x599e();}import{AIActionsReply as _0x2f6b3d}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x560757{[_0x22511b(0x182)];[_0x22511b(0x178)];[_0x22511b(0x17e)];[_0x22511b(0x185)];[_0x22511b(0x179)];[_0x22511b(0x188)];[_0x22511b(0x17b)]=!0x1;constructor(_0xff0887){const _0x5ae7ba=_0x22511b;super(_0xff0887),this[_0x5ae7ba(0x182)]=_0xff0887[_0x5ae7ba(0x182)],this[_0x5ae7ba(0x178)]=_0xff0887[_0x5ae7ba(0x178)],this[_0x5ae7ba(0x17e)]=_0xff0887[_0x5ae7ba(0x17e)],this[_0x5ae7ba(0x185)]=_0xff0887[_0x5ae7ba(0x185)],this[_0x5ae7ba(0x179)]=_0xff0887[_0x5ae7ba(0x179)],this[_0x5ae7ba(0x188)]=_0xff0887[_0x5ae7ba(0x188)];}async[_0x22511b(0x187)](){const _0x58fbd8=_0x22511b;return this[_0x58fbd8(0x17e)]?this[_0x58fbd8(0x192)][_0x58fbd8(0x186)]({'content':this[_0x58fbd8(0x182)],'actionName':this[_0x58fbd8(0x17e)],'args':this[_0x58fbd8(0x185)]}):this[_0x58fbd8(0x192)][_0x58fbd8(0x190)]({'content':this[_0x58fbd8(0x182)],'message':this[_0x58fbd8(0x179)],'model':this[_0x58fbd8(0x188)],'outputFormat':_0x58fbd8(0x193)});}[_0x22511b(0x18a)](){const _0x5caa83=_0x22511b;return{'type':_0x150933[_0x5caa83(0x18e)],'content':this[_0x5caa83(0x182)],'version':this[_0x5caa83(0x178)],'label':_0x5caa83(0x194),'uiId':_0x5caa83(0x17d)};}[_0x22511b(0x183)](_0x3e4370){const _0x218d8c=_0x22511b,_0x2b9bff=new _0x2f6b3d({'editor':this[_0x218d8c(0x17c)],'documentContextContent':this[_0x218d8c(0x182)],..._0x3e4370});return this[_0x218d8c(0x184)][_0x218d8c(0x17f)](_0x2b9bff),_0x2b9bff[_0x218d8c(0x18c)](..._0x483a48)['to'](this),this[_0x218d8c(0x18f)](_0x218d8c(0x189),_0x2b9bff),_0x2b9bff;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfbe6e2=_0x2a8b;function _0x409d(){const _0x4a2688=['modified','added','cloneNode','parsedContent','235iZGflK','165012geihGD','parsedMergedContent','785090erbJJp','new','24LKYGGe','length','1556136bdCILR','childNodes','1035531HqyvPa','3392544rALpSe','13732xnXBbR','removed','value','pop','81suBppX','isDone','4943994MIsBXn','children','node','_getDifferentChangeGroups','documentContextContent','7nlGtlq','updateChangeGroups','data-id','6WugbuC','map','changeGroups','pending'];_0x409d=function(){return _0x4a2688;};return _0x409d();}(function(_0x406c48,_0x2571f4){const _0x4ca1c6=_0x2a8b,_0x4b95e5=_0x406c48();while(!![]){try{const _0xb2c880=parseInt(_0x4ca1c6(0xf4))/0x1*(-parseInt(_0x4ca1c6(0xeb))/0x2)+parseInt(_0x4ca1c6(0xfc))/0x3+parseInt(_0x4ca1c6(0xfe))/0x4*(-parseInt(_0x4ca1c6(0xf3))/0x5)+-parseInt(_0x4ca1c6(0xfd))/0x6*(parseInt(_0x4ca1c6(0xe8))/0x7)+-parseInt(_0x4ca1c6(0xfa))/0x8+parseInt(_0x4ca1c6(0x102))/0x9*(parseInt(_0x4ca1c6(0xf6))/0xa)+-parseInt(_0x4ca1c6(0x104))/0xb*(-parseInt(_0x4ca1c6(0xf8))/0xc);if(_0xb2c880===_0x2571f4)break;else _0x4b95e5['push'](_0x4b95e5['shift']());}catch(_0x3ce21e){_0x4b95e5['push'](_0x4b95e5['shift']());}}}(_0x409d,0x82742));import{AIReply as _0x23846d}from'../../aicore/model/aireply.js';import{getAttribute as _0x4fa987}from'../../aicore/utils/htmlparser.js';import{uid as _0x414902}from'ckeditor5/src/utils.js';function _0x2a8b(_0x335359,_0x120cf6){const _0x409df7=_0x409d();return _0x2a8b=function(_0x2a8b26,_0x33f142){_0x2a8b26=_0x2a8b26-0xe6;let _0x101c37=_0x409df7[_0x2a8b26];return _0x101c37;},_0x2a8b(_0x335359,_0x120cf6);}import{diffArrays as _0x4de2bc}from'diff';export class AIActionsReply extends _0x23846d{[_0xfbe6e2(0xe9)](){const _0x5b2cd9=_0xfbe6e2;if(this[_0x5b2cd9(0xf5)]=this[_0x5b2cd9(0xf2)][_0x5b2cd9(0xf1)](!0x0),0x0==this[_0x5b2cd9(0xf5)][_0x5b2cd9(0xfb)][_0x5b2cd9(0xf9)])return void(this[_0x5b2cd9(0xed)]=[]);const _0x26d983=this[_0x5b2cd9(0xe7)][_0x5b2cd9(0x105)][_0x5b2cd9(0xec)](_0x134627=>({'node':_0x134627,'id':_0x4fa987(_0x134627,_0x5b2cd9(0xea))})),_0x37933a=this[_0x5b2cd9(0xf5)][_0x5b2cd9(0x105)][_0x5b2cd9(0xec)](_0x193231=>({'node':_0x193231,'id':_0x4fa987(_0x193231,_0x5b2cd9(0xea))||_0x414902()})),_0xd880eb=_0x4de2bc(_0x26d983,_0x37933a,{'comparator':(_0x5f21be,_0x43c57b)=>_0x5f21be['id']==_0x43c57b['id'],'oneChangePerToken':!0x0});if(!this[_0x5b2cd9(0x103)]){for(;_0xd880eb[_0x5b2cd9(0xf9)]&&_0xd880eb[_0xd880eb[_0x5b2cd9(0xf9)]-0x1][_0x5b2cd9(0xff)];)_0xd880eb[_0x5b2cd9(0x101)]();}const _0x55a435=_0xd880eb[_0x5b2cd9(0xec)](_0x337111=>{const _0x586c6e=_0x5b2cd9,_0x1e09f1=_0x337111[_0x586c6e(0xf0)]?_0x586c6e(0xf7):_0x337111[_0x586c6e(0xff)]?_0x586c6e(0xff):_0x586c6e(0xef);return{'node':_0x337111[_0x586c6e(0x100)][0x0][_0x586c6e(0x106)],'type':_0x1e09f1,'id':_0x337111[_0x586c6e(0x100)][0x0]['id']};});this[_0x5b2cd9(0xed)]=[{'changes':_0x55a435,'state':_0x5b2cd9(0xee),'index':0x0}];}[_0xfbe6e2(0xe6)](_0x1b5c6f,_0x5eacdb){return _0x5eacdb;}}
23
+ const _0x3e4ba7=_0xb41c;(function(_0x40c114,_0x29c2c1){const _0x1f1159=_0xb41c,_0xa59646=_0x40c114();while(!![]){try{const _0x2b7846=parseInt(_0x1f1159(0x89))/0x1+parseInt(_0x1f1159(0x8f))/0x2+parseInt(_0x1f1159(0x88))/0x3*(-parseInt(_0x1f1159(0x87))/0x4)+-parseInt(_0x1f1159(0x94))/0x5+-parseInt(_0x1f1159(0x84))/0x6*(parseInt(_0x1f1159(0x82))/0x7)+parseInt(_0x1f1159(0x86))/0x8+parseInt(_0x1f1159(0x85))/0x9;if(_0x2b7846===_0x29c2c1)break;else _0xa59646['push'](_0xa59646['shift']());}catch(_0x3bc414){_0xa59646['push'](_0xa59646['shift']());}}}(_0x2839,0x8729c));function _0xb41c(_0x1eb201,_0x2355f4){const _0x28390f=_0x2839();return _0xb41c=function(_0xb41ce5,_0x4f4e93){_0xb41ce5=_0xb41ce5-0x81;let _0x258be2=_0x28390f[_0xb41ce5];return _0x258be2;},_0xb41c(_0x1eb201,_0x2355f4);}import{AIReply as _0x3b5360}from'../../aicore/model/aireply.js';import{getAttribute as _0xbaed73}from'../../aicore/utils/htmlparser.js';import{uid as _0x4f5c47}from'ckeditor5/src/utils.js';import{diffArrays as _0x2ffdaf}from'diff';export class AIActionsReply extends _0x3b5360{[_0x3e4ba7(0x96)](){const _0xdf9bdf=_0x3e4ba7;if(this[_0xdf9bdf(0x9a)]=this[_0xdf9bdf(0x98)][_0xdf9bdf(0x8b)](!0x0),0x0==this[_0xdf9bdf(0x9a)][_0xdf9bdf(0x9c)][_0xdf9bdf(0x91)])return void(this[_0xdf9bdf(0x95)]=[]);const _0x165732=this[_0xdf9bdf(0x83)][_0xdf9bdf(0x81)][_0xdf9bdf(0x8e)](_0x42b83b=>({'node':_0x42b83b,'id':_0xbaed73(_0x42b83b,_0xdf9bdf(0x90))})),_0x4319cb=this[_0xdf9bdf(0x9a)][_0xdf9bdf(0x81)][_0xdf9bdf(0x8e)](_0x31ee2a=>({'node':_0x31ee2a,'id':_0xbaed73(_0x31ee2a,_0xdf9bdf(0x90))||_0x4f5c47()})),_0x1e8efc=_0x2ffdaf(_0x165732,_0x4319cb,{'comparator':(_0x380f84,_0x3d969c)=>_0x380f84['id']==_0x3d969c['id'],'oneChangePerToken':!0x0});if(!this[_0xdf9bdf(0x99)]){for(;_0x1e8efc[_0xdf9bdf(0x91)]&&_0x1e8efc[_0x1e8efc[_0xdf9bdf(0x91)]-0x1][_0xdf9bdf(0x97)];)_0x1e8efc[_0xdf9bdf(0x93)]();}const _0x5aec98=_0x1e8efc[_0xdf9bdf(0x8e)](_0x4dea70=>{const _0x59a652=_0xdf9bdf,_0xf91627=_0x4dea70[_0x59a652(0x9e)]?_0x59a652(0x92):_0x4dea70[_0x59a652(0x97)]?_0x59a652(0x97):_0x59a652(0x9d);return{'node':_0x4dea70[_0x59a652(0x9b)][0x0][_0x59a652(0x8a)],'type':_0xf91627,'id':_0x4dea70[_0x59a652(0x9b)][0x0]['id']};});this[_0xdf9bdf(0x95)]=[{'changes':_0x5aec98,'state':_0xdf9bdf(0x8d),'index':0x0}];}[_0x3e4ba7(0x8c)](_0x56a97b,_0xcbeb36){return _0xcbeb36;}}function _0x2839(){const _0x40a2eb=['data-id','length','new','pop','174255GPVdjP','changeGroups','updateChangeGroups','removed','parsedContent','isDone','parsedMergedContent','value','childNodes','modified','added','children','7yauHee','documentContextContent','3506934PFlAWU','790668QoCBfi','3801904qUeiRa','4YhQuAy','1884417qHaXNO','350784OysriI','node','cloneNode','_getDifferentChangeGroups','pending','map','1774466qnjsKz'];_0x2839=function(){return _0x40a2eb;};return _0x2839();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c94a7=_0x4e2f;(function(_0x2dcaad,_0x394774){const _0x2be55b=_0x4e2f,_0x1a95d1=_0x2dcaad();while(!![]){try{const _0x57ddd8=-parseInt(_0x2be55b(0x15c))/0x1*(-parseInt(_0x2be55b(0x112))/0x2)+parseInt(_0x2be55b(0xfa))/0x3*(-parseInt(_0x2be55b(0x162))/0x4)+-parseInt(_0x2be55b(0xfd))/0x5+-parseInt(_0x2be55b(0x102))/0x6+-parseInt(_0x2be55b(0x105))/0x7+-parseInt(_0x2be55b(0x116))/0x8+parseInt(_0x2be55b(0x138))/0x9;if(_0x57ddd8===_0x394774)break;else _0x1a95d1['push'](_0x1a95d1['shift']());}catch(_0x4bfa4c){_0x1a95d1['push'](_0x1a95d1['shift']());}}}(_0x7b37,0x23d96));function _0x4e2f(_0x58bffc,_0x205ce9){const _0x7b3778=_0x7b37();return _0x4e2f=function(_0x4e2feb,_0x3d1e54){_0x4e2feb=_0x4e2feb-0xfa;let _0x1afb14=_0x7b3778[_0x4e2feb];return _0x1afb14;},_0x4e2f(_0x58bffc,_0x205ce9);}import{uid as _0x4eaf1c}from'ckeditor5/src/utils.js';import{Plugin as _0x5c3fc0}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4ae188}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1e7295,ViewDataTransfer as _0x1a7343}from'ckeditor5/src/engine.js';const w=globalThis[_0x4c94a7(0x12e)],f=_0x4c94a7(0x121);export class AIAssistantEditing extends _0x5c3fc0{static get[_0x4c94a7(0x113)](){const _0x3689cb=_0x4c94a7;return _0x3689cb(0x139);}static get[_0x4c94a7(0x150)](){return!0x0;}static get[_0x4c94a7(0x15a)](){return!0x0;}[_0x4c94a7(0x157)](){const _0x5f04f8=_0x4c94a7,{editor:_0x52eed5}=this,_0x332ded=[_0x5f04f8(0x10d)];_0x52eed5[_0x5f04f8(0x107)][_0x5f04f8(0x11c)](_0x5f04f8(0x12f))&&_0x332ded[_0x5f04f8(0x146)](_0x5f04f8(0x11d)),_0x52eed5[_0x5f04f8(0x163)][_0x5f04f8(0x103)](_0x5f04f8(0x11f))[_0x5f04f8(0x13e)]({'model':f,'view':{'classes':_0x332ded,'priority':0xc}}),_0x52eed5[_0x5f04f8(0x163)][_0x5f04f8(0x103)](_0x5f04f8(0x11f))[_0x5f04f8(0x127)]({'model':f,'view':(_0x4b601a,{writer:_0x2251ad})=>{const _0x4b8eab=_0x5f04f8;if(!_0x4b601a[_0x4b8eab(0x143)][_0x4b8eab(0x160)])return null;const _0x206eb5=_0x2251ad[_0x4b8eab(0x14c)](_0x4b8eab(0xfe));return _0x2251ad[_0x4b8eab(0x137)]([_0x4b8eab(0x10d),_0x4b8eab(0x148)],_0x206eb5),_0x206eb5;}});}[_0x4c94a7(0x151)](){!async function(_0xdef7a3){const _0x57dd67=_0x252c65([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]),_0xd82dd7=0x3dffc4e1,_0x37dcc7=0x3df8be99^_0xd82dd7,_0x299d52=window[_0x252c65([0x44,0x61,0x74,0x65])][_0x252c65([0x6e,0x6f,0x77])](),_0x4f6f02=_0xdef7a3[_0x252c65([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a2556=new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46baf5=>{_0x4f6f02[_0x252c65([0x6f,0x6e,0x63,0x65])](_0x252c65([0x72,0x65,0x61,0x64,0x79]),_0x46baf5);}),_0x29b79b={[_0x252c65([0x6b,0x74,0x79])]:_0x252c65([0x45,0x43]),[_0x252c65([0x75,0x73,0x65])]:_0x252c65([0x73,0x69,0x67]),[_0x252c65([0x63,0x72,0x76])]:_0x252c65([0x50,0x2d,0x32,0x35,0x36]),[_0x252c65([0x78])]:_0x252c65([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]),[_0x252c65([0x79])]:_0x252c65([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]),[_0x252c65([0x61,0x6c,0x67])]:_0x252c65([0x45,0x53,0x32,0x35,0x36])},_0x7b8638=_0x4f6f02[_0x252c65([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x252c65([0x67,0x65,0x74])](_0x252c65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x112792(){let _0x221012,_0x5ce723=null,_0x560751=null;try{if(_0x7b8638==_0x252c65([0x47,0x50,0x4c]))return _0x252c65([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x221012=_0x418287(),!_0x221012)return _0x252c65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x221012[_0x252c65([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x560751=_0xe8b428(_0x221012[_0x252c65([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x221012[_0x252c65([0x6a,0x74,0x69])])),await _0x231a08()?_0x56261c()?_0xb9290()?_0x252c65([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c87ce()?(_0x221012[_0x252c65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x252c65([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ce723=_0xb84582(_0x252c65([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x221012[_0x252c65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x252c65([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ce723=_0xb84582(_0x252c65([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e3f04()):_0x252c65([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x252c65([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x252c65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x252c65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb9290(){const _0x411e55=[_0x252c65([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x252c65([0x74,0x72,0x69,0x61,0x6c])][_0x252c65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221012[_0x252c65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x299d52/0x3e8:0xe10*_0x37dcc7;return _0x221012[_0x252c65([0x65,0x78,0x70])]<_0x411e55;}function _0x56261c(){const _0x223b02=_0x221012[_0x252c65([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x223b02&&(!!_0x223b02[_0x252c65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x252c65([0x2a]))||!!_0x223b02[_0x252c65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x252c65([0x41,0x49])));}function _0x2c87ce(){const _0x185252=_0x4e2f,_0x102557=_0x221012[_0x252c65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x102557||0x0==_0x102557[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15bce8}=new URL(window[_0x252c65([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x185252(0x12d)]);if(_0x102557[_0x252c65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15bce8))return!0x0;const _0x5b31d5=_0x15bce8[_0x252c65([0x73,0x70,0x6c,0x69,0x74])](_0x252c65([0x2e]));return _0x102557[_0x252c65([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x182232=>_0x182232[_0x252c65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x252c65([0x2a])))[_0x252c65([0x6d,0x61,0x70])](_0x5ad0bc=>_0x5ad0bc[_0x252c65([0x73,0x70,0x6c,0x69,0x74])](_0x252c65([0x2e])))[_0x252c65([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3df7d9=>_0x3df7d9[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b31d5[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x252c65([0x6d,0x61,0x70])](_0x1b3fc6=>Array(_0x5b31d5[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b3fc6[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x252c65([0x66,0x69,0x6c,0x6c])](_0x1b3fc6[0x0]===_0x252c65([0x2a])?_0x252c65([0x2a]):'')[_0x252c65([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b3fc6))[_0x252c65([0x73,0x6f,0x6d,0x65])](_0x2bcb58=>_0x5b31d5[_0x252c65([0x65,0x76,0x65,0x72,0x79])]((_0x5cfb66,_0x3a6f6)=>_0x2bcb58[_0x3a6f6]===_0x5cfb66||_0x2bcb58[_0x3a6f6]===_0x252c65([0x2a])));}function _0x4e3f04(){return _0x5ce723&&_0x560751?new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bcd42,_0x4daf16)=>{_0x5ce723[_0x252c65([0x74,0x68,0x65,0x6e])](_0x5bcd42,_0x4daf16),_0x560751[_0x252c65([0x74,0x68,0x65,0x6e])](_0x443eda=>{_0x443eda!=_0x252c65([0x56,0x61,0x6c,0x69,0x64])&&_0x5bcd42(_0x443eda);},_0x4daf16);}):_0x5ce723||_0x560751||_0x252c65([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe8b428(_0x207ab9,_0x1d96f1){return new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3907dd=>{if(_0x57ccc6())return _0x3907dd(_0x252c65([0x56,0x61,0x6c,0x69,0x64]));_0x153a13(),_0x4f6f02[_0x252c65([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x252c65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35f674=!0x1;const _0x28906c=_0x4eaf1c();function _0x4343fa(_0x15821e){return!!_0x15821e&&(typeof _0x15821e===_0x252c65([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15821e===_0x252c65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15821e[_0x252c65([0x74,0x68,0x65,0x6e])]===_0x252c65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15821e[_0x252c65([0x63,0x61,0x74,0x63,0x68])]===_0x252c65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x56bac4(_0x2166eb){_0x383c74(_0x2166eb)[_0x252c65([0x74,0x68,0x65,0x6e])](_0x45790c=>{if(!_0x45790c||_0x45790c[_0x252c65([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x252c65([0x6f,0x6b]))return _0x252c65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b1c34(_0x118f7f(_0x28906c+_0x1d96f1))!=_0x45790c[_0x252c65([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x252c65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x252c65([0x56,0x61,0x6c,0x69,0x64]);})[_0x252c65([0x74,0x68,0x65,0x6e])](_0x59706b=>(_0xa14b1(),_0x59706b),()=>{const _0x196e01=_0x49434f();return null==_0x196e01?(_0xa14b1(),_0x252c65([0x56,0x61,0x6c,0x69,0x64])):_0x252c65(_0x299d52-_0x196e01>(0x19f340e1^_0xd82dd7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x252c65([0x74,0x68,0x65,0x6e])](_0x3907dd)[_0x252c65([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3907dd(_0x252c65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x305d0c=0x3dc92a61^_0xd82dd7;function _0xa14b1(){const _0x411476=_0x252c65([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b1c34(_0x118f7f(_0x207ab9)),_0x128dcc=_0x328901(_0x5b1c34(window[_0x252c65([0x4d,0x61,0x74,0x68])][_0x252c65([0x63,0x65,0x69,0x6c])](_0x299d52/_0x305d0c)));window[_0x252c65([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x252c65([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x411476,_0x128dcc);}function _0x49434f(){const _0x3072ac=_0x252c65([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b1c34(_0x118f7f(_0x207ab9)),_0x189af6=window[_0x252c65([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x252c65([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3072ac);return _0x189af6?window[_0x252c65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x328901(_0x189af6),0x10)*_0x305d0c:null;}function _0x383c74(_0x1930a6){return new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x65f383,_0x5a7747)=>{_0x1930a6[_0x252c65([0x74,0x68,0x65,0x6e])](_0x65f383,_0x5a7747),window[_0x252c65([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a7747,0x3dfe1021^_0xd82dd7);});}}_0x4f6f02[_0x252c65([0x6f,0x6e])](_0x252c65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x38f315,_0xf65377)=>{if(_0xf65377[0x0]!=_0x207ab9)return _0x3907dd(_0x252c65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf65377[0x1]={..._0xf65377[0x1],[_0x252c65([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x28906c};},{[_0x252c65([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x252c65([0x68,0x69,0x67,0x68])}),_0x4f6f02[_0x252c65([0x6f,0x6e])](_0x252c65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ce16b=>{_0x4343fa(_0x3ce16b[_0x252c65([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35f674=!0x0,_0x56bac4(_0x3ce16b[_0x252c65([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x252c65([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x252c65([0x6c,0x6f,0x77])}),_0x3a2556[_0x252c65([0x74,0x68,0x65,0x6e])](()=>{_0x35f674||_0x3907dd(_0x252c65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57ccc6(){return _0x4f6f02[_0x252c65([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x252c65([0x76,0x69,0x65,0x77])][_0x252c65([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x252c65([0x61,0x75,0x74,0x6f]);}function _0x153a13(){_0x4f6f02[_0x252c65([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x252c65([0x76,0x69,0x65,0x77])][_0x252c65([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x252c65([0x61,0x75,0x74,0x6f]);}}function _0xb84582(_0xb7aea){const _0x3cdd6a=[new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x449269=>setTimeout(_0x449269,0x3df6fa2d^_0xd82dd7)),_0x3a2556[_0x252c65([0x74,0x68,0x65,0x6e])](()=>new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x311884=>{let _0x53f9fd=0x0;_0x4f6f02[_0x252c65([0x6d,0x6f,0x64,0x65,0x6c])][_0x252c65([0x6f,0x6e])](_0x252c65([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x418d3c,_0x5d63a7)=>{_0x5d63a7[0x0][_0x252c65([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53f9fd++,_0x53f9fd==(0x3dffc519^_0xd82dd7)&&(_0x311884(),_0x418d3c[_0x252c65([0x6f,0x66,0x66])]());});}))];return window[_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x252c65([0x72,0x61,0x63,0x65])](_0x3cdd6a)[_0x252c65([0x74,0x68,0x65,0x6e])](()=>_0xb7aea);}async function _0x1b6d2a(){await _0x3a2556,_0x4f6f02[_0x252c65([0x6d,0x6f,0x64,0x65,0x6c])][_0x252c65([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ea48f,_0x4f6f02[_0x252c65([0x6d,0x6f,0x64,0x65,0x6c])][_0x252c65([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ea48f,_0x4f6f02[_0x252c65([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x252c65([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57cb2b(_0x51816f){const _0x104170=_0x5bf274();_0x4f6f02[_0x104170]=_0x252c65([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x51816f,_0x51816f!=_0x252c65([0x56,0x61,0x6c,0x69,0x64])&&_0x1b6d2a();}function _0x5bf274(){const _0x31df91=window[_0x252c65([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x252c65([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x252c65([0x6e,0x6f,0x77])]())[_0x252c65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x252c65([0x2e]),'');let _0x54be8b=_0x252c65([0x6e]);for(let _0x505328=0x0;_0x505328<_0x31df91[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x505328+=0x2){let _0x222550=window[_0x252c65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31df91[_0x252c65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x505328,_0x505328+0x2));_0x222550>=_0x57dd67[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x222550-=_0x57dd67[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54be8b+=_0x57dd67[_0x222550];}return _0x54be8b;}function _0x418287(){const _0x374222=_0x7b8638[_0x252c65([0x73,0x70,0x6c,0x69,0x74])](_0x252c65([0x2e]));if(0x3!=_0x374222[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29cfd0(_0x374222[0x1]);function _0x29cfd0(_0x3c94ed){const _0x40259a=_0x1d69ea(_0x3c94ed);return _0x40259a&&_0x3a6190()?_0x40259a:null;function _0x3a6190(){const _0x3aada7=_0x40259a[_0x252c65([0x6a,0x74,0x69])],_0x1d0c58=window[_0x252c65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3aada7[_0x252c65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3aada7[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x712bef={..._0x40259a,[_0x252c65([0x6a,0x74,0x69])]:_0x3aada7[_0x252c65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3aada7[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x712bef[_0x252c65([0x76,0x63])],_0x118f7f(_0x712bef)==_0x1d0c58;}}}async function _0x231a08(){let _0x23f4f6=!0x0;try{const _0xe8f31e=_0x7b8638[_0x252c65([0x73,0x70,0x6c,0x69,0x74])](_0x252c65([0x2e])),[_0x2299c4,_0x5ca0f5,_0x5aad9f]=_0xe8f31e;return _0x4a53d8(_0x2299c4),await _0x3eee23(_0x2299c4,_0x5ca0f5,_0x5aad9f),_0x23f4f6;}catch{return!0x1;}function _0x4a53d8(_0x7b71b4){const _0x19ba51=_0x1d69ea(_0x7b71b4);_0x19ba51&&_0x19ba51[_0x252c65([0x61,0x6c,0x67])]==_0x252c65([0x45,0x53,0x32,0x35,0x36])||(_0x23f4f6=!0x1);}async function _0x3eee23(_0x1cf386,_0x486c8c,_0x1ac3b4){const _0x14f79c=window[_0x252c65([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x252c65([0x66,0x72,0x6f,0x6d])](_0x419e07(_0x1ac3b4),_0x129952=>_0x129952[_0x252c65([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x164159=new window[(_0x252c65([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x252c65([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1cf386+_0x252c65([0x2e])+_0x486c8c),_0x1b3b42=window[_0x252c65([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x252c65([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b3b42)return;const _0x377715=await _0x1b3b42[_0x252c65([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x252c65([0x6a,0x77,0x6b]),_0x29b79b,{[_0x252c65([0x6e,0x61,0x6d,0x65])]:_0x252c65([0x45,0x43,0x44,0x53,0x41]),[_0x252c65([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x252c65([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x252c65([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b3b42[_0x252c65([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x252c65([0x6e,0x61,0x6d,0x65])]:_0x252c65([0x45,0x43,0x44,0x53,0x41]),[_0x252c65([0x68,0x61,0x73,0x68])]:{[_0x252c65([0x6e,0x61,0x6d,0x65])]:_0x252c65([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x377715,_0x14f79c,_0x164159)||(_0x23f4f6=!0x1);}}function _0x1d69ea(_0xa9f3ff){return _0xa9f3ff[_0x252c65([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x252c65([0x65,0x79]))?JSON[_0x252c65([0x70,0x61,0x72,0x73,0x65])](_0x419e07(_0xa9f3ff)):null;}function _0x419e07(_0x184947){return window[_0x252c65([0x61,0x74,0x6f,0x62])](_0x184947[_0x252c65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x252c65([0x2b]))[_0x252c65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x252c65([0x2f])));}function _0x118f7f(_0x4fe351){let _0x2fb733=0x1505;function _0x30e412(_0x594641){for(let _0x3e2326=0x0;_0x3e2326<_0x594641[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e2326++){const _0x1756ca=_0x594641[_0x252c65([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e2326);_0x2fb733=(_0x2fb733<<0x5)+_0x2fb733+_0x1756ca,_0x2fb733&=_0x2fb733;}}function _0x30f84e(_0x4735de){Array[_0x252c65([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4735de)?_0x4735de[_0x252c65([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30f84e):_0x4735de&&typeof _0x4735de==_0x252c65([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x252c65([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4735de)[_0x252c65([0x73,0x6f,0x72,0x74])]()[_0x252c65([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x54efac,_0x30cf05])=>{_0x30e412(_0x54efac),_0x30f84e(_0x30cf05);}):_0x30e412(window[_0x252c65([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4735de));}return _0x30f84e(_0x4fe351),_0x2fb733>>>0x0;}function _0x5b1c34(_0xfaae7e){return _0xfaae7e[_0x252c65([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x252c65([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x252c65([0x30]));}function _0x328901(_0x2318ac){return _0x2318ac[_0x252c65([0x73,0x70,0x6c,0x69,0x74])]('')[_0x252c65([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x252c65([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ea48f(){}function _0x252c65(_0x535ef1){const _0x1ac391=_0x4e2f;return _0x535ef1[_0x1ac391(0x111)](_0x27e1fb=>String[_0x1ac391(0x104)](_0x27e1fb))[_0x1ac391(0x117)]('');}_0x57cb2b(await _0x112792());}(this);}[_0x4c94a7(0x141)](){const _0x4cb152=_0x4c94a7,_0x55c249=this[_0x4cb152(0x155)][_0x4cb152(0xfc)];_0x55c249[_0x4cb152(0x134)](_0x33e6ed=>{const _0x55bf7c=_0x4cb152,_0x42fc8b=_0x55c249[_0x55bf7c(0x10e)][_0x55bf7c(0x159)][_0x55bf7c(0x120)]();let _0x12a1f6=0x0;for(const _0x2145f4 of _0x42fc8b){const _0x1457ac=f+':'+_0x12a1f6;if(_0x55c249[_0x55bf7c(0x140)][_0x55bf7c(0x10b)](_0x1457ac))_0x33e6ed[_0x55bf7c(0x15f)](_0x1457ac,{'range':_0x2145f4});else{if(_0x2145f4[_0x55bf7c(0x145)][_0x55bf7c(0x136)]){const _0x53c02f=_0x2145f4[_0x55bf7c(0x145)][_0x55bf7c(0x15d)](({item:_0x24ca64})=>!_0x55c249[_0x55bf7c(0x123)][_0x55bf7c(0x14e)](_0x24ca64),{'boundaries':_0x2145f4});_0x33e6ed[_0x55bf7c(0x11e)](_0x1457ac,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x33e6ed[_0x55bf7c(0x12c)](_0x53c02f,_0x2145f4[_0x55bf7c(0x152)])});}else _0x33e6ed[_0x55bf7c(0x11e)](_0x1457ac,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2145f4});}_0x12a1f6++;}});}[_0x4c94a7(0x100)](){const _0x2c5f50=_0x4c94a7,_0x46b7e8=this[_0x2c5f50(0x155)][_0x2c5f50(0xfc)],_0x4c6f2f=Array[_0x2c5f50(0x144)](this[_0x2c5f50(0x155)][_0x2c5f50(0xfc)][_0x2c5f50(0x140)][_0x2c5f50(0x119)](f));_0x4c6f2f[_0x2c5f50(0x13f)]&&_0x46b7e8[_0x2c5f50(0x134)](_0x51fc54=>{const _0x521299=_0x2c5f50;_0x4c6f2f[_0x521299(0x109)](_0x11b3b0=>{const _0x51085d=_0x521299;_0x51fc54[_0x51085d(0x10f)](_0x11b3b0);});});}[_0x4c94a7(0x164)](_0x1f1272,_0xbfb99d){const _0xe31d93=_0x4c94a7,_0x23761a=this[_0xe31d93(0x166)](),_0x428919=_0xbfb99d||_0x23761a[_0xe31d93(0x110)]();this[_0xe31d93(0x155)][_0xe31d93(0xfc)][_0xe31d93(0xff)](_0x428919)&&this[_0xe31d93(0x155)][_0xe31d93(0xfc)][_0xe31d93(0x134)](_0x4984f4=>{const _0x34ccbe=_0xe31d93;this[_0x34ccbe(0x100)](),_0xbfb99d||this[_0x34ccbe(0x147)](_0x4984f4,_0x23761a),this[_0x34ccbe(0x108)]({'insertAt':_0x428919,'writer':_0x4984f4,'html':_0x1f1272});});}[_0x4c94a7(0x126)](_0x410e82){const _0x2408c7=_0x4c94a7,{model:_0x218cb8}=this[_0x2408c7(0x155)],_0x49a342=this[_0x2408c7(0x166)]();_0x218cb8[_0x2408c7(0x134)](()=>{const _0x1d232a=_0x2408c7,_0x7237ac=this[_0x1d232a(0x101)](_0x410e82,_0x49a342)||this[_0x1d232a(0x12a)](_0x49a342);this[_0x1d232a(0x164)](_0x410e82,_0x7237ac);});}[_0x4c94a7(0x166)](){const _0x535258=_0x4c94a7,_0x8feadb=this[_0x535258(0x155)][_0x535258(0xfc)],_0x25dace=Array[_0x535258(0x144)](_0x8feadb[_0x535258(0x140)][_0x535258(0x119)](f))[_0x535258(0x111)](_0x36ef65=>_0x36ef65[_0x535258(0x133)]());return _0x8feadb[_0x535258(0x153)](_0x25dace);}[_0x4c94a7(0x108)]({writer:_0x553fec,html:_0x500f29,insertAt:_0x44b470}){const _0x378cbd=_0x4c94a7,{view:_0x1ae65d}=this[_0x378cbd(0x155)][_0x378cbd(0x135)],_0x206945=this[_0x378cbd(0x155)][_0x378cbd(0x118)][_0x378cbd(0x11c)](_0x4ae188),_0x21b5e9=new w();_0x21b5e9[_0x378cbd(0x13b)](_0x378cbd(0x15b),_0x500f29);const _0x28c59c=new ClipboardEvent(_0x378cbd(0x156),{'clipboardData':_0x21b5e9}),_0x5cff50=new _0x1e7295(_0x1ae65d,_0x28c59c,{'dataTransfer':new _0x1a7343(_0x21b5e9)});_0x553fec[_0x378cbd(0x132)](_0x44b470);const _0x2bc9f8=(_0x129a8e,_0x2a7f40)=>{const _0x338787=_0x378cbd;_0x2a7f40[_0x338787(0x10a)]&&_0x553fec[_0x338787(0x132)](_0x2a7f40[_0x338787(0x10a)]);};_0x206945[_0x378cbd(0x11a)](_0x378cbd(0x161),_0x2bc9f8,{'priority':_0x378cbd(0x13a)}),_0x1ae65d[_0x378cbd(0x10e)][_0x378cbd(0x131)](_0x378cbd(0x156),_0x5cff50),_0x206945[_0x378cbd(0x142)](_0x378cbd(0x161),_0x2bc9f8);}[_0x4c94a7(0x12a)](_0x150910){const _0x29d3dd=_0x4c94a7,{model:_0x248ae7}=this[_0x29d3dd(0x155)],_0x35340f=Array[_0x29d3dd(0x144)](_0x150910[_0x29d3dd(0x14d)]());return _0x35340f[_0x29d3dd(0x13f)]?_0x248ae7[_0x29d3dd(0x129)](_0x35340f[_0x29d3dd(0x14f)]()):_0x150910[_0x29d3dd(0x13c)]();}[_0x4c94a7(0x101)](_0x44fe49,_0x2c0bfd){const _0x557292=_0x4c94a7,{model:_0x5dd959,plugins:_0x305372}=this[_0x557292(0x155)];if(_0x305372[_0x557292(0x10b)](_0x557292(0x15e))){const _0x222fdf=_0x305372[_0x557292(0x11c)](_0x557292(0x15e))[_0x557292(0x154)](_0x2c0bfd);if(_0x222fdf[_0x557292(0x13f)]){const _0x3b00c5=this[_0x557292(0x125)](_0x44fe49),_0x329dce=this[_0x557292(0x114)](_0x222fdf,_0x3b00c5);return _0x5dd959[_0x557292(0x13d)](_0x329dce,0x0);}}return null;}[_0x4c94a7(0x125)](_0x42fb22){const _0x3372c3=_0x4c94a7,_0x13a0fc=this[_0x3372c3(0x155)][_0x3372c3(0x118)][_0x3372c3(0x11c)](_0x3372c3(0x15e)),_0x45377a=this[_0x3372c3(0x155)][_0x3372c3(0x128)][_0x3372c3(0x165)](_0x42fb22),_0x55eb0c=Array[_0x3372c3(0x144)](_0x45377a[_0x3372c3(0x106)]())[_0x3372c3(0x124)](_0x433b70=>_0x433b70['is'](_0x3372c3(0xfb),_0x3372c3(0x11b)));let _0x42bb6f=0x0;return _0x55eb0c[_0x3372c3(0x109)](_0x2f1a1e=>{const _0x42d01b=_0x3372c3;_0x42bb6f+=_0x13a0fc[_0x42d01b(0x158)](_0x2f1a1e);}),_0x42bb6f;}[_0x4c94a7(0x114)](_0xdcf648,_0x59cb19){const _0x25c68b=_0x4c94a7,_0x579af7=this[_0x25c68b(0x155)][_0x25c68b(0x118)][_0x25c68b(0x11c)](_0x25c68b(0x15e)),_0x290949=_0x579af7[_0x25c68b(0x14a)](_0xdcf648),_0x3817ad=_0x579af7[_0x25c68b(0x115)](_0xdcf648),_0x5448cc=_0x290949[_0x25c68b(0x130)]+0x1,_0x4b50e4=_0x3817ad[_0x25c68b(0x12b)],_0x2e7781=_0xdcf648[0x0][_0x25c68b(0x122)](_0x25c68b(0x11b));for(let _0x4e0556=0x0;_0x4e0556<_0x59cb19;_0x4e0556++)_0x579af7[_0x25c68b(0x10c)](_0x2e7781,{'at':_0x5448cc});return _0x2e7781[_0x25c68b(0x149)](_0x5448cc)[_0x25c68b(0x149)](_0x4b50e4);}[_0x4c94a7(0x147)](_0x4fc7cd,_0x42fdbe){const _0x397e5a=_0x4c94a7,{plugins:_0xda1954}=this[_0x397e5a(0x155)],{model:_0x72b7c2}=_0x4fc7cd;if(!_0xda1954[_0x397e5a(0x10b)](_0x397e5a(0x15e)))return;_0xda1954[_0x397e5a(0x11c)](_0x397e5a(0x15e))[_0x397e5a(0x154)](_0x42fdbe)[_0x397e5a(0x13f)]&&_0x72b7c2[_0x397e5a(0x14b)](_0x42fdbe);}}function _0x7b37(){const _0x43a8c9=['selection','isPremiumPlugin','text/html','1LHydpL','getLastMatchingPosition','TableUtils','updateMarker','isCollapsed','contentInsertion','500428UpWkYF','conversion','insertContent','parse','_getAISelection','3zVbMLE','element','model','1045085LSIdKN','span','canEditAt','hideFakeVisualSelection','_prepareTableInsertBelowPosition','578172CtRvrc','for','fromCharCode','1428784wSZCnZ','getChildren','config','_pasteHTMLUsingClipboard','forEach','resultRange','has','insertRows','ck-fake-ai-selection','document','removeMarker','getFirstRange','map','356718BgkwPm','pluginName','_createEmptyTableRows','getColumnIndexes','948624qMQXkr','join','plugins','getMarkersGroup','once','table','get','ck-ai-assistant-ui_theme','addMarker','editingDowncast','getRanges','ai-ui','findAncestor','schema','filter','_getTableRowCountFromContent','insertContentBelow','markerToElement','data','createPositionAfter','_getDefaultInsertBelowPosition','first','createRange','href','DataTransfer','ai.assistant.useTheme','last','fire','setSelection','getRange','change','editing','isAtEnd','addClass','6494895vCWHWw','AIAssistantEditing','lowest','setData','getLastPosition','createPositionAt','markerToHighlight','length','markers','showFakeVisualSelection','off','markerRange','from','start','push','_resetContentOfSelectedTableCells','ck-fake-ai-selection_collapsed','getChild','getRowIndexes','deleteContent','createUIElement','getSelectedBlocks','isContent','pop','isOfficialPlugin','afterInit','end','createSelection','getSelectedTableCells','editor','paste','init','getRows'];_0x7b37=function(){return _0x43a8c9;};return _0x7b37();}
23
+ const _0x28e992=_0x3686;(function(_0x5de8d9,_0x5e88f3){const _0x5b51b0=_0x3686,_0x184fb8=_0x5de8d9();while(!![]){try{const _0x221c0c=parseInt(_0x5b51b0(0xe9))/0x1+-parseInt(_0x5b51b0(0xcb))/0x2+-parseInt(_0x5b51b0(0xf3))/0x3*(-parseInt(_0x5b51b0(0xd4))/0x4)+-parseInt(_0x5b51b0(0x117))/0x5*(-parseInt(_0x5b51b0(0xf0))/0x6)+-parseInt(_0x5b51b0(0xe2))/0x7+parseInt(_0x5b51b0(0x12f))/0x8+-parseInt(_0x5b51b0(0x120))/0x9;if(_0x221c0c===_0x5e88f3)break;else _0x184fb8['push'](_0x184fb8['shift']());}catch(_0x18b590){_0x184fb8['push'](_0x184fb8['shift']());}}}(_0x2e78,0xdf041));function _0x3686(_0xdc98b4,_0x5f0d0f){const _0x2e78b3=_0x2e78();return _0x3686=function(_0x3686ba,_0x28b805){_0x3686ba=_0x3686ba-0xcb;let _0xfcaa09=_0x2e78b3[_0x3686ba];return _0xfcaa09;},_0x3686(_0xdc98b4,_0x5f0d0f);}import{uid as _0x3d32c0}from'ckeditor5/src/utils.js';import{Plugin as _0x279428}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xf8b18c}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4225bf,ViewDataTransfer as _0x4a54d6}from'ckeditor5/src/engine.js';const w=globalThis[_0x28e992(0xf4)],f=_0x28e992(0xfb);export class AIAssistantEditing extends _0x279428{static get[_0x28e992(0xff)](){const _0x4487df=_0x28e992;return _0x4487df(0x104);}static get[_0x28e992(0x11f)](){return!0x0;}static get[_0x28e992(0x10e)](){return!0x0;}[_0x28e992(0xce)](){const _0x3f04d5=_0x28e992,{editor:_0x446517}=this,_0x2be9df=[_0x3f04d5(0x112)];_0x446517[_0x3f04d5(0x116)][_0x3f04d5(0xf5)](_0x3f04d5(0xdc))&&_0x2be9df[_0x3f04d5(0x10c)](_0x3f04d5(0x10a)),_0x446517[_0x3f04d5(0x100)][_0x3f04d5(0x11e)](_0x3f04d5(0xda))[_0x3f04d5(0x12b)]({'model':f,'view':{'classes':_0x2be9df,'priority':0xc}}),_0x446517[_0x3f04d5(0x100)][_0x3f04d5(0x11e)](_0x3f04d5(0xda))[_0x3f04d5(0x12a)]({'model':f,'view':(_0x1fba13,{writer:_0x49908f})=>{const _0x9358b3=_0x3f04d5;if(!_0x1fba13[_0x9358b3(0x134)][_0x9358b3(0xde)])return null;const _0x249278=_0x49908f[_0x9358b3(0xdb)](_0x9358b3(0x113));return _0x49908f[_0x9358b3(0x114)]([_0x9358b3(0x112),_0x9358b3(0x123)],_0x249278),_0x249278;}});}[_0x28e992(0x10d)](){!async function(_0x107d34){const _0x48b04b=_0x25597f([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]),_0x120b4e=0x3dffc4e1,_0x14686b=0x3df8be49^_0x120b4e,_0xaa5869=window[_0x25597f([0x44,0x61,0x74,0x65])][_0x25597f([0x6e,0x6f,0x77])](),_0x2ac774=_0x107d34[_0x25597f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26b296=new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1713bc=>{_0x2ac774[_0x25597f([0x6f,0x6e,0x63,0x65])](_0x25597f([0x72,0x65,0x61,0x64,0x79]),_0x1713bc);}),_0x44d114={[_0x25597f([0x6b,0x74,0x79])]:_0x25597f([0x45,0x43]),[_0x25597f([0x75,0x73,0x65])]:_0x25597f([0x73,0x69,0x67]),[_0x25597f([0x63,0x72,0x76])]:_0x25597f([0x50,0x2d,0x32,0x35,0x36]),[_0x25597f([0x78])]:_0x25597f([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]),[_0x25597f([0x79])]:_0x25597f([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]),[_0x25597f([0x61,0x6c,0x67])]:_0x25597f([0x45,0x53,0x32,0x35,0x36])},_0x553491=_0x2ac774[_0x25597f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x25597f([0x67,0x65,0x74])](_0x25597f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a69c4(){let _0x21961a,_0x2363d2=null,_0x283d34=null;try{if(_0x553491==_0x25597f([0x47,0x50,0x4c]))return _0x25597f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21961a=_0x3a1006(),!_0x21961a)return _0x25597f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21961a[_0x25597f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x283d34=_0x580a32(_0x21961a[_0x25597f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21961a[_0x25597f([0x6a,0x74,0x69])])),await _0x3f75af()?_0xc7efae()?_0x530df2()?_0x25597f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e7155()?(_0x21961a[_0x25597f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25597f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2363d2=_0x3274db(_0x25597f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x21961a[_0x25597f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25597f([0x74,0x72,0x69,0x61,0x6c])&&(_0x2363d2=_0x3274db(_0x25597f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d979e()):_0x25597f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x25597f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x25597f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x25597f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x530df2(){const _0x5aad0b=[_0x25597f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x25597f([0x74,0x72,0x69,0x61,0x6c])][_0x25597f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21961a[_0x25597f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaa5869/0x3e8:0xe10*_0x14686b;return _0x21961a[_0x25597f([0x65,0x78,0x70])]<_0x5aad0b;}function _0xc7efae(){const _0x1d8a68=_0x21961a[_0x25597f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d8a68&&(!!_0x1d8a68[_0x25597f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25597f([0x2a]))||!!_0x1d8a68[_0x25597f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25597f([0x41,0x49])));}function _0x5e7155(){const _0x437da6=_0x3686,_0x5d26af=_0x21961a[_0x25597f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d26af||0x0==_0x5d26af[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18eed5}=new URL(window[_0x25597f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x437da6(0x12d)]);if(_0x5d26af[_0x25597f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18eed5))return!0x0;const _0x23bec6=_0x18eed5[_0x25597f([0x73,0x70,0x6c,0x69,0x74])](_0x25597f([0x2e]));return _0x5d26af[_0x25597f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d316e=>_0x1d316e[_0x25597f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25597f([0x2a])))[_0x25597f([0x6d,0x61,0x70])](_0x5dff48=>_0x5dff48[_0x25597f([0x73,0x70,0x6c,0x69,0x74])](_0x25597f([0x2e])))[_0x25597f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e3b8a=>_0x2e3b8a[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x23bec6[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25597f([0x6d,0x61,0x70])](_0x5c188d=>Array(_0x23bec6[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c188d[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25597f([0x66,0x69,0x6c,0x6c])](_0x5c188d[0x0]===_0x25597f([0x2a])?_0x25597f([0x2a]):'')[_0x25597f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c188d))[_0x25597f([0x73,0x6f,0x6d,0x65])](_0x54b45e=>_0x23bec6[_0x25597f([0x65,0x76,0x65,0x72,0x79])]((_0x2b992d,_0x1f894d)=>_0x54b45e[_0x1f894d]===_0x2b992d||_0x54b45e[_0x1f894d]===_0x25597f([0x2a])));}function _0x2d979e(){return _0x2363d2&&_0x283d34?new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8d472c,_0x4404fb)=>{_0x2363d2[_0x25597f([0x74,0x68,0x65,0x6e])](_0x8d472c,_0x4404fb),_0x283d34[_0x25597f([0x74,0x68,0x65,0x6e])](_0x92860f=>{_0x92860f!=_0x25597f([0x56,0x61,0x6c,0x69,0x64])&&_0x8d472c(_0x92860f);},_0x4404fb);}):_0x2363d2||_0x283d34||_0x25597f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x580a32(_0x3bab2c,_0x6647f7){return new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58dbbe=>{if(_0x5b2ba1())return _0x58dbbe(_0x25597f([0x56,0x61,0x6c,0x69,0x64]));_0x3bfaaf(),_0x2ac774[_0x25597f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x25597f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x247e0c=!0x1;const _0x4486d7=_0x3d32c0();function _0x1a10ef(_0x59c97f){return!!_0x59c97f&&(typeof _0x59c97f===_0x25597f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59c97f===_0x25597f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59c97f[_0x25597f([0x74,0x68,0x65,0x6e])]===_0x25597f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59c97f[_0x25597f([0x63,0x61,0x74,0x63,0x68])]===_0x25597f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x396947(_0x1720f8){_0x2f1394(_0x1720f8)[_0x25597f([0x74,0x68,0x65,0x6e])](_0x55e25b=>{if(!_0x55e25b||_0x55e25b[_0x25597f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x25597f([0x6f,0x6b]))return _0x25597f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x483ce8(_0xc11382(_0x4486d7+_0x6647f7))!=_0x55e25b[_0x25597f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x25597f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x25597f([0x56,0x61,0x6c,0x69,0x64]);})[_0x25597f([0x74,0x68,0x65,0x6e])](_0x2433df=>(_0x38d54b(),_0x2433df),()=>{const _0x2f6c67=_0x3fe7b4();return null==_0x2f6c67?(_0x38d54b(),_0x25597f([0x56,0x61,0x6c,0x69,0x64])):_0x25597f(_0xaa5869-_0x2f6c67>(0x19f340e1^_0x120b4e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x25597f([0x74,0x68,0x65,0x6e])](_0x58dbbe)[_0x25597f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58dbbe(_0x25597f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2837bd=0x3dc92a61^_0x120b4e;function _0x38d54b(){const _0x893016=_0x25597f([0x6c,0x6c,0x63,0x74,0x2d])+_0x483ce8(_0xc11382(_0x3bab2c)),_0x3bd541=_0x10af3e(_0x483ce8(window[_0x25597f([0x4d,0x61,0x74,0x68])][_0x25597f([0x63,0x65,0x69,0x6c])](_0xaa5869/_0x2837bd)));window[_0x25597f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25597f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x893016,_0x3bd541);}function _0x3fe7b4(){const _0x394996=_0x25597f([0x6c,0x6c,0x63,0x74,0x2d])+_0x483ce8(_0xc11382(_0x3bab2c)),_0x631f17=window[_0x25597f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25597f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x394996);return _0x631f17?window[_0x25597f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10af3e(_0x631f17),0x10)*_0x2837bd:null;}function _0x2f1394(_0x3f09ff){return new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f9ccd,_0x26aa4a)=>{_0x3f09ff[_0x25597f([0x74,0x68,0x65,0x6e])](_0x1f9ccd,_0x26aa4a),window[_0x25597f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x26aa4a,0x3dfe1021^_0x120b4e);});}}_0x2ac774[_0x25597f([0x6f,0x6e])](_0x25597f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xff0d96,_0x4ebb3e)=>{if(_0x4ebb3e[0x0]!=_0x3bab2c)return _0x58dbbe(_0x25597f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ebb3e[0x1]={..._0x4ebb3e[0x1],[_0x25597f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4486d7};},{[_0x25597f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25597f([0x68,0x69,0x67,0x68])}),_0x2ac774[_0x25597f([0x6f,0x6e])](_0x25597f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x99c688=>{_0x1a10ef(_0x99c688[_0x25597f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x247e0c=!0x0,_0x396947(_0x99c688[_0x25597f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x25597f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25597f([0x6c,0x6f,0x77])}),_0x26b296[_0x25597f([0x74,0x68,0x65,0x6e])](()=>{_0x247e0c||_0x58dbbe(_0x25597f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b2ba1(){return _0x2ac774[_0x25597f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25597f([0x76,0x69,0x65,0x77])][_0x25597f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x25597f([0x61,0x75,0x74,0x6f]);}function _0x3bfaaf(){_0x2ac774[_0x25597f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25597f([0x76,0x69,0x65,0x77])][_0x25597f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x25597f([0x61,0x75,0x74,0x6f]);}}function _0x3274db(_0x3b139e){const _0x17afa4=[new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a9f26=>setTimeout(_0x2a9f26,0x3df6fa2d^_0x120b4e)),_0x26b296[_0x25597f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6667eb=>{let _0x55e396=0x0;_0x2ac774[_0x25597f([0x6d,0x6f,0x64,0x65,0x6c])][_0x25597f([0x6f,0x6e])](_0x25597f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ae83c,_0x18e281)=>{_0x18e281[0x0][_0x25597f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55e396++,_0x55e396==(0x3dffc519^_0x120b4e)&&(_0x6667eb(),_0x3ae83c[_0x25597f([0x6f,0x66,0x66])]());});}))];return window[_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x25597f([0x72,0x61,0x63,0x65])](_0x17afa4)[_0x25597f([0x74,0x68,0x65,0x6e])](()=>_0x3b139e);}async function _0x5e3329(){await _0x26b296,_0x2ac774[_0x25597f([0x6d,0x6f,0x64,0x65,0x6c])][_0x25597f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4493f3,_0x2ac774[_0x25597f([0x6d,0x6f,0x64,0x65,0x6c])][_0x25597f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4493f3,_0x2ac774[_0x25597f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x25597f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2aac06(_0x250477){const _0x39d211=_0x26bac0();_0x2ac774[_0x39d211]=_0x25597f([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x250477,_0x250477!=_0x25597f([0x56,0x61,0x6c,0x69,0x64])&&_0x5e3329();}function _0x26bac0(){const _0x4376e9=window[_0x25597f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x25597f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x25597f([0x6e,0x6f,0x77])]())[_0x25597f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x25597f([0x2e]),'');let _0x42ca4b=_0x25597f([0x6e]);for(let _0xe646dd=0x0;_0xe646dd<_0x4376e9[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe646dd+=0x2){let _0x189b84=window[_0x25597f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4376e9[_0x25597f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe646dd,_0xe646dd+0x2));_0x189b84>=_0x48b04b[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x189b84-=_0x48b04b[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42ca4b+=_0x48b04b[_0x189b84];}return _0x42ca4b;}function _0x3a1006(){const _0x35a549=_0x553491[_0x25597f([0x73,0x70,0x6c,0x69,0x74])](_0x25597f([0x2e]));if(0x3!=_0x35a549[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5328ef(_0x35a549[0x1]);function _0x5328ef(_0x32eecc){const _0x3ab5d1=_0x256990(_0x32eecc);return _0x3ab5d1&&_0x23aa2d()?_0x3ab5d1:null;function _0x23aa2d(){const _0x42d44a=_0x3ab5d1[_0x25597f([0x6a,0x74,0x69])],_0x2aada9=window[_0x25597f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42d44a[_0x25597f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42d44a[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x446a44={..._0x3ab5d1,[_0x25597f([0x6a,0x74,0x69])]:_0x42d44a[_0x25597f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x42d44a[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x446a44[_0x25597f([0x76,0x63])],_0xc11382(_0x446a44)==_0x2aada9;}}}async function _0x3f75af(){let _0x2e7d28=!0x0;try{const _0x5c4524=_0x553491[_0x25597f([0x73,0x70,0x6c,0x69,0x74])](_0x25597f([0x2e])),[_0x3e4c55,_0x4c0679,_0xcc4b31]=_0x5c4524;return _0x2808a9(_0x3e4c55),await _0x4f89f1(_0x3e4c55,_0x4c0679,_0xcc4b31),_0x2e7d28;}catch{return!0x1;}function _0x2808a9(_0x1d188e){const _0x27e012=_0x256990(_0x1d188e);_0x27e012&&_0x27e012[_0x25597f([0x61,0x6c,0x67])]==_0x25597f([0x45,0x53,0x32,0x35,0x36])||(_0x2e7d28=!0x1);}async function _0x4f89f1(_0x282a33,_0x507ef8,_0x362105){const _0x2d209d=window[_0x25597f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x25597f([0x66,0x72,0x6f,0x6d])](_0x1e6e09(_0x362105),_0x2bbe5b=>_0x2bbe5b[_0x25597f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x13f94d=new window[(_0x25597f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x25597f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x282a33+_0x25597f([0x2e])+_0x507ef8),_0x4820af=window[_0x25597f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x25597f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4820af)return;const _0x2c534a=await _0x4820af[_0x25597f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x25597f([0x6a,0x77,0x6b]),_0x44d114,{[_0x25597f([0x6e,0x61,0x6d,0x65])]:_0x25597f([0x45,0x43,0x44,0x53,0x41]),[_0x25597f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x25597f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x25597f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4820af[_0x25597f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x25597f([0x6e,0x61,0x6d,0x65])]:_0x25597f([0x45,0x43,0x44,0x53,0x41]),[_0x25597f([0x68,0x61,0x73,0x68])]:{[_0x25597f([0x6e,0x61,0x6d,0x65])]:_0x25597f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c534a,_0x2d209d,_0x13f94d)||(_0x2e7d28=!0x1);}}function _0x256990(_0x2e493c){return _0x2e493c[_0x25597f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x25597f([0x65,0x79]))?JSON[_0x25597f([0x70,0x61,0x72,0x73,0x65])](_0x1e6e09(_0x2e493c)):null;}function _0x1e6e09(_0x5a318a){return window[_0x25597f([0x61,0x74,0x6f,0x62])](_0x5a318a[_0x25597f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x25597f([0x2b]))[_0x25597f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x25597f([0x2f])));}function _0xc11382(_0x3da582){let _0x3af90b=0x1505;function _0x29a04d(_0x2888d2){for(let _0x2f3dcb=0x0;_0x2f3dcb<_0x2888d2[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f3dcb++){const _0x2fbd63=_0x2888d2[_0x25597f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f3dcb);_0x3af90b=(_0x3af90b<<0x5)+_0x3af90b+_0x2fbd63,_0x3af90b&=_0x3af90b;}}function _0x5b8aea(_0x1e7674){Array[_0x25597f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e7674)?_0x1e7674[_0x25597f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b8aea):_0x1e7674&&typeof _0x1e7674==_0x25597f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x25597f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e7674)[_0x25597f([0x73,0x6f,0x72,0x74])]()[_0x25597f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x447ed3,_0x3c1fb0])=>{_0x29a04d(_0x447ed3),_0x5b8aea(_0x3c1fb0);}):_0x29a04d(window[_0x25597f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e7674));}return _0x5b8aea(_0x3da582),_0x3af90b>>>0x0;}function _0x483ce8(_0x10828d){return _0x10828d[_0x25597f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x25597f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x25597f([0x30]));}function _0x10af3e(_0x44757f){return _0x44757f[_0x25597f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x25597f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x25597f([0x6a,0x6f,0x69,0x6e])]('');}function _0x4493f3(){}function _0x25597f(_0x9d9119){const _0x5908df=_0x3686;return _0x9d9119[_0x5908df(0x136)](_0x47955a=>String[_0x5908df(0x109)](_0x47955a))[_0x5908df(0xd2)]('');}_0x2aac06(await _0x4a69c4());}(this);}[_0x28e992(0xfe)](){const _0x13f90a=_0x28e992,_0x421ff4=this[_0x13f90a(0x115)][_0x13f90a(0xeb)];_0x421ff4[_0x13f90a(0x111)](_0x507719=>{const _0x2417e2=_0x13f90a,_0x13e1a5=_0x421ff4[_0x2417e2(0xe0)][_0x2417e2(0xe6)][_0x2417e2(0xcc)]();let _0xe5a5f4=0x0;for(const _0x478e3f of _0x13e1a5){const _0x27bf3e=f+':'+_0xe5a5f4;if(_0x421ff4[_0x2417e2(0x125)][_0x2417e2(0x130)](_0x27bf3e))_0x507719[_0x2417e2(0x119)](_0x27bf3e,{'range':_0x478e3f});else{if(_0x478e3f[_0x2417e2(0x107)][_0x2417e2(0xf2)]){const _0x531977=_0x478e3f[_0x2417e2(0x107)][_0x2417e2(0x11a)](({item:_0xc3aacb})=>!_0x421ff4[_0x2417e2(0x10b)][_0x2417e2(0xfd)](_0xc3aacb),{'boundaries':_0x478e3f});_0x507719[_0x2417e2(0x133)](_0x27bf3e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x507719[_0x2417e2(0xf9)](_0x531977,_0x478e3f[_0x2417e2(0x102)])});}else _0x507719[_0x2417e2(0x133)](_0x27bf3e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x478e3f});}_0xe5a5f4++;}});}[_0x28e992(0x11b)](){const _0x55bf8c=_0x28e992,_0x1bb680=this[_0x55bf8c(0x115)][_0x55bf8c(0xeb)],_0x3cf270=Array[_0x55bf8c(0xe4)](this[_0x55bf8c(0x115)][_0x55bf8c(0xeb)][_0x55bf8c(0x125)][_0x55bf8c(0xcf)](f));_0x3cf270[_0x55bf8c(0xdf)]&&_0x1bb680[_0x55bf8c(0x111)](_0x1daf56=>{const _0x43cd7c=_0x55bf8c;_0x3cf270[_0x43cd7c(0x131)](_0x48dc9c=>{const _0x249256=_0x43cd7c;_0x1daf56[_0x249256(0x135)](_0x48dc9c);});});}[_0x28e992(0xea)](_0x9cb27f,_0x563ce4){const _0x1190ae=_0x28e992,_0x3beb52=this[_0x1190ae(0x106)](),_0x5f2995=_0x563ce4||_0x3beb52[_0x1190ae(0xd6)]();this[_0x1190ae(0x115)][_0x1190ae(0xeb)][_0x1190ae(0xd5)](_0x5f2995)&&this[_0x1190ae(0x115)][_0x1190ae(0xeb)][_0x1190ae(0x111)](_0x2c7f07=>{const _0x4ceea3=_0x1190ae;this[_0x4ceea3(0x11b)](),_0x563ce4||this[_0x4ceea3(0x108)](_0x2c7f07,_0x3beb52),this[_0x4ceea3(0xd1)]({'insertAt':_0x5f2995,'writer':_0x2c7f07,'html':_0x9cb27f});});}[_0x28e992(0xf7)](_0x443d19){const _0x3b960=_0x28e992,{model:_0x457e2f}=this[_0x3b960(0x115)],_0x52fb76=this[_0x3b960(0x106)]();_0x457e2f[_0x3b960(0x111)](()=>{const _0x249e39=_0x3b960,_0x2e021a=this[_0x249e39(0x128)](_0x443d19,_0x52fb76)||this[_0x249e39(0xf8)](_0x52fb76);this[_0x249e39(0xea)](_0x443d19,_0x2e021a);});}[_0x28e992(0x106)](){const _0x349560=_0x28e992,_0x222799=this[_0x349560(0x115)][_0x349560(0xeb)],_0x52fc3f=Array[_0x349560(0xe4)](_0x222799[_0x349560(0x125)][_0x349560(0xcf)](f))[_0x349560(0x136)](_0x36a05f=>_0x36a05f[_0x349560(0xee)]());return _0x222799[_0x349560(0xef)](_0x52fc3f);}[_0x28e992(0xd1)]({writer:_0xb541d7,html:_0x98b36b,insertAt:_0x14d7e7}){const _0x2cffdc=_0x28e992,{view:_0x57d61f}=this[_0x2cffdc(0x115)][_0x2cffdc(0x124)],_0x290aab=this[_0x2cffdc(0x115)][_0x2cffdc(0x132)][_0x2cffdc(0xf5)](_0xf8b18c),_0x5a82b9=new w();_0x5a82b9[_0x2cffdc(0xe8)](_0x2cffdc(0x11d),_0x98b36b);const _0x7172f2=new ClipboardEvent(_0x2cffdc(0x129),{'clipboardData':_0x5a82b9}),_0x69be8a=new _0x4225bf(_0x57d61f,_0x7172f2,{'dataTransfer':new _0x4a54d6(_0x5a82b9)});_0xb541d7[_0x2cffdc(0x101)](_0x14d7e7);const _0x2c19f1=(_0x2a21dd,_0x32eae0)=>{const _0x315325=_0x2cffdc;_0x32eae0[_0x315325(0xd9)]&&_0xb541d7[_0x315325(0x101)](_0x32eae0[_0x315325(0xd9)]);};_0x290aab[_0x2cffdc(0xd0)](_0x2cffdc(0x12e),_0x2c19f1,{'priority':_0x2cffdc(0xe1)}),_0x57d61f[_0x2cffdc(0xe0)][_0x2cffdc(0xf6)](_0x2cffdc(0x129),_0x69be8a),_0x290aab[_0x2cffdc(0xec)](_0x2cffdc(0x12e),_0x2c19f1);}[_0x28e992(0xf8)](_0x5556a6){const _0x53eba6=_0x28e992,{model:_0x213201}=this[_0x53eba6(0x115)],_0x460215=Array[_0x53eba6(0xe4)](_0x5556a6[_0x53eba6(0xed)]());return _0x460215[_0x53eba6(0xdf)]?_0x213201[_0x53eba6(0x110)](_0x460215[_0x53eba6(0x105)]()):_0x5556a6[_0x53eba6(0xd3)]();}[_0x28e992(0x128)](_0x3ccb8f,_0x5ba4e6){const _0x2e22a8=_0x28e992,{model:_0x556bbd,plugins:_0x3d9a54}=this[_0x2e22a8(0x115)];if(_0x3d9a54[_0x2e22a8(0x130)](_0x2e22a8(0xe5))){const _0x5d4067=_0x3d9a54[_0x2e22a8(0xf5)](_0x2e22a8(0xe5))[_0x2e22a8(0xf1)](_0x5ba4e6);if(_0x5d4067[_0x2e22a8(0xdf)]){const _0x380427=this[_0x2e22a8(0x103)](_0x3ccb8f),_0x4906a5=this[_0x2e22a8(0xe7)](_0x5d4067,_0x380427);return _0x556bbd[_0x2e22a8(0xdd)](_0x4906a5,0x0);}}return null;}[_0x28e992(0x103)](_0x2a8f15){const _0x1da603=_0x28e992,_0x2a9e41=this[_0x1da603(0x115)][_0x1da603(0x132)][_0x1da603(0xf5)](_0x1da603(0xe5)),_0x5bf2ee=this[_0x1da603(0x115)][_0x1da603(0x122)][_0x1da603(0xfc)](_0x2a8f15),_0x1f310d=Array[_0x1da603(0xe4)](_0x5bf2ee[_0x1da603(0x137)]())[_0x1da603(0x121)](_0x4823f4=>_0x4823f4['is'](_0x1da603(0xd8),_0x1da603(0xfa)));let _0x1227fa=0x0;return _0x1f310d[_0x1da603(0x131)](_0x26504f=>{const _0x470433=_0x1da603;_0x1227fa+=_0x2a9e41[_0x470433(0x12c)](_0x26504f);}),_0x1227fa;}[_0x28e992(0xe7)](_0x5a58ce,_0x456076){const _0x20a64b=_0x28e992,_0x39f2bc=this[_0x20a64b(0x115)][_0x20a64b(0x132)][_0x20a64b(0xf5)](_0x20a64b(0xe5)),_0x4b9577=_0x39f2bc[_0x20a64b(0x10f)](_0x5a58ce),_0x57bb53=_0x39f2bc[_0x20a64b(0x126)](_0x5a58ce),_0x30c691=_0x4b9577[_0x20a64b(0xe3)]+0x1,_0x1ebb23=_0x57bb53[_0x20a64b(0x118)],_0x2c7892=_0x5a58ce[0x0][_0x20a64b(0xcd)](_0x20a64b(0xfa));for(let _0x1b2dab=0x0;_0x1b2dab<_0x456076;_0x1b2dab++)_0x39f2bc[_0x20a64b(0x11c)](_0x2c7892,{'at':_0x30c691});return _0x2c7892[_0x20a64b(0xd7)](_0x30c691)[_0x20a64b(0xd7)](_0x1ebb23);}[_0x28e992(0x108)](_0x354c77,_0x378ede){const _0xe2c159=_0x28e992,{plugins:_0x3a4c7c}=this[_0xe2c159(0x115)],{model:_0x12cd51}=_0x354c77;if(!_0x3a4c7c[_0xe2c159(0x130)](_0xe2c159(0xe5)))return;_0x3a4c7c[_0xe2c159(0xf5)](_0xe2c159(0xe5))[_0xe2c159(0xf1)](_0x378ede)[_0xe2c159(0xdf)]&&_0x12cd51[_0xe2c159(0x127)](_0x378ede);}}function _0x2e78(){const _0x36ccae=['fire','insertContentBelow','_getDefaultInsertBelowPosition','createRange','table','ai-ui','parse','isContent','showFakeVisualSelection','pluginName','conversion','setSelection','end','_getTableRowCountFromContent','AIAssistantEditing','pop','_getAISelection','start','_resetContentOfSelectedTableCells','fromCharCode','ck-ai-assistant-ui_theme','schema','push','afterInit','isPremiumPlugin','getRowIndexes','createPositionAfter','change','ck-fake-ai-selection','span','addClass','editor','config','450poDCLO','first','updateMarker','getLastMatchingPosition','hideFakeVisualSelection','insertRows','text/html','for','isOfficialPlugin','20353509mgKvej','filter','data','ck-fake-ai-selection_collapsed','editing','markers','getColumnIndexes','deleteContent','_prepareTableInsertBelowPosition','paste','markerToElement','markerToHighlight','getRows','href','contentInsertion','13124304EsdqAp','has','forEach','plugins','addMarker','markerRange','removeMarker','map','getChildren','2071082qTgtdU','getRanges','findAncestor','init','getMarkersGroup','once','_pasteHTMLUsingClipboard','join','getLastPosition','657884LLdjMz','canEditAt','getFirstRange','getChild','element','resultRange','editingDowncast','createUIElement','ai.assistant.useTheme','createPositionAt','isCollapsed','length','document','lowest','4318090niQdxW','last','from','TableUtils','selection','_createEmptyTableRows','setData','1775606YHPaIG','insertContent','model','off','getSelectedBlocks','getRange','createSelection','83118UiOWbz','getSelectedTableCells','isAtEnd','3kprEDz','DataTransfer','get'];_0x2e78=function(){return _0x36ccae;};return _0x2e78();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1dac80=_0x4f5e;(function(_0x280ae5,_0x1c50c2){const _0x2e9e5b=_0x4f5e,_0x435dfb=_0x280ae5();while(!![]){try{const _0x3a1b79=parseInt(_0x2e9e5b(0x134))/0x1*(parseInt(_0x2e9e5b(0x12c))/0x2)+parseInt(_0x2e9e5b(0x101))/0x3+-parseInt(_0x2e9e5b(0x11c))/0x4*(parseInt(_0x2e9e5b(0x106))/0x5)+-parseInt(_0x2e9e5b(0x130))/0x6*(parseInt(_0x2e9e5b(0x137))/0x7)+parseInt(_0x2e9e5b(0x12a))/0x8+-parseInt(_0x2e9e5b(0x148))/0x9+parseInt(_0x2e9e5b(0x110))/0xa*(-parseInt(_0x2e9e5b(0x13d))/0xb);if(_0x3a1b79===_0x1c50c2)break;else _0x435dfb['push'](_0x435dfb['shift']());}catch(_0x43fec9){_0x435dfb['push'](_0x435dfb['shift']());}}}(_0x34c5,0x4a2b1));import{global as _0x6ab5e4}from'ckeditor5/src/utils.js';import{View as _0x400c9d,ButtonView as _0x47994e,SpinnerView as _0x41f6a5}from'ckeditor5/src/ui.js';import{IconCheck as _0x2902b0,IconCopy as _0x2cbf88}from'ckeditor5/src/icons.js';function _0x4f5e(_0xa35ca5,_0x2aae08){const _0x34c50d=_0x34c5();return _0x4f5e=function(_0x4f5e23,_0x22ae78){_0x4f5e23=_0x4f5e23-0xff;let _0x3f801e=_0x34c50d[_0x4f5e23];return _0x3f801e;},_0x4f5e(_0xa35ca5,_0x2aae08);}function _0x34c5(){const _0x8058e2=['ck-ai-form__content-area--processing','ck-hidden','setTemplate','scrollTo','createRange','_createLoader','div','ClipboardItem','414603WKdlgv','appendLoader','execCommand','text/html','isProcessing','\x20ck-ai-form__copy-button--copied','bind','querySelector','change:value','render','listenTo','Copy','removeAllRanges','ck-ai-form__content-area','setContent','1573992QTERPc','value','innerHTML','ck-ai-form__content-field','element','165kinPpi','ck-ai-form__content-area-wrapper','setStartAfter','isEnabled','lastElementChild','-9999px','.ck-ai-form__loader','<span>]</span>','_createCopyButton','AI\x20is\x20writing...','30jetTxz','createElement','ck-ai-form__loader','remove','wheel','bindTemplate','copy','locale','ck-reset_all-excluded','loaderView','mousedown','scrollHeight','15116hxncGy','absolute','addRange','ck-content','class','position','style','focus','_copyHTMLToClipboard','body','clipboard','text/plain','smooth','firstElementChild','3742704DUEebt','contentFieldView','41424vLBlqf','getSelection','set','ck-ai-form__copy-button-wrapper','2118sJEFum','left','change:isProcessing','appendChild','4DCNNDP','textContent','ck-ai-form__copy-button','2373jFKcXa','copyButtonView','<span>[</span>','isVisible','icon','write','1764092fTyYLm','setEndBefore','execute'];_0x34c5=function(){return _0x8058e2;};return _0x34c5();}import{getTranslation as _0x396bd6}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x400c9d{[_0x1dac80(0x12b)];[_0x1dac80(0x138)];constructor(_0x63a25c,_0x5de0a9=''){const _0x442992=_0x1dac80;super(_0x63a25c),this[_0x442992(0x12e)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1029da=this[_0x442992(0x115)];this[_0x442992(0x12b)]=new ContentFieldView(_0x63a25c,_0x5de0a9),this[_0x442992(0x138)]=this[_0x442992(0x10e)](),this[_0x442992(0x142)]({'tag':_0x442992(0x146),'attributes':{'class':['ck',_0x442992(0x107),_0x1029da['if'](_0x442992(0x13a),_0x442992(0x141),_0x342cbf=>!_0x342cbf)],'tabindex':'-1'},'children':[{'tag':_0x442992(0x146),'attributes':{'class':['ck',_0x442992(0xff),_0x1029da['if'](_0x442992(0x14c),_0x442992(0x140))]},'children':[this[_0x442992(0x12b)],{'tag':_0x442992(0x146),'attributes':{'class':['ck',_0x442992(0x12f)]},'children':[this[_0x442992(0x138)]]}]}]});}[_0x1dac80(0x151)](){const _0x22f346=_0x1dac80;super[_0x22f346(0x151)](),this[_0x22f346(0x102)]&&this[_0x22f346(0x12b)][_0x22f346(0x100)](this[_0x22f346(0x102)]);let _0x463077=!0x1;this['on'](_0x22f346(0x150),(_0x5bdc46,_0x4a7a4f,_0x27026c)=>{const _0x3721d4=_0x22f346,_0x39b4a7=!this[_0x3721d4(0x12b)][_0x3721d4(0x105)][_0x3721d4(0x14f)](_0x3721d4(0x10c));this[_0x3721d4(0x12b)][_0x3721d4(0x100)](_0x27026c),this[_0x3721d4(0x14c)]&&_0x39b4a7&&!_0x463077&&this[_0x3721d4(0x105)][_0x3721d4(0x143)]({'top':this[_0x3721d4(0x105)][_0x3721d4(0x11b)],'behavior':_0x3721d4(0x128)});}),this['on'](_0x22f346(0x132),(_0x236e26,_0x58d119,_0x2a4dc5)=>{const _0x3c4ffe=_0x22f346;_0x463077=!0x1,_0x2a4dc5?(this[_0x3c4ffe(0x102)]=null,this[_0x3c4ffe(0x12b)][_0x3c4ffe(0x149)]()):this[_0x3c4ffe(0x102)]||this[_0x3c4ffe(0x12b)][_0x3c4ffe(0x100)]('');}),this[_0x22f346(0x152)](this[_0x22f346(0x105)],_0x22f346(0x114),()=>{_0x463077=!0x0;}),this[_0x22f346(0x152)](this[_0x22f346(0x105)],_0x22f346(0x11a),()=>{_0x463077=!0x0;});}[_0x1dac80(0x123)](){const _0x6bdc9d=_0x1dac80;this[_0x6bdc9d(0x105)][_0x6bdc9d(0x123)]();}[_0x1dac80(0x10e)](){const _0x5f31b1=_0x1dac80,_0xd09212=this[_0x5f31b1(0x117)],_0x4b0080=new _0x47994e(this[_0x5f31b1(0x117)]),_0x382fee=_0x5f31b1(0x136);return _0x4b0080[_0x5f31b1(0x12e)]({'label':_0x396bd6(_0xd09212,_0x5f31b1(0x153)),'icon':_0x2cbf88,'class':_0x382fee,'tooltip':!0x0}),_0x4b0080[_0x5f31b1(0x14e)](_0x5f31b1(0x13a))['to'](this,_0x5f31b1(0x102),_0xbaa2af=>!!_0xbaa2af),_0x4b0080[_0x5f31b1(0x14e)](_0x5f31b1(0x109))['to'](this,_0x5f31b1(0x14c),_0x31ee91=>!_0x31ee91),_0x4b0080['on'](_0x5f31b1(0x13f),()=>{const _0x479048=_0x5f31b1;this[_0x479048(0x124)](this[_0x479048(0x12b)][_0x479048(0x105)]),_0x4b0080[_0x479048(0x13b)]=_0x2902b0,_0x4b0080[_0x479048(0x120)]=_0x382fee+_0x479048(0x14d),this[_0x479048(0x123)](),setTimeout(()=>{const _0x5a0182=_0x479048;_0x4b0080[_0x5a0182(0x13b)]=_0x2cbf88,_0x4b0080[_0x5a0182(0x120)]=_0x382fee;},0x3e8);}),_0x4b0080;}[_0x1dac80(0x124)](_0x51aa38){const _0x5ba920=_0x1dac80,{window:_0x291bc0,document:_0x5ad5d2}=_0x6ab5e4;if(_0x291bc0[_0x5ba920(0x147)]){const {Blob:_0x30c750,ClipboardItem:_0x286f21}=_0x291bc0,_0xeaf01a=[new _0x286f21({'text/html':new _0x30c750([_0x51aa38[_0x5ba920(0x103)]],{'type':_0x5ba920(0x14b)}),'text/plain':new _0x30c750([_0x51aa38[_0x5ba920(0x135)]||''],{'type':_0x5ba920(0x127)})})];navigator[_0x5ba920(0x126)][_0x5ba920(0x13c)](_0xeaf01a);}else{const _0x119073=_0x5ad5d2[_0x5ba920(0x111)](_0x5ba920(0x146));_0x119073[_0x5ba920(0x122)][_0x5ba920(0x121)]=_0x5ba920(0x11d),_0x119073[_0x5ba920(0x122)][_0x5ba920(0x131)]=_0x5ba920(0x10b),_0x119073[_0x5ba920(0x103)]=_0x5ba920(0x139)+_0x51aa38[_0x5ba920(0x103)]+_0x5ba920(0x10d),_0x5ad5d2[_0x5ba920(0x125)][_0x5ba920(0x133)](_0x119073);const _0x398ead=_0x5ad5d2[_0x5ba920(0x144)]();_0x398ead[_0x5ba920(0x108)](_0x119073[_0x5ba920(0x129)]),_0x398ead[_0x5ba920(0x13e)](_0x119073[_0x5ba920(0x10a)]);const _0x5d2b44=_0x291bc0[_0x5ba920(0x12d)]();_0x5d2b44[_0x5ba920(0x154)](),_0x5d2b44[_0x5ba920(0x11e)](_0x398ead),_0x5ad5d2[_0x5ba920(0x14a)](_0x5ba920(0x116)),_0x119073[_0x5ba920(0x113)]();}}}export class ContentFieldView extends _0x400c9d{constructor(_0x3fd5dc,_0x1845a2=''){const _0x55378a=_0x1dac80;super(_0x3fd5dc),this[_0x55378a(0x119)]=this[_0x55378a(0x145)](),this[_0x55378a(0x142)]({'tag':_0x55378a(0x146),'attributes':{'class':['ck',_0x55378a(0x11f),_0x1845a2,_0x55378a(0x118),_0x55378a(0x104)]}});}[_0x1dac80(0x100)](_0x2f7a72){const _0x2985e9=_0x1dac80;this[_0x2985e9(0x105)][_0x2985e9(0x103)]=_0x2f7a72;}[_0x1dac80(0x149)](){const _0x42ab71=_0x1dac80;this[_0x42ab71(0x105)][_0x42ab71(0x133)](this[_0x42ab71(0x119)][_0x42ab71(0x105)]);}[_0x1dac80(0x145)](){const _0x2163ba=_0x1dac80,_0x542023=new _0x400c9d(),_0x564c9f=this[_0x2163ba(0x117)],_0x5eb2eb=new _0x41f6a5();return _0x5eb2eb[_0x2163ba(0x13a)]=!0x0,_0x542023[_0x2163ba(0x142)]({'tag':_0x2163ba(0x146),'attributes':{'class':['ck',_0x2163ba(0x112)]},'children':[_0x5eb2eb,{'text':_0x396bd6(_0x564c9f,_0x2163ba(0x10f))}]}),_0x542023[_0x2163ba(0x151)](),_0x542023;}}
23
+ const _0x108d45=_0x39b8;(function(_0x4ec151,_0x5ebdbd){const _0x5d7479=_0x39b8,_0x161e51=_0x4ec151();while(!![]){try{const _0x4eb1a8=parseInt(_0x5d7479(0x16b))/0x1+-parseInt(_0x5d7479(0x17c))/0x2*(parseInt(_0x5d7479(0x14c))/0x3)+-parseInt(_0x5d7479(0x160))/0x4*(parseInt(_0x5d7479(0x178))/0x5)+-parseInt(_0x5d7479(0x18e))/0x6+-parseInt(_0x5d7479(0x152))/0x7*(parseInt(_0x5d7479(0x187))/0x8)+parseInt(_0x5d7479(0x185))/0x9+parseInt(_0x5d7479(0x15d))/0xa;if(_0x4eb1a8===_0x5ebdbd)break;else _0x161e51['push'](_0x161e51['shift']());}catch(_0x1b380d){_0x161e51['push'](_0x161e51['shift']());}}}(_0x5d2c,0x4d9ba));import{global as _0x3a5a98}from'ckeditor5/src/utils.js';function _0x5d2c(){const _0x5e53d0=['697788xNOlmY','loaderView','4838672GYMRjX','setStartAfter','<span>]</span>','execCommand','smooth','left','textContent','1129146lGwtfh','value','isVisible','contentFieldView','ck-ai-form__copy-button-wrapper','mousedown','body','_createLoader','ck-content','bind','focus','lastElementChild','write','ck-ai-form__content-area--processing','style','setContent','scrollTo','querySelector','element','732lsfoWl','appendLoader','absolute','addRange','getSelection','remove','7kCuPmB','text/plain','listenTo','class','appendChild','ck-reset_all-excluded','copy','position','setEndBefore','removeAllRanges','ck-ai-form__loader','16531860GnSJWE','div','change:value','95888vdDAoi','text/html','locale','Copy','firstElementChild','ck-ai-form__content-field','set','render','ClipboardItem','copyButtonView','ck-hidden','166401dJaZbk','ck-ai-form__copy-button','_copyHTMLToClipboard','_createCopyButton','icon','execute','isEnabled','isProcessing','clipboard','.ck-ai-form__loader','createElement','bindTemplate','createRange','85KYBJoG','wheel','change:isProcessing','scrollHeight','3104nimRox','setTemplate','\x20ck-ai-form__copy-button--copied','innerHTML','ck-ai-form__content-area','AI\x20is\x20writing...','ck-ai-form__content-area-wrapper','<span>[</span>','-9999px'];_0x5d2c=function(){return _0x5e53d0;};return _0x5d2c();}import{View as _0x561f45,ButtonView as _0x4fb566,SpinnerView as _0x11bd80}from'ckeditor5/src/ui.js';import{IconCheck as _0x4ba132,IconCopy as _0x39f3cb}from'ckeditor5/src/icons.js';import{getTranslation as _0x4eb7b6}from'../../utils/common-translations.js';function _0x39b8(_0x2fb69c,_0x5e108e){const _0x5d2ca9=_0x5d2c();return _0x39b8=function(_0x39b866,_0x12ec96){_0x39b866=_0x39b866-0x14c;let _0x38e0c5=_0x5d2ca9[_0x39b866];return _0x38e0c5;},_0x39b8(_0x2fb69c,_0x5e108e);}export class AIFormContentArea extends _0x561f45{[_0x108d45(0x191)];[_0x108d45(0x169)];constructor(_0x96efae,_0x177ce8=''){const _0x3176ad=_0x108d45;super(_0x96efae),this[_0x3176ad(0x166)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x26f5e2=this[_0x3176ad(0x176)];this[_0x3176ad(0x191)]=new ContentFieldView(_0x96efae,_0x177ce8),this[_0x3176ad(0x169)]=this[_0x3176ad(0x16e)](),this[_0x3176ad(0x17d)]({'tag':_0x3176ad(0x15e),'attributes':{'class':['ck',_0x3176ad(0x182),_0x26f5e2['if'](_0x3176ad(0x190),_0x3176ad(0x16a),_0x453b65=>!_0x453b65)],'tabindex':'-1'},'children':[{'tag':_0x3176ad(0x15e),'attributes':{'class':['ck',_0x3176ad(0x180),_0x26f5e2['if'](_0x3176ad(0x172),_0x3176ad(0x19b))]},'children':[this[_0x3176ad(0x191)],{'tag':_0x3176ad(0x15e),'attributes':{'class':['ck',_0x3176ad(0x192)]},'children':[this[_0x3176ad(0x169)]]}]}]});}[_0x108d45(0x167)](){const _0x66afeb=_0x108d45;super[_0x66afeb(0x167)](),this[_0x66afeb(0x18f)]&&this[_0x66afeb(0x191)][_0x66afeb(0x19d)](this[_0x66afeb(0x18f)]);let _0x385a5a=!0x1;this['on'](_0x66afeb(0x15f),(_0x568d67,_0x1e9ee2,_0x235cb7)=>{const _0x5b8dd6=_0x66afeb,_0x258879=!this[_0x5b8dd6(0x191)][_0x5b8dd6(0x1a0)][_0x5b8dd6(0x19f)](_0x5b8dd6(0x174));this[_0x5b8dd6(0x191)][_0x5b8dd6(0x19d)](_0x235cb7),this[_0x5b8dd6(0x172)]&&_0x258879&&!_0x385a5a&&this[_0x5b8dd6(0x1a0)][_0x5b8dd6(0x19e)]({'top':this[_0x5b8dd6(0x1a0)][_0x5b8dd6(0x17b)],'behavior':_0x5b8dd6(0x18b)});}),this['on'](_0x66afeb(0x17a),(_0x49ce2a,_0x4d4e8d,_0x35b739)=>{const _0x2e5cd7=_0x66afeb;_0x385a5a=!0x1,_0x35b739?(this[_0x2e5cd7(0x18f)]=null,this[_0x2e5cd7(0x191)][_0x2e5cd7(0x14d)]()):this[_0x2e5cd7(0x18f)]||this[_0x2e5cd7(0x191)][_0x2e5cd7(0x19d)]('');}),this[_0x66afeb(0x154)](this[_0x66afeb(0x1a0)],_0x66afeb(0x179),()=>{_0x385a5a=!0x0;}),this[_0x66afeb(0x154)](this[_0x66afeb(0x1a0)],_0x66afeb(0x193),()=>{_0x385a5a=!0x0;});}[_0x108d45(0x198)](){const _0x242c95=_0x108d45;this[_0x242c95(0x1a0)][_0x242c95(0x198)]();}[_0x108d45(0x16e)](){const _0x1db936=_0x108d45,_0x41f6b0=this[_0x1db936(0x162)],_0x23bc8c=new _0x4fb566(this[_0x1db936(0x162)]),_0x318d48=_0x1db936(0x16c);return _0x23bc8c[_0x1db936(0x166)]({'label':_0x4eb7b6(_0x41f6b0,_0x1db936(0x163)),'icon':_0x39f3cb,'class':_0x318d48,'tooltip':!0x0}),_0x23bc8c[_0x1db936(0x197)](_0x1db936(0x190))['to'](this,_0x1db936(0x18f),_0x1a258d=>!!_0x1a258d),_0x23bc8c[_0x1db936(0x197)](_0x1db936(0x171))['to'](this,_0x1db936(0x172),_0x379147=>!_0x379147),_0x23bc8c['on'](_0x1db936(0x170),()=>{const _0x4d4699=_0x1db936;this[_0x4d4699(0x16d)](this[_0x4d4699(0x191)][_0x4d4699(0x1a0)]),_0x23bc8c[_0x4d4699(0x16f)]=_0x4ba132,_0x23bc8c[_0x4d4699(0x155)]=_0x318d48+_0x4d4699(0x17e),this[_0x4d4699(0x198)](),setTimeout(()=>{const _0x2f19c9=_0x4d4699;_0x23bc8c[_0x2f19c9(0x16f)]=_0x39f3cb,_0x23bc8c[_0x2f19c9(0x155)]=_0x318d48;},0x3e8);}),_0x23bc8c;}[_0x108d45(0x16d)](_0x25aace){const _0x17f944=_0x108d45,{window:_0x332f75,document:_0x5092eb}=_0x3a5a98;if(_0x332f75[_0x17f944(0x168)]){const {Blob:_0x14bc3b,ClipboardItem:_0x767057}=_0x332f75,_0x262575=[new _0x767057({'text/html':new _0x14bc3b([_0x25aace[_0x17f944(0x17f)]],{'type':_0x17f944(0x161)}),'text/plain':new _0x14bc3b([_0x25aace[_0x17f944(0x18d)]||''],{'type':_0x17f944(0x153)})})];navigator[_0x17f944(0x173)][_0x17f944(0x19a)](_0x262575);}else{const _0x5a2d06=_0x5092eb[_0x17f944(0x175)](_0x17f944(0x15e));_0x5a2d06[_0x17f944(0x19c)][_0x17f944(0x159)]=_0x17f944(0x14e),_0x5a2d06[_0x17f944(0x19c)][_0x17f944(0x18c)]=_0x17f944(0x184),_0x5a2d06[_0x17f944(0x17f)]=_0x17f944(0x183)+_0x25aace[_0x17f944(0x17f)]+_0x17f944(0x189),_0x5092eb[_0x17f944(0x194)][_0x17f944(0x156)](_0x5a2d06);const _0xa2cd71=_0x5092eb[_0x17f944(0x177)]();_0xa2cd71[_0x17f944(0x188)](_0x5a2d06[_0x17f944(0x164)]),_0xa2cd71[_0x17f944(0x15a)](_0x5a2d06[_0x17f944(0x199)]);const _0x44888b=_0x332f75[_0x17f944(0x150)]();_0x44888b[_0x17f944(0x15b)](),_0x44888b[_0x17f944(0x14f)](_0xa2cd71),_0x5092eb[_0x17f944(0x18a)](_0x17f944(0x158)),_0x5a2d06[_0x17f944(0x151)]();}}}export class ContentFieldView extends _0x561f45{constructor(_0x255002,_0x3ea69b=''){const _0x241383=_0x108d45;super(_0x255002),this[_0x241383(0x186)]=this[_0x241383(0x195)](),this[_0x241383(0x17d)]({'tag':_0x241383(0x15e),'attributes':{'class':['ck',_0x241383(0x196),_0x3ea69b,_0x241383(0x157),_0x241383(0x165)]}});}[_0x108d45(0x19d)](_0x2c2e33){const _0x242972=_0x108d45;this[_0x242972(0x1a0)][_0x242972(0x17f)]=_0x2c2e33;}[_0x108d45(0x14d)](){const _0x467e27=_0x108d45;this[_0x467e27(0x1a0)][_0x467e27(0x156)](this[_0x467e27(0x186)][_0x467e27(0x1a0)]);}[_0x108d45(0x195)](){const _0x235d5=_0x108d45,_0x119f23=new _0x561f45(),_0x4f4e2a=this[_0x235d5(0x162)],_0x2ebe61=new _0x11bd80();return _0x2ebe61[_0x235d5(0x190)]=!0x0,_0x119f23[_0x235d5(0x17d)]({'tag':_0x235d5(0x15e),'attributes':{'class':['ck',_0x235d5(0x15c)]},'children':[_0x2ebe61,{'text':_0x4eb7b6(_0x4f4e2a,_0x235d5(0x181))}]}),_0x119f23[_0x235d5(0x167)](),_0x119f23;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3a39cf,_0x4fc596){const _0x1599a3=_0x3d5e,_0x354c6b=_0x3a39cf();while(!![]){try{const _0x10afb6=-parseInt(_0x1599a3(0x1ce))/0x1+parseInt(_0x1599a3(0x1ca))/0x2*(parseInt(_0x1599a3(0x1c3))/0x3)+parseInt(_0x1599a3(0x1cb))/0x4*(-parseInt(_0x1599a3(0x1bf))/0x5)+parseInt(_0x1599a3(0x1c4))/0x6*(-parseInt(_0x1599a3(0x1bd))/0x7)+-parseInt(_0x1599a3(0x1c1))/0x8+parseInt(_0x1599a3(0x1cc))/0x9*(parseInt(_0x1599a3(0x1c7))/0xa)+-parseInt(_0x1599a3(0x1c0))/0xb*(-parseInt(_0x1599a3(0x1bc))/0xc);if(_0x10afb6===_0x4fc596)break;else _0x354c6b['push'](_0x354c6b['shift']());}catch(_0x32a6ff){_0x354c6b['push'](_0x354c6b['shift']());}}}(_0x21a3,0x95672));import{IconError as _0x2043ea}from'ckeditor5/src/icons.js';function _0x3d5e(_0x406f90,_0x820cde){const _0x21a373=_0x21a3();return _0x3d5e=function(_0x3d5e6d,_0x3ca8b4){_0x3d5e6d=_0x3d5e6d-0x1bc;let _0x255457=_0x21a373[_0x3d5e6d];return _0x255457;},_0x3d5e(_0x406f90,_0x820cde);}import{View as _0x4f74a4,IconView as _0x3484a6}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x4f74a4{constructor(_0x21ab6e,_0x2a9df7=''){const _0xed0e52=_0x3d5e;super(_0x21ab6e);const _0xc5f5b0=new _0x3484a6(),_0x5dc28a=this[_0xed0e52(0x1be)];this[_0xed0e52(0x1c9)](_0xed0e52(0x1cd),_0x2a9df7),_0xc5f5b0[_0xed0e52(0x1c8)]=_0x2043ea,this[_0xed0e52(0x1c6)]({'tag':_0xed0e52(0x1c5),'attributes':{'class':['ck',_0xed0e52(0x1c2)]},'children':[_0xc5f5b0,{'text':_0x5dc28a['to'](_0xed0e52(0x1cd))}]});}}function _0x21a3(){const _0x1d0b4b=['ck-ai-form__error','15WDxnxd','6hnOXpK','div','setTemplate','570emMlJC','content','set','416230jFdNDg','12OlaaXb','75897TgnYQA','text','77100eABUOG','42252ThuLLa','7797986LvNjWQ','bindTemplate','109945wVNXqv','3883podELD','7161200pMOCLk'];_0x21a3=function(){return _0x1d0b4b;};return _0x21a3();}
23
+ (function(_0xaabc93,_0x1a3fdb){const _0x38aad5=_0x2f33,_0xc53a1c=_0xaabc93();while(!![]){try{const _0x5e5c9f=-parseInt(_0x38aad5(0xab))/0x1*(parseInt(_0x38aad5(0xba))/0x2)+-parseInt(_0x38aad5(0xb0))/0x3*(parseInt(_0x38aad5(0xb4))/0x4)+-parseInt(_0x38aad5(0xb1))/0x5*(-parseInt(_0x38aad5(0xb9))/0x6)+-parseInt(_0x38aad5(0xae))/0x7*(parseInt(_0x38aad5(0xb3))/0x8)+parseInt(_0x38aad5(0xb8))/0x9+parseInt(_0x38aad5(0xac))/0xa+-parseInt(_0x38aad5(0xbb))/0xb;if(_0x5e5c9f===_0x1a3fdb)break;else _0xc53a1c['push'](_0xc53a1c['shift']());}catch(_0x2f91be){_0xc53a1c['push'](_0xc53a1c['shift']());}}}(_0x3574,0x5996d));import{IconError as _0x3732d8}from'ckeditor5/src/icons.js';function _0x3574(){const _0x1e0691=['4838438dHIDtW','bindTemplate','1ShfKhb','4204170MYUVeX','set','1981DchEvT','content','303531VICDsQ','235pFIRZW','ck-ai-form__error','10296fkichU','8oBdaCt','setTemplate','div','text','3216276jcbcfd','76668wuFixU','9914eaXJvX'];_0x3574=function(){return _0x1e0691;};return _0x3574();}import{View as _0x4de43c,IconView as _0x3a66ad}from'ckeditor5/src/ui.js';function _0x2f33(_0x984250,_0xe8419a){const _0x3574b6=_0x3574();return _0x2f33=function(_0x2f33c8,_0x21f3b2){_0x2f33c8=_0x2f33c8-0xab;let _0x40b6ef=_0x3574b6[_0x2f33c8];return _0x40b6ef;},_0x2f33(_0x984250,_0xe8419a);}export class AIFormErrorView extends _0x4de43c{constructor(_0x5ab719,_0x54cca8=''){const _0x417537=_0x2f33;super(_0x5ab719);const _0x75a6ad=new _0x3a66ad(),_0x5ee86b=this[_0x417537(0xbc)];this[_0x417537(0xad)](_0x417537(0xb7),_0x54cca8),_0x75a6ad[_0x417537(0xaf)]=_0x3732d8,this[_0x417537(0xb5)]({'tag':_0x417537(0xb6),'attributes':{'class':['ck',_0x417537(0xb2)]},'children':[_0x75a6ad,{'text':_0x5ee86b['to'](_0x417537(0xb7))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3363c8=_0x5e02;(function(_0x30efea,_0x202604){const _0xfdd674=_0x5e02,_0x71d6b7=_0x30efea();while(!![]){try{const _0x15e8ff=parseInt(_0xfdd674(0x1e6))/0x1*(-parseInt(_0xfdd674(0x1cc))/0x2)+parseInt(_0xfdd674(0x1cb))/0x3+parseInt(_0xfdd674(0x1e8))/0x4*(-parseInt(_0xfdd674(0x1eb))/0x5)+parseInt(_0xfdd674(0x1db))/0x6*(-parseInt(_0xfdd674(0x1d2))/0x7)+-parseInt(_0xfdd674(0x1d6))/0x8+-parseInt(_0xfdd674(0x1ce))/0x9+-parseInt(_0xfdd674(0x1e3))/0xa*(-parseInt(_0xfdd674(0x1ea))/0xb);if(_0x15e8ff===_0x202604)break;else _0x71d6b7['push'](_0x71d6b7['shift']());}catch(_0x18cfa6){_0x71d6b7['push'](_0x71d6b7['shift']());}}}(_0x202a,0x2f4c8));import{Rect as _0x4877c9,global as _0x14fbd2,isVisible as _0x5bcf85}from'ckeditor5/src/utils.js';function _0x5e02(_0x77fdb4,_0x1ece2c){const _0x202a00=_0x202a();return _0x5e02=function(_0x5e02b0,_0x413e2a){_0x5e02b0=_0x5e02b0-0x1c3;let _0x3b7582=_0x202a00[_0x5e02b0];return _0x3b7582;},_0x5e02(_0x77fdb4,_0x1ece2c);}function _0x202a(){const _0xf0a83e=['element','filteredView','focus','1397776iJSafE','focusFirst','queryView','children','fire','318YlMecf','focusableChildren','excludeScrollbarsAndBorders','submitButtonView','isEnabled','_createShowHistoryButton','right','_createSubmitButton','350xafBQv','execute','render','14591aJtOKH','ck-ai-form__toggle-history','5188yyQiBj','style','345807gRzULz','1245yiCzSk','resultsView','focusCycler','showHistoryButtonView','add','left','ck-ai-form__submit','submit','fieldView','enter','minRows','fieldWrapperChildren','width','keystrokes','update','History','rtl','locale','set','uiLanguageDirection','target','isOn','value','isVisible','maxRows','isEmpty','focusLast','520761noODpa','22GncXue','Submit','3224853IoqTVd','bind','window','requestAnimationFrame','8407cPHnUq'];_0x202a=function(){return _0xf0a83e;};return _0x202a();}import{IconAIHistory as _0x3e9279,IconSubmit as _0x85391c}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x36d4f9,ButtonView as _0x3d8a75}from'ckeditor5/src/ui.js';import{getTranslation as _0x5c69de}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x36d4f9{[_0x3363c8(0x1de)];[_0x3363c8(0x1ee)];constructor(_0x5be85d,_0x322af1){const _0x2bf6ef=_0x3363c8;super(_0x5be85d,_0x322af1),this[_0x2bf6ef(0x1d8)][_0x2bf6ef(0x1f3)][_0x2bf6ef(0x1f5)]=0x1,this[_0x2bf6ef(0x1d8)][_0x2bf6ef(0x1f3)][_0x2bf6ef(0x1c8)]=0x3,this[_0x2bf6ef(0x1de)]=this[_0x2bf6ef(0x1e2)](),this[_0x2bf6ef(0x1ee)]=this[_0x2bf6ef(0x1e0)](),this[_0x2bf6ef(0x1dc)][_0x2bf6ef(0x1ef)](this[_0x2bf6ef(0x1ee)],0x1),this[_0x2bf6ef(0x1dc)][_0x2bf6ef(0x1ef)](this[_0x2bf6ef(0x1de)]);}[_0x3363c8(0x1e5)](){const _0x1ced8c=_0x3363c8;super[_0x1ced8c(0x1e5)](),this[_0x1ced8c(0x1d8)][_0x1ced8c(0x1f6)][_0x1ced8c(0x1ef)](this[_0x1ced8c(0x1ee)]),this[_0x1ced8c(0x1d9)][_0x1ced8c(0x1ef)](this[_0x1ced8c(0x1de)]),this[_0x1ced8c(0x1f8)][_0x1ced8c(0x1fd)](_0x1ced8c(0x1f4),(_0x4c5ac0,_0x1ee273)=>{const _0x5e4744=_0x1ced8c;_0x4c5ac0[_0x5e4744(0x1c4)]==this[_0x5e4744(0x1d8)][_0x5e4744(0x1f3)][_0x5e4744(0x1d3)]&&(this[_0x5e4744(0x1f2)](),_0x1ee273());});}[_0x3363c8(0x1e2)](){const _0x48f723=_0x3363c8,_0x301d43=new _0x3d8a75(this[_0x48f723(0x1fc)]),_0x445bc4=this[_0x48f723(0x1fc)];return _0x301d43[_0x48f723(0x1fd)]({'icon':_0x85391c,'label':_0x5c69de(_0x445bc4,_0x48f723(0x1cd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x48f723(0x1f1)}),_0x301d43['on'](_0x48f723(0x1e4),()=>{const _0x40befa=_0x48f723;this[_0x40befa(0x1f2)]();}),_0x301d43[_0x48f723(0x1cf)](_0x48f723(0x1df))['to'](this[_0x48f723(0x1d8)][_0x48f723(0x1f3)],_0x48f723(0x1c9),this,_0x48f723(0x1df),(_0x3c9d9a,_0x314b85)=>!_0x3c9d9a&&_0x314b85),_0x301d43;}[_0x3363c8(0x1e0)](){const _0x58eb82=_0x3363c8,_0x499cd4=new _0x3d8a75(this[_0x58eb82(0x1fc)]),_0x286ee2=this[_0x58eb82(0x1ec)],_0x20f740=this[_0x58eb82(0x1fc)];_0x499cd4[_0x58eb82(0x1fd)]({'label':_0x5c69de(_0x20f740,_0x58eb82(0x1fa)),'withText':!0x1,'icon':_0x3e9279,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x58eb82(0x1e7)}),_0x499cd4[_0x58eb82(0x1cf)](_0x58eb82(0x1c5))['to'](_0x286ee2,_0x58eb82(0x1c7)),_0x499cd4[_0x58eb82(0x1cf)](_0x58eb82(0x1df))['to'](this,_0x58eb82(0x1df)),_0x499cd4['on'](_0x58eb82(0x1e4),()=>{const _0x171810=_0x58eb82;_0x286ee2[_0x171810(0x1c7)]=!_0x286ee2[_0x171810(0x1c7)],_0x286ee2[_0x171810(0x1c7)]?this[_0x171810(0x1d4)][_0x171810(0x1d5)]():this[_0x171810(0x1d5)]();});const _0x3ff86e=()=>{const _0x28ca83=_0x58eb82;_0x14fbd2[_0x28ca83(0x1d0)][_0x28ca83(0x1d1)](()=>{const _0x49b3e7=_0x28ca83;if(_0x5bcf85(this[_0x49b3e7(0x1d3)])){const _0xba015c=new _0x4877c9(this[_0x49b3e7(0x1d8)][_0x49b3e7(0x1f3)][_0x49b3e7(0x1d3)]),_0x2cfc84=_0xba015c[_0x49b3e7(0x1f7)],_0x43af15=_0x49b3e7(0x1fb)===_0x20f740[_0x49b3e7(0x1c3)]?_0x49b3e7(0x1f0):_0x49b3e7(0x1e1);_0xba015c[_0x49b3e7(0x1dd)](),_0x499cd4[_0x49b3e7(0x1d3)][_0x49b3e7(0x1e9)][_0x43af15]=_0x2cfc84-_0xba015c[_0x49b3e7(0x1f7)]+0x1+'px';}});};return this[_0x58eb82(0x1d8)][_0x58eb82(0x1f3)]['on'](_0x58eb82(0x1f9),_0x3ff86e),this['on'](_0x58eb82(0x1e5),_0x3ff86e),_0x499cd4;}[_0x3363c8(0x1f2)](){const _0x27186a=_0x3363c8,_0x1d991a=this[_0x27186a(0x1d8)][_0x27186a(0x1f3)][_0x27186a(0x1d3)][_0x27186a(0x1c6)];this[_0x27186a(0x1da)](_0x27186a(0x1f2),_0x1d991a);}[_0x3363c8(0x1d5)](_0x46aa9a){const _0x459aa0=_0x3363c8;-0x1===_0x46aa9a?this[_0x459aa0(0x1ed)][_0x459aa0(0x1ca)]():this[_0x459aa0(0x1ed)][_0x459aa0(0x1d7)]();}}
23
+ const _0x199895=_0x271c;(function(_0x3453da,_0x200b42){const _0x4b9e55=_0x271c,_0x182597=_0x3453da();while(!![]){try{const _0x2b0551=-parseInt(_0x4b9e55(0x176))/0x1*(parseInt(_0x4b9e55(0x167))/0x2)+parseInt(_0x4b9e55(0x174))/0x3*(-parseInt(_0x4b9e55(0x18e))/0x4)+-parseInt(_0x4b9e55(0x185))/0x5+-parseInt(_0x4b9e55(0x19a))/0x6*(-parseInt(_0x4b9e55(0x197))/0x7)+-parseInt(_0x4b9e55(0x180))/0x8+-parseInt(_0x4b9e55(0x191))/0x9*(parseInt(_0x4b9e55(0x169))/0xa)+parseInt(_0x4b9e55(0x162))/0xb;if(_0x2b0551===_0x200b42)break;else _0x182597['push'](_0x182597['shift']());}catch(_0x4a6ba){_0x182597['push'](_0x182597['shift']());}}}(_0x2165,0x87223));import{Rect as _0x10f73e,global as _0x3e4aa5,isVisible as _0x4b79a8}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x3fbdf2,IconSubmit as _0x458099}from'ckeditor5/src/icons.js';function _0x2165(){const _0x3bce9f=['update','uiLanguageDirection','submitButtonView','maxRows','1940410PLNCSr','focus','right','value','requestAnimationFrame','focusableChildren','keystrokes','fieldWrapperChildren','isEmpty','4nHETur','focusCycler','fieldView','99uShUJp','submit','_createSubmitButton','queryView','isOn','isEnabled','3492377vGPedz','bind','locale','12oecJcJ','render','excludeScrollbarsAndBorders','29942649EeCVMG','element','style','width','minRows','2Qbdxhn','_createShowHistoryButton','67590RYXyFL','filteredView','fire','set','History','window','execute','focusFirst','enter','ck-ai-form__submit','focusLast','2001324xyLfVn','showHistoryButtonView','963865jjDcnY','rtl','add','isVisible','Submit','left','ck-ai-form__toggle-history','children','resultsView','target','8583760OxtRZD'];_0x2165=function(){return _0x3bce9f;};return _0x2165();}import{AutocompleteView as _0x2686fe,ButtonView as _0x45dd98}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e39aa}from'../../utils/common-translations.js';function _0x271c(_0x7ab4eb,_0x43267e){const _0x2165d3=_0x2165();return _0x271c=function(_0x271c2d,_0x34983d){_0x271c2d=_0x271c2d-0x161;let _0x522609=_0x2165d3[_0x271c2d];return _0x522609;},_0x271c(_0x7ab4eb,_0x43267e);}export class AIFormPromptView extends _0x2686fe{[_0x199895(0x183)];[_0x199895(0x175)];constructor(_0x25d7c0,_0x1c6992){const _0x531bd0=_0x199895;super(_0x25d7c0,_0x1c6992),this[_0x531bd0(0x194)][_0x531bd0(0x190)][_0x531bd0(0x166)]=0x1,this[_0x531bd0(0x194)][_0x531bd0(0x190)][_0x531bd0(0x184)]=0x3,this[_0x531bd0(0x183)]=this[_0x531bd0(0x193)](),this[_0x531bd0(0x175)]=this[_0x531bd0(0x168)](),this[_0x531bd0(0x18a)][_0x531bd0(0x178)](this[_0x531bd0(0x175)],0x1),this[_0x531bd0(0x18a)][_0x531bd0(0x178)](this[_0x531bd0(0x183)]);}[_0x199895(0x19b)](){const _0xe421c9=_0x199895;super[_0xe421c9(0x19b)](),this[_0xe421c9(0x194)][_0xe421c9(0x18c)][_0xe421c9(0x178)](this[_0xe421c9(0x175)]),this[_0xe421c9(0x17d)][_0xe421c9(0x178)](this[_0xe421c9(0x183)]),this[_0xe421c9(0x18b)][_0xe421c9(0x16c)](_0xe421c9(0x171),(_0x57d7a7,_0x4c442b)=>{const _0x513406=_0xe421c9;_0x57d7a7[_0x513406(0x17f)]==this[_0x513406(0x194)][_0x513406(0x190)][_0x513406(0x163)]&&(this[_0x513406(0x192)](),_0x4c442b());});}[_0x199895(0x193)](){const _0x3c0f29=_0x199895,_0x169157=new _0x45dd98(this[_0x3c0f29(0x199)]),_0x315353=this[_0x3c0f29(0x199)];return _0x169157[_0x3c0f29(0x16c)]({'icon':_0x458099,'label':_0x2e39aa(_0x315353,_0x3c0f29(0x17a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3c0f29(0x172)}),_0x169157['on'](_0x3c0f29(0x16f),()=>{const _0x3ef3a0=_0x3c0f29;this[_0x3ef3a0(0x192)]();}),_0x169157[_0x3c0f29(0x198)](_0x3c0f29(0x196))['to'](this[_0x3c0f29(0x194)][_0x3c0f29(0x190)],_0x3c0f29(0x18d),this,_0x3c0f29(0x196),(_0x2e4ff5,_0x32664e)=>!_0x2e4ff5&&_0x32664e),_0x169157;}[_0x199895(0x168)](){const _0x169548=_0x199895,_0x172d4e=new _0x45dd98(this[_0x169548(0x199)]),_0x2dd772=this[_0x169548(0x17e)],_0x335090=this[_0x169548(0x199)];_0x172d4e[_0x169548(0x16c)]({'label':_0x2e39aa(_0x335090,_0x169548(0x16d)),'withText':!0x1,'icon':_0x3fbdf2,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x169548(0x17c)}),_0x172d4e[_0x169548(0x198)](_0x169548(0x195))['to'](_0x2dd772,_0x169548(0x179)),_0x172d4e[_0x169548(0x198)](_0x169548(0x196))['to'](this,_0x169548(0x196)),_0x172d4e['on'](_0x169548(0x16f),()=>{const _0x29587e=_0x169548;_0x2dd772[_0x29587e(0x179)]=!_0x2dd772[_0x29587e(0x179)],_0x2dd772[_0x29587e(0x179)]?this[_0x29587e(0x16a)][_0x29587e(0x186)]():this[_0x29587e(0x186)]();});const _0x241961=()=>{const _0x5b63c2=_0x169548;_0x3e4aa5[_0x5b63c2(0x16e)][_0x5b63c2(0x189)](()=>{const _0xd18696=_0x5b63c2;if(_0x4b79a8(this[_0xd18696(0x163)])){const _0x228166=new _0x10f73e(this[_0xd18696(0x194)][_0xd18696(0x190)][_0xd18696(0x163)]),_0xfbb210=_0x228166[_0xd18696(0x165)],_0xd0022=_0xd18696(0x177)===_0x335090[_0xd18696(0x182)]?_0xd18696(0x17b):_0xd18696(0x187);_0x228166[_0xd18696(0x161)](),_0x172d4e[_0xd18696(0x163)][_0xd18696(0x164)][_0xd0022]=_0xfbb210-_0x228166[_0xd18696(0x165)]+0x1+'px';}});};return this[_0x169548(0x194)][_0x169548(0x190)]['on'](_0x169548(0x181),_0x241961),this['on'](_0x169548(0x19b),_0x241961),_0x172d4e;}[_0x199895(0x192)](){const _0x1a99c2=_0x199895,_0x8c29e1=this[_0x1a99c2(0x194)][_0x1a99c2(0x190)][_0x1a99c2(0x163)][_0x1a99c2(0x188)];this[_0x1a99c2(0x16b)](_0x1a99c2(0x192),_0x8c29e1);}[_0x199895(0x186)](_0xfffbf5){const _0x4c2f84=_0x199895;-0x1===_0xfffbf5?this[_0x4c2f84(0x18f)][_0x4c2f84(0x173)]():this[_0x4c2f84(0x18f)][_0x4c2f84(0x170)]();}}