@ckeditor/ckeditor5-comments 44.2.0-alpha.5 → 44.2.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/package.json +17 -17
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x72a416=_0x1e63;(function(_0x150a63,_0x34f6fb){const _0x3de6dd=_0x1e63,_0x565b49=_0x150a63();while(!![]){try{const _0x38c513=-parseInt(_0x3de6dd(0x1fc))/0x1*(parseInt(_0x3de6dd(0x242))/0x2)+-parseInt(_0x3de6dd(0x192))/0x3+-parseInt(_0x3de6dd(0x201))/0x4+-parseInt(_0x3de6dd(0x21b))/0x5*(-parseInt(_0x3de6dd(0x1e8))/0x6)+-parseInt(_0x3de6dd(0x19c))/0x7+parseInt(_0x3de6dd(0x1f1))/0x8+-parseInt(_0x3de6dd(0x207))/0x9*(-parseInt(_0x3de6dd(0x19e))/0xa);if(_0x38c513===_0x34f6fb)break;else _0x565b49['push'](_0x565b49['shift']());}catch(_0x233f7c){_0x565b49['push'](_0x565b49['shift']());}}}(_0x2e97,0x92dcd));import{PendingActions as _0x4c0294,ContextPlugin as _0x5156e1,Editor as _0x30aed6}from'ckeditor5/src/core.js';import{Collection as _0x3dbdb6,uid as _0x57c306,CKEditorError as _0x285c38,ObservableMixin as _0xc5c1b7}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x3b43dd,hashObject as _0x1e0e2b,Users as _0x4b3d4e}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x481ef1,isEqual as _0x21ff2d,set as _0x4664b5,unset as _0x4dcf0b}from'lodash-es';import _0x3e4381 from'./ui/commentthreadcontroller.js';function _0x2e97(){const _0x5ef7a4=['commentsrepository-missing-thread-and-adapter-method','2435iznswn','getUser','authorName','locale','commentsrepository-update-missing-comment','licenseKey','updateCommentThread','change:_permissions','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','reopenCommentThread','catch','destroy','canComment','_removeActiveAnnotation','comments.CommentView','write','comments','_hasTargetInContent','highest','isResolved','addUser','commentsrepository-reopen-comment-thread-internal-error','setActiveCommentThread','isResolvable','comments.maxCommentsWhenCollapsed','focus','context','isReadOnly','warn','commentsrepository-add-comment-user-not-exists','channelId','set','_addComment','delete','admin','_threads','commentsrepository-remove-missing-comment','modifyAll','commentsrepository-active-not-attached','1866338rBioQd','commentsrepository-adapter-already-set','commentUpdated','isAttached','addComment','getIndex','createCommentThreadController','init','external:','threadId','_detachCommentThread','refreshVisibility','CommentView','_addCommentThread','commentsrepository-update-comment-thread-internal-error','_updateActiveAnnotation','_readOnlyChannels','commentsrepository-update-comment-missing-comment-thread','_getExternalAuthor','editorReady','commentThreadInputView','commentsrepository-duplicated-comment-thread-id','setAttribute','isDirty','adapter','_adapter','_removeComment','isOfficialPlugin','pluginName','lowest','isExternal','filter','commentsrepository-invalid-comment-content','unlinkedAt','innerView','_unbindEditors','commentsrepository-reopen-comment-thread','change:isDirty','_createCommentThreadView','editorDestroyed','_createNewComment','error','activate','plugins','values','getCommentThread','_updateComment','commentsrepository-add-comment-to-missing-comment-thread','_isSubmitted','createdAt','comments.copyMarkers','updateComment','focusTracker','3363615mCogCm','comment','listenTo','view','_bindAnnotationToEditors','comments.editorConfig','innerHTML','_permissions','commentsrepository-remove-comment-internal-error','attributes','2447256TtOALY','_viewToController','14551870LPUEyK','div','commentsrepository-resolve-comment-thread-internal-error','CommentThreadView','isActive','CommentsRepository','update','reduce','attachTo','switchReadOnly','setPermissions','_threadToController','once','model','commentsrepository-missing-target','_isAttached','commentsrepository-missing-comment-thread','fetchCommentThread','_removeCommentThread','textContent','@external','commentsrepository-remove-missing-comment-thread','toJSON','getTime','getComment','has','author','commentsrepository-invalid-comment-authorid','fire','comments.maxCommentCharsWhenCollapsed','hasCommentThread','setUnlinkedAt','change:authoredAt','submitCommentThread','resolvedAt','creator','_resolveCommentThread','get','activeCommentThread','reopen','getCommentThreads','requires','push','_repository','max','isSubmitted','add','_remove','commentsrepository-invalid-comment-thread-id','length','removeComment','bodyCollectionContainer','_submitCommentThread','commentsrepository-update-comment-invalid-content','PendingActions','commentId','stopListening','remove','archivedAt','commentsrepository-active-missing-comment-thread','from','trim','commentsrepository-remove-comment-missing-comment-thread','weight','config','commentsrepository-attach-missing-comment-thread','openNewCommentThread','body','type','commentsrepository-invalid-commentid','commentsListView','noChannel','_updateCommentThread','isPremiumPlugin','5322iArXrV','commentsrepository-update-comment-internal-error','commentsrepository-resolved-comment-thread','isEditable','commentsrepository-add-comment-thread-internal-error','change:activeAnnotations','_add','comments.CommentThreadView','comments.maxThreadTotalWeight','1995416gXAMza','removeAttribute','commentsrepository-fetch-comment-thread','_findOptimalIndex','bind','addCommentThread','deactivateAll','commentsrepository-add-comment-internal-error','authoredAt','_reopenCommentThread','content','1bxjKWs','map','commentInputView','escape','isFromAdapter','2344956UhQgmD','focusableElements','assign','isRemovable','getByInnerView','function','18CIeMhh','removeCommentThread','change:_readOnlyChannels','createElement','resolveCommentThread','resolvedBy','resolve','PENDING_ACTION_COMMENT_THREAD','string','then','getPermissions','_attachCommentThread','commentsrepository-remove-comment-thread-internal-error','find','_update','setContext','commentsrepository-get-comment-invalid-id','submit','define'];_0x2e97=function(){return _0x5ef7a4;};return _0x2e97();}import _0x5a7c39 from'./ui/view/commentthreadview.js';import _0x40be48 from'./ui/view/commentview.js';import{getTranslation as _0x20aec0}from'../utils/common-translations.js';import'../../theme/comment.css';function _0x1e63(_0x5adb0c,_0x36fd15){const _0x2e9737=_0x2e97();return _0x1e63=function(_0x1e6383,_0x59e331){_0x1e6383=_0x1e6383-0x172;let _0x22437f=_0x2e9737[_0x1e6383];return _0x22437f;},_0x1e63(_0x5adb0c,_0x36fd15);}import'../../theme/commentthread.css';import'../../theme/commentinput.css';import _0x3a5297 from'../annotations/view/annotationview.js';import _0x4316e2 from'../annotations/annotation.js';import _0xb3fd80 from'../annotations/annotations.js';const Tt=Symbol(_0x72a416(0x1e5)),_t={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export default class o extends _0x5156e1{static get[_0x72a416(0x1c7)](){return[_0xb3fd80,_0x4c0294,_0x4b3d4e];}static get[_0x72a416(0x179)](){const _0x2196a6=_0x72a416;return _0x2196a6(0x1a3);}static get[_0x72a416(0x178)](){return!0x0;}static get[_0x72a416(0x1e7)](){return!0x0;}constructor(_0x505317){const _0x17d343=_0x72a416;super(_0x505317),this[_0x17d343(0x23e)]=new Map(),this[_0x17d343(0x1a9)]=new Map(),this[_0x17d343(0x19d)]=new Map(),this[_0x17d343(0x23a)](_0x17d343(0x252),new Set()),this[_0x17d343(0x23a)](_0x17d343(0x199),new Map());const _0x52cdc9=this[_0x17d343(0x235)][_0x17d343(0x1de)];_0x52cdc9[_0x17d343(0x219)](_0x17d343(0x233),0x2),_0x52cdc9[_0x17d343(0x219)](_0x17d343(0x1f0),0x1f4),_0x52cdc9[_0x17d343(0x219)](_0x17d343(0x1bb),0x8c),_0x52cdc9[_0x17d343(0x219)](_0x17d343(0x1ef),_0x5a7c39),_0x52cdc9[_0x17d343(0x219)](_0x17d343(0x229),_0x40be48),_0x52cdc9[_0x17d343(0x1c3)](_0x17d343(0x197))||console[_0x17d343(0x237)](_0x17d343(0x223));}[_0x72a416(0x249)](){const _0x37941e=_0x72a416,_0x1fe01f=this[_0x37941e(0x235)][_0x37941e(0x188)][_0x37941e(0x1c3)](_0xb3fd80);this[_0x37941e(0x23a)](_0x37941e(0x1c4),null),this['on'](_0x37941e(0x1f6),(_0x358064,_0x39ce7a)=>this[_0x37941e(0x24f)](_0x39ce7a)),this['on'](_0x37941e(0x1bf),(_0x22a370,_0x2010a2)=>this[_0x37941e(0x1d2)](_0x2010a2)),this['on'](_0x37941e(0x20b),(_0x12e8f5,_0x4dc4b2)=>this[_0x37941e(0x1c2)](_0x4dc4b2)),this['on'](_0x37941e(0x20b),(_0x5c35e9,_0x4c04fd)=>this[_0x37941e(0x251)](_0x4c04fd),{'priority':_0x37941e(0x17a)}),this['on'](_0x37941e(0x224),(_0x2de54c,_0x2ff194)=>this[_0x37941e(0x1fa)](_0x2ff194)),this['on'](_0x37941e(0x224),(_0x4bef85,_0x16791f)=>this[_0x37941e(0x251)](_0x16791f),{'priority':_0x37941e(0x17a)}),this['on'](_0x37941e(0x208),(_0x1321b0,_0x21d9cb)=>this[_0x37941e(0x1b0)](_0x21d9cb)),this['on'](_0x37941e(0x221),(_0x4ade8f,_0x7ca3c5)=>this[_0x37941e(0x1e6)](_0x7ca3c5)),this['on'](_0x37941e(0x221),(_0x2904c3,_0x34d69d)=>this[_0x37941e(0x251)](_0x34d69d),{'priority':_0x37941e(0x17a)}),this['on'](_0x37941e(0x246),(_0xa051d7,_0x313da4)=>this[_0x37941e(0x23b)](_0x313da4)),this['on'](_0x37941e(0x190),(_0x48d2c7,_0x554107)=>this[_0x37941e(0x18b)](_0x554107)),this['on'](_0x37941e(0x1d0),(_0x527dc1,_0x13a0d9)=>this[_0x37941e(0x177)](_0x13a0d9)),this['on'](_0x37941e(0x246),(_0x200660,{threadId:_0x4e0ba4,isFromAdapter:_0x16ea51})=>{const _0x45bf62=_0x37941e;if(_0x16ea51)return;const _0x186088=this[_0x45bf62(0x18a)](_0x4e0ba4),_0x398d10=_0x186088&&this[_0x45bf62(0x1a9)][_0x45bf62(0x1c3)](_0x186088);_0x398d10&&_0x398d10[_0x45bf62(0x195)][_0x45bf62(0x1e4)][_0x45bf62(0x234)](-0x1);},{'priority':_0x37941e(0x17a)}),this[_0x37941e(0x194)](_0x1fe01f,_0x37941e(0x1ed),(_0x40f410,_0x1dad14,_0xc7948b)=>{const _0x23305a=_0x37941e,_0x403451=Array[_0x23305a(0x1da)](_0xc7948b)[_0x23305a(0x1fd)](_0x1a59cb=>this[_0x23305a(0x19d)][_0x23305a(0x1c3)](_0x1a59cb[_0x23305a(0x17f)]))[_0x23305a(0x17c)](Boolean)[0x0];this[_0x23305a(0x1c4)]=_0x403451?_0x403451[_0x23305a(0x1ab)]:null;});}set[_0x72a416(0x175)](_0x218d0d){const _0x45719c=_0x72a416;if(this[_0x45719c(0x176)])throw new _0x285c38(_0x45719c(0x243));this[_0x45719c(0x176)]=_0x218d0d;}get[_0x72a416(0x175)](){const _0x5c52c3=_0x72a416;return this[_0x5c52c3(0x176)];}[_0x72a416(0x1f6)]({channelId:_0x3ee364=Tt,threadId:_0xe83fea=_0x57c306(),comments:_0x3f337d=[],unlinkedAt:_0x5cffd3=null,resolvedAt:_0x27afba=null,resolvedBy:_0x4c309d=null,target:_0xa7a156=null,context:_0x19cf5f=null,attributes:_0x6abbf8={},isResolvable:_0x5986b6=!0x0,isSubmitted:_0x5d1a99=!0x1,isFromAdapter:_0x229dac=!0x1}={}){const _0x55dcff=_0x72a416;return this[_0x55dcff(0x1ba)](bt(_0x55dcff(0x1f6),_0x3ee364),{'channelId':_0x3ee364,'threadId':_0xe83fea,'comments':_0x3f337d,'unlinkedAt':_0x5cffd3,'resolvedAt':_0x27afba,'resolvedBy':_0x4c309d,'target':_0xa7a156,'context':_0x19cf5f,'attributes':_0x6abbf8,'isFromAdapter':_0x229dac,'isResolvable':_0x5986b6,'isSubmitted':_0x5d1a99}),this[_0x55dcff(0x18a)](_0xe83fea);}[_0x72a416(0x1e0)]({channelId:_0xa5b5bf=Tt,threadId:_0x3f8851=_0x57c306(),target:_0x3035ac,context:_0x5c16d4=null,isResolvable:_0x399375=!0x0}){const _0x5e263f=_0x72a416;if(this[_0x5e263f(0x252)][_0x5e263f(0x1b7)](_0xa5b5bf)||this[_0x5e263f(0x252)][_0x5e263f(0x1b7)](void 0x0))return null;if(!_0x3035ac)throw new _0x285c38(_0x5e263f(0x1ac));const _0x25449e=this[_0x5e263f(0x1f6)]({'channelId':_0xa5b5bf,'threadId':_0x3f8851,'target':_0x3035ac,'context':_0x5c16d4,'isResolvable':_0x399375});if(!_0x25449e)return null;const _0x1e9899=this[_0x5e263f(0x1a9)][_0x5e263f(0x1c3)](_0x25449e),_0x462041=_0x1e9899[_0x5e263f(0x195)][_0x5e263f(0x256)][_0x5e263f(0x1fe)],_0x344211=this[_0x5e263f(0x235)][_0x5e263f(0x188)][_0x5e263f(0x1c3)](_0xb3fd80),_0x3f2315=_0x344211[_0x5e263f(0x205)](_0x1e9899[_0x5e263f(0x195)]);return _0x344211[_0x5e263f(0x187)](_0x3f2315),_0x462041[_0x5e263f(0x1aa)](_0x5e263f(0x255),()=>_0x462041[_0x5e263f(0x234)]()),_0x25449e;}[_0x72a416(0x1bc)](_0x1170ae){const _0xe44b79=_0x72a416;if(_0xe44b79(0x20f)!=typeof _0x1170ae)throw new _0x285c38(_0xe44b79(0x1ce));return this[_0xe44b79(0x23e)][_0xe44b79(0x1b7)](_0x1170ae);}[_0x72a416(0x221)]({channelId:_0xca15df=Tt,threadId:_0x55377f,context:_0x4bdba8,unlinkedAt:_0x49c9e8,attributes:_0x1c93d3,isFromAdapter:_0xe549f=!0x1}){const _0x5cd8d6=_0x72a416;return this[_0x5cd8d6(0x1ba)](bt(_0x5cd8d6(0x221),_0xca15df),{'channelId':_0xca15df,'threadId':_0x55377f,'context':_0x4bdba8,'unlinkedAt':_0x49c9e8,'attributes':_0x1c93d3,'isFromAdapter':_0xe549f}),this[_0x5cd8d6(0x18a)](_0x55377f);}[_0x72a416(0x18a)](_0x17f1eb){const _0x2cdf23=_0x72a416;if(_0x2cdf23(0x20f)!=typeof _0x17f1eb)throw new _0x285c38(_0x2cdf23(0x1ce));return this[_0x2cdf23(0x23e)][_0x2cdf23(0x1c3)](_0x17f1eb);}[_0x72a416(0x1af)]({channelId:_0x537f1c,threadId:_0x1d0bcd}={}){const _0x16caad=_0x72a416,_0x572baf=this[_0x16caad(0x18a)](_0x1d0bcd);if(_0x572baf)return Promise[_0x16caad(0x20d)](_0x572baf);if(!this[_0x16caad(0x175)])return Promise[_0x16caad(0x20d)](void 0x0);if(_0x16caad(0x206)!=typeof this[_0x16caad(0x175)][_0x16caad(0x18a)])throw new _0x285c38(_0x16caad(0x21a),this[_0x16caad(0x235)]);return this[_0x16caad(0x175)][_0x16caad(0x18a)]({'channelId':_0x537f1c,'threadId':_0x1d0bcd})[_0x16caad(0x210)](_0x1d93d3=>this[_0x16caad(0x1bc)](_0x1d0bcd)?this[_0x16caad(0x18a)](_0x1d0bcd):_0x1d93d3?this[_0x16caad(0x1f6)](Object[_0x16caad(0x203)]({'isFromAdapter':!0x0,'channelId':_0x537f1c},_0x1d93d3)):void 0x0)[_0x16caad(0x225)](_0x4a6363=>{const _0xf1b8d0=_0x16caad;throw console[_0xf1b8d0(0x186)](_0x4a6363),new _0x285c38(_0xf1b8d0(0x1f3),this[_0xf1b8d0(0x235)]);});}[_0x72a416(0x1c6)]({channelId:_0x30be31,skipNotAttached:_0x56d04c=!0x1,skipEmpty:_0x3d005b=!0x1,toJSON:_0x3a3cff=!0x1}={}){const _0x525728=_0x72a416,_0x4564a6=[];for(const _0x569f44 of this[_0x525728(0x23e)][_0x525728(0x189)]())_0x30be31&&_0x569f44[_0x525728(0x239)]!==_0x30be31||_0x56d04c&&!_0x569f44[_0x525728(0x245)]||_0x3d005b&&0x0===_0x569f44[_0x525728(0x1cf)]||_0x4564a6[_0x525728(0x1c8)](_0x569f44);return _0x3a3cff?_0x4564a6[_0x525728(0x1fd)](_0x4c196a=>_0x4c196a[_0x525728(0x1b4)]()):_0x4564a6;}[_0x72a416(0x231)](_0x3a43a9){const _0x1c3493=_0x72a416,_0x569f16=this[_0x1c3493(0x235)][_0x1c3493(0x188)][_0x1c3493(0x1c3)](_0xb3fd80);if(!_0x3a43a9)return void(this[_0x1c3493(0x1c4)]&&_0x569f16[_0x1c3493(0x1f7)]());const _0x4c8ada=this[_0x1c3493(0x18a)](_0x3a43a9);if(!_0x4c8ada)throw new _0x285c38(_0x1c3493(0x1d9),null,{'threadId':_0x3a43a9});if(!this[_0x1c3493(0x1a9)][_0x1c3493(0x1b7)](_0x4c8ada))throw new _0x285c38(_0x1c3493(0x241),null,{'threadId':_0x3a43a9});const _0xc24da3=_0x569f16[_0x1c3493(0x205)](this[_0x1c3493(0x1a9)][_0x1c3493(0x1c3)](_0x4c8ada)[_0x1c3493(0x195)]);_0x569f16[_0x1c3493(0x187)](_0xc24da3);}[_0x72a416(0x1a7)](_0x788582,_0x151bd5){const _0x3b7847=_0x72a416;_0x788582?this[_0x3b7847(0x252)][_0x3b7847(0x1cc)](_0x151bd5):this[_0x3b7847(0x252)][_0x3b7847(0x23c)](_0x151bd5),this[_0x3b7847(0x1ba)](_0x3b7847(0x209),_0x3b7847(0x252),this[_0x3b7847(0x252)],this[_0x3b7847(0x252)]);}[_0x72a416(0x236)](_0x90bc9){const _0x37eab0=_0x72a416;return this[_0x37eab0(0x252)][_0x37eab0(0x1b7)](_0x90bc9)||this[_0x37eab0(0x252)][_0x37eab0(0x1b7)](void 0x0);}[_0x72a416(0x248)](_0x1a4bb8,_0x2c1fcb){return new _0x3e4381(_0x1a4bb8,_0x2c1fcb);}[_0x72a416(0x1a8)](_0x972b29,_0x2f6502=Tt){const _0x2b9eec=_0x72a416;this[_0x2b9eec(0x199)][_0x2b9eec(0x23a)](_0x2f6502,_0x972b29),this[_0x2b9eec(0x1ba)](_0x2b9eec(0x222),_0x2b9eec(0x199),this[_0x2b9eec(0x199)],this[_0x2b9eec(0x199)]);}[_0x72a416(0x211)](_0x55bd00=Tt){const _0x43a78b=_0x72a416;return this[_0x43a78b(0x199)][_0x43a78b(0x1b7)](_0x55bd00)?this[_0x43a78b(0x199)][_0x43a78b(0x1c3)](_0x55bd00):_t;}[_0x72a416(0x24f)]({channelId:_0x27c99c,threadId:_0x2da2a5,comments:_0x56fe18,unlinkedAt:_0x5e9645,resolvedAt:_0x3e3dee,resolvedBy:_0x3db081,target:_0x835b8b,context:_0x44f7e1,attributes:_0x3fae19,isFromAdapter:_0x4bd41e,isResolvable:_0x1a3082,isSubmitted:_0x2bae5f}){const _0x5b0fc7=_0x72a416;if(_0x5b0fc7(0x20f)!=typeof _0x2da2a5)throw new _0x285c38(_0x5b0fc7(0x1ce),null,{'threadId':_0x2da2a5});if(this[_0x5b0fc7(0x1bc)](_0x2da2a5))throw new _0x285c38(_0x5b0fc7(0x172),null,{'threadId':_0x2da2a5});const _0x40b02a=new CommentThread(this,{'channelId':_0x27c99c,'id':_0x2da2a5,'context':_0x44f7e1,'attributes':_0x3fae19,'unlinkedAt':_0x5e9645,'resolvedAt':_0x3e3dee,'resolvedBy':_0x3db081?this[_0x5b0fc7(0x235)][_0x5b0fc7(0x188)][_0x5b0fc7(0x1c3)](_0x4b3d4e)[_0x5b0fc7(0x21c)](_0x3db081):null,'isResolvable':_0x1a3082,'isSubmitted':_0x2bae5f||_0x4bd41e});this[_0x5b0fc7(0x23e)][_0x5b0fc7(0x23a)](_0x2da2a5,_0x40b02a);for(const _0x3686b2 of _0x56fe18)_0x40b02a[_0x5b0fc7(0x1ee)](this[_0x5b0fc7(0x185)]({'threadId':_0x2da2a5,..._0x3686b2}));return _0x835b8b&&_0x40b02a[_0x5b0fc7(0x1a6)](_0x835b8b),_0x4bd41e||!_0x40b02a[_0x5b0fc7(0x1cf)]?Promise[_0x5b0fc7(0x20d)]():this[_0x5b0fc7(0x1d2)]({'channelId':_0x27c99c,'threadId':_0x2da2a5});}[_0x72a416(0x1d2)]({channelId:_0x4234ab,threadId:_0x218a53}){const _0x594f97=_0x72a416;if(!this[_0x594f97(0x1bc)](_0x218a53))throw new _0x285c38(_0x594f97(0x1ae),this);const _0x3d5883=this[_0x594f97(0x18a)](_0x218a53);if(_0x3d5883[_0x594f97(0x18d)]=!0x0,!this[_0x594f97(0x175)]||_0x594f97(0x206)!=typeof this[_0x594f97(0x175)][_0x594f97(0x1f6)])return Promise[_0x594f97(0x20d)]();const {id:_0x17808c,comments:_0x10c2b5,resolvedAt:_0x4889be,resolvedBy:_0x1007c1,context:_0x3a64ce,attributes:_0x41055f}=_0x3d5883,_0x383b9f=this[_0x594f97(0x235)][_0x594f97(0x188)][_0x594f97(0x1c3)](_0x594f97(0x1d4)),_0x5c13d8=_0x383b9f[_0x594f97(0x1cc)](_0x20aec0(this[_0x594f97(0x235)][_0x594f97(0x21e)],_0x594f97(0x20e)));return this[_0x594f97(0x175)][_0x594f97(0x1f6)]({'channelId':_0x4234ab,'threadId':_0x17808c,'comments':_0x10c2b5[_0x594f97(0x1fd)](_0x391fa3=>_0x391fa3[_0x594f97(0x1b4)]()),'resolvedAt':_0x4889be,'resolvedBy':_0x1007c1?_0x1007c1['id']:_0x1007c1,'context':_0x3a64ce,'attributes':_0x41055f})[_0x594f97(0x210)](({comments:_0x5262af})=>{const _0x25fe7e=_0x594f97;_0x383b9f[_0x25fe7e(0x1d7)](_0x5c13d8);for(const _0x24c929 of _0x5262af)this[_0x25fe7e(0x18b)]({'channelId':_0x4234ab,'threadId':_0x218a53,'commentId':_0x24c929[_0x25fe7e(0x1d5)],'createdAt':_0x24c929[_0x25fe7e(0x18e)],'isFromAdapter':!0x0});})[_0x594f97(0x225)](_0x578133=>{const _0x12f9c1=_0x594f97;throw console[_0x12f9c1(0x186)](_0x578133),new _0x285c38(_0x12f9c1(0x1ec),this);});}[_0x72a416(0x212)]({threadId:_0x5eab2c,target:_0x2fd7a9}){const _0x386544=_0x72a416,_0x4f50b5=this[_0x386544(0x18a)](_0x5eab2c);if(!_0x4f50b5)throw new _0x285c38(_0x386544(0x1df),this);const _0x1dbfda=this[_0x386544(0x235)][_0x386544(0x188)][_0x386544(0x1c3)](_0x386544(0x1d4)),_0x3fb1ea=this[_0x386544(0x235)][_0x386544(0x188)][_0x386544(0x1c3)](_0xb3fd80),_0xbb5f70=this[_0x386544(0x183)](_0x4f50b5),_0x557cf2=new _0x3e4381(_0x4f50b5,_0xbb5f70);let _0x760f23=null;_0xbb5f70['on'](_0x386544(0x182),(_0xdbf162,_0x2d80b5,_0x480f9b)=>{const _0x3cad2e=_0x386544;_0x480f9b?_0x760f23=_0x1dbfda[_0x3cad2e(0x1cc)](_0x20aec0(this[_0x3cad2e(0x235)][_0x3cad2e(0x21e)],_0x3cad2e(0x20e))):_0x760f23&&(_0x1dbfda[_0x3cad2e(0x1d7)](_0x760f23),_0x760f23=null);}),this[_0x386544(0x1a9)][_0x386544(0x23a)](_0x4f50b5,_0x557cf2),this[_0x386544(0x19d)][_0x386544(0x23a)](_0xbb5f70,_0x557cf2);const _0x22f95a=new _0x3a5297(this[_0x386544(0x235)][_0x386544(0x21e)],_0xbb5f70);_0x22f95a[_0x386544(0x1f5)](_0x386544(0x1cf))['to'](_0xbb5f70),_0x22f95a[_0x386544(0x1f5)](_0x386544(0x174))['to'](_0xbb5f70,_0x386544(0x174),_0xbb5f70,_0x386544(0x1cf),(_0x456dee,_0x39b1db)=>_0x456dee||!_0x39b1db),_0x22f95a[_0x386544(0x1f5)](_0x386544(0x1a2))['to'](_0xbb5f70),_0x22f95a[_0x386544(0x1e2)]=_0x386544(0x193);const _0x5a0c28=new _0x4316e2({'view':_0x22f95a,'target':_0x2fd7a9,'type':_0x386544(0x193),'isVisible':!_0x4f50b5[_0x386544(0x1d8)]});return _0xbb5f70['on'](_0x386544(0x1ff),()=>{const _0x1266b6=_0x386544;_0x5a0c28[_0x1266b6(0x1ba)](_0x1266b6(0x1ff));}),this[_0x386544(0x196)](_0xbb5f70,_0x5a0c28),_0x3fb1ea[_0x386544(0x1cc)](_0x5a0c28),_0x5a0c28;}[_0x72a416(0x196)](_0x429887,_0x28f0d1){const _0x1e1981=_0x72a416;this[_0x1e1981(0x194)](_0x429887,_0x1e1981(0x255),(_0x1a2977,_0x29a45e)=>{const _0x37ea3d=_0x1e1981,_0x31c8c9=_0x29a45e['ui'][_0x37ea3d(0x195)][_0x37ea3d(0x1e1)][_0x37ea3d(0x1d1)];_0x28f0d1[_0x37ea3d(0x202)][_0x37ea3d(0x1cc)](_0x31c8c9),this[_0x37ea3d(0x235)]instanceof _0x30aed6&&this[_0x37ea3d(0x235)]['ui'][_0x37ea3d(0x191)][_0x37ea3d(0x1cc)](_0x31c8c9);},{'priority':_0x1e1981(0x22d)}),this[_0x1e1981(0x194)](_0x429887,_0x1e1981(0x184),(_0x5415cc,_0x348e84)=>{const _0x574390=_0x1e1981,_0x4acaad=_0x348e84['ui'][_0x574390(0x195)][_0x574390(0x1e1)][_0x574390(0x1d1)];_0x28f0d1[_0x574390(0x202)][_0x574390(0x1b7)](_0x4acaad)&&_0x28f0d1[_0x574390(0x202)][_0x574390(0x1d7)](_0x4acaad),this[_0x574390(0x235)]instanceof _0x30aed6&&this[_0x574390(0x235)]['ui'][_0x574390(0x191)][_0x574390(0x1d7)](_0x4acaad);});}[_0x72a416(0x180)](_0x596188){const _0x1752d7=_0x72a416;this[_0x1752d7(0x1d6)](_0x596188,_0x1752d7(0x255)),this[_0x1752d7(0x1d6)](_0x596188,_0x1752d7(0x184));}[_0x72a416(0x183)](_0x49d1b4){const _0x274b3c=_0x72a416,_0x1d9b21=this[_0x274b3c(0x235)][_0x274b3c(0x188)][_0x274b3c(0x1c3)](_0x4b3d4e),{config:_0x2d91e6,locale:_0x4d2ba8}=this[_0x274b3c(0x235)],_0x30614e=_0x3b43dd(_0x2d91e6[_0x274b3c(0x1c3)](_0x274b3c(0x21e)));return new(0x0,(_0x2d91e6[_0x274b3c(0x1c3)](_0x274b3c(0x22b)))[(_0x274b3c(0x1a1))])(_0x4d2ba8,_0x49d1b4,_0x1d9b21['me'],{'editorConfig':{..._0x2d91e6[_0x274b3c(0x1c3)](_0x274b3c(0x197)),'licenseKey':this[_0x274b3c(0x235)][_0x274b3c(0x1de)][_0x274b3c(0x1c3)](_0x274b3c(0x220))},'copyMarkers':_0x2d91e6[_0x274b3c(0x1c3)](_0x274b3c(0x18f)),'maxCommentsWhenCollapsed':_0x2d91e6[_0x274b3c(0x1c3)](_0x274b3c(0x233)),'maxThreadTotalWeight':_0x2d91e6[_0x274b3c(0x1c3)](_0x274b3c(0x1f0)),'maxCommentCharsWhenCollapsed':_0x2d91e6[_0x274b3c(0x1c3)](_0x274b3c(0x1bb)),'formatDateTime':_0x30614e,'CommentView':_0x2d91e6[_0x274b3c(0x1c3)](_0x274b3c(0x22b))[_0x274b3c(0x24e)]});}[_0x72a416(0x1c2)]({threadId:_0x2ce332,channelId:_0x5d4bc6,resolvedAt:_0x33d49c,resolvedBy:_0x587e04,isFromAdapter:_0xc9e504}){const _0x4f32a3=_0x72a416;if(!this[_0x4f32a3(0x1bc)](_0x2ce332))throw new _0x285c38(_0x4f32a3(0x1ae),null,{'threadId':_0x2ce332});const _0x2d8b74=this[_0x4f32a3(0x18a)](_0x2ce332);if(_0x2d8b74[_0x4f32a3(0x22e)])throw new _0x285c38(_0x4f32a3(0x1ea),null,{'threadId':_0x2ce332});const _0x74689c=this[_0x4f32a3(0x235)][_0x4f32a3(0x188)][_0x4f32a3(0x1c3)](_0x4b3d4e);if(_0x2d8b74[_0x4f32a3(0x20c)]=_0x74689c[_0x4f32a3(0x21c)](_0x587e04),_0x2d8b74[_0x4f32a3(0x1c0)]=_0x33d49c,_0xc9e504||!this[_0x4f32a3(0x175)]||_0x4f32a3(0x206)!=typeof this[_0x4f32a3(0x175)][_0x4f32a3(0x20b)])return Promise[_0x4f32a3(0x20d)]();const _0xd492a4=this[_0x4f32a3(0x235)][_0x4f32a3(0x188)][_0x4f32a3(0x1c3)](_0x4f32a3(0x1d4)),_0xab2410=_0xd492a4[_0x4f32a3(0x1cc)](_0x20aec0(this[_0x4f32a3(0x235)][_0x4f32a3(0x21e)],_0x4f32a3(0x20e)));return this[_0x4f32a3(0x175)][_0x4f32a3(0x20b)]({'channelId':_0x5d4bc6,'threadId':_0x2ce332})[_0x4f32a3(0x210)](({resolvedAt:_0x30a0e8,resolvedBy:_0x497ad1})=>{const _0xfbf8f2=_0x4f32a3;_0xd492a4[_0xfbf8f2(0x1d7)](_0xab2410),_0x2d8b74[_0xfbf8f2(0x20c)]['id']!==_0x497ad1&&(_0x2d8b74[_0xfbf8f2(0x20c)]=_0x74689c[_0xfbf8f2(0x21c)](_0x497ad1)),_0x2d8b74[_0xfbf8f2(0x1c0)]=_0x30a0e8;})[_0x4f32a3(0x225)](_0x29a7eb=>{const _0x126784=_0x4f32a3;throw console[_0x126784(0x186)](_0x29a7eb),new _0x285c38(_0x126784(0x1a0),this);});}[_0x72a416(0x1fa)]({threadId:_0x78782d,channelId:_0x19688b,isFromAdapter:_0x4ed82a}){const _0x5285b4=_0x72a416;if(!this[_0x5285b4(0x1bc)](_0x78782d))throw new _0x285c38(_0x5285b4(0x1ae),null,{'threadId':_0x78782d});const _0x51f496=this[_0x5285b4(0x18a)](_0x78782d);if(!_0x51f496[_0x5285b4(0x22e)])throw new _0x285c38(_0x5285b4(0x181),null,{'threadId':_0x78782d});if(_0x51f496[_0x5285b4(0x20c)]=null,_0x51f496[_0x5285b4(0x1c0)]=null,_0x4ed82a||!this[_0x5285b4(0x175)]||_0x5285b4(0x206)!=typeof this[_0x5285b4(0x175)][_0x5285b4(0x224)])return Promise[_0x5285b4(0x20d)]();const _0x1bcb40=this[_0x5285b4(0x235)][_0x5285b4(0x188)][_0x5285b4(0x1c3)](_0x5285b4(0x1d4)),_0x1f9e4f=_0x1bcb40[_0x5285b4(0x1cc)](_0x20aec0(this[_0x5285b4(0x235)][_0x5285b4(0x21e)],_0x5285b4(0x20e)));return this[_0x5285b4(0x175)][_0x5285b4(0x224)]({'channelId':_0x19688b,'threadId':_0x78782d})[_0x5285b4(0x210)](()=>_0x1bcb40[_0x5285b4(0x1d7)](_0x1f9e4f))[_0x5285b4(0x225)](_0x3db69f=>{const _0x27eb35=_0x5285b4;throw console[_0x27eb35(0x186)](_0x3db69f),new _0x285c38(_0x27eb35(0x230),this);});}[_0x72a416(0x1b0)]({threadId:_0x3def7a,isFromAdapter:_0x1f9cf2}){const _0x1b8b03=_0x72a416,_0x5f048a=this[_0x1b8b03(0x18a)](_0x3def7a);if(!_0x5f048a)throw new _0x285c38(_0x1b8b03(0x1b3),this);if(this[_0x1b8b03(0x24c)](_0x3def7a),this[_0x1b8b03(0x23e)][_0x1b8b03(0x23c)](_0x3def7a),!_0x5f048a[_0x1b8b03(0x1cb)]||_0x1f9cf2||!this[_0x1b8b03(0x175)]||_0x1b8b03(0x206)!=typeof this[_0x1b8b03(0x175)][_0x1b8b03(0x208)])return Promise[_0x1b8b03(0x20d)]();const _0x4a8d8d=this[_0x1b8b03(0x235)][_0x1b8b03(0x188)][_0x1b8b03(0x1c3)](_0x1b8b03(0x1d4)),{channelId:_0xd6f4ad}=_0x5f048a,_0x58d267=_0x4a8d8d[_0x1b8b03(0x1cc)](_0x20aec0(this[_0x1b8b03(0x235)][_0x1b8b03(0x21e)],_0x1b8b03(0x20e)));return this[_0x1b8b03(0x175)][_0x1b8b03(0x208)]({'channelId':_0xd6f4ad,'threadId':_0x3def7a})[_0x1b8b03(0x210)](()=>_0x4a8d8d[_0x1b8b03(0x1d7)](_0x58d267))[_0x1b8b03(0x225)](_0x9b5047=>{const _0xf16690=_0x1b8b03;throw console[_0xf16690(0x186)](_0x9b5047),new _0x285c38(_0xf16690(0x213),this);});}[_0x72a416(0x1e6)]({threadId:_0x40893b,unlinkedAt:_0x2ffbae,context:_0x47e4b3,attributes:_0x119625,isFromAdapter:_0x5c74c5}){const _0x15b539=_0x72a416;if(_0x15b539(0x20f)!=typeof _0x40893b)throw new _0x285c38(_0x15b539(0x1ce),null,{'threadId':_0x40893b});if(!this[_0x15b539(0x1bc)](_0x40893b))throw new _0x285c38(_0x15b539(0x1ae),null,{'threadId':_0x40893b});const _0x23751a=this[_0x15b539(0x18a)](_0x40893b);let _0x26643f=!0x1;if(void 0x0!==_0x47e4b3&&_0x23751a[_0x15b539(0x235)]!==_0x47e4b3&&(_0x23751a[_0x15b539(0x235)]=_0x47e4b3,_0x26643f=!0x0),void 0x0!==_0x2ffbae&&_0x23751a[_0x15b539(0x17e)]!==_0x2ffbae&&(_0x23751a[_0x15b539(0x17e)]=_0x2ffbae,_0x26643f=!0x0),_0x119625&&!_0x21ff2d(_0x119625,_0x23751a[_0x15b539(0x19b)])&&(_0x23751a[_0x15b539(0x19b)]=_0x119625,_0x26643f=!0x0),!_0x26643f)return Promise[_0x15b539(0x20d)]();if(!_0x23751a[_0x15b539(0x1cb)]||_0x5c74c5||!this[_0x15b539(0x175)]||_0x15b539(0x206)!=typeof this[_0x15b539(0x175)][_0x15b539(0x221)])return Promise[_0x15b539(0x20d)]();const _0x1391b1=this[_0x15b539(0x235)][_0x15b539(0x188)][_0x15b539(0x1c3)](_0x15b539(0x1d4)),{channelId:_0x40c966}=_0x23751a,_0x1f317c=_0x1391b1[_0x15b539(0x1cc)](_0x20aec0(this[_0x15b539(0x235)][_0x15b539(0x21e)],_0x15b539(0x20e)));return this[_0x15b539(0x175)][_0x15b539(0x221)]({'channelId':_0x40c966,'threadId':_0x40893b,'context':_0x47e4b3,'unlinkedAt':_0x2ffbae,'attributes':_0x119625})[_0x15b539(0x210)](()=>_0x1391b1[_0x15b539(0x1d7)](_0x1f317c))[_0x15b539(0x225)](_0xe15f6b=>{const _0x2c472a=_0x15b539;throw console[_0x2c472a(0x186)](_0xe15f6b),new _0x285c38(_0x2c472a(0x250),this);});}[_0x72a416(0x24c)](_0x475334){const _0x4b5e57=_0x72a416,_0x17ef47=this[_0x4b5e57(0x235)][_0x4b5e57(0x188)][_0x4b5e57(0x1c3)](_0xb3fd80),_0x43543c=this[_0x4b5e57(0x18a)](_0x475334);if(_0x43543c[_0x4b5e57(0x1ad)]=!0x1,this[_0x4b5e57(0x1a9)][_0x4b5e57(0x1b7)](_0x43543c)){const _0x7642d3=this[_0x4b5e57(0x1a9)][_0x4b5e57(0x1c3)](_0x43543c),_0x43c029=_0x7642d3[_0x4b5e57(0x195)],_0x293ce6=_0x17ef47[_0x4b5e57(0x205)](_0x43c029);this[_0x4b5e57(0x1a9)][_0x4b5e57(0x23c)](_0x43543c),this[_0x4b5e57(0x19d)][_0x4b5e57(0x23c)](_0x43c029),_0x293ce6&&_0x17ef47[_0x4b5e57(0x1d7)](_0x293ce6),_0x7642d3[_0x4b5e57(0x226)](),_0x43c029[_0x4b5e57(0x226)]()[_0x4b5e57(0x210)](()=>{const _0x3e5267=_0x4b5e57;this[_0x3e5267(0x180)](_0x43c029);});}}[_0x72a416(0x251)]({threadId:_0x262079,resolvedAt:_0x1d971f}){const _0x459d29=_0x72a416,_0x1031a5=!!_0x1d971f,_0xeac138=this[_0x459d29(0x235)][_0x459d29(0x188)][_0x459d29(0x1c3)](_0xb3fd80),_0x55389a=this[_0x459d29(0x18a)](_0x262079);if(this[_0x459d29(0x1a9)][_0x459d29(0x1b7)](_0x55389a)){const _0x164170=this[_0x459d29(0x1a9)][_0x459d29(0x1c3)](_0x55389a)[_0x459d29(0x195)],_0x23333a=_0xeac138[_0x459d29(0x205)](_0x164170);_0x23333a&&(_0x1031a5&&_0xeac138[_0x459d29(0x228)](_0x23333a),_0x23333a[_0x459d29(0x24d)]());}}[_0x72a416(0x254)](_0x203a2a){const _0x470793=_0x72a416,_0x10c8f2=this[_0x470793(0x235)][_0x470793(0x188)][_0x470793(0x1c3)](_0x4b3d4e),_0x42587c=_0x1e0e2b(_0x470793(0x24a)+_0x203a2a),_0x1617aa=_0x10c8f2[_0x470793(0x21c)](_0x42587c);return _0x1617aa||_0x10c8f2[_0x470793(0x22f)]({'id':_0x42587c,'name':_0x203a2a});}[_0x72a416(0x185)]({threadId:_0x5ddcaa,commentId:_0x44f3db=_0x57c306(),content:_0x5911a1,authorId:_0x43773e,createdAt:_0x56d0dd,attributes:_0x5a43fb}){const _0x142ed6=_0x72a416;if(_0x142ed6(0x20f)!=typeof _0x44f3db)throw new _0x285c38(_0x142ed6(0x1e3));if(_0x142ed6(0x20f)!=typeof _0x43773e)throw new _0x285c38(_0x142ed6(0x1b9));if(_0x142ed6(0x20f)!=typeof _0x5911a1||!_0x5911a1[_0x142ed6(0x1db)]())throw new _0x285c38(_0x142ed6(0x17d));const _0x4dddfb=this[_0x142ed6(0x235)][_0x142ed6(0x188)][_0x142ed6(0x1c3)](_0x4b3d4e)[_0x142ed6(0x21c)](_0x43773e);if(!_0x4dddfb)throw new _0x285c38(_0x142ed6(0x238),null,{'authorId':_0x43773e});let _0x17578d=null,_0x42fd3f=_0x56d0dd;return _0x5a43fb&&_0x5a43fb[_0x142ed6(0x1b2)]&&(_0x17578d=this[_0x142ed6(0x254)](_0x5a43fb[_0x142ed6(0x1b2)][_0x142ed6(0x21d)]),_0x42fd3f=new Date(_0x5a43fb[_0x142ed6(0x1b2)][_0x142ed6(0x18e)])),new Comment(this,{'threadId':_0x5ddcaa,'id':_0x44f3db,'author':_0x17578d||_0x4dddfb,'creator':_0x4dddfb,'content':_0x5911a1,'createdAt':_0x56d0dd,'authoredAt':_0x42fd3f,'attributes':_0x5a43fb});}[_0x72a416(0x23b)](_0x592cec){const _0x31e5e8=_0x72a416;let {threadId:_0xc1b9a0,content:_0xd18a55,attributes:_0x26facd,isFromAdapter:_0x32de73}=_0x592cec;const _0x3595ac=this[_0x31e5e8(0x18a)](_0x592cec[_0x31e5e8(0x24b)]);if(!_0x3595ac)throw new _0x285c38(_0x31e5e8(0x18c),this);const _0x15d93a=this[_0x31e5e8(0x185)](_0x592cec),{id:_0x4d7a68}=_0x15d93a;if(_0x3595ac[_0x31e5e8(0x1ee)](_0x15d93a),_0x32de73||!this[_0x31e5e8(0x175)]||_0x31e5e8(0x206)!=typeof this[_0x31e5e8(0x175)][_0x31e5e8(0x246)]||!_0x3595ac[_0x31e5e8(0x1cb)])return Promise[_0x31e5e8(0x20d)]();const _0x4e6f9c=this[_0x31e5e8(0x235)][_0x31e5e8(0x188)][_0x31e5e8(0x1c3)](_0x31e5e8(0x1d4)),{channelId:_0x1e63c3}=_0x3595ac,_0x25a4d5=_0x4e6f9c[_0x31e5e8(0x1cc)](_0x20aec0(this[_0x31e5e8(0x235)][_0x31e5e8(0x21e)],_0x31e5e8(0x20e)));return _0x26facd||(_0x26facd={}),this[_0x31e5e8(0x175)][_0x31e5e8(0x246)]({'channelId':_0x1e63c3,'threadId':_0xc1b9a0,'commentId':_0x4d7a68,'content':_0xd18a55,'attributes':_0x26facd})[_0x31e5e8(0x210)](_0x390db9=>{const _0x4e87cf=_0x31e5e8;_0x4e6f9c[_0x4e87cf(0x1d7)](_0x25a4d5),_0x390db9&&this[_0x4e87cf(0x18b)]({'channelId':_0x1e63c3,'threadId':_0xc1b9a0,'commentId':_0x4d7a68,'createdAt':_0x390db9[_0x4e87cf(0x18e)],'isFromAdapter':!0x0});})[_0x31e5e8(0x225)](_0x3963f8=>{const _0xd585c1=_0x31e5e8;throw console[_0xd585c1(0x186)](_0x3963f8),new _0x285c38(_0xd585c1(0x1f8),this);});}[_0x72a416(0x18b)]({threadId:_0x2806c0,commentId:_0x4eb42a,content:_0x370fc5,createdAt:_0x47b7f0,attributes:_0x20b83f,isFromAdapter:_0x18f137}){const _0x5d330e=_0x72a416;if(void 0x0!==_0x370fc5&&(_0x5d330e(0x20f)!=typeof _0x370fc5||!_0x370fc5[_0x5d330e(0x1db)]()[_0x5d330e(0x1cf)]))throw new _0x285c38(_0x5d330e(0x1d3));const _0x7a9bf4=this[_0x5d330e(0x18a)](_0x2806c0),_0x18aa1c=_0x7a9bf4[_0x5d330e(0x1b6)](_0x4eb42a);if(!_0x18aa1c)throw new _0x285c38(_0x5d330e(0x21f),this);let _0x6d3add=!0x1;if(_0x370fc5&&_0x370fc5!==_0x18aa1c[_0x5d330e(0x1fb)]&&(_0x18aa1c[_0x5d330e(0x1eb)]||_0x18f137)&&(_0x18aa1c[_0x5d330e(0x1fb)]=_0x370fc5,_0x6d3add=!0x0),_0x47b7f0&&_0x47b7f0!==_0x18aa1c[_0x5d330e(0x18e)]&&(_0x18aa1c[_0x5d330e(0x18e)]=_0x47b7f0,_0x18aa1c[_0x5d330e(0x19b)]&&_0x18aa1c[_0x5d330e(0x19b)][_0x5d330e(0x1b2)]||(_0x18aa1c[_0x5d330e(0x1f9)]=_0x47b7f0),_0x6d3add=!0x0),_0x20b83f&&!_0x21ff2d(_0x20b83f,_0x18aa1c[_0x5d330e(0x19b)])&&(_0x18aa1c[_0x5d330e(0x19b)]=_0x20b83f,_0x6d3add=!0x0),!_0x6d3add)return Promise[_0x5d330e(0x20d)]();if(_0x7a9bf4[_0x5d330e(0x1ba)](_0x5d330e(0x244)),_0x18f137||!this[_0x5d330e(0x175)]||_0x5d330e(0x206)!=typeof this[_0x5d330e(0x175)][_0x5d330e(0x190)])return Promise[_0x5d330e(0x20d)]();const _0x90fa71=this[_0x5d330e(0x235)][_0x5d330e(0x188)][_0x5d330e(0x1c3)](_0x5d330e(0x1d4)),{channelId:_0xa80fcf}=this[_0x5d330e(0x18a)](_0x18aa1c[_0x5d330e(0x24b)]),_0x47fdac=_0x90fa71[_0x5d330e(0x1cc)](_0x20aec0(this[_0x5d330e(0x235)][_0x5d330e(0x21e)],_0x5d330e(0x20e)));return this[_0x5d330e(0x175)][_0x5d330e(0x190)]({'channelId':_0xa80fcf,'threadId':_0x2806c0,'commentId':_0x4eb42a,'content':_0x370fc5,'attributes':_0x20b83f})[_0x5d330e(0x210)](()=>_0x90fa71[_0x5d330e(0x1d7)](_0x47fdac))[_0x5d330e(0x225)](_0x321d70=>{const _0x41b8db=_0x5d330e;throw console[_0x41b8db(0x186)](_0x321d70),new _0x285c38(_0x41b8db(0x1e9),this);});}[_0x72a416(0x177)]({threadId:_0x134f32,commentId:_0x3cea15,isFromAdapter:_0x586964}){const _0x325e84=_0x72a416,_0x1bf908=this[_0x325e84(0x18a)](_0x134f32),_0x497047=_0x1bf908[_0x325e84(0x1b6)](_0x3cea15);if(!_0x497047)throw new _0x285c38(_0x325e84(0x23f),this);if(_0x1bf908[_0x325e84(0x1cd)](_0x497047),_0x586964||!this[_0x325e84(0x175)]||_0x325e84(0x206)!=typeof this[_0x325e84(0x175)][_0x325e84(0x1d0)])return Promise[_0x325e84(0x20d)]();const _0x2e29f0=this[_0x325e84(0x235)][_0x325e84(0x188)][_0x325e84(0x1c3)](_0x325e84(0x1d4)),{channelId:_0x54ecce}=_0x1bf908,_0x2beaa4=_0x2e29f0[_0x325e84(0x1cc)](_0x20aec0(this[_0x325e84(0x235)][_0x325e84(0x21e)],_0x325e84(0x20e)));return this[_0x325e84(0x175)][_0x325e84(0x1d0)]({'channelId':_0x54ecce,'threadId':_0x134f32,'commentId':_0x3cea15})[_0x325e84(0x210)](()=>_0x2e29f0[_0x325e84(0x1d7)](_0x2beaa4))[_0x325e84(0x225)](_0x290f78=>{const _0x13f04e=_0x325e84;throw console[_0x13f04e(0x186)](_0x290f78),new _0x285c38(_0x13f04e(0x19a),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x1e1ee5=_0xd905;(function(_0x41b3bf,_0x4d896c){const _0x4aeb9b=_0xd905,_0x31083e=_0x41b3bf();while(!![]){try{const _0x3d71e2=-parseInt(_0x4aeb9b(0x15a))/0x1*(-parseInt(_0x4aeb9b(0x157))/0x2)+parseInt(_0x4aeb9b(0x1bb))/0x3*(parseInt(_0x4aeb9b(0x1c2))/0x4)+-parseInt(_0x4aeb9b(0xed))/0x5*(-parseInt(_0x4aeb9b(0x181))/0x6)+-parseInt(_0x4aeb9b(0x107))/0x7*(-parseInt(_0x4aeb9b(0x186))/0x8)+parseInt(_0x4aeb9b(0x1d0))/0x9*(parseInt(_0x4aeb9b(0x115))/0xa)+-parseInt(_0x4aeb9b(0x1c3))/0xb+-parseInt(_0x4aeb9b(0x1b9))/0xc*(parseInt(_0x4aeb9b(0x104))/0xd);if(_0x3d71e2===_0x4d896c)break;else _0x31083e['push'](_0x31083e['shift']());}catch(_0x525261){_0x31083e['push'](_0x31083e['shift']());}}}(_0x8091,0x56f31));import{PendingActions as _0x5dc53f,ContextPlugin as _0x1cae95,Editor as _0x58600d}from'ckeditor5/src/core.js';import{Collection as _0x400d3f,uid as _0x425bd3,CKEditorError as _0x5b6139,ObservableMixin as _0x995d57}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x2e52b7,hashObject as _0x308709,Users as _0x9c4467}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x7b0cb7,isEqual as _0x1d15bd,set as _0x7c4128,unset as _0xf3fc58}from'lodash-es';import _0x3faa16 from'./ui/commentthreadcontroller.js';import _0x2f21ad from'./ui/view/commentthreadview.js';import _0x522949 from'./ui/view/commentview.js';function _0xd905(_0x514425,_0x5dce86){const _0x80918=_0x8091();return _0xd905=function(_0xd90563,_0x3a2d36){_0xd90563=_0xd90563-0xeb;let _0x1a6b7d=_0x80918[_0xd90563];return _0x1a6b7d;},_0xd905(_0x514425,_0x5dce86);}import{getTranslation as _0x18af56}from'../utils/common-translations.js';import'../../theme/comment.css';function _0x8091(){const _0x46f989=['submitCommentThread','commentsrepository-invalid-comment-content','commentsrepository-resolved-comment-thread','commentsrepository-attach-missing-comment-thread','reopenCommentThread','bodyCollectionContainer','10MxXKky','_update','updateComment','change:isDirty','commentsrepository-invalid-comment-authorid','external:','setAttribute','commentsrepository-reopen-comment-thread','_bindAnnotationToEditors','context','fire','isOfficialPlugin','_removeActiveAnnotation','commentsrepository-invalid-comment-thread-id','isReadOnly','commentsrepository-fetch-comment-thread','find','commentsrepository-add-comment-thread-internal-error','bind','CommentThreadView','unlinkedAt','channelId','_findOptimalIndex','change:_permissions','_updateCommentThread','weight','resolvedBy','commentsrepository-update-comment-missing-comment-thread','refreshVisibility','_isAttached','attachTo','pluginName','from','get','toJSON','comment','commentsrepository-active-not-attached','_getExternalAuthor','destroy','createElement','delete','creator','div','getCommentThreads','_threads','_addComment','PendingActions','CommentsRepository','getPermissions','then','getByInnerView','_resolveCommentThread','isEditable','_hasTargetInContent','getComment','_removeCommentThread','addComment','commentsrepository-missing-thread-and-adapter-method','escape','model','highest','once','switchReadOnly','PENDING_ACTION_COMMENT_THREAD','commentsrepository-get-comment-invalid-id','function','406dOqndJ','commentsrepository-update-missing-comment','_removeComment','1509iqTnzG','fetchCommentThread','commentId','commentsrepository-adapter-already-set','innerView','_readOnlyChannels','commentsrepository-missing-target','focusTracker','_submitCommentThread','licenseKey','filter','textContent','author','_reopenCommentThread','_createCommentThreadView','removeComment','activeCommentThread','stopListening','isPremiumPlugin','deactivateAll','createCommentThreadController','body','noChannel','comments.maxCommentsWhenCollapsed','write','_repository','set','_attachCommentThread','adapter','map','CommentView','_detachCommentThread','commentsrepository-resolve-comment-thread-internal-error','length','submit','push','_adapter','setUnlinkedAt','_addCommentThread','18QxEKYk','setPermissions','createdAt','attributes','commentsrepository-active-missing-comment-thread','2280EwWEOC','threadId','admin','editorReady','_add','isResolved','requires','add','commentsrepository-duplicated-comment-thread-id','removeCommentThread','_permissions','commentsrepository-add-comment-internal-error','assign','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','remove','isActive','init','has','string','commentsrepository-add-comment-user-not-exists','values','removeAttribute','isExternal','content','_updateActiveAnnotation','change:authoredAt','commentUpdated','warn','reduce','commentThreadInputView','activate','type','comments.maxCommentCharsWhenCollapsed','isSubmitted','isRemovable','update','focusableElements','comments.copyMarkers','commentsrepository-remove-comment-thread-internal-error','updateCommentThread','config','_threadToController','commentsrepository-add-comment-to-missing-comment-thread','_isSubmitted','comments.CommentThreadView','isResolvable','addCommentThread','hasCommentThread','modifyAll','catch','commentsrepository-remove-comment-internal-error','39792mNtCdW','commentsrepository-update-comment-thread-internal-error','147tRqAux','archivedAt','editorDestroyed','authorName','canComment','isAttached','openNewCommentThread','3004zvKlya','4942091KeqtHx','change:activeAnnotations','resolve','view','setActiveCommentThread','setContext','isDirty','isFromAdapter','resolvedAt','reopen','_updateComment','getTime','addUser','4405554OemjRX','error','commentsrepository-update-comment-invalid-content','getCommentThread','commentsrepository-reopen-comment-thread-internal-error','1037815sTkGlr','trim','commentsrepository-update-comment-internal-error','define','max','commentsListView','_remove','change:_readOnlyChannels','comments','listenTo','commentsrepository-missing-comment-thread','_createNewComment','innerHTML','_unbindEditors','getUser','resolveCommentThread','commentInputView','_viewToController','comments.maxThreadTotalWeight','locale','lowest','@external','commentsrepository-remove-missing-comment','4940AQYoDJ','comments.CommentView','getIndex','14987vrUtvt','plugins','focus','comments.editorConfig','commentsrepository-remove-comment-missing-comment-thread','authoredAt','commentsrepository-remove-missing-comment-thread','commentsrepository-invalid-commentid'];_0x8091=function(){return _0x46f989;};return _0x8091();}import'../../theme/commentthread.css';import'../../theme/commentinput.css';import _0x29a94a from'../annotations/view/annotationview.js';import _0x387bc3 from'../annotations/annotation.js';import _0x5bd4dd from'../annotations/annotations.js';const bt=Symbol(_0x1e1ee5(0x170)),Nt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export default class o extends _0x1cae95{static get[_0x1e1ee5(0x18c)](){return[_0x5bd4dd,_0x5dc53f,_0x9c4467];}static get[_0x1e1ee5(0x134)](){const _0x432dc4=_0x1e1ee5;return _0x432dc4(0x144);}static get[_0x1e1ee5(0x120)](){return!0x0;}static get[_0x1e1ee5(0x16c)](){return!0x0;}constructor(_0x31ed5e){const _0x331b49=_0x1e1ee5;super(_0x31ed5e),this[_0x331b49(0x141)]=new Map(),this[_0x331b49(0x1af)]=new Map(),this[_0x331b49(0xfe)]=new Map(),this[_0x331b49(0x174)](_0x331b49(0x15f),new Set()),this[_0x331b49(0x174)](_0x331b49(0x190),new Map());const _0x2fcbfc=this[_0x331b49(0x11e)][_0x331b49(0x1ae)];_0x2fcbfc[_0x331b49(0xf0)](_0x331b49(0x171),0x2),_0x2fcbfc[_0x331b49(0xf0)](_0x331b49(0xff),0x1f4),_0x2fcbfc[_0x331b49(0xf0)](_0x331b49(0x1a6),0x8c),_0x2fcbfc[_0x331b49(0xf0)](_0x331b49(0x1b2),_0x2f21ad),_0x2fcbfc[_0x331b49(0xf0)](_0x331b49(0x105),_0x522949),_0x2fcbfc[_0x331b49(0x136)](_0x331b49(0x10a))||console[_0x331b49(0x1a1)](_0x331b49(0x193));}[_0x1e1ee5(0x196)](){const _0x55a82a=_0x1e1ee5,_0x1130a9=this[_0x55a82a(0x11e)][_0x55a82a(0x108)][_0x55a82a(0x136)](_0x5bd4dd);this[_0x55a82a(0x174)](_0x55a82a(0x16a),null),this['on'](_0x55a82a(0x1b4),(_0x2a8dc7,_0x50d18e)=>this[_0x55a82a(0x180)](_0x50d18e)),this['on'](_0x55a82a(0x10f),(_0x57c6de,_0x3e8d7b)=>this[_0x55a82a(0x162)](_0x3e8d7b)),this['on'](_0x55a82a(0xfc),(_0x1e6e46,_0x528e1f)=>this[_0x55a82a(0x148)](_0x528e1f)),this['on'](_0x55a82a(0xfc),(_0xf47d25,_0x118a72)=>this[_0x55a82a(0x19e)](_0x118a72),{'priority':_0x55a82a(0x101)}),this['on'](_0x55a82a(0x113),(_0x4e4506,_0x2155b9)=>this[_0x55a82a(0x167)](_0x2155b9)),this['on'](_0x55a82a(0x113),(_0x4fd878,_0x182257)=>this[_0x55a82a(0x19e)](_0x182257),{'priority':_0x55a82a(0x101)}),this['on'](_0x55a82a(0x18f),(_0x2b53e6,_0x36f793)=>this[_0x55a82a(0x14c)](_0x36f793)),this['on'](_0x55a82a(0x1ad),(_0x18fe90,_0x23accd)=>this[_0x55a82a(0x12d)](_0x23accd)),this['on'](_0x55a82a(0x1ad),(_0x1d1732,_0x41d747)=>this[_0x55a82a(0x19e)](_0x41d747),{'priority':_0x55a82a(0x101)}),this['on'](_0x55a82a(0x14d),(_0x4ea463,_0x1c7402)=>this[_0x55a82a(0x142)](_0x1c7402)),this['on'](_0x55a82a(0x117),(_0xe04af0,_0x2bcb1e)=>this[_0x55a82a(0x1cd)](_0x2bcb1e)),this['on'](_0x55a82a(0x169),(_0x1b7acd,_0x430da8)=>this[_0x55a82a(0x159)](_0x430da8)),this['on'](_0x55a82a(0x14d),(_0x2ccf9d,{threadId:_0x5d5c32,isFromAdapter:_0x24e4ae})=>{const _0x315e76=_0x55a82a;if(_0x24e4ae)return;const _0x11f536=this[_0x315e76(0xeb)](_0x5d5c32),_0x29c476=_0x11f536&&this[_0x315e76(0x1af)][_0x315e76(0x136)](_0x11f536);_0x29c476&&_0x29c476[_0x315e76(0x1c6)][_0x315e76(0xf2)][_0x315e76(0x109)](-0x1);},{'priority':_0x55a82a(0x101)}),this[_0x55a82a(0xf6)](_0x1130a9,_0x55a82a(0x1c4),(_0x1c7154,_0x4730c5,_0x128395)=>{const _0x3f3aa4=_0x55a82a,_0xac38b5=Array[_0x3f3aa4(0x135)](_0x128395)[_0x3f3aa4(0x177)](_0x544d6=>this[_0x3f3aa4(0xfe)][_0x3f3aa4(0x136)](_0x544d6[_0x3f3aa4(0x15e)]))[_0x3f3aa4(0x164)](Boolean)[0x0];this[_0x3f3aa4(0x16a)]=_0xac38b5?_0xac38b5[_0x3f3aa4(0x150)]:null;});}set[_0x1e1ee5(0x176)](_0x4baeea){const _0x20e1d4=_0x1e1ee5;if(this[_0x20e1d4(0x17e)])throw new _0x5b6139(_0x20e1d4(0x15d));this[_0x20e1d4(0x17e)]=_0x4baeea;}get[_0x1e1ee5(0x176)](){const _0x487f98=_0x1e1ee5;return this[_0x487f98(0x17e)];}[_0x1e1ee5(0x1b4)]({channelId:_0xf09837=bt,threadId:_0x2e1d23=_0x425bd3(),comments:_0x2fab2b=[],unlinkedAt:_0x551d00=null,resolvedAt:_0x391d55=null,resolvedBy:_0x55d604=null,target:_0xe95c91=null,context:_0x44d840=null,attributes:_0x27f478={},isResolvable:_0x791bd3=!0x0,isSubmitted:_0x12c69e=!0x1,isFromAdapter:_0x16553f=!0x1}={}){const _0x59c74c=_0x1e1ee5;return this[_0x59c74c(0x11f)](Pt(_0x59c74c(0x1b4),_0xf09837),{'channelId':_0xf09837,'threadId':_0x2e1d23,'comments':_0x2fab2b,'unlinkedAt':_0x551d00,'resolvedAt':_0x391d55,'resolvedBy':_0x55d604,'target':_0xe95c91,'context':_0x44d840,'attributes':_0x27f478,'isFromAdapter':_0x16553f,'isResolvable':_0x791bd3,'isSubmitted':_0x12c69e}),this[_0x59c74c(0xeb)](_0x2e1d23);}[_0x1e1ee5(0x1c1)]({channelId:_0x1184f2=bt,threadId:_0xfb834b=_0x425bd3(),target:_0xe9ac34,context:_0x2910ab=null,isResolvable:_0x330268=!0x0}){const _0x193bc3=_0x1e1ee5;if(this[_0x193bc3(0x15f)][_0x193bc3(0x197)](_0x1184f2)||this[_0x193bc3(0x15f)][_0x193bc3(0x197)](void 0x0))return null;if(!_0xe9ac34)throw new _0x5b6139(_0x193bc3(0x160));const _0x4f26df=this[_0x193bc3(0x1b4)]({'channelId':_0x1184f2,'threadId':_0xfb834b,'target':_0xe9ac34,'context':_0x2910ab,'isResolvable':_0x330268});if(!_0x4f26df)return null;const _0x5f108f=this[_0x193bc3(0x1af)][_0x193bc3(0x136)](_0x4f26df),_0x582c8e=_0x5f108f[_0x193bc3(0x1c6)][_0x193bc3(0x1a3)][_0x193bc3(0xfd)],_0x286686=this[_0x193bc3(0x11e)][_0x193bc3(0x108)][_0x193bc3(0x136)](_0x5bd4dd),_0x5cd333=_0x286686[_0x193bc3(0x147)](_0x5f108f[_0x193bc3(0x1c6)]);return _0x286686[_0x193bc3(0x1a4)](_0x5cd333),_0x582c8e[_0x193bc3(0x152)](_0x193bc3(0x189),()=>_0x582c8e[_0x193bc3(0x109)]()),_0x4f26df;}[_0x1e1ee5(0x1b5)](_0x62d76a){const _0xaf0742=_0x1e1ee5;if(_0xaf0742(0x198)!=typeof _0x62d76a)throw new _0x5b6139(_0xaf0742(0x122));return this[_0xaf0742(0x141)][_0xaf0742(0x197)](_0x62d76a);}[_0x1e1ee5(0x1ad)]({channelId:_0x29c4b4=bt,threadId:_0x4246a8,context:_0xb0a4a,unlinkedAt:_0x362052,attributes:_0x596ae9,isFromAdapter:_0x9373ae=!0x1}){const _0x2a9eb4=_0x1e1ee5;return this[_0x2a9eb4(0x11f)](Pt(_0x2a9eb4(0x1ad),_0x29c4b4),{'channelId':_0x29c4b4,'threadId':_0x4246a8,'context':_0xb0a4a,'unlinkedAt':_0x362052,'attributes':_0x596ae9,'isFromAdapter':_0x9373ae}),this[_0x2a9eb4(0xeb)](_0x4246a8);}[_0x1e1ee5(0xeb)](_0x360a14){const _0x55021a=_0x1e1ee5;if(_0x55021a(0x198)!=typeof _0x360a14)throw new _0x5b6139(_0x55021a(0x122));return this[_0x55021a(0x141)][_0x55021a(0x136)](_0x360a14);}[_0x1e1ee5(0x15b)]({channelId:_0x321dbb,threadId:_0x20851b}={}){const _0xce7bd1=_0x1e1ee5,_0x9733ea=this[_0xce7bd1(0xeb)](_0x20851b);if(_0x9733ea)return Promise[_0xce7bd1(0x1c5)](_0x9733ea);if(!this[_0xce7bd1(0x176)])return Promise[_0xce7bd1(0x1c5)](void 0x0);if(_0xce7bd1(0x156)!=typeof this[_0xce7bd1(0x176)][_0xce7bd1(0xeb)])throw new _0x5b6139(_0xce7bd1(0x14e),this[_0xce7bd1(0x11e)]);return this[_0xce7bd1(0x176)][_0xce7bd1(0xeb)]({'channelId':_0x321dbb,'threadId':_0x20851b})[_0xce7bd1(0x146)](_0x2b85a6=>this[_0xce7bd1(0x1b5)](_0x20851b)?this[_0xce7bd1(0xeb)](_0x20851b):_0x2b85a6?this[_0xce7bd1(0x1b4)](Object[_0xce7bd1(0x192)]({'isFromAdapter':!0x0,'channelId':_0x321dbb},_0x2b85a6)):void 0x0)[_0xce7bd1(0x1b7)](_0x4fbf80=>{const _0x49bdf9=_0xce7bd1;throw console[_0x49bdf9(0x1d1)](_0x4fbf80),new _0x5b6139(_0x49bdf9(0x124),this[_0x49bdf9(0x11e)]);});}[_0x1e1ee5(0x140)]({channelId:_0xf14b3a,skipNotAttached:_0x4fed8d=!0x1,skipEmpty:_0x543b0c=!0x1,toJSON:_0x306331=!0x1}={}){const _0x5bc59e=_0x1e1ee5,_0x2d90bb=[];for(const _0x25bc19 of this[_0x5bc59e(0x141)][_0x5bc59e(0x19a)]())_0xf14b3a&&_0x25bc19[_0x5bc59e(0x12a)]!==_0xf14b3a||_0x4fed8d&&!_0x25bc19[_0x5bc59e(0x1c0)]||_0x543b0c&&0x0===_0x25bc19[_0x5bc59e(0x17b)]||_0x2d90bb[_0x5bc59e(0x17d)](_0x25bc19);return _0x306331?_0x2d90bb[_0x5bc59e(0x177)](_0x46d80d=>_0x46d80d[_0x5bc59e(0x137)]()):_0x2d90bb;}[_0x1e1ee5(0x1c7)](_0x506ed2){const _0x1039a9=_0x1e1ee5,_0x48ba9d=this[_0x1039a9(0x11e)][_0x1039a9(0x108)][_0x1039a9(0x136)](_0x5bd4dd);if(!_0x506ed2)return void(this[_0x1039a9(0x16a)]&&_0x48ba9d[_0x1039a9(0x16d)]());const _0x46c312=this[_0x1039a9(0xeb)](_0x506ed2);if(!_0x46c312)throw new _0x5b6139(_0x1039a9(0x185),null,{'threadId':_0x506ed2});if(!this[_0x1039a9(0x1af)][_0x1039a9(0x197)](_0x46c312))throw new _0x5b6139(_0x1039a9(0x139),null,{'threadId':_0x506ed2});const _0x4ea89b=_0x48ba9d[_0x1039a9(0x147)](this[_0x1039a9(0x1af)][_0x1039a9(0x136)](_0x46c312)[_0x1039a9(0x1c6)]);_0x48ba9d[_0x1039a9(0x1a4)](_0x4ea89b);}[_0x1e1ee5(0x153)](_0x527ce2,_0x6a841b){const _0x1b4177=_0x1e1ee5;_0x527ce2?this[_0x1b4177(0x15f)][_0x1b4177(0x18d)](_0x6a841b):this[_0x1b4177(0x15f)][_0x1b4177(0x13d)](_0x6a841b),this[_0x1b4177(0x11f)](_0x1b4177(0xf4),_0x1b4177(0x15f),this[_0x1b4177(0x15f)],this[_0x1b4177(0x15f)]);}[_0x1e1ee5(0x123)](_0x175558){const _0x430cc1=_0x1e1ee5;return this[_0x430cc1(0x15f)][_0x430cc1(0x197)](_0x175558)||this[_0x430cc1(0x15f)][_0x430cc1(0x197)](void 0x0);}[_0x1e1ee5(0x16e)](_0x311cc2,_0xe16ed1){return new _0x3faa16(_0x311cc2,_0xe16ed1);}[_0x1e1ee5(0x182)](_0x3f1be3,_0x5b2886=bt){const _0x317ade=_0x1e1ee5;this[_0x317ade(0x190)][_0x317ade(0x174)](_0x5b2886,_0x3f1be3),this[_0x317ade(0x11f)](_0x317ade(0x12c),_0x317ade(0x190),this[_0x317ade(0x190)],this[_0x317ade(0x190)]);}[_0x1e1ee5(0x145)](_0x4915cb=bt){const _0x467c39=_0x1e1ee5;return this[_0x467c39(0x190)][_0x467c39(0x197)](_0x4915cb)?this[_0x467c39(0x190)][_0x467c39(0x136)](_0x4915cb):Nt;}[_0x1e1ee5(0x180)]({channelId:_0x264a14,threadId:_0x1f6d52,comments:_0x24858f,unlinkedAt:_0x21fff8,resolvedAt:_0x90038a,resolvedBy:_0x39c2db,target:_0x4c0a83,context:_0x3c7f33,attributes:_0x21b423,isFromAdapter:_0x517080,isResolvable:_0x31679d,isSubmitted:_0x11d7ea}){const _0x146749=_0x1e1ee5;if(_0x146749(0x198)!=typeof _0x1f6d52)throw new _0x5b6139(_0x146749(0x122),null,{'threadId':_0x1f6d52});if(this[_0x146749(0x1b5)](_0x1f6d52))throw new _0x5b6139(_0x146749(0x18e),null,{'threadId':_0x1f6d52});const _0x2a21e9=new CommentThread(this,{'channelId':_0x264a14,'id':_0x1f6d52,'context':_0x3c7f33,'attributes':_0x21b423,'unlinkedAt':_0x21fff8,'resolvedAt':_0x90038a,'resolvedBy':_0x39c2db?this[_0x146749(0x11e)][_0x146749(0x108)][_0x146749(0x136)](_0x9c4467)[_0x146749(0xfb)](_0x39c2db):null,'isResolvable':_0x31679d,'isSubmitted':_0x11d7ea||_0x517080});this[_0x146749(0x141)][_0x146749(0x174)](_0x1f6d52,_0x2a21e9);for(const _0x1c308c of _0x24858f)_0x2a21e9[_0x146749(0x18a)](this[_0x146749(0xf8)]({'threadId':_0x1f6d52,..._0x1c308c}));return _0x4c0a83&&_0x2a21e9[_0x146749(0x133)](_0x4c0a83),_0x517080||!_0x2a21e9[_0x146749(0x17b)]?Promise[_0x146749(0x1c5)]():this[_0x146749(0x162)]({'channelId':_0x264a14,'threadId':_0x1f6d52});}[_0x1e1ee5(0x162)]({channelId:_0x422e33,threadId:_0x3b7abf}){const _0x25037b=_0x1e1ee5;if(!this[_0x25037b(0x1b5)](_0x3b7abf))throw new _0x5b6139(_0x25037b(0xf7),this);const _0x4fa432=this[_0x25037b(0xeb)](_0x3b7abf);if(_0x4fa432[_0x25037b(0x1b1)]=!0x0,!this[_0x25037b(0x176)]||_0x25037b(0x156)!=typeof this[_0x25037b(0x176)][_0x25037b(0x1b4)])return Promise[_0x25037b(0x1c5)]();const {id:_0x198ff0,comments:_0x2b2e25,resolvedAt:_0x463b97,resolvedBy:_0x38bc33,context:_0x2e54bb,attributes:_0x50b589}=_0x4fa432,_0x1f3ce4=this[_0x25037b(0x11e)][_0x25037b(0x108)][_0x25037b(0x136)](_0x25037b(0x143)),_0x31b302=_0x1f3ce4[_0x25037b(0x18d)](_0x18af56(this[_0x25037b(0x11e)][_0x25037b(0x100)],_0x25037b(0x154)));return this[_0x25037b(0x176)][_0x25037b(0x1b4)]({'channelId':_0x422e33,'threadId':_0x198ff0,'comments':_0x2b2e25[_0x25037b(0x177)](_0x1b529c=>_0x1b529c[_0x25037b(0x137)]()),'resolvedAt':_0x463b97,'resolvedBy':_0x38bc33?_0x38bc33['id']:_0x38bc33,'context':_0x2e54bb,'attributes':_0x50b589})[_0x25037b(0x146)](({comments:_0x36ce88})=>{const _0x15bd08=_0x25037b;_0x1f3ce4[_0x15bd08(0x194)](_0x31b302);for(const _0x163523 of _0x36ce88)this[_0x15bd08(0x1cd)]({'channelId':_0x422e33,'threadId':_0x3b7abf,'commentId':_0x163523[_0x15bd08(0x15c)],'createdAt':_0x163523[_0x15bd08(0x183)],'isFromAdapter':!0x0});})[_0x25037b(0x1b7)](_0x47a26e=>{const _0xef7291=_0x25037b;throw console[_0xef7291(0x1d1)](_0x47a26e),new _0x5b6139(_0xef7291(0x126),this);});}[_0x1e1ee5(0x175)]({threadId:_0xc02906,target:_0x181e09}){const _0x46148d=_0x1e1ee5,_0x538ffc=this[_0x46148d(0xeb)](_0xc02906);if(!_0x538ffc)throw new _0x5b6139(_0x46148d(0x112),this);const _0x4b4ac5=this[_0x46148d(0x11e)][_0x46148d(0x108)][_0x46148d(0x136)](_0x46148d(0x143)),_0x2e8e8d=this[_0x46148d(0x11e)][_0x46148d(0x108)][_0x46148d(0x136)](_0x5bd4dd),_0x46eebb=this[_0x46148d(0x168)](_0x538ffc),_0x1f3110=new _0x3faa16(_0x538ffc,_0x46eebb);let _0x178429=null;_0x46eebb['on'](_0x46148d(0x118),(_0x1b2939,_0x5f1b33,_0x306798)=>{const _0x326388=_0x46148d;_0x306798?_0x178429=_0x4b4ac5[_0x326388(0x18d)](_0x18af56(this[_0x326388(0x11e)][_0x326388(0x100)],_0x326388(0x154))):_0x178429&&(_0x4b4ac5[_0x326388(0x194)](_0x178429),_0x178429=null);}),this[_0x46148d(0x1af)][_0x46148d(0x174)](_0x538ffc,_0x1f3110),this[_0x46148d(0xfe)][_0x46148d(0x174)](_0x46eebb,_0x1f3110);const _0x1af827=new _0x29a94a(this[_0x46148d(0x11e)][_0x46148d(0x100)],_0x46eebb);_0x1af827[_0x46148d(0x127)](_0x46148d(0x17b))['to'](_0x46eebb),_0x1af827[_0x46148d(0x127)](_0x46148d(0x1c9))['to'](_0x46eebb,_0x46148d(0x1c9),_0x46eebb,_0x46148d(0x17b),(_0x210de1,_0x21fda1)=>_0x210de1||!_0x21fda1),_0x1af827[_0x46148d(0x127)](_0x46148d(0x195))['to'](_0x46eebb),_0x1af827[_0x46148d(0x1a5)]=_0x46148d(0x138);const _0x328da4=new _0x387bc3({'view':_0x1af827,'target':_0x181e09,'type':_0x46148d(0x138),'isVisible':!_0x538ffc[_0x46148d(0x1bc)]});return _0x46eebb['on'](_0x46148d(0x14f),()=>{const _0x493ebf=_0x46148d;_0x328da4[_0x493ebf(0x11f)](_0x493ebf(0x14f));}),this[_0x46148d(0x11d)](_0x46eebb,_0x328da4),_0x2e8e8d[_0x46148d(0x18d)](_0x328da4),_0x328da4;}[_0x1e1ee5(0x11d)](_0x2dfe0f,_0x1f87c8){const _0x5d65da=_0x1e1ee5;this[_0x5d65da(0xf6)](_0x2dfe0f,_0x5d65da(0x189),(_0x43cae7,_0x1d3e51)=>{const _0xb8539a=_0x5d65da,_0x2b05b6=_0x1d3e51['ui'][_0xb8539a(0x1c6)][_0xb8539a(0x16f)][_0xb8539a(0x114)];_0x1f87c8[_0xb8539a(0x1aa)][_0xb8539a(0x18d)](_0x2b05b6),this[_0xb8539a(0x11e)]instanceof _0x58600d&&this[_0xb8539a(0x11e)]['ui'][_0xb8539a(0x161)][_0xb8539a(0x18d)](_0x2b05b6);},{'priority':_0x5d65da(0x151)}),this[_0x5d65da(0xf6)](_0x2dfe0f,_0x5d65da(0x1bd),(_0x522e1f,_0x35259f)=>{const _0x357af2=_0x5d65da,_0x4f6c03=_0x35259f['ui'][_0x357af2(0x1c6)][_0x357af2(0x16f)][_0x357af2(0x114)];_0x1f87c8[_0x357af2(0x1aa)][_0x357af2(0x197)](_0x4f6c03)&&_0x1f87c8[_0x357af2(0x1aa)][_0x357af2(0x194)](_0x4f6c03),this[_0x357af2(0x11e)]instanceof _0x58600d&&this[_0x357af2(0x11e)]['ui'][_0x357af2(0x161)][_0x357af2(0x194)](_0x4f6c03);});}[_0x1e1ee5(0xfa)](_0x52981c){const _0xea5e30=_0x1e1ee5;this[_0xea5e30(0x16b)](_0x52981c,_0xea5e30(0x189)),this[_0xea5e30(0x16b)](_0x52981c,_0xea5e30(0x1bd));}[_0x1e1ee5(0x168)](_0x2e15b6){const _0x1a6c8d=_0x1e1ee5,_0x13397c=this[_0x1a6c8d(0x11e)][_0x1a6c8d(0x108)][_0x1a6c8d(0x136)](_0x9c4467),{config:_0x2ccdcd,locale:_0x57c3b9}=this[_0x1a6c8d(0x11e)],_0x23b7bc=_0x2e52b7(_0x2ccdcd[_0x1a6c8d(0x136)](_0x1a6c8d(0x100)));return new(0x0,(_0x2ccdcd[_0x1a6c8d(0x136)](_0x1a6c8d(0xf5)))[(_0x1a6c8d(0x128))])(_0x57c3b9,_0x2e15b6,_0x13397c['me'],{'editorConfig':{..._0x2ccdcd[_0x1a6c8d(0x136)](_0x1a6c8d(0x10a)),'licenseKey':this[_0x1a6c8d(0x11e)][_0x1a6c8d(0x1ae)][_0x1a6c8d(0x136)](_0x1a6c8d(0x163))},'copyMarkers':_0x2ccdcd[_0x1a6c8d(0x136)](_0x1a6c8d(0x1ab)),'maxCommentsWhenCollapsed':_0x2ccdcd[_0x1a6c8d(0x136)](_0x1a6c8d(0x171)),'maxThreadTotalWeight':_0x2ccdcd[_0x1a6c8d(0x136)](_0x1a6c8d(0xff)),'maxCommentCharsWhenCollapsed':_0x2ccdcd[_0x1a6c8d(0x136)](_0x1a6c8d(0x1a6)),'formatDateTime':_0x23b7bc,'CommentView':_0x2ccdcd[_0x1a6c8d(0x136)](_0x1a6c8d(0xf5))[_0x1a6c8d(0x178)]});}[_0x1e1ee5(0x148)]({threadId:_0x565b78,channelId:_0x3dca22,resolvedAt:_0x22b756,resolvedBy:_0x5a047d,isFromAdapter:_0x5c7243}){const _0x228231=_0x1e1ee5;if(!this[_0x228231(0x1b5)](_0x565b78))throw new _0x5b6139(_0x228231(0xf7),null,{'threadId':_0x565b78});const _0x5b81ef=this[_0x228231(0xeb)](_0x565b78);if(_0x5b81ef[_0x228231(0x18b)])throw new _0x5b6139(_0x228231(0x111),null,{'threadId':_0x565b78});const _0x2c57e4=this[_0x228231(0x11e)][_0x228231(0x108)][_0x228231(0x136)](_0x9c4467);if(_0x5b81ef[_0x228231(0x12f)]=_0x2c57e4[_0x228231(0xfb)](_0x5a047d),_0x5b81ef[_0x228231(0x1cb)]=_0x22b756,_0x5c7243||!this[_0x228231(0x176)]||_0x228231(0x156)!=typeof this[_0x228231(0x176)][_0x228231(0xfc)])return Promise[_0x228231(0x1c5)]();const _0x5a6bb3=this[_0x228231(0x11e)][_0x228231(0x108)][_0x228231(0x136)](_0x228231(0x143)),_0x2602b7=_0x5a6bb3[_0x228231(0x18d)](_0x18af56(this[_0x228231(0x11e)][_0x228231(0x100)],_0x228231(0x154)));return this[_0x228231(0x176)][_0x228231(0xfc)]({'channelId':_0x3dca22,'threadId':_0x565b78})[_0x228231(0x146)](({resolvedAt:_0x60cac2,resolvedBy:_0x5ca94d})=>{const _0x2bd8d6=_0x228231;_0x5a6bb3[_0x2bd8d6(0x194)](_0x2602b7),_0x5b81ef[_0x2bd8d6(0x12f)]['id']!==_0x5ca94d&&(_0x5b81ef[_0x2bd8d6(0x12f)]=_0x2c57e4[_0x2bd8d6(0xfb)](_0x5ca94d)),_0x5b81ef[_0x2bd8d6(0x1cb)]=_0x60cac2;})[_0x228231(0x1b7)](_0x10f4e2=>{const _0x498906=_0x228231;throw console[_0x498906(0x1d1)](_0x10f4e2),new _0x5b6139(_0x498906(0x17a),this);});}[_0x1e1ee5(0x167)]({threadId:_0x26e0cc,channelId:_0x897e12,isFromAdapter:_0x16efe0}){const _0x6acb90=_0x1e1ee5;if(!this[_0x6acb90(0x1b5)](_0x26e0cc))throw new _0x5b6139(_0x6acb90(0xf7),null,{'threadId':_0x26e0cc});const _0xdfe95=this[_0x6acb90(0xeb)](_0x26e0cc);if(!_0xdfe95[_0x6acb90(0x18b)])throw new _0x5b6139(_0x6acb90(0x11c),null,{'threadId':_0x26e0cc});if(_0xdfe95[_0x6acb90(0x12f)]=null,_0xdfe95[_0x6acb90(0x1cb)]=null,_0x16efe0||!this[_0x6acb90(0x176)]||_0x6acb90(0x156)!=typeof this[_0x6acb90(0x176)][_0x6acb90(0x113)])return Promise[_0x6acb90(0x1c5)]();const _0xd9af4b=this[_0x6acb90(0x11e)][_0x6acb90(0x108)][_0x6acb90(0x136)](_0x6acb90(0x143)),_0xcd4801=_0xd9af4b[_0x6acb90(0x18d)](_0x18af56(this[_0x6acb90(0x11e)][_0x6acb90(0x100)],_0x6acb90(0x154)));return this[_0x6acb90(0x176)][_0x6acb90(0x113)]({'channelId':_0x897e12,'threadId':_0x26e0cc})[_0x6acb90(0x146)](()=>_0xd9af4b[_0x6acb90(0x194)](_0xcd4801))[_0x6acb90(0x1b7)](_0x55b4cb=>{const _0x3d3889=_0x6acb90;throw console[_0x3d3889(0x1d1)](_0x55b4cb),new _0x5b6139(_0x3d3889(0xec),this);});}[_0x1e1ee5(0x14c)]({threadId:_0x3c787d,isFromAdapter:_0x5468a2}){const _0x5b8eea=_0x1e1ee5,_0x5dcfe1=this[_0x5b8eea(0xeb)](_0x3c787d);if(!_0x5dcfe1)throw new _0x5b6139(_0x5b8eea(0x10d),this);if(this[_0x5b8eea(0x179)](_0x3c787d),this[_0x5b8eea(0x141)][_0x5b8eea(0x13d)](_0x3c787d),!_0x5dcfe1[_0x5b8eea(0x1a7)]||_0x5468a2||!this[_0x5b8eea(0x176)]||_0x5b8eea(0x156)!=typeof this[_0x5b8eea(0x176)][_0x5b8eea(0x18f)])return Promise[_0x5b8eea(0x1c5)]();const _0x5cfc4c=this[_0x5b8eea(0x11e)][_0x5b8eea(0x108)][_0x5b8eea(0x136)](_0x5b8eea(0x143)),{channelId:_0x21b192}=_0x5dcfe1,_0x4a919c=_0x5cfc4c[_0x5b8eea(0x18d)](_0x18af56(this[_0x5b8eea(0x11e)][_0x5b8eea(0x100)],_0x5b8eea(0x154)));return this[_0x5b8eea(0x176)][_0x5b8eea(0x18f)]({'channelId':_0x21b192,'threadId':_0x3c787d})[_0x5b8eea(0x146)](()=>_0x5cfc4c[_0x5b8eea(0x194)](_0x4a919c))[_0x5b8eea(0x1b7)](_0x5effda=>{const _0x2d0de1=_0x5b8eea;throw console[_0x2d0de1(0x1d1)](_0x5effda),new _0x5b6139(_0x2d0de1(0x1ac),this);});}[_0x1e1ee5(0x12d)]({threadId:_0x485ca7,unlinkedAt:_0x2efeb5,context:_0x17eaf5,attributes:_0x52c048,isFromAdapter:_0x2b3468}){const _0x170500=_0x1e1ee5;if(_0x170500(0x198)!=typeof _0x485ca7)throw new _0x5b6139(_0x170500(0x122),null,{'threadId':_0x485ca7});if(!this[_0x170500(0x1b5)](_0x485ca7))throw new _0x5b6139(_0x170500(0xf7),null,{'threadId':_0x485ca7});const _0x61a68d=this[_0x170500(0xeb)](_0x485ca7);let _0x275088=!0x1;if(void 0x0!==_0x17eaf5&&_0x61a68d[_0x170500(0x11e)]!==_0x17eaf5&&(_0x61a68d[_0x170500(0x11e)]=_0x17eaf5,_0x275088=!0x0),void 0x0!==_0x2efeb5&&_0x61a68d[_0x170500(0x129)]!==_0x2efeb5&&(_0x61a68d[_0x170500(0x129)]=_0x2efeb5,_0x275088=!0x0),_0x52c048&&!_0x1d15bd(_0x52c048,_0x61a68d[_0x170500(0x184)])&&(_0x61a68d[_0x170500(0x184)]=_0x52c048,_0x275088=!0x0),!_0x275088)return Promise[_0x170500(0x1c5)]();if(!_0x61a68d[_0x170500(0x1a7)]||_0x2b3468||!this[_0x170500(0x176)]||_0x170500(0x156)!=typeof this[_0x170500(0x176)][_0x170500(0x1ad)])return Promise[_0x170500(0x1c5)]();const _0x5acb8a=this[_0x170500(0x11e)][_0x170500(0x108)][_0x170500(0x136)](_0x170500(0x143)),{channelId:_0x61490}=_0x61a68d,_0x48fb1c=_0x5acb8a[_0x170500(0x18d)](_0x18af56(this[_0x170500(0x11e)][_0x170500(0x100)],_0x170500(0x154)));return this[_0x170500(0x176)][_0x170500(0x1ad)]({'channelId':_0x61490,'threadId':_0x485ca7,'context':_0x17eaf5,'unlinkedAt':_0x2efeb5,'attributes':_0x52c048})[_0x170500(0x146)](()=>_0x5acb8a[_0x170500(0x194)](_0x48fb1c))[_0x170500(0x1b7)](_0x4023e9=>{const _0x58d903=_0x170500;throw console[_0x58d903(0x1d1)](_0x4023e9),new _0x5b6139(_0x58d903(0x1ba),this);});}[_0x1e1ee5(0x179)](_0x1e129b){const _0x4b5def=_0x1e1ee5,_0x4011c0=this[_0x4b5def(0x11e)][_0x4b5def(0x108)][_0x4b5def(0x136)](_0x5bd4dd),_0x59a5f5=this[_0x4b5def(0xeb)](_0x1e129b);if(_0x59a5f5[_0x4b5def(0x132)]=!0x1,this[_0x4b5def(0x1af)][_0x4b5def(0x197)](_0x59a5f5)){const _0xe8a61=this[_0x4b5def(0x1af)][_0x4b5def(0x136)](_0x59a5f5),_0x190a52=_0xe8a61[_0x4b5def(0x1c6)],_0x1f1994=_0x4011c0[_0x4b5def(0x147)](_0x190a52);this[_0x4b5def(0x1af)][_0x4b5def(0x13d)](_0x59a5f5),this[_0x4b5def(0xfe)][_0x4b5def(0x13d)](_0x190a52),_0x1f1994&&_0x4011c0[_0x4b5def(0x194)](_0x1f1994),_0xe8a61[_0x4b5def(0x13b)](),_0x190a52[_0x4b5def(0x13b)]()[_0x4b5def(0x146)](()=>{const _0x10aa79=_0x4b5def;this[_0x10aa79(0xfa)](_0x190a52);});}}[_0x1e1ee5(0x19e)]({threadId:_0x55900c,resolvedAt:_0x3c5b25}){const _0x3db6ab=_0x1e1ee5,_0x5f5bef=!!_0x3c5b25,_0x5a01f5=this[_0x3db6ab(0x11e)][_0x3db6ab(0x108)][_0x3db6ab(0x136)](_0x5bd4dd),_0x323f84=this[_0x3db6ab(0xeb)](_0x55900c);if(this[_0x3db6ab(0x1af)][_0x3db6ab(0x197)](_0x323f84)){const _0x528c95=this[_0x3db6ab(0x1af)][_0x3db6ab(0x136)](_0x323f84)[_0x3db6ab(0x1c6)],_0x31da48=_0x5a01f5[_0x3db6ab(0x147)](_0x528c95);_0x31da48&&(_0x5f5bef&&_0x5a01f5[_0x3db6ab(0x121)](_0x31da48),_0x31da48[_0x3db6ab(0x131)]());}}[_0x1e1ee5(0x13a)](_0x498e87){const _0x42cacd=_0x1e1ee5,_0x491d86=this[_0x42cacd(0x11e)][_0x42cacd(0x108)][_0x42cacd(0x136)](_0x9c4467),_0x4979e2=_0x308709(_0x42cacd(0x11a)+_0x498e87),_0x4df903=_0x491d86[_0x42cacd(0xfb)](_0x4979e2);return _0x4df903||_0x491d86[_0x42cacd(0x1cf)]({'id':_0x4979e2,'name':_0x498e87});}[_0x1e1ee5(0xf8)]({threadId:_0x764888,commentId:_0x4b1d3b=_0x425bd3(),content:_0x402728,authorId:_0x152234,createdAt:_0x25cbb4,attributes:_0x668bb9}){const _0x213154=_0x1e1ee5;if(_0x213154(0x198)!=typeof _0x4b1d3b)throw new _0x5b6139(_0x213154(0x10e));if(_0x213154(0x198)!=typeof _0x152234)throw new _0x5b6139(_0x213154(0x119));if(_0x213154(0x198)!=typeof _0x402728||!_0x402728[_0x213154(0xee)]())throw new _0x5b6139(_0x213154(0x110));const _0x45ac7b=this[_0x213154(0x11e)][_0x213154(0x108)][_0x213154(0x136)](_0x9c4467)[_0x213154(0xfb)](_0x152234);if(!_0x45ac7b)throw new _0x5b6139(_0x213154(0x199),null,{'authorId':_0x152234});let _0x512fb2=null,_0xfc5911=_0x25cbb4;return _0x668bb9&&_0x668bb9[_0x213154(0x102)]&&(_0x512fb2=this[_0x213154(0x13a)](_0x668bb9[_0x213154(0x102)][_0x213154(0x1be)]),_0xfc5911=new Date(_0x668bb9[_0x213154(0x102)][_0x213154(0x183)])),new Comment(this,{'threadId':_0x764888,'id':_0x4b1d3b,'author':_0x512fb2||_0x45ac7b,'creator':_0x45ac7b,'content':_0x402728,'createdAt':_0x25cbb4,'authoredAt':_0xfc5911,'attributes':_0x668bb9});}[_0x1e1ee5(0x142)](_0x44d8a0){const _0x339b90=_0x1e1ee5;let {threadId:_0x199a4f,content:_0x30d59c,attributes:_0x36d02e,isFromAdapter:_0x9568ad}=_0x44d8a0;const _0x3598c0=this[_0x339b90(0xeb)](_0x44d8a0[_0x339b90(0x187)]);if(!_0x3598c0)throw new _0x5b6139(_0x339b90(0x1b0),this);const _0x504460=this[_0x339b90(0xf8)](_0x44d8a0),{id:_0x5a0ccd}=_0x504460;if(_0x3598c0[_0x339b90(0x18a)](_0x504460),_0x9568ad||!this[_0x339b90(0x176)]||_0x339b90(0x156)!=typeof this[_0x339b90(0x176)][_0x339b90(0x14d)]||!_0x3598c0[_0x339b90(0x1a7)])return Promise[_0x339b90(0x1c5)]();const _0x1666d4=this[_0x339b90(0x11e)][_0x339b90(0x108)][_0x339b90(0x136)](_0x339b90(0x143)),{channelId:_0x47a0d2}=_0x3598c0,_0x7f8251=_0x1666d4[_0x339b90(0x18d)](_0x18af56(this[_0x339b90(0x11e)][_0x339b90(0x100)],_0x339b90(0x154)));return _0x36d02e||(_0x36d02e={}),this[_0x339b90(0x176)][_0x339b90(0x14d)]({'channelId':_0x47a0d2,'threadId':_0x199a4f,'commentId':_0x5a0ccd,'content':_0x30d59c,'attributes':_0x36d02e})[_0x339b90(0x146)](_0xbea0e9=>{const _0x481ce8=_0x339b90;_0x1666d4[_0x481ce8(0x194)](_0x7f8251),_0xbea0e9&&this[_0x481ce8(0x1cd)]({'channelId':_0x47a0d2,'threadId':_0x199a4f,'commentId':_0x5a0ccd,'createdAt':_0xbea0e9[_0x481ce8(0x183)],'isFromAdapter':!0x0});})[_0x339b90(0x1b7)](_0x2fedea=>{const _0x16b65d=_0x339b90;throw console[_0x16b65d(0x1d1)](_0x2fedea),new _0x5b6139(_0x16b65d(0x191),this);});}[_0x1e1ee5(0x1cd)]({threadId:_0x4f4c8a,commentId:_0x57ff24,content:_0x2047ad,createdAt:_0x8c0576,attributes:_0x14173f,isFromAdapter:_0x4fbe70}){const _0x13bc30=_0x1e1ee5;if(void 0x0!==_0x2047ad&&(_0x13bc30(0x198)!=typeof _0x2047ad||!_0x2047ad[_0x13bc30(0xee)]()[_0x13bc30(0x17b)]))throw new _0x5b6139(_0x13bc30(0x1d2));const _0x548aee=this[_0x13bc30(0xeb)](_0x4f4c8a),_0x15eb16=_0x548aee[_0x13bc30(0x14b)](_0x57ff24);if(!_0x15eb16)throw new _0x5b6139(_0x13bc30(0x158),this);let _0x3a461b=!0x1;if(_0x2047ad&&_0x2047ad!==_0x15eb16[_0x13bc30(0x19d)]&&(_0x15eb16[_0x13bc30(0x149)]||_0x4fbe70)&&(_0x15eb16[_0x13bc30(0x19d)]=_0x2047ad,_0x3a461b=!0x0),_0x8c0576&&_0x8c0576!==_0x15eb16[_0x13bc30(0x183)]&&(_0x15eb16[_0x13bc30(0x183)]=_0x8c0576,_0x15eb16[_0x13bc30(0x184)]&&_0x15eb16[_0x13bc30(0x184)][_0x13bc30(0x102)]||(_0x15eb16[_0x13bc30(0x10c)]=_0x8c0576),_0x3a461b=!0x0),_0x14173f&&!_0x1d15bd(_0x14173f,_0x15eb16[_0x13bc30(0x184)])&&(_0x15eb16[_0x13bc30(0x184)]=_0x14173f,_0x3a461b=!0x0),!_0x3a461b)return Promise[_0x13bc30(0x1c5)]();if(_0x548aee[_0x13bc30(0x11f)](_0x13bc30(0x1a0)),_0x4fbe70||!this[_0x13bc30(0x176)]||_0x13bc30(0x156)!=typeof this[_0x13bc30(0x176)][_0x13bc30(0x117)])return Promise[_0x13bc30(0x1c5)]();const _0x1cb6bc=this[_0x13bc30(0x11e)][_0x13bc30(0x108)][_0x13bc30(0x136)](_0x13bc30(0x143)),{channelId:_0x308a5d}=this[_0x13bc30(0xeb)](_0x15eb16[_0x13bc30(0x187)]),_0x386c67=_0x1cb6bc[_0x13bc30(0x18d)](_0x18af56(this[_0x13bc30(0x11e)][_0x13bc30(0x100)],_0x13bc30(0x154)));return this[_0x13bc30(0x176)][_0x13bc30(0x117)]({'channelId':_0x308a5d,'threadId':_0x4f4c8a,'commentId':_0x57ff24,'content':_0x2047ad,'attributes':_0x14173f})[_0x13bc30(0x146)](()=>_0x1cb6bc[_0x13bc30(0x194)](_0x386c67))[_0x13bc30(0x1b7)](_0x26c933=>{const _0x5d851=_0x13bc30;throw console[_0x5d851(0x1d1)](_0x26c933),new _0x5b6139(_0x5d851(0xef),this);});}[_0x1e1ee5(0x159)]({threadId:_0x3b4727,commentId:_0x201870,isFromAdapter:_0x2107a7}){const _0x81c2a5=_0x1e1ee5,_0x300168=this[_0x81c2a5(0xeb)](_0x3b4727),_0x47e214=_0x300168[_0x81c2a5(0x14b)](_0x201870);if(!_0x47e214)throw new _0x5b6139(_0x81c2a5(0x103),this);if(_0x300168[_0x81c2a5(0xf3)](_0x47e214),_0x2107a7||!this[_0x81c2a5(0x176)]||_0x81c2a5(0x156)!=typeof this[_0x81c2a5(0x176)][_0x81c2a5(0x169)])return Promise[_0x81c2a5(0x1c5)]();const _0xb8c7f3=this[_0x81c2a5(0x11e)][_0x81c2a5(0x108)][_0x81c2a5(0x136)](_0x81c2a5(0x143)),{channelId:_0x3a18d8}=_0x300168,_0x1942f8=_0xb8c7f3[_0x81c2a5(0x18d)](_0x18af56(this[_0x81c2a5(0x11e)][_0x81c2a5(0x100)],_0x81c2a5(0x154)));return this[_0x81c2a5(0x176)][_0x81c2a5(0x169)]({'channelId':_0x3a18d8,'threadId':_0x3b4727,'commentId':_0x201870})[_0x81c2a5(0x146)](()=>_0xb8c7f3[_0x81c2a5(0x194)](_0x1942f8))[_0x81c2a5(0x1b7)](_0x3d044f=>{const _0xa4f728=_0x81c2a5;throw console[_0xa4f728(0x1d1)](_0x3d044f),new _0x5b6139(_0xa4f728(0x1b8),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x995d57(){constructor(_0x4b9cc9,_0x5bc956){const _0x29fb00=_0x1e1ee5;super();const _0x578cb6=_0x5bc956[_0x29fb00(0x1b3)];this[_0x29fb00(0x12a)]=_0x5bc956[_0x29fb00(0x12a)],this['id']=_0x5bc956['id'],this[_0x29fb00(0xf5)]=new _0x400d3f(),this[_0x29fb00(0x173)]=_0x4b9cc9,this[_0x29fb00(0x132)]=!0x1,this[_0x29fb00(0x1b1)]=_0x5bc956[_0x29fb00(0x1a7)],this[_0x29fb00(0x174)](_0x29fb00(0x14a),!0x0),this[_0x29fb00(0x127)](_0x29fb00(0x123))['to'](_0x4b9cc9,_0x29fb00(0x190),_0x4b9cc9,_0x29fb00(0x15f),()=>_0x4b9cc9[_0x29fb00(0x123)](this[_0x29fb00(0x12a)])),this[_0x29fb00(0x127)](_0x29fb00(0x1a8))['to'](_0x4b9cc9,_0x29fb00(0x190),()=>_0x4b9cc9[_0x29fb00(0x145)](this[_0x29fb00(0x12a)])[_0x29fb00(0x188)]),this[_0x29fb00(0x127)](_0x29fb00(0x1bf))['to'](_0x4b9cc9,_0x29fb00(0x190),()=>{const _0x246450=_0x29fb00,_0x3841d0=_0x4b9cc9[_0x246450(0x145)](this[_0x246450(0x12a)]);return _0x3841d0[_0x246450(0x172)]||_0x3841d0[_0x246450(0x188)];}),this[_0x29fb00(0x127)](_0x29fb00(0x1b3))['to'](_0x4b9cc9,_0x29fb00(0x190),()=>_0x578cb6&&_0x4b9cc9[_0x29fb00(0x145)](this[_0x29fb00(0x12a)])[_0x29fb00(0x1c5)]),this[_0x29fb00(0x174)](_0x29fb00(0x11e),_0x5bc956[_0x29fb00(0x11e)]),this[_0x29fb00(0x127)](_0x29fb00(0x1bc))['to'](this,_0x29fb00(0x1cb),this,_0x29fb00(0x129),(_0x3e252c,_0x223228)=>_0x3e252c?_0x223228?_0x3e252c<_0x223228?_0x3e252c:_0x223228:_0x3e252c:_0x223228),this[_0x29fb00(0x174)](_0x29fb00(0x129),_0x5bc956[_0x29fb00(0x129)]||null),this[_0x29fb00(0x174)](_0x29fb00(0x1cb),_0x5bc956[_0x29fb00(0x1cb)]||null),this[_0x29fb00(0x174)](_0x29fb00(0x12f),_0x5bc956[_0x29fb00(0x12f)]||null),this[_0x29fb00(0x127)](_0x29fb00(0x18b))['to'](this,_0x29fb00(0x1cb),_0x319c25=>!!_0x319c25),this[_0x29fb00(0x174)](_0x29fb00(0x184),_0x5bc956[_0x29fb00(0x184)]||{});}get[_0x1e1ee5(0x12e)](){const _0x268852=_0x1e1ee5;return Array[_0x268852(0x135)](this[_0x268852(0xf5)])[_0x268852(0x1a2)]((_0x1706b6,_0xac7587)=>_0x1706b6+_0xac7587[_0x268852(0x12e)],0x0);}get[_0x1e1ee5(0x17b)](){const _0x28186b=_0x1e1ee5;return this[_0x28186b(0xf5)][_0x28186b(0x17b)];}get[_0x1e1ee5(0x1c0)](){const _0x25650c=_0x1e1ee5;return this[_0x25650c(0x132)];}get[_0x1e1ee5(0x1a7)](){const _0x293178=_0x1e1ee5;return this[_0x293178(0x1b1)];}[_0x1e1ee5(0x17c)](){const _0x74646c=_0x1e1ee5,{channelId:_0xb13b6d,id:_0x4723e8}=this;this[_0x74646c(0x173)][_0x74646c(0x11f)](Pt(_0x74646c(0x10f),_0xb13b6d),{'channelId':_0xb13b6d,'threadId':_0x4723e8});}[_0x1e1ee5(0x17f)](_0x4a354e){const _0x1a946f=_0x1e1ee5;this[_0x1a946f(0x116)]({'unlinkedAt':_0x4a354e});}[_0x1e1ee5(0x1c5)]({resolvedAt:_0x4e6065=new Date(),resolvedBy:_0x55bd96=null,isFromAdapter:_0x352d6f=!0x1}={}){const _0x314779=_0x1e1ee5,_0x368bb4=this[_0x314779(0x173)][_0x314779(0x11e)][_0x314779(0x108)][_0x314779(0x136)](_0x9c4467)['me'],{channelId:_0x5be094,id:_0x49834b}=this;this[_0x314779(0x173)][_0x314779(0x11f)](Pt(_0x314779(0xfc),_0x5be094),{'channelId':_0x5be094,'threadId':_0x49834b,'resolvedAt':_0x4e6065,'resolvedBy':_0x55bd96||_0x368bb4['id'],'isFromAdapter':_0x352d6f});}[_0x1e1ee5(0x1cc)]({isFromAdapter:_0x111867=!0x1}={}){const _0xf96c45=_0x1e1ee5,{channelId:_0x11ba04,id:_0x266f3e}=this;this[_0xf96c45(0x173)][_0xf96c45(0x11f)](Pt(_0xf96c45(0x113),_0x11ba04),{'channelId':_0x11ba04,'threadId':_0x266f3e,'isFromAdapter':_0x111867});}[_0x1e1ee5(0x1c8)](_0x3e879c){const _0x55d320=_0x1e1ee5;this[_0x55d320(0x11e)]||this[_0x55d320(0x116)]({'context':_0x3e879c});}[_0x1e1ee5(0x11b)](_0x4d5d06,_0x2cc10c){const _0x4a9bcb=_0x1e1ee5,_0x7c5e10=_0x7b0cb7(this[_0x4a9bcb(0x184)]);_0x7c4128(_0x7c5e10,_0x4d5d06,_0x2cc10c),this[_0x4a9bcb(0x116)]({'attributes':_0x7c5e10});}[_0x1e1ee5(0x19b)](_0x44709f){const _0xe05356=_0x1e1ee5,_0x4fd9bd=_0x7b0cb7(this[_0xe05356(0x184)]);_0xf3fc58(_0x4fd9bd,_0x44709f),this[_0xe05356(0x116)]({'attributes':_0x4fd9bd});}[_0x1e1ee5(0x194)]({isFromAdapter:_0x57710d=!0x1}={}){const _0x4e313e=_0x1e1ee5,{channelId:_0x46d2c4,id:_0x4939cb}=this;this[_0x4e313e(0x173)][_0x4e313e(0x11f)](Pt(_0x4e313e(0x18f),_0x46d2c4),{'channelId':_0x46d2c4,'threadId':_0x4939cb,'isFromAdapter':_0x57710d});}[_0x1e1ee5(0x133)](_0x51c49a){const _0x1c0869=_0x1e1ee5;return this[_0x1c0869(0x173)][_0x1c0869(0x175)]({'threadId':this['id'],'target':_0x51c49a});}[_0x1e1ee5(0x14d)](_0x35000d){const _0x1423fd=_0x1e1ee5,{channelId:_0x2c681e,id:_0x4ed6d4}=this;this[_0x1423fd(0x173)][_0x1423fd(0x11f)](Pt(_0x1423fd(0x14d),_0x2c681e,_0x4ed6d4),Object[_0x1423fd(0x192)]({'channelId':_0x2c681e,'threadId':_0x4ed6d4},_0x35000d));}[_0x1e1ee5(0x14b)](_0x533680){const _0x44f7d0=_0x1e1ee5;if(_0x44f7d0(0x198)!=typeof _0x533680)throw new _0x5b6139(_0x44f7d0(0x155),null,{'commentId':_0x533680});return this[_0x44f7d0(0xf5)][_0x44f7d0(0x136)](_0x533680);}[_0x1e1ee5(0x137)](){const _0x25c75a=_0x1e1ee5;return{'threadId':this['id'],'context':this[_0x25c75a(0x11e)],'unlinkedAt':this[_0x25c75a(0x129)],'resolvedAt':this[_0x25c75a(0x1cb)],'resolvedBy':this[_0x25c75a(0x12f)]?this[_0x25c75a(0x12f)]['id']:null,'archivedAt':this[_0x25c75a(0x1bc)],'comments':this[_0x25c75a(0xf5)][_0x25c75a(0x177)](_0x45bee2=>_0x45bee2[_0x25c75a(0x137)]()),'attributes':this[_0x25c75a(0x184)]};}[_0x1e1ee5(0x18a)](_0x8382e0){const _0x4fd661=_0x1e1ee5;return this[_0x4fd661(0xf6)](_0x8382e0,_0x4fd661(0x19f),()=>{const _0xc51102=_0x4fd661,_0x383a37=this[_0xc51102(0x12b)](_0x8382e0),_0x5f3a20=this[_0xc51102(0xf5)];_0x383a37-0x1!=_0x5f3a20[_0xc51102(0x106)](_0x8382e0)&&_0x383a37+0x1!=_0x5f3a20[_0xc51102(0x106)](_0x8382e0)&&(this[_0xc51102(0xf3)](_0x8382e0),this[_0xc51102(0x18a)](_0x8382e0));}),this[_0x4fd661(0xf5)][_0x4fd661(0x18d)](_0x8382e0,this[_0x4fd661(0x12b)](_0x8382e0));}[_0x1e1ee5(0x116)](_0x2ec2b2){const _0x402cf0=_0x1e1ee5,{channelId:_0x2ad52e,id:_0x2001fb}=this;this[_0x402cf0(0x173)][_0x402cf0(0x11f)](Pt(_0x402cf0(0x1ad),_0x2ad52e),{..._0x2ec2b2,'channelId':_0x2ad52e,'threadId':_0x2001fb});}[_0x1e1ee5(0xf3)](_0x152a87){const _0x23a555=_0x1e1ee5;return this[_0x23a555(0x16b)](_0x152a87),_0x152a87[_0x23a555(0x13b)](),this[_0x23a555(0xf5)][_0x23a555(0x194)](_0x152a87);}[_0x1e1ee5(0x12b)](_0x560702){const _0xaad195=_0x1e1ee5,_0x5546ad=this[_0xaad195(0xf5)][_0xaad195(0x125)](_0x511ef1=>new Date(_0x511ef1[_0xaad195(0x10c)])[_0xaad195(0x1ce)]()>new Date(_0x560702[_0xaad195(0x10c)])[_0xaad195(0x1ce)]());return _0x5546ad?this[_0xaad195(0xf5)][_0xaad195(0x106)](_0x5546ad):this[_0xaad195(0x17b)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x995d57(){constructor(_0x57517e,_0xb7ea40){const _0x565876=_0x1e1ee5;super();const _0x443109=_0x57517e[_0x565876(0x11e)][_0x565876(0x108)][_0x565876(0x136)](_0x9c4467)['me'],_0x56667e=_0x57517e[_0x565876(0xeb)](_0xb7ea40[_0x565876(0x187)]),_0x212611=0x0===_0x56667e[_0x565876(0xf5)][_0x565876(0x17b)],_0x435845=_0x443109===_0xb7ea40[_0x565876(0x166)];this['id']=_0xb7ea40['id'],this[_0x565876(0x187)]=_0xb7ea40[_0x565876(0x187)],this[_0x565876(0x166)]=_0xb7ea40[_0x565876(0x166)],this[_0x565876(0x13e)]=_0xb7ea40[_0x565876(0x13e)],this[_0x565876(0x19c)]=Boolean(_0xb7ea40[_0x565876(0x184)]&&_0xb7ea40[_0x565876(0x184)][_0x565876(0x102)]),this[_0x565876(0x174)](_0x565876(0x19d),_0xb7ea40[_0x565876(0x19d)]),this[_0x565876(0x183)]=_0xb7ea40[_0x565876(0x183)]||new Date(),this[_0x565876(0x174)](_0x565876(0x10c),_0xb7ea40[_0x565876(0x10c)]||new Date()),this[_0x565876(0x127)](_0x565876(0x1cb))['to'](_0x56667e,_0x565876(0x1cb)),this[_0x565876(0x174)](_0x565876(0x184),_0xb7ea40[_0x565876(0x184)]||{}),this[_0x565876(0x127)](_0x565876(0x149))['to'](_0x57517e,_0x565876(0x190),()=>{const _0x5b614e=_0x565876,_0x3a7e33=_0x57517e[_0x5b614e(0x145)](_0x56667e[_0x5b614e(0x12a)])[_0x5b614e(0x172)],_0xc782f2=_0x57517e[_0x5b614e(0x145)](_0x56667e[_0x5b614e(0x12a)])[_0x5b614e(0x1b6)];return _0x435845&&_0x3a7e33||!_0x435845&&_0xc782f2;}),this[_0x565876(0x127)](_0x565876(0x1a8))['to'](_0x56667e,_0x565876(0x1a8),_0x57517e,_0x565876(0x190),_0x350901=>{const _0x12d4ae=_0x565876,_0x987b9=_0x57517e[_0x12d4ae(0x145)](_0x56667e[_0x12d4ae(0x12a)])[_0x12d4ae(0x172)],_0x4dd7eb=_0x57517e[_0x12d4ae(0x145)](_0x56667e[_0x12d4ae(0x12a)])[_0x12d4ae(0x1b6)];return _0x435845&&_0x987b9||_0x350901&&_0x212611||!_0x435845&&_0x4dd7eb&&!_0x212611;}),this[_0x565876(0x127)](_0x565876(0x123))['to'](_0x56667e,_0x565876(0x123)),this[_0x565876(0x173)]=_0x57517e;}get[_0x1e1ee5(0x12e)](){const _0x476dd0=_0x1e1ee5;return Math[_0x476dd0(0xf1)](function(_0x5d4be7){const _0xc5402c=_0x476dd0,_0x2be4eb=document[_0xc5402c(0x13c)](_0xc5402c(0x13f));return _0x2be4eb[_0xc5402c(0xf9)]=_0x5d4be7,_0x2be4eb[_0xc5402c(0x165)][_0xc5402c(0x17b)];}(this[_0x476dd0(0x19d)]),0xc8);}[_0x1e1ee5(0x1a9)](_0x4790f9){const _0x34cf06=_0x1e1ee5,{threadId:_0x484fa5,id:_0x3d4ec1}=this;if(!this[_0x34cf06(0x173)][_0x34cf06(0x1b5)](_0x484fa5))throw new _0x5b6139(_0x34cf06(0x130),this);const {channelId:_0x2e204d}=this[_0x34cf06(0x173)][_0x34cf06(0xeb)](_0x484fa5);this[_0x34cf06(0x173)][_0x34cf06(0x11f)](Pt(_0x34cf06(0x117),_0x2e204d,_0x484fa5),{'channelId':_0x2e204d,'threadId':_0x484fa5,'commentId':_0x3d4ec1,..._0x4790f9});}[_0x1e1ee5(0x11b)](_0x3b871a,_0x6d9be7){const _0x39b465=_0x1e1ee5,_0x14c0d5=_0x7b0cb7(this[_0x39b465(0x184)]);_0x7c4128(_0x14c0d5,_0x3b871a,_0x6d9be7),this[_0x39b465(0x1a9)]({'attributes':_0x14c0d5});}[_0x1e1ee5(0x19b)](_0x1db3b1){const _0x50c694=_0x1e1ee5,_0xb3e401=_0x7b0cb7(this[_0x50c694(0x184)]);_0xf3fc58(_0xb3e401,_0x1db3b1),this[_0x50c694(0x1a9)]({'attributes':_0xb3e401});}[_0x1e1ee5(0x194)](_0x54163e={}){const _0x3c206c=_0x1e1ee5;if(!_0x54163e[_0x3c206c(0x1ca)]&&!this[_0x3c206c(0x1a8)])return;const {threadId:_0x227af7,id:_0xc8f81b}=this;if(!this[_0x3c206c(0x173)][_0x3c206c(0x1b5)](_0x227af7))throw new _0x5b6139(_0x3c206c(0x10b),this);const {channelId:_0x3bf64a}=this[_0x3c206c(0x173)][_0x3c206c(0xeb)](_0x227af7);this[_0x3c206c(0x173)][_0x3c206c(0x11f)](Pt(_0x3c206c(0x169),_0x3bf64a,_0x227af7),{'channelId':_0x3bf64a,'threadId':_0x227af7,'commentId':_0xc8f81b,..._0x54163e});}[_0x1e1ee5(0x137)](){const _0x2f6639=_0x1e1ee5;return{'commentId':this['id'],'content':this[_0x2f6639(0x19d)],'createdAt':this[_0x2f6639(0x183)],'authorId':this[_0x2f6639(0x13e)]['id'],'attributes':this[_0x2f6639(0x184)]};}[_0x1e1ee5(0x13b)](){const _0x1fccb7=_0x1e1ee5;this[_0x1fccb7(0x16b)]();}}function Pt(_0x4efad1,..._0xaaf5bf){for(const _0x1c5864 of _0xaaf5bf)void 0x0!==_0x1c5864&&(_0x4efad1+=':'+String(_0x1c5864));return _0x4efad1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcd9a63=_0xd64c;function _0xd64c(_0xffd350,_0x39cc17){const _0x2a9337=_0x2a93();return _0xd64c=function(_0xd64c90,_0x224acc){_0xd64c90=_0xd64c90-0x96;let _0x23f6ce=_0x2a9337[_0xd64c90];return _0x23f6ce;},_0xd64c(_0xffd350,_0x39cc17);}(function(_0x10f94a,_0x138b2b){const _0x3e6d94=_0xd64c,_0x592361=_0x10f94a();while(!![]){try{const _0x359300=parseInt(_0x3e6d94(0xd6))/0x1+-parseInt(_0x3e6d94(0xd2))/0x2+parseInt(_0x3e6d94(0xde))/0x3*(parseInt(_0x3e6d94(0xcd))/0x4)+parseInt(_0x3e6d94(0xa3))/0x5+parseInt(_0x3e6d94(0xd9))/0x6+-parseInt(_0x3e6d94(0xa7))/0x7+-parseInt(_0x3e6d94(0x9b))/0x8;if(_0x359300===_0x138b2b)break;else _0x592361['push'](_0x592361['shift']());}catch(_0x4cc68b){_0x592361['push'](_0x592361['shift']());}}}(_0x2a93,0xebde1));import{Plugin as _0x4cef4d}from'ckeditor5/src/core.js';import _0x50658e from'./commentsrepository.js';import _0x27c103 from'./commentsediting.js';function _0x2a93(){const _0x45ca74=['getAllMarkersForId','12OubepM','map','CommentsUI','plugins','comment:','261172tOtoYW','length','componentFactory','getRange','609425lypUve','Comment','stop','9569274HjCSPg','menuBar:comment','CommentThreadInputView','bind','addComment','1307313uCSttv','commentsLicenseKeyTrialLimit','push','innerView','featureNotAllowed','isOfficialPlugin','editing','_licenseKeyCheckInterval','from','commentsLicenseKeyValid','invalid','add','hasCommentThread','Comments','locale','_viewToController','init','19925720blruTh','evaluationLimit','focusTracker','usageLimit','hasMarkerForId','requires','tooltip','isPremiumPlugin','7981800OGvYTN','addCommentThread','commentsLicenseKeyDomainLimit','commentsLicenseKeyEvaluationLimit','10643941FHLQCb','has','_showLicenseError','config','set','commands','focus','view','listenTo','find','expired','removeCommentThread','trialLimit','commentsLicenseKeyInvalid','pluginName','commentsLicenseKeyExpired','comment','_createUIButton','isFocused','get','execute','addSourceCollector','model','CommentsListView','isEnabled','domainLimit','editor','commentsLicenseKeyUsageLimit','destroy','low','_threadToController','licenseKey','highest','getCommentThread','activeMarker','commentsLicenseKeyNotAllowed','change:activeAnnotations'];_0x2a93=function(){return _0x45ca74;};return _0x2a93();}import _0x54773d from'../annotations/editorannotations.js';import{ButtonView as _0x4df0f9,MenuBarMenuListItemButtonView as _0x3b6635}from'ckeditor5/src/ui.js';import _0xdbb1b0 from'../../theme/icons/add-comment.svg';import _0x1e4e6b from'../annotations/annotations.js';import _0x5a1207 from'./ui/view/commentslistview.js';import _0x54bb99 from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x235130}from'../utils/common-translations.js';export default class i extends _0x4cef4d{static get[_0xcd9a63(0xb5)](){const _0x1eeaa5=_0xcd9a63;return _0x1eeaa5(0xcf);}static get[_0xcd9a63(0xe3)](){return!0x0;}static get[_0xcd9a63(0xa2)](){return!0x0;}static get[_0xcd9a63(0xa0)](){return[_0x50658e,_0x27c103,_0x54773d,_0x1e4e6b];}get[_0xcd9a63(0xbe)](){return _0x5a1207;}get[_0xcd9a63(0xdb)](){return _0x54bb99;}[_0xcd9a63(0x9a)](){const _0x24fd19=_0xcd9a63,_0x18582e=this[_0x24fd19(0xc1)],_0x22a376=_0x18582e[_0x24fd19(0xd0)][_0x24fd19(0xba)](_0x50658e),_0x3924a8=_0x18582e[_0x24fd19(0xd0)][_0x24fd19(0xba)](_0x27c103),_0xf534b8=_0x18582e[_0x24fd19(0xd0)][_0x24fd19(0xba)](_0x1e4e6b),_0x4fab3e=_0x18582e[_0x24fd19(0xd0)][_0x24fd19(0xba)](_0x54773d);_0x18582e['ui'][_0x24fd19(0xd4)][_0x24fd19(0xe9)](_0x24fd19(0xb7),()=>{const _0x4378e2=_0x24fd19,_0x46de72=this[_0x4378e2(0xb8)](_0x4df0f9);return _0x46de72[_0x4378e2(0xa1)]=!0x0,_0x46de72;}),_0x18582e['ui'][_0x24fd19(0xd4)][_0x24fd19(0xe9)](_0x24fd19(0xda),()=>this[_0x24fd19(0xb8)](_0x3b6635)),_0x4fab3e[_0x24fd19(0xbc)](()=>{const _0x2b98ba=_0x24fd19,_0x453316=[];for(const [_0x3e639f,_0x1df0cc]of _0x22a376[_0x2b98ba(0xc5)]){const _0x269500=_0x3924a8[_0x2b98ba(0xcc)](_0x3e639f['id']),_0x4f0530=_0x269500[_0x2b98ba(0xce)](_0x37d683=>_0x37d683[_0x2b98ba(0xd5)]());_0x269500[_0x2b98ba(0xd3)]>0x0&&_0x453316[_0x2b98ba(0xe0)]([_0x1df0cc[_0x2b98ba(0xae)],_0x4f0530]);}return _0x453316;}),this[_0x24fd19(0xaf)](_0xf534b8,_0x24fd19(0xcb),(_0x3b3e0f,_0x38b37e,_0x1414ff)=>{const _0x2d488d=_0x24fd19,_0x41437c=Array[_0x2d488d(0xe6)](_0x1414ff)[_0x2d488d(0xce)](_0x230e61=>_0x230e61[_0x2d488d(0xe1)])[_0x2d488d(0xb0)](_0x2b3d83=>_0x22a376[_0x2d488d(0x99)][_0x2d488d(0xa8)](_0x2b3d83));if(!_0x41437c)return void(_0x3924a8[_0x2d488d(0xc9)]=null);const _0x41b51d=_0x22a376[_0x2d488d(0x99)][_0x2d488d(0xba)](_0x41437c)[_0x2d488d(0xbd)]['id'],_0x2c9b01=_0x2d488d(0xd1)+_0x41b51d;_0x41b51d&&_0x3924a8[_0x2d488d(0x9f)](_0x41b51d)?_0x3924a8[_0x2d488d(0xc9)]=_0x2c9b01:_0x3924a8[_0x2d488d(0xc9)]&&(_0x3924a8[_0x2d488d(0xc9)]=null);}),this[_0x24fd19(0xaf)](_0x22a376,_0x24fd19(0xb2),(_0x28a047,{threadId:_0x2467a8,isFromAdapter:_0x1b2555})=>{const _0x2c2a2a=_0x24fd19;!_0x1b2555&&_0x18582e['ui'][_0x2c2a2a(0x9d)][_0x2c2a2a(0xb9)]&&_0x3924a8[_0x2c2a2a(0x9f)](_0x2467a8)&&_0x18582e[_0x2c2a2a(0xe4)][_0x2c2a2a(0xae)][_0x2c2a2a(0xad)]();},{'priority':_0x24fd19(0xc7)}),this[_0x24fd19(0xaf)](_0x22a376,_0x24fd19(0xdd),(_0x35bbb5,{threadId:_0x393bf5,isFromAdapter:_0x66ad71})=>{const _0x2eb2a9=_0x24fd19;if(_0x66ad71||!_0x3924a8[_0x2eb2a9(0x9f)](_0x393bf5)||!_0x22a376[_0x2eb2a9(0x96)](_0x393bf5))return;0x1===_0x22a376[_0x2eb2a9(0xc8)](_0x393bf5)[_0x2eb2a9(0xd3)]&&(_0x18582e[_0x2eb2a9(0xe4)][_0x2eb2a9(0xae)][_0x2eb2a9(0xad)](),_0x35bbb5[_0x2eb2a9(0xd8)]());},{'priority':_0x24fd19(0xc4)}),this[_0x24fd19(0xc6)]=this[_0x24fd19(0xc1)][_0x24fd19(0xaa)][_0x24fd19(0xba)](_0x24fd19(0xc6));const _0x5cead0=this[_0x24fd19(0xc1)];this[_0x24fd19(0xe5)]=setInterval(()=>{const _0x7b0227=_0x24fd19;let _0x3a8f24;for(const _0x3e5bb5 in _0x5cead0){const _0x3cd10b=_0x3e5bb5,_0x95b51d=_0x5cead0[_0x3cd10b];if(_0x7b0227(0xe7)==_0x95b51d||_0x7b0227(0xb4)==_0x95b51d||_0x7b0227(0xb6)==_0x95b51d||_0x7b0227(0xa5)==_0x95b51d||_0x7b0227(0xca)==_0x95b51d||_0x7b0227(0xa6)==_0x95b51d||_0x7b0227(0xdf)==_0x95b51d||_0x7b0227(0xc2)==_0x95b51d){delete _0x5cead0[_0x3cd10b],_0x3a8f24=_0x95b51d,clearInterval(this[_0x7b0227(0xe5)]),this[_0x7b0227(0xe5)]=void 0x0;break;}}_0x7b0227(0xb4)==_0x3a8f24&&_0x5cead0[_0x7b0227(0xa9)](_0x7b0227(0xe8)),_0x7b0227(0xb6)==_0x3a8f24&&_0x5cead0[_0x7b0227(0xa9)](_0x7b0227(0xb1)),_0x7b0227(0xa5)==_0x3a8f24&&_0x5cead0[_0x7b0227(0xa9)](_0x7b0227(0xc0)),_0x7b0227(0xca)==_0x3a8f24&&_0x5cead0[_0x7b0227(0xa9)](_0x7b0227(0xe2),_0x7b0227(0x97)),_0x7b0227(0xa6)==_0x3a8f24&&_0x5cead0[_0x7b0227(0xa9)](_0x7b0227(0x9c)),_0x7b0227(0xdf)==_0x3a8f24&&_0x5cead0[_0x7b0227(0xa9)](_0x7b0227(0xb3)),_0x7b0227(0xc2)==_0x3a8f24&&_0x5cead0[_0x7b0227(0xa9)](_0x7b0227(0x9e));},0x3e8);}[_0xcd9a63(0xc3)](){const _0x5e8b90=_0xcd9a63;super[_0x5e8b90(0xc3)](),this[_0x5e8b90(0xe5)]&&clearInterval(this[_0x5e8b90(0xe5)]);}[_0xcd9a63(0xb8)](_0x237803){const _0x441b3f=_0xcd9a63,_0xfb5876=this[_0x441b3f(0xc1)],_0x4d15a2=new _0x237803(_0xfb5876[_0x441b3f(0x98)]),_0x5a4610=_0xfb5876[_0x441b3f(0xac)][_0x441b3f(0xba)](_0x441b3f(0xa4));return _0x4d15a2[_0x441b3f(0xab)]({'label':_0x235130(_0xfb5876[_0x441b3f(0x98)],_0x441b3f(0xd7)),'icon':_0xdbb1b0}),_0x4d15a2[_0x441b3f(0xdc)](_0x441b3f(0xbf))['to'](_0x5a4610),this[_0x441b3f(0xaf)](_0x4d15a2,_0x441b3f(0xbb),()=>{const _0x1a50ab=_0x441b3f;_0xfb5876[_0x1a50ab(0xe4)][_0x1a50ab(0xae)][_0x1a50ab(0xad)](),_0x5a4610[_0x1a50ab(0xbb)]();}),_0x4d15a2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x220e41=_0x5f05;(function(_0x399781,_0x18fe92){const _0x45de5f=_0x5f05,_0x274646=_0x399781();while(!![]){try{const _0x2e332f=parseInt(_0x45de5f(0x173))/0x1*(-parseInt(_0x45de5f(0x187))/0x2)+parseInt(_0x45de5f(0x181))/0x3+parseInt(_0x45de5f(0x182))/0x4*(-parseInt(_0x45de5f(0x184))/0x5)+parseInt(_0x45de5f(0x172))/0x6+parseInt(_0x45de5f(0x18c))/0x7*(parseInt(_0x45de5f(0x171))/0x8)+-parseInt(_0x45de5f(0x17b))/0x9+parseInt(_0x45de5f(0x188))/0xa;if(_0x2e332f===_0x18fe92)break;else _0x274646['push'](_0x274646['shift']());}catch(_0x492c0c){_0x274646['push'](_0x274646['shift']());}}}(_0x2699,0xdd47a));function _0x5f05(_0x13ae85,_0x52bc2a){const _0x2699a3=_0x2699();return _0x5f05=function(_0x5f05be,_0x57f366){_0x5f05be=_0x5f05be-0x169;let _0x460e0=_0x2699a3[_0x5f05be];return _0x460e0;},_0x5f05(_0x13ae85,_0x52bc2a);}import{Plugin as _0x3ff6fe}from'ckeditor5/src/core.js';function _0x2699(){const _0x2bb028=['_removeMarkersWithoutThreads','CommentsRepository','highest','_registerMarkerToCopy','define','content','default','7678035zvoapU','listenTo','editor','split','dragstart','always','3229278tqFiDy','236LxPoJH','comments.copyMarkers','64110pFwzcC','delete','requires','1085442wbdkBv','17700150pdYxCd','markers','plugins','_registerMarkerInClipboardPipeline','236110urTpXs','config','ClipboardPipeline','cut','keys','contentInsertion','has','comment','ClipboardMarkersUtils','all','_mapCommentsCopyConfigToRegisterConfiguration','hasCommentThread','afterInit','never','get','8bomCWt','4327476KKfknY','2JlqWFX'];_0x2699=function(){return _0x2bb028;};return _0x2699();}import{ClipboardPipeline as _0x27e71b,ClipboardMarkersUtils as _0x590619}from'ckeditor5/src/clipboard.js';export default class ft extends _0x3ff6fe{constructor(_0x125ca2){const _0xf9d177=_0x5f05;super(_0x125ca2),this[_0xf9d177(0x17d)][_0xf9d177(0x18d)][_0xf9d177(0x178)](_0xf9d177(0x183),_0xf9d177(0x17a));}static get[_0x220e41(0x186)](){return[_0x590619,_0x27e71b];}[_0x220e41(0x16e)](){const _0x205425=_0x220e41,_0x318d5e=this[_0x205425(0x17d)][_0x205425(0x18a)][_0x205425(0x170)](_0x205425(0x18e));this[_0x205425(0x18b)](),this[_0x205425(0x17c)](_0x318d5e,_0x205425(0x191),(_0x40469c,_0x3ad034)=>this[_0x205425(0x174)](_0x3ad034[_0x205425(0x179)][_0x205425(0x189)]),{'priority':_0x205425(0x176)});}[_0x220e41(0x174)](_0x356f81){const _0x4f707d=_0x220e41;if(!this[_0x4f707d(0x17d)][_0x4f707d(0x18a)][_0x4f707d(0x192)](_0x4f707d(0x175)))return _0x356f81;const _0x3e854a=this[_0x4f707d(0x17d)][_0x4f707d(0x18a)][_0x4f707d(0x170)](_0x4f707d(0x175));for(const _0x5668b1 of _0x356f81[_0x4f707d(0x190)]()){const [_0x4c9e2d,_0x561d74]=_0x5668b1[_0x4f707d(0x17e)](':');_0x4f707d(0x169)!=_0x4c9e2d||_0x3e854a[_0x4f707d(0x16d)](_0x561d74)||_0x356f81[_0x4f707d(0x185)](_0x5668b1);}return _0x356f81;}[_0x220e41(0x18b)](){const _0x12d631=_0x220e41,_0xfdc33e=this[_0x12d631(0x17d)][_0x12d631(0x18a)][_0x12d631(0x170)](_0x12d631(0x16a)),_0x3c7a09=this[_0x12d631(0x16c)](this[_0x12d631(0x17d)][_0x12d631(0x18d)][_0x12d631(0x170)](_0x12d631(0x183)));_0x3c7a09&&_0xfdc33e[_0x12d631(0x177)](_0x12d631(0x169),_0x3c7a09);}[_0x220e41(0x16c)](_0x1abaa9){const _0x1ea78a=_0x220e41;switch(_0x1abaa9){case _0x1ea78a(0x180):return{'allowedActions':_0x1ea78a(0x16b),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x1ea78a(0x17a):return{'allowedActions':[_0x1ea78a(0x18f),_0x1ea78a(0x17f)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x1ea78a(0x16f):return null;default:return null;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3cfd1b=_0x4791;function _0x4791(_0x1b7ac7,_0x1f71f9){const _0x45eaba=_0x45ea();return _0x4791=function(_0x4791d3,_0x3178a1){_0x4791d3=_0x4791d3-0x70;let _0x50a879=_0x45eaba[_0x4791d3];return _0x50a879;},_0x4791(_0x1b7ac7,_0x1f71f9);}(function(_0x1d3309,_0x2f7b42){const _0xfe8ec1=_0x4791,_0x5cf3b4=_0x1d3309();while(!![]){try{const _0x1696ee=-parseInt(_0xfe8ec1(0x7a))/0x1+-parseInt(_0xfe8ec1(0x75))/0x2+-parseInt(_0xfe8ec1(0x7d))/0x3*(parseInt(_0xfe8ec1(0x70))/0x4)+-parseInt(_0xfe8ec1(0x73))/0x5+-parseInt(_0xfe8ec1(0x81))/0x6+-parseInt(_0xfe8ec1(0x7e))/0x7*(parseInt(_0xfe8ec1(0x71))/0x8)+parseInt(_0xfe8ec1(0x7f))/0x9*(parseInt(_0xfe8ec1(0x79))/0xa);if(_0x1696ee===_0x2f7b42)break;else _0x5cf3b4['push'](_0x5cf3b4['shift']());}catch(_0x2b68fb){_0x5cf3b4['push'](_0x5cf3b4['shift']());}}}(_0x45ea,0x19832));import{Plugin as _0x181395}from'ckeditor5/src/core.js';export default class at extends _0x181395{[_0x3cfd1b(0x72)](){const _0x293fa7=_0x3cfd1b,_0x87b9=this[_0x293fa7(0x80)];if(!_0x87b9[_0x293fa7(0x7b)][_0x293fa7(0x77)](_0x293fa7(0x7c)))return;_0x87b9[_0x293fa7(0x7b)][_0x293fa7(0x78)](_0x293fa7(0x7c))[_0x293fa7(0x76)](_0x293fa7(0x74));}}function _0x45ea(){const _0x424958=['RestrictedEditingModeEditing','207XaYwnu','1452507UuzcvV','2172267Urjewa','editor','864102KaLdxZ','1480WDeSfN','8WGJXZi','afterInit','711210nUlmft','addCommentThread','11410jhAMxZ','enableCommand','has','get','30CaeiPI','94596YTmFBF','plugins'];_0x45ea=function(){return _0x424958;};return _0x45ea();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x496c(_0x38b26a,_0x2e6b12){const _0x86b101=_0x86b1();return _0x496c=function(_0x496c94,_0x2bfc8a){_0x496c94=_0x496c94-0xcd;let _0x344bdc=_0x86b101[_0x496c94];return _0x344bdc;},_0x496c(_0x38b26a,_0x2e6b12);}const _0x1ca094=_0x496c;(function(_0x5acd1c,_0x1c8e50){const _0x4e5be9=_0x496c,_0x2b388c=_0x5acd1c();while(!![]){try{const _0x369931=-parseInt(_0x4e5be9(0xdf))/0x1+parseInt(_0x4e5be9(0xe5))/0x2+parseInt(_0x4e5be9(0xd5))/0x3+-parseInt(_0x4e5be9(0xeb))/0x4*(-parseInt(_0x4e5be9(0xdd))/0x5)+-parseInt(_0x4e5be9(0xe7))/0x6*(parseInt(_0x4e5be9(0xe3))/0x7)+-parseInt(_0x4e5be9(0xe4))/0x8*(parseInt(_0x4e5be9(0xd4))/0x9)+parseInt(_0x4e5be9(0xd1))/0xa*(-parseInt(_0x4e5be9(0xe1))/0xb);if(_0x369931===_0x1c8e50)break;else _0x2b388c['push'](_0x2b388c['shift']());}catch(_0x4421f2){_0x2b388c['push'](_0x2b388c['shift']());}}}(_0x86b1,0xe67a8));import{Plugin as _0x5b249f}from'ckeditor5/src/core.js';import{priorities as _0x1c5084}from'ckeditor5/src/utils.js';import{Users as _0x2b8afd}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x178460 from'../commentsrepository.js';function _0x86b1(){const _0x268f9d=['72PGMZOy','2376753uAdKwG','define','dataInsert','_handleImportedData','editor','forEach','config','high','15LeGnNU','get','860214uyOznu','basic','16819TjhnEz','importWord','9569jsILfP','366712jwANpP','1173300EhRMMU','commands','438MkxkJE','collaboration.channelId','addCommentThread','plugins','1692692XYoOio','importWord.formatting.comments','collaboration_features','map','execute','2470LGYzlX','afterInit','listenTo'];_0x86b1=function(){return _0x268f9d;};return _0x86b1();}export default class ut extends _0x5b249f{constructor(_0x5cacea){const _0x5aabf1=_0x496c;super(_0x5cacea),this[_0x5aabf1(0xd9)][_0x5aabf1(0xdb)][_0x5aabf1(0xd6)](_0x5aabf1(0xcd),_0x5aabf1(0xe0));}[_0x1ca094(0xd2)](){const _0x42b0b0=_0x1ca094,_0x220b6f=this[_0x42b0b0(0xd9)],_0x2bbe08=_0x220b6f[_0x42b0b0(0xe6)][_0x42b0b0(0xde)](_0x42b0b0(0xe2)),_0xd50ce0=_0x220b6f[_0x42b0b0(0xea)][_0x42b0b0(0xde)](_0x2b8afd);_0x2bbe08&&(_0x2bbe08['on'](_0x42b0b0(0xd0),(_0x31da9f,[,_0x4e4f95])=>{const _0x2a962f=_0x42b0b0;_0x4e4f95[_0x2a962f(0xce)]={'comments':!0x0,'user_id':_0xd50ce0['me']['id']};},{'priority':_0x1c5084[_0x42b0b0(0xdc)]+0xa}),this[_0x42b0b0(0xd3)](_0x2bbe08,_0x42b0b0(0xd7),this[_0x42b0b0(0xd8)]));}[_0x1ca094(0xd8)](_0x49be7d,_0x3e4f39){const _0x4e3b91=_0x1ca094,{comment_threads:_0x1af0f5}=_0x3e4f39;_0x1af0f5&&_0x1af0f5[_0x4e3b91(0xda)](({thread_id:_0x1339d7,comments:_0x2266c4,is_resolved:_0xc93b9})=>{const _0x357217=_0x4e3b91,_0x559ab5=new Date(),_0x56ce87=_0x2266c4[_0x357217(0xcf)](({author:_0x5982a2,content:_0xee6e86,created_at:_0xea2e21})=>({'content':_0xee6e86,'authorId':this[_0x357217(0xd9)][_0x357217(0xea)][_0x357217(0xde)](_0x2b8afd)['me']['id'],'createdAt':_0x559ab5,'attributes':{'@external':{'authorName':_0x5982a2,'createdAt':_0xea2e21?new Date(_0xea2e21):new Date(),'source':_0x357217(0xe2)}}})),_0x14248e=this[_0x357217(0xd9)][_0x357217(0xdb)][_0x357217(0xde)](_0x357217(0xe8));this[_0x357217(0xd9)][_0x357217(0xea)][_0x357217(0xde)](_0x178460)[_0x357217(0xe9)]({'channelId':_0x14248e,'threadId':_0x1339d7,'comments':_0x56ce87,'resolvedAt':_0xc93b9?_0x559ab5:null});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x55fa28=_0x5ad9;(function(_0x1fa007,_0x49f5cb){const _0x28c105=_0x5ad9,_0x52cc88=_0x1fa007();while(!![]){try{const _0x54c3d8=parseInt(_0x28c105(0x9c))/0x1+-parseInt(_0x28c105(0xb1))/0x2+-parseInt(_0x28c105(0xaa))/0x3*(-parseInt(_0x28c105(0xaf))/0x4)+-parseInt(_0x28c105(0xc5))/0x5*(-parseInt(_0x28c105(0xbf))/0x6)+parseInt(_0x28c105(0xdb))/0x7*(-parseInt(_0x28c105(0xa8))/0x8)+-parseInt(_0x28c105(0xc2))/0x9*(parseInt(_0x28c105(0xbb))/0xa)+parseInt(_0x28c105(0xa3))/0xb;if(_0x54c3d8===_0x49f5cb)break;else _0x52cc88['push'](_0x52cc88['shift']());}catch(_0x228a00){_0x52cc88['push'](_0x52cc88['shift']());}}}(_0x5a38,0xd532b));import{Plugin as _0x5840e6}from'ckeditor5/src/core.js';import{toWidget as _0xd47581}from'ckeditor5/src/widget.js';import{splitMarkerName as _0x3719e9}from'../commentsediting.js';import _0x2bd0cc from'../commentsrepository.js';function _0x5ad9(_0x20ce3c,_0x578964){const _0x5a38a1=_0x5a38();return _0x5ad9=function(_0x5ad9fb,_0x3ef8ee){_0x5ad9fb=_0x5ad9fb-0x9c;let _0x3c14e1=_0x5a38a1[_0x5ad9fb];return _0x3c14e1;},_0x5ad9(_0x20ce3c,_0x578964);}function _0x5a38(){const _0x499233=['addClass','getCustomProperty','5jDiCnM','insert','overrideMediaEmbedConverter','ck-horizontal-line','item','consumable','comment','isResolved','stop','span','add','containerElement','toViewElement','markerToHighlight','createEmptyElement','getCommentThread','removeMarker:','horizontalLine','image-inline','editor','ignoreResolvedComments','elementToStructure','2595278HtpSRk','model','dataDowncast','elementToElement','21918loXkOb','markerName','attribute:url:media','createPositionAt','consume','addMarker:','ck-comment-marker','27515257leCsJE','mapper','init','img','for','16dZsoWT','isObject','33FvYCHe','overrideMarkerConverters','div','media','writer','274012IIwejR','options','1407026RSNgFb','imageInline','schema','showCommentHighlights','overrideImageInlineConverter','get','high','conversion','downcastDispatcher','overrideHorizontalRuleConverter','970JEeCaj','addMarker:comment','plugins','widget','3508854aIZbBv','createContainerElement','data','143199ZocUGK'];_0x5a38=function(){return _0x499233;};return _0x5a38();}export default class dt extends _0x5840e6{[_0x55fa28(0xa5)](){const _0xa4afe1=_0x55fa28;this[_0xa4afe1(0xab)](),this[_0xa4afe1(0xba)](),this[_0xa4afe1(0xb5)](),this[_0xa4afe1(0xc7)]();}[_0x55fa28(0xab)](){const _0x23ca14=_0x55fa28;this[_0x23ca14(0xd8)][_0x23ca14(0xb8)][_0x23ca14(0xa7)](_0x23ca14(0xdd))[_0x23ca14(0xd2)]({'model':_0x23ca14(0xcb),'view':(_0x334ea2,_0xeab10d)=>{const _0x4c0b83=_0x23ca14;if(!_0xeab10d[_0x4c0b83(0xb0)][_0x4c0b83(0xb4)])return null;if(_0xeab10d[_0x4c0b83(0xb0)][_0x4c0b83(0xd9)]){const {id:_0x18afdf}=_0x3719e9(_0x334ea2[_0x4c0b83(0x9d)]),_0x327db7=this[_0x4c0b83(0xd8)][_0x4c0b83(0xbd)][_0x4c0b83(0xb6)](_0x2bd0cc)[_0x4c0b83(0xd4)](_0x18afdf);if(_0x327db7&&_0x327db7[_0x4c0b83(0xcc)]&&_0x334ea2[_0x4c0b83(0xc9)])return _0xeab10d[_0x4c0b83(0xca)][_0x4c0b83(0xa0)](_0x334ea2[_0x4c0b83(0xc9)],_0x4c0b83(0xa1)+_0x334ea2[_0x4c0b83(0x9d)]),_0xeab10d[_0x4c0b83(0xca)][_0x4c0b83(0xa0)](_0x334ea2[_0x4c0b83(0xc9)],_0x4c0b83(0xd5)+_0x334ea2[_0x4c0b83(0x9d)]),null;}return{'classes':[_0x4c0b83(0xa2)]};}}),this[_0x23ca14(0xd8)][_0x23ca14(0xb8)][_0x23ca14(0xa7)](_0x23ca14(0xdd))[_0x23ca14(0xcf)](_0x208e96=>{const _0x7b6f9f=_0x23ca14;_0x208e96['on'](_0x7b6f9f(0xbc),(_0x3d4071,_0x34f9d7,_0x9564f5)=>{const _0x1180cf=_0x7b6f9f;if(!_0x9564f5[_0x1180cf(0xb0)][_0x1180cf(0xb4)])return;const _0x494e40=_0x34f9d7[_0x1180cf(0xc9)];if(!_0x494e40)return;const _0x51f4e3=_0x9564f5[_0x1180cf(0xa4)][_0x1180cf(0xd1)](_0x494e40);this[_0x1180cf(0xd8)][_0x1180cf(0xdc)][_0x1180cf(0xb3)][_0x1180cf(0xa9)](_0x494e40)&&_0x51f4e3&&!_0x51f4e3[_0x1180cf(0xc4)](_0x1180cf(0xbe))&&_0x51f4e3['is'](_0x1180cf(0xd0))&&_0xd47581(_0x51f4e3,_0x9564f5[_0x1180cf(0xae)]);},{'priority':_0x7b6f9f(0xb7)});});}[_0x55fa28(0xba)](){const _0x4ef6f6=_0x55fa28;this[_0x4ef6f6(0xd8)][_0x4ef6f6(0xb8)][_0x4ef6f6(0xa7)](_0x4ef6f6(0xdd))[_0x4ef6f6(0xda)]({'model':_0x4ef6f6(0xd6),'view':(_0x11978d,{writer:_0x317d4b,options:_0x5f0e62})=>{const _0x1c9c22=_0x4ef6f6;if(!_0x5f0e62[_0x1c9c22(0xb4)])return null;const _0x15f0a3=_0x317d4b[_0x1c9c22(0xc0)](_0x1c9c22(0xac)),_0x46aa7a=_0x317d4b[_0x1c9c22(0xd3)]('hr');return _0x317d4b[_0x1c9c22(0xc3)](_0x1c9c22(0xc8),_0x15f0a3),_0x317d4b[_0x1c9c22(0xc6)](_0x317d4b[_0x1c9c22(0x9f)](_0x15f0a3,0x0),_0x46aa7a),_0x15f0a3;},'converterPriority':_0x4ef6f6(0xb7)});}[_0x55fa28(0xb5)](){const _0x2f898a=_0x55fa28;this[_0x2f898a(0xd8)][_0x2f898a(0xb8)][_0x2f898a(0xa7)](_0x2f898a(0xdd))[_0x2f898a(0xda)]({'model':_0x2f898a(0xb2),'view':(_0x370d03,{writer:_0x590f8e,options:_0x830e2a})=>{const _0x5478a2=_0x2f898a;if(!_0x830e2a[_0x5478a2(0xb4)])return null;const _0x420131=_0x590f8e[_0x5478a2(0xc0)](_0x5478a2(0xce)),_0x31577b=_0x590f8e[_0x5478a2(0xd3)](_0x5478a2(0xa6));return _0x590f8e[_0x5478a2(0xc3)](_0x5478a2(0xd7),_0x420131),_0x590f8e[_0x5478a2(0xc6)](_0x590f8e[_0x5478a2(0x9f)](_0x420131,0x0),_0x31577b),_0x420131;},'converterPriority':_0x2f898a(0xb7)});}[_0x55fa28(0xc7)](){const _0x547d58=_0x55fa28;this[_0x547d58(0xd8)][_0x547d58(0xb8)][_0x547d58(0xa7)](_0x547d58(0xdd))[_0x547d58(0xde)]({'model':_0x547d58(0xad),'view':(_0x3ed488,{writer:_0x526766,options:_0x5ea052})=>{const _0x35bbd6=_0x547d58;if(_0x5ea052[_0x35bbd6(0xb4)])return _0x526766[_0x35bbd6(0xd3)](_0x35bbd6(0xac));},'converterPriority':_0x547d58(0xb7)}),this[_0x547d58(0xd8)][_0x547d58(0xc1)][_0x547d58(0xb9)]['on'](_0x547d58(0x9e),(_0x4b58d6,_0x2963b8,_0x2b05f6)=>{const _0x4d211c=_0x547d58;_0x2b05f6[_0x4d211c(0xb0)][_0x4d211c(0xb4)]&&_0x4b58d6[_0x4d211c(0xcd)]();},{'priority':_0x547d58(0xb7)});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1ed0d0=_0x1f0c;(function(_0x808d63,_0x375363){const _0x433670=_0x1f0c,_0x2f66f2=_0x808d63();while(!![]){try{const _0x2a67a4=-parseInt(_0x433670(0x109))/0x1*(-parseInt(_0x433670(0x11e))/0x2)+-parseInt(_0x433670(0x10e))/0x3+parseInt(_0x433670(0x10b))/0x4+-parseInt(_0x433670(0x116))/0x5+parseInt(_0x433670(0x111))/0x6+-parseInt(_0x433670(0x124))/0x7*(-parseInt(_0x433670(0x11a))/0x8)+-parseInt(_0x433670(0xf8))/0x9;if(_0x2a67a4===_0x375363)break;else _0x2f66f2['push'](_0x2f66f2['shift']());}catch(_0x278482){_0x2f66f2['push'](_0x2f66f2['shift']());}}}(_0x2dff,0x78296));import{Editor as _0x2fa08f}from'ckeditor5/src/core.js';function _0x2dff(){const _0x1c5870=['change:placeholder','low','_updatePlaceholder','fire','434756xJYviz','6140619oPHadh','plugins','document','childCount','initPlugins','end','map','model','assign','editing','fromCharCode','setSelection','focus','createRoot','initialData','then','config','927BNzCLa','join','2435952YdVrmZ','ready','get','2625756iwMNLF','getChild','placeholder','5769336bKnPNN','view','name','create','destroy','4700230LtISpD','placeholderElement','change','getRoot','80reVjJJ','data','defaultPlugins','init','1722FvlVtO','set'];_0x2dff=function(){return _0x1c5870;};return _0x2dff();}import _0x1fb6f6 from'./commenteditorui.js';import{ObservableMixin as _0x58f2c6}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x432282,disablePlaceholder as _0x1fd43c}from'ckeditor5/src/engine.js';import{Clipboard as _0x4cc865}from'ckeditor5/src/clipboard.js';import{Enter as _0x45202c,ShiftEnter as _0x143fb1}from'ckeditor5/src/enter.js';import{SelectAll as _0x18fc39}from'ckeditor5/src/select-all.js';import{Typing as _0x1343c2}from'ckeditor5/src/typing.js';import{Undo as _0x47725d}from'ckeditor5/src/undo.js';import{Paragraph as _0x3fa94c}from'ckeditor5/src/paragraph.js';const Qt=[_0x4cc865,_0x45202c,_0x143fb1,_0x18fc39,_0x1343c2,_0x47725d,_0x3fa94c];class Ut extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x58f2c6(_0x2fa08f){constructor(_0xfd0171={}){const _0x1046ed=_0x1f0c;function _0x2a8501(_0x51c0cd){const _0x5bac24=_0x1f0c;return _0x51c0cd[_0x5bac24(0xfe)](_0x349997=>String[_0x5bac24(0x102)](_0x349997))[_0x5bac24(0x10a)]('');}(_0xfd0171=Object[_0x1046ed(0x100)]({},_0xfd0171))[_0x1046ed(0xf9)]||(_0xfd0171[_0x1046ed(0xf9)]=Ut[_0x1046ed(0x11c)]),super(_0xfd0171),this['ui']=new _0x1fb6f6(this),this[_0x1046ed(0x11f)](_0x1046ed(0x110),''),this[_0x1046ed(0xff)][_0x1046ed(0xfa)]['on'](_0x1046ed(0x118),()=>this[_0x1046ed(0x122)](),{'priority':_0x1046ed(0x121)}),this['on'](_0x1046ed(0x120),()=>this[_0x1046ed(0x122)]()),this[_0x1046ed(0xff)][_0x1046ed(0xfa)][_0x1046ed(0x105)](),this[_0x2a8501([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a8501([0x76,0x69,0x65,0x77])][_0x2a8501([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a8501([0x61,0x75,0x74,0x6f]),this[_0x2a8501([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2a8501([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a8501([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2a8501([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2a8501([0x6f,0x6b])});}[_0x1ed0d0(0x114)](){const _0x435ca1=_0x1ed0d0,_0x58123a=this[_0x435ca1(0x108)][_0x435ca1(0x10d)](_0x435ca1(0x106))||'';return this[_0x435ca1(0xfc)]()[_0x435ca1(0x107)](()=>this['ui'][_0x435ca1(0x11d)]())[_0x435ca1(0x107)](()=>this[_0x435ca1(0x11b)][_0x435ca1(0x11d)](_0x58123a))[_0x435ca1(0x107)](()=>this[_0x435ca1(0x123)](_0x435ca1(0x10c)));}[_0x1ed0d0(0x115)](){const _0x27a140=_0x1ed0d0;return super[_0x27a140(0x115)]()[_0x27a140(0x107)](()=>this['ui'][_0x27a140(0x115)]());}[_0x1ed0d0(0x104)](){const _0x41d844=_0x1ed0d0;this[_0x41d844(0xff)][_0x41d844(0x118)](_0x314456=>{const _0x32398a=_0x41d844,_0x1b42c9=this[_0x32398a(0xff)][_0x32398a(0xfa)][_0x32398a(0x119)](),_0x7adba3=_0x1b42c9&&_0x1b42c9[_0x32398a(0x10f)](_0x1b42c9[_0x32398a(0xfb)]-0x1);_0x314456[_0x32398a(0x103)](_0x7adba3,_0x32398a(0xfd)),this[_0x32398a(0x101)][_0x32398a(0x112)][_0x32398a(0x104)]();});}[_0x1ed0d0(0x122)](){const _0x222aa4=_0x1ed0d0,_0x29cdf1=this[_0x222aa4(0x101)][_0x222aa4(0x112)],_0x22e83a=_0x29cdf1[_0x222aa4(0xfa)][_0x222aa4(0x119)](),_0x2dbc12=_0x22e83a[_0x222aa4(0x10f)](0x0);_0x22e83a[_0x222aa4(0xfb)]>0x1||!_0x2dbc12||'p'!=_0x2dbc12[_0x222aa4(0x113)]?this[_0x222aa4(0x117)]&&this[_0x222aa4(0x117)][_0x222aa4(0x110)]&&(_0x1fd43c(_0x29cdf1,this[_0x222aa4(0x117)]),this[_0x222aa4(0x117)]=void 0x0):(this[_0x222aa4(0x110)]&&(_0x2dbc12[_0x222aa4(0x110)]=this[_0x222aa4(0x110)]),_0x432282({'view':_0x29cdf1,'element':_0x2dbc12,'keepOnFocus':!0x0}),this[_0x222aa4(0x117)]=_0x2dbc12);}}function _0x1f0c(_0x182246,_0x274078){const _0x2dfffd=_0x2dff();return _0x1f0c=function(_0x1f0c95,_0x3d36b7){_0x1f0c95=_0x1f0c95-0xf8;let _0x28d07c=_0x2dfffd[_0x1f0c95];return _0x28d07c;},_0x1f0c(_0x182246,_0x274078);}Ut[_0x1ed0d0(0x11c)]=Qt;export default Ut;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x379c01=_0x172b;(function(_0x20de10,_0x408528){const _0x2fd59e=_0x172b,_0x2edc8e=_0x20de10();while(!![]){try{const _0x11128d=-parseInt(_0x2fd59e(0x199))/0x1*(parseInt(_0x2fd59e(0x188))/0x2)+parseInt(_0x2fd59e(0x194))/0x3*(-parseInt(_0x2fd59e(0x18e))/0x4)+-parseInt(_0x2fd59e(0x184))/0x5+parseInt(_0x2fd59e(0x187))/0x6+parseInt(_0x2fd59e(0x19d))/0x7*(parseInt(_0x2fd59e(0x1a1))/0x8)+parseInt(_0x2fd59e(0x18d))/0x9+parseInt(_0x2fd59e(0x192))/0xa*(-parseInt(_0x2fd59e(0x190))/0xb);if(_0x11128d===_0x408528)break;else _0x2edc8e['push'](_0x2edc8e['shift']());}catch(_0xc5cfa7){_0x2edc8e['push'](_0x2edc8e['shift']());}}}(_0x3e71,0x6fc8f));import{InlineEditableUIView as _0x240821,EditorUIView as _0x2997c9}from'ckeditor5/src/ui.js';import{uid as _0x55dff1}from'ckeditor5/src/utils.js';import{getTranslation as _0x38e979}from'../../../utils/common-translations.js';function _0x172b(_0x26f991,_0x4bf0a9){const _0x3e71cd=_0x3e71();return _0x172b=function(_0x172b85,_0x42c9eb){_0x172b85=_0x172b85-0x184;let _0x40fe62=_0x3e71cd[_0x172b85];return _0x40fe62;},_0x172b(_0x26f991,_0x4bf0a9);}function _0x3e71(){const _0x30b44c=['focus','ck-editor__main','1733274ZkYtNg','50686ndYgoq','main','uiLanguage','div','add','5661747ridafm','44NNEiSJ','ck-rounded-corners','33hPUuew','element','431010pRZbzP','ck-reset','20127BYJBFV','Comment\x20editor','uiLanguageDirection','setTemplate','editable','6AzITkU','ck-comment__input','createCollection','ck-editor','20209YUNmoE','cke-editor__aria-label_','presentation','render','840TgJbpQ','2040330TKeKvS'];_0x3e71=function(){return _0x30b44c;};return _0x3e71();}export default class Xt extends _0x2997c9{constructor(_0x2a51b6,_0x2ab1ac){const _0x133d97=_0x172b;super(_0x2a51b6);const _0x473cc1=_0x55dff1();this[_0x133d97(0x189)]=this[_0x133d97(0x19b)](),this[_0x133d97(0x198)]=new _0x240821(_0x2a51b6,_0x2ab1ac,void 0x0,{'label':()=>_0x38e979(_0x2a51b6,_0x133d97(0x195))}),this[_0x133d97(0x197)]({'tag':_0x133d97(0x18b),'attributes':{'class':[_0x133d97(0x193),_0x133d97(0x19c),_0x133d97(0x18f),_0x133d97(0x19a)],'dir':_0x2a51b6[_0x133d97(0x196)],'lang':_0x2a51b6[_0x133d97(0x18a)],'aria-labelledby':_0x133d97(0x19e)+_0x473cc1},'children':[{'tag':_0x133d97(0x18b),'attributes':{'class':_0x133d97(0x186),'role':_0x133d97(0x19f)},'children':this[_0x133d97(0x189)]}]});}[_0x379c01(0x1a0)](){const _0x155dfc=_0x379c01;super[_0x155dfc(0x1a0)](),this[_0x155dfc(0x189)][_0x155dfc(0x18c)](this[_0x155dfc(0x198)]);}[_0x379c01(0x185)](){const _0x58bead=_0x379c01;this[_0x58bead(0x198)][_0x58bead(0x191)][_0x58bead(0x185)]();}}
|