@ckeditor/ckeditor5-ai 47.3.0-alpha.7 → 47.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) 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/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  15. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  16. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformview.js +1 -1
  19. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  21. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  22. package/src/aiballoon/aiballoon.js +1 -1
  23. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  24. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  25. package/src/aiballoon/ui/aiballoonview.js +1 -1
  26. package/src/aichat/aichat.js +1 -1
  27. package/src/aichat/aichatcontroller.js +1 -1
  28. package/src/aichat/aichatui.js +1 -1
  29. package/src/aichat/model/aichatcontext.js +1 -1
  30. package/src/aichat/model/aichatconversation.js +1 -1
  31. package/src/aichat/model/aichatinteraction.js +1 -1
  32. package/src/aichat/model/aichatmodels.js +1 -1
  33. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  34. package/src/aichat/ui/aichatfeedview.js +1 -1
  35. package/src/aichat/ui/aichatheaderview.js +1 -1
  36. package/src/aichat/ui/aichatview.js +1 -1
  37. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  38. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  42. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  57. package/src/aichat/utils/eventnames.js +1 -1
  58. package/src/aichat/utils/promisequeue.js +1 -1
  59. package/src/aichathistory/aichathistory.js +1 -1
  60. package/src/aichathistory/aichathistorycontroller.js +1 -1
  61. package/src/aichathistory/aichathistoryui.js +1 -1
  62. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  63. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  64. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  65. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  66. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  68. package/src/aicore/aiconnector.js +1 -1
  69. package/src/aicore/aiediting.js +1 -1
  70. package/src/aicore/model/aicapabilities.js +1 -1
  71. package/src/aicore/model/aiinteraction.js +1 -1
  72. package/src/aicore/model/aimodels.js +1 -1
  73. package/src/aicore/model/aireply.js +1 -1
  74. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  75. package/src/aicore/pipeline/airesponseparser.js +2 -2
  76. package/src/aicore/ui/aidisclaimerview.js +1 -1
  77. package/src/aicore/ui/aiskeleton.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  83. package/src/aicore/utils/createresizebutton.js +1 -1
  84. package/src/aicore/utils/documentrange.js +1 -1
  85. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  86. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  87. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  88. package/src/aicore/utils/htmlparser.js +1 -1
  89. package/src/aicore/utils/htmlstreamer.js +1 -1
  90. package/src/aieditorintegration/aieditorintegration.js +1 -1
  91. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  92. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  93. package/src/aiquickactions/aiquickactions.js +1 -1
  94. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  95. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  96. package/src/aiquickactions/aiquickactionsui.js +1 -1
  97. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  98. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  101. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  102. package/src/aireviewmode/aireviewmode.js +1 -1
  103. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  104. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  105. package/src/aireviewmode/aireviewmodeui.js +1 -1
  106. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  107. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  108. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  109. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  110. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  118. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  119. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  120. package/src/aitabs/aitabs.js +1 -1
  121. package/src/aitabs/tabs/aitabsview.js +1 -1
  122. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  123. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3caf73=_0x43ee;(function(_0xe17c67,_0x125e98){const _0x935ea4=_0x43ee,_0x12185c=_0xe17c67();while(!![]){try{const _0x432b11=-parseInt(_0x935ea4(0x1bd))/0x1+-parseInt(_0x935ea4(0x23d))/0x2*(-parseInt(_0x935ea4(0x27d))/0x3)+-parseInt(_0x935ea4(0x1c4))/0x4+-parseInt(_0x935ea4(0x24b))/0x5+parseInt(_0x935ea4(0x18a))/0x6+-parseInt(_0x935ea4(0x239))/0x7+parseInt(_0x935ea4(0x264))/0x8*(parseInt(_0x935ea4(0x224))/0x9);if(_0x432b11===_0x125e98)break;else _0x12185c['push'](_0x12185c['shift']());}catch(_0x53fa34){_0x12185c['push'](_0x12185c['shift']());}}}(_0x5692,0x6a8ad));function _0x5692(){const _0x5f342f=['_domEmitter','21ueyuck','remove-context','_changePositionOwnerDocument','2203008IXqngx','emitter','htmlProcessor','every','getChild','isIntersecting','markChangePositionInEditorContent','length','offsetSize','addOperation','type','switchToEdit','getShiftedBy','createSelection','registerPostFixer','marker','_hasSameTopLevelElement','afterInit','changeMarkerBlurred','offset','suggestion-context','toView','getChangedMarkers','ck-ai_review-mode-marker_strikethrough','document','getChildren','isDocumentOperation','$markedRemove','toData','requires','_appendChild','_changeOperationOwnerDocument','stringify','_createGetContextFn','downcast','applyChange','removeMarker','values','_groupAdjacentOperations','relatedTarget','createDocumentFragment','processor','documentFragment','reviewmode-','pop','data-marker-id','remove','get','batch','exec','[data-id=\x22','538527zRXCnM','has','getOperations','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','markerToElement','hasContentBefore','remove-text','2584136tuegAe','_handleMarkerChanges','remove-only','forward','ck-ai_review-mode-marker_hide','innerHTML','split','getRoot','span','clone','groupId','operationsIsolated','insert','parent','htmlWriter','oldRange','closest','isInline','ck-ai_review-mode-marker_','_setAttribute','concat','conversion','add','history','target','elements','getRoots','querySelector','ck-ai_review-mode-marker_context-end','getMarkerElementForChange','suggestion:insertion:id:authorId:','backward','listenTo','suggestion:deletion:id:authorId:','createPositionAfter','changeMarkerRestored','AIEditing','ck-ai_review-mode-marker_add','_nextDataId','parentElement','[data-marker-id=\x22','isAtStart','diffContent','outerHTML','domConverter','toDomElement','end','isOpening','ck-ai_review-mode-marker_context-','applyOperation','_getOperationStart','_shiftOperation','click','isTouching','getAttribute','dataDowncast','warn','createPositionAt','_changePosition','enableReadOnlyMode','nodes','fire','isAtEnd','editingDowncast','containsRange','startsWith','for','createUIElement','_sortMarkers','_parseMarkerName','differ','push','forEach','addMarker','markers','switchToReadOnly','model','_createGetContentFn','attributeToAttribute','filter','isOfficialPlugin','schema','$documentFragment','jumpTo','clearAllMarkers','_translateOperationToEditorContent','affectsData','howMany','changeMarkerRemoved','context','path','getDomRoot','append','editing','map','getPath','2522106rkmxhY','root','getDocumentData','_getMarkersDataForGroup','getRange','flat','from','_getOperationEnd','change','ai-review-mode','_removeChildren','viewToDom','markerName','createText','parse','name','isPremiumPlugin','sort','size','No\x20element\x20found\x20for\x20ID:\x20','childCount','117530yVMour','getStart','_clone','rejectChange','82572YmgTXn','_haveSingleTopLevelElement','$graveyard','model:$text','hasAttribute','baseVersion','mouseover','$textProxy','set','disableReadOnlyMode','_eventEmitter','clear','changeMarkerClick','changeMarkerHovered','2097960krqGuJ','_validateMarkers','_changeRangeOwnerDocument','_findAdjacentContextDistance','_createGetContentUsingDataIdFn','data','getHtml','containerElement','_getChangeContext','pluginName','hasContentAfter','_upsertDataId','plugins','newRange','_haveOnlyInlineContent','hasClass','operationsA','element','AIReviewModeEditing','ellipsisAfter','start','version','index','position','delete','40NlDqNC','getChanges','includes','rootName','getEditor','ck-ai_review-mode-marker_underline','_findMarkerElement','_insertMarkers','ck-ai_review-mode-marker_context-start','insertContent','DocumentCompare','className','_changeRange','createRange','_removeAttribute','text','ellipsisBefore','_markers','createRawElement','view','markerToHighlight','getDiff','deleteContent','keys'];_0x5692=function(){return _0x5f342f;};return _0x5692();}import{InsertOperation as _0x1ba194,MarkerOperation as _0xaffd1c,ModelDocumentFragment as _0x134207,ModelPosition as _0x1196ee,ModelRange as _0x2e208d,ModelTreeWalker as _0x522e03,transformOperationSets as _0x35b096}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x189a68,EmitterMixin as _0x12fb11}from'ckeditor5/src/utils.js';function _0x43ee(_0xb0721e,_0x4f99b7){const _0x569256=_0x5692();return _0x43ee=function(_0x43ee6a,_0x829229){_0x43ee6a=_0x43ee6a-0x18a;let _0x3d93fc=_0x569256[_0x43ee6a];return _0x3d93fc;},_0x43ee(_0xb0721e,_0x4f99b7);}import{ContextPlugin as _0x1fbe41}from'ckeditor5/src/core.js';import{DocumentCompare as _0x4935bf,DATA_ID_MODEL_ATTRIBUTE as _0x55f6ff,DATA_ID_VIEW_ATTRIBUTE as _0x3cec38}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x2e7d1e}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x5877f8}from'../aicore/aiediting.js';import{debounce as _0x492144}from'es-toolkit/compat';const de=_0x3caf73(0x1b5);export class AIReviewModeEditing extends _0x1fbe41{static get[_0x3caf73(0x254)](){const _0x535ddb=_0x3caf73;return _0x535ddb(0x25d);}static get[_0x3caf73(0x1a7)](){return[_0x4935bf,_0x5877f8];}static get[_0x3caf73(0x214)](){return!0x0;}static get[_0x3caf73(0x234)](){return!0x0;}[_0x3caf73(0x275)]=new Map();[_0x3caf73(0x27c)];[_0x3caf73(0x247)];constructor(_0x59a2af){const _0x409c59=_0x3caf73;super(_0x59a2af),this[_0x409c59(0x27c)]=new(_0x189a68())(),this[_0x409c59(0x247)]=new(_0x12fb11())();}get[_0x3caf73(0x18b)](){const _0x51d280=_0x3caf73;return this[_0x51d280(0x247)];}[_0x3caf73(0x19b)](){const _0x4ae571=_0x3caf73,_0x1ef53c=_0x2e7d1e(this[_0x4ae571(0x21d)]);_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x203))[_0x4ae571(0x1c1)]({'model':de+_0x4ae571(0x1d0),'view':(_0x46f361,{writer:_0x2b00e7})=>{const _0x2e71bd=_0x4ae571,_0x127cee=this[_0x2e71bd(0x275)][_0x2e71bd(0x1b9)](_0x46f361[_0x2e71bd(0x230)]),_0x44a285={'class':_0x2e71bd(0x1e9),'data-marker-id':_0x46f361[_0x2e71bd(0x230)]};return _0x2b00e7[_0x2e71bd(0x207)](_0x2e71bd(0x1cc),_0x44a285,function(_0x3a4a21){const _0x2a9b14=_0x2e71bd,_0x1f9070=this[_0x2a9b14(0x1f1)](_0x3a4a21);return _0x1f9070[_0x2a9b14(0x1c9)]=_0x127cee?.[_0x2a9b14(0x273)]||'',_0x1f9070;});}}),_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x203))[_0x4ae571(0x278)]({'model':de+_0x4ae571(0x1c6),'view':_0x5c9d7=>({'classes':_0x4ae571(0x1a1),'attributes':{'data-marker-id':_0x5c9d7[_0x4ae571(0x230)]}})}),_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x203))[_0x4ae571(0x278)]({'model':de+_0x4ae571(0x27e),'view':_0x446c27=>({'classes':_0x4ae571(0x269),'attributes':{'data-marker-id':_0x446c27[_0x4ae571(0x230)]}})}),_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x203))[_0x4ae571(0x278)]({'model':de+_0x4ae571(0x1c3),'view':_0x5ae5eb=>({'classes':_0x4ae571(0x1c8),'attributes':{'data-marker-id':_0x5ae5eb[_0x4ae571(0x230)]}})}),_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x1fb))[_0x4ae571(0x1c1)]({'model':de+_0x4ae571(0x19e),'view':(_0x248934,{writer:_0x4aaa22})=>_0x4aaa22[_0x4ae571(0x276)](_0x4ae571(0x1cc),{'class':_0x4ae571(0x1f4)+(_0x248934[_0x4ae571(0x1f3)]?_0x4ae571(0x25f):_0x4ae571(0x1f2))})}),_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x1ac))[_0x4ae571(0x212)]({'model':_0x55f6ff,'view':_0x3cec38}),this[_0x4ae571(0x27c)][_0x4ae571(0x1e4)](document,_0x4ae571(0x1f8),(_0x464f7b,_0x348b2a)=>{const _0x1beb57=_0x4ae571,_0x1e6f54=_0x348b2a[_0x1beb57(0x1dc)],_0x2fa966=this[_0x1beb57(0x26a)](_0x1e6f54);if(!_0x2fa966)return;const _0x24f62c=_0x2fa966[_0x1beb57(0x1fa)](_0x1beb57(0x1b7)),_0x3f0a8a=_0x24f62c[_0x1beb57(0x1ca)](':')[_0x1beb57(0x1b6)]()?.[_0x1beb57(0x1ca)]('_')[0x0];this[_0x1beb57(0x247)][_0x1beb57(0x201)](_0x1beb57(0x249),{'markerId':_0x24f62c,'changeId':_0x3f0a8a,'markerElement':_0x2fa966,'domEvent':_0x348b2a});}),this[_0x4ae571(0x27c)][_0x4ae571(0x1e4)](document,_0x4ae571(0x243),(_0x3e398d,_0x126d7b)=>{const _0x159f0d=_0x4ae571,_0x5e0cf2=_0x126d7b[_0x159f0d(0x1dc)],_0x5632ae=_0x126d7b[_0x159f0d(0x1b1)];let _0x1d6e63=this[_0x159f0d(0x26a)](_0x5e0cf2);if(!_0x1d6e63&&_0x5632ae&&(_0x1d6e63=this[_0x159f0d(0x26a)](_0x5632ae)),!_0x1d6e63)return;const _0x360496=_0x1d6e63[_0x159f0d(0x1fa)](_0x159f0d(0x1b7)),_0x4982fc=_0x360496[_0x159f0d(0x1ca)](':')[_0x159f0d(0x1b6)]()?.[_0x159f0d(0x1ca)]('_')[0x0];this[_0x159f0d(0x247)][_0x159f0d(0x201)](_0x159f0d(0x24a),{'changeId':_0x4982fc,'markerElement':_0x1d6e63,'domEvent':_0x126d7b});}),this[_0x4ae571(0x27c)][_0x4ae571(0x1e4)](document,_0x4ae571(0x243),_0x492144((_0xe94f71,_0x3634e5)=>{const _0x13cfc5=_0x4ae571,_0x5b476b=_0x3634e5[_0x13cfc5(0x1dc)];if(this[_0x13cfc5(0x26a)](_0x5b476b))return;_0x5b476b[_0x13cfc5(0x1d4)](_0x13cfc5(0x1c0))||this[_0x13cfc5(0x247)][_0x13cfc5(0x201)](_0x13cfc5(0x19c));},0xc8)),_0x1ef53c[_0x4ae571(0x210)][_0x4ae571(0x1a2)][_0x4ae571(0x198)](_0x59f577=>this[_0x4ae571(0x24c)](_0x1ef53c,_0x59f577)),_0x1ef53c[_0x4ae571(0x210)][_0x4ae571(0x1a2)]['on'](_0x4ae571(0x22c),()=>this[_0x4ae571(0x1c5)](_0x1ef53c));}[_0x3caf73(0x226)](){const _0x36f0f3=_0x3caf73,_0x34aa48=this[_0x36f0f3(0x21d)][_0x36f0f3(0x257)][_0x36f0f3(0x1b9)](_0x36f0f3(0x1e8)),_0x117fcd=_0x2e7d1e(this[_0x36f0f3(0x21d)]),_0x307ce8=_0x117fcd[_0x36f0f3(0x210)],_0x36b908=new _0x134207();for(const _0x32844c of _0x307ce8[_0x36f0f3(0x1a2)][_0x36f0f3(0x1cb)]()[_0x36f0f3(0x1a3)]()){const _0x4a1669=_0x32844c[_0x36f0f3(0x23b)](!0x0);_0x36b908[_0x36f0f3(0x1a8)](_0x4a1669);}for(const _0x1eb9bf of _0x307ce8[_0x36f0f3(0x20e)])_0x36b908[_0x36f0f3(0x20e)][_0x36f0f3(0x245)](_0x1eb9bf[_0x36f0f3(0x233)],this[_0x36f0f3(0x24d)](_0x1eb9bf[_0x36f0f3(0x228)]()[_0x36f0f3(0x1cd)](),_0x36b908));const _0x4dc49e=new _0x522e03({'ignoreElementEnd':!0x0,'startPosition':_0x307ce8[_0x36f0f3(0x1fd)](_0x36b908,0x0)}),_0x428257=new Set(),_0x50aedc=new Map();for(const {item:_0x12f1fd}of _0x4dc49e){if(!_0x12f1fd['is'](_0x36f0f3(0x244)))continue;const _0x4394f9=_0x12f1fd[_0x36f0f3(0x1d1)];if(_0x4394f9&&_0x4394f9['is'](_0x36f0f3(0x25c))){const _0xf9990d=this[_0x36f0f3(0x256)](_0x4394f9,()=>_0x34aa48[_0x36f0f3(0x1ea)](_0x428257));_0x428257[_0x36f0f3(0x1da)](_0xf9990d);for(const _0x1cc83c of _0x4394f9[_0x36f0f3(0x1a3)]())_0x1cc83c['is'](_0x36f0f3(0x25c))&&_0x428257[_0x36f0f3(0x1da)](this[_0x36f0f3(0x256)](_0x1cc83c,()=>_0x34aa48[_0x36f0f3(0x1ea)](_0x428257)));let _0x4024b9=_0x4394f9;for(;_0x4024b9[_0x36f0f3(0x1d1)]&&!_0x4024b9[_0x36f0f3(0x1d1)]['is'](_0x36f0f3(0x1b4));)_0x4024b9=_0x4024b9[_0x36f0f3(0x1d1)],_0x4024b9[_0x36f0f3(0x241)](_0x55f6ff)&&_0x4024b9[_0x36f0f3(0x272)](_0x55f6ff);_0x50aedc[_0x36f0f3(0x245)](_0xf9990d,{'path':_0x4394f9[_0x36f0f3(0x223)](),'getContent':this[_0x36f0f3(0x24f)](_0x4024b9[_0x36f0f3(0x23b)](!0x0),_0xf9990d,_0x117fcd[_0x36f0f3(0x250)])}),_0x4dc49e[_0x36f0f3(0x217)](_0x307ce8[_0x36f0f3(0x1e6)](_0x4394f9));}}return{'content':_0x117fcd[_0x36f0f3(0x250)][_0x36f0f3(0x1b3)][_0x36f0f3(0x1a6)](_0x117fcd[_0x36f0f3(0x250)][_0x36f0f3(0x19f)](_0x36b908)),'version':_0x117fcd[_0x36f0f3(0x210)][_0x36f0f3(0x1a2)][_0x36f0f3(0x260)],'elements':_0x50aedc};}[_0x3caf73(0x1ee)](_0x5d98fd,_0x480430){const _0x3bc787=_0x3caf73,_0x2a40f9=[],_0x321bbc=_0x2e7d1e(this[_0x3bc787(0x21d)]),_0x3d9211=_0x321bbc[_0x3bc787(0x250)][_0x3bc787(0x232)](_0x480430,_0x3bc787(0x216)),_0x44d1a0=_0x321bbc[_0x3bc787(0x250)][_0x3bc787(0x232)](_0x5d98fd,_0x3bc787(0x216)),_0x302b4c=_0x321bbc[_0x3bc787(0x210)][_0x3bc787(0x1fd)](_0x44d1a0,0x0);if(this[_0x3bc787(0x23e)](_0x3d9211)){if(!this[_0x3bc787(0x19a)](_0x44d1a0,_0x3d9211))return _0x2a40f9;}else{const _0x25df01=_0x321bbc[_0x3bc787(0x210)][_0x3bc787(0x215)];if(!this[_0x3bc787(0x259)](_0x44d1a0,_0x25df01)||!this[_0x3bc787(0x259)](_0x3d9211,_0x25df01))return _0x2a40f9;}const _0x59b2d3=this[_0x3bc787(0x21d)][_0x3bc787(0x257)][_0x3bc787(0x1b9)](_0x3bc787(0x26e))[_0x3bc787(0x279)](_0x5d98fd,_0x480430,{'anchor':_0x302b4c,'markDeletions':!0x0})[_0x3bc787(0x1bf)]()[_0x3bc787(0x213)](_0xc02c9b=>_0x3bc787(0x1d0)===_0xc02c9b[_0x3bc787(0x194)]||_0x3bc787(0x199)===_0xc02c9b[_0x3bc787(0x194)]&&_0xc02c9b[_0x3bc787(0x233)][_0x3bc787(0x205)](_0x3bc787(0x1a5))),_0x70ffec=this[_0x3bc787(0x1b0)](_0x59b2d3);let _0x5a8925=0x0;return _0x321bbc[_0x3bc787(0x210)][_0x3bc787(0x22c)](_0x2106c4=>{const _0x539e83=_0x3bc787;for(let _0x169116=0x0;_0x169116<_0x70ffec[_0x539e83(0x191)];_0x169116++){const _0x12ac44=_0x70ffec[_0x169116],_0x4f5e28=_0x2106c4[_0x539e83(0x1b2)]();for(const _0x18a1ab of _0x44d1a0[_0x539e83(0x1a3)]())_0x2106c4[_0x539e83(0x220)](_0x18a1ab[_0x539e83(0x23b)](!0x0),_0x4f5e28);for(const _0x4beb8a of _0x12ac44[_0x539e83(0x1cf)])if(_0x539e83(0x1d0)===_0x4beb8a[_0x539e83(0x194)]){const _0x2645db=_0x4beb8a;_0x2645db[_0x539e83(0x242)]=null,_0x2645db[_0x539e83(0x1a4)]=!0x1,this[_0x539e83(0x1a9)](_0x2645db,_0x4f5e28),_0x2106c4[_0x539e83(0x1ba)][_0x539e83(0x193)](_0x4beb8a),_0x321bbc[_0x539e83(0x210)][_0x539e83(0x1f5)](_0x4beb8a);const _0x42cd9a=_0x539e83(0x1e2)+_0x5a8925++,_0x50453f=_0x321bbc[_0x539e83(0x210)][_0x539e83(0x271)](_0x2645db[_0x539e83(0x262)],_0x2645db[_0x539e83(0x262)][_0x539e83(0x196)](_0x2645db[_0x539e83(0x21b)]));_0x4f5e28[_0x539e83(0x20e)][_0x539e83(0x245)](_0x42cd9a,_0x50453f);}else{if(_0x539e83(0x199)===_0x4beb8a[_0x539e83(0x194)]&&_0x4beb8a[_0x539e83(0x233)][_0x539e83(0x205)](_0x539e83(0x1a5))){const _0x40eb74=_0x4beb8a,_0x184b68=_0x539e83(0x1e5)+_0x5a8925++;this[_0x539e83(0x1a9)](_0x40eb74,_0x4f5e28),_0x4f5e28[_0x539e83(0x20e)][_0x539e83(0x245)](_0x184b68,_0x40eb74[_0x539e83(0x258)]);}}const _0x3bbf47=this[_0x539e83(0x253)](this[_0x539e83(0x27f)](this[_0x539e83(0x1f6)](_0x12ac44[_0x539e83(0x1cf)][0x0]),_0x4f5e28),this[_0x539e83(0x27f)](this[_0x539e83(0x22b)](_0x12ac44[_0x539e83(0x1cf)][_0x12ac44[_0x539e83(0x1cf)][_0x539e83(0x191)]-0x1]),_0x4f5e28));_0x4f5e28[_0x539e83(0x20e)][_0x539e83(0x245)](de+_0x539e83(0x19e),new _0x2e208d(_0x3bbf47[_0x539e83(0x25f)],_0x3bbf47[_0x539e83(0x1f2)])),_0x2a40f9[_0x539e83(0x20b)]({..._0x12ac44,'context':this[_0x539e83(0x1ab)](_0x4f5e28,_0x321bbc[_0x539e83(0x250)],{'ellipsisBefore':_0x3bbf47[_0x539e83(0x1c2)],'ellipsisAfter':_0x3bbf47[_0x539e83(0x255)]}),'content':this[_0x539e83(0x211)](_0x4f5e28,_0x321bbc[_0x539e83(0x250)])});}}),_0x2a40f9;}[_0x3caf73(0x190)](_0x523245,_0x36487e){const _0x1d30b7=_0x3caf73;if(!_0x523245[_0x1d30b7(0x191)])return;const _0x1897d8=_0x523245[0x0][_0x1d30b7(0x1d1)]['id'],_0x299bf1=_0x36487e[_0x1d30b7(0x1dd)][_0x1d30b7(0x1b9)](_0x1897d8);if(!_0x299bf1)return void console[_0x1d30b7(0x1fc)](_0x1d30b7(0x237)+_0x1897d8);const _0xfb945d=_0x299bf1[_0x1d30b7(0x21e)],_0x3af439=_0x2e7d1e(this[_0x1d30b7(0x21d)]),_0x37c756=_0x3af439[_0x1d30b7(0x210)][_0x1d30b7(0x1a2)][_0x1d30b7(0x1db)][_0x1d30b7(0x1bf)](_0x36487e[_0x1d30b7(0x260)]),_0x4ba75b=[];for(const _0x28292a of _0x523245){const _0x8fd905=_0x28292a[_0x1d30b7(0x1cf)][_0x1d30b7(0x222)](_0x314ecc=>this[_0x1d30b7(0x219)](_0x314ecc,_0xfb945d,_0x3af439[_0x1d30b7(0x210)][_0x1d30b7(0x1a2)][_0x1d30b7(0x1de)]()[0x0]));if(!_0x8fd905||!_0x8fd905[_0x1d30b7(0x191)])continue;const _0x44a8d2=_0x8fd905[_0x1d30b7(0x18d)](_0x4cebee=>_0x1d30b7(0x199)===_0x4cebee[_0x1d30b7(0x194)]&&_0x4cebee[_0x1d30b7(0x233)][_0x1d30b7(0x205)](_0x1d30b7(0x1a5))),_0x26b88b={'document':_0x3af439[_0x1d30b7(0x210)][_0x1d30b7(0x1a2)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4de893=_0x35b096(_0x8fd905,_0x37c756,_0x26b88b)[_0x1d30b7(0x25b)];for(const _0x9f0b5 of _0x4de893)if(_0x1d30b7(0x1d0)===_0x9f0b5[_0x1d30b7(0x194)]){const _0x1f0983=_0x9f0b5,_0x5517a2=_0x1f0983[_0x1d30b7(0x200)];let _0x5d029c='';for(const _0xa7b40b of _0x5517a2)_0xa7b40b&&_0xa7b40b['is'](_0x1d30b7(0x240))&&(_0x5d029c+=_0xa7b40b[_0x1d30b7(0x250)]);_0x4ba75b[_0x1d30b7(0x20b)]({'start':_0x1f0983[_0x1d30b7(0x262)],'end':_0x1f0983[_0x1d30b7(0x262)],'type':_0x1d30b7(0x1d0),'groupId':_0x28292a['id'],'text':_0x5d029c});}else{if(_0x1d30b7(0x199)===_0x9f0b5[_0x1d30b7(0x194)]&&_0x9f0b5[_0x1d30b7(0x233)][_0x1d30b7(0x205)](_0x1d30b7(0x1a5))){const _0x47b83b=_0x9f0b5;let _0x1247f0=_0x1d30b7(0x1c3);if(_0x44a8d2){const _0x193f48=this[_0x1d30b7(0x24e)](_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x25f)],_0x1d30b7(0x1e3),_0x3af439[_0x1d30b7(0x210)][_0x1d30b7(0x215)]),_0x45b2a0=this[_0x1d30b7(0x24e)](_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x1f2)],_0x1d30b7(0x1c7),_0x3af439[_0x1d30b7(0x210)][_0x1d30b7(0x215)]);if(_0x193f48||_0x45b2a0){const _0x2096a4=_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x25f)][_0x1d30b7(0x196)](-_0x193f48),_0xf959e7=_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x1f2)][_0x1d30b7(0x196)](_0x45b2a0);_0x4ba75b[_0x1d30b7(0x20b)]({'start':_0x2096a4,'end':_0xf959e7,'groupId':_0x28292a['id'],'type':_0x1d30b7(0x27e)});}else _0x1247f0=_0x1d30b7(0x1c6);}_0x4ba75b[_0x1d30b7(0x20b)]({'start':_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x25f)],'end':_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x1f2)],'groupId':_0x28292a['id'],'type':_0x1247f0});}}}this[_0x1d30b7(0x26b)](_0x4ba75b);}[_0x3caf73(0x218)](){const _0xc232f6=_0x3caf73,_0x511adc=_0x2e7d1e(this[_0xc232f6(0x21d)]);_0x511adc[_0xc232f6(0x210)][_0xc232f6(0x22c)](_0x331f55=>{const _0x58ece8=_0xc232f6;for(const _0x42b416 of this[_0x58ece8(0x275)][_0x58ece8(0x27b)]())_0x511adc[_0x58ece8(0x210)][_0x58ece8(0x20e)][_0x58ece8(0x1b9)](_0x42b416)&&_0x331f55[_0x58ece8(0x1ae)](_0x42b416);}),this[_0xc232f6(0x275)][_0xc232f6(0x248)]();}[_0x3caf73(0x20f)](){const _0x5247ed=_0x3caf73;_0x2e7d1e(this[_0x5247ed(0x21d)])[_0x5247ed(0x1ff)](_0x5247ed(0x22d));}[_0x3caf73(0x195)](){const _0xb5baf1=_0x3caf73;_0x2e7d1e(this[_0xb5baf1(0x21d)])[_0xb5baf1(0x246)](_0xb5baf1(0x22d));}[_0x3caf73(0x1ad)](_0x5d5461){const _0x13a832=_0x3caf73,_0x35a0b5=_0x2e7d1e(this[_0x13a832(0x21d)]),_0x548901=_0x35a0b5[_0x13a832(0x210)],_0x495e88=_0x5d5461[_0x13a832(0x222)](_0x4660f9=>this[_0x13a832(0x227)](_0x4660f9))[_0x13a832(0x229)]();_0x548901[_0x13a832(0x22c)](_0x18b5aa=>{const _0xd2977c=_0x13a832;for(const _0x33e924 of _0x495e88){const _0x3c37e5=_0x35a0b5[_0xd2977c(0x210)][_0xd2977c(0x20e)][_0xd2977c(0x1b9)](_0x33e924['id']);_0x3c37e5&&(_0xd2977c(0x1d0)===_0x33e924[_0xd2977c(0x194)]?_0x548901[_0xd2977c(0x26d)](_0x18b5aa[_0xd2977c(0x231)](_0x33e924[_0xd2977c(0x273)]||''),_0x3c37e5[_0xd2977c(0x228)]()[_0xd2977c(0x25f)]):_0xd2977c(0x1c3)!==_0x33e924[_0xd2977c(0x194)]&&_0xd2977c(0x1c6)!==_0x33e924[_0xd2977c(0x194)]||_0x548901[_0xd2977c(0x27a)](_0x548901[_0xd2977c(0x197)](_0x3c37e5[_0xd2977c(0x228)]())),_0x18b5aa[_0xd2977c(0x1ae)](_0x33e924['id']),this[_0xd2977c(0x275)][_0xd2977c(0x263)](_0x33e924['id']));}});}[_0x3caf73(0x23c)](_0x13e743){const _0x23b7e5=_0x3caf73,_0x1cdf25=_0x2e7d1e(this[_0x23b7e5(0x21d)]),_0x5f1c79=this[_0x23b7e5(0x227)](_0x13e743);_0x1cdf25[_0x23b7e5(0x210)][_0x23b7e5(0x22c)](_0x277746=>{const _0x24a490=_0x23b7e5;for(const _0x496c74 of _0x5f1c79)_0x277746[_0x24a490(0x1ae)](_0x496c74['id']),this[_0x24a490(0x275)][_0x24a490(0x263)](_0x496c74['id']);});}[_0x3caf73(0x268)](){const _0x3c83d7=_0x3caf73;return _0x2e7d1e(this[_0x3c83d7(0x21d)]);}[_0x3caf73(0x1e1)](_0xe2a509){const _0x2b7ed7=_0x3caf73,_0xa07a43=Array[_0x2b7ed7(0x22a)](this[_0x2b7ed7(0x275)][_0x2b7ed7(0x1af)]())[_0x2b7ed7(0x213)](_0x133e5b=>_0x133e5b[_0x2b7ed7(0x1ce)]===_0xe2a509);if(!_0xa07a43[_0x2b7ed7(0x191)])return null;const _0x4a2d76=0x1===_0xa07a43[_0x2b7ed7(0x191)]?_0xa07a43[0x0]:this[_0x2b7ed7(0x208)](_0xa07a43)[0x0],_0x229dad=_0x2e7d1e(this[_0x2b7ed7(0x21d)]),_0x399b4a=_0x229dad[_0x2b7ed7(0x210)][_0x2b7ed7(0x20e)][_0x2b7ed7(0x1b9)](_0x4a2d76['id']);if(!_0x399b4a)return null;const _0x28901c=_0x399b4a[_0x2b7ed7(0x228)](),_0x1d2944=_0x229dad[_0x2b7ed7(0x221)][_0x2b7ed7(0x277)][_0x2b7ed7(0x21f)]();if(!_0x1d2944||!_0x28901c)return null;const _0x1ecd8a=_0x1d2944[_0x2b7ed7(0x1df)](_0x2b7ed7(0x1ec)+_0x4a2d76['id']+'\x22]');return _0x1ecd8a?{'modelRange':_0x28901c,'domElement':_0x1ecd8a}:null;}[_0x3caf73(0x24c)](_0x4ba54c,_0x15e787){const _0xbcb86b=_0x3caf73,_0x4d7db7=Array[_0xbcb86b(0x22a)](this[_0xbcb86b(0x275)][_0xbcb86b(0x27b)]()),_0x481826=new Map();for(const _0x1cdd14 of _0x4d7db7){const _0x13e3fa=_0x4ba54c[_0xbcb86b(0x210)][_0xbcb86b(0x20e)][_0xbcb86b(0x1b9)](_0x1cdd14);if(!_0x13e3fa)continue;const _0x31df0f=_0x13e3fa[_0xbcb86b(0x23a)]()[_0xbcb86b(0x21e)][0x0];_0x481826[_0xbcb86b(0x1be)](_0x31df0f)||_0x481826[_0xbcb86b(0x245)](_0x31df0f,[]),_0x481826[_0xbcb86b(0x1b9)](_0x31df0f)[_0xbcb86b(0x20b)](_0x13e3fa);}const _0x177d41=new Set();for(const _0x251461 of _0x4ba54c[_0xbcb86b(0x210)][_0xbcb86b(0x1a2)][_0xbcb86b(0x20a)][_0xbcb86b(0x265)]()){let _0x4d7c97=-0x1,_0x90c26c=null;if(_0xbcb86b(0x1d0)===_0x251461[_0xbcb86b(0x194)])_0x90c26c=new _0x2e208d(_0x251461[_0xbcb86b(0x262)],_0x251461[_0xbcb86b(0x262)][_0xbcb86b(0x196)](_0x251461[_0xbcb86b(0x191)])),_0x4d7c97=_0x251461[_0xbcb86b(0x262)][_0xbcb86b(0x21e)][0x0];else{if(_0xbcb86b(0x1b8)!==_0x251461[_0xbcb86b(0x194)])continue;_0x90c26c=new _0x2e208d(_0x251461[_0xbcb86b(0x262)]),_0x4d7c97=_0x251461[_0xbcb86b(0x262)][_0xbcb86b(0x21e)][0x0];}const _0x3b8ba3=_0x481826[_0xbcb86b(0x1b9)](_0x4d7c97)||[];if(_0x3b8ba3[_0xbcb86b(0x191)]){for(const _0x23da5a of _0x3b8ba3)if(_0x90c26c[_0xbcb86b(0x225)][_0xbcb86b(0x267)]===_0x23da5a[_0xbcb86b(0x228)]()[_0xbcb86b(0x225)][_0xbcb86b(0x267)]&&(_0xbcb86b(0x1d0)!==_0x251461[_0xbcb86b(0x194)]||!_0x90c26c[_0xbcb86b(0x204)](_0x23da5a[_0xbcb86b(0x228)]()))&&(_0x90c26c[_0xbcb86b(0x18f)](_0x23da5a[_0xbcb86b(0x228)]())||_0x90c26c[_0xbcb86b(0x25f)][_0xbcb86b(0x1f9)](_0x23da5a[_0xbcb86b(0x228)]()[_0xbcb86b(0x1f2)])||_0x90c26c[_0xbcb86b(0x1f2)][_0xbcb86b(0x1f9)](_0x23da5a[_0xbcb86b(0x228)]()[_0xbcb86b(0x25f)]))){const _0x15345c=this[_0xbcb86b(0x209)](_0x23da5a[_0xbcb86b(0x233)]);Array[_0xbcb86b(0x22a)](this[_0xbcb86b(0x275)][_0xbcb86b(0x1af)]())[_0xbcb86b(0x213)](_0x54578d=>_0x54578d[_0xbcb86b(0x1ce)]===_0x15345c[_0xbcb86b(0x1ce)])[_0xbcb86b(0x20c)](_0x5c2f67=>_0x177d41[_0xbcb86b(0x1da)](_0x5c2f67['id']));}}}if(_0x177d41[_0xbcb86b(0x236)]){for(const _0x551fe9 of _0x177d41)_0x15e787[_0xbcb86b(0x1ae)](_0x551fe9);return!0x0;}return!0x1;}[_0x3caf73(0x1c5)](_0x370085){const _0x3cfff9=_0x3caf73;for(const {name:_0x1f2cc6,data:_0x5a1c93}of _0x370085[_0x3cfff9(0x210)][_0x3cfff9(0x1a2)][_0x3cfff9(0x20a)][_0x3cfff9(0x1a0)]()){if(!_0x1f2cc6[_0x3cfff9(0x205)](de))continue;const _0x570334=_0x5a1c93[_0x3cfff9(0x1d3)],_0x293e8c=_0x5a1c93[_0x3cfff9(0x258)],_0x226d5e=_0x570334&&_0x3cfff9(0x23f)===_0x570334[_0x3cfff9(0x225)][_0x3cfff9(0x267)],_0x46e2f9=_0x293e8c&&_0x3cfff9(0x23f)===_0x293e8c[_0x3cfff9(0x225)][_0x3cfff9(0x267)];if(_0x226d5e&&_0x46e2f9)continue;const _0x309145=this[_0x3cfff9(0x209)](_0x1f2cc6);this[_0x3cfff9(0x275)][_0x3cfff9(0x1b9)](_0x1f2cc6)&&(_0x46e2f9||!_0x293e8c?this[_0x3cfff9(0x247)][_0x3cfff9(0x201)](_0x3cfff9(0x21c),{'markerId':_0x1f2cc6,'changeId':_0x309145[_0x3cfff9(0x1ce)]}):_0x226d5e&&_0x293e8c&&this[_0x3cfff9(0x247)][_0x3cfff9(0x201)](_0x3cfff9(0x1e7),{'markerId':_0x1f2cc6,'changeId':_0x309145[_0x3cfff9(0x1ce)]}));}}[_0x3caf73(0x209)](_0x3b9089){const _0x46d2d0=_0x3caf73,_0x2ecc12=_0x3b9089[_0x46d2d0(0x1ca)](':'),_0x4f2172=(_0x2ecc12[0x1]||'')[_0x46d2d0(0x1ca)]('_');return{'prefix':_0x2ecc12[0x0],'groupId':_0x4f2172[0x0],'suffix':_0x4f2172[0x1]};}[_0x3caf73(0x219)](_0x34a350,_0x2c2e3e,_0x3f937b){const _0x598c19=_0x3caf73;if(_0x598c19(0x1d0)===_0x34a350[_0x598c19(0x194)]){const _0x2e1dbc=_0x34a350;return new _0x1ba194(this[_0x598c19(0x1fe)](_0x2c2e3e[_0x598c19(0x1d8)](_0x2e1dbc[_0x598c19(0x262)][_0x598c19(0x19d)]),_0x3f937b),_0x2e1dbc[_0x598c19(0x200)],_0x2e1dbc[_0x598c19(0x242)]);}if(_0x598c19(0x199)===_0x34a350[_0x598c19(0x194)]&&_0x34a350[_0x598c19(0x233)][_0x598c19(0x205)](_0x598c19(0x1a5))){const _0x4b1b94=_0x34a350;return new _0xaffd1c(_0x4b1b94[_0x598c19(0x233)],_0x4b1b94[_0x598c19(0x1d3)],this[_0x598c19(0x270)](_0x4b1b94[_0x598c19(0x258)],_0x2c2e3e[_0x598c19(0x1d8)](_0x4b1b94[_0x598c19(0x258)][_0x598c19(0x25f)][_0x598c19(0x19d)]),_0x2c2e3e[_0x598c19(0x1d8)](_0x4b1b94[_0x598c19(0x258)][_0x598c19(0x1f2)][_0x598c19(0x19d)]),_0x3f937b),_0x4b1b94[_0x598c19(0x275)],_0x4b1b94[_0x598c19(0x21a)],_0x4b1b94[_0x598c19(0x242)]);}return _0x34a350;}[_0x3caf73(0x1b0)](_0x1129f2){const _0x2b5d35=_0x3caf73;if(!_0x1129f2[_0x2b5d35(0x191)])return[];const _0x61e0c4=[];let _0x43f07b=0x0,_0x2c5b24=0x0,_0x4a82fa=[];for(let _0x1048ec=0x0;_0x1048ec<=_0x1129f2[_0x2b5d35(0x191)];_0x1048ec++){const _0x140fca=_0x1129f2[_0x1048ec],_0x13df62=_0x1129f2[_0x1048ec-0x1];!_0x140fca||_0x13df62&&!this[_0x2b5d35(0x22b)](_0x13df62)[_0x2b5d35(0x1f9)](this[_0x2b5d35(0x1f6)](_0x140fca))?(_0x61e0c4[_0x2b5d35(0x20b)]({'operations':_0x4a82fa,'operationsIsolated':_0x4a82fa[_0x2b5d35(0x222)](_0x1c6181=>this[_0x2b5d35(0x1f7)](_0x1c6181[_0x2b5d35(0x1cd)](),-_0x2c5b24)),'groupOffset':_0x43f07b}),_0x4a82fa=_0x140fca?[_0x140fca]:[],_0x2c5b24+=_0x43f07b,_0x43f07b=0x0):_0x4a82fa[_0x2b5d35(0x20b)](_0x140fca),_0x140fca&&_0x2b5d35(0x1d0)===_0x140fca[_0x2b5d35(0x194)]&&(_0x43f07b+=_0x140fca[_0x2b5d35(0x21b)]);}return _0x61e0c4;}[_0x3caf73(0x24e)](_0x17728e,_0x1ee68f,_0x38555a,_0x16cced=0x1){const _0x441ee1=_0x3caf73,_0xfda024=new _0x522e03({'startPosition':_0x17728e,'direction':_0x1ee68f});let _0x15d719=0x0;for(let _0x1e3898=0x0;_0x1e3898<_0x16cced;_0x1e3898++){let _0x45de48=0x0,_0x43b494=!0x1,_0x116900=_0x441ee1(0x1c7)===_0x1ee68f?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x426aeb}of _0xfda024)if(_0x426aeb['is'](_0x441ee1(0x244))){const _0x3045cd=_0x116900[_0x441ee1(0x1bb)](_0x426aeb[_0x441ee1(0x250)]);if(_0x3045cd&&_0x3045cd[_0x441ee1(0x191)]){if(_0x45de48+=_0x441ee1(0x1c7)===_0x1ee68f?_0x3045cd[_0x441ee1(0x261)]+_0x3045cd[0x0][_0x441ee1(0x191)]:_0x426aeb[_0x441ee1(0x250)][_0x441ee1(0x191)]-_0x3045cd[_0x441ee1(0x261)],_0x3045cd[0x0][_0x441ee1(0x191)]!==_0x426aeb[_0x441ee1(0x250)][_0x441ee1(0x191)])break;_0x43b494=!0x0,_0x116900=_0x441ee1(0x1c7)===_0x1ee68f?/^\w+/:/\w+$/;}else{if(_0x43b494)break;_0x45de48+=_0x426aeb[_0x441ee1(0x192)];}}else{if(_0x426aeb['is'](_0x441ee1(0x25c))){_0x38555a[_0x441ee1(0x1d5)](_0x426aeb)&&!_0x43b494&&(_0x45de48+=0x1);break;}}_0x15d719+=_0x45de48,_0xfda024[_0x441ee1(0x217)](_0x17728e[_0x441ee1(0x196)](_0x441ee1(0x1c7)===_0x1ee68f?_0x15d719:-_0x15d719));}return _0x15d719;}[_0x3caf73(0x253)](_0x4b85a0,_0x3ecfa6){const _0x474723=_0x3caf73,_0x1e2261=_0x2e7d1e(this[_0x474723(0x21d)])[_0x474723(0x210)][_0x474723(0x215)],_0x5c786f=this[_0x474723(0x24e)](_0x4b85a0,_0x474723(0x1e3),_0x1e2261,0x6),_0x52d922=this[_0x474723(0x24e)](_0x3ecfa6,_0x474723(0x1c7),_0x1e2261,0x6),_0x312692=_0x4b85a0[_0x474723(0x196)](-_0x5c786f),_0x591d48=_0x3ecfa6[_0x474723(0x196)](_0x52d922);return{'start':_0x312692,'end':_0x591d48,'hasContentBefore':!_0x312692[_0x474723(0x1ed)],'hasContentAfter':!_0x591d48[_0x474723(0x202)]};}[_0x3caf73(0x26b)](_0x49a057){const _0x4a5ade=_0x3caf73,_0x55a709=this[_0x4a5ade(0x21d)][_0x4a5ade(0x257)][_0x4a5ade(0x1b9)](_0x4a5ade(0x1e8)),_0x51639d=new Set();_0x2e7d1e(this[_0x4a5ade(0x21d)])[_0x4a5ade(0x210)][_0x4a5ade(0x22c)](_0x340532=>{const _0x53e430=_0x4a5ade;for(const _0x3a0a79 of _0x49a057){const _0x39512d=''+de+_0x3a0a79[_0x53e430(0x194)]+':'+_0x3a0a79[_0x53e430(0x1ce)]+'_'+_0x55a709[_0x53e430(0x1ea)](_0x51639d);this[_0x53e430(0x275)][_0x53e430(0x245)](_0x39512d,{'id':_0x39512d,'groupId':_0x3a0a79[_0x53e430(0x1ce)],'type':_0x3a0a79[_0x53e430(0x194)],'text':_0x3a0a79[_0x53e430(0x273)]}),_0x340532[_0x53e430(0x20d)](_0x39512d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x340532[_0x53e430(0x271)](_0x3a0a79[_0x53e430(0x25f)],_0x3a0a79[_0x53e430(0x1f2)])});}});}[_0x3caf73(0x1ab)](_0x25134d,_0x2aa4c6,_0x1fc89a){let _0x3e7f48='';return()=>{const _0x11a971=_0x43ee;if(!_0x3e7f48){const _0x398e3e=_0x2aa4c6[_0x11a971(0x19f)](_0x25134d,{'showSuggestionHighlights':!0x0});let _0x2516bb=_0x398e3e[_0x11a971(0x18e)](0x0);if(_0x2516bb['is'](_0x11a971(0x252))||(_0x2516bb=_0x398e3e),!_0x2516bb)return'';let _0x1d0f42=!0x1;const _0x2fe17d=[];for(const _0x19865a of _0x2516bb[_0x11a971(0x1a3)]())_0x19865a['is'](_0x11a971(0x25c),_0x11a971(0x1cc))&&_0x19865a[_0x11a971(0x25a)](_0x11a971(0x1e0))&&(_0x1d0f42=!0x1),_0x1d0f42&&_0x2fe17d[_0x11a971(0x20b)](_0x19865a),_0x19865a['is'](_0x11a971(0x25c),_0x11a971(0x1cc))&&_0x19865a[_0x11a971(0x25a)](_0x11a971(0x26c))&&(_0x1d0f42=!0x0);_0x2516bb[_0x11a971(0x22e)](0x0,_0x2516bb[_0x11a971(0x238)]),_0x1fc89a?.[_0x11a971(0x274)]&&_0x2516bb[_0x11a971(0x1a8)]('…'),_0x2516bb[_0x11a971(0x1a8)](_0x2fe17d),_0x1fc89a?.[_0x11a971(0x25e)]&&_0x2516bb[_0x11a971(0x1a8)]('…');const _0x5849b0=_0x2aa4c6[_0x11a971(0x18c)][_0x11a971(0x1f0)][_0x11a971(0x22f)](_0x398e3e),_0x22d7bc=_0x2aa4c6[_0x11a971(0x18c)][_0x11a971(0x1d2)][_0x11a971(0x251)](_0x5849b0);_0x3e7f48=_0x22d7bc;}return _0x3e7f48;};}[_0x3caf73(0x211)](_0x5bc5d5,_0xa560ca){const _0x430e7d=_0x3caf73;let _0x18aebf='';return()=>(_0x18aebf||(_0x18aebf=_0xa560ca[_0x430e7d(0x1aa)](_0x5bc5d5,{'showSuggestionHighlights':!0x0})),_0x18aebf);}[_0x3caf73(0x24f)](_0x722669,_0x9e335a,_0x12897b){let _0x5cc871='';return()=>{const _0x2a6115=_0x43ee;if(!_0x5cc871){const _0x2cd130=_0x12897b[_0x2a6115(0x19f)](new _0x134207(_0x722669)),_0x470ca1=_0x12897b[_0x2a6115(0x18c)][_0x2a6115(0x1f0)][_0x2a6115(0x22f)](_0x2cd130)[_0x2a6115(0x1df)](_0x2a6115(0x1bc)+_0x9e335a+'\x22]');_0x5cc871=_0x470ca1?.[_0x2a6115(0x1ef)]||'';}return _0x5cc871;};}[_0x3caf73(0x26a)](_0x11b3ef,_0x4563fc=0x5){const _0x26b5d4=_0x3caf73;let _0x3604b3=_0x11b3ef,_0x41122e=null;for(let _0x4a2248=0x0;_0x4a2248<_0x4563fc&&_0x3604b3;_0x4a2248++){if(!_0x3604b3[_0x26b5d4(0x26f)]){_0x3604b3=_0x3604b3[_0x26b5d4(0x1eb)];continue;}if(!(''+_0x3604b3[_0x26b5d4(0x26f)])[_0x26b5d4(0x266)](_0x26b5d4(0x1d6))){_0x3604b3=_0x3604b3[_0x26b5d4(0x1eb)];continue;}if(!_0x3604b3[_0x26b5d4(0x1fa)](_0x26b5d4(0x1b7)))break;_0x41122e=_0x3604b3;break;}return _0x41122e;}[_0x3caf73(0x227)](_0x2f6433){const _0x1dddf7=_0x3caf73;return Array[_0x1dddf7(0x22a)](this[_0x1dddf7(0x275)][_0x1dddf7(0x1af)]())[_0x1dddf7(0x213)](_0xe24752=>_0xe24752[_0x1dddf7(0x1ce)]===_0x2f6433);}[_0x3caf73(0x1f6)](_0x28c78c){const _0x522ce5=_0x3caf73;return _0x522ce5(0x1d0)===_0x28c78c[_0x522ce5(0x194)]?_0x28c78c[_0x522ce5(0x262)]:_0x28c78c[_0x522ce5(0x258)][_0x522ce5(0x25f)];}[_0x3caf73(0x22b)](_0x270726,_0x3f166a=!0x1){const _0x2d6398=_0x3caf73;return _0x2d6398(0x1d0)===_0x270726[_0x2d6398(0x194)]?_0x3f166a?_0x270726[_0x2d6398(0x262)]:_0x270726[_0x2d6398(0x262)][_0x2d6398(0x196)](_0x270726[_0x2d6398(0x21b)]):_0x270726[_0x2d6398(0x258)][_0x2d6398(0x1f2)];}[_0x3caf73(0x1f7)](_0x2861e1,_0x548328){const _0x367555=_0x3caf73;return _0x367555(0x1d0)===_0x2861e1[_0x367555(0x194)]?_0x2861e1[_0x367555(0x262)]=_0x2861e1[_0x367555(0x262)][_0x367555(0x196)](_0x548328):_0x367555(0x199)===_0x2861e1[_0x367555(0x194)]&&_0x2861e1[_0x367555(0x258)]&&(_0x2861e1[_0x367555(0x258)]=new _0x2e208d(_0x2861e1[_0x367555(0x258)][_0x367555(0x25f)][_0x367555(0x196)](_0x548328),_0x2861e1[_0x367555(0x258)][_0x367555(0x1f2)][_0x367555(0x196)](_0x548328))),_0x2861e1;}[_0x3caf73(0x1a9)](_0x39eb38,_0x4a56e9){const _0x4d5050=_0x3caf73;_0x4d5050(0x1d0)===_0x39eb38[_0x4d5050(0x194)]?_0x39eb38[_0x4d5050(0x262)]=this[_0x4d5050(0x27f)](_0x39eb38[_0x4d5050(0x262)],_0x4a56e9):_0x4d5050(0x199)===_0x39eb38[_0x4d5050(0x194)]&&_0x39eb38[_0x4d5050(0x258)]&&(_0x39eb38[_0x4d5050(0x258)]=this[_0x4d5050(0x24d)](_0x39eb38[_0x4d5050(0x258)],_0x4a56e9));}[_0x3caf73(0x27f)](_0x584c6e,_0x5f5d9e){const _0x45033c=_0x3caf73;return new _0x1196ee(_0x5f5d9e,_0x584c6e[_0x45033c(0x21e)]);}[_0x3caf73(0x24d)](_0x2b81ca,_0x149213){const _0x1be36b=_0x3caf73;return new _0x2e208d(this[_0x1be36b(0x27f)](_0x2b81ca[_0x1be36b(0x25f)],_0x149213),this[_0x1be36b(0x27f)](_0x2b81ca[_0x1be36b(0x1f2)],_0x149213));}[_0x3caf73(0x1fe)](_0x47d71a,_0x10b6d3){return new _0x1196ee(_0x10b6d3,[..._0x47d71a]);}[_0x3caf73(0x270)](_0x2865fc,_0x1726da,_0x595c39,_0x5d6eb8){const _0x335533=_0x3caf73;return new _0x2e208d(this[_0x335533(0x1fe)](_0x1726da,_0x5d6eb8),this[_0x335533(0x1fe)](_0x595c39,_0x5d6eb8));}[_0x3caf73(0x208)](_0x397ca3){const _0x1c5cb6=_0x3caf73,_0x104e9b=_0x10d0ec=>{const _0x2db8b8=_0x43ee;switch(_0x10d0ec){case _0x2db8b8(0x1d0):return 0x1;case _0x2db8b8(0x27e):return 0x2;case _0x2db8b8(0x1c6):return 0x3;case _0x2db8b8(0x1c3):return 0x4;}};return _0x397ca3[_0x1c5cb6(0x235)]((_0x11a2eb,_0xc22ff0)=>_0x104e9b(_0x11a2eb[_0x1c5cb6(0x194)])-_0x104e9b(_0xc22ff0[_0x1c5cb6(0x194)]));}[_0x3caf73(0x19a)](_0x474049,_0x137650){const _0xf797aa=_0x3caf73,_0x28de3d=_0x474049[_0xf797aa(0x18e)](0x0),_0x24a1df=_0x137650[_0xf797aa(0x18e)](0x0);return!(!_0x28de3d||!_0x24a1df)&&((!_0x28de3d['is'](_0xf797aa(0x25c))||!_0x24a1df['is'](_0xf797aa(0x25c))||_0x28de3d[_0xf797aa(0x233)]===_0x24a1df[_0xf797aa(0x233)])&&!(_0x28de3d['is'](_0xf797aa(0x25c))&&!_0x24a1df['is'](_0xf797aa(0x25c))||!_0x28de3d['is'](_0xf797aa(0x25c))&&_0x24a1df['is'](_0xf797aa(0x25c))));}[_0x3caf73(0x23e)](_0x5656e8){const _0x318e6f=_0x3caf73;return 0x1===_0x5656e8[_0x318e6f(0x238)];}[_0x3caf73(0x259)](_0x52b8f8,_0x5a7e2a){const _0x23bf07=_0x3caf73;for(const _0x2f30d9 of _0x52b8f8[_0x23bf07(0x1a3)]())if(_0x2f30d9['is'](_0x23bf07(0x25c))&&!_0x5a7e2a[_0x23bf07(0x1d5)](_0x2f30d9))return!0x1;return!0x0;}[_0x3caf73(0x256)](_0x3bbe84,_0x164cf5){const _0xd52d90=_0x3caf73;let _0x102f89=_0x3bbe84[_0xd52d90(0x1fa)](_0x55f6ff);return _0x102f89||(_0x102f89=_0x164cf5(),_0x3bbe84[_0xd52d90(0x1d7)](_0x55f6ff,_0x102f89)),_0x102f89;}}
23
+ const _0x3c1f46=_0x994b;(function(_0x3208de,_0x3977f8){const _0x2fe5e4=_0x994b,_0x21dd92=_0x3208de();while(!![]){try{const _0x3ffa1c=-parseInt(_0x2fe5e4(0x21b))/0x1*(-parseInt(_0x2fe5e4(0x144))/0x2)+-parseInt(_0x2fe5e4(0x1ff))/0x3+parseInt(_0x2fe5e4(0x13f))/0x4+-parseInt(_0x2fe5e4(0x173))/0x5+-parseInt(_0x2fe5e4(0x19f))/0x6+parseInt(_0x2fe5e4(0x1af))/0x7+-parseInt(_0x2fe5e4(0x139))/0x8;if(_0x3ffa1c===_0x3977f8)break;else _0x21dd92['push'](_0x21dd92['shift']());}catch(_0x5bace4){_0x21dd92['push'](_0x21dd92['shift']());}}}(_0xcf8f,0x7c701));import{InsertOperation as _0x5aa292,MarkerOperation as _0x3bd1f1,ModelDocumentFragment as _0x128885,ModelPosition as _0x2f6ba1,ModelRange as _0x127ae3,ModelTreeWalker as _0x34302f,transformOperationSets as _0x4ddfc7}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x5598bf,EmitterMixin as _0x20b06b}from'ckeditor5/src/utils.js';function _0x994b(_0x1cd1c3,_0x1d18c3){const _0xcf8f26=_0xcf8f();return _0x994b=function(_0x994b2d,_0xe2189e){_0x994b2d=_0x994b2d-0x127;let _0x406187=_0xcf8f26[_0x994b2d];return _0x406187;},_0x994b(_0x1cd1c3,_0x1d18c3);}import{ContextPlugin as _0x43be5a}from'ckeditor5/src/core.js';import{DocumentCompare as _0x34912a,DATA_ID_MODEL_ATTRIBUTE as _0x131629,DATA_ID_VIEW_ATTRIBUTE as _0x50abf9}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x3c844c}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x30f5ad}from'../aicore/aiediting.js';import{debounce as _0x51624f}from'es-toolkit/compat';const pe=_0x3c1f46(0x20b);export class AIReviewModeEditing extends _0x43be5a{static get[_0x3c1f46(0x1aa)](){const _0x509ddb=_0x3c1f46;return _0x509ddb(0x167);}static get[_0x3c1f46(0x1d1)](){return[_0x34912a,_0x30f5ad];}static get[_0x3c1f46(0x1a5)](){return!0x0;}static get[_0x3c1f46(0x1d8)](){return!0x0;}[_0x3c1f46(0x19b)]=new Map();[_0x3c1f46(0x1de)];[_0x3c1f46(0x128)];constructor(_0x267500){const _0x52e31d=_0x3c1f46;super(_0x267500),this[_0x52e31d(0x1de)]=new(_0x5598bf())(),this[_0x52e31d(0x128)]=new(_0x20b06b())();}get[_0x3c1f46(0x14e)](){const _0x34342a=_0x3c1f46;return this[_0x34342a(0x128)];}[_0x3c1f46(0x183)](){const _0xfc790f=_0x3c1f46,_0x2287b2=_0x3c844c(this[_0xfc790f(0x1ba)]);_0x2287b2[_0xfc790f(0x175)][_0xfc790f(0x1e4)](_0xfc790f(0x1e5))[_0xfc790f(0x16d)]({'model':pe+_0xfc790f(0x15a),'view':(_0x2a0ad0,{writer:_0x2a5fec})=>{const _0x38251c=_0xfc790f,_0x20a629=this[_0x38251c(0x19b)][_0x38251c(0x1c2)](_0x2a0ad0[_0x38251c(0x202)]),_0x4ab7dd={'class':_0x38251c(0x1d2),'data-marker-id':_0x2a0ad0[_0x38251c(0x202)]};return _0x2a5fec[_0x38251c(0x19d)](_0x38251c(0x148),_0x4ab7dd,function(_0x364591){const _0x4f1c1e=_0x38251c,_0x2cd6dd=this[_0x4f1c1e(0x1c9)](_0x364591);return _0x2cd6dd[_0x4f1c1e(0x161)]=_0x20a629?.[_0x4f1c1e(0x1c8)]||'',_0x2cd6dd;});}}),_0x2287b2[_0xfc790f(0x175)][_0xfc790f(0x1e4)](_0xfc790f(0x1e5))[_0xfc790f(0x12e)]({'model':pe+_0xfc790f(0x13e),'view':_0x110aed=>({'classes':_0xfc790f(0x1a1),'attributes':{'data-marker-id':_0x110aed[_0xfc790f(0x202)]}})}),_0x2287b2[_0xfc790f(0x175)][_0xfc790f(0x1e4)](_0xfc790f(0x1e5))[_0xfc790f(0x12e)]({'model':pe+_0xfc790f(0x169),'view':_0x2c1acb=>({'classes':_0xfc790f(0x1bb),'attributes':{'data-marker-id':_0x2c1acb[_0xfc790f(0x202)]}})}),_0x2287b2[_0xfc790f(0x175)][_0xfc790f(0x1e4)](_0xfc790f(0x1e5))[_0xfc790f(0x12e)]({'model':pe+_0xfc790f(0x19e),'view':_0x259123=>({'classes':_0xfc790f(0x140),'attributes':{'data-marker-id':_0x259123[_0xfc790f(0x202)]}})}),_0x2287b2[_0xfc790f(0x175)][_0xfc790f(0x1e4)](_0xfc790f(0x13c))[_0xfc790f(0x16d)]({'model':pe+_0xfc790f(0x1ed),'view':(_0x198be,{writer:_0x5815e3})=>_0x5815e3[_0xfc790f(0x18f)](_0xfc790f(0x148),{'class':_0xfc790f(0x15f)+(_0x198be[_0xfc790f(0x1f9)]?_0xfc790f(0x127):_0xfc790f(0x1e8))})}),_0x2287b2[_0xfc790f(0x175)][_0xfc790f(0x1e4)](_0xfc790f(0x1ca))[_0xfc790f(0x1a0)]({'model':_0x131629,'view':_0x50abf9}),this[_0xfc790f(0x1de)][_0xfc790f(0x12c)](document,_0xfc790f(0x218),(_0x2f92be,_0x53a333)=>{const _0x161770=_0xfc790f,_0x4a480b=_0x53a333[_0x161770(0x14c)],_0xb08b6d=this[_0x161770(0x207)](_0x4a480b);if(!_0xb08b6d)return;const _0x2c980e=_0xb08b6d[_0x161770(0x195)](_0x161770(0x1be)),_0x33372b=_0x2c980e[_0x161770(0x1a4)](':')[_0x161770(0x154)]()?.[_0x161770(0x1a4)]('_')[0x0];this[_0x161770(0x128)][_0x161770(0x145)](_0x161770(0x1d7),{'markerId':_0x2c980e,'changeId':_0x33372b,'markerElement':_0xb08b6d,'domEvent':_0x53a333});}),this[_0xfc790f(0x1de)][_0xfc790f(0x12c)](document,_0xfc790f(0x1fd),(_0x9ad249,_0x44726e)=>{const _0x426a79=_0xfc790f,_0x1ab2e1=_0x44726e[_0x426a79(0x14c)],_0x57fe5d=_0x44726e[_0x426a79(0x1a3)];let _0x4d6aa5=this[_0x426a79(0x207)](_0x1ab2e1);if(!_0x4d6aa5&&_0x57fe5d&&(_0x4d6aa5=this[_0x426a79(0x207)](_0x57fe5d)),!_0x4d6aa5)return;const _0x4c53c1=_0x4d6aa5[_0x426a79(0x195)](_0x426a79(0x1be)),_0xcaeafd=_0x4c53c1[_0x426a79(0x1a4)](':')[_0x426a79(0x154)]()?.[_0x426a79(0x1a4)]('_')[0x0];this[_0x426a79(0x128)][_0x426a79(0x145)](_0x426a79(0x21a),{'changeId':_0xcaeafd,'markerElement':_0x4d6aa5,'domEvent':_0x44726e});}),this[_0xfc790f(0x1de)][_0xfc790f(0x12c)](document,_0xfc790f(0x1fd),_0x51624f((_0x43c362,_0x7aa1a6)=>{const _0x1a78ad=_0xfc790f,_0x2b8296=_0x7aa1a6[_0x1a78ad(0x14c)];if(this[_0x1a78ad(0x207)](_0x2b8296))return;_0x2b8296[_0x1a78ad(0x1b3)](_0x1a78ad(0x184))||this[_0x1a78ad(0x128)][_0x1a78ad(0x145)](_0x1a78ad(0x142));},0xc8)),_0x2287b2[_0xfc790f(0x1c5)][_0xfc790f(0x152)][_0xfc790f(0x17d)](_0x54b4f4=>this[_0xfc790f(0x1df)](_0x2287b2,_0x54b4f4)),_0x2287b2[_0xfc790f(0x1c5)][_0xfc790f(0x152)]['on'](_0xfc790f(0x1cf),()=>this[_0xfc790f(0x159)](_0x2287b2));}[_0x3c1f46(0x14b)](){const _0x4a0fdc=_0x3c1f46,_0x36848f=this[_0x4a0fdc(0x1ba)][_0x4a0fdc(0x1d3)][_0x4a0fdc(0x1c2)](_0x4a0fdc(0x158)),_0x2dacef=_0x3c844c(this[_0x4a0fdc(0x1ba)]),_0x52a492=_0x2dacef[_0x4a0fdc(0x1c5)],_0x54eebb=new _0x128885();for(const _0xe6d47a of _0x52a492[_0x4a0fdc(0x152)][_0x4a0fdc(0x1e3)]()[_0x4a0fdc(0x1ce)]()){const _0x24e890=_0xe6d47a[_0x4a0fdc(0x14d)](!0x0);_0x54eebb[_0x4a0fdc(0x1db)](_0x24e890);}for(const _0x7a8427 of _0x52a492[_0x4a0fdc(0x1f6)])_0x54eebb[_0x4a0fdc(0x1f6)][_0x4a0fdc(0x1f1)](_0x7a8427[_0x4a0fdc(0x176)],this[_0x4a0fdc(0x14f)](_0x7a8427[_0x4a0fdc(0x166)]()[_0x4a0fdc(0x1dd)](),_0x54eebb));const _0x3d2b8e=new _0x34302f({'ignoreElementEnd':!0x0,'startPosition':_0x52a492[_0x4a0fdc(0x1ae)](_0x54eebb,0x0)}),_0x4f7eae=new Set(),_0x5d3ff4=new Map();for(const {item:_0x16bf63}of _0x3d2b8e){if(!_0x16bf63['is'](_0x4a0fdc(0x12f)))continue;const _0x2a05cf=_0x16bf63[_0x4a0fdc(0x191)];if(_0x2a05cf&&_0x2a05cf['is'](_0x4a0fdc(0x206))){const _0x450018=this[_0x4a0fdc(0x1b9)](_0x2a05cf,()=>_0x36848f[_0x4a0fdc(0x134)](_0x4f7eae));_0x4f7eae[_0x4a0fdc(0x15d)](_0x450018);for(const _0x209f7c of _0x2a05cf[_0x4a0fdc(0x1ce)]())_0x209f7c['is'](_0x4a0fdc(0x206))&&_0x4f7eae[_0x4a0fdc(0x15d)](this[_0x4a0fdc(0x1b9)](_0x209f7c,()=>_0x36848f[_0x4a0fdc(0x134)](_0x4f7eae)));let _0x5aec53=_0x2a05cf;for(;_0x5aec53[_0x4a0fdc(0x191)]&&!_0x5aec53[_0x4a0fdc(0x191)]['is'](_0x4a0fdc(0x197));)_0x5aec53=_0x5aec53[_0x4a0fdc(0x191)],_0x5aec53[_0x4a0fdc(0x205)](_0x131629)&&_0x5aec53[_0x4a0fdc(0x170)](_0x131629);_0x5d3ff4[_0x4a0fdc(0x1f1)](_0x450018,{'path':_0x2a05cf[_0x4a0fdc(0x194)](),'getContent':this[_0x4a0fdc(0x196)](_0x5aec53[_0x4a0fdc(0x14d)](!0x0),_0x450018,_0x2dacef[_0x4a0fdc(0x211)])}),_0x3d2b8e[_0x4a0fdc(0x156)](_0x52a492[_0x4a0fdc(0x186)](_0x2a05cf));}}return{'content':_0x2dacef[_0x4a0fdc(0x211)][_0x4a0fdc(0x165)][_0x4a0fdc(0x132)](_0x2dacef[_0x4a0fdc(0x211)][_0x4a0fdc(0x16a)](_0x54eebb)),'version':_0x2dacef[_0x4a0fdc(0x1c5)][_0x4a0fdc(0x152)][_0x4a0fdc(0x185)],'elements':_0x5d3ff4};}[_0x3c1f46(0x1dc)](_0x53c977,_0x38f9a6){const _0x59cc8d=_0x3c1f46,_0x111bda=[],_0x5c33d0=_0x3c844c(this[_0x59cc8d(0x1ba)]),_0x562159=_0x5c33d0[_0x59cc8d(0x211)][_0x59cc8d(0x208)](_0x38f9a6,_0x59cc8d(0x1fe)),_0x534fb3=_0x5c33d0[_0x59cc8d(0x211)][_0x59cc8d(0x208)](_0x53c977,_0x59cc8d(0x1fe)),_0x550f9f=_0x5c33d0[_0x59cc8d(0x1c5)][_0x59cc8d(0x1ae)](_0x534fb3,0x0);if(this[_0x59cc8d(0x1c1)](_0x562159)){if(!this[_0x59cc8d(0x17f)](_0x534fb3,_0x562159))return _0x111bda;}else{const _0x88812a=_0x5c33d0[_0x59cc8d(0x1c5)][_0x59cc8d(0x16f)];if(!this[_0x59cc8d(0x182)](_0x534fb3,_0x88812a)||!this[_0x59cc8d(0x182)](_0x562159,_0x88812a))return _0x111bda;}const _0xfe69d=this[_0x59cc8d(0x1ba)][_0x59cc8d(0x1d3)][_0x59cc8d(0x1c2)](_0x59cc8d(0x136))[_0x59cc8d(0x1b7)](_0x53c977,_0x38f9a6,{'anchor':_0x550f9f,'markDeletions':!0x0})[_0x59cc8d(0x1c4)]()[_0x59cc8d(0x172)](_0x197b2d=>_0x59cc8d(0x15a)===_0x197b2d[_0x59cc8d(0x1e0)]||_0x59cc8d(0x187)===_0x197b2d[_0x59cc8d(0x1e0)]&&_0x197b2d[_0x59cc8d(0x176)][_0x59cc8d(0x217)](_0x59cc8d(0x1e7))),_0x291957=this[_0x59cc8d(0x151)](_0xfe69d);let _0x3a43f6=0x0;return _0x5c33d0[_0x59cc8d(0x1c5)][_0x59cc8d(0x1cf)](_0x43f1ab=>{const _0xd8648c=_0x59cc8d;for(let _0x5043ca=0x0;_0x5043ca<_0x291957[_0xd8648c(0x12d)];_0x5043ca++){const _0x35867a=_0x291957[_0x5043ca],_0x5e6bea=_0x43f1ab[_0xd8648c(0x1b0)]();for(const _0x20a32e of _0x534fb3[_0xd8648c(0x1ce)]())_0x43f1ab[_0xd8648c(0x1cc)](_0x20a32e[_0xd8648c(0x14d)](!0x0),_0x5e6bea);for(const _0x4ecf93 of _0x35867a[_0xd8648c(0x20c)])if(_0xd8648c(0x15a)===_0x4ecf93[_0xd8648c(0x1e0)]){const _0x56077c=_0x4ecf93;_0x56077c[_0xd8648c(0x20e)]=null,_0x56077c[_0xd8648c(0x1b1)]=!0x1,this[_0xd8648c(0x1d5)](_0x56077c,_0x5e6bea),_0x43f1ab[_0xd8648c(0x162)][_0xd8648c(0x1ac)](_0x4ecf93),_0x5c33d0[_0xd8648c(0x1c5)][_0xd8648c(0x14a)](_0x4ecf93);const _0x50bb7c=_0xd8648c(0x18a)+_0x3a43f6++,_0x57bff4=_0x5c33d0[_0xd8648c(0x1c5)][_0xd8648c(0x1e6)](_0x56077c[_0xd8648c(0x153)],_0x56077c[_0xd8648c(0x153)][_0xd8648c(0x1fb)](_0x56077c[_0xd8648c(0x1ef)]));_0x5e6bea[_0xd8648c(0x1f6)][_0xd8648c(0x1f1)](_0x50bb7c,_0x57bff4);}else{if(_0xd8648c(0x187)===_0x4ecf93[_0xd8648c(0x1e0)]&&_0x4ecf93[_0xd8648c(0x176)][_0xd8648c(0x217)](_0xd8648c(0x1e7))){const _0xe4458e=_0x4ecf93,_0x5019c5=_0xd8648c(0x1fc)+_0x3a43f6++;this[_0xd8648c(0x1d5)](_0xe4458e,_0x5e6bea),_0x5e6bea[_0xd8648c(0x1f6)][_0xd8648c(0x1f1)](_0x5019c5,_0xe4458e[_0xd8648c(0x138)]);}}const _0x470f3a=this[_0xd8648c(0x130)](this[_0xd8648c(0x1e1)](this[_0xd8648c(0x15c)](_0x35867a[_0xd8648c(0x20c)][0x0]),_0x5e6bea),this[_0xd8648c(0x1e1)](this[_0xd8648c(0x131)](_0x35867a[_0xd8648c(0x20c)][_0x35867a[_0xd8648c(0x20c)][_0xd8648c(0x12d)]-0x1]),_0x5e6bea));_0x5e6bea[_0xd8648c(0x1f6)][_0xd8648c(0x1f1)](pe+_0xd8648c(0x1ed),new _0x127ae3(_0x470f3a[_0xd8648c(0x127)],_0x470f3a[_0xd8648c(0x1e8)])),_0x111bda[_0xd8648c(0x1fa)]({..._0x35867a,'context':this[_0xd8648c(0x143)](_0x5e6bea,_0x5c33d0[_0xd8648c(0x211)],{'ellipsisBefore':_0x470f3a[_0xd8648c(0x1ec)],'ellipsisAfter':_0x470f3a[_0xd8648c(0x12a)]}),'content':this[_0xd8648c(0x201)](_0x5e6bea,_0x5c33d0[_0xd8648c(0x211)])});}}),_0x111bda;}[_0x3c1f46(0x214)](_0x3390fe,_0x477bfa){const _0xe92cf9=_0x3c1f46;if(!_0x3390fe[_0xe92cf9(0x12d)])return;const _0x549352=_0x3390fe[0x0][_0xe92cf9(0x191)]['id'],_0x28ba44=_0x477bfa[_0xe92cf9(0x12b)][_0xe92cf9(0x1c2)](_0x549352);if(!_0x28ba44)return void console[_0xe92cf9(0x129)](_0xe92cf9(0x1f3)+_0x549352);const _0x4b5b43=_0x28ba44[_0xe92cf9(0x174)],_0x535308=_0x3c844c(this[_0xe92cf9(0x1ba)]),_0x36159f=_0x535308[_0xe92cf9(0x1c5)][_0xe92cf9(0x152)][_0xe92cf9(0x212)][_0xe92cf9(0x1c4)](_0x477bfa[_0xe92cf9(0x185)]),_0x533633=[];for(const _0xa36593 of _0x3390fe){const _0x2ad7c4=_0xa36593[_0xe92cf9(0x20c)][_0xe92cf9(0x193)](_0xc5cd24=>this[_0xe92cf9(0x1bf)](_0xc5cd24,_0x4b5b43,_0x535308[_0xe92cf9(0x1c5)][_0xe92cf9(0x152)][_0xe92cf9(0x1a9)]()[0x0]));if(!_0x2ad7c4||!_0x2ad7c4[_0xe92cf9(0x12d)])continue;const _0x45d226=_0x2ad7c4[_0xe92cf9(0x157)](_0x12ea23=>_0xe92cf9(0x187)===_0x12ea23[_0xe92cf9(0x1e0)]&&_0x12ea23[_0xe92cf9(0x176)][_0xe92cf9(0x217)](_0xe92cf9(0x1e7))),_0x292c91={'document':_0x535308[_0xe92cf9(0x1c5)][_0xe92cf9(0x152)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5efe7e=_0x4ddfc7(_0x2ad7c4,_0x36159f,_0x292c91)[_0xe92cf9(0x17c)];for(const _0x4ef18e of _0x5efe7e)if(_0xe92cf9(0x15a)===_0x4ef18e[_0xe92cf9(0x1e0)]){const _0x7bd15c=_0x4ef18e,_0x59fc3f=_0x7bd15c[_0xe92cf9(0x1f2)];let _0x48cf30='';for(const _0x1ef592 of _0x59fc3f)_0x1ef592&&_0x1ef592['is'](_0xe92cf9(0x1c6))&&(_0x48cf30+=_0x1ef592[_0xe92cf9(0x211)]);_0x533633[_0xe92cf9(0x1fa)]({'start':_0x7bd15c[_0xe92cf9(0x153)],'end':_0x7bd15c[_0xe92cf9(0x153)],'type':_0xe92cf9(0x15a),'groupId':_0xa36593['id'],'text':_0x48cf30});}else{if(_0xe92cf9(0x187)===_0x4ef18e[_0xe92cf9(0x1e0)]&&_0x4ef18e[_0xe92cf9(0x176)][_0xe92cf9(0x217)](_0xe92cf9(0x1e7))){const _0x31bf48=_0x4ef18e;let _0x14f07f=_0xe92cf9(0x19e);if(_0x45d226){const _0x1b763e=this[_0xe92cf9(0x18b)](_0x31bf48[_0xe92cf9(0x138)][_0xe92cf9(0x127)],_0xe92cf9(0x1d6),_0x535308[_0xe92cf9(0x1c5)][_0xe92cf9(0x16f)]),_0xd6c03d=this[_0xe92cf9(0x18b)](_0x31bf48[_0xe92cf9(0x138)][_0xe92cf9(0x1e8)],_0xe92cf9(0x1a6),_0x535308[_0xe92cf9(0x1c5)][_0xe92cf9(0x16f)]);if(_0x1b763e||_0xd6c03d){const _0xe38acd=_0x31bf48[_0xe92cf9(0x138)][_0xe92cf9(0x127)][_0xe92cf9(0x1fb)](-_0x1b763e),_0x32f95a=_0x31bf48[_0xe92cf9(0x138)][_0xe92cf9(0x1e8)][_0xe92cf9(0x1fb)](_0xd6c03d);_0x533633[_0xe92cf9(0x1fa)]({'start':_0xe38acd,'end':_0x32f95a,'groupId':_0xa36593['id'],'type':_0xe92cf9(0x169)});}else _0x14f07f=_0xe92cf9(0x13e);}_0x533633[_0xe92cf9(0x1fa)]({'start':_0x31bf48[_0xe92cf9(0x138)][_0xe92cf9(0x127)],'end':_0x31bf48[_0xe92cf9(0x138)][_0xe92cf9(0x1e8)],'groupId':_0xa36593['id'],'type':_0x14f07f});}}}this[_0xe92cf9(0x147)](_0x533633);}[_0x3c1f46(0x1ea)](){const _0xfe6454=_0x3c1f46,_0x320fb0=_0x3c844c(this[_0xfe6454(0x1ba)]);_0x320fb0[_0xfe6454(0x1c5)][_0xfe6454(0x1cf)](_0x3329d6=>{const _0x1a9759=_0xfe6454;for(const _0x5f10f3 of this[_0x1a9759(0x19b)][_0x1a9759(0x181)]())_0x320fb0[_0x1a9759(0x1c5)][_0x1a9759(0x1f6)][_0x1a9759(0x1c2)](_0x5f10f3)&&_0x3329d6[_0x1a9759(0x200)](_0x5f10f3);}),this[_0xfe6454(0x19b)][_0xfe6454(0x155)]();}[_0x3c1f46(0x204)](){const _0x213f7c=_0x3c1f46;_0x3c844c(this[_0x213f7c(0x1ba)])[_0x213f7c(0x20a)](_0x213f7c(0x164));}[_0x3c1f46(0x198)](){const _0x1a2c06=_0x3c1f46;_0x3c844c(this[_0x1a2c06(0x1ba)])[_0x1a2c06(0x1f8)](_0x1a2c06(0x164));}[_0x3c1f46(0x1e9)](_0x4bada4){const _0x4fd24a=_0x3c1f46,_0x4ce2a0=_0x3c844c(this[_0x4fd24a(0x1ba)]),_0x46688e=_0x4ce2a0[_0x4fd24a(0x1c5)],_0x2030aa=_0x4bada4[_0x4fd24a(0x193)](_0x3908e3=>this[_0x4fd24a(0x1c7)](_0x3908e3))[_0x4fd24a(0x1b8)]();_0x46688e[_0x4fd24a(0x1cf)](_0x10012b=>{const _0x169c38=_0x4fd24a;for(const _0x151ffd of _0x2030aa){const _0x275c4a=_0x4ce2a0[_0x169c38(0x1c5)][_0x169c38(0x1f6)][_0x169c38(0x1c2)](_0x151ffd['id']);_0x275c4a&&(_0x169c38(0x15a)===_0x151ffd[_0x169c38(0x1e0)]?_0x46688e[_0x169c38(0x15e)](_0x10012b[_0x169c38(0x19a)](_0x151ffd[_0x169c38(0x1c8)]||''),_0x275c4a[_0x169c38(0x166)]()[_0x169c38(0x127)]):_0x169c38(0x19e)!==_0x151ffd[_0x169c38(0x1e0)]&&_0x169c38(0x13e)!==_0x151ffd[_0x169c38(0x1e0)]||_0x46688e[_0x169c38(0x1e2)](_0x46688e[_0x169c38(0x199)](_0x275c4a[_0x169c38(0x166)]())),_0x10012b[_0x169c38(0x200)](_0x151ffd['id']),this[_0x169c38(0x19b)][_0x169c38(0x215)](_0x151ffd['id']));}});}[_0x3c1f46(0x1f5)](_0x3f8687){const _0x3b3bbf=_0x3c1f46,_0x1e4c2c=_0x3c844c(this[_0x3b3bbf(0x1ba)]),_0x1f9c3f=this[_0x3b3bbf(0x1c7)](_0x3f8687);_0x1e4c2c[_0x3b3bbf(0x1c5)][_0x3b3bbf(0x1cf)](_0x9e8033=>{const _0x543480=_0x3b3bbf;for(const _0x45457b of _0x1f9c3f)_0x9e8033[_0x543480(0x200)](_0x45457b['id']),this[_0x543480(0x19b)][_0x543480(0x215)](_0x45457b['id']);});}[_0x3c1f46(0x16b)](){const _0x2b15fa=_0x3c1f46;return _0x3c844c(this[_0x2b15fa(0x1ba)]);}[_0x3c1f46(0x20d)](_0xf99b2c){const _0x5b87ae=_0x3c1f46,_0x4be610=Array[_0x5b87ae(0x1f4)](this[_0x5b87ae(0x19b)][_0x5b87ae(0x1b4)]())[_0x5b87ae(0x172)](_0x1c5466=>_0x1c5466[_0x5b87ae(0x20f)]===_0xf99b2c);if(!_0x4be610[_0x5b87ae(0x12d)])return null;const _0x4492fb=0x1===_0x4be610[_0x5b87ae(0x12d)]?_0x4be610[0x0]:this[_0x5b87ae(0x168)](_0x4be610)[0x0],_0xe4c10c=_0x3c844c(this[_0x5b87ae(0x1ba)]),_0x1b74c2=_0xe4c10c[_0x5b87ae(0x1c5)][_0x5b87ae(0x1f6)][_0x5b87ae(0x1c2)](_0x4492fb['id']);if(!_0x1b74c2)return null;const _0x4a9b2f=_0x1b74c2[_0x5b87ae(0x166)](),_0x504975=_0xe4c10c[_0x5b87ae(0x18e)][_0x5b87ae(0x216)][_0x5b87ae(0x17a)]();if(!_0x504975||!_0x4a9b2f)return null;const _0x11fd5c=_0x504975[_0x5b87ae(0x1ee)](_0x5b87ae(0x1c3)+_0x4492fb['id']+'\x22]');return _0x11fd5c?{'modelRange':_0x4a9b2f,'domElement':_0x11fd5c}:null;}[_0x3c1f46(0x1df)](_0xd8fd4c,_0x3c20fc){const _0x3136d0=_0x3c1f46,_0x393453=Array[_0x3136d0(0x1f4)](this[_0x3136d0(0x19b)][_0x3136d0(0x181)]()),_0x1d6d3c=new Map();for(const _0x401c4d of _0x393453){const _0x36d18f=_0xd8fd4c[_0x3136d0(0x1c5)][_0x3136d0(0x1f6)][_0x3136d0(0x1c2)](_0x401c4d);if(!_0x36d18f)continue;const _0x1bffd2=_0x36d18f[_0x3136d0(0x177)]()[_0x3136d0(0x174)][0x0];_0x1d6d3c[_0x3136d0(0x146)](_0x1bffd2)||_0x1d6d3c[_0x3136d0(0x1f1)](_0x1bffd2,[]),_0x1d6d3c[_0x3136d0(0x1c2)](_0x1bffd2)[_0x3136d0(0x1fa)](_0x36d18f);}const _0x3d6a8e=new Set();for(const _0x54a5af of _0xd8fd4c[_0x3136d0(0x1c5)][_0x3136d0(0x152)][_0x3136d0(0x190)][_0x3136d0(0x1c0)]()){let _0x4dfcdc=-0x1,_0x47f3b9=null;if(_0x3136d0(0x15a)===_0x54a5af[_0x3136d0(0x1e0)])_0x47f3b9=new _0x127ae3(_0x54a5af[_0x3136d0(0x153)],_0x54a5af[_0x3136d0(0x153)][_0x3136d0(0x1fb)](_0x54a5af[_0x3136d0(0x12d)])),_0x4dfcdc=_0x54a5af[_0x3136d0(0x153)][_0x3136d0(0x174)][0x0];else{if(_0x3136d0(0x1cd)!==_0x54a5af[_0x3136d0(0x1e0)])continue;_0x47f3b9=new _0x127ae3(_0x54a5af[_0x3136d0(0x153)]),_0x4dfcdc=_0x54a5af[_0x3136d0(0x153)][_0x3136d0(0x174)][0x0];}const _0x2a7ca9=_0x1d6d3c[_0x3136d0(0x1c2)](_0x4dfcdc)||[];if(_0x2a7ca9[_0x3136d0(0x12d)]){for(const _0x4e2833 of _0x2a7ca9)if(_0x47f3b9[_0x3136d0(0x178)][_0x3136d0(0x13a)]===_0x4e2833[_0x3136d0(0x166)]()[_0x3136d0(0x178)][_0x3136d0(0x13a)]&&(_0x3136d0(0x15a)!==_0x54a5af[_0x3136d0(0x1e0)]||!_0x47f3b9[_0x3136d0(0x16c)](_0x4e2833[_0x3136d0(0x166)]()))&&(_0x47f3b9[_0x3136d0(0x1b6)](_0x4e2833[_0x3136d0(0x166)]())||_0x47f3b9[_0x3136d0(0x127)][_0x3136d0(0x171)](_0x4e2833[_0x3136d0(0x166)]()[_0x3136d0(0x1e8)])||_0x47f3b9[_0x3136d0(0x1e8)][_0x3136d0(0x171)](_0x4e2833[_0x3136d0(0x166)]()[_0x3136d0(0x127)]))){const _0x181e24=this[_0x3136d0(0x1f7)](_0x4e2833[_0x3136d0(0x176)]);Array[_0x3136d0(0x1f4)](this[_0x3136d0(0x19b)][_0x3136d0(0x1b4)]())[_0x3136d0(0x172)](_0x1be5bd=>_0x1be5bd[_0x3136d0(0x20f)]===_0x181e24[_0x3136d0(0x20f)])[_0x3136d0(0x1b2)](_0xdaa83f=>_0x3d6a8e[_0x3136d0(0x15d)](_0xdaa83f['id']));}}}if(_0x3d6a8e[_0x3136d0(0x219)]){for(const _0x51442c of _0x3d6a8e)_0x3c20fc[_0x3136d0(0x200)](_0x51442c);return!0x0;}return!0x1;}[_0x3c1f46(0x159)](_0x56a2a0){const _0x104c61=_0x3c1f46;for(const {name:_0x353ee9,data:_0x3d1df9}of _0x56a2a0[_0x104c61(0x1c5)][_0x104c61(0x152)][_0x104c61(0x190)][_0x104c61(0x192)]()){if(!_0x353ee9[_0x104c61(0x217)](pe))continue;const _0x190f34=_0x3d1df9[_0x104c61(0x13d)],_0xfbab65=_0x3d1df9[_0x104c61(0x138)],_0x2cdc1e=_0x190f34&&_0x104c61(0x180)===_0x190f34[_0x104c61(0x178)][_0x104c61(0x13a)],_0x56b86b=_0xfbab65&&_0x104c61(0x180)===_0xfbab65[_0x104c61(0x178)][_0x104c61(0x13a)];if(_0x2cdc1e&&_0x56b86b)continue;const _0x4be47c=this[_0x104c61(0x1f7)](_0x353ee9);this[_0x104c61(0x19b)][_0x104c61(0x1c2)](_0x353ee9)&&(_0x56b86b||!_0xfbab65?this[_0x104c61(0x128)][_0x104c61(0x145)](_0x104c61(0x163),{'markerId':_0x353ee9,'changeId':_0x4be47c[_0x104c61(0x20f)]}):_0x2cdc1e&&_0xfbab65&&this[_0x104c61(0x128)][_0x104c61(0x145)](_0x104c61(0x17e),{'markerId':_0x353ee9,'changeId':_0x4be47c[_0x104c61(0x20f)]}));}}[_0x3c1f46(0x1f7)](_0x15d68b){const _0x4f55ab=_0x3c1f46,_0x9f2527=_0x15d68b[_0x4f55ab(0x1a4)](':'),_0x636039=(_0x9f2527[0x1]||'')[_0x4f55ab(0x1a4)]('_');return{'prefix':_0x9f2527[0x0],'groupId':_0x636039[0x0],'suffix':_0x636039[0x1]};}[_0x3c1f46(0x1bf)](_0x1bf9f6,_0x3cb586,_0x2dfca4){const _0x5cfcfe=_0x3c1f46;if(_0x5cfcfe(0x15a)===_0x1bf9f6[_0x5cfcfe(0x1e0)]){const _0x571ec6=_0x1bf9f6;return new _0x5aa292(this[_0x5cfcfe(0x13b)](_0x3cb586[_0x5cfcfe(0x1ad)](_0x571ec6[_0x5cfcfe(0x153)][_0x5cfcfe(0x210)]),_0x2dfca4),_0x571ec6[_0x5cfcfe(0x1f2)],_0x571ec6[_0x5cfcfe(0x20e)]);}if(_0x5cfcfe(0x187)===_0x1bf9f6[_0x5cfcfe(0x1e0)]&&_0x1bf9f6[_0x5cfcfe(0x176)][_0x5cfcfe(0x217)](_0x5cfcfe(0x1e7))){const _0x3599e2=_0x1bf9f6;return new _0x3bd1f1(_0x3599e2[_0x5cfcfe(0x176)],_0x3599e2[_0x5cfcfe(0x13d)],this[_0x5cfcfe(0x1a2)](_0x3599e2[_0x5cfcfe(0x138)],_0x3cb586[_0x5cfcfe(0x1ad)](_0x3599e2[_0x5cfcfe(0x138)][_0x5cfcfe(0x127)][_0x5cfcfe(0x210)]),_0x3cb586[_0x5cfcfe(0x1ad)](_0x3599e2[_0x5cfcfe(0x138)][_0x5cfcfe(0x1e8)][_0x5cfcfe(0x210)]),_0x2dfca4),_0x3599e2[_0x5cfcfe(0x19b)],_0x3599e2[_0x5cfcfe(0x150)],_0x3599e2[_0x5cfcfe(0x20e)]);}return _0x1bf9f6;}[_0x3c1f46(0x151)](_0x221631){const _0x378401=_0x3c1f46;if(!_0x221631[_0x378401(0x12d)])return[];const _0x20a83f=[];let _0x468e8e=0x0,_0x41935a=0x0,_0x234643=[];for(let _0x21dfbc=0x0;_0x21dfbc<=_0x221631[_0x378401(0x12d)];_0x21dfbc++){const _0x28d62e=_0x221631[_0x21dfbc],_0x1bbe79=_0x221631[_0x21dfbc-0x1];!_0x28d62e||_0x1bbe79&&!this[_0x378401(0x131)](_0x1bbe79)[_0x378401(0x171)](this[_0x378401(0x15c)](_0x28d62e))?(_0x20a83f[_0x378401(0x1fa)]({'operations':_0x234643,'operationsIsolated':_0x234643[_0x378401(0x193)](_0xbcded7=>this[_0x378401(0x137)](_0xbcded7[_0x378401(0x1dd)](),-_0x41935a)),'groupOffset':_0x468e8e}),_0x234643=_0x28d62e?[_0x28d62e]:[],_0x41935a+=_0x468e8e,_0x468e8e=0x0):_0x234643[_0x378401(0x1fa)](_0x28d62e),_0x28d62e&&_0x378401(0x15a)===_0x28d62e[_0x378401(0x1e0)]&&(_0x468e8e+=_0x28d62e[_0x378401(0x1ef)]);}return _0x20a83f;}[_0x3c1f46(0x18b)](_0x1a95fc,_0x1afa62,_0x86ad,_0x100f66=0x1){const _0xeee9c9=_0x3c1f46,_0x228e1d=new _0x34302f({'startPosition':_0x1a95fc,'direction':_0x1afa62});let _0x55af0d=0x0;for(let _0x58b138=0x0;_0x58b138<_0x100f66;_0x58b138++){let _0x4b8c22=0x0,_0x526c3d=!0x1,_0xf349a3=_0xeee9c9(0x1a6)===_0x1afa62?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4ed5e7}of _0x228e1d)if(_0x4ed5e7['is'](_0xeee9c9(0x12f))){const _0x3baa9a=_0xf349a3[_0xeee9c9(0x213)](_0x4ed5e7[_0xeee9c9(0x211)]);if(_0x3baa9a&&_0x3baa9a[_0xeee9c9(0x12d)]){if(_0x4b8c22+=_0xeee9c9(0x1a6)===_0x1afa62?_0x3baa9a[_0xeee9c9(0x1a7)]+_0x3baa9a[0x0][_0xeee9c9(0x12d)]:_0x4ed5e7[_0xeee9c9(0x211)][_0xeee9c9(0x12d)]-_0x3baa9a[_0xeee9c9(0x1a7)],_0x3baa9a[0x0][_0xeee9c9(0x12d)]!==_0x4ed5e7[_0xeee9c9(0x211)][_0xeee9c9(0x12d)])break;_0x526c3d=!0x0,_0xf349a3=_0xeee9c9(0x1a6)===_0x1afa62?/^\w+/:/\w+$/;}else{if(_0x526c3d)break;_0x4b8c22+=_0x4ed5e7[_0xeee9c9(0x203)];}}else{if(_0x4ed5e7['is'](_0xeee9c9(0x206))){_0x86ad[_0xeee9c9(0x188)](_0x4ed5e7)&&!_0x526c3d&&(_0x4b8c22+=0x1);break;}}_0x55af0d+=_0x4b8c22,_0x228e1d[_0xeee9c9(0x156)](_0x1a95fc[_0xeee9c9(0x1fb)](_0xeee9c9(0x1a6)===_0x1afa62?_0x55af0d:-_0x55af0d));}return _0x55af0d;}[_0x3c1f46(0x130)](_0x4dcf0d,_0x5ebd6c){const _0x149cd7=_0x3c1f46,_0x1f8f7a=_0x3c844c(this[_0x149cd7(0x1ba)])[_0x149cd7(0x1c5)][_0x149cd7(0x16f)],_0x113561=this[_0x149cd7(0x18b)](_0x4dcf0d,_0x149cd7(0x1d6),_0x1f8f7a,0x6),_0x4f9a12=this[_0x149cd7(0x18b)](_0x5ebd6c,_0x149cd7(0x1a6),_0x1f8f7a,0x6),_0x377eed=_0x4dcf0d[_0x149cd7(0x1fb)](-_0x113561),_0x529d49=_0x5ebd6c[_0x149cd7(0x1fb)](_0x4f9a12);return{'start':_0x377eed,'end':_0x529d49,'hasContentBefore':!_0x377eed[_0x149cd7(0x141)],'hasContentAfter':!_0x529d49[_0x149cd7(0x1a8)]};}[_0x3c1f46(0x147)](_0x4a71ef){const _0x4faa89=_0x3c1f46,_0x48af89=this[_0x4faa89(0x1ba)][_0x4faa89(0x1d3)][_0x4faa89(0x1c2)](_0x4faa89(0x158)),_0x1ba934=new Set();_0x3c844c(this[_0x4faa89(0x1ba)])[_0x4faa89(0x1c5)][_0x4faa89(0x1cf)](_0x46a430=>{const _0x15c1af=_0x4faa89;for(const _0x1db6bb of _0x4a71ef){const _0x2fde85=''+pe+_0x1db6bb[_0x15c1af(0x1e0)]+':'+_0x1db6bb[_0x15c1af(0x20f)]+'_'+_0x48af89[_0x15c1af(0x134)](_0x1ba934);this[_0x15c1af(0x19b)][_0x15c1af(0x1f1)](_0x2fde85,{'id':_0x2fde85,'groupId':_0x1db6bb[_0x15c1af(0x20f)],'type':_0x1db6bb[_0x15c1af(0x1e0)],'text':_0x1db6bb[_0x15c1af(0x1c8)]}),_0x46a430[_0x15c1af(0x149)](_0x2fde85,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x46a430[_0x15c1af(0x1e6)](_0x1db6bb[_0x15c1af(0x127)],_0x1db6bb[_0x15c1af(0x1e8)])});}});}[_0x3c1f46(0x143)](_0x31e7c3,_0x309d2f,_0x5d89d8){let _0x36a05e='';return()=>{const _0x13c329=_0x994b;if(!_0x36a05e){const _0x41c645=_0x309d2f[_0x13c329(0x16a)](_0x31e7c3,{'showSuggestionHighlights':!0x0});let _0x27060b=_0x41c645[_0x13c329(0x160)](0x0);if(_0x27060b['is'](_0x13c329(0x17b))||(_0x27060b=_0x41c645),!_0x27060b)return'';let _0x4497ff=!0x1;const _0x14f511=[];for(const _0x4fa065 of _0x27060b[_0x13c329(0x1ce)]())_0x4fa065['is'](_0x13c329(0x206),_0x13c329(0x148))&&_0x4fa065[_0x13c329(0x209)](_0x13c329(0x1bd))&&(_0x4497ff=!0x1),_0x4497ff&&_0x14f511[_0x13c329(0x1fa)](_0x4fa065),_0x4fa065['is'](_0x13c329(0x206),_0x13c329(0x148))&&_0x4fa065[_0x13c329(0x209)](_0x13c329(0x1d4))&&(_0x4497ff=!0x0);_0x27060b[_0x13c329(0x1eb)](0x0,_0x27060b[_0x13c329(0x1cb)]),_0x5d89d8?.[_0x13c329(0x1f0)]&&_0x27060b[_0x13c329(0x1db)]('…'),_0x27060b[_0x13c329(0x1db)](_0x14f511),_0x5d89d8?.[_0x13c329(0x15b)]&&_0x27060b[_0x13c329(0x1db)]('…');const _0x3c0aac=_0x309d2f[_0x13c329(0x1d0)][_0x13c329(0x16e)][_0x13c329(0x135)](_0x41c645),_0x3b962a=_0x309d2f[_0x13c329(0x1d0)][_0x13c329(0x18d)][_0x13c329(0x19c)](_0x3c0aac);_0x36a05e=_0x3b962a;}return _0x36a05e;};}[_0x3c1f46(0x201)](_0x56d979,_0x28e30e){const _0x37c027=_0x3c1f46;let _0x5608e3='';return()=>(_0x5608e3||(_0x5608e3=_0x28e30e[_0x37c027(0x179)](_0x56d979,{'showSuggestionHighlights':!0x0})),_0x5608e3);}[_0x3c1f46(0x196)](_0x133bc5,_0x4d9ecb,_0x1b6f54){let _0x56ec67='';return()=>{const _0x3bb2c1=_0x994b;if(!_0x56ec67){const _0x2e4f72=_0x1b6f54[_0x3bb2c1(0x16a)](new _0x128885(_0x133bc5)),_0x141ddd=_0x1b6f54[_0x3bb2c1(0x1d0)][_0x3bb2c1(0x16e)][_0x3bb2c1(0x135)](_0x2e4f72)[_0x3bb2c1(0x1ee)](_0x3bb2c1(0x1d9)+_0x4d9ecb+'\x22]');_0x56ec67=_0x141ddd?.[_0x3bb2c1(0x18c)]||'';}return _0x56ec67;};}[_0x3c1f46(0x207)](_0x40d779,_0x420f13=0x5){const _0x19d687=_0x3c1f46;let _0x52fc4f=_0x40d779,_0x328cf0=null;for(let _0x4388ef=0x0;_0x4388ef<_0x420f13&&_0x52fc4f;_0x4388ef++){if(!_0x52fc4f[_0x19d687(0x1b5)]){_0x52fc4f=_0x52fc4f[_0x19d687(0x189)];continue;}if(!(''+_0x52fc4f[_0x19d687(0x1b5)])[_0x19d687(0x133)](_0x19d687(0x1ab))){_0x52fc4f=_0x52fc4f[_0x19d687(0x189)];continue;}if(!_0x52fc4f[_0x19d687(0x195)](_0x19d687(0x1be)))break;_0x328cf0=_0x52fc4f;break;}return _0x328cf0;}[_0x3c1f46(0x1c7)](_0xbd27a9){const _0x22e0c7=_0x3c1f46;return Array[_0x22e0c7(0x1f4)](this[_0x22e0c7(0x19b)][_0x22e0c7(0x1b4)]())[_0x22e0c7(0x172)](_0xd23d0=>_0xd23d0[_0x22e0c7(0x20f)]===_0xbd27a9);}[_0x3c1f46(0x15c)](_0x674ad8){const _0x3ff416=_0x3c1f46;return _0x3ff416(0x15a)===_0x674ad8[_0x3ff416(0x1e0)]?_0x674ad8[_0x3ff416(0x153)]:_0x674ad8[_0x3ff416(0x138)][_0x3ff416(0x127)];}[_0x3c1f46(0x131)](_0x460e1b,_0x10adec=!0x1){const _0x55400f=_0x3c1f46;return _0x55400f(0x15a)===_0x460e1b[_0x55400f(0x1e0)]?_0x10adec?_0x460e1b[_0x55400f(0x153)]:_0x460e1b[_0x55400f(0x153)][_0x55400f(0x1fb)](_0x460e1b[_0x55400f(0x1ef)]):_0x460e1b[_0x55400f(0x138)][_0x55400f(0x1e8)];}[_0x3c1f46(0x137)](_0x4796bc,_0x48b41){const _0x7c10fe=_0x3c1f46;return _0x7c10fe(0x15a)===_0x4796bc[_0x7c10fe(0x1e0)]?_0x4796bc[_0x7c10fe(0x153)]=_0x4796bc[_0x7c10fe(0x153)][_0x7c10fe(0x1fb)](_0x48b41):_0x7c10fe(0x187)===_0x4796bc[_0x7c10fe(0x1e0)]&&_0x4796bc[_0x7c10fe(0x138)]&&(_0x4796bc[_0x7c10fe(0x138)]=new _0x127ae3(_0x4796bc[_0x7c10fe(0x138)][_0x7c10fe(0x127)][_0x7c10fe(0x1fb)](_0x48b41),_0x4796bc[_0x7c10fe(0x138)][_0x7c10fe(0x1e8)][_0x7c10fe(0x1fb)](_0x48b41))),_0x4796bc;}[_0x3c1f46(0x1d5)](_0x1541fb,_0x44bb83){const _0x3d36d5=_0x3c1f46;_0x3d36d5(0x15a)===_0x1541fb[_0x3d36d5(0x1e0)]?_0x1541fb[_0x3d36d5(0x153)]=this[_0x3d36d5(0x1e1)](_0x1541fb[_0x3d36d5(0x153)],_0x44bb83):_0x3d36d5(0x187)===_0x1541fb[_0x3d36d5(0x1e0)]&&_0x1541fb[_0x3d36d5(0x138)]&&(_0x1541fb[_0x3d36d5(0x138)]=this[_0x3d36d5(0x14f)](_0x1541fb[_0x3d36d5(0x138)],_0x44bb83));}[_0x3c1f46(0x1e1)](_0x45cde4,_0x4784d3){const _0x618336=_0x3c1f46;return new _0x2f6ba1(_0x4784d3,_0x45cde4[_0x618336(0x174)]);}[_0x3c1f46(0x14f)](_0x230c59,_0x1da9b3){const _0x5cbba4=_0x3c1f46;return new _0x127ae3(this[_0x5cbba4(0x1e1)](_0x230c59[_0x5cbba4(0x127)],_0x1da9b3),this[_0x5cbba4(0x1e1)](_0x230c59[_0x5cbba4(0x1e8)],_0x1da9b3));}[_0x3c1f46(0x13b)](_0x290529,_0x7cb9a6){return new _0x2f6ba1(_0x7cb9a6,[..._0x290529]);}[_0x3c1f46(0x1a2)](_0x56d3ce,_0x13daf3,_0x1a4a1e,_0x442394){const _0x3583a=_0x3c1f46;return new _0x127ae3(this[_0x3583a(0x13b)](_0x13daf3,_0x442394),this[_0x3583a(0x13b)](_0x1a4a1e,_0x442394));}[_0x3c1f46(0x168)](_0x156d86){const _0x5e1901=_0x3c1f46,_0x37650f=_0x32239e=>{const _0x38ddd7=_0x994b;switch(_0x32239e){case _0x38ddd7(0x15a):return 0x1;case _0x38ddd7(0x169):return 0x2;case _0x38ddd7(0x13e):return 0x3;case _0x38ddd7(0x19e):return 0x4;}};return _0x156d86[_0x5e1901(0x1bc)]((_0xd6cac8,_0x2180b4)=>_0x37650f(_0xd6cac8[_0x5e1901(0x1e0)])-_0x37650f(_0x2180b4[_0x5e1901(0x1e0)]));}[_0x3c1f46(0x17f)](_0x1a6870,_0x11d33c){const _0x16d3cd=_0x3c1f46,_0x3666c6=_0x1a6870[_0x16d3cd(0x160)](0x0),_0x2f8cc4=_0x11d33c[_0x16d3cd(0x160)](0x0);return!(!_0x3666c6||!_0x2f8cc4)&&((!_0x3666c6['is'](_0x16d3cd(0x206))||!_0x2f8cc4['is'](_0x16d3cd(0x206))||_0x3666c6[_0x16d3cd(0x176)]===_0x2f8cc4[_0x16d3cd(0x176)])&&!(_0x3666c6['is'](_0x16d3cd(0x206))&&!_0x2f8cc4['is'](_0x16d3cd(0x206))||!_0x3666c6['is'](_0x16d3cd(0x206))&&_0x2f8cc4['is'](_0x16d3cd(0x206))));}[_0x3c1f46(0x1c1)](_0x151f99){const _0x52c3b1=_0x3c1f46;return 0x1===_0x151f99[_0x52c3b1(0x1cb)];}[_0x3c1f46(0x182)](_0x2e3beb,_0x49e884){const _0x16afe8=_0x3c1f46;for(const _0x3e399e of _0x2e3beb[_0x16afe8(0x1ce)]())if(_0x3e399e['is'](_0x16afe8(0x206))&&!_0x49e884[_0x16afe8(0x188)](_0x3e399e))return!0x1;return!0x0;}[_0x3c1f46(0x1b9)](_0x48b540,_0x5c6c34){const _0x521da3=_0x3c1f46;let _0x531e5a=_0x48b540[_0x521da3(0x195)](_0x131629);return _0x531e5a||(_0x531e5a=_0x5c6c34(),_0x48b540[_0x521da3(0x1da)](_0x131629,_0x531e5a)),_0x531e5a;}}function _0xcf8f(){const _0x3e486b=['data-marker-id','_translateOperationToEditorContent','getChanges','_haveSingleTopLevelElement','get','[data-marker-id=\x22','getOperations','model','model:$text','_getMarkersDataForGroup','text','toDomElement','downcast','childCount','append','remove','getChildren','change','htmlProcessor','requires','ck-ai_review-mode-marker_add','plugins','ck-ai_review-mode-marker_context-start','_changeOperationOwnerDocument','backward','changeMarkerClick','isPremiumPlugin','[data-id=\x22','_setAttribute','_appendChild','diffContent','clone','_domEmitter','_validateMarkers','type','_changePositionOwnerDocument','deleteContent','getRoot','for','editingDowncast','createRange','$markedRemove','end','applyChange','clearAllMarkers','_removeChildren','hasContentBefore','suggestion-context','querySelector','howMany','ellipsisBefore','set','nodes','No\x20element\x20found\x20for\x20ID:\x20','from','rejectChange','markers','_parseMarkerName','disableReadOnlyMode','isOpening','push','getShiftedBy','suggestion:deletion:id:authorId:','mouseover','$documentFragment','2039889ltEDpe','removeMarker','_createGetContentFn','markerName','offsetSize','switchToReadOnly','hasAttribute','element','_findMarkerElement','parse','hasClass','enableReadOnlyMode','reviewmode-','operationsIsolated','getMarkerElementForChange','baseVersion','groupId','offset','data','history','exec','markChangePositionInEditorContent','delete','view','startsWith','click','size','changeMarkerHovered','1avXwUD','start','_eventEmitter','warn','hasContentAfter','elements','listenTo','length','markerToHighlight','$textProxy','_getChangeContext','_getOperationEnd','toData','includes','_nextDataId','viewToDom','DocumentCompare','_shiftOperation','newRange','7171072ZbSZkc','rootName','_changePosition','dataDowncast','oldRange','remove-only','3532856ZOwlig','ck-ai_review-mode-marker_hide','isAtStart','changeMarkerBlurred','_createGetContextFn','1475788mptTPM','fire','has','_insertMarkers','span','addMarker','applyOperation','getDocumentData','target','_clone','emitter','_changeRangeOwnerDocument','affectsData','_groupAdjacentOperations','document','position','pop','clear','jumpTo','every','AIEditing','_handleMarkerChanges','insert','ellipsisAfter','_getOperationStart','add','insertContent','ck-ai_review-mode-marker_context-','getChild','innerHTML','batch','changeMarkerRemoved','ai-review-mode','processor','getRange','AIReviewModeEditing','_sortMarkers','remove-context','toView','getEditor','containsRange','markerToElement','domConverter','schema','_removeAttribute','isTouching','filter','1005425kiaSed','path','conversion','name','getStart','root','stringify','getDomRoot','containerElement','operationsA','registerPostFixer','changeMarkerRestored','_hasSameTopLevelElement','$graveyard','keys','_haveOnlyInlineContent','afterInit','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','version','createPositionAfter','marker','isInline','parentElement','suggestion:insertion:id:authorId:','_findAdjacentContextDistance','outerHTML','htmlWriter','editing','createRawElement','differ','parent','getChangedMarkers','map','getPath','getAttribute','_createGetContentUsingDataIdFn','documentFragment','switchToEdit','createSelection','createText','_markers','getHtml','createUIElement','remove-text','959394hQzDwc','attributeToAttribute','ck-ai_review-mode-marker_strikethrough','_changeRange','relatedTarget','split','isOfficialPlugin','forward','index','isAtEnd','getRoots','pluginName','ck-ai_review-mode-marker_','addOperation','concat','createPositionAt','5781440zwYhZF','createDocumentFragment','isDocumentOperation','forEach','closest','values','className','isIntersecting','getDiff','flat','_upsertDataId','context','ck-ai_review-mode-marker_underline','sort','ck-ai_review-mode-marker_context-end'];_0xcf8f=function(){return _0x3e486b;};return _0xcf8f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bfce4=_0x4f5b;(function(_0x11ae0d,_0x3eadcf){const _0x3f6156=_0x4f5b,_0x5a6b09=_0x11ae0d();while(!![]){try{const _0x18dc2c=parseInt(_0x3f6156(0x14a))/0x1+parseInt(_0x3f6156(0x151))/0x2*(parseInt(_0x3f6156(0x136))/0x3)+-parseInt(_0x3f6156(0x128))/0x4+parseInt(_0x3f6156(0x126))/0x5+-parseInt(_0x3f6156(0x13a))/0x6+-parseInt(_0x3f6156(0x11c))/0x7*(parseInt(_0x3f6156(0x166))/0x8)+-parseInt(_0x3f6156(0x160))/0x9;if(_0x18dc2c===_0x3eadcf)break;else _0x5a6b09['push'](_0x5a6b09['shift']());}catch(_0x4aaea2){_0x5a6b09['push'](_0x5a6b09['shift']());}}}(_0x4783,0xed0f4));import{ContextPlugin as _0x6de859}from'ckeditor5/src/core.js';import{IconAIReview as _0x10957a}from'ckeditor5/src/icons.js';import{BodyCollection as _0x597172}from'ckeditor5/src/ui.js';function _0x4f5b(_0x4b7ad6,_0x32fdc6){const _0x4783ae=_0x4783();return _0x4f5b=function(_0x4f5b93,_0x1bf692){_0x4f5b93=_0x4f5b93-0x11a;let _0x1596fd=_0x4783ae[_0x4f5b93];return _0x1596fd;},_0x4f5b(_0x4b7ad6,_0x32fdc6);}import{AITabs as _0x27c2ce}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x16c9de}from'./ui/aireviewmodeview.js';import{getTranslation as _0x133440}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0xa1e74}from'./ui/aireviewmodeballoonsuggestionview.js';function _0x4783(){const _0x3f39f9=['AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','reviewCheckListView','showGeneralReviewModeErrorView','getResults','568118cTHjNE','showReviewCheckResultsView','showActionsWhenResultIsReady','finishReview','showChunkErrorView','hideBalloon','reviewMode','element','showDiffInBalloon','setAvailableChecks','hideActionsWhenResultIsReady','deactivateChange','addTab','addCheckRunResult','getReviewCheckList','5378373aegtio','delegate','retryReview','destroy','_reviewModeBalloonSuggestionItemView','showNoChangesView','1888tXExWW','pluginName','plugins','acceptAllChanges','activateChange','getChangeElement','view','activateTab','requires','context','hideResult','leaveReviewModeResultList','status','setItemAsActive','AI_REVIEW_MODE','showCheckRunResults','accepted','learnMore','8211tqaEvN','reviewCheckResultsView','error-general','_reviewModeView','showResult','updateChangeState','error-chunk','AIReviewModeUI','locale','forEach','8524765ouTFgN','detachFromDom','4314036IggGKq','setItemAsInactive','abortReviewStream','showReviewCompletedView','fire','setChecks','attachToDom','hideChangeBalloon','leaveReviewMode','showChangeBalloon','find','outdated','showReviewCheckListView','isOfficialPlugin','15boPUVA','setActiveStateInResults','AITabs','dismissChange','2297886WPZhCa','runReviewCheck','init','rejected','showReviewCheckList','showBalloon','toggleDiff','setTitle','acceptChange','_bodyCollection','hasChecks','hideDiffInBalloon','setCheckResultTitle','isPremiumPlugin','get','showGeneralResultsErrorView','181663QTyyxC','showCheckRunResult','resetActiveStateInResults'];_0x4783=function(){return _0x3f39f9;};return _0x4783();}import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x2bfce4(0x15f),_0x2bfce4(0x13b),_0x2bfce4(0x12a),_0x2bfce4(0x140),_0x2bfce4(0x169),_0x2bfce4(0x171),_0x2bfce4(0x16a),_0x2bfce4(0x142),_0x2bfce4(0x139),_0x2bfce4(0x11b),_0x2bfce4(0x154),_0x2bfce4(0x162)];export class AIReviewModeUI extends _0x6de859{[_0x2bfce4(0x11f)];[_0x2bfce4(0x164)];[_0x2bfce4(0x143)];static get[_0x2bfce4(0x16e)](){return[_0x27c2ce];}static get[_0x2bfce4(0x167)](){const _0xec462b=_0x2bfce4;return _0xec462b(0x123);}static get[_0x2bfce4(0x135)](){return!0x0;}static get[_0x2bfce4(0x147)](){return!0x0;}constructor(_0x88cd7b){const _0x5c5eb2=_0x2bfce4;super(_0x88cd7b),this[_0x5c5eb2(0x143)]=new _0x597172(this[_0x5c5eb2(0x16f)][_0x5c5eb2(0x124)]),this[_0x5c5eb2(0x143)][_0x5c5eb2(0x12e)](),this[_0x5c5eb2(0x11f)]=new _0x16c9de(this[_0x5c5eb2(0x16f)][_0x5c5eb2(0x124)]),this[_0x5c5eb2(0x11f)][_0x5c5eb2(0x161)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x5c5eb2(0x164)]=new _0xa1e74(this[_0x5c5eb2(0x16f)][_0x5c5eb2(0x124)],this[_0x5c5eb2(0x143)]),this[_0x5c5eb2(0x164)][_0x5c5eb2(0x161)](_0x5c5eb2(0x142),_0x5c5eb2(0x139),_0x5c5eb2(0x15c))['to'](this);}[_0x2bfce4(0x13c)](){const _0x4f32a6=_0x2bfce4,_0x397ca7=this[_0x4f32a6(0x16f)][_0x4f32a6(0x168)][_0x4f32a6(0x148)](_0x4f32a6(0x138));_0x397ca7[_0x4f32a6(0x16c)]['on'](_0x4f32a6(0x16d),(_0x30c073,_0x1d27ef)=>{const _0x440a23=_0x4f32a6;_0x440a23(0x157)===_0x1d27ef?this[_0x440a23(0x12c)](_0x440a23(0x15f)):this[_0x440a23(0x12c)](_0x440a23(0x130));}),_0x397ca7[_0x4f32a6(0x16c)][_0x4f32a6(0x15d)]({'id':_0x4f32a6(0x157),'buttonLabel':_0x133440(this[_0x4f32a6(0x16f)][_0x4f32a6(0x124)],_0x4f32a6(0x174)),'buttonIcon':_0x10957a,'order':0x0,'content':this[_0x4f32a6(0x11f)]});}[_0x2bfce4(0x163)](){const _0x28ec13=_0x2bfce4;this[_0x28ec13(0x143)][_0x28ec13(0x127)](),super[_0x28ec13(0x163)]();}[_0x2bfce4(0x15a)](_0x50cf8d){const _0x4abb79=_0x2bfce4;this[_0x4abb79(0x11f)][_0x4abb79(0x14e)][_0x4abb79(0x144)]()||this[_0x4abb79(0x11f)][_0x4abb79(0x14e)][_0x4abb79(0x12d)](_0x50cf8d),this[_0x4abb79(0x11f)][_0x4abb79(0x134)]();}[_0x2bfce4(0x13e)](){const _0xda021b=_0x2bfce4;this[_0xda021b(0x12c)](_0xda021b(0x15f));}[_0x2bfce4(0x175)](_0x122be2){const _0x47818a=_0x2bfce4;_0x122be2&&(_0x47818a(0x11e)!==_0x122be2[_0x47818a(0x172)]?_0x47818a(0x122)!==_0x122be2[_0x47818a(0x172)]?this[_0x47818a(0x11f)][_0x47818a(0x152)]():this[_0x47818a(0x155)]():this[_0x47818a(0x149)]());}[_0x2bfce4(0x14b)](_0x5ed92c){const _0x320cb9=_0x2bfce4;this[_0x320cb9(0x11f)][_0x320cb9(0x15e)](_0x5ed92c);}[_0x2bfce4(0x149)](){const _0x7ec35b=_0x2bfce4;this[_0x7ec35b(0x11f)][_0x7ec35b(0x149)]();}[_0x2bfce4(0x14f)](_0x3c5e13){const _0x46bdb3=_0x2bfce4;this[_0x46bdb3(0x11f)][_0x46bdb3(0x14f)](_0x3c5e13??_0x133440(this[_0x46bdb3(0x16f)][_0x46bdb3(0x124)],_0x46bdb3(0x14d)));}[_0x2bfce4(0x155)](){const _0x45f22b=_0x2bfce4;this[_0x45f22b(0x11f)][_0x45f22b(0x155)]();}[_0x2bfce4(0x146)](_0x4d49a5,_0x2905c0){const _0x2fd7ec=_0x2bfce4;this[_0x2fd7ec(0x11f)][_0x2fd7ec(0x11d)][_0x2fd7ec(0x141)](_0x4d49a5,_0x2905c0);}[_0x2bfce4(0x137)](_0xee6e0c){const _0x15b17d=_0x2bfce4;this[_0x15b17d(0x11f)][_0x15b17d(0x11d)][_0x15b17d(0x150)]()[_0x15b17d(0x125)](_0x4edca0=>{const _0x13f726=_0x15b17d;_0x4edca0['id']===_0xee6e0c&&_0x4edca0[_0x13f726(0x173)]();});}[_0x2bfce4(0x14c)](){const _0x51950d=_0x2bfce4;this[_0x51950d(0x11f)][_0x51950d(0x11d)][_0x51950d(0x150)]()[_0x51950d(0x125)](_0x563ecb=>_0x563ecb[_0x51950d(0x129)]());}[_0x2bfce4(0x121)](_0x3b4895,_0xd4ebac){const _0x3be286=_0x2bfce4;_0x3be286(0x11a)===_0xd4ebac||_0x3be286(0x13d)===_0xd4ebac||_0x3be286(0x133)===_0xd4ebac?this[_0x3be286(0x11f)][_0x3be286(0x11d)][_0x3be286(0x170)](_0x3b4895,_0xd4ebac):this[_0x3be286(0x11f)][_0x3be286(0x11d)][_0x3be286(0x120)](_0x3b4895,_0xd4ebac);}[_0x2bfce4(0x12b)](){const _0xa35928=_0x2bfce4;this[_0xa35928(0x11f)][_0xa35928(0x12b)]();}[_0x2bfce4(0x153)](){const _0xad7ad3=_0x2bfce4;this[_0xad7ad3(0x11f)][_0xad7ad3(0x153)]();}[_0x2bfce4(0x165)](){const _0x233354=_0x2bfce4;this[_0x233354(0x11f)][_0x233354(0x165)]();}[_0x2bfce4(0x15b)](){const _0x513ea3=_0x2bfce4;this[_0x513ea3(0x11f)][_0x513ea3(0x15b)]();}[_0x2bfce4(0x131)](_0x4d181a,_0xdba37f,_0x2f0da2,_0x169387,_0x4a7cdb,_0x2a434f){const _0x338bf7=_0x2bfce4;this[_0x338bf7(0x164)][_0x338bf7(0x13f)](_0x4d181a,_0xdba37f,_0x2f0da2,_0x169387,_0x4a7cdb,_0x2a434f);}[_0x2bfce4(0x12f)](){const _0x1fd904=_0x2bfce4;this[_0x1fd904(0x164)][_0x1fd904(0x156)]();}[_0x2bfce4(0x145)](){const _0x1dd6ca=_0x2bfce4;this[_0x1dd6ca(0x164)][_0x1dd6ca(0x145)]();}[_0x2bfce4(0x159)](){const _0x377a92=_0x2bfce4;this[_0x377a92(0x164)][_0x377a92(0x159)]();}[_0x2bfce4(0x16b)](_0x16613d){const _0x545b96=_0x2bfce4,_0x42d661=this[_0x545b96(0x11f)][_0x545b96(0x11d)][_0x545b96(0x150)]()[_0x545b96(0x132)](_0x1ed78f=>_0x1ed78f['id']===_0x16613d);return _0x42d661?_0x42d661[_0x545b96(0x158)]:null;}[_0x2bfce4(0x15c)](){const _0x5dbea5=_0x2bfce4;this[_0x5dbea5(0x164)][_0x5dbea5(0x15c)]();}}
23
+ const _0x1c967c=_0x308c;(function(_0x28eef0,_0x3eb640){const _0x30d0ea=_0x308c,_0x6de555=_0x28eef0();while(!![]){try{const _0x4a3865=-parseInt(_0x30d0ea(0x1ed))/0x1+parseInt(_0x30d0ea(0x1c8))/0x2+-parseInt(_0x30d0ea(0x221))/0x3*(-parseInt(_0x30d0ea(0x1d1))/0x4)+-parseInt(_0x30d0ea(0x1fc))/0x5*(parseInt(_0x30d0ea(0x1e5))/0x6)+parseInt(_0x30d0ea(0x1fe))/0x7+parseInt(_0x30d0ea(0x1f1))/0x8+-parseInt(_0x30d0ea(0x1c9))/0x9;if(_0x4a3865===_0x3eb640)break;else _0x6de555['push'](_0x6de555['shift']());}catch(_0x5c7296){_0x6de555['push'](_0x6de555['shift']());}}}(_0x20ac,0xcd07b));import{ContextPlugin as _0x1f759c}from'ckeditor5/src/core.js';import{IconAIReview as _0x1886db}from'ckeditor5/src/icons.js';import{BodyCollection as _0x5cc209}from'ckeditor5/src/ui.js';import{AITabs as _0x280fe3}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x58de69}from'./ui/aireviewmodeview.js';function _0x308c(_0x1bdd6f,_0x32eda5){const _0x20ac7c=_0x20ac();return _0x308c=function(_0x308c58,_0xcb1297){_0x308c58=_0x308c58-0x1c7;let _0x10dda6=_0x20ac7c[_0x308c58];return _0x10dda6;},_0x308c(_0x1bdd6f,_0x32eda5);}import{getTranslation as _0x4321bb}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x4b383b}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x1c967c(0x20e),_0x1c967c(0x216),_0x1c967c(0x1f8),_0x1c967c(0x1cf),_0x1c967c(0x1db),_0x1c967c(0x1cb),_0x1c967c(0x211),_0x1c967c(0x21c),_0x1c967c(0x1f5),_0x1c967c(0x1df),_0x1c967c(0x1f7),_0x1c967c(0x201)];function _0x20ac(){const _0x396458=['reviewCheckListView','_reviewModeView','init','showResult','setItemAsActive','reviewCheckResultsView','deactivateChange','getReviewCheckList','setActiveStateInResults','hasChecks','activateChange','delegate','setCheckResultTitle','setItemAsInactive','leaveReviewMode','runReviewCheck','setChecks','AI_REVIEW_MODE','destroy','get','accepted','acceptChange','view','showGeneralReviewModeErrorView','resetActiveStateInResults','updateChangeState','6114atxdNn','requires','isOfficialPlugin','2601128UwaRLu','9461286OoDQcz','getResults','leaveReviewModeResultList','showReviewCheckListView','showBalloon','showReviewCheckList','toggleDiff','showCheckRunResults','2624HoudZr','hideActionsWhenResultIsReady','showChunkErrorView','AITabs','hideBalloon','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','find','hideResult','addTab','activateTab','acceptAllChanges','setTitle','plugins','forEach','learnMore','hideChangeBalloon','_reviewModeBalloonSuggestionItemView','showGeneralResultsErrorView','isPremiumPlugin','showNoChangesView','382344AeHZnC','attachToDom','getChangeElement','element','hideDiffInBalloon','fire','outdated','showReviewCompletedView','1243001MpQiLD','_bodyCollection','showReviewCheckResultsView','showCheckRunResult','10741128kzoGmW','showChangeBalloon','rejected','locale','dismissChange','error-chunk','finishReview','abortReviewStream','AIReviewModeUI','detachFromDom','error-general','95LRVYdI','showActionsWhenResultIsReady','2552767jCsaYv','setAvailableChecks','showDiffInBalloon','retryReview','addCheckRunResult','context','pluginName','reviewMode','status'];_0x20ac=function(){return _0x396458;};return _0x20ac();}export class AIReviewModeUI extends _0x1f759c{[_0x1c967c(0x208)];[_0x1c967c(0x1e1)];[_0x1c967c(0x1ee)];static get[_0x1c967c(0x222)](){return[_0x280fe3];}static get[_0x1c967c(0x204)](){const _0x4f6f9f=_0x1c967c;return _0x4f6f9f(0x1f9);}static get[_0x1c967c(0x1c7)](){return!0x0;}static get[_0x1c967c(0x1e3)](){return!0x0;}constructor(_0x1cc48f){const _0x778af8=_0x1c967c;super(_0x1cc48f),this[_0x778af8(0x1ee)]=new _0x5cc209(this[_0x778af8(0x203)][_0x778af8(0x1f4)]),this[_0x778af8(0x1ee)][_0x778af8(0x1e6)](),this[_0x778af8(0x208)]=new _0x58de69(this[_0x778af8(0x203)][_0x778af8(0x1f4)]),this[_0x778af8(0x208)][_0x778af8(0x212)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x778af8(0x1e1)]=new _0x4b383b(this[_0x778af8(0x203)][_0x778af8(0x1f4)],this[_0x778af8(0x1ee)]),this[_0x778af8(0x1e1)][_0x778af8(0x212)](_0x778af8(0x21c),_0x778af8(0x1f5),_0x778af8(0x20d))['to'](this);}[_0x1c967c(0x209)](){const _0x49acee=_0x1c967c,_0x3b7d6=this[_0x49acee(0x203)][_0x49acee(0x1dd)][_0x49acee(0x21a)](_0x49acee(0x1d4));_0x3b7d6[_0x49acee(0x21d)]['on'](_0x49acee(0x1da),(_0x25aee8,_0x5cb979)=>{const _0x4c3ffb=_0x49acee;_0x4c3ffb(0x205)===_0x5cb979?this[_0x4c3ffb(0x1ea)](_0x4c3ffb(0x20e)):this[_0x4c3ffb(0x1ea)](_0x4c3ffb(0x215));}),_0x3b7d6[_0x49acee(0x21d)][_0x49acee(0x1d9)]({'id':_0x49acee(0x205),'buttonLabel':_0x4321bb(this[_0x49acee(0x203)][_0x49acee(0x1f4)],_0x49acee(0x218)),'buttonIcon':_0x1886db,'order':0x0,'content':this[_0x49acee(0x208)]});}[_0x1c967c(0x219)](){const _0x20f123=_0x1c967c;this[_0x20f123(0x1ee)][_0x20f123(0x1fa)](),super[_0x20f123(0x219)]();}[_0x1c967c(0x1ff)](_0x12c961){const _0x42afdb=_0x1c967c;this[_0x42afdb(0x208)][_0x42afdb(0x207)][_0x42afdb(0x210)]()||this[_0x42afdb(0x208)][_0x42afdb(0x207)][_0x42afdb(0x217)](_0x12c961),this[_0x42afdb(0x208)][_0x42afdb(0x1cc)]();}[_0x1c967c(0x1ce)](){const _0x20f6fd=_0x1c967c;this[_0x20f6fd(0x1ea)](_0x20f6fd(0x20e));}[_0x1c967c(0x1d0)](_0x309088){const _0x5d3f05=_0x1c967c;_0x309088&&(_0x5d3f05(0x1fb)!==_0x309088[_0x5d3f05(0x206)]?_0x5d3f05(0x1f6)!==_0x309088[_0x5d3f05(0x206)]?this[_0x5d3f05(0x208)][_0x5d3f05(0x1ef)]():this[_0x5d3f05(0x1d3)]():this[_0x5d3f05(0x1e2)]());}[_0x1c967c(0x1f0)](_0x2c42ca){const _0x388b44=_0x1c967c;this[_0x388b44(0x208)][_0x388b44(0x202)](_0x2c42ca);}[_0x1c967c(0x1e2)](){const _0x4ed51e=_0x1c967c;this[_0x4ed51e(0x208)][_0x4ed51e(0x1e2)]();}[_0x1c967c(0x21e)](_0x336950){const _0x32eac7=_0x1c967c;this[_0x32eac7(0x208)][_0x32eac7(0x21e)](_0x336950??_0x4321bb(this[_0x32eac7(0x203)][_0x32eac7(0x1f4)],_0x32eac7(0x1d6)));}[_0x1c967c(0x1d3)](){const _0x5d01f7=_0x1c967c;this[_0x5d01f7(0x208)][_0x5d01f7(0x1d3)]();}[_0x1c967c(0x213)](_0x1115b9,_0x1a43a4){const _0x1d3d2d=_0x1c967c;this[_0x1d3d2d(0x208)][_0x1d3d2d(0x20c)][_0x1d3d2d(0x1dc)](_0x1115b9,_0x1a43a4);}[_0x1c967c(0x20f)](_0x4a9273){const _0x3afa8f=_0x1c967c;this[_0x3afa8f(0x208)][_0x3afa8f(0x20c)][_0x3afa8f(0x1ca)]()[_0x3afa8f(0x1de)](_0x2b84b0=>{const _0x521c27=_0x3afa8f;_0x2b84b0['id']===_0x4a9273&&_0x2b84b0[_0x521c27(0x20b)]();});}[_0x1c967c(0x21f)](){const _0x2ef0af=_0x1c967c;this[_0x2ef0af(0x208)][_0x2ef0af(0x20c)][_0x2ef0af(0x1ca)]()[_0x2ef0af(0x1de)](_0xd530b7=>_0xd530b7[_0x2ef0af(0x214)]());}[_0x1c967c(0x220)](_0x2aac14,_0x30aedd){const _0x4214ea=_0x1c967c;_0x4214ea(0x21b)===_0x30aedd||_0x4214ea(0x1f3)===_0x30aedd||_0x4214ea(0x1eb)===_0x30aedd?this[_0x4214ea(0x208)][_0x4214ea(0x20c)][_0x4214ea(0x1d8)](_0x2aac14,_0x30aedd):this[_0x4214ea(0x208)][_0x4214ea(0x20c)][_0x4214ea(0x20a)](_0x2aac14,_0x30aedd);}[_0x1c967c(0x1ec)](){const _0x5ad555=_0x1c967c;this[_0x5ad555(0x208)][_0x5ad555(0x1ec)]();}[_0x1c967c(0x1fd)](){const _0x167990=_0x1c967c;this[_0x167990(0x208)][_0x167990(0x1fd)]();}[_0x1c967c(0x1e4)](){const _0xb56f4c=_0x1c967c;this[_0xb56f4c(0x208)][_0xb56f4c(0x1e4)]();}[_0x1c967c(0x1d2)](){const _0x378623=_0x1c967c;this[_0x378623(0x208)][_0x378623(0x1d2)]();}[_0x1c967c(0x1f2)](_0x107937,_0x308f46,_0xe23577,_0x441a36,_0x437b70,_0x1aa48c){const _0x5d6368=_0x1c967c;this[_0x5d6368(0x1e1)][_0x5d6368(0x1cd)](_0x107937,_0x308f46,_0xe23577,_0x441a36,_0x437b70,_0x1aa48c);}[_0x1c967c(0x1e0)](){const _0x5dfbce=_0x1c967c;this[_0x5dfbce(0x1e1)][_0x5dfbce(0x1d5)]();}[_0x1c967c(0x1e9)](){const _0x2602e3=_0x1c967c;this[_0x2602e3(0x1e1)][_0x2602e3(0x1e9)]();}[_0x1c967c(0x200)](){const _0x193273=_0x1c967c;this[_0x193273(0x1e1)][_0x193273(0x200)]();}[_0x1c967c(0x1e7)](_0x9c032c){const _0x5d1977=_0x1c967c,_0x4204bb=this[_0x5d1977(0x208)][_0x5d1977(0x20c)][_0x5d1977(0x1ca)]()[_0x5d1977(0x1d7)](_0x13d5a6=>_0x13d5a6['id']===_0x9c032c);return _0x4204bb?_0x4204bb[_0x5d1977(0x1e8)]:null;}[_0x1c967c(0x20d)](){const _0x1d0f1a=_0x1c967c;this[_0x1d0f1a(0x1e1)][_0x1d0f1a(0x20d)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2335c9=_0x3c19;function _0x37c9(){var _0x563e33=['contentNew','18312bIlUKU','2TrRhAY','2454268TJbVJN','2362995nykSNW','documentVersion','126aWJkoe','25487HFALye','contentInitial','4159735CwZxfg','31187510HKobLK','765lOzvoQ','552178MTswXI'];_0x37c9=function(){return _0x563e33;};return _0x37c9();}function _0x3c19(_0x5ab059,_0x1e5f39){var _0x37c9bf=_0x37c9();return _0x3c19=function(_0x3c1955,_0x1c9541){_0x3c1955=_0x3c1955-0x1d1;var _0x359850=_0x37c9bf[_0x3c1955];return _0x359850;},_0x3c19(_0x5ab059,_0x1e5f39);}(function(_0x5ba8b1,_0x5ba846){var _0x446a02=_0x3c19,_0x3d44ff=_0x5ba8b1();while(!![]){try{var _0x55f599=-parseInt(_0x446a02(0x1d5))/0x1+parseInt(_0x446a02(0x1d8))/0x2*(-parseInt(_0x446a02(0x1da))/0x3)+-parseInt(_0x446a02(0x1d9))/0x4+-parseInt(_0x446a02(0x1d2))/0x5+-parseInt(_0x446a02(0x1dc))/0x6*(parseInt(_0x446a02(0x1dd))/0x7)+parseInt(_0x446a02(0x1d7))/0x8*(parseInt(_0x446a02(0x1d4))/0x9)+parseInt(_0x446a02(0x1d3))/0xa;if(_0x55f599===_0x5ba846)break;else _0x3d44ff['push'](_0x3d44ff['shift']());}catch(_0x4f2edf){_0x3d44ff['push'](_0x3d44ff['shift']());}}}(_0x37c9,0x6e3aa));import{EmitterMixin as _0x4bf3c1}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x4bf3c1(){['id'];[_0x2335c9(0x1d6)];[_0x2335c9(0x1d1)];[_0x2335c9(0x1db)];constructor({id:_0x525a91,contentNew:_0xc193dc,contentInitial:_0x4baee7,documentVersion:_0x568676}){var _0x2fb072=_0x2335c9;super(),this['id']=_0x525a91,this[_0x2fb072(0x1d6)]=_0xc193dc,this[_0x2fb072(0x1d1)]=_0x4baee7,this[_0x2fb072(0x1db)]=_0x568676;}}
23
+ var _0x190c45=_0x11e5;function _0x500c(){var _0x2dfb7e=['contentNew','804qyiUrZ','2937531pTKhFV','2682595cLPaOP','3834328JPyank','87XXGJwr','595854bgDkBl','23272WnLhWx','14408UxKcVp','17039AeERgu','documentVersion','contentInitial','3164gXJmWy','200RhvVBR','6BAxvdl'];_0x500c=function(){return _0x2dfb7e;};return _0x500c();}(function(_0x1a3e0a,_0x3a16a8){var _0x289762=_0x11e5,_0x4242a9=_0x1a3e0a();while(!![]){try{var _0x4140ec=parseInt(_0x289762(0x197))/0x1*(-parseInt(_0x289762(0x199))/0x2)+parseInt(_0x289762(0x194))/0x3+parseInt(_0x289762(0x196))/0x4+-parseInt(_0x289762(0x195))/0x5*(parseInt(_0x289762(0x191))/0x6)+-parseInt(_0x289762(0x18f))/0x7*(parseInt(_0x289762(0x19a))/0x8)+parseInt(_0x289762(0x198))/0x9*(parseInt(_0x289762(0x190))/0xa)+parseInt(_0x289762(0x18c))/0xb*(-parseInt(_0x289762(0x193))/0xc);if(_0x4140ec===_0x3a16a8)break;else _0x4242a9['push'](_0x4242a9['shift']());}catch(_0x37c0db){_0x4242a9['push'](_0x4242a9['shift']());}}}(_0x500c,0xc2239));import{EmitterMixin as _0xb44378}from'ckeditor5/src/utils.js';function _0x11e5(_0x150a72,_0x1819c8){var _0x500c7b=_0x500c();return _0x11e5=function(_0x11e5f7,_0x34f832){_0x11e5f7=_0x11e5f7-0x18c;var _0x397bfd=_0x500c7b[_0x11e5f7];return _0x397bfd;},_0x11e5(_0x150a72,_0x1819c8);}export class AIReviewCheckResult extends _0xb44378(){['id'];[_0x190c45(0x192)];[_0x190c45(0x18e)];[_0x190c45(0x18d)];constructor({id:_0x2e00c2,contentNew:_0x50975a,contentInitial:_0x13437b,documentVersion:_0x21e039}){var _0x127a0f=_0x190c45;super(),this['id']=_0x2e00c2,this[_0x127a0f(0x192)]=_0x50975a,this[_0x127a0f(0x18e)]=_0x13437b,this[_0x127a0f(0x18d)]=_0x21e039;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2ea4(){const _0x4f5aed=['getStream','isAnyChangeActivated','error','977481TOHJdD','rejected','unmodified','getActiveChanges','reviewCheckResultReady','ai-request-aborted','error-general','reviewCheckResultAdded','status','hasModifications','get','_reviewParams','every','elements','activateChange','includes','updateDocumentData','finished','5302804mxKktZ','markChangeAsRejected','initialized','textDelta','sendRating','3ESCzoF','processedResultsCount','message','_documentData','reviewName','review-metadata','reviewCheckResultChangeStatusUpdated','isChangeActive','isActivated','currentError','fire','callId','1777794XCjotI','isRated','push','markChangeAsOutdated','filter','reviewCheckRunUpdated','abort','_activeRequest','parent','markChangeAsAccepted','392386yJJGJv','reviewCheckResultDeactivated','deactivateChange','forEach','ready','_sendRatingRequest','restart','_currentError','change:status','some','_createApiRequest','subTitle','forceReadyState','24vUEHqo','_changes','abortController','_sourceCheck','reviewCheckResultActivated','markAllChangesAsAccepted','getChangeById','set','accepted','_reviewArgs','change:isActivated','version','length','event','1726254wjYsal','_aiConnector','outdated','dataId','clear','size','aborted','2387000nckHwz','error-chunk','7GCagET','pending','_addReviewCheckResult','markChangeAsPending','16135290RyoJID','addResultChanges','_checkIfFinished','data','documentData','title','operation','start','_results','find','getContent','loading'];_0x2ea4=function(){return _0x4f5aed;};return _0x2ea4();}const _0x17351f=_0x5cc9;function _0x5cc9(_0x56b132,_0x269f76){const _0x2ea44b=_0x2ea4();return _0x5cc9=function(_0x5cc9d4,_0xd7e8ea){_0x5cc9d4=_0x5cc9d4-0x129;let _0x277296=_0x2ea44b[_0x5cc9d4];return _0x277296;},_0x5cc9(_0x56b132,_0x269f76);}(function(_0x16ca47,_0x3b87e5){const _0x2c5075=_0x5cc9,_0x20ae6d=_0x16ca47();while(!![]){try{const _0x5bbb61=parseInt(_0x2c5075(0x12d))/0x1+parseInt(_0x2c5075(0x15a))/0x2+parseInt(_0x2c5075(0x144))/0x3*(-parseInt(_0x2c5075(0x13f))/0x4)+-parseInt(_0x2c5075(0x17c))/0x5+parseInt(_0x2c5075(0x150))/0x6*(parseInt(_0x2c5075(0x17e))/0x7)+-parseInt(_0x2c5075(0x167))/0x8*(parseInt(_0x2c5075(0x175))/0x9)+parseInt(_0x2c5075(0x182))/0xa;if(_0x5bbb61===_0x3b87e5)break;else _0x20ae6d['push'](_0x20ae6d['shift']());}catch(_0x2f589a){_0x20ae6d['push'](_0x20ae6d['shift']());}}}(_0x2ea4,0xac1d7));import{ObservableMixin as _0x2981ff,uid as _0x2c6c0c}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x108c41}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x5dd063}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x2981ff(){['id']=_0x2c6c0c();[_0x17351f(0x14f)];[_0x17351f(0x18a)]=new Map();[_0x17351f(0x168)]=[];[_0x17351f(0x16a)];[_0x17351f(0x147)];[_0x17351f(0x176)];[_0x17351f(0x138)];[_0x17351f(0x170)];[_0x17351f(0x157)]=null;[_0x17351f(0x161)];constructor(_0x19e415,_0x139684,_0xcc4283,_0x3bf679,_0x2b96b1){const _0x2157cc=_0x17351f;super(),this[_0x2157cc(0x16a)]=_0x139684,this[_0x2157cc(0x147)]=_0x19e415,this[_0x2157cc(0x176)]=_0xcc4283,this[_0x2157cc(0x138)]=_0x3bf679,this[_0x2157cc(0x170)]=_0x2b96b1,this['on'](_0x2157cc(0x162),(_0x407efd,_0xb50d15,_0x177a95)=>{const _0x2bf2e7=_0x2157cc;this[_0x2bf2e7(0x14e)](_0x2bf2e7(0x155),{'status':_0x177a95,'run':this,'error':this[_0x2bf2e7(0x161)]});}),this[_0x2157cc(0x16e)](_0x2157cc(0x135),_0x2157cc(0x141));}get[_0x17351f(0x186)](){const _0x4dffc5=_0x17351f;return this[_0x4dffc5(0x147)];}get[_0x17351f(0x145)](){const _0x51189f=_0x17351f;return this[_0x51189f(0x18a)][_0x51189f(0x17a)];}get[_0x17351f(0x187)](){const _0x57cb7d=_0x17351f;return this[_0x57cb7d(0x16a)][_0x57cb7d(0x187)];}get[_0x17351f(0x165)](){return'';}get[_0x17351f(0x148)](){const _0x1c084e=_0x17351f;return this[_0x1c084e(0x16a)]['id'];}get[_0x17351f(0x136)](){const _0xe03703=_0x17351f;return!this[_0xe03703(0x168)][_0xe03703(0x139)](_0x5855ea=>_0xe03703(0x17f)===_0x5855ea[_0xe03703(0x135)]);}get[_0x17351f(0x14d)](){const _0x1dc6df=_0x17351f;return this[_0x1dc6df(0x161)];}[_0x17351f(0x13d)](_0x5ae14d){const _0x38a014=_0x17351f;this[_0x38a014(0x147)]=_0x5ae14d;}async[_0x17351f(0x189)](){const _0x53b664=_0x17351f;this[_0x53b664(0x135)]=_0x53b664(0x129),this[_0x53b664(0x161)]=void 0x0;try{this[_0x53b664(0x157)]=this[_0x53b664(0x164)]();const _0x5158b2=await this[_0x53b664(0x157)][_0x53b664(0x12a)]();this[_0x53b664(0x135)]=_0x53b664(0x185);for await(const _0x166057 of _0x5158b2)_0x53b664(0x12f)!==_0x166057[_0x53b664(0x185)][_0x53b664(0x188)]&&(_0x53b664(0x12c)!==_0x166057[_0x53b664(0x185)][_0x53b664(0x188)]?_0x53b664(0x149)!==_0x166057[_0x53b664(0x174)]?this[_0x53b664(0x180)](_0x166057[_0x53b664(0x185)][_0x53b664(0x178)],_0x166057[_0x53b664(0x185)][_0x53b664(0x142)]):this[_0x53b664(0x14f)]=_0x166057[_0x53b664(0x185)][_0x53b664(0x14f)]:this[_0x53b664(0x135)]=_0x53b664(0x17d));_0x53b664(0x17d)!==this[_0x53b664(0x135)]&&(0x0===this[_0x53b664(0x18a)][_0x53b664(0x17a)]?this[_0x53b664(0x135)]=_0x53b664(0x12f):this[_0x53b664(0x135)]=_0x53b664(0x15e));}catch(_0x445ed9){this[_0x53b664(0x161)]=_0x445ed9,_0x445ed9 instanceof Error&&_0x445ed9[_0x53b664(0x146)][_0x53b664(0x13c)](_0x53b664(0x132))?this[_0x53b664(0x135)]=_0x53b664(0x17b):this[_0x53b664(0x135)]=_0x53b664(0x133);}finally{this[_0x53b664(0x157)]=null;}}async[_0x17351f(0x160)](){const _0x387940=_0x17351f;this[_0x387940(0x18a)][_0x387940(0x179)](),this[_0x387940(0x168)][_0x387940(0x173)]=0x0,this[_0x387940(0x161)]=void 0x0,await this[_0x387940(0x189)]();}[_0x17351f(0x183)](_0xca3820,_0x463e0b){const _0x40d845=_0x17351f,_0x3c8f07=this[_0x40d845(0x18a)][_0x40d845(0x137)](_0xca3820);if(!_0x3c8f07)return;const _0xc7ca20=[];_0x463e0b[_0x40d845(0x15d)]((_0x2d704b,_0x460704)=>{const _0x3ece01=_0x40d845,_0x3e2d45=new _0x5dd063(_0x3c8f07['id']+'-'+_0x460704,_0x2d704b,_0x3c8f07);_0x3e2d45['on'](_0x3ece01(0x162),()=>{const _0x27043e=_0x3ece01;this[_0x27043e(0x14e)](_0x27043e(0x14a),{'change':_0x3e2d45,'status':_0x3e2d45[_0x27043e(0x135)]});}),_0x3e2d45['on'](_0x3ece01(0x171),()=>{const _0x5f0815=_0x3ece01;_0x3e2d45[_0x5f0815(0x14c)]?this[_0x5f0815(0x14e)](_0x5f0815(0x16b),{'change':_0x3e2d45}):this[_0x5f0815(0x14e)](_0x5f0815(0x15b),{'change':_0x3e2d45});}),this[_0x3ece01(0x168)][_0x3ece01(0x152)](_0x3e2d45),_0xc7ca20[_0x3ece01(0x152)](_0x3e2d45);}),this[_0x40d845(0x14e)](_0x40d845(0x131),{'changes':_0xc7ca20,'result':_0x3c8f07,'source':this});}[_0x17351f(0x156)](){const _0x5f560c=_0x17351f;this[_0x5f560c(0x157)]&&(this[_0x5f560c(0x157)][_0x5f560c(0x169)][_0x5f560c(0x156)](),this[_0x5f560c(0x157)]=null,this[_0x5f560c(0x135)]=_0x5f560c(0x17b));}[_0x17351f(0x14b)](_0x16fc39){const _0x4b37b3=_0x17351f,_0x107abe=this[_0x4b37b3(0x168)][_0x4b37b3(0x18b)](_0xdc86de=>_0xdc86de['id']===_0x16fc39);return!(!_0x107abe||_0x4b37b3(0x17f)!==_0x107abe[_0x4b37b3(0x135)]);}[_0x17351f(0x12b)](){const _0x165859=_0x17351f;return this[_0x165859(0x168)][_0x165859(0x163)](_0x1d19f4=>!0x0===_0x1d19f4[_0x165859(0x14c)]);}[_0x17351f(0x130)](){const _0x1c0e1b=_0x17351f;return this[_0x1c0e1b(0x168)][_0x1c0e1b(0x154)](_0x38b551=>_0x1c0e1b(0x17f)===_0x38b551[_0x1c0e1b(0x135)]);}[_0x17351f(0x16d)](_0x12b7bb){const _0x1e5a39=_0x17351f;return this[_0x1e5a39(0x168)][_0x1e5a39(0x18b)](_0x3d56d8=>_0x3d56d8['id']===_0x12b7bb);}[_0x17351f(0x16c)](){const _0x278bf8=_0x17351f;for(const _0x5c653b of this[_0x278bf8(0x168)])_0x278bf8(0x17f)===_0x5c653b[_0x278bf8(0x135)]&&(_0x5c653b[_0x278bf8(0x135)]=_0x278bf8(0x16f));this[_0x278bf8(0x184)]();}[_0x17351f(0x159)](_0x36ea90){const _0x10b46e=_0x17351f,_0x374de3=this[_0x10b46e(0x168)][_0x10b46e(0x18b)](_0x145f17=>_0x145f17['id']===_0x36ea90);_0x374de3&&_0x10b46e(0x17f)===_0x374de3[_0x10b46e(0x135)]&&(_0x374de3[_0x10b46e(0x135)]=_0x10b46e(0x16f)),this[_0x10b46e(0x184)]();}[_0x17351f(0x140)](_0x1b85b6){const _0xdc398d=_0x17351f,_0x3f746f=this[_0xdc398d(0x168)][_0xdc398d(0x18b)](_0x4ae857=>_0x4ae857['id']===_0x1b85b6);_0x3f746f&&_0xdc398d(0x17f)===_0x3f746f[_0xdc398d(0x135)]&&(_0x3f746f[_0xdc398d(0x135)]=_0xdc398d(0x12e)),this[_0xdc398d(0x184)]();}[_0x17351f(0x153)](_0x397901){const _0x3f00b6=_0x17351f,_0x16be45=this[_0x3f00b6(0x168)][_0x3f00b6(0x18b)](_0x3c5069=>_0x3c5069['id']===_0x397901);_0x16be45&&_0x3f00b6(0x17f)===_0x16be45[_0x3f00b6(0x135)]&&(_0x16be45[_0x3f00b6(0x135)]=_0x3f00b6(0x177)),this[_0x3f00b6(0x184)]();}[_0x17351f(0x181)](_0x5d5cbe){const _0x2be5a6=_0x17351f,_0x3601c7=this[_0x2be5a6(0x168)][_0x2be5a6(0x18b)](_0x58f41f=>_0x58f41f['id']===_0x5d5cbe);_0x3601c7&&_0x2be5a6(0x177)===_0x3601c7[_0x2be5a6(0x135)]&&(_0x3601c7[_0x2be5a6(0x135)]=_0x2be5a6(0x17f)),this[_0x2be5a6(0x184)]();}[_0x17351f(0x13b)](_0x3bdf19){const _0x52061b=_0x17351f;this[_0x52061b(0x168)][_0x52061b(0x154)](_0x44bb75=>_0x44bb75[_0x52061b(0x14c)]&&_0x44bb75['id']!==_0x3bdf19)[_0x52061b(0x15d)](_0x536282=>{const _0x24fa25=_0x52061b;_0x536282[_0x24fa25(0x14c)]=!0x1;});const _0x696b2=this[_0x52061b(0x168)][_0x52061b(0x18b)](_0x2f39a1=>_0x2f39a1['id']===_0x3bdf19);_0x696b2&&_0x52061b(0x17f)===_0x696b2[_0x52061b(0x135)]&&(_0x696b2[_0x52061b(0x14c)]=!0x0);}[_0x17351f(0x15c)](){const _0x5a72c6=_0x17351f;this[_0x5a72c6(0x168)][_0x5a72c6(0x154)](_0x386063=>_0x386063[_0x5a72c6(0x14c)])[_0x5a72c6(0x15d)](_0x14c195=>{const _0x5a2fc2=_0x5a72c6;_0x14c195[_0x5a2fc2(0x14c)]=!0x1;});}[_0x17351f(0x166)](){const _0x4f03f4=_0x17351f;this[_0x4f03f4(0x135)]=_0x4f03f4(0x15e);}async[_0x17351f(0x143)](_0x591215){const _0x2720de=_0x17351f;if(_0x2720de(0x141)===this[_0x2720de(0x135)]||_0x2720de(0x129)===this[_0x2720de(0x135)]||_0x2720de(0x185)===this[_0x2720de(0x135)])return;if(!this[_0x2720de(0x14f)]||0x0===this[_0x2720de(0x168)][_0x2720de(0x173)])return;let _0x15bc70;if(_0x591215){const _0x1c1de4=this[_0x2720de(0x168)][_0x2720de(0x18b)](_0x17c286=>_0x17c286['id']===_0x591215);if(_0x1c1de4&&_0x1c1de4[_0x2720de(0x151)])return;_0x1c1de4&&(_0x15bc70=_0x1c1de4[_0x2720de(0x158)]['id'],_0x1c1de4[_0x2720de(0x151)]=!0x0);}const _0x51e55c={'positiveCount':this[_0x2720de(0x168)][_0x2720de(0x154)](_0x4b8f5b=>_0x2720de(0x16f)===_0x4b8f5b[_0x2720de(0x135)])[_0x2720de(0x173)],'totalCount':this[_0x2720de(0x168)][_0x2720de(0x173)]};this[_0x2720de(0x15f)](_0x51e55c,this[_0x2720de(0x14f)],_0x15bc70);}[_0x17351f(0x180)](_0x291fb6,_0x26a77e){const _0x43063f=_0x17351f,_0x2dc24e=this[_0x43063f(0x147)][_0x43063f(0x13a)][_0x43063f(0x137)](_0x291fb6);if(!_0x2dc24e)return;const _0x409833=_0x2dc24e[_0x43063f(0x18c)]();if(_0x409833===_0x26a77e)return;const _0x590125=new _0x108c41({'id':_0x291fb6,'contentInitial':_0x409833,'contentNew':_0x26a77e,'documentVersion':this[_0x43063f(0x147)][_0x43063f(0x172)]});this[_0x43063f(0x18a)][_0x43063f(0x16e)](_0x590125['id'],_0x590125),this[_0x43063f(0x14e)](_0x43063f(0x134),{'result':_0x590125,'source':this});}[_0x17351f(0x184)](){const _0x110046=_0x17351f;_0x110046(0x13e)===this[_0x110046(0x135)]&&(this[_0x110046(0x168)][_0x110046(0x154)](_0x31d9c7=>_0x110046(0x17f)===_0x31d9c7[_0x110046(0x135)])[_0x110046(0x173)]>0x0&&(this[_0x110046(0x135)]=_0x110046(0x15e))),_0x110046(0x15e)===this[_0x110046(0x135)]&&(0x0===this[_0x110046(0x168)][_0x110046(0x154)](_0x11ea21=>_0x110046(0x17f)===_0x11ea21[_0x110046(0x135)])[_0x110046(0x173)]&&(this[_0x110046(0x135)]=_0x110046(0x13e)));}}
23
+ const _0x1d2e78=_0x1541;(function(_0x5dc554,_0x750033){const _0x3ba9e1=_0x1541,_0x3c6711=_0x5dc554();while(!![]){try{const _0x466958=parseInt(_0x3ba9e1(0xca))/0x1+-parseInt(_0x3ba9e1(0xc8))/0x2*(parseInt(_0x3ba9e1(0xbd))/0x3)+parseInt(_0x3ba9e1(0xb3))/0x4+parseInt(_0x3ba9e1(0x98))/0x5*(-parseInt(_0x3ba9e1(0xc3))/0x6)+-parseInt(_0x3ba9e1(0xcd))/0x7+-parseInt(_0x3ba9e1(0xb9))/0x8+-parseInt(_0x3ba9e1(0xc6))/0x9*(-parseInt(_0x3ba9e1(0xe7))/0xa);if(_0x466958===_0x750033)break;else _0x3c6711['push'](_0x3c6711['shift']());}catch(_0x556f85){_0x3c6711['push'](_0x3c6711['shift']());}}}(_0x4854,0x5fa98));function _0x1541(_0x3c589b,_0x16b0f6){const _0x485499=_0x4854();return _0x1541=function(_0x1541ae,_0x29621f){_0x1541ae=_0x1541ae-0x8c;let _0x1b4d3e=_0x485499[_0x1541ae];return _0x1b4d3e;},_0x1541(_0x3c589b,_0x16b0f6);}import{ObservableMixin as _0x42412e,uid as _0x595b89}from'ckeditor5/src/utils.js';function _0x4854(){const _0x28c40c=['_createApiRequest','some','every','dataId','title','parent','event','isActivated','_currentError','message','markChangeAsPending','_documentData','unmodified','hasModifications','restart','100xRtNGp','_reviewArgs','data','getActiveChanges','review-metadata','markAllChangesAsAccepted','documentData','abortController','isChangeActive','filter','error','operation','reviewCheckResultChangeStatusUpdated','reviewCheckResultDeactivated','isRated','includes','_activeRequest','currentError','length','change:isActivated','get','30TUsIXB','ready','accepted','getStream','activateChange','reviewCheckResultReady','subTitle','status','_sendRatingRequest','size','fire','forEach','reviewCheckRunUpdated','change:status','processedResultsCount','markChangeAsOutdated','reviewCheckResultActivated','outdated','updateDocumentData','textDelta','markChangeAsAccepted','reviewCheckResultAdded','ai-request-aborted','markChangeAsRejected','getContent','getChangeById','deactivateChange','762972zoQKZt','abort','_aiConnector','version','reviewName','_reviewParams','4580008AjqjVu','_sourceCheck','pending','_changes','6rWLJxl','addResultChanges','_checkIfFinished','loading','clear','elements','67842zSydhn','error-general','start','1255140qsJKaC','aborted','133116yngWFb','initialized','169207WmUYtS','forceReadyState','set','4124813JDJQBz','error-chunk','finished','find','_addReviewCheckResult','rejected','callId','sendRating','_results','isAnyChangeActivated','push'];_0x4854=function(){return _0x28c40c;};return _0x4854();}import{AIReviewCheckResult as _0x569f64}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x7a4a15}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x42412e(){['id']=_0x595b89();[_0x1d2e78(0xd3)];[_0x1d2e78(0xd5)]=new Map();[_0x1d2e78(0xbc)]=[];[_0x1d2e78(0xba)];[_0x1d2e78(0xe3)];[_0x1d2e78(0xb5)];[_0x1d2e78(0xb8)];[_0x1d2e78(0xe8)];[_0x1d2e78(0x93)]=null;[_0x1d2e78(0xe0)];constructor(_0x377b23,_0x276032,_0x1eb463,_0x5a7665,_0x5f2935){const _0x5eb1e4=_0x1d2e78;super(),this[_0x5eb1e4(0xba)]=_0x276032,this[_0x5eb1e4(0xe3)]=_0x377b23,this[_0x5eb1e4(0xb5)]=_0x1eb463,this[_0x5eb1e4(0xb8)]=_0x5a7665,this[_0x5eb1e4(0xe8)]=_0x5f2935,this['on'](_0x5eb1e4(0xa5),(_0xda6d07,_0x254e51,_0xa7258f)=>{const _0x4091ce=_0x5eb1e4;this[_0x4091ce(0xa2)](_0x4091ce(0xa4),{'status':_0xa7258f,'run':this,'error':this[_0x4091ce(0xe0)]});}),this[_0x5eb1e4(0xcc)](_0x5eb1e4(0x9f),_0x5eb1e4(0xc9));}get[_0x1d2e78(0xed)](){const _0x57ba8e=_0x1d2e78;return this[_0x57ba8e(0xe3)];}get[_0x1d2e78(0xa6)](){const _0x209893=_0x1d2e78;return this[_0x209893(0xd5)][_0x209893(0xa1)];}get[_0x1d2e78(0xdc)](){const _0x2625e3=_0x1d2e78;return this[_0x2625e3(0xba)][_0x2625e3(0xdc)];}get[_0x1d2e78(0x9e)](){return'';}get[_0x1d2e78(0xb7)](){const _0x2d3d0a=_0x1d2e78;return this[_0x2d3d0a(0xba)]['id'];}get[_0x1d2e78(0xe5)](){const _0x5cc5d4=_0x1d2e78;return!this[_0x5cc5d4(0xbc)][_0x5cc5d4(0xda)](_0x2702b0=>_0x5cc5d4(0xbb)===_0x2702b0[_0x5cc5d4(0x9f)]);}get[_0x1d2e78(0x94)](){const _0x44d9e5=_0x1d2e78;return this[_0x44d9e5(0xe0)];}[_0x1d2e78(0xaa)](_0x1f3945){const _0x46a13a=_0x1d2e78;this[_0x46a13a(0xe3)]=_0x1f3945;}async[_0x1d2e78(0xc5)](){const _0x517d39=_0x1d2e78;this[_0x517d39(0x9f)]=_0x517d39(0xc0),this[_0x517d39(0xe0)]=void 0x0;try{this[_0x517d39(0x93)]=this[_0x517d39(0xd8)]();const _0x35e717=await this[_0x517d39(0x93)][_0x517d39(0x9b)]();this[_0x517d39(0x9f)]=_0x517d39(0xe9);for await(const _0x5a4e15 of _0x35e717)_0x517d39(0xe4)!==_0x5a4e15[_0x517d39(0xe9)][_0x517d39(0x8e)]&&(_0x517d39(0x8d)!==_0x5a4e15[_0x517d39(0xe9)][_0x517d39(0x8e)]?_0x517d39(0xeb)!==_0x5a4e15[_0x517d39(0xde)]?this[_0x517d39(0xd1)](_0x5a4e15[_0x517d39(0xe9)][_0x517d39(0xdb)],_0x5a4e15[_0x517d39(0xe9)][_0x517d39(0xab)]):this[_0x517d39(0xd3)]=_0x5a4e15[_0x517d39(0xe9)][_0x517d39(0xd3)]:this[_0x517d39(0x9f)]=_0x517d39(0xce));_0x517d39(0xce)!==this[_0x517d39(0x9f)]&&(0x0===this[_0x517d39(0xd5)][_0x517d39(0xa1)]?this[_0x517d39(0x9f)]=_0x517d39(0xe4):this[_0x517d39(0x9f)]=_0x517d39(0x99));}catch(_0x1423f3){this[_0x517d39(0xe0)]=_0x1423f3,_0x1423f3 instanceof Error&&_0x1423f3[_0x517d39(0xe1)][_0x517d39(0x92)](_0x517d39(0xae))?this[_0x517d39(0x9f)]=_0x517d39(0xc7):this[_0x517d39(0x9f)]=_0x517d39(0xc4);}finally{this[_0x517d39(0x93)]=null;}}async[_0x1d2e78(0xe6)](){const _0xb5be04=_0x1d2e78;this[_0xb5be04(0xd5)][_0xb5be04(0xc1)](),this[_0xb5be04(0xbc)][_0xb5be04(0x95)]=0x0,this[_0xb5be04(0xe0)]=void 0x0,await this[_0xb5be04(0xc5)]();}[_0x1d2e78(0xbe)](_0x13902d,_0x5e160c){const _0x26d2e3=_0x1d2e78,_0x4cd534=this[_0x26d2e3(0xd5)][_0x26d2e3(0x97)](_0x13902d);if(!_0x4cd534)return;const _0x1ecb3b=[];_0x5e160c[_0x26d2e3(0xa3)]((_0x1bcc9b,_0x3114cd)=>{const _0x3da539=_0x26d2e3,_0x287e33=new _0x7a4a15(_0x4cd534['id']+'-'+_0x3114cd,_0x1bcc9b,_0x4cd534);_0x287e33['on'](_0x3da539(0xa5),()=>{const _0x50e1c2=_0x3da539;this[_0x50e1c2(0xa2)](_0x50e1c2(0x8f),{'change':_0x287e33,'status':_0x287e33[_0x50e1c2(0x9f)]});}),_0x287e33['on'](_0x3da539(0x96),()=>{const _0x5da649=_0x3da539;_0x287e33[_0x5da649(0xdf)]?this[_0x5da649(0xa2)](_0x5da649(0xa8),{'change':_0x287e33}):this[_0x5da649(0xa2)](_0x5da649(0x90),{'change':_0x287e33});}),this[_0x3da539(0xbc)][_0x3da539(0xd7)](_0x287e33),_0x1ecb3b[_0x3da539(0xd7)](_0x287e33);}),this[_0x26d2e3(0xa2)](_0x26d2e3(0x9d),{'changes':_0x1ecb3b,'result':_0x4cd534,'source':this});}[_0x1d2e78(0xb4)](){const _0x147f39=_0x1d2e78;this[_0x147f39(0x93)]&&(this[_0x147f39(0x93)][_0x147f39(0xee)][_0x147f39(0xb4)](),this[_0x147f39(0x93)]=null,this[_0x147f39(0x9f)]=_0x147f39(0xc7));}[_0x1d2e78(0xef)](_0x8c7cd7){const _0xdf4324=_0x1d2e78,_0x13fb1e=this[_0xdf4324(0xbc)][_0xdf4324(0xd0)](_0x54811d=>_0x54811d['id']===_0x8c7cd7);return!(!_0x13fb1e||_0xdf4324(0xbb)!==_0x13fb1e[_0xdf4324(0x9f)]);}[_0x1d2e78(0xd6)](){const _0x2f2f2b=_0x1d2e78;return this[_0x2f2f2b(0xbc)][_0x2f2f2b(0xd9)](_0x4a6c8b=>!0x0===_0x4a6c8b[_0x2f2f2b(0xdf)]);}[_0x1d2e78(0xea)](){const _0x4ce787=_0x1d2e78;return this[_0x4ce787(0xbc)][_0x4ce787(0x8c)](_0x1798ff=>_0x4ce787(0xbb)===_0x1798ff[_0x4ce787(0x9f)]);}[_0x1d2e78(0xb1)](_0x24900b){const _0x2faa57=_0x1d2e78;return this[_0x2faa57(0xbc)][_0x2faa57(0xd0)](_0x5567f3=>_0x5567f3['id']===_0x24900b);}[_0x1d2e78(0xec)](){const _0x2f0ca3=_0x1d2e78;for(const _0x5b640f of this[_0x2f0ca3(0xbc)])_0x2f0ca3(0xbb)===_0x5b640f[_0x2f0ca3(0x9f)]&&(_0x5b640f[_0x2f0ca3(0x9f)]=_0x2f0ca3(0x9a));this[_0x2f0ca3(0xbf)]();}[_0x1d2e78(0xac)](_0x4a5941){const _0x1469e8=_0x1d2e78,_0x51b8e0=this[_0x1469e8(0xbc)][_0x1469e8(0xd0)](_0x1d1f24=>_0x1d1f24['id']===_0x4a5941);_0x51b8e0&&_0x1469e8(0xbb)===_0x51b8e0[_0x1469e8(0x9f)]&&(_0x51b8e0[_0x1469e8(0x9f)]=_0x1469e8(0x9a)),this[_0x1469e8(0xbf)]();}[_0x1d2e78(0xaf)](_0x209299){const _0x1781f9=_0x1d2e78,_0x562427=this[_0x1781f9(0xbc)][_0x1781f9(0xd0)](_0x46a83f=>_0x46a83f['id']===_0x209299);_0x562427&&_0x1781f9(0xbb)===_0x562427[_0x1781f9(0x9f)]&&(_0x562427[_0x1781f9(0x9f)]=_0x1781f9(0xd2)),this[_0x1781f9(0xbf)]();}[_0x1d2e78(0xa7)](_0x5c25e8){const _0x139712=_0x1d2e78,_0x1e68a6=this[_0x139712(0xbc)][_0x139712(0xd0)](_0x35915d=>_0x35915d['id']===_0x5c25e8);_0x1e68a6&&_0x139712(0xbb)===_0x1e68a6[_0x139712(0x9f)]&&(_0x1e68a6[_0x139712(0x9f)]=_0x139712(0xa9)),this[_0x139712(0xbf)]();}[_0x1d2e78(0xe2)](_0x181be3){const _0x9a0b67=_0x1d2e78,_0x225ffe=this[_0x9a0b67(0xbc)][_0x9a0b67(0xd0)](_0xeeaa8=>_0xeeaa8['id']===_0x181be3);_0x225ffe&&_0x9a0b67(0xa9)===_0x225ffe[_0x9a0b67(0x9f)]&&(_0x225ffe[_0x9a0b67(0x9f)]=_0x9a0b67(0xbb)),this[_0x9a0b67(0xbf)]();}[_0x1d2e78(0x9c)](_0x42ee6b){const _0x38400b=_0x1d2e78;this[_0x38400b(0xbc)][_0x38400b(0x8c)](_0x3247fe=>_0x3247fe[_0x38400b(0xdf)]&&_0x3247fe['id']!==_0x42ee6b)[_0x38400b(0xa3)](_0xdf44c6=>{const _0x10873d=_0x38400b;_0xdf44c6[_0x10873d(0xdf)]=!0x1;});const _0x3ae584=this[_0x38400b(0xbc)][_0x38400b(0xd0)](_0x3d21ae=>_0x3d21ae['id']===_0x42ee6b);_0x3ae584&&_0x38400b(0xbb)===_0x3ae584[_0x38400b(0x9f)]&&(_0x3ae584[_0x38400b(0xdf)]=!0x0);}[_0x1d2e78(0xb2)](){const _0x5d11e9=_0x1d2e78;this[_0x5d11e9(0xbc)][_0x5d11e9(0x8c)](_0x3d4ac3=>_0x3d4ac3[_0x5d11e9(0xdf)])[_0x5d11e9(0xa3)](_0x32a496=>{const _0x4685f8=_0x5d11e9;_0x32a496[_0x4685f8(0xdf)]=!0x1;});}[_0x1d2e78(0xcb)](){const _0x116db5=_0x1d2e78;this[_0x116db5(0x9f)]=_0x116db5(0x99);}async[_0x1d2e78(0xd4)](_0x1e8b26){const _0x5b4af1=_0x1d2e78;if(_0x5b4af1(0xc9)===this[_0x5b4af1(0x9f)]||_0x5b4af1(0xc0)===this[_0x5b4af1(0x9f)]||_0x5b4af1(0xe9)===this[_0x5b4af1(0x9f)])return;if(!this[_0x5b4af1(0xd3)]||0x0===this[_0x5b4af1(0xbc)][_0x5b4af1(0x95)])return;let _0x35fa6b;if(_0x1e8b26){const _0x1fd442=this[_0x5b4af1(0xbc)][_0x5b4af1(0xd0)](_0x13bae4=>_0x13bae4['id']===_0x1e8b26);if(_0x1fd442&&_0x1fd442[_0x5b4af1(0x91)])return;_0x1fd442&&(_0x35fa6b=_0x1fd442[_0x5b4af1(0xdd)]['id'],_0x1fd442[_0x5b4af1(0x91)]=!0x0);}const _0x38d954={'positiveCount':this[_0x5b4af1(0xbc)][_0x5b4af1(0x8c)](_0x27b5ad=>_0x5b4af1(0x9a)===_0x27b5ad[_0x5b4af1(0x9f)])[_0x5b4af1(0x95)],'totalCount':this[_0x5b4af1(0xbc)][_0x5b4af1(0x95)]};this[_0x5b4af1(0xa0)](_0x38d954,this[_0x5b4af1(0xd3)],_0x35fa6b);}[_0x1d2e78(0xd1)](_0x5b9f78,_0x2510c){const _0x3f29a7=_0x1d2e78,_0x49ba17=this[_0x3f29a7(0xe3)][_0x3f29a7(0xc2)][_0x3f29a7(0x97)](_0x5b9f78);if(!_0x49ba17)return;const _0x117f6b=_0x49ba17[_0x3f29a7(0xb0)]();if(_0x117f6b===_0x2510c)return;const _0x129dea=new _0x569f64({'id':_0x5b9f78,'contentInitial':_0x117f6b,'contentNew':_0x2510c,'documentVersion':this[_0x3f29a7(0xe3)][_0x3f29a7(0xb6)]});this[_0x3f29a7(0xd5)][_0x3f29a7(0xcc)](_0x129dea['id'],_0x129dea),this[_0x3f29a7(0xa2)](_0x3f29a7(0xad),{'result':_0x129dea,'source':this});}[_0x1d2e78(0xbf)](){const _0xd4af54=_0x1d2e78;_0xd4af54(0xcf)===this[_0xd4af54(0x9f)]&&(this[_0xd4af54(0xbc)][_0xd4af54(0x8c)](_0x1c99cc=>_0xd4af54(0xbb)===_0x1c99cc[_0xd4af54(0x9f)])[_0xd4af54(0x95)]>0x0&&(this[_0xd4af54(0x9f)]=_0xd4af54(0x99))),_0xd4af54(0x99)===this[_0xd4af54(0x9f)]&&(0x0===this[_0xd4af54(0xbc)][_0xd4af54(0x8c)](_0x317308=>_0xd4af54(0xbb)===_0x317308[_0xd4af54(0x9f)])[_0xd4af54(0x95)]&&(this[_0xd4af54(0x9f)]=_0xd4af54(0xcf)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x267e3f=_0x1bde;(function(_0x47a7e1,_0x1e2347){const _0x4654d6=_0x1bde,_0x4e5854=_0x47a7e1();while(!![]){try{const _0x2b3122=-parseInt(_0x4654d6(0x13a))/0x1+-parseInt(_0x4654d6(0x10f))/0x2+parseInt(_0x4654d6(0x12c))/0x3*(parseInt(_0x4654d6(0x129))/0x4)+parseInt(_0x4654d6(0x123))/0x5*(parseInt(_0x4654d6(0x14d))/0x6)+-parseInt(_0x4654d6(0x10c))/0x7*(-parseInt(_0x4654d6(0x145))/0x8)+parseInt(_0x4654d6(0x146))/0x9+parseInt(_0x4654d6(0x12b))/0xa*(-parseInt(_0x4654d6(0xff))/0xb);if(_0x2b3122===_0x1e2347)break;else _0x4e5854['push'](_0x4e5854['shift']());}catch(_0x503141){_0x4e5854['push'](_0x4e5854['shift']());}}}(_0x5e7a,0xcba79));import{Rect as _0x3f5ec3,getConstrainedViewportRect as _0x3f4325,global as _0x26813c}from'ckeditor5/src/utils.js';function _0x5e7a(){const _0x51104d=['span[data-marker-id*=\x22','isDiffActive','21sRzmZw','locale','hide','1861446PDjpNj','_removeActiveClassFromMarkers','resultResponseView','showDiff','render','ck-reset','deactivateChange','_setupClickOutsideHandler','add','div','document','_getPointedRectIndexFromEvent','content','unpin','position','click','width','hover','_pinnedTargetChangeId','getClientRects','90KQvUmy','documentElement','ck-ai-review-mode-balloon-panel-suggestion_diff-active','ck-content','length','pin','860GMidak','left','1880bjMdMm','2874vhopLH','_isPinnedRectVisible','isVisible','element','bottom','dismissChange','top','from','set','reverse','hideBalloon','extendTemplate','showDiffInBalloon','innerHTML','661439cUqVpf','fire','updateContent','replace','.ck-ai-review-mode__change_active','ck-ai-review-mode__change_active','clientX','resultItemView','bindTemplate','ck-ai-review-mode__suggestion-text','_getBestRectPositionOnHover','1905576KnGekV','3664764nSnrbV','classList','getBoundingClientRect','forEach','_getBestRectPositionOnClick','getIntersection','_pinnedRectIndex','476610peEURj','right','contentDiffed','push','remove','_pinnedTargetElement','hideDiffInBalloon','acceptChange','changeId','setTemplate','19382nZtZXu','ck-ai-review-mode-balloon-panel-suggestion','_createContentView','delegate','arrow_se','_setActiveClassOnMarker','showBalloon','clientY','arrow_','show','querySelectorAll'];_0x5e7a=function(){return _0x51104d;};return _0x5e7a();}import{BalloonPanelView as _0x2848aa,View as _0x30ff41,clickOutsideHandler as _0x2b25e4}from'ckeditor5/src/ui.js';function _0x1bde(_0x559f91,_0xe722a8){const _0x5e7a63=_0x5e7a();return _0x1bde=function(_0x1bde7f,_0x253412){_0x1bde7f=_0x1bde7f-0xfb;let _0x5e01f4=_0x5e7a63[_0x1bde7f];return _0x5e01f4;},_0x1bde(_0x559f91,_0xe722a8);}import{AIReviewModeReviewCheckListItemResultsView as _0x242f3f}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x2848aa{[_0x267e3f(0x141)];[_0x267e3f(0x14c)]=void 0x0;[_0x267e3f(0x152)]=void 0x0;[_0x267e3f(0x121)]=void 0x0;constructor(_0x3986c2,_0x754189){const _0x39bc33=_0x267e3f;super(_0x3986c2),this[_0x39bc33(0x134)]({'isVisible':!0x1,'position':_0x39bc33(0x103),'class':null,'top':0x0,'left':0x0}),this[_0x39bc33(0x137)]({'tag':_0x39bc33(0x118),'attributes':{'class':[_0x39bc33(0x114)],'tabindex':'-1'}}),this[_0x39bc33(0x134)](_0x39bc33(0x10b),!0x1),this[_0x39bc33(0x11b)][_0x39bc33(0x117)](this[_0x39bc33(0x101)]()),_0x754189[_0x39bc33(0x117)](this);}[_0x267e3f(0x113)](){const _0x2d995b=_0x267e3f;super[_0x2d995b(0x113)](),this[_0x2d995b(0x116)]();}[_0x267e3f(0x13c)](_0x512316){const _0x561bc0=_0x267e3f;this[_0x561bc0(0x141)][_0x561bc0(0xfd)]=_0x512316['id'],this[_0x561bc0(0x141)][_0x561bc0(0x111)][_0x561bc0(0x12f)][_0x561bc0(0x139)]=_0x512316[_0x561bc0(0x14f)];}[_0x267e3f(0x105)](_0x5db95b,_0x45261d,_0x2c966e,_0x35aa72,_0x22cd08,_0x3e0a11){const _0x59324d=_0x267e3f;this[_0x59324d(0x110)](),this[_0x59324d(0x13c)](_0x5db95b),this[_0x59324d(0x108)]();const _0x5cdc00=Array[_0x59324d(0x133)](_0x45261d[_0x59324d(0x122)]())[_0x59324d(0x135)](),_0x2dc3c2=this[_0x59324d(0x11a)](_0x2c966e,_0x5cdc00);_0x59324d(0x11e)===_0x35aa72?(this[_0x59324d(0x10b)]=!0x0,this[_0x59324d(0x104)](_0x5db95b['id']),this[_0x59324d(0x128)]({'target':()=>this[_0x59324d(0x14a)](_0x45261d,_0x2dc3c2,_0x5db95b['id'],_0x22cd08,_0x3e0a11)})):_0x59324d(0x120)===_0x35aa72&&(this[_0x59324d(0x10b)]=!0x1,this[_0x59324d(0x128)]({'target':()=>this[_0x59324d(0x144)](_0x45261d,_0x2dc3c2,_0x5db95b['id'])}));}[_0x267e3f(0x136)](){const _0x521683=_0x267e3f;this[_0x521683(0x10e)](),this[_0x521683(0x11c)](),this[_0x521683(0x110)](),this[_0x521683(0x14c)]=void 0x0,this[_0x521683(0x152)]=void 0x0,this[_0x521683(0x121)]=void 0x0;}[_0x267e3f(0xfb)](){const _0x27298f=_0x267e3f;this[_0x27298f(0x141)][_0x27298f(0x112)]=!0x1;}[_0x267e3f(0x138)](){const _0xd336bc=_0x267e3f;this[_0xd336bc(0x141)][_0xd336bc(0x112)]=!0x0;}[_0x267e3f(0x115)](){const _0x59d452=_0x267e3f;this[_0x59d452(0x13b)](_0x59d452(0x115));}[_0x267e3f(0x110)](){const _0xfae136=_0x267e3f;_0x26813c[_0xfae136(0x119)][_0xfae136(0x109)](_0xfae136(0x13e))[_0xfae136(0x149)](_0x2548d7=>{const _0x4c3f8d=_0xfae136;_0x2548d7[_0x4c3f8d(0x147)][_0x4c3f8d(0x151)](_0x4c3f8d(0x13f));});}[_0x267e3f(0x104)](_0x460c04){const _0x4f4c6f=_0x267e3f;_0x26813c[_0x4f4c6f(0x119)][_0x4f4c6f(0x109)](_0x4f4c6f(0x10a)+_0x460c04+'\x22]')[_0x4f4c6f(0x149)](_0x51c299=>{const _0x10770e=_0x4f4c6f;_0x51c299[_0x10770e(0x147)][_0x10770e(0x117)](_0x10770e(0x13f));});}[_0x267e3f(0x116)](){const _0x9dbce6=_0x267e3f;_0x2b25e4({'emitter':this,'activator':()=>this[_0x9dbce6(0x12e)],'contextElements':()=>{const _0x37c5c6=_0x9dbce6,_0x1e3b6b=[this[_0x37c5c6(0x12f)]];return this[_0x37c5c6(0x152)]&&_0x1e3b6b[_0x37c5c6(0x150)](this[_0x37c5c6(0x152)]),_0x1e3b6b;},'callback':()=>{const _0xd23f8d=_0x9dbce6;this[_0xd23f8d(0x10e)](),this[_0xd23f8d(0x11c)](),this[_0xd23f8d(0x110)](),this[_0xd23f8d(0x115)](),this[_0xd23f8d(0x152)]=void 0x0,this[_0xd23f8d(0x14c)]=void 0x0,this[_0xd23f8d(0x121)]=void 0x0;}});}[_0x267e3f(0x101)](){const _0x394af0=_0x267e3f,_0x17e24f=new _0x30ff41();return this[_0x394af0(0x141)]=new _0x242f3f(this[_0x394af0(0x10d)],''),this[_0x394af0(0x141)][_0x394af0(0x111)][_0x394af0(0x137)]({'attributes':{'class':[_0x394af0(0x126)]}}),this[_0x394af0(0x141)][_0x394af0(0x102)](_0x394af0(0xfc),_0x394af0(0x131))['to'](this),_0x17e24f[_0x394af0(0xfe)]({'tag':_0x394af0(0x118),'attributes':{'class':[_0x394af0(0x114),_0x394af0(0x100),this[_0x394af0(0x142)]['if'](_0x394af0(0x10b),_0x394af0(0x125))]},'children':[{'tag':'p','attributes':{'class':[_0x394af0(0x143)]},'children':[this[_0x394af0(0x141)]]}]}),_0x17e24f;}[_0x267e3f(0x14a)](_0x45c26c,_0x164a82,_0x36bbea,_0x170bd1,_0x578b72){const _0x3fab63=_0x267e3f,_0x58919a=this[_0x3fab63(0x11d)][_0x3fab63(0x13d)](_0x3fab63(0x107),''),_0x2d5b02=Array[_0x3fab63(0x133)](_0x45c26c[_0x3fab63(0x122)]());let _0x30f2eb,_0x4cb986=_0x2d5b02[_0x3fab63(0x135)]();return void 0x0!==_0x164a82&&this[_0x3fab63(0x12d)](_0x4cb986[_0x164a82],_0x170bd1,_0x578b72)?(_0x30f2eb=_0x4cb986[_0x164a82],this[_0x3fab63(0x14c)]=_0x164a82):this[_0x3fab63(0x12d)](_0x4cb986[0x0],_0x170bd1,_0x578b72)&&void 0x0===_0x164a82?_0x30f2eb=_0x4cb986[0x0]:(_0x4cb986='s'==_0x58919a[0x0]?[..._0x2d5b02][_0x3fab63(0x135)]():_0x2d5b02,_0x4cb986[_0x3fab63(0x149)](_0x17a3da=>{const _0xa24ae0=_0x3fab63;this[_0xa24ae0(0x12d)](_0x17a3da,_0x170bd1,_0x578b72)&&(_0x30f2eb=_0x17a3da);})),this[_0x3fab63(0x121)]=_0x36bbea,this[_0x3fab63(0x152)]=_0x45c26c,_0x30f2eb||_0x45c26c[_0x3fab63(0x148)]();}[_0x267e3f(0x144)](_0x10a81a,_0x3162a1,_0x13c439){const _0x36e597=_0x267e3f,_0x333d3b=Array[_0x36e597(0x133)](_0x10a81a[_0x36e597(0x122)]())[_0x36e597(0x135)]();if(void 0x0===this[_0x36e597(0x14c)]&&void 0x0!==_0x3162a1&&this[_0x36e597(0x121)]!==_0x13c439)return this[_0x36e597(0x14c)]=_0x3162a1,this[_0x36e597(0x152)]=_0x10a81a,this[_0x36e597(0x121)]=_0x13c439,_0x333d3b[_0x3162a1];if(void 0x0!==this[_0x36e597(0x14c)]&&this[_0x36e597(0x121)]===_0x13c439){if(_0x10a81a!==this[_0x36e597(0x152)])return Array[_0x36e597(0x133)](this[_0x36e597(0x152)][_0x36e597(0x122)]())[_0x36e597(0x135)]()[this[_0x36e597(0x14c)]];return _0x333d3b[this[_0x36e597(0x14c)]];}return void 0x0!==_0x3162a1&&this[_0x36e597(0x121)]!==_0x13c439?(this[_0x36e597(0x14c)]=_0x3162a1,this[_0x36e597(0x152)]=_0x10a81a,this[_0x36e597(0x121)]=_0x13c439,_0x333d3b[_0x3162a1]):_0x10a81a[_0x36e597(0x148)]();}[_0x267e3f(0x11a)](_0x415e17,_0x150f8e){const _0x4090ac=_0x267e3f;if(_0x415e17)for(let _0x1b8401=0x0;_0x1b8401<_0x150f8e[_0x4090ac(0x127)];_0x1b8401++){const _0x3542e9=_0x150f8e[_0x1b8401];if(_0x415e17[_0x4090ac(0x140)]>=_0x3542e9[_0x4090ac(0x12a)]-0x3&&_0x415e17[_0x4090ac(0x140)]<=_0x3542e9[_0x4090ac(0x14e)]+0x3&&_0x415e17[_0x4090ac(0x106)]>=_0x3542e9[_0x4090ac(0x132)]-0x3&&_0x415e17[_0x4090ac(0x106)]<=_0x3542e9[_0x4090ac(0x130)]+0x3)return _0x1b8401;}}[_0x267e3f(0x12d)](_0x31a21a,_0x3acca7,_0x12e289){const _0x4e83f0=_0x267e3f,_0x46a387=new _0x3f5ec3(_0x31a21a),_0x9b9613=_0x3acca7||document[_0x4e83f0(0x124)],_0x1b0370=_0x46a387[_0x4e83f0(0x14b)](_0x3f4325(_0x12e289)),_0x122ac7=new _0x3f5ec3(_0x9b9613)[_0x4e83f0(0x14b)](_0x46a387);return!!(_0x1b0370&&_0x122ac7&&_0x46a387[_0x4e83f0(0x11f)]>0x0);}}
23
+ const _0xd2459a=_0x31ba;(function(_0x5a4ce4,_0x28da66){const _0x3c4169=_0x31ba,_0x918ced=_0x5a4ce4();while(!![]){try{const _0x41afa7=parseInt(_0x3c4169(0x1be))/0x1*(parseInt(_0x3c4169(0x1d4))/0x2)+parseInt(_0x3c4169(0x1d7))/0x3*(-parseInt(_0x3c4169(0x1a4))/0x4)+-parseInt(_0x3c4169(0x1e3))/0x5+parseInt(_0x3c4169(0x1c6))/0x6+-parseInt(_0x3c4169(0x1d9))/0x7+-parseInt(_0x3c4169(0x19b))/0x8*(-parseInt(_0x3c4169(0x1a1))/0x9)+-parseInt(_0x3c4169(0x1c2))/0xa*(parseInt(_0x3c4169(0x1d0))/0xb);if(_0x41afa7===_0x28da66)break;else _0x918ced['push'](_0x918ced['shift']());}catch(_0x5ce5d0){_0x918ced['push'](_0x918ced['shift']());}}}(_0xaab1,0x72fa5));function _0xaab1(){const _0x3b18c0=['hideBalloon','3462gdDJIo','width','2206967GBeUSm','.ck-ai-review-mode__change_active','right','from','remove','push','clientY','setTemplate','ck-reset','_setupClickOutsideHandler','475160oITgTO','top','_getPointedRectIndexFromEvent','_pinnedTargetElement','unpin','extendTemplate','_getBestRectPositionOnClick','forEach','locale','classList','render','add','innerHTML','getBoundingClientRect','ck-content','pin','88WMJpuB','delegate','showDiff','_getBestRectPositionOnHover','getIntersection','span[data-marker-id*=\x22','358164rFBwlO','hover','fire','1796GXeeoe','isDiffActive','set','showBalloon','div','arrow_','ck-ai-review-mode__suggestion-text','element','resultItemView','clientX','_createContentView','arrow_se','isVisible','reverse','updateContent','show','_pinnedTargetChangeId','click','deactivateChange','hideDiffInBalloon','documentElement','querySelectorAll','contentDiffed','_isPinnedRectVisible','bindTemplate','left','2zwjmsv','showDiffInBalloon','changeId','position','3432190tpziga','ck-ai-review-mode-balloon-panel-suggestion','dismissChange','replace','4296528YfXQvh','acceptChange','resultResponseView','bottom','content','_removeActiveClassFromMarkers','_pinnedRectIndex','length','ck-ai-review-mode__change_active','document','22RmISYH','ck-ai-review-mode-balloon-panel-suggestion_diff-active','hide','_setActiveClassOnMarker','932002leNqnD','getClientRects'];_0xaab1=function(){return _0x3b18c0;};return _0xaab1();}import{Rect as _0x44dee2,getConstrainedViewportRect as _0x1ce69c,global as _0x312d6c}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x529c72,View as _0x53e696,clickOutsideHandler as _0x578e3e}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x35da87}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';function _0x31ba(_0x1a18bd,_0x12411a){const _0xaab19c=_0xaab1();return _0x31ba=function(_0x31ba44,_0x5de34e){_0x31ba44=_0x31ba44-0x18f;let _0x516649=_0xaab19c[_0x31ba44];return _0x516649;},_0x31ba(_0x1a18bd,_0x12411a);}export class AIReviewModeBalloonSuggestionItemView extends _0x529c72{[_0xd2459a(0x1ac)];[_0xd2459a(0x1cc)]=void 0x0;[_0xd2459a(0x1e6)]=void 0x0;[_0xd2459a(0x1b4)]=void 0x0;constructor(_0x3e8315,_0x101d20){const _0x5c30fd=_0xd2459a;super(_0x3e8315),this[_0x5c30fd(0x1a6)]({'isVisible':!0x1,'position':_0x5c30fd(0x1af),'class':null,'top':0x0,'left':0x0}),this[_0x5c30fd(0x190)]({'tag':_0x5c30fd(0x1a8),'attributes':{'class':[_0x5c30fd(0x1e1)],'tabindex':'-1'}}),this[_0x5c30fd(0x1a6)](_0x5c30fd(0x1a5),!0x1),this[_0x5c30fd(0x1ca)][_0x5c30fd(0x196)](this[_0x5c30fd(0x1ae)]()),_0x101d20[_0x5c30fd(0x196)](this);}[_0xd2459a(0x195)](){const _0x269626=_0xd2459a;super[_0x269626(0x195)](),this[_0x269626(0x1e2)]();}[_0xd2459a(0x1b2)](_0x584e39){const _0x20c3f9=_0xd2459a;this[_0x20c3f9(0x1ac)][_0x20c3f9(0x1c0)]=_0x584e39['id'],this[_0x20c3f9(0x1ac)][_0x20c3f9(0x1c8)][_0x20c3f9(0x1ab)][_0x20c3f9(0x197)]=_0x584e39[_0x20c3f9(0x1ba)];}[_0xd2459a(0x1a7)](_0x4f8e06,_0x1f2d3f,_0x3cf9bc,_0x5d1c07,_0x435a2d,_0x254975){const _0x2077c5=_0xd2459a;this[_0x2077c5(0x1cb)](),this[_0x2077c5(0x1b2)](_0x4f8e06),this[_0x2077c5(0x1b3)]();const _0x3dccbb=Array[_0x2077c5(0x1dc)](_0x1f2d3f[_0x2077c5(0x1d5)]())[_0x2077c5(0x1b1)](),_0x3534f0=this[_0x2077c5(0x1e5)](_0x3cf9bc,_0x3dccbb);_0x2077c5(0x1b5)===_0x5d1c07?(this[_0x2077c5(0x1a5)]=!0x0,this[_0x2077c5(0x1d3)](_0x4f8e06['id']),this[_0x2077c5(0x19a)]({'target':()=>this[_0x2077c5(0x191)](_0x1f2d3f,_0x3534f0,_0x4f8e06['id'],_0x435a2d,_0x254975)})):_0x2077c5(0x1a2)===_0x5d1c07&&(this[_0x2077c5(0x1a5)]=!0x1,this[_0x2077c5(0x19a)]({'target':()=>this[_0x2077c5(0x19e)](_0x1f2d3f,_0x3534f0,_0x4f8e06['id'])}));}[_0xd2459a(0x1d6)](){const _0x32f9f8=_0xd2459a;this[_0x32f9f8(0x1d2)](),this[_0x32f9f8(0x18f)](),this[_0x32f9f8(0x1cb)](),this[_0x32f9f8(0x1cc)]=void 0x0,this[_0x32f9f8(0x1e6)]=void 0x0,this[_0x32f9f8(0x1b4)]=void 0x0;}[_0xd2459a(0x1b7)](){const _0x4db291=_0xd2459a;this[_0x4db291(0x1ac)][_0x4db291(0x19d)]=!0x1;}[_0xd2459a(0x1bf)](){const _0x1efdb7=_0xd2459a;this[_0x1efdb7(0x1ac)][_0x1efdb7(0x19d)]=!0x0;}[_0xd2459a(0x1b6)](){const _0x4bffde=_0xd2459a;this[_0x4bffde(0x1a3)](_0x4bffde(0x1b6));}[_0xd2459a(0x1cb)](){const _0x1cec20=_0xd2459a;_0x312d6c[_0x1cec20(0x1cf)][_0x1cec20(0x1b9)](_0x1cec20(0x1da))[_0x1cec20(0x192)](_0x1d9ff4=>{const _0x5b3707=_0x1cec20;_0x1d9ff4[_0x5b3707(0x194)][_0x5b3707(0x1dd)](_0x5b3707(0x1ce));});}[_0xd2459a(0x1d3)](_0x541bb7){const _0x432bdf=_0xd2459a;_0x312d6c[_0x432bdf(0x1cf)][_0x432bdf(0x1b9)](_0x432bdf(0x1a0)+_0x541bb7+'\x22]')[_0x432bdf(0x192)](_0x439f86=>{const _0x2f1bfb=_0x432bdf;_0x439f86[_0x2f1bfb(0x194)][_0x2f1bfb(0x196)](_0x2f1bfb(0x1ce));});}[_0xd2459a(0x1e2)](){const _0x3144a8=_0xd2459a;_0x578e3e({'emitter':this,'activator':()=>this[_0x3144a8(0x1b0)],'contextElements':()=>{const _0x570062=_0x3144a8,_0x330ea3=[this[_0x570062(0x1ab)]];return this[_0x570062(0x1e6)]&&_0x330ea3[_0x570062(0x1de)](this[_0x570062(0x1e6)]),_0x330ea3;},'callback':()=>{const _0x522546=_0x3144a8;this[_0x522546(0x1d2)](),this[_0x522546(0x18f)](),this[_0x522546(0x1cb)](),this[_0x522546(0x1b6)](),this[_0x522546(0x1e6)]=void 0x0,this[_0x522546(0x1cc)]=void 0x0,this[_0x522546(0x1b4)]=void 0x0;}});}[_0xd2459a(0x1ae)](){const _0x1ff84d=_0xd2459a,_0xc1797b=new _0x53e696();return this[_0x1ff84d(0x1ac)]=new _0x35da87(this[_0x1ff84d(0x193)],''),this[_0x1ff84d(0x1ac)][_0x1ff84d(0x1c8)][_0x1ff84d(0x190)]({'attributes':{'class':[_0x1ff84d(0x199)]}}),this[_0x1ff84d(0x1ac)][_0x1ff84d(0x19c)](_0x1ff84d(0x1c7),_0x1ff84d(0x1c4))['to'](this),_0xc1797b[_0x1ff84d(0x1e0)]({'tag':_0x1ff84d(0x1a8),'attributes':{'class':[_0x1ff84d(0x1e1),_0x1ff84d(0x1c3),this[_0x1ff84d(0x1bc)]['if'](_0x1ff84d(0x1a5),_0x1ff84d(0x1d1))]},'children':[{'tag':'p','attributes':{'class':[_0x1ff84d(0x1aa)]},'children':[this[_0x1ff84d(0x1ac)]]}]}),_0xc1797b;}[_0xd2459a(0x191)](_0x2be4ff,_0x27e15c,_0x3c7b66,_0x5fab68,_0xbd6c4c){const _0x3aa3f1=_0xd2459a,_0xca3424=this[_0x3aa3f1(0x1c1)][_0x3aa3f1(0x1c5)](_0x3aa3f1(0x1a9),''),_0x4de02d=Array[_0x3aa3f1(0x1dc)](_0x2be4ff[_0x3aa3f1(0x1d5)]());let _0x1153bc,_0x43b661=_0x4de02d[_0x3aa3f1(0x1b1)]();return void 0x0!==_0x27e15c&&this[_0x3aa3f1(0x1bb)](_0x43b661[_0x27e15c],_0x5fab68,_0xbd6c4c)?(_0x1153bc=_0x43b661[_0x27e15c],this[_0x3aa3f1(0x1cc)]=_0x27e15c):this[_0x3aa3f1(0x1bb)](_0x43b661[0x0],_0x5fab68,_0xbd6c4c)&&void 0x0===_0x27e15c?_0x1153bc=_0x43b661[0x0]:(_0x43b661='s'==_0xca3424[0x0]?[..._0x4de02d][_0x3aa3f1(0x1b1)]():_0x4de02d,_0x43b661[_0x3aa3f1(0x192)](_0x1489af=>{const _0x1524a3=_0x3aa3f1;this[_0x1524a3(0x1bb)](_0x1489af,_0x5fab68,_0xbd6c4c)&&(_0x1153bc=_0x1489af);})),this[_0x3aa3f1(0x1b4)]=_0x3c7b66,this[_0x3aa3f1(0x1e6)]=_0x2be4ff,_0x1153bc||_0x2be4ff[_0x3aa3f1(0x198)]();}[_0xd2459a(0x19e)](_0x4fee98,_0x2592f8,_0x2e39bc){const _0x53d705=_0xd2459a,_0x39ab99=Array[_0x53d705(0x1dc)](_0x4fee98[_0x53d705(0x1d5)]())[_0x53d705(0x1b1)]();if(void 0x0===this[_0x53d705(0x1cc)]&&void 0x0!==_0x2592f8&&this[_0x53d705(0x1b4)]!==_0x2e39bc)return this[_0x53d705(0x1cc)]=_0x2592f8,this[_0x53d705(0x1e6)]=_0x4fee98,this[_0x53d705(0x1b4)]=_0x2e39bc,_0x39ab99[_0x2592f8];if(void 0x0!==this[_0x53d705(0x1cc)]&&this[_0x53d705(0x1b4)]===_0x2e39bc){if(_0x4fee98!==this[_0x53d705(0x1e6)])return Array[_0x53d705(0x1dc)](this[_0x53d705(0x1e6)][_0x53d705(0x1d5)]())[_0x53d705(0x1b1)]()[this[_0x53d705(0x1cc)]];return _0x39ab99[this[_0x53d705(0x1cc)]];}return void 0x0!==_0x2592f8&&this[_0x53d705(0x1b4)]!==_0x2e39bc?(this[_0x53d705(0x1cc)]=_0x2592f8,this[_0x53d705(0x1e6)]=_0x4fee98,this[_0x53d705(0x1b4)]=_0x2e39bc,_0x39ab99[_0x2592f8]):_0x4fee98[_0x53d705(0x198)]();}[_0xd2459a(0x1e5)](_0x30e447,_0x428592){const _0x24e970=_0xd2459a;if(_0x30e447)for(let _0x38351a=0x0;_0x38351a<_0x428592[_0x24e970(0x1cd)];_0x38351a++){const _0x1fdbf6=_0x428592[_0x38351a];if(_0x30e447[_0x24e970(0x1ad)]>=_0x1fdbf6[_0x24e970(0x1bd)]-0x3&&_0x30e447[_0x24e970(0x1ad)]<=_0x1fdbf6[_0x24e970(0x1db)]+0x3&&_0x30e447[_0x24e970(0x1df)]>=_0x1fdbf6[_0x24e970(0x1e4)]-0x3&&_0x30e447[_0x24e970(0x1df)]<=_0x1fdbf6[_0x24e970(0x1c9)]+0x3)return _0x38351a;}}[_0xd2459a(0x1bb)](_0x39ec75,_0x2d957a,_0x516696){const _0x22805d=_0xd2459a,_0x42abf9=new _0x44dee2(_0x39ec75),_0x54f0af=_0x2d957a||document[_0x22805d(0x1b8)],_0x2f831d=_0x42abf9[_0x22805d(0x19f)](_0x1ce69c(_0x516696)),_0x29b2a9=new _0x44dee2(_0x54f0af)[_0x22805d(0x19f)](_0x42abf9);return!!(_0x2f831d&&_0x29b2a9&&_0x42abf9[_0x22805d(0x1d8)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x92456e=_0xe221;(function(_0x2fb530,_0x524a82){const _0x5b2925=_0xe221,_0x37830b=_0x2fb530();while(!![]){try{const _0x4056be=parseInt(_0x5b2925(0x1bb))/0x1*(parseInt(_0x5b2925(0x1c1))/0x2)+parseInt(_0x5b2925(0x1c6))/0x3*(parseInt(_0x5b2925(0x19a))/0x4)+parseInt(_0x5b2925(0x199))/0x5+parseInt(_0x5b2925(0x191))/0x6+parseInt(_0x5b2925(0x18b))/0x7*(parseInt(_0x5b2925(0x1b2))/0x8)+-parseInt(_0x5b2925(0x1b1))/0x9+parseInt(_0x5b2925(0x192))/0xa*(-parseInt(_0x5b2925(0x1a8))/0xb);if(_0x4056be===_0x524a82)break;else _0x37830b['push'](_0x37830b['shift']());}catch(_0x51745a){_0x37830b['push'](_0x37830b['shift']());}}}(_0xe73e,0xda5cd));import{View as _0x1ede22,ButtonView as _0x76e8ad}from'ckeditor5/src/ui.js';function _0xe221(_0x1c5477,_0x5547f1){const _0xe73ed5=_0xe73e();return _0xe221=function(_0xe2217f,_0x2f33d4){_0xe2217f=_0xe2217f-0x187;let _0x393c1a=_0xe73ed5[_0xe2217f];return _0x393c1a;},_0xe221(_0x1c5477,_0x5547f1);}import{IconInfo as _0x891c56,IconCheck as _0x1b02c3,IconCancel as _0x47fa20,IconOutdated as _0xbca745}from'ckeditor5/src/icons.js';import{getTranslation as _0x4f872b}from'../../aicore/utils/common-translations.js';function _0xe73e(){const _0x30b129=['33781FdAYZi','stopPropagation','dismissButtonView','_createStatusButtonView','infoButtonView','changeId','REJECTED','AI_REVIEW_MODE_LEARN_MORE','_createInfoButtonView','13229118gjguqd','460896QNqUXl','ck-content-direct-excluded','extendTemplate','isActive','ck-ai-review-mode__check-run-result','ck-ai-button-secondary','ck-ai-review-mode__check-run-result-status-button','resultResponseView','menuitemcheckbox','3cKNhCg','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','setTemplate','statusButtonView','ck-ai-review-mode__check-run-result-dismiss-button','set','1182290SJxNsj','_createDismissButtonView','ck-ai-review-mode__check-run-result_active','AI_REVIEW_MODE_ACCEPT_CHANGE','label','6mbOBlc','ck-ai-review-mode__check-run-result-footer','setItemAsInactive','ck-hidden','isOn','dismissChange','_createResultResponseView','pending','ck-ai-button-tertiary-filled','setItemAsActive','161MlGyEp','div','AI_REVIEW_MODE_CHECK_STATUS_','isInfoToggleOn','activateChange','disabled','4377750CXADfk','15430ImEpIk','click','status','ACCEPTED','ck-ai-review-mode__check-run-result-response','ck-ai-review-mode__check-run-result-accept-button','ck-ai-review-mode__check-run-result-action-buttons','7450180zsTHVf','3569392qWKWpR','bindTemplate','toUpperCase','acceptButtonView','locale','showDiff','bind','execute','ck-content','fire','acceptChange','icon','_createAcceptButtonView','AI_REVIEW_MODE_DISMISS_CHANGE'];_0xe73e=function(){return _0x30b129;};return _0xe73e();}export class AIReviewModeReviewCheckListItemResultsView extends _0x1ede22{[_0x92456e(0x1b9)];[_0x92456e(0x19d)];[_0x92456e(0x1aa)];[_0x92456e(0x1ac)];[_0x92456e(0x1be)];constructor(_0x1bcc29,_0x1ec95e){const _0x3cd1e4=_0x92456e;super(_0x1bcc29),this['id']=_0x1ec95e,this[_0x3cd1e4(0x1c0)](_0x3cd1e4(0x194),_0x3cd1e4(0x188)),this[_0x3cd1e4(0x1c0)](_0x3cd1e4(0x1ad),_0x1ec95e),this[_0x3cd1e4(0x1b9)]=this[_0x3cd1e4(0x187)](),this[_0x3cd1e4(0x19d)]=this[_0x3cd1e4(0x1a6)](),this[_0x3cd1e4(0x1aa)]=this[_0x3cd1e4(0x1c2)](),this[_0x3cd1e4(0x1ac)]=this[_0x3cd1e4(0x1b0)](),this[_0x3cd1e4(0x1be)]=this[_0x3cd1e4(0x1ab)](),this[_0x3cd1e4(0x1c0)](_0x3cd1e4(0x18e),!0x1),this[_0x3cd1e4(0x1c0)](_0x3cd1e4(0x1b5),!0x1),this[_0x3cd1e4(0x1c0)](_0x3cd1e4(0x19f),!0x0),this[_0x3cd1e4(0x1bd)]({'tag':_0x3cd1e4(0x18c),'attributes':{'class':[_0x3cd1e4(0x1b6),this[_0x3cd1e4(0x19b)]['if'](_0x3cd1e4(0x1b5),_0x3cd1e4(0x1c3))]},'on':{'click':this[_0x3cd1e4(0x19b)]['to'](_0x3cd1e4(0x193))},'children':[this[_0x3cd1e4(0x1b9)],{'tag':_0x3cd1e4(0x18c),'attributes':{'class':[_0x3cd1e4(0x1c7)]},'children':[{'tag':_0x3cd1e4(0x18c),'attributes':{'class':[_0x3cd1e4(0x198)]},'children':[this[_0x3cd1e4(0x19d)],this[_0x3cd1e4(0x1aa)],this[_0x3cd1e4(0x1be)]]},this[_0x3cd1e4(0x1ac)]]}]}),this['on'](_0x3cd1e4(0x193),()=>{const _0x1f4335=_0x3cd1e4;this[_0x1f4335(0x1a3)](_0x1f4335(0x18f),{'id':_0x1ec95e,'source':this});});}[_0x92456e(0x18a)](){const _0x54601b=_0x92456e;this[_0x54601b(0x1b5)]=!0x0;}[_0x92456e(0x1c8)](){const _0x5bf33b=_0x92456e;this[_0x5bf33b(0x1b5)]=!0x1;}[_0x92456e(0x187)](){const _0xd4101e=_0x92456e,_0x4e2a10=new _0x1ede22(this[_0xd4101e(0x19e)]);return _0x4e2a10[_0xd4101e(0x1bd)]({'tag':_0xd4101e(0x18c),'attributes':{'class':['ck',_0xd4101e(0x1a2),_0xd4101e(0x1b3),_0xd4101e(0x196),this[_0xd4101e(0x19b)]['if'](_0xd4101e(0x19f),_0xd4101e(0x1c9),_0x1395f7=>!_0x1395f7)]}}),_0x4e2a10;}[_0x92456e(0x1a6)](){const _0xc9663=_0x92456e,_0x2b5be1=new _0x76e8ad(this[_0xc9663(0x19e)]);return _0x2b5be1[_0xc9663(0x1c0)]({'label':_0x4f872b(this[_0xc9663(0x19e)],_0xc9663(0x1c4)),'withText':!0x0}),_0x2b5be1[_0xc9663(0x1b4)]({'on':{'click':this[_0xc9663(0x19b)]['to'](_0x5ae24f=>{const _0xa3a04a=_0xc9663;this[_0xa3a04a(0x1a3)](_0xa3a04a(0x1a4),{'id':this[_0xa3a04a(0x1ad)]}),_0x5ae24f[_0xa3a04a(0x1a9)]();})},'attributes':{'class':[_0xc9663(0x1b7),_0xc9663(0x197),this[_0xc9663(0x19b)]['if'](_0xc9663(0x194),_0xc9663(0x1c9),_0x268f18=>_0xc9663(0x188)!==_0x268f18)]}}),_0x2b5be1;}[_0x92456e(0x1c2)](){const _0x28b612=_0x92456e,_0x304131=new _0x76e8ad(this[_0x28b612(0x19e)]);return _0x304131[_0x28b612(0x1c0)]({'label':_0x4f872b(this[_0x28b612(0x19e)],_0x28b612(0x1a7)),'withText':!0x0}),_0x304131[_0x28b612(0x1b4)]({'on':{'click':this[_0x28b612(0x19b)]['to'](_0x1d2616=>{const _0xc274d4=_0x28b612;this[_0xc274d4(0x1a3)](_0xc274d4(0x1cb),{'id':this[_0xc274d4(0x1ad)]}),_0x1d2616[_0xc274d4(0x1a9)]();})},'attributes':{'class':[_0x28b612(0x189),_0x28b612(0x1bf),this[_0x28b612(0x19b)]['if'](_0x28b612(0x194),_0x28b612(0x1c9),_0x365c2b=>_0x28b612(0x188)!==_0x365c2b)]}}),_0x304131;}[_0x92456e(0x1b0)](){const _0x580579=_0x92456e,_0x5c8bd5=new _0x76e8ad(this[_0x580579(0x19e)]);return _0x5c8bd5[_0x580579(0x1c0)]({'label':_0x4f872b(this[_0x580579(0x19e)],_0x580579(0x1af)),'icon':_0x891c56,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x580579(0x1ba),'class':_0x580579(0x1bc)}),_0x5c8bd5[_0x580579(0x1a0)](_0x580579(0x1ca))['to'](this,_0x580579(0x18e),_0x3ce5f0=>_0x3ce5f0),_0x5c8bd5['on'](_0x580579(0x1a1),()=>{const _0x2a35fd=_0x580579;this[_0x2a35fd(0x18e)]=!this[_0x2a35fd(0x18e)];}),_0x5c8bd5;}[_0x92456e(0x1ab)](){const _0x1920ab=_0x92456e,_0x21bf63=new _0x76e8ad(this[_0x1920ab(0x19e)]);return _0x21bf63[_0x1920ab(0x1c0)]({'withText':!0x0,'isEnabled':!0x1}),_0x21bf63[_0x1920ab(0x1a0)](_0x1920ab(0x1c5))['to'](this,_0x1920ab(0x194),_0x115e70=>_0x4f872b(this[_0x1920ab(0x19e)],_0x1920ab(0x18d)+_0x115e70[_0x1920ab(0x19c)]())),_0x21bf63[_0x1920ab(0x1a0)](_0x1920ab(0x1a5))['to'](this,_0x1920ab(0x194),_0xb968e8=>_0x1920ab(0x195)===_0xb968e8[_0x1920ab(0x19c)]()?_0x1b02c3:_0x1920ab(0x1ae)===_0xb968e8[_0x1920ab(0x19c)]()?_0x47fa20:_0xbca745),_0x21bf63[_0x1920ab(0x1b4)]({'attributes':{'class':[_0x1920ab(0x1b7),_0x1920ab(0x1b8),this[_0x1920ab(0x19b)]['if'](_0x1920ab(0x194),_0x1920ab(0x1c9),_0x23f88d=>_0x1920ab(0x188)===_0x23f88d)],'disabled':_0x1920ab(0x190)}}),_0x21bf63;}}
23
+ const _0x2b423f=_0x3c09;(function(_0x46386f,_0x5ccc6c){const _0x2a85a2=_0x3c09,_0x5e44f3=_0x46386f();while(!![]){try{const _0x5103f3=parseInt(_0x2a85a2(0x201))/0x1+-parseInt(_0x2a85a2(0x20a))/0x2+parseInt(_0x2a85a2(0x22b))/0x3*(-parseInt(_0x2a85a2(0x205))/0x4)+-parseInt(_0x2a85a2(0x216))/0x5*(-parseInt(_0x2a85a2(0x22a))/0x6)+-parseInt(_0x2a85a2(0x20b))/0x7*(-parseInt(_0x2a85a2(0x225))/0x8)+parseInt(_0x2a85a2(0x1f8))/0x9*(-parseInt(_0x2a85a2(0x1f7))/0xa)+-parseInt(_0x2a85a2(0x233))/0xb*(-parseInt(_0x2a85a2(0x224))/0xc);if(_0x5103f3===_0x5ccc6c)break;else _0x5e44f3['push'](_0x5e44f3['shift']());}catch(_0x4f04f9){_0x5e44f3['push'](_0x5e44f3['shift']());}}}(_0x1965,0x2f28c));function _0x3c09(_0x7006f7,_0x3dce81){const _0x196508=_0x1965();return _0x3c09=function(_0x3c09e5,_0x1ebebe){_0x3c09e5=_0x3c09e5-0x1f4;let _0x3ffb92=_0x196508[_0x3c09e5];return _0x3ffb92;},_0x3c09(_0x7006f7,_0x3dce81);}import{View as _0x156d92,ButtonView as _0xdbbf0b}from'ckeditor5/src/ui.js';import{IconInfo as _0x36f1f7,IconCheck as _0x46223b,IconCancel as _0x25a820,IconOutdated as _0x569824}from'ckeditor5/src/icons.js';import{getTranslation as _0x1e8c23}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x156d92{[_0x2b423f(0x22e)];[_0x2b423f(0x21f)];[_0x2b423f(0x206)];[_0x2b423f(0x22f)];[_0x2b423f(0x228)];constructor(_0x5a4491,_0xfece52){const _0x54dd56=_0x2b423f;super(_0x5a4491),this['id']=_0xfece52,this[_0x54dd56(0x202)](_0x54dd56(0x1f9),_0x54dd56(0x219)),this[_0x54dd56(0x202)](_0x54dd56(0x230),_0xfece52),this[_0x54dd56(0x22e)]=this[_0x54dd56(0x234)](),this[_0x54dd56(0x21f)]=this[_0x54dd56(0x20d)](),this[_0x54dd56(0x206)]=this[_0x54dd56(0x231)](),this[_0x54dd56(0x22f)]=this[_0x54dd56(0x237)](),this[_0x54dd56(0x228)]=this[_0x54dd56(0x211)](),this[_0x54dd56(0x202)](_0x54dd56(0x21a),!0x1),this[_0x54dd56(0x202)](_0x54dd56(0x239),!0x1),this[_0x54dd56(0x202)](_0x54dd56(0x21c),!0x0),this[_0x54dd56(0x1f5)]({'tag':_0x54dd56(0x210),'attributes':{'class':[_0x54dd56(0x1f6),this[_0x54dd56(0x20c)]['if'](_0x54dd56(0x239),_0x54dd56(0x22c))]},'on':{'click':this[_0x54dd56(0x20c)]['to'](_0x54dd56(0x222))},'children':[this[_0x54dd56(0x22e)],{'tag':_0x54dd56(0x210),'attributes':{'class':[_0x54dd56(0x236)]},'children':[{'tag':_0x54dd56(0x210),'attributes':{'class':[_0x54dd56(0x20f)]},'children':[this[_0x54dd56(0x21f)],this[_0x54dd56(0x206)],this[_0x54dd56(0x228)]]},this[_0x54dd56(0x22f)]]}]}),this['on'](_0x54dd56(0x222),()=>{const _0x1cebf9=_0x54dd56;this[_0x1cebf9(0x213)](_0x1cebf9(0x20e),{'id':_0xfece52,'source':this});});}[_0x2b423f(0x217)](){const _0x31e79f=_0x2b423f;this[_0x31e79f(0x239)]=!0x0;}[_0x2b423f(0x218)](){const _0x355a23=_0x2b423f;this[_0x355a23(0x239)]=!0x1;}[_0x2b423f(0x234)](){const _0x33ee4a=_0x2b423f,_0x31842d=new _0x156d92(this[_0x33ee4a(0x209)]);return _0x31842d[_0x33ee4a(0x1f5)]({'tag':_0x33ee4a(0x210),'attributes':{'class':['ck',_0x33ee4a(0x235),_0x33ee4a(0x21b),_0x33ee4a(0x200),this[_0x33ee4a(0x20c)]['if'](_0x33ee4a(0x21c),_0x33ee4a(0x215),_0x4353a6=>!_0x4353a6)]}}),_0x31842d;}[_0x2b423f(0x20d)](){const _0x4b3f58=_0x2b423f,_0x4198d3=new _0xdbbf0b(this[_0x4b3f58(0x209)]);return _0x4198d3[_0x4b3f58(0x202)]({'label':_0x1e8c23(this[_0x4b3f58(0x209)],_0x4b3f58(0x1fa)),'withText':!0x0}),_0x4198d3[_0x4b3f58(0x227)]({'on':{'click':this[_0x4b3f58(0x20c)]['to'](_0x50d1ae=>{const _0x3b252b=_0x4b3f58;this[_0x3b252b(0x213)](_0x3b252b(0x1fd),{'id':this[_0x3b252b(0x230)]}),_0x50d1ae[_0x3b252b(0x21e)]();})},'attributes':{'class':[_0x4b3f58(0x203),_0x4b3f58(0x204),this[_0x4b3f58(0x20c)]['if'](_0x4b3f58(0x1f9),_0x4b3f58(0x215),_0x307992=>_0x4b3f58(0x219)!==_0x307992)]}}),_0x4198d3;}[_0x2b423f(0x231)](){const _0x1b9f37=_0x2b423f,_0x52eb93=new _0xdbbf0b(this[_0x1b9f37(0x209)]);return _0x52eb93[_0x1b9f37(0x202)]({'label':_0x1e8c23(this[_0x1b9f37(0x209)],_0x1b9f37(0x207)),'withText':!0x0}),_0x52eb93[_0x1b9f37(0x227)]({'on':{'click':this[_0x1b9f37(0x20c)]['to'](_0x32ffee=>{const _0x10c602=_0x1b9f37;this[_0x10c602(0x213)](_0x10c602(0x1fb),{'id':this[_0x10c602(0x230)]}),_0x32ffee[_0x10c602(0x21e)]();})},'attributes':{'class':[_0x1b9f37(0x214),_0x1b9f37(0x208),this[_0x1b9f37(0x20c)]['if'](_0x1b9f37(0x1f9),_0x1b9f37(0x215),_0x54a2eb=>_0x1b9f37(0x219)!==_0x54a2eb)]}}),_0x52eb93;}[_0x2b423f(0x237)](){const _0x6423f9=_0x2b423f,_0x507a65=new _0xdbbf0b(this[_0x6423f9(0x209)]);return _0x507a65[_0x6423f9(0x202)]({'label':_0x1e8c23(this[_0x6423f9(0x209)],_0x6423f9(0x1fc)),'icon':_0x36f1f7,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x6423f9(0x212),'class':_0x6423f9(0x232)}),_0x507a65[_0x6423f9(0x22d)](_0x6423f9(0x1f4))['to'](this,_0x6423f9(0x21a),_0x4f6014=>_0x4f6014),_0x507a65['on'](_0x6423f9(0x21d),()=>{const _0x27f42e=_0x6423f9;this[_0x27f42e(0x21a)]=!this[_0x27f42e(0x21a)];}),_0x507a65;}[_0x2b423f(0x211)](){const _0x53cadc=_0x2b423f,_0x4f5f93=new _0xdbbf0b(this[_0x53cadc(0x209)]);return _0x4f5f93[_0x53cadc(0x202)]({'withText':!0x0,'isEnabled':!0x1}),_0x4f5f93[_0x53cadc(0x22d)](_0x53cadc(0x226))['to'](this,_0x53cadc(0x1f9),_0x4a1420=>_0x1e8c23(this[_0x53cadc(0x209)],_0x53cadc(0x1ff)+_0x4a1420[_0x53cadc(0x238)]())),_0x4f5f93[_0x53cadc(0x22d)](_0x53cadc(0x223))['to'](this,_0x53cadc(0x1f9),_0xcddc0b=>_0x53cadc(0x1fe)===_0xcddc0b[_0x53cadc(0x238)]()?_0x46223b:_0x53cadc(0x220)===_0xcddc0b[_0x53cadc(0x238)]()?_0x25a820:_0x569824),_0x4f5f93[_0x53cadc(0x227)]({'attributes':{'class':[_0x53cadc(0x203),_0x53cadc(0x229),this[_0x53cadc(0x20c)]['if'](_0x53cadc(0x1f9),_0x53cadc(0x215),_0x438bbd=>_0x53cadc(0x219)===_0x438bbd)],'disabled':_0x53cadc(0x221)}}),_0x4f5f93;}}function _0x1965(){const _0x4e8a44=['ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','77WfRuSr','_createResultResponseView','ck-content','ck-ai-review-mode__check-run-result-footer','_createInfoButtonView','toUpperCase','isActive','isOn','setTemplate','ck-ai-review-mode__check-run-result','28500NiggRl','1134okFuUg','status','AI_REVIEW_MODE_ACCEPT_CHANGE','dismissChange','AI_REVIEW_MODE_LEARN_MORE','acceptChange','ACCEPTED','AI_REVIEW_MODE_CHECK_STATUS_','ck-ai-review-mode__check-run-result-response','100907gjyLME','set','ck-ai-button-secondary','ck-ai-review-mode__check-run-result-accept-button','328036ncippv','dismissButtonView','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-review-mode__check-run-result-dismiss-button','locale','170634QvToue','324779RLHJvp','bindTemplate','_createAcceptButtonView','activateChange','ck-ai-review-mode__check-run-result-action-buttons','div','_createStatusButtonView','menuitemcheckbox','fire','ck-ai-button-tertiary-filled','ck-hidden','1475675SsuOiS','setItemAsActive','setItemAsInactive','pending','isInfoToggleOn','ck-content-direct-excluded','showDiff','execute','stopPropagation','acceptButtonView','REJECTED','disabled','click','icon','475116FoWRfl','8GamVyb','label','extendTemplate','statusButtonView','ck-ai-review-mode__check-run-result-status-button','6hCdALD','3ISnrvi','ck-ai-review-mode__check-run-result_active','bind','resultResponseView','infoButtonView','changeId','_createDismissButtonView'];_0x1965=function(){return _0x4e8a44;};return _0x1965();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x4299eb,KeystrokeHandler as _0x34afe0,FocusTracker as _0x58aec5}from'ckeditor5/src/utils.js';import{View as _0x3e12b2,ViewCollection as _0x1d47f2,ButtonView as _0x4743cd,FormRowView as _0x210178,createDropdown as _0x284bad,addListToDropdown as _0x2bb0bd,UIModel as _0xc42458,ButtonLabelView as _0xd7581c,LabeledFieldView as _0x27f144,FocusCycler as ts}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x537273}from'./aireviemodepromptinputview.js';import{getTranslation as _0x1a9b80}from'../../aicore/utils/common-translations.js';import{AIModels as Ft}from'../../aicore/model/aimodels.js';export class AIReviewModeCustomCheckView extends _0x3e12b2{['focusTracker']=new _0x58aec5();['keystrokes']=new _0x34afe0();['focusCycler'];['_focusables']=new _0x1d47f2();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x5cd764,_0x3948b2){super(_0x5cd764),this['_check']=_0x3948b2,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x3948b2['models']&&_0x3948b2['models']['length']>0x0?_0x3948b2['models'][0x0]['id']:'',this['_defaultLabel']=_0x3948b2['models']&&_0x3948b2['models']['length']>0x0?_0x3948b2['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x27f144(this['locale'],()=>new _0x537273(_0x5cd764)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x4299eb(),this['_setModelList'](),_0x2bb0bd(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x210178(this['locale'],{'children':[this['promptInputView']]}),new _0x210178(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x56a2a4,_0x606726)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x606726()):_0x606726();}),this['focusCycler']=new ts({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x2cad61=>{this['_focusables']['add'](_0x2cad61),this['focusTracker']['add'](_0x2cad61['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x585c7e of this['_getFormValidators']()){const _0x365710=_0x585c7e();if(_0x365710)return this['promptInputView']['errorText']=_0x365710,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x1a9b80(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x28beed=new _0x4743cd(this['locale']),t=this['locale']['t'];return _0x28beed['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x28beed['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x28beed;}['_createCancelButtonView'](){const _0x54b61c=new _0x4743cd(this['locale']),t=this['locale']['t'];return _0x54b61c['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x54b61c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x26bb9c=>{_0x26bb9c['stopPropagation']();})}}),_0x54b61c['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x54b61c;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x27a95b=this['_check']['models'];if(this['resetToDefault'](),_0x27a95b?.['length']){const _0xb1572a=Ft['getLocalized'](this['locale'],_0x27a95b);for(const _0x1bb077 of _0xb1572a){const _0x5e0608=new _0xc42458({'label':_0x1bb077['name'],'withText':!0x0,'role':'menuitemradio','id':_0x1bb077['id'],'model':_0x1bb077});_0x5e0608['bind']('isOn')['to'](this,'modelId',_0x3d9b46=>_0x3d9b46===_0x1bb077['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x5e0608,'labelView':new Xs(this['locale'],_0x1bb077)});}}}['_createModelSelectionDropdown'](){const _0x7555fe=_0x284bad(this['locale']);return _0x7555fe['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x7555fe['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x7555fe,'execute',_0x3d3b25=>{this['modelId']=_0x3d3b25['source']['model']['id'],_0x7555fe['buttonView']['label']=_0x3d3b25['source']['label'];}),_0x7555fe;}['_createActionsFooterView'](){const _0x3c694e=new _0x3e12b2(this['locale']);return _0x3c694e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x3c694e;}}class Xs extends _0xd7581c{constructor(_0x39fb18,_0x63af11){super();const _0x49d24b=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x49d24b['to']('style'),'id':_0x49d24b['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x49d24b['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x63af11['description']||'']}]}]});}}
23
+ import{Collection as _0x5bca20,KeystrokeHandler as _0x46a759,FocusTracker as _0x218119}from'ckeditor5/src/utils.js';import{View as _0x14e58e,ViewCollection as _0xd5a926,ButtonView as _0x238f63,FormRowView as _0x14c315,createDropdown as _0x440797,addListToDropdown as _0x8ea5b9,UIModel as _0x15a683,ButtonLabelView as _0xc6c098,LabeledFieldView as _0xcd84f,FocusCycler as ts}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x1051d7}from'./aireviemodepromptinputview.js';import{getTranslation as _0x595826}from'../../aicore/utils/common-translations.js';import{AIModels as _0x1f1125}from'../../aicore/model/aimodels.js';export class AIReviewModeCustomCheckView extends _0x14e58e{['focusTracker']=new _0x218119();['keystrokes']=new _0x46a759();['focusCycler'];['_focusables']=new _0xd5a926();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x2a96ae,_0x191f73){super(_0x2a96ae),this['_check']=_0x191f73,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x191f73['models']&&_0x191f73['models']['length']>0x0?_0x191f73['models'][0x0]['id']:'',this['_defaultLabel']=_0x191f73['models']&&_0x191f73['models']['length']>0x0?_0x191f73['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0xcd84f(this['locale'],()=>new _0x1051d7(_0x2a96ae)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x5bca20(),this['_setModelList'](),_0x8ea5b9(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x14c315(this['locale'],{'children':[this['promptInputView']]}),new _0x14c315(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x54e079,_0x454ba8)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x454ba8()):_0x454ba8();}),this['focusCycler']=new ts({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x2e95ac=>{this['_focusables']['add'](_0x2e95ac),this['focusTracker']['add'](_0x2e95ac['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x24a02f of this['_getFormValidators']()){const _0x1813a4=_0x24a02f();if(_0x1813a4)return this['promptInputView']['errorText']=_0x1813a4,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x595826(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0xcbed89=new _0x238f63(this['locale']),t=this['locale']['t'];return _0xcbed89['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xcbed89['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0xcbed89;}['_createCancelButtonView'](){const _0x416afd=new _0x238f63(this['locale']),t=this['locale']['t'];return _0x416afd['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x416afd['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3566d9=>{_0x3566d9['stopPropagation']();})}}),_0x416afd['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x416afd;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x5bdcd6=this['_check']['models'];if(this['resetToDefault'](),_0x5bdcd6?.['length']){const _0x27be66=_0x1f1125['getLocalized'](this['locale'],_0x5bdcd6);for(const _0x119ae1 of _0x27be66){const _0x5fe39=new _0x15a683({'label':_0x119ae1['name'],'withText':!0x0,'role':'menuitemradio','id':_0x119ae1['id'],'model':_0x119ae1});_0x5fe39['bind']('isOn')['to'](this,'modelId',_0x29bef5=>_0x29bef5===_0x119ae1['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x5fe39,'labelView':new Xs(this['locale'],_0x119ae1)});}}}['_createModelSelectionDropdown'](){const _0xc9531=_0x440797(this['locale']);return _0xc9531['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0xc9531['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0xc9531,'execute',_0x4932d1=>{this['modelId']=_0x4932d1['source']['model']['id'],_0xc9531['buttonView']['label']=_0x4932d1['source']['label'];}),_0xc9531;}['_createActionsFooterView'](){const _0x404db3=new _0x14e58e(this['locale']);return _0x404db3['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x404db3;}}class Xs extends _0xc6c098{constructor(_0x292278,_0x12ff4b){super();const _0x147c18=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x147c18['to']('style'),'id':_0x147c18['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x147c18['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x12ff4b['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x463316,_0x31b29f){var _0x525787=_0x12aa,_0x431256=_0x463316();while(!![]){try{var _0x4627e3=parseInt(_0x525787(0xc6))/0x1*(-parseInt(_0x525787(0xca))/0x2)+parseInt(_0x525787(0xc0))/0x3*(parseInt(_0x525787(0xc7))/0x4)+parseInt(_0x525787(0xcb))/0x5+parseInt(_0x525787(0xce))/0x6*(-parseInt(_0x525787(0xc2))/0x7)+-parseInt(_0x525787(0xc8))/0x8+parseInt(_0x525787(0xbf))/0x9*(-parseInt(_0x525787(0xc9))/0xa)+parseInt(_0x525787(0xcd))/0xb*(parseInt(_0x525787(0xbd))/0xc);if(_0x4627e3===_0x31b29f)break;else _0x431256['push'](_0x431256['shift']());}catch(_0x154f67){_0x431256['push'](_0x431256['shift']());}}}(_0x9248,0xc0287));import{ButtonView as _0x382216}from'ckeditor5/src/ui.js';import{getTranslation as _0x21bac7}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x382216{constructor(_0x5a4ceb){var _0x318844=_0x12aa;super(_0x5a4ceb),this[_0x318844(0xc5)]({'label':_0x21bac7(this[_0x318844(0xc4)],_0x318844(0xcc)),'withText':!0x0,'class':_0x318844(0xc3)}),this['on'](_0x318844(0xbc),()=>{var _0x39636a=_0x318844;this[_0x39636a(0xc1)](_0x39636a(0xbe));});}}function _0x12aa(_0xe7ce1b,_0x3fa2ba){var _0x92485b=_0x9248();return _0x12aa=function(_0x12aa79,_0x512fa2){_0x12aa79=_0x12aa79-0xbc;var _0x4a64fe=_0x92485b[_0x12aa79];return _0x4a64fe;},_0x12aa(_0xe7ce1b,_0x3fa2ba);}function _0x9248(){var _0x21cbe0=['34fNUBmH','28ZmSkoT','9709784HHCxqi','430LemTci','1804iQytQV','524695EQumHf','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','11CLEZDa','221658FetqYs','execute','24426492CsZVJY','finishReview','23913WAcBqa','176406ZVdtmu','fire','77vdaFDK','ck-ai-button-primary','locale','set'];_0x9248=function(){return _0x21cbe0;};return _0x9248();}
23
+ function _0x5e85(_0x149d31,_0x2c69c8){var _0x3c7913=_0x3c79();return _0x5e85=function(_0x5e851f,_0xd461ed){_0x5e851f=_0x5e851f-0x15d;var _0x2cb631=_0x3c7913[_0x5e851f];return _0x2cb631;},_0x5e85(_0x149d31,_0x2c69c8);}(function(_0x2c2224,_0xe2a331){var _0x48ea07=_0x5e85,_0x1f7aa7=_0x2c2224();while(!![]){try{var _0x7a78e3=parseInt(_0x48ea07(0x168))/0x1+parseInt(_0x48ea07(0x16e))/0x2*(-parseInt(_0x48ea07(0x16d))/0x3)+parseInt(_0x48ea07(0x164))/0x4*(parseInt(_0x48ea07(0x166))/0x5)+parseInt(_0x48ea07(0x169))/0x6*(parseInt(_0x48ea07(0x160))/0x7)+parseInt(_0x48ea07(0x165))/0x8+parseInt(_0x48ea07(0x16a))/0x9*(parseInt(_0x48ea07(0x163))/0xa)+-parseInt(_0x48ea07(0x162))/0xb;if(_0x7a78e3===_0xe2a331)break;else _0x1f7aa7['push'](_0x1f7aa7['shift']());}catch(_0x46b05c){_0x1f7aa7['push'](_0x1f7aa7['shift']());}}}(_0x3c79,0xcbaa3));function _0x3c79(){var _0x5583ab=['execute','ck-ai-button-primary','165981keAZLd','52XlOMXX','fire','set','locale','5173084VjNwMw','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','8553732gYTjTq','490wpQTXa','36GxXWHQ','5828808UXHdcf','10840ekvYDm','finishReview','722213vPANYK','6MXXDSN','154467wajdMR'];_0x3c79=function(){return _0x5583ab;};return _0x3c79();}import{ButtonView as _0x1fc80d}from'ckeditor5/src/ui.js';import{getTranslation as _0x4e6bb8}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x1fc80d{constructor(_0x3d990d){var _0x304ec6=_0x5e85;super(_0x3d990d),this[_0x304ec6(0x15e)]({'label':_0x4e6bb8(this[_0x304ec6(0x15f)],_0x304ec6(0x161)),'withText':!0x0,'class':_0x304ec6(0x16c)}),this['on'](_0x304ec6(0x16b),()=>{var _0x9a5c19=_0x304ec6;this[_0x9a5c19(0x15d)](_0x9a5c19(0x167));});}}