@ckeditor/ckeditor5-comments 41.2.0 → 41.2.1
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/package.json +3 -3
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- 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/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +1 -1
- 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/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.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/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "41.2.
|
|
3
|
+
"version": "41.2.1",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"CHANGELOG.md"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"ckeditor5": "41.2.
|
|
48
|
-
"ckeditor5-collaboration": "41.2.
|
|
47
|
+
"ckeditor5": "41.2.1",
|
|
48
|
+
"ckeditor5-collaboration": "41.2.1",
|
|
49
49
|
"lodash-es": "4.17.21"
|
|
50
50
|
},
|
|
51
51
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x42a6(){const _0x286f12=['_target','offsetParent','_type','2309021Fepryq','clear','getClientRects','stopListening','view','function','7McOaDg','refreshVisibility','target','9qJvJAa','innerView','length','170815DxEpoG','set','render','_id','_getNormalizedTarget','item','remove','nodeType','_assertCorrectTarget','updateTargetRect','94953kYKLls','focusableElements','every','802728CvZxBL','1022830TnjXuR','2483952qyLYOB','mainView','isVisible','20kaTGXD','focusTracker','type','element','object','filter','destroy','isArray','120ghwTXF','annotation-invalid-target','add','targetRect','isActive','8548JiqKKD'];_0x42a6=function(){return _0x286f12;};return _0x42a6();}const _0x3b5acb=_0x5952;(function(_0x34f996,_0x1bdba6){const _0x2af898=_0x5952,_0x473acb=_0x34f996();while(!![]){try{const _0x3efd37=-parseInt(_0x2af898(0x87))/0x1*(parseInt(_0x2af898(0x94))/0x2)+parseInt(_0x2af898(0x7f))/0x3+parseInt(_0x2af898(0x8f))/0x4*(parseInt(_0x2af898(0x75))/0x5)+parseInt(_0x2af898(0x84))/0x6*(-parseInt(_0x2af898(0x9e))/0x7)+parseInt(_0x2af898(0x82))/0x8+parseInt(_0x2af898(0xa1))/0x9*(parseInt(_0x2af898(0x83))/0xa)+-parseInt(_0x2af898(0x98))/0xb;if(_0x3efd37===_0x1bdba6)break;else _0x473acb['push'](_0x473acb['shift']());}catch(_0x3e6830){_0x473acb['push'](_0x473acb['shift']());}}}(_0x42a6,0x86396));import{CKEditorError as _0x461c61,Rect as _0x36c663,Collection as _0xd2e8,ObservableMixin as _0x258d13}from'ckeditor5/src/utils.js';export default class d extends _0x258d13(){constructor({view:_0x15ea2a,target:_0x1142c6,type:_0x649066,isVisible:_0x4c733b=!0x0}){const _0x15c386=_0x5952;super(),this[_0x15c386(0x9c)]=_0x15ea2a,this[_0x15c386(0x9c)][_0x15c386(0x8a)]||this[_0x15c386(0x9c)][_0x15c386(0x77)](),this[_0x15c386(0x97)]=_0x649066,this[_0x15c386(0x95)]=_0x1142c6,d[_0x15c386(0x7d)](this[_0x15c386(0x79)]()),this[_0x15c386(0x80)]=new _0xd2e8([this[_0x15c386(0x9c)][_0x15c386(0x8a)]],{'idProperty':_0x15c386(0x78)}),this[_0x15c386(0x80)]['on'](_0x15c386(0x91),(_0x5c73ec,_0x5aaf7e)=>{const _0x57c204=_0x15c386;this[_0x57c204(0x9c)][_0x57c204(0x88)][_0x57c204(0x91)](_0x5aaf7e);}),this[_0x15c386(0x80)]['on'](_0x15c386(0x7b),(_0x348e1b,_0x27b3e6)=>{const _0x1ed8f0=_0x15c386;this[_0x1ed8f0(0x9c)][_0x1ed8f0(0x88)][_0x1ed8f0(0x7b)](_0x27b3e6);}),this[_0x15c386(0x76)](_0x15c386(0x86),_0x4c733b);}get[_0x3b5acb(0x89)](){const _0x14593e=_0x3b5acb;return _0x14593e(0x9d)==typeof this[_0x14593e(0x97)]?this[_0x14593e(0x97)]():this[_0x14593e(0x97)];}get[_0x3b5acb(0xa2)](){const _0xd6fee3=_0x3b5acb;return this[_0xd6fee3(0x9c)][_0xd6fee3(0x85)];}get[_0x3b5acb(0xa0)](){const _0x23f318=_0x3b5acb,_0x4c0137=this[_0x23f318(0x79)]();return d[_0x23f318(0x7d)](_0x4c0137),_0x4c0137;}get[_0x3b5acb(0x92)](){const _0x3a6875=_0x3b5acb,_0x5e7338=this[_0x3a6875(0xa0)];if(null===_0x5e7338)return null;if(_0x5e7338 instanceof _0x36c663)return _0x5e7338;const _0x28058c=_0x5e7338[_0x3a6875(0x8c)](_0x1faa21=>function(_0x4610a4){const _0x3b76b2=_0x3a6875,_0x508272=_0x4610a4[_0x3b76b2(0x96)];if(_0x508272)return!0x0;const _0x368ce6=_0x4610a4[_0x3b76b2(0x9a)]()[_0x3b76b2(0x7a)](0x0);return!!_0x368ce6;}(_0x1faa21));return 0x0===_0x28058c[_0x3a6875(0xa3)]?null:new _0x36c663(_0x28058c[0x0][_0x3a6875(0x9a)]()[_0x3a6875(0x7a)](0x0));}get[_0x3b5acb(0x93)](){const _0x9c7ca6=_0x3b5acb;return this[_0x9c7ca6(0x9c)][_0x9c7ca6(0x93)];}set[_0x3b5acb(0x93)](_0x4f4efc){const _0x3763f0=_0x3b5acb;this[_0x3763f0(0x9c)][_0x3763f0(0x93)]=_0x4f4efc,this[_0x3763f0(0x9c)][_0x3763f0(0x85)][_0x3763f0(0x93)]=_0x4f4efc;}[_0x3b5acb(0x7e)](){const _0xb43f00=_0x3b5acb;this[_0xb43f00(0x9c)][_0xb43f00(0x92)]=this[_0xb43f00(0x92)];}[_0x3b5acb(0x8d)](){const _0x3f1e87=_0x3b5acb;this[_0x3f1e87(0x80)][_0x3f1e87(0x9b)](),this[_0x3f1e87(0x80)][_0x3f1e87(0x99)](),this[_0x3f1e87(0x9b)]();}[_0x3b5acb(0x9f)](){const _0x1a964b=_0x3b5acb;this[_0x1a964b(0x86)]=!!this[_0x1a964b(0x92)];}static[_0x3b5acb(0x7d)](_0x591c0e){const _0x10292b=_0x3b5acb;if(!(null===_0x591c0e||_0x591c0e instanceof _0x36c663||Array[_0x10292b(0x8e)](_0x591c0e)&&_0x591c0e[_0x10292b(0x81)](_0x4dee31=>y(_0x4dee31))))throw new _0x461c61(_0x10292b(0x90),null,{'target':_0x591c0e});}[_0x3b5acb(0x79)](){const _0x558a41=_0x3b5acb,_0x5e4f53=_0x558a41(0x9d)==typeof this[_0x558a41(0x95)]?this[_0x558a41(0x95)]():this[_0x558a41(0x95)];return y(_0x5e4f53)?[_0x5e4f53]:_0x5e4f53;}}function _0x5952(_0x28c38b,_0x29b794){const _0x42a6a2=_0x42a6();return _0x5952=function(_0x5952c1,_0x3eae7e){_0x5952c1=_0x5952c1-0x75;let _0x1139aa=_0x42a6a2[_0x5952c1];return _0x1139aa;},_0x5952(_0x28c38b,_0x29b794);}function y(_0x325e3c){const _0x503742=_0x3b5acb;return null!==_0x325e3c&&_0x503742(0x8b)==typeof _0x325e3c&&_0x503742(0x7c)in _0x325e3c&&0x1===_0x325e3c[_0x503742(0x7c)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24f62e=_0x3242;(function(_0x1262ef,_0x1d6dd4){const _0x2bd23a=_0x3242,_0x699042=_0x1262ef();while(!![]){try{const _0x5adf20=parseInt(_0x2bd23a(0x81))/0x1+-parseInt(_0x2bd23a(0x8a))/0x2+parseInt(_0x2bd23a(0x76))/0x3+parseInt(_0x2bd23a(0x9c))/0x4+parseInt(_0x2bd23a(0x88))/0x5*(-parseInt(_0x2bd23a(0x8b))/0x6)+parseInt(_0x2bd23a(0x85))/0x7+parseInt(_0x2bd23a(0x72))/0x8*(-parseInt(_0x2bd23a(0x9b))/0x9);if(_0x5adf20===_0x1d6dd4)break;else _0x699042['push'](_0x699042['shift']());}catch(_0x31d1e3){_0x699042['push'](_0x699042['shift']());}}}(_0x57be,0x33b8a));import{CKEditorError as _0x13270d,Collection as _0x1b028f,FocusTracker as _0x505728}from'ckeditor5/src/utils.js';export default class x extends _0x1b028f{constructor(_0x586e80=[]){const _0x3224ee=_0x3242;super(),this[_0x3224ee(0x8e)]=new Map(),this[_0x3224ee(0x7c)]=new Map(),this[_0x3224ee(0x99)]=new _0x505728(),this[_0x3224ee(0x99)]['on'](_0x3224ee(0x98),(_0x389c35,_0x289efa,_0xf8e2da)=>{const _0x5d98b1=_0x3224ee;_0xf8e2da||this[_0x5d98b1(0x93)](_0x5d98b1(0x87));});for(const _0x295d2d of _0x586e80)this[_0x3224ee(0x95)](_0x295d2d);}get[_0x24f62e(0x7a)](){const _0x56cd64=_0x24f62e;return this[_0x56cd64(0x99)][_0x56cd64(0x7a)];}[_0x24f62e(0x95)](_0x171813){const _0x288bb5=_0x24f62e;if(this[_0x288bb5(0x80)](_0x171813))throw new _0x13270d(_0x288bb5(0x7b),null);this[_0x288bb5(0x8e)][_0x288bb5(0x83)](_0x171813[_0x288bb5(0x73)],_0x171813),this[_0x288bb5(0x7c)][_0x288bb5(0x83)](_0x171813[_0x288bb5(0x7d)],_0x171813);for(const _0x30eb50 of _0x171813[_0x288bb5(0x96)])this[_0x288bb5(0x99)][_0x288bb5(0x95)](_0x30eb50);this[_0x288bb5(0x75)](_0x171813[_0x288bb5(0x96)],_0x288bb5(0x95),(_0x34b6bb,_0x57d512)=>{const _0x4d06b5=_0x288bb5;this[_0x4d06b5(0x99)][_0x4d06b5(0x95)](_0x57d512);}),this[_0x288bb5(0x75)](_0x171813[_0x288bb5(0x96)],_0x288bb5(0x89),(_0x19374e,_0x5ac575)=>{const _0x525025=_0x288bb5;this[_0x525025(0x99)][_0x525025(0x89)](_0x5ac575);}),this[_0x288bb5(0x75)](_0x171813[_0x288bb5(0x7d)][_0x288bb5(0x84)],_0x288bb5(0x98),(_0x5a0299,_0x4dafab,_0x4fef47)=>{const _0x7074f=_0x288bb5;_0x4fef47&&this[_0x7074f(0x93)](_0x7074f(0x77),_0x171813);}),_0x171813[_0x288bb5(0x9e)]();const _0x3a0d22=this[_0x288bb5(0x74)](_0x171813[_0x288bb5(0x7d)][_0x288bb5(0x82)]);return super[_0x288bb5(0x95)](_0x171813,_0x3a0d22);}[_0x24f62e(0x89)](_0xa33f7d){const _0x5fbfb9=_0x24f62e;if(!this[_0x5fbfb9(0x80)](_0xa33f7d))throw new _0x13270d(_0x5fbfb9(0x8f),null);this[_0x5fbfb9(0x9a)](_0xa33f7d[_0x5fbfb9(0x7d)][_0x5fbfb9(0x84)]),this[_0x5fbfb9(0x9a)](_0xa33f7d[_0x5fbfb9(0x96)]);for(const _0x43c48c of _0xa33f7d[_0x5fbfb9(0x96)])this[_0x5fbfb9(0x99)][_0x5fbfb9(0x89)](_0x43c48c);return this[_0x5fbfb9(0x7c)][_0x5fbfb9(0x90)](_0xa33f7d[_0x5fbfb9(0x7d)]),this[_0x5fbfb9(0x8e)][_0x5fbfb9(0x90)](_0xa33f7d[_0x5fbfb9(0x73)]),super[_0x5fbfb9(0x89)](_0xa33f7d);}[_0x24f62e(0x92)](_0x3cbb9e){const _0x476c1b=_0x24f62e;return this[_0x476c1b(0x8e)][_0x476c1b(0x8c)](_0x3cbb9e);}[_0x24f62e(0x94)](_0x47f9a9){const _0x2e5552=_0x24f62e;return this[_0x2e5552(0x7c)][_0x2e5552(0x8c)](_0x47f9a9);}[_0x24f62e(0x86)](){const _0x587b6a=_0x24f62e;super[_0x587b6a(0x9d)](),this[_0x587b6a(0x9a)](),this[_0x587b6a(0x8e)][_0x587b6a(0x9d)](),this[_0x587b6a(0x7c)][_0x587b6a(0x9d)](),this[_0x587b6a(0x99)][_0x587b6a(0x86)]();}[_0x24f62e(0x79)](){const _0x4c0d81=_0x24f62e;for(const _0x51ef77 of this)_0x51ef77[_0x4c0d81(0x9e)]();this[_0x4c0d81(0x71)]();}[_0x24f62e(0x71)](){const _0x118051=_0x24f62e,_0x5b9fa1=Array[_0x118051(0x7e)](this)[_0x118051(0x8d)]((_0x26c4d7,_0x42e7bf)=>v(_0x26c4d7[_0x118051(0x7d)][_0x118051(0x82)],_0x42e7bf[_0x118051(0x7d)][_0x118051(0x82)]));for(let _0x5e2788=_0x5b9fa1[_0x118051(0x78)]-0x1;_0x5e2788>0x0;_0x5e2788--){const _0x22ca6d=_0x5b9fa1[_0x5e2788];_0x5e2788!==this[_0x118051(0x7f)](_0x22ca6d)&&(this[_0x118051(0x89)](_0x22ca6d),this[_0x118051(0x95)](_0x22ca6d));}}[_0x24f62e(0x74)](_0x51be55){const _0x3001f1=_0x24f62e;let _0x113251=0x0;if(!_0x51be55)return this[_0x3001f1(0x78)];for(const _0x12a09f of this){const _0x3cb12b=_0x12a09f[_0x3001f1(0x7d)][_0x3001f1(0x82)];if(_0x3cb12b){if(v(_0x51be55,_0x3cb12b)<0x0)return _0x113251;_0x113251++;}}return _0x113251;}}export function bindAnnotationCollections({source:_0x5ddd38,target:_0x250714,filter:_0x2ab011}){const _0x373997=_0x24f62e;for(const _0x4e9167 of _0x5ddd38)_0x2ab011(_0x4e9167)&&_0x250714[_0x373997(0x95)](_0x4e9167);_0x250714[_0x373997(0x75)](_0x5ddd38,_0x373997(0x95),(_0x5ded69,_0x558bec)=>{const _0x4b4d3e=_0x373997;_0x2ab011(_0x558bec)&&_0x250714[_0x4b4d3e(0x95)](_0x558bec);}),_0x250714[_0x373997(0x75)](_0x5ddd38,_0x373997(0x89),(_0x5ee9a2,_0x15086c)=>{const _0x402c23=_0x373997;_0x250714[_0x402c23(0x80)](_0x15086c)&&_0x250714[_0x402c23(0x89)](_0x15086c);});}function _0x3242(_0xc56f3a,_0x2f6833){const _0x57bece=_0x57be();return _0x3242=function(_0x3242d0,_0x5d6673){_0x3242d0=_0x3242d0-0x71;let _0x457b2f=_0x57bece[_0x3242d0];return _0x457b2f;},_0x3242(_0xc56f3a,_0x2f6833);}function v(_0x68c81,_0x320896){const _0x31141a=_0x24f62e;if(null===_0x68c81&&null===_0x320896)return 0x0;if(null===_0x68c81)return-0x1;if(null===_0x320896)return 0x1;const _0x3b8fb9=_0x68c81[_0x31141a(0x97)]-_0x320896[_0x31141a(0x97)];return 0x0==_0x3b8fb9?_0x68c81[_0x31141a(0x91)]-_0x320896[_0x31141a(0x91)]:_0x3b8fb9;}function _0x57be(){const _0x54a0f7=['1181217llgOzn','focus','length','refreshPositioning','isFocused','annotationcollection-duplicated-item','_viewToAnnotation','view','from','getIndex','has','317544xxOXcJ','targetRect','set','focusTracker','2805964PtUWtK','destroy','blur','184795iRIAKr','remove','509292cAGDWa','6ZyiYka','get','sort','_innerViewToAnnotation','annotationcollection-not-existing-item','delete','left','getByInnerView','fire','getByView','add','focusableElements','top','change:isFocused','_focusTracker','stopListening','9JPdBGw','1614204yWZjqY','clear','updateTargetRect','_sort','8097848pbYupM','innerView','_getOrderInContent','listenTo'];_0x57be=function(){return _0x54a0f7;};return _0x57be();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5e2f8e=_0x4ba5;(function(_0x5b1ce8,_0x567293){const _0x21a352=_0x4ba5,_0x456e1e=_0x5b1ce8();while(!![]){try{const _0x3f0250=-parseInt(_0x21a352(0x1a2))/0x1+-parseInt(_0x21a352(0x1a6))/0x2*(parseInt(_0x21a352(0x19e))/0x3)+parseInt(_0x21a352(0x1b4))/0x4+-parseInt(_0x21a352(0x1c7))/0x5+parseInt(_0x21a352(0x1bc))/0x6+parseInt(_0x21a352(0x1c2))/0x7*(parseInt(_0x21a352(0x1aa))/0x8)+parseInt(_0x21a352(0x1a9))/0x9*(parseInt(_0x21a352(0x1b0))/0xa);if(_0x3f0250===_0x567293)break;else _0x456e1e['push'](_0x456e1e['shift']());}catch(_0x13e0f0){_0x456e1e['push'](_0x456e1e['shift']());}}}(_0x35a4,0x8b7cf));function _0x4ba5(_0x3bf227,_0x3763a1){const _0x35a4bc=_0x35a4();return _0x4ba5=function(_0x4ba582,_0x12cbf7){_0x4ba582=_0x4ba582-0x19e;let _0x532f31=_0x35a4bc[_0x4ba582];return _0x532f31;},_0x4ba5(_0x3bf227,_0x3763a1);}import{ContextPlugin as _0x3645a4}from'ckeditor5/src/core.js';import _0x149839 from'./annotation.js';import _0x31c746 from'./annotationcollection.js';import _0x1bb904 from'./view/annotationview.js';export default class b extends _0x3645a4{static get[_0x5e2f8e(0x1c5)](){const _0x159fd6=_0x5e2f8e;return _0x159fd6(0x1b8);}constructor(_0x457342){const _0x1ecfab=_0x5e2f8e;super(_0x457342),this[_0x1ecfab(0x1b3)]=new _0x31c746(),this[_0x1ecfab(0x1ba)]=new _0x31c746(),this[_0x1ecfab(0x1bd)](_0x1ecfab(0x1ad),new Set()),this[_0x1ecfab(0x1c6)]();}[_0x5e2f8e(0x1c4)](_0x1b521d){const _0x442777=_0x5e2f8e;this[_0x442777(0x1b3)][_0x442777(0x1c4)](_0x1b521d);}[_0x5e2f8e(0x1a8)](_0xb1a98f){const _0x2bfb7a=_0x5e2f8e;this[_0x2bfb7a(0x1b3)][_0x2bfb7a(0x1a8)](_0xb1a98f),_0xb1a98f[_0x2bfb7a(0x1b5)]();}[_0x5e2f8e(0x1c3)](){const _0x5a527a=_0x5e2f8e;for(const _0x144c7d of this[_0x5a527a(0x1b3)])_0x144c7d[_0x5a527a(0x1c3)]();}[_0x5e2f8e(0x1a5)](){const _0x2602ea=_0x5e2f8e;this[_0x2602ea(0x1ba)][_0x2602ea(0x1a5)]();}[_0x5e2f8e(0x1bf)](_0x16a46a){const _0x1cc772=_0x5e2f8e;return this[_0x1cc772(0x1b3)][_0x1cc772(0x1bf)](_0x16a46a);}[_0x5e2f8e(0x1c1)](){const _0x5db9d2=_0x5e2f8e;this[_0x5db9d2(0x1a4)](_0x5db9d2(0x1a1));}[_0x5e2f8e(0x1b5)](){const _0x24db8b=_0x5e2f8e;for(const _0x12dd3b of this[_0x24db8b(0x1b3)])_0x12dd3b[_0x24db8b(0x1b5)]();this[_0x24db8b(0x1ba)][_0x24db8b(0x1b5)](),this[_0x24db8b(0x1b3)][_0x24db8b(0x1b5)](),super[_0x24db8b(0x1b5)]();}[_0x5e2f8e(0x1b7)](_0xb78cc2){const _0x3532d0=_0x5e2f8e;this[_0x3532d0(0x1a4)](_0x3532d0(0x1a0),_0xb78cc2);}[_0x5e2f8e(0x1ae)](_0x3ce3da){return new _0x149839(_0x3ce3da);}[_0x5e2f8e(0x1ab)](_0x2e778f,_0x5e7b8b){return new _0x1bb904(_0x2e778f,_0x5e7b8b);}[_0x5e2f8e(0x19f)](_0xef9013){const _0xcd5232=_0x5e2f8e,_0x23740d=new Set(this[_0xcd5232(0x1ad)]);_0x23740d[_0xcd5232(0x1c4)](_0xef9013),this[_0xcd5232(0x1ad)]=_0x23740d;}[_0x5e2f8e(0x1c0)](_0x1bb717){const _0x5a3319=_0x5e2f8e,_0x585a7b=new Set(this[_0x5a3319(0x1ad)]);_0x585a7b[_0x5a3319(0x1b9)](_0x1bb717),this[_0x5a3319(0x1ad)]=_0x585a7b;}[_0x5e2f8e(0x1c6)](){const _0x3cb26d=_0x5e2f8e,_0x2f7399=this[_0x3cb26d(0x1b3)],_0x3c3e2c=this[_0x3cb26d(0x1ba)];function _0xb0a47(_0x598de4){const _0x525f11=_0x3cb26d,_0x24f7f2=_0x598de4[_0x525f11(0x1af)];_0x24f7f2[_0x525f11(0x1b1)]&&!_0x3c3e2c[_0x525f11(0x1ac)](_0x24f7f2)?_0x3c3e2c[_0x525f11(0x1c4)](_0x24f7f2):!_0x24f7f2[_0x525f11(0x1b1)]&&_0x3c3e2c[_0x525f11(0x1ac)](_0x24f7f2)&&_0x3c3e2c[_0x525f11(0x1a8)](_0x24f7f2),_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1bb)][_0x525f11(0x1a8)](_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1a7)]),_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1bb)][_0x525f11(0x1c4)](_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1a7)]);}this[_0x3cb26d(0x1a3)](_0x2f7399,_0x3cb26d(0x1c4),(_0x98e7a9,_0x99524f)=>{const _0x3c5c14=_0x3cb26d;_0x99524f[_0x3c5c14(0x1b1)]&&_0x3c3e2c[_0x3c5c14(0x1c4)](_0x99524f),this[_0x3c5c14(0x1a3)](_0x99524f,_0x3c5c14(0x1b6),_0xb0a47);}),this[_0x3cb26d(0x1a3)](_0x2f7399,_0x3cb26d(0x1a8),(_0x356bcb,_0xca25d3)=>{const _0x2c5124=_0x3cb26d;_0x3c3e2c[_0x2c5124(0x1ac)](_0xca25d3)&&_0x3c3e2c[_0x2c5124(0x1a8)](_0xca25d3),this[_0x2c5124(0x1b2)](_0xca25d3,_0x2c5124(0x1b6),_0xb0a47);});}}function _0x35a4(){const _0x24953d=['isVisible','stopListening','collection','1703020HAbAwf','destroy','change:isVisible','activate','Annotations','delete','_visibleAnnotations','focusTracker','3071718KchXLV','set','view','getByInnerView','_removeActiveAnnotation','deactivateAll','1197gBinXr','refreshVisibility','add','pluginName','_bindAnnotationsToVisibleAnnotations','5660385xyzfIT','2922NYwdTT','_addActiveAnnotation','_activateAnnotation','_deactivateAllAnnotations','835957pFJkbS','listenTo','fire','refreshPositioning','952jQbfQY','element','remove','9eLjSXE','48104QrdhJt','createAnnotationView','has','activeAnnotations','createAnnotation','source','10370700UZsQSc'];_0x35a4=function(){return _0x24953d;};return _0x35a4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20eaa8=_0x5928;function _0x5928(_0xe72b23,_0x2edeb3){const _0xeb2a37=_0xeb2a();return _0x5928=function(_0x592823,_0x396c95){_0x592823=_0x592823-0xfa;let _0x491d1c=_0xeb2a37[_0x592823];return _0x491d1c;},_0x5928(_0xe72b23,_0x2edeb3);}(function(_0xde9cd1,_0x38b4ca){const _0x182452=_0x5928,_0x57677a=_0xde9cd1();while(!![]){try{const _0x1dfcac=parseInt(_0x182452(0xfd))/0x1*(parseInt(_0x182452(0x123))/0x2)+-parseInt(_0x182452(0x118))/0x3+-parseInt(_0x182452(0x111))/0x4*(parseInt(_0x182452(0x11a))/0x5)+-parseInt(_0x182452(0x120))/0x6+-parseInt(_0x182452(0x104))/0x7+-parseInt(_0x182452(0x112))/0x8+parseInt(_0x182452(0x11c))/0x9*(parseInt(_0x182452(0x115))/0xa);if(_0x1dfcac===_0x38b4ca)break;else _0x57677a['push'](_0x57677a['shift']());}catch(_0x572b0a){_0x57677a['push'](_0x57677a['shift']());}}}(_0xeb2a,0x3a50c));import{ContextPlugin as _0xb474ac}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ba5d4}from'ckeditor5/src/utils.js';import _0x312ce9,{bindAnnotationCollections as _0x16adf4}from'./annotationcollection.js';import _0x1365a1 from'./annotations.js';function _0xeb2a(){const _0x226c25=['collection','push','248ZqqNHa','function','requires','get','activate','_addActiveAnnotation','_removeActiveAnnotation','1561322LLFuhe','context','deactivateAll','_assertAnnotationDoesNotBelongToMultipleUIs','from','plugins','init','AnnotationsUIs','annotationsuis-missing-ui','annotationsuis-annotation-mismatch','size','remove','annotationsuis-register-invalid-interface','308ezsAqi','1127240plciNo','stopListening','deactivate','96100YWNBJB','pluginName','hasActive','526452jYpaLH','delete','11335KUBoLm','switchTo','927lSzuND','listenTo','filter','_deactivateAllAnnotations','2084832vjXasA','set','_visibleAnnotations','2504GIYaOV','has','change:activeAnnotation','activeUIs','_uisData','_setSelectedAnnotations','_uis','annotationsuis-register-already-registered','_activateAnnotation','type','detach','attach','add','length','register','find','activeAnnotations','setActiveAnnotation','isActive','refilterAnnotations','destroy'];_0xeb2a=function(){return _0x226c25;};return _0xeb2a();}export default class j extends _0xb474ac{static get[_0x20eaa8(0xff)](){return[_0x1365a1];}static get[_0x20eaa8(0x116)](){const _0x6a7b9b=_0x20eaa8;return _0x6a7b9b(0x10b);}constructor(_0x5b68d8){const _0x211152=_0x20eaa8;super(_0x5b68d8),this[_0x211152(0x126)]=new Set(),this[_0x211152(0x129)]=new Map(),this[_0x211152(0x127)]=new Map();}[_0x20eaa8(0x10a)](){const _0x464c4a=_0x20eaa8,_0x2b1110=this[_0x464c4a(0x105)][_0x464c4a(0x109)][_0x464c4a(0x100)](_0x1365a1);this[_0x464c4a(0x11d)](_0x2b1110,_0x464c4a(0x12b),(_0x42a381,_0x26229c)=>{const _0x58790b=_0x464c4a;for(const _0x353998 of this[_0x58790b(0x126)]){const _0x363ca8=this[_0x58790b(0x129)][_0x58790b(0x100)](_0x353998);(0x0,this[_0x58790b(0x127)][_0x58790b(0x100)](_0x353998)[_0x58790b(0x11e)])(_0x26229c)&&_0x363ca8[_0x58790b(0x134)](_0x26229c);}}),this[_0x464c4a(0x11d)](_0x2b1110,_0x464c4a(0x11f),()=>{const _0x4cda6a=_0x464c4a;for(const _0x18617b of this[_0x4cda6a(0x126)]){this[_0x4cda6a(0x129)][_0x4cda6a(0x100)](_0x18617b)[_0x4cda6a(0x134)](null);}}),this[_0x464c4a(0x11d)](_0x2b1110[_0x464c4a(0x122)],_0x464c4a(0x12f),(_0x3b43bc,_0x56db9f)=>{const _0x425eba=_0x464c4a;this[_0x425eba(0x107)](_0x56db9f);});}[_0x20eaa8(0x117)](){const _0x1cd9e0=_0x20eaa8;return this[_0x1cd9e0(0x126)][_0x1cd9e0(0x10e)]>0x0;}[_0x20eaa8(0x135)](_0x2412a8){const _0x59754e=_0x20eaa8;return this[_0x59754e(0x126)][_0x59754e(0x124)](_0x2412a8);}[_0x20eaa8(0x101)](_0x4e39a1,_0x527212=()=>!0x0){const _0x4de46f=_0x20eaa8,_0x1de677=this[_0x4de46f(0x105)][_0x4de46f(0x109)][_0x4de46f(0x100)](_0x1365a1);if(!this[_0x4de46f(0x129)][_0x4de46f(0x124)](_0x4e39a1))throw new _0x3ba5d4(_0x4de46f(0x10c),this,{'uiName':_0x4e39a1});this[_0x4de46f(0x135)](_0x4e39a1)&&this[_0x4de46f(0x114)](_0x4e39a1),this[_0x4de46f(0x126)][_0x4de46f(0x12f)](_0x4e39a1);const _0x4606ce=new _0x312ce9(),_0x440c4e=_0x1de677[_0x4de46f(0x122)];_0x16adf4({'source':_0x440c4e,'target':_0x4606ce,'filter':_0x527212}),this[_0x4de46f(0x127)][_0x4de46f(0x121)](_0x4e39a1,{'collection':_0x4606ce,'filter':_0x527212});const _0x5c0475=this[_0x4de46f(0x129)][_0x4de46f(0x100)](_0x4e39a1);_0x5c0475[_0x4de46f(0x12e)](_0x4606ce),this[_0x4de46f(0x11d)](_0x5c0475,_0x4de46f(0x125),(_0x108947,_0x539a1d,_0x18ce55,_0xd2408d)=>{const _0xf3473c=_0x4de46f;_0xd2408d&&_0x1de677[_0xf3473c(0x103)](_0xd2408d),_0x18ce55&&_0x1de677[_0xf3473c(0x102)](_0x18ce55);});}[_0x20eaa8(0x114)](_0x3848f2){const _0x203bc8=_0x20eaa8;if(this[_0x203bc8(0x126)][_0x203bc8(0x119)](_0x3848f2),!this[_0x203bc8(0x129)][_0x203bc8(0x124)](_0x3848f2))throw new _0x3ba5d4(_0x203bc8(0x10c),this,{'uiName':_0x3848f2});const _0x334940=this[_0x203bc8(0x129)][_0x203bc8(0x100)](_0x3848f2);_0x334940[_0x203bc8(0x12d)](),this[_0x203bc8(0x113)](_0x334940),this[_0x203bc8(0x127)][_0x203bc8(0x100)](_0x3848f2)[_0x203bc8(0xfb)][_0x203bc8(0xfa)](),this[_0x203bc8(0x127)][_0x203bc8(0x119)](_0x3848f2);}[_0x20eaa8(0x11b)](_0x91403f){const _0x5b3724=_0x20eaa8;if(!this[_0x5b3724(0x129)][_0x5b3724(0x124)](_0x91403f))throw new _0x3ba5d4(_0x5b3724(0x10c),this,{'uiName':_0x91403f});const _0x333cfc=this[_0x5b3724(0x105)][_0x5b3724(0x109)][_0x5b3724(0x100)](_0x1365a1),_0x5ade28=Array[_0x5b3724(0x108)](_0x333cfc[_0x5b3724(0x133)])[0x0]||null;this[_0x5b3724(0x106)](),this[_0x5b3724(0x101)](_0x91403f);const _0x404ac=this[_0x5b3724(0x129)][_0x5b3724(0x100)](_0x91403f);_0x404ac[_0x5b3724(0x134)](_0x5ade28),_0x404ac[_0x5b3724(0x128)]&&_0x5ade28&&_0x404ac[_0x5b3724(0x128)]([_0x5ade28]);}[_0x20eaa8(0x106)](){const _0x1433e8=_0x20eaa8;for(const _0x279f1b of this[_0x1433e8(0x126)])this[_0x1433e8(0x114)](_0x279f1b);}[_0x20eaa8(0x131)](_0x2f7c3a,_0x417a29){const _0x1bdbfa=_0x20eaa8;if(this[_0x1bdbfa(0x129)][_0x1bdbfa(0x124)](_0x2f7c3a))throw new _0x3ba5d4(_0x1bdbfa(0x12a));if(_0x1bdbfa(0xfe)!=typeof _0x417a29[_0x1bdbfa(0x12e)]||_0x1bdbfa(0xfe)!=typeof _0x417a29[_0x1bdbfa(0x12d)]||_0x1bdbfa(0xfe)!=typeof _0x417a29[_0x1bdbfa(0x134)])throw new _0x3ba5d4(_0x1bdbfa(0x110),null);this[_0x1bdbfa(0x129)][_0x1bdbfa(0x121)](_0x2f7c3a,_0x417a29);}[_0x20eaa8(0x136)](){const _0x579638=_0x20eaa8,_0x1f53b0=this[_0x579638(0x105)][_0x579638(0x109)][_0x579638(0x100)](_0x1365a1)[_0x579638(0xfb)],_0x12bd6c=new Map(),_0x5f2641=Array[_0x579638(0x108)](this[_0x579638(0x126)]);for(const _0x9ce685 of this[_0x579638(0x126)]){const _0x316c57=this[_0x579638(0x127)][_0x579638(0x100)](_0x9ce685)[_0x579638(0xfb)];for(const _0x3cbbd4 of _0x316c57)_0x12bd6c[_0x579638(0x121)](_0x3cbbd4,_0x9ce685);}for(const _0x1596a9 of _0x1f53b0){const _0x5c2aa0=_0x12bd6c[_0x579638(0x100)](_0x1596a9);this[_0x579638(0x107)](_0x1596a9);const _0x111957=_0x5f2641[_0x579638(0x132)](_0x208035=>this[_0x579638(0x127)][_0x579638(0x100)](_0x208035)[_0x579638(0x11e)](_0x1596a9));_0x5c2aa0!==_0x111957&&(_0x5c2aa0&&this[_0x579638(0x127)][_0x579638(0x100)](_0x5c2aa0)[_0x579638(0xfb)][_0x579638(0x10f)](_0x1596a9),_0x111957&&this[_0x579638(0x127)][_0x579638(0x100)](_0x111957)[_0x579638(0xfb)][_0x579638(0x12f)](_0x1596a9));}}[_0x20eaa8(0xfa)](){const _0x240ef3=_0x20eaa8;this[_0x240ef3(0x106)](),super[_0x240ef3(0xfa)]();}[_0x20eaa8(0x107)](_0x5b6711){const _0x198f10=_0x20eaa8,_0x1a5443=[];for(const _0x4839b8 of this[_0x198f10(0x126)]){(0x0,this[_0x198f10(0x127)][_0x198f10(0x100)](_0x4839b8)[_0x198f10(0x11e)])(_0x5b6711)&&_0x1a5443[_0x198f10(0xfc)](_0x4839b8);}if(_0x1a5443[_0x198f10(0x130)]>0x1)throw new _0x3ba5d4(_0x198f10(0x10d),null,{'matchedUIs':_0x1a5443,'annotationType':_0x5b6711[_0x198f10(0x12c)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ae4f7=_0x493c;(function(_0x2a4624,_0x3a8882){const _0x44a817=_0x493c,_0x4a8e7a=_0x2a4624();while(!![]){try{const _0x2f345e=parseInt(_0x44a817(0x12d))/0x1*(parseInt(_0x44a817(0x148))/0x2)+parseInt(_0x44a817(0x12a))/0x3*(parseInt(_0x44a817(0x14e))/0x4)+-parseInt(_0x44a817(0x128))/0x5*(parseInt(_0x44a817(0x141))/0x6)+-parseInt(_0x44a817(0x162))/0x7*(parseInt(_0x44a817(0x12f))/0x8)+-parseInt(_0x44a817(0x15a))/0x9+parseInt(_0x44a817(0x166))/0xa*(parseInt(_0x44a817(0x13d))/0xb)+-parseInt(_0x44a817(0x134))/0xc*(parseInt(_0x44a817(0x13e))/0xd);if(_0x2f345e===_0x3a8882)break;else _0x4a8e7a['push'](_0x4a8e7a['shift']());}catch(_0x50e34d){_0x4a8e7a['push'](_0x4a8e7a['shift']());}}}(_0x5a9a,0xc39cb));import{Plugin as _0x332dae}from'ckeditor5/src/core.js';import{CKEditorError as _0x1d7399}from'ckeditor5/src/utils.js';function _0x5a9a(){const _0x2424ea=['524150DIwktB','addSourceCollector','_editorAnnotations','EditorAnnotations','2259295SlfNkm','view','454821IzFpMk','model','refreshSelectedViews','8jZdzGr','remove','8bifWnc','init','pluginName','get','document','44628Qqdnip','hasDomSelection','listenTo','getOrderedSelectedAnnotations','blur','editorannotations-invalid-source-callback','set','fire','change:isFocused','286jtPVkX','455ONfiKH','plugins','add','12CGGadD','isReadOnly','cancel','editor','push','uiUpdate','from','235810Dysdpb','collection','isEqual','function','selection','focusTracker','28kJsQMW','has','_dataCollectors','directChange','delete','map','registerAnnotation','editing','getRanges','sort','refresh','_editorAnnotationsData','4571784JVMHEN','requires','update','isCollapsed','annotation','innerView','getByInnerView','range','7169351ZzUUGM','change:range','containsRange','element'];_0x5a9a=function(){return _0x2424ea;};return _0x5a9a();}function _0x493c(_0xf3ea29,_0x147cb0){const _0x5a9af4=_0x5a9a();return _0x493c=function(_0x493c4d,_0x3a4fe8){_0x493c4d=_0x493c4d-0x126;let _0x33974e=_0x5a9af4[_0x493c4d];return _0x33974e;},_0x493c(_0xf3ea29,_0x147cb0);}import{debounce as _0x230c53}from'lodash-es';import _0xb7a003 from'./annotations.js';export default class k extends _0x332dae{static get[_0x1ae4f7(0x15b)](){return[_0xb7a003];}static get[_0x1ae4f7(0x131)](){const _0x396b1a=_0x1ae4f7;return _0x396b1a(0x127);}constructor(_0x3b9488){const _0x4a2bc9=_0x1ae4f7;super(_0x3b9488),this[_0x4a2bc9(0x150)]=new Set(),this[_0x4a2bc9(0x126)]=new Set();}[_0x1ae4f7(0x130)](){const _0x48a4b5=_0x1ae4f7,_0x4284d9=this[_0x48a4b5(0x144)],_0x4f04fb=_0x4284d9[_0x48a4b5(0x12b)][_0x48a4b5(0x133)][_0x48a4b5(0x14c)],_0x171ce2=_0x230c53(()=>this[_0x48a4b5(0x12c)](),0xa);_0x4f04fb['on'](_0x48a4b5(0x163),(_0x4512e1,_0x11c671)=>{const _0x3009a9=_0x48a4b5;_0x11c671[_0x3009a9(0x151)]&&(_0x171ce2[_0x3009a9(0x143)](),this[_0x3009a9(0x12c)]());}),this[_0x48a4b5(0x136)](_0x4284d9[_0x48a4b5(0x155)][_0x48a4b5(0x129)][_0x48a4b5(0x133)],_0x48a4b5(0x13c),(_0x2a6a91,_0x4b2caf,_0x5b34d1)=>{_0x5b34d1&&_0x171ce2();}),this[_0x48a4b5(0x136)](_0x4284d9['ui'][_0x48a4b5(0x14d)],_0x48a4b5(0x13c),(_0x223dbb,_0x56e6ae,_0x45a8c5)=>{const _0x491a94=_0x48a4b5;_0x45a8c5||_0x4284d9[_0x491a94(0x142)]||this[_0x491a94(0x13b)](_0x491a94(0x138),{'isAnnotationTracked':_0x19ad11=>this[_0x491a94(0x159)][_0x491a94(0x14f)](_0x19ad11[_0x491a94(0x15f)])});}),this[_0x48a4b5(0x136)](this[_0x48a4b5(0x144)]['ui'],_0x48a4b5(0x15c),()=>this[_0x48a4b5(0x13b)](_0x48a4b5(0x146)));}[_0x1ae4f7(0x154)](_0x3f1221){const _0x11c1aa=_0x1ae4f7;if(this[_0x11c1aa(0x126)][_0x11c1aa(0x14f)](_0x3f1221[_0x11c1aa(0x129)]))return;this[_0x11c1aa(0x126)][_0x11c1aa(0x140)](_0x3f1221[_0x11c1aa(0x129)]),this[_0x11c1aa(0x144)]['ui'][_0x11c1aa(0x14d)][_0x11c1aa(0x140)](_0x3f1221[_0x11c1aa(0x129)][_0x11c1aa(0x165)]);const _0x40d2f=this[_0x11c1aa(0x144)][_0x11c1aa(0x13f)][_0x11c1aa(0x132)](_0xb7a003);this[_0x11c1aa(0x136)](_0x40d2f[_0x11c1aa(0x149)],_0x11c1aa(0x12e),(_0x593b29,_0x1b5aa7)=>{const _0x268e3f=_0x11c1aa;this[_0x268e3f(0x144)]['ui'][_0x268e3f(0x14d)][_0x268e3f(0x12e)](_0x1b5aa7[_0x268e3f(0x129)][_0x268e3f(0x165)]),this[_0x268e3f(0x126)][_0x268e3f(0x152)](_0x1b5aa7[_0x268e3f(0x129)]);});}[_0x1ae4f7(0x135)](){const _0xfd8f38=_0x1ae4f7;return this[_0xfd8f38(0x144)][_0xfd8f38(0x155)][_0xfd8f38(0x129)][_0xfd8f38(0x135)];}[_0x1ae4f7(0x167)](_0xc8c426){const _0x23dcbc=_0x1ae4f7;if(_0x23dcbc(0x14b)!=typeof _0xc8c426)throw new _0x1d7399(_0x23dcbc(0x139));this[_0x23dcbc(0x150)][_0x23dcbc(0x140)](_0xc8c426);}[_0x1ae4f7(0x12c)](){const _0x3bdf23=_0x1ae4f7;this[_0x3bdf23(0x13b)](_0x3bdf23(0x158));}[_0x1ae4f7(0x137)]({activeAnnotation:_0x2e47cf,annotations:_0xfda37c}){const _0xcdcb10=_0x1ae4f7,_0x2c8de8=[],_0x105ab9=this[_0xcdcb10(0x144)][_0xcdcb10(0x12b)][_0xcdcb10(0x133)][_0xcdcb10(0x14c)],_0xf53650=Array[_0xcdcb10(0x147)](_0x105ab9[_0xcdcb10(0x156)]());for(const [_0x1d3645,_0x2fb718]of this[_0xcdcb10(0x159)]){const _0x1dfa02=_0x5dec01(_0x2fb718),_0x23d566=_0xfda37c[_0xcdcb10(0x160)](_0x1d3645);_0x1dfa02&&_0x23d566&&_0x2c8de8[_0xcdcb10(0x145)]({'annotation':_0x23d566,'range':_0x1dfa02});}function _0x5dec01(_0x1cd0e5){const _0x14ecf9=_0xcdcb10;for(const _0x2d9269 of _0x1cd0e5)for(const _0x52d900 of _0xf53650)if(_0x2d9269[_0x14ecf9(0x164)](_0x52d900,!_0x105ab9[_0x14ecf9(0x15d)]))return _0x2d9269;return null;}return _0x2c8de8[_0xcdcb10(0x157)]((_0x4e6cdd,_0x1664b5)=>{const _0x2f5082=_0xcdcb10,_0x2be334=_0x4e6cdd[_0x2f5082(0x161)],_0x5a0951=_0x1664b5[_0x2f5082(0x161)];if(!_0x2be334[_0x2f5082(0x14a)](_0x5a0951)){if(_0x2be334[_0x2f5082(0x164)](_0x5a0951,!0x0))return 0x1;if(_0x5a0951[_0x2f5082(0x164)](_0x2be334,!0x0))return-0x1;}return _0x4e6cdd[_0x2f5082(0x15e)]==_0x2e47cf?-0x1:_0x1664b5[_0x2f5082(0x15e)]==_0x2e47cf?0x1:0x0;})[_0xcdcb10(0x153)](_0x5027a5=>_0x5027a5[_0xcdcb10(0x15e)]);}get[_0x1ae4f7(0x159)](){const _0x95ca1d=_0x1ae4f7,_0x5aa889=new Map();for(const _0x1071b0 of Array[_0x95ca1d(0x147)](this[_0x95ca1d(0x150)]))for(const [_0x19e2fd,_0x32534a]of _0x1071b0())_0x5aa889[_0x95ca1d(0x13a)](_0x19e2fd,_0x32534a);return _0x5aa889;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4c35(){const _0x523bb1=['70045yJkcJQ','1767020jhcxnr','getOrderedSelectedAnnotations','document','_forceRefresh','register','inlineannotations-detach-not-attached','switchTo','annotations','pluginName','length','focusTracker','focus','width','change:height','1374ITvrsX','inline','_removeAnnotationFromBalloon','domConverter','map','fromRect','top','init','275578NkByEm','Esc','add','inlineannotations-not-allowed-with-context','3948dTwOzZ','4696659SCyQlP','keystrokes','targetRect','find','showStack','viewRangeToDom','editableElement','view','InlineAnnotations','inlineannotations-attach-already-attached','remove','mousedown','has','change:isFocused','updatePosition','afterInit','visibleView','_balloon','bottom','addObserver','isActive','collapse','update','hasView','detach','12eQHXQX','right','editing','attach','refresh','_addAnnotationToBalloon','71329XOJewR','selection','target','set','52mEQyNz','isFocused','hasActive','clear','push','_addedAnnotations','getBoundingClientRect','delete','activeAnnotation','_manuallyClosed','editor','3JsKZAx','every','_getBalloonTargetForAnnotation','_closeAnnotation','listenTo','isAttached','setActiveAnnotation','plugins','includes','from','getByView','change:visibleView','getFirstRange','2648YwfnMz','requires','destroy','getClientRects','stopListening','blur','_setSelectedAnnotations','left','context','get','_selectedAnnotations','9765HaeDdX'];_0x4c35=function(){return _0x523bb1;};return _0x4c35();}const _0x4bc8f8=_0x250e;(function(_0x12b8d0,_0x27c53c){const _0x54080f=_0x250e,_0x1f0caf=_0x12b8d0();while(!![]){try{const _0x85e40c=parseInt(_0x54080f(0xe8))/0x1+-parseInt(_0x54080f(0xc4))/0x2*(parseInt(_0x54080f(0xf7))/0x3)+parseInt(_0x54080f(0xec))/0x4*(-parseInt(_0x54080f(0xad))/0x5)+-parseInt(_0x54080f(0xbc))/0x6*(parseInt(_0x54080f(0xc8))/0x7)+-parseInt(_0x54080f(0xa1))/0x8*(-parseInt(_0x54080f(0xac))/0x9)+-parseInt(_0x54080f(0xae))/0xa+parseInt(_0x54080f(0xc9))/0xb*(parseInt(_0x54080f(0xe2))/0xc);if(_0x85e40c===_0x27c53c)break;else _0x1f0caf['push'](_0x1f0caf['shift']());}catch(_0x47bea0){_0x1f0caf['push'](_0x1f0caf['shift']());}}}(_0x4c35,0x388f5));import{Plugin as _0xf302be}from'ckeditor5/src/core.js';import _0x32cb8d from'./annotationsuis.js';import _0x2f7f3d from'./editorannotations.js';function _0x250e(_0x2e136f,_0x39fcf4){const _0x4c352e=_0x4c35();return _0x250e=function(_0x250ed2,_0x11e5c1){_0x250ed2=_0x250ed2-0x97;let _0x479cd0=_0x4c352e[_0x250ed2];return _0x479cd0;},_0x250e(_0x2e136f,_0x39fcf4);}import{ContextualBalloon as _0x5c6265}from'ckeditor5/src/ui.js';import{MouseObserver as _0x366985}from'ckeditor5/src/engine.js';import{CKEditorError as _0xb68584,Rect as _0x158f76}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0xf302be{static get[_0x4bc8f8(0xa2)](){return[_0x2f7f3d,_0x5c6265,_0x32cb8d];}static get[_0x4bc8f8(0xb6)](){const _0x4e4946=_0x4bc8f8;return _0x4e4946(0xd1);}constructor(_0x3fe6b9){const _0x2d3bdc=_0x4bc8f8;super(_0x3fe6b9),_0x3fe6b9[_0x2d3bdc(0xe4)][_0x2d3bdc(0xd0)][_0x2d3bdc(0xdc)](_0x366985),this[_0x2d3bdc(0x99)]=!0x1,this[_0x2d3bdc(0xeb)](_0x2d3bdc(0xf4),null),this[_0x2d3bdc(0xb5)]=null,this[_0x2d3bdc(0xf5)]=new Set(),this[_0x2d3bdc(0xda)]=_0x3fe6b9[_0x2d3bdc(0x9b)][_0x2d3bdc(0xaa)](_0x5c6265),this[_0x2d3bdc(0xf1)]=new Set(),this[_0x2d3bdc(0xab)]=[],this[_0x2d3bdc(0xb1)]=!0x1;}[_0x4bc8f8(0xc3)](){const _0x11fbd9=_0x4bc8f8,_0x1bf3d5=this[_0x11fbd9(0xf6)][_0x11fbd9(0x9b)][_0x11fbd9(0xaa)](_0x32cb8d);_0x1bf3d5[_0x11fbd9(0xa9)]===this[_0x11fbd9(0xf6)]&&(_0x1bf3d5[_0x11fbd9(0xb2)](_0x11fbd9(0xbd),this),this[_0x11fbd9(0xf6)][_0x11fbd9(0xca)][_0x11fbd9(0xeb)](_0x11fbd9(0xc5),(_0x54075c,_0x548995)=>{const _0x538a8f=_0x11fbd9,_0x9db937=this[_0x538a8f(0xda)];if(this[_0x538a8f(0x99)]&&_0x9db937[_0x538a8f(0xd9)]){const _0x4512ef=this[_0x538a8f(0xb5)][_0x538a8f(0x9e)](_0x9db937[_0x538a8f(0xd9)]);_0x4512ef&&this[_0x538a8f(0x97)](_0x4512ef),_0x548995();}}));}[_0x4bc8f8(0xd8)](){const _0x28f223=_0x4bc8f8,_0x1652e4=this[_0x28f223(0xf6)][_0x28f223(0x9b)][_0x28f223(0xaa)](_0x32cb8d);_0x1652e4[_0x28f223(0xa9)]===this[_0x28f223(0xf6)]&&(_0x1652e4[_0x28f223(0xee)]()||_0x1652e4[_0x28f223(0xb4)](_0x28f223(0xbd)));}[_0x4bc8f8(0x9a)](_0x87cc42){const _0x34d8b3=_0x4bc8f8;_0x87cc42!==this[_0x34d8b3(0xf4)]&&(this[_0x34d8b3(0xf4)]&&(this[_0x34d8b3(0xf4)][_0x34d8b3(0xdd)]=!0x1),_0x87cc42&&this[_0x34d8b3(0xf6)]['ui'][_0x34d8b3(0xb8)][_0x34d8b3(0xed)]&&(this[_0x34d8b3(0xb5)][_0x34d8b3(0xd5)](_0x87cc42)&&this[_0x34d8b3(0xe7)](_0x87cc42,!0x0),_0x87cc42[_0x34d8b3(0xdd)]=!0x0),_0x87cc42||this[_0x34d8b3(0xa7)]([]),this[_0x34d8b3(0xf4)]=_0x87cc42);}[_0x4bc8f8(0xe5)](_0x49c958){const _0x34b1ee=_0x4bc8f8;this[_0x34b1ee(0xb5)]=_0x49c958;const _0x2b9e6e=this[_0x34b1ee(0xf6)][_0x34b1ee(0x9b)][_0x34b1ee(0xaa)](_0x32cb8d),_0x58b9c0=this[_0x34b1ee(0xda)];if(this[_0x34b1ee(0x99)])throw new _0xb68584(_0x34b1ee(0xd2),this);if(_0x2b9e6e[_0x34b1ee(0xa9)]!==this[_0x34b1ee(0xf6)])throw new _0xb68584(_0x34b1ee(0xc7),this);const _0x5d8e22=this[_0x34b1ee(0xf6)][_0x34b1ee(0x9b)][_0x34b1ee(0xaa)](_0x2f7f3d);this[_0x34b1ee(0x98)](_0x5d8e22,_0x34b1ee(0xe6),()=>{const _0x1d5497=_0x34b1ee,_0xe925a1=_0x5d8e22[_0x1d5497(0xaf)]({'annotations':this[_0x1d5497(0xb5)],'activeAnnotation':this[_0x1d5497(0xf4)]});var _0x1604a9,_0x5c146b;!this[_0x1d5497(0xb1)]&&(_0x1604a9=_0xe925a1,_0x5c146b=this[_0x1d5497(0xab)],_0x1604a9[_0x1d5497(0xb7)]===_0x5c146b[_0x1d5497(0xb7)]&&_0x1604a9[_0x1d5497(0xf8)](_0x234184=>_0x5c146b[_0x1d5497(0x9c)](_0x234184)))||(this[_0x1d5497(0xb1)]=!0x1,this[_0x1d5497(0xa7)](_0xe925a1),this[_0x1d5497(0x9a)](_0xe925a1[0x0]||null));}),this[_0x34b1ee(0x98)](_0x5d8e22,_0x34b1ee(0xa6),(_0x220cc7,{isAnnotationTracked:_0x549613})=>{const _0x314763=_0x34b1ee;this[_0x314763(0xf4)]&&_0x549613(this[_0x314763(0xf4)])&&(this[_0x314763(0xa7)]([]),this[_0x314763(0x9a)](null));}),this[_0x34b1ee(0x98)](this[_0x34b1ee(0xf6)]['ui'][_0x34b1ee(0xb8)],_0x34b1ee(0xd6),(_0x46e38f,_0x4e22b5,_0x4344b2)=>{const _0x5e3617=_0x34b1ee;_0x4344b2||this[_0x5e3617(0x9a)](null);}),this[_0x34b1ee(0x98)](_0x49c958,_0x34b1ee(0xd3),(_0x50b257,_0x749371)=>{const _0x1840d2=_0x34b1ee;this[_0x1840d2(0xbe)](_0x749371),_0x749371===this[_0x1840d2(0xf4)]&&this[_0x1840d2(0x9a)](null);}),this[_0x34b1ee(0x98)](_0x58b9c0,_0x34b1ee(0x9f),(_0x64d9cd,_0x437707,_0x363c5c,_0x310abe)=>{const _0x3c0e7b=_0x34b1ee;_0x310abe&&this[_0x3c0e7b(0xa5)](_0x310abe);const _0x2d4212=_0x49c958[_0x3c0e7b(0x9e)](_0x363c5c);_0x363c5c&&_0x2d4212&&(this[_0x3c0e7b(0x98)](_0x363c5c,_0x3c0e7b(0xbb),()=>{const _0x1529de=_0x3c0e7b;_0x58b9c0[_0x1529de(0xd7)]();}),this[_0x3c0e7b(0x98)](_0x363c5c,_0x3c0e7b(0xc5),()=>{const _0x48c00f=_0x3c0e7b;this[_0x48c00f(0x97)](_0x2d4212),this[_0x48c00f(0xf6)][_0x48c00f(0xe4)][_0x48c00f(0xd0)][_0x48c00f(0xb9)]();}),this[_0x3c0e7b(0xf4)]!==_0x2d4212&&this[_0x3c0e7b(0x9a)](_0x2d4212));}),this[_0x34b1ee(0x98)](this[_0x34b1ee(0xf6)]['ui'],_0x34b1ee(0xdf),()=>{const _0x4fc0e9=_0x34b1ee;_0x58b9c0[_0x4fc0e9(0xd9)]&&(_0x49c958[_0x4fc0e9(0x9e)](_0x58b9c0[_0x4fc0e9(0xd9)])&&_0x58b9c0[_0x4fc0e9(0xd7)]());}),this[_0x34b1ee(0x98)](this[_0x34b1ee(0xf6)][_0x34b1ee(0xe4)][_0x34b1ee(0xd0)][_0x34b1ee(0xb0)],_0x34b1ee(0xd4),()=>{const _0x518648=_0x34b1ee;this[_0x518648(0xb1)]=!0x0,this[_0x518648(0xf5)][_0x518648(0xef)]();}),this[_0x34b1ee(0xf6)][_0x34b1ee(0xe4)][_0x34b1ee(0xd0)][_0x34b1ee(0xb0)][_0x34b1ee(0xe9)][_0x34b1ee(0xcf)]&&this[_0x34b1ee(0xf6)][_0x34b1ee(0xe4)][_0x34b1ee(0xd0)][_0x34b1ee(0xb9)](),this[_0x34b1ee(0x99)]=!0x0;}[_0x4bc8f8(0xe1)](){const _0x18a4b8=_0x4bc8f8;if(!this[_0x18a4b8(0x99)])throw new _0xb68584(_0x18a4b8(0xb3),this);this[_0x18a4b8(0x9a)](null);for(const _0x134738 of this[_0x18a4b8(0xf1)])this[_0x18a4b8(0xbe)](_0x134738);this[_0x18a4b8(0xa5)](),this[_0x18a4b8(0x99)]=!0x1,this[_0x18a4b8(0xb5)]=null;}[_0x4bc8f8(0xa3)](){const _0x2f212f=_0x4bc8f8;this[_0x2f212f(0x99)]&&this[_0x2f212f(0xe1)]();}[_0x4bc8f8(0xa7)](_0x1ebab0){const _0x4e8b11=_0x4bc8f8;for(const _0x26f0a4 of this[_0x4e8b11(0xab)])_0x1ebab0[_0x4e8b11(0x9c)](_0x26f0a4)||this[_0x4e8b11(0xf5)][_0x4e8b11(0xf3)](_0x26f0a4);for(const _0x24c609 of this[_0x4e8b11(0xb5)])_0x1ebab0[_0x4e8b11(0x9c)](_0x24c609)||this[_0x4e8b11(0xbe)](_0x24c609);if(this[_0x4e8b11(0xf6)]['ui'][_0x4e8b11(0xb8)][_0x4e8b11(0xed)]){for(const _0x24a649 of _0x1ebab0)this[_0x4e8b11(0xe7)](_0x24a649);}this[_0x4e8b11(0xab)]=_0x1ebab0;}[_0x4bc8f8(0xe7)](_0x2dae78,_0xd59c40=!0x1){const _0x5805ae=_0x4bc8f8;this[_0x5805ae(0xf5)][_0x5805ae(0xd5)](_0x2dae78)||(this[_0x5805ae(0xf1)][_0x5805ae(0xd5)](_0x2dae78)||this[_0x5805ae(0xda)][_0x5805ae(0xe0)](_0x2dae78[_0x5805ae(0xd0)])||(this[_0x5805ae(0xf1)][_0x5805ae(0xc6)](_0x2dae78),this[_0x5805ae(0xda)][_0x5805ae(0xc6)]({'stackId':_0x2dae78[_0x5805ae(0xd0)]['id'],'view':_0x2dae78[_0x5805ae(0xd0)],'position':{'target':()=>this[_0x5805ae(0xf9)](_0x2dae78)}})),_0xd59c40&&this[_0x5805ae(0xda)][_0x5805ae(0xcd)](_0x2dae78[_0x5805ae(0xd0)]['id']));}[_0x4bc8f8(0xf9)](_0x5f5ad9){const _0x50ea95=_0x4bc8f8,_0x5ec4f9=_0x5f5ad9[_0x50ea95(0xea)],_0x4714a3=this[_0x50ea95(0xf6)][_0x50ea95(0xe4)][_0x50ea95(0xd0)],_0x2cea35=_0x4714a3[_0x50ea95(0xb0)][_0x50ea95(0xe9)][_0x50ea95(0xa0)](),_0x27f419=_0x4714a3[_0x50ea95(0xbf)][_0x50ea95(0xce)](_0x2cea35);if(_0x27f419[_0x50ea95(0xde)](!0x0),_0x5ec4f9){if(_0x5ec4f9 instanceof _0x158f76)return _0x5ec4f9;let _0x13b3be=[];for(const _0x393750 of _0x5ec4f9)_0x13b3be[_0x50ea95(0xf0)](...(_0x4cc027=_0x393750[_0x50ea95(0xa4)](),Array[_0x50ea95(0x9d)](_0x4cc027)[_0x50ea95(0xc0)](DOMRect[_0x50ea95(0xc1)])));_0x13b3be=function(_0x1f2c95){const _0x5695e7=_0x50ea95,_0x278fc2=[];let _0x323c2a=_0x1f2c95[0x0];for(let _0x365b28=0x1;_0x365b28<_0x1f2c95[_0x5695e7(0xb7)];_0x365b28++)F(_0x323c2a,_0x1f2c95[_0x365b28])?_0x323c2a[_0x5695e7(0xba)]+=_0x1f2c95[_0x365b28][_0x5695e7(0xba)]:(_0x278fc2[_0x5695e7(0xf0)](_0x323c2a),_0x323c2a=_0x1f2c95[_0x365b28]);return _0x278fc2[_0x5695e7(0xf0)](_0x323c2a),_0x278fc2;}(_0x13b3be);const _0x2e2099=_0x27f419[_0x50ea95(0xf2)]();return _0x13b3be[_0x50ea95(0xcc)](_0x441146=>_0x441146[_0x50ea95(0xc2)]<=_0x2e2099[_0x50ea95(0xc2)]&&_0x441146[_0x50ea95(0xdb)]>=_0x2e2099[_0x50ea95(0xdb)]&&_0x441146[_0x50ea95(0xa8)]<=_0x2e2099[_0x50ea95(0xa8)]&&_0x441146[_0x50ea95(0xe3)]>=_0x2e2099[_0x50ea95(0xe3)])||_0x13b3be[0x0];}var _0x4cc027;return _0x5f5ad9[_0x50ea95(0xcb)]||_0x27f419;}[_0x4bc8f8(0xbe)](_0x7881c4){const _0x4a43d1=_0x4bc8f8;this[_0x4a43d1(0xf1)][_0x4a43d1(0xd5)](_0x7881c4)&&this[_0x4a43d1(0xda)][_0x4a43d1(0xe0)](_0x7881c4[_0x4a43d1(0xd0)])&&(this[_0x4a43d1(0xf1)][_0x4a43d1(0xf3)](_0x7881c4),this[_0x4a43d1(0xda)][_0x4a43d1(0xd3)](_0x7881c4[_0x4a43d1(0xd0)]));}[_0x4bc8f8(0x97)](_0x1f802c){const _0x3aa15c=_0x4bc8f8;this[_0x3aa15c(0xf5)][_0x3aa15c(0xc6)](_0x1f802c),this[_0x3aa15c(0xbe)](_0x1f802c);}}function F(_0x2efd31,_0x1e0715){const _0x6776fc=_0x4bc8f8;return _0x2efd31[_0x6776fc(0xc2)]===_0x1e0715[_0x6776fc(0xc2)]&&_0x2efd31[_0x6776fc(0xdb)]===_0x1e0715[_0x6776fc(0xdb)]&&_0x2efd31[_0x6776fc(0xe3)]===_0x1e0715[_0x6776fc(0xa8)];}
|
|
23
|
+
const _0x52e209=_0x2e46;(function(_0x5cde4c,_0x265908){const _0x4a7d11=_0x2e46,_0x30d2c5=_0x5cde4c();while(!![]){try{const _0x293615=parseInt(_0x4a7d11(0x20f))/0x1*(parseInt(_0x4a7d11(0x20a))/0x2)+-parseInt(_0x4a7d11(0x1c2))/0x3+parseInt(_0x4a7d11(0x20e))/0x4*(-parseInt(_0x4a7d11(0x1c5))/0x5)+parseInt(_0x4a7d11(0x1e6))/0x6+-parseInt(_0x4a7d11(0x1c4))/0x7+parseInt(_0x4a7d11(0x1c9))/0x8*(-parseInt(_0x4a7d11(0x1b3))/0x9)+parseInt(_0x4a7d11(0x1f3))/0xa;if(_0x293615===_0x265908)break;else _0x30d2c5['push'](_0x30d2c5['shift']());}catch(_0x476862){_0x30d2c5['push'](_0x30d2c5['shift']());}}}(_0x36c9,0xd1024));import{Plugin as _0x16eff4}from'ckeditor5/src/core.js';import _0x2a499a from'./annotationsuis.js';import _0x2a950b from'./editorannotations.js';function _0x2e46(_0x37492a,_0x6084d5){const _0x36c9ef=_0x36c9();return _0x2e46=function(_0x2e46bc,_0x32fd97){_0x2e46bc=_0x2e46bc-0x1af;let _0x417432=_0x36c9ef[_0x2e46bc];return _0x417432;},_0x2e46(_0x37492a,_0x6084d5);}function _0x36c9(){const _0x4def83=['inline','context','document','InlineAnnotations','getClientRects','targetRect','_addedAnnotations','_closeAnnotation','switchTo','refresh','getOrderedSelectedAnnotations','destroy','addObserver','_forceRefresh','top','3151218HdxPAh','viewRangeToDom','change:height','every','left','collapse','right','setActiveAnnotation','focus','set','focusTracker','editableElement','change:isFocused','27931970fyrlSr','attach','push','update','afterInit','isActive','has','includes','domConverter','activeAnnotation','fromRect','add','mousedown','editor','showStack','hasView','editing','change:visibleView','isFocused','_balloon','requires','keystrokes','bottom','2987948eZhXre','length','target','getFirstRange','5612ikKJRR','1roCIHv','_addAnnotationToBalloon','_setSelectedAnnotations','map','from','9hJFiWF','remove','stopListening','Esc','listenTo','width','selection','blur','init','plugins','updatePosition','visibleView','view','_removeAnnotationFromBalloon','find','4803837cZccYA','inlineannotations-attach-already-attached','294868hDpxPP','4470klcumP','delete','getByView','hasActive','8468712piUIxl','inlineannotations-not-allowed-with-context','_selectedAnnotations','isAttached','register','detach','annotations','inlineannotations-detach-not-attached','pluginName','_manuallyClosed','getBoundingClientRect','clear','_getBalloonTargetForAnnotation','get'];_0x36c9=function(){return _0x4def83;};return _0x36c9();}import{ContextualBalloon as _0x430ef0}from'ckeditor5/src/ui.js';import{MouseObserver as _0x597aea}from'ckeditor5/src/engine.js';import{CKEditorError as _0x201dc5,Rect as _0x2aac04}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x16eff4{static get[_0x52e209(0x207)](){return[_0x2a950b,_0x430ef0,_0x2a499a];}static get[_0x52e209(0x1d1)](){const _0xc0f426=_0x52e209;return _0xc0f426(0x1da);}constructor(_0x44b0ee){const _0x2aa00a=_0x52e209;super(_0x44b0ee),_0x44b0ee[_0x2aa00a(0x203)][_0x2aa00a(0x1bf)][_0x2aa00a(0x1e3)](_0x597aea),this[_0x2aa00a(0x1cc)]=!0x1,this[_0x2aa00a(0x1ef)](_0x2aa00a(0x1fc),null),this[_0x2aa00a(0x1cf)]=null,this[_0x2aa00a(0x1d2)]=new Set(),this[_0x2aa00a(0x206)]=_0x44b0ee[_0x2aa00a(0x1bc)][_0x2aa00a(0x1d6)](_0x430ef0),this[_0x2aa00a(0x1dd)]=new Set(),this[_0x2aa00a(0x1cb)]=[],this[_0x2aa00a(0x1e4)]=!0x1;}[_0x52e209(0x1bb)](){const _0x5d60fb=_0x52e209,_0x43db7a=this[_0x5d60fb(0x200)][_0x5d60fb(0x1bc)][_0x5d60fb(0x1d6)](_0x2a499a);_0x43db7a[_0x5d60fb(0x1d8)]===this[_0x5d60fb(0x200)]&&(_0x43db7a[_0x5d60fb(0x1cd)](_0x5d60fb(0x1d7),this),this[_0x5d60fb(0x200)][_0x5d60fb(0x208)][_0x5d60fb(0x1ef)](_0x5d60fb(0x1b6),(_0x60406c,_0x581166)=>{const _0x4c5819=_0x5d60fb,_0x56c2cd=this[_0x4c5819(0x206)];if(this[_0x4c5819(0x1cc)]&&_0x56c2cd[_0x4c5819(0x1be)]){const _0x5b8c24=this[_0x4c5819(0x1cf)][_0x4c5819(0x1c7)](_0x56c2cd[_0x4c5819(0x1be)]);_0x5b8c24&&this[_0x4c5819(0x1de)](_0x5b8c24),_0x581166();}}));}[_0x52e209(0x1f7)](){const _0x237a1a=_0x52e209,_0x352ffc=this[_0x237a1a(0x200)][_0x237a1a(0x1bc)][_0x237a1a(0x1d6)](_0x2a499a);_0x352ffc[_0x237a1a(0x1d8)]===this[_0x237a1a(0x200)]&&(_0x352ffc[_0x237a1a(0x1c8)]()||_0x352ffc[_0x237a1a(0x1df)](_0x237a1a(0x1d7)));}[_0x52e209(0x1ed)](_0x496881){const _0x245f02=_0x52e209;_0x496881!==this[_0x245f02(0x1fc)]&&(this[_0x245f02(0x1fc)]&&(this[_0x245f02(0x1fc)][_0x245f02(0x1f8)]=!0x1),_0x496881&&this[_0x245f02(0x200)]['ui'][_0x245f02(0x1f0)][_0x245f02(0x205)]&&(this[_0x245f02(0x1cf)][_0x245f02(0x1f9)](_0x496881)&&this[_0x245f02(0x1af)](_0x496881,!0x0),_0x496881[_0x245f02(0x1f8)]=!0x0),_0x496881||this[_0x245f02(0x1b0)]([]),this[_0x245f02(0x1fc)]=_0x496881);}[_0x52e209(0x1f4)](_0x44ded8){const _0x29964f=_0x52e209;this[_0x29964f(0x1cf)]=_0x44ded8;const _0x355216=this[_0x29964f(0x200)][_0x29964f(0x1bc)][_0x29964f(0x1d6)](_0x2a499a),_0x56bcea=this[_0x29964f(0x206)];if(this[_0x29964f(0x1cc)])throw new _0x201dc5(_0x29964f(0x1c3),this);if(_0x355216[_0x29964f(0x1d8)]!==this[_0x29964f(0x200)])throw new _0x201dc5(_0x29964f(0x1ca),this);const _0x569f07=this[_0x29964f(0x200)][_0x29964f(0x1bc)][_0x29964f(0x1d6)](_0x2a950b);this[_0x29964f(0x1b7)](_0x569f07,_0x29964f(0x1e0),()=>{const _0x5a7e73=_0x29964f,_0x272af2=_0x569f07[_0x5a7e73(0x1e1)]({'annotations':this[_0x5a7e73(0x1cf)],'activeAnnotation':this[_0x5a7e73(0x1fc)]});var _0x537af9,_0x5e0bdd;!this[_0x5a7e73(0x1e4)]&&(_0x537af9=_0x272af2,_0x5e0bdd=this[_0x5a7e73(0x1cb)],_0x537af9[_0x5a7e73(0x20b)]===_0x5e0bdd[_0x5a7e73(0x20b)]&&_0x537af9[_0x5a7e73(0x1e9)](_0x4f3b86=>_0x5e0bdd[_0x5a7e73(0x1fa)](_0x4f3b86)))||(this[_0x5a7e73(0x1e4)]=!0x1,this[_0x5a7e73(0x1b0)](_0x272af2),this[_0x5a7e73(0x1ed)](_0x272af2[0x0]||null));}),this[_0x29964f(0x1b7)](_0x569f07,_0x29964f(0x1ba),(_0x1cc10a,{isAnnotationTracked:_0x1eba30})=>{const _0x3051a9=_0x29964f;this[_0x3051a9(0x1fc)]&&_0x1eba30(this[_0x3051a9(0x1fc)])&&(this[_0x3051a9(0x1b0)]([]),this[_0x3051a9(0x1ed)](null));}),this[_0x29964f(0x1b7)](this[_0x29964f(0x200)]['ui'][_0x29964f(0x1f0)],_0x29964f(0x1f2),(_0x15b331,_0x17b287,_0x24f774)=>{const _0x564800=_0x29964f;_0x24f774||this[_0x564800(0x1ed)](null);}),this[_0x29964f(0x1b7)](_0x44ded8,_0x29964f(0x1b4),(_0x2861d6,_0x372737)=>{const _0xa13de9=_0x29964f;this[_0xa13de9(0x1c0)](_0x372737),_0x372737===this[_0xa13de9(0x1fc)]&&this[_0xa13de9(0x1ed)](null);}),this[_0x29964f(0x1b7)](_0x56bcea,_0x29964f(0x204),(_0x3e2ac1,_0x357b94,_0x1d9c42,_0x379ba4)=>{const _0x46852f=_0x29964f;_0x379ba4&&this[_0x46852f(0x1b5)](_0x379ba4);const _0x54432e=_0x44ded8[_0x46852f(0x1c7)](_0x1d9c42);_0x1d9c42&&_0x54432e&&(this[_0x46852f(0x1b7)](_0x1d9c42,_0x46852f(0x1e8),()=>{const _0x2c7799=_0x46852f;_0x56bcea[_0x2c7799(0x1bd)]();}),this[_0x46852f(0x1b7)](_0x1d9c42,_0x46852f(0x1b6),()=>{const _0x1757f9=_0x46852f;this[_0x1757f9(0x1de)](_0x54432e),this[_0x1757f9(0x200)][_0x1757f9(0x203)][_0x1757f9(0x1bf)][_0x1757f9(0x1ee)]();}),this[_0x46852f(0x1fc)]!==_0x54432e&&this[_0x46852f(0x1ed)](_0x54432e));}),this[_0x29964f(0x1b7)](this[_0x29964f(0x200)]['ui'],_0x29964f(0x1f6),()=>{const _0x16aa49=_0x29964f;_0x56bcea[_0x16aa49(0x1be)]&&(_0x44ded8[_0x16aa49(0x1c7)](_0x56bcea[_0x16aa49(0x1be)])&&_0x56bcea[_0x16aa49(0x1bd)]());}),this[_0x29964f(0x1b7)](this[_0x29964f(0x200)][_0x29964f(0x203)][_0x29964f(0x1bf)][_0x29964f(0x1d9)],_0x29964f(0x1ff),()=>{const _0x5a6107=_0x29964f;this[_0x5a6107(0x1e4)]=!0x0,this[_0x5a6107(0x1d2)][_0x5a6107(0x1d4)]();}),this[_0x29964f(0x200)][_0x29964f(0x203)][_0x29964f(0x1bf)][_0x29964f(0x1d9)][_0x29964f(0x1b9)][_0x29964f(0x1f1)]&&this[_0x29964f(0x200)][_0x29964f(0x203)][_0x29964f(0x1bf)][_0x29964f(0x1ee)](),this[_0x29964f(0x1cc)]=!0x0;}[_0x52e209(0x1ce)](){const _0x110c9f=_0x52e209;if(!this[_0x110c9f(0x1cc)])throw new _0x201dc5(_0x110c9f(0x1d0),this);this[_0x110c9f(0x1ed)](null);for(const _0x347382 of this[_0x110c9f(0x1dd)])this[_0x110c9f(0x1c0)](_0x347382);this[_0x110c9f(0x1b5)](),this[_0x110c9f(0x1cc)]=!0x1,this[_0x110c9f(0x1cf)]=null;}[_0x52e209(0x1e2)](){const _0x486f20=_0x52e209;this[_0x486f20(0x1cc)]&&this[_0x486f20(0x1ce)]();}[_0x52e209(0x1b0)](_0x189a5e){const _0x51e903=_0x52e209;for(const _0x53bd45 of this[_0x51e903(0x1cb)])_0x189a5e[_0x51e903(0x1fa)](_0x53bd45)||this[_0x51e903(0x1d2)][_0x51e903(0x1c6)](_0x53bd45);for(const _0x36ee8c of this[_0x51e903(0x1cf)])_0x189a5e[_0x51e903(0x1fa)](_0x36ee8c)||this[_0x51e903(0x1c0)](_0x36ee8c);if(this[_0x51e903(0x200)]['ui'][_0x51e903(0x1f0)][_0x51e903(0x205)]){for(const _0x92d99a of _0x189a5e)this[_0x51e903(0x1af)](_0x92d99a);}this[_0x51e903(0x1cb)]=_0x189a5e;}[_0x52e209(0x1af)](_0x91d973,_0x1f1c99=!0x1){const _0x4b881b=_0x52e209;this[_0x4b881b(0x1d2)][_0x4b881b(0x1f9)](_0x91d973)||(this[_0x4b881b(0x1dd)][_0x4b881b(0x1f9)](_0x91d973)||this[_0x4b881b(0x206)][_0x4b881b(0x202)](_0x91d973[_0x4b881b(0x1bf)])||(this[_0x4b881b(0x1dd)][_0x4b881b(0x1fe)](_0x91d973),this[_0x4b881b(0x206)][_0x4b881b(0x1fe)]({'stackId':_0x91d973[_0x4b881b(0x1bf)]['id'],'view':_0x91d973[_0x4b881b(0x1bf)],'position':{'target':()=>this[_0x4b881b(0x1d5)](_0x91d973)}})),_0x1f1c99&&this[_0x4b881b(0x206)][_0x4b881b(0x201)](_0x91d973[_0x4b881b(0x1bf)]['id']));}[_0x52e209(0x1d5)](_0x1a5740){const _0x1784ed=_0x52e209,_0x5e6d70=_0x1a5740[_0x1784ed(0x20c)],_0x5dd230=this[_0x1784ed(0x200)][_0x1784ed(0x203)][_0x1784ed(0x1bf)],_0x52f864=_0x5dd230[_0x1784ed(0x1d9)][_0x1784ed(0x1b9)][_0x1784ed(0x20d)](),_0x408b23=_0x5dd230[_0x1784ed(0x1fb)][_0x1784ed(0x1e7)](_0x52f864);if(_0x408b23[_0x1784ed(0x1eb)](!0x0),_0x5e6d70){if(_0x5e6d70 instanceof _0x2aac04)return _0x5e6d70;let _0x5f0ead=[];for(const _0x2e3234 of _0x5e6d70)_0x5f0ead[_0x1784ed(0x1f5)](...(_0x453f2f=_0x2e3234[_0x1784ed(0x1db)](),Array[_0x1784ed(0x1b2)](_0x453f2f)[_0x1784ed(0x1b1)](DOMRect[_0x1784ed(0x1fd)])));_0x5f0ead=function(_0x5a4386){const _0x4827f7=_0x1784ed,_0x5e3cb7=[];let _0x26b71e=_0x5a4386[0x0];for(let _0x253c24=0x1;_0x253c24<_0x5a4386[_0x4827f7(0x20b)];_0x253c24++)F(_0x26b71e,_0x5a4386[_0x253c24])?_0x26b71e[_0x4827f7(0x1b8)]+=_0x5a4386[_0x253c24][_0x4827f7(0x1b8)]:(_0x5e3cb7[_0x4827f7(0x1f5)](_0x26b71e),_0x26b71e=_0x5a4386[_0x253c24]);return _0x5e3cb7[_0x4827f7(0x1f5)](_0x26b71e),_0x5e3cb7;}(_0x5f0ead);const _0x20eb00=_0x408b23[_0x1784ed(0x1d3)]();return _0x5f0ead[_0x1784ed(0x1c1)](_0xc26b45=>_0xc26b45[_0x1784ed(0x1e5)]<=_0x20eb00[_0x1784ed(0x1e5)]&&_0xc26b45[_0x1784ed(0x209)]>=_0x20eb00[_0x1784ed(0x209)]&&_0xc26b45[_0x1784ed(0x1ea)]<=_0x20eb00[_0x1784ed(0x1ea)]&&_0xc26b45[_0x1784ed(0x1ec)]>=_0x20eb00[_0x1784ed(0x1ec)])||_0x5f0ead[0x0];}var _0x453f2f;return _0x1a5740[_0x1784ed(0x1dc)]||_0x408b23;}[_0x52e209(0x1c0)](_0x571c40){const _0x120bd5=_0x52e209;this[_0x120bd5(0x1dd)][_0x120bd5(0x1f9)](_0x571c40)&&this[_0x120bd5(0x206)][_0x120bd5(0x202)](_0x571c40[_0x120bd5(0x1bf)])&&(this[_0x120bd5(0x1dd)][_0x120bd5(0x1c6)](_0x571c40),this[_0x120bd5(0x206)][_0x120bd5(0x1b4)](_0x571c40[_0x120bd5(0x1bf)]));}[_0x52e209(0x1de)](_0x40d775){const _0x2fa0e2=_0x52e209;this[_0x2fa0e2(0x1d2)][_0x2fa0e2(0x1fe)](_0x40d775),this[_0x2fa0e2(0x1c0)](_0x40d775);}}function F(_0x3dc159,_0xcd5241){const _0x87f665=_0x52e209;return _0x3dc159[_0x87f665(0x1e5)]===_0xcd5241[_0x87f665(0x1e5)]&&_0x3dc159[_0x87f665(0x209)]===_0xcd5241[_0x87f665(0x209)]&&_0x3dc159[_0x87f665(0x1ec)]===_0xcd5241[_0x87f665(0x1ea)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x57c8(){const _0x3c088d=['_refreshPositioningDebounced','change:container','listenTo','pin','3073168ZVgoKN','refreshPositioning','_updateBalloonPosition','_attachToContainer','low','detachFromDom','northArrowSouthWest','_hideBalloon','_destroyEditorAnnotationsIntegration','refresh','clear','find','northArrowSouth','setActiveAnnotation','annotationType','element','focus','blur','locale','getSidebarItemView','add','high','pluginName','destroy','_setSelectedAnnotations','esc','stopListening','NarrowSidebar','keyCode','init','getOrderedSelectedAnnotations','balloonPanelView','3JglyxN','_selectedAnnotations','attach','northArrowSouthEast','_annotations','view','contains','set','requires','remove','removeEventListener','_manuallyClosedAnnotationViews','off','1212130JyXrpL','editors','preventClosingBalloon','target','resize','southArrowNorth','execute','cancel','2447780OFrkys','stop','plugins','register','7573622cpdZlS','Esc','includes','narrowsidebar-detach-not-attached','rearrange','mousedown','_editorAnnotations','number','4313205iDDkeJ','_showBalloon','hasDomSelection','_integrateWithEditorAnnotations','content','first','get','has','ck-sidebar--narrow','stopPropagation','isAttached','4987768oFldKU','_detachListeners','attachToDom','delete','addEventListener','defaultPositions','_attachListeners','11322396WQuKrL','unpin','create','values','6UVwlyw','annotations','isVisible','keydown','narrowSidebar','_domEmitter','preventDefault','set:container','ready','change:height','narrowsidebar-attach-already-attached','focusableElements','_refreshPositioning','from','_annotationToNarrowView','type','addAnnotation','isDirty','activeAnnotation','_detachFromContainer','context','bind','southArrowNorthWest','length','bodyCollection','detach','uiUpdate','EditorAnnotations','getByView','southArrowNorthEast'];_0x57c8=function(){return _0x3c088d;};return _0x57c8();}function _0x309b(_0x1e5ba7,_0x5ccff6){const _0x57c82a=_0x57c8();return _0x309b=function(_0x309b79,_0x4f4e17){_0x309b79=_0x309b79-0x14a;let _0x4e6c2e=_0x57c82a[_0x309b79];return _0x4e6c2e;},_0x309b(_0x1e5ba7,_0x5ccff6);}const _0x3741d4=_0x309b;(function(_0x43dd47,_0xee8c33){const _0x3d50d0=_0x309b,_0x280c78=_0x43dd47();while(!![]){try{const _0x2efa7a=parseInt(_0x3d50d0(0x17e))/0x1+-parseInt(_0x3d50d0(0x186))/0x2*(parseInt(_0x3d50d0(0x171))/0x3)+parseInt(_0x3d50d0(0x151))/0x4+-parseInt(_0x3d50d0(0x192))/0x5+-parseInt(_0x3d50d0(0x1a8))/0x6*(parseInt(_0x3d50d0(0x18a))/0x7)+parseInt(_0x3d50d0(0x19d))/0x8+parseInt(_0x3d50d0(0x1a4))/0x9;if(_0x2efa7a===_0xee8c33)break;else _0x280c78['push'](_0x280c78['shift']());}catch(_0x460e82){_0x280c78['push'](_0x280c78['shift']());}}}(_0x57c8,0xa94d4));import{ContextPlugin as _0x44a328,Context as _0x12bf35}from'ckeditor5/src/core.js';import _0x989ae9 from'./annotationsuis.js';import _0x4289e0 from'./sidebar.js';import _0x320862 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x47e437,BodyCollection as _0x116999}from'ckeditor5/src/ui.js';import{CKEditorError as _0x5a39df,DomEmitterMixin as _0x3dd1da,keyCodes as _0x1415be,Collection as _0xbb8238}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x2dd982}from'lodash-es';import _0x18eb4b from'./editorannotations.js';export default class i extends _0x44a328{static get[_0x3741d4(0x179)](){return[_0x4289e0,_0x989ae9];}static get[_0x3741d4(0x167)](){const _0x293d2d=_0x3741d4;return _0x293d2d(0x16c);}constructor(_0x48fd8d){const _0x193336=_0x3741d4;super(_0x48fd8d),this[_0x193336(0x19c)]=!0x1,this[_0x193336(0x17c)]=new Set(),this[_0x193336(0x1ad)]=Object[_0x193336(0x1a6)](_0x3dd1da),this[_0x193336(0x1b6)]=new Map(),this[_0x193336(0x178)](_0x193336(0x1ba),null),this[_0x193336(0x1a9)]=null,this[_0x193336(0x172)]=[],this[_0x193336(0x190)]=new _0xbb8238(),this[_0x193336(0x14d)]=_0x2dd982(()=>{const _0x416acb=_0x193336;this[_0x416acb(0x1b4)]();},0xfa,{'leading':!0x1});}[_0x3741d4(0x16e)](){const _0x3d53aa=_0x3741d4;this[_0x3d53aa(0x1bc)][_0x3d53aa(0x188)][_0x3d53aa(0x198)](_0x989ae9)[_0x3d53aa(0x189)](_0x3d53aa(0x1ac),this),this[_0x3d53aa(0x1c0)]=new _0x116999(this[_0x3d53aa(0x1bc)][_0x3d53aa(0x163)]),this[_0x3d53aa(0x170)]=new _0x47e437(this[_0x3d53aa(0x1bc)][_0x3d53aa(0x163)]),this[_0x3d53aa(0x1c0)][_0x3d53aa(0x19f)](),this[_0x3d53aa(0x1c0)][_0x3d53aa(0x165)](this[_0x3d53aa(0x170)]);}[_0x3741d4(0x173)](_0x1b3e72){const _0x93bb64=_0x3741d4;this[_0x93bb64(0x1a9)]=_0x1b3e72;const _0x4c9340=this[_0x93bb64(0x1bc)][_0x93bb64(0x188)][_0x93bb64(0x198)](_0x4289e0),_0x3f967b=this[_0x93bb64(0x170)];if(_0x4c9340[_0x93bb64(0x175)]=_0x1b3e72,this[_0x93bb64(0x19c)])throw new _0x5a39df(_0x93bb64(0x1b2),this);this[_0x93bb64(0x19c)]=!0x0,this[_0x93bb64(0x14f)](_0x4c9340,_0x93bb64(0x1af),()=>{const _0x1cf810=_0x93bb64;this[_0x1cf810(0x1c1)](),this[_0x1cf810(0x14f)](_0x4c9340,_0x1cf810(0x14e),_0x5e23ba=>{const _0x1cdbba=_0x1cf810;_0x5e23ba[_0x1cdbba(0x17d)](),this[_0x1cdbba(0x173)](_0x1b3e72);});}),_0x4c9340[_0x93bb64(0x154)]({'viewClass':_0x93bb64(0x19a),'spaceBetweenItems':0x5});const _0x3eff55=_0x5556a3=>{const _0x1f6b61=_0x93bb64,_0x11761e=new _0x320862(this[_0x1f6b61(0x1bc)][_0x1f6b61(0x163)]);_0x4c9340[_0x1f6b61(0x1b8)](_0x5556a3,_0x11761e),this[_0x1f6b61(0x1b6)][_0x1f6b61(0x178)](_0x5556a3,_0x11761e),_0x11761e[_0x1f6b61(0x1bd)](_0x1f6b61(0x1b9),_0x1f6b61(0x15f),_0x1f6b61(0x191))['to'](_0x5556a3[_0x1f6b61(0x176)],_0x1f6b61(0x1b9),_0x1f6b61(0x1b7),_0x1f6b61(0x1bf)),_0x11761e['on'](_0x1f6b61(0x184),()=>{const _0x53056f=_0x1f6b61;this[_0x53056f(0x17c)][_0x53056f(0x15b)](),_0x3f967b[_0x53056f(0x196)][_0x53056f(0x197)]!==_0x5556a3[_0x53056f(0x176)]?(this[_0x53056f(0x193)](_0x5556a3),_0x5556a3[_0x53056f(0x176)][_0x53056f(0x160)][_0x53056f(0x161)](),this[_0x53056f(0x15e)](_0x5556a3)):this[_0x53056f(0x15e)](null);});};for(const _0x20317e of _0x1b3e72)_0x3eff55(_0x20317e);this[_0x93bb64(0x14f)](_0x1b3e72,_0x93bb64(0x165),(_0x1040fb,_0x4564bc)=>{_0x3eff55(_0x4564bc);}),this[_0x93bb64(0x14f)](_0x1b3e72,_0x93bb64(0x17a),(_0x5d0a2d,_0x510146,_0x5a34c5)=>{const _0x672f75=_0x93bb64;this[_0x672f75(0x1b6)][_0x672f75(0x198)](_0x510146)[_0x672f75(0x168)](),this[_0x672f75(0x1b6)][_0x672f75(0x1a0)](_0x510146),_0x4c9340[_0x672f75(0x18e)]({'removedAnnotation':_0x510146,'previousAnnotation':_0x1b3e72[_0x672f75(0x198)](_0x5a34c5-0x1),'nextAnnotation':_0x1b3e72[_0x672f75(0x198)](_0x5a34c5+0x1)}),_0x510146===this[_0x672f75(0x1ba)]&&this[_0x672f75(0x15e)](null);},{'priority':_0x93bb64(0x155)}),this[_0x93bb64(0x14f)](_0x1b3e72,_0x93bb64(0x161),(_0x5619d1,_0x5f2c83)=>{const _0x5b0c16=_0x93bb64;this[_0x5b0c16(0x15e)](_0x5f2c83);}),this[_0x93bb64(0x14f)](_0x1b3e72,_0x93bb64(0x162),()=>{const _0x543f77=_0x93bb64;this[_0x543f77(0x15e)](null);}),this[_0x93bb64(0x1ad)][_0x93bb64(0x14f)](document,_0x93bb64(0x1ab),(_0x5b1487,_0x214785)=>{const _0x1e9b70=_0x93bb64;_0x214785[_0x1e9b70(0x16d)]===_0x1415be[_0x1e9b70(0x16a)]&&_0x3f967b[_0x1e9b70(0x1aa)]&&(this[_0x1e9b70(0x17c)][_0x1e9b70(0x165)](_0x3f967b[_0x1e9b70(0x196)][_0x1e9b70(0x197)]),this[_0x1e9b70(0x158)](),_0x214785[_0x1e9b70(0x19b)](),_0x214785[_0x1e9b70(0x1ae)]());}),this[_0x93bb64(0x1ad)][_0x93bb64(0x14f)](document,_0x93bb64(0x18f),(_0x1835c9,_0x55251)=>{const _0x2770f4=_0x93bb64,_0xc6a83d=_0x55251[_0x2770f4(0x181)];_0x3f967b[_0x2770f4(0x1aa)]&&_0x3f967b[_0x2770f4(0x160)][_0x2770f4(0x177)](_0xc6a83d)||_0x4c9340[_0x2770f4(0x176)][_0x2770f4(0x160)][_0x2770f4(0x177)](_0xc6a83d)||_0x1835c9[_0x2770f4(0x180)]||this[_0x2770f4(0x1ba)]&&this[_0x2770f4(0x1ba)][_0x2770f4(0x1b3)][_0x2770f4(0x15c)](_0x10af29=>_0x10af29[_0x2770f4(0x177)](_0xc6a83d))||(this[_0x2770f4(0x17c)][_0x2770f4(0x15b)](),this[_0x2770f4(0x158)](),this[_0x2770f4(0x15e)](null));});const _0x5ce53=this[_0x93bb64(0x1bc)]instanceof _0x12bf35?this[_0x93bb64(0x1bc)][_0x93bb64(0x17f)]:new _0xbb8238([this[_0x93bb64(0x1bc)]]);for(const _0x182c77 of _0x5ce53)this[_0x93bb64(0x195)](_0x182c77);this[_0x93bb64(0x14f)](_0x5ce53,_0x93bb64(0x165),(_0xcd914c,_0x7ac7b8)=>{const _0x2c5967=_0x93bb64;this[_0x2c5967(0x14f)](_0x7ac7b8,_0x2c5967(0x1b0),()=>{const _0x17648e=_0x2c5967;this[_0x17648e(0x195)](_0x7ac7b8);});}),this[_0x93bb64(0x14f)](_0x5ce53,_0x93bb64(0x17a),(_0x372aa2,_0x5d40fe)=>{const _0x21a742=_0x93bb64;_0x5d40fe[_0x21a742(0x188)][_0x21a742(0x199)](_0x21a742(0x14a))&&this[_0x21a742(0x159)](_0x5d40fe[_0x21a742(0x188)][_0x21a742(0x198)](_0x21a742(0x14a)));}),window[_0x93bb64(0x1a1)](_0x93bb64(0x182),this[_0x93bb64(0x14d)]),this[_0x93bb64(0x1b4)]();}[_0x3741d4(0x15e)](_0x1fb85c){const _0x2df33a=_0x3741d4;if(_0x1fb85c===this[_0x2df33a(0x1ba)])return;const _0x17d2d3=this[_0x2df33a(0x1bc)][_0x2df33a(0x188)][_0x2df33a(0x198)](_0x4289e0);if(_0x17d2d3[_0x2df33a(0x15a)]({'blurredAnnotation':this[_0x2df33a(0x1ba)],'activatedAnnotation':_0x1fb85c,'disableAnimationOnActivatedAnnotation':!0x0}),_0x1fb85c)_0x17d2d3[_0x2df33a(0x164)](_0x1fb85c)?this[_0x2df33a(0x193)](_0x1fb85c):this[_0x2df33a(0x158)]();else this[_0x2df33a(0x158)]();this[_0x2df33a(0x1ba)]=_0x1fb85c;}[_0x3741d4(0x1c1)](){const _0x5bf1df=_0x3741d4;if(!this[_0x5bf1df(0x19c)])throw new _0x5a39df(_0x5bf1df(0x18d),this);this[_0x5bf1df(0x15e)](null);const _0x3b748b=this[_0x5bf1df(0x1bc)][_0x5bf1df(0x188)][_0x5bf1df(0x198)](_0x4289e0);this[_0x5bf1df(0x158)](),Array[_0x5bf1df(0x1b5)](this[_0x5bf1df(0x1b6)][_0x5bf1df(0x1a7)](),_0x178b45=>_0x178b45[_0x5bf1df(0x168)]()),this[_0x5bf1df(0x1b6)][_0x5bf1df(0x15b)](),_0x3b748b[_0x5bf1df(0x1bb)](this[_0x5bf1df(0x1a9)]),this[_0x5bf1df(0x16b)](),this[_0x5bf1df(0x1ad)][_0x5bf1df(0x16b)](),this[_0x5bf1df(0x1bc)]instanceof _0x12bf35&&this[_0x5bf1df(0x16b)](this[_0x5bf1df(0x1bc)][_0x5bf1df(0x17f)]);for(const _0x57f085 of Array[_0x5bf1df(0x1b5)](this[_0x5bf1df(0x190)]))this[_0x5bf1df(0x159)](_0x57f085);window[_0x5bf1df(0x17b)](_0x5bf1df(0x182),this[_0x5bf1df(0x14d)]),this[_0x5bf1df(0x14d)][_0x5bf1df(0x185)](),this[_0x5bf1df(0x172)]=[],this[_0x5bf1df(0x19c)]=!0x1,this[_0x5bf1df(0x1a9)]=null;}[_0x3741d4(0x168)](){const _0x143406=_0x3741d4;this[_0x143406(0x19c)]&&this[_0x143406(0x1c1)](),this[_0x143406(0x1c0)][_0x143406(0x156)]();}[_0x3741d4(0x195)](_0x59aabf){const _0x13a41a=_0x3741d4,_0x481ce5=_0x59aabf[_0x13a41a(0x188)][_0x13a41a(0x198)](_0x18eb4b),_0x1c4cce=this[_0x13a41a(0x1bc)][_0x13a41a(0x188)][_0x13a41a(0x198)](_0x4289e0),_0x5f2baa=this[_0x13a41a(0x1a9)],_0x3281ab=this[_0x13a41a(0x170)],_0x4bf011=()=>{const _0x387143=_0x13a41a,_0xdaf51d=_0x481ce5[_0x387143(0x16f)]({'annotations':this[_0x387143(0x1a9)],'activeAnnotation':this[_0x387143(0x1ba)]});this[_0x387143(0x169)](_0xdaf51d),this[_0x387143(0x15e)](_0xdaf51d[0x0]||null);};this[_0x13a41a(0x14f)](_0x481ce5,_0x13a41a(0x15a),_0x4bf011),this[_0x13a41a(0x14f)](_0x481ce5,_0x13a41a(0x162),(_0x438ba8,{isAnnotationTracked:_0x645f7})=>{const _0x4f32d3=_0x13a41a;this[_0x4f32d3(0x1ba)]&&_0x645f7(this[_0x4f32d3(0x1ba)])&&(this[_0x4f32d3(0x169)]([]),this[_0x4f32d3(0x15e)](null));}),this[_0x13a41a(0x14f)](_0x481ce5,_0x13a41a(0x1c2),()=>{const _0x23714b=_0x13a41a;this[_0x23714b(0x14d)]();}),this[_0x13a41a(0x14f)](_0x5f2baa,_0x13a41a(0x162),_0x5d277f=>{const _0x4aec79=_0x13a41a;_0x481ce5[_0x4aec79(0x194)]()&&_0x5d277f[_0x4aec79(0x187)]();},{'priority':_0x13a41a(0x166)}),this[_0x13a41a(0x14f)](this[_0x13a41a(0x1ad)],_0x13a41a(0x18f),(_0x31f6d5,_0x38c0a6)=>{const _0xaddd8b=_0x13a41a,_0x2abb07=_0x38c0a6[_0xaddd8b(0x181)];_0x3281ab[_0xaddd8b(0x1aa)]&&_0x3281ab[_0xaddd8b(0x160)][_0xaddd8b(0x177)](_0x2abb07)||_0x1c4cce[_0xaddd8b(0x176)][_0xaddd8b(0x160)][_0xaddd8b(0x177)](_0x2abb07)||this[_0xaddd8b(0x1ba)]&&_0x481ce5[_0xaddd8b(0x194)]()&&(_0x4bf011(),_0x31f6d5[_0xaddd8b(0x180)]=!0x0);},{'priority':_0x13a41a(0x166)}),this[_0x13a41a(0x190)][_0x13a41a(0x165)](_0x481ce5);}[_0x3741d4(0x159)](_0x244f73){const _0x5e8d05=_0x3741d4;_0x244f73&&(this[_0x5e8d05(0x16b)](_0x244f73),this[_0x5e8d05(0x190)][_0x5e8d05(0x17a)](_0x244f73));}[_0x3741d4(0x169)](_0x11ab6c){const _0x240124=_0x3741d4;for(const _0x4c0c78 of this[_0x240124(0x172)])_0x11ab6c[_0x240124(0x18c)](_0x4c0c78)||this[_0x240124(0x17c)][_0x240124(0x1a0)](_0x4c0c78[_0x240124(0x176)]);this[_0x240124(0x172)]=_0x11ab6c;}[_0x3741d4(0x1b4)](){const _0x306b99=_0x3741d4,_0x596f29=this[_0x306b99(0x170)];this[_0x306b99(0x1a9)][_0x306b99(0x152)](),_0x596f29[_0x306b99(0x1aa)]&&this[_0x306b99(0x153)]();}[_0x3741d4(0x193)](_0x280d59){const _0x35c9fc=_0x3741d4;if(this[_0x35c9fc(0x17c)][_0x35c9fc(0x199)](_0x280d59[_0x35c9fc(0x176)]))return;const _0x14907a=this[_0x35c9fc(0x170)][_0x35c9fc(0x196)][_0x35c9fc(0x197)];_0x14907a!==_0x280d59[_0x35c9fc(0x176)]?(_0x14907a&&this[_0x35c9fc(0x19e)](_0x14907a),this[_0x35c9fc(0x1a3)](_0x280d59[_0x35c9fc(0x176)]),this[_0x35c9fc(0x170)][_0x35c9fc(0x196)][_0x35c9fc(0x15b)](),this[_0x35c9fc(0x170)][_0x35c9fc(0x196)][_0x35c9fc(0x165)](_0x280d59[_0x35c9fc(0x176)]),this[_0x35c9fc(0x153)]()):this[_0x35c9fc(0x153)]();}[_0x3741d4(0x153)](){const _0xaad4a1=_0x3741d4,_0x36fbda=this[_0xaad4a1(0x170)][_0xaad4a1(0x196)][_0xaad4a1(0x197)],_0x137ee5=_0x36fbda&&this[_0xaad4a1(0x1a9)][_0xaad4a1(0x14b)](_0x36fbda);if(!_0x137ee5||!this[_0xaad4a1(0x1b6)][_0xaad4a1(0x199)](_0x137ee5))return;const _0x324eff=this[_0xaad4a1(0x1b6)][_0xaad4a1(0x198)](_0x137ee5)[_0xaad4a1(0x160)],_0x432b15=(function(){const _0x4bb876=_0xaad4a1,_0x6ab013=_0x47e437[_0x4bb876(0x1a2)];return[_0x6ab013[_0x4bb876(0x14c)],_0x6ab013[_0x4bb876(0x174)],_0x6ab013[_0x4bb876(0x183)],_0x6ab013[_0x4bb876(0x15d)],_0x6ab013[_0x4bb876(0x1be)],_0x6ab013[_0x4bb876(0x157)]];}());this[_0xaad4a1(0x170)][_0xaad4a1(0x150)]({'target':_0x324eff,'positions':_0x432b15});}[_0x3741d4(0x158)](){const _0x574514=_0x3741d4,_0x55e62d=this[_0x574514(0x170)],_0x55f655=_0x55e62d[_0x574514(0x196)][_0x574514(0x197)];_0x55f655&&(this[_0x574514(0x19e)](_0x55f655),_0x55e62d[_0x574514(0x1a5)](),_0x55e62d[_0x574514(0x196)][_0x574514(0x15b)]());}[_0x3741d4(0x1a3)](_0x505701){const _0x32bd5e=_0x3741d4;this[_0x32bd5e(0x14f)](_0x505701,_0x32bd5e(0x1b1),()=>this[_0x32bd5e(0x153)]()),this[_0x32bd5e(0x14f)](_0x505701,_0x32bd5e(0x18b),(_0xcc658c,_0x3de896)=>{const _0x18435e=_0x32bd5e;this[_0x18435e(0x17c)][_0x18435e(0x165)](_0x505701),this[_0x18435e(0x158)](),_0x3de896();});}[_0x3741d4(0x19e)](_0x3c24f5){const _0xcd4774=_0x3741d4;this[_0xcd4774(0x16b)](_0x3c24f5);}}
|
|
23
|
+
const _0x2cf1cc=_0x20de;(function(_0x5ea56e,_0x569d7d){const _0x490f25=_0x20de,_0x1e95c1=_0x5ea56e();while(!![]){try{const _0x501750=parseInt(_0x490f25(0x201))/0x1*(parseInt(_0x490f25(0x256))/0x2)+-parseInt(_0x490f25(0x1f6))/0x3*(parseInt(_0x490f25(0x20b))/0x4)+-parseInt(_0x490f25(0x219))/0x5*(parseInt(_0x490f25(0x234))/0x6)+-parseInt(_0x490f25(0x261))/0x7+parseInt(_0x490f25(0x22c))/0x8+parseInt(_0x490f25(0x200))/0x9*(parseInt(_0x490f25(0x212))/0xa)+parseInt(_0x490f25(0x216))/0xb;if(_0x501750===_0x569d7d)break;else _0x1e95c1['push'](_0x1e95c1['shift']());}catch(_0x112a9d){_0x1e95c1['push'](_0x1e95c1['shift']());}}}(_0x3cf8,0xf005c));import{ContextPlugin as _0x1b1de0,Context as _0x70923}from'ckeditor5/src/core.js';function _0x3cf8(){const _0x5d5451=['element','cancel','off','clear','10213734lJlvLY','narrowsidebar-detach-not-attached','narrowSidebar','blur','stop','keyCode','execute','southArrowNorth','init','bodyCollection','_integrateWithEditorAnnotations','change:container','_editorAnnotations','number','_manuallyClosedAnnotationViews','has','_attachToContainer','_attachListeners','keydown','setActiveAnnotation','stopPropagation','_domEmitter','addEventListener','bind','first','pin','locale','focus','attachToDom','getOrderedSelectedAnnotations','_updateBalloonPosition','_detachListeners','remove','preventDefault','2ldONxO','register','narrowsidebar-attach-already-attached','delete','isDirty','Esc','_selectedAnnotations','low','_destroyEditorAnnotationsIntegration','context','from','112679uqatiD','southArrowNorthEast','includes','pluginName','balloonPanelView','_setSelectedAnnotations','annotationType','uiUpdate','get','_refreshPositioningDebounced','ck-sidebar--narrow','northArrowSouthEast','find','activeAnnotation','defaultPositions','northArrowSouthWest','604194PhOPcz','isVisible','values','plugins','refresh','stopListening','mousedown','unpin','preventClosingBalloon','detach','4290543ZUCPTH','532670pVIghq','attach','refreshPositioning','view','_detachFromContainer','_refreshPositioning','southArrowNorthWest','add','_annotationToNarrowView','resize','16ztJPRr','addAnnotation','_annotations','_hideBalloon','getSidebarItemView','isAttached','_showBalloon','20URaBTX','EditorAnnotations','esc','NarrowSidebar','11771045ZxkrnT','listenTo','contains','5MAaeKS','rearrange','detachFromDom','editors','set:container','set','focusableElements','content','create','change:height','requires','northArrowSouth','destroy','hasDomSelection','target','length','annotations','ready','removeEventListener','7607128WciPfw','type','getByView','high'];_0x3cf8=function(){return _0x5d5451;};return _0x3cf8();}import _0x2b8c3d from'./annotationsuis.js';import _0x46e844 from'./sidebar.js';import _0x2b0940 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x4c98f3,BodyCollection as _0x270619}from'ckeditor5/src/ui.js';import{CKEditorError as _0xe22948,DomEmitterMixin as _0x886346,keyCodes as _0x7d75fa,Collection as _0x56d086}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';function _0x20de(_0x274295,_0x1f9513){const _0x3cf87c=_0x3cf8();return _0x20de=function(_0x20ded9,_0x4573d3){_0x20ded9=_0x20ded9-0x1e8;let _0x96f15c=_0x3cf87c[_0x20ded9];return _0x96f15c;},_0x20de(_0x274295,_0x1f9513);}import{debounce as _0x4a20ea}from'lodash-es';import _0x1aa536 from'./editorannotations.js';export default class i extends _0x1b1de0{static get[_0x2cf1cc(0x223)](){return[_0x46e844,_0x2b8c3d];}static get[_0x2cf1cc(0x1e9)](){const _0x38d1cd=_0x2cf1cc;return _0x38d1cd(0x215);}constructor(_0x56eff8){const _0x1718c5=_0x2cf1cc;super(_0x56eff8),this[_0x1718c5(0x210)]=!0x1,this[_0x1718c5(0x242)]=new Set(),this[_0x1718c5(0x249)]=Object[_0x1718c5(0x221)](_0x886346),this[_0x1718c5(0x209)]=new Map(),this[_0x1718c5(0x21e)](_0x1718c5(0x1f3),null),this[_0x1718c5(0x229)]=null,this[_0x1718c5(0x25c)]=[],this[_0x1718c5(0x240)]=new _0x56d086(),this[_0x1718c5(0x1ef)]=_0x4a20ea(()=>{const _0x361969=_0x1718c5;this[_0x361969(0x206)]();},0xfa,{'leading':!0x1});}[_0x2cf1cc(0x23c)](){const _0x17da8c=_0x2cf1cc;this[_0x17da8c(0x25f)][_0x17da8c(0x1f9)][_0x17da8c(0x1ee)](_0x2b8c3d)[_0x17da8c(0x257)](_0x17da8c(0x236),this),this[_0x17da8c(0x23d)]=new _0x270619(this[_0x17da8c(0x25f)][_0x17da8c(0x24e)]),this[_0x17da8c(0x1ea)]=new _0x4c98f3(this[_0x17da8c(0x25f)][_0x17da8c(0x24e)]),this[_0x17da8c(0x23d)][_0x17da8c(0x250)](),this[_0x17da8c(0x23d)][_0x17da8c(0x208)](this[_0x17da8c(0x1ea)]);}[_0x2cf1cc(0x202)](_0x21b485){const _0x5b250d=_0x2cf1cc;this[_0x5b250d(0x229)]=_0x21b485;const _0x16c924=this[_0x5b250d(0x25f)][_0x5b250d(0x1f9)][_0x5b250d(0x1ee)](_0x46e844),_0xfbded=this[_0x5b250d(0x1ea)];if(_0x16c924[_0x5b250d(0x20d)]=_0x21b485,this[_0x5b250d(0x210)])throw new _0xe22948(_0x5b250d(0x258),this);this[_0x5b250d(0x210)]=!0x0,this[_0x5b250d(0x217)](_0x16c924,_0x5b250d(0x21d),()=>{const _0x5c9c4c=_0x5b250d;this[_0x5c9c4c(0x1ff)](),this[_0x5c9c4c(0x217)](_0x16c924,_0x5c9c4c(0x23f),_0xb13e39=>{const _0x59f434=_0x5c9c4c;_0xb13e39[_0x59f434(0x232)](),this[_0x59f434(0x202)](_0x21b485);});}),_0x16c924[_0x5b250d(0x244)]({'viewClass':_0x5b250d(0x1f0),'spaceBetweenItems':0x5});const _0xfb6dbb=_0x178dcb=>{const _0x11a097=_0x5b250d,_0x3ed455=new _0x2b0940(this[_0x11a097(0x25f)][_0x11a097(0x24e)]);_0x16c924[_0x11a097(0x20c)](_0x178dcb,_0x3ed455),this[_0x11a097(0x209)][_0x11a097(0x21e)](_0x178dcb,_0x3ed455),_0x3ed455[_0x11a097(0x24b)](_0x11a097(0x25a),_0x11a097(0x1ec),_0x11a097(0x241))['to'](_0x178dcb[_0x11a097(0x204)],_0x11a097(0x25a),_0x11a097(0x22d),_0x11a097(0x228)),_0x3ed455['on'](_0x11a097(0x23a),()=>{const _0x20845a=_0x11a097;this[_0x20845a(0x242)][_0x20845a(0x233)](),_0xfbded[_0x20845a(0x220)][_0x20845a(0x24c)]!==_0x178dcb[_0x20845a(0x204)]?(this[_0x20845a(0x211)](_0x178dcb),_0x178dcb[_0x20845a(0x204)][_0x20845a(0x230)][_0x20845a(0x24f)](),this[_0x20845a(0x247)](_0x178dcb)):this[_0x20845a(0x247)](null);});};for(const _0x2960f6 of _0x21b485)_0xfb6dbb(_0x2960f6);this[_0x5b250d(0x217)](_0x21b485,_0x5b250d(0x208),(_0x10400d,_0x4b9da8)=>{_0xfb6dbb(_0x4b9da8);}),this[_0x5b250d(0x217)](_0x21b485,_0x5b250d(0x254),(_0x290e4a,_0x4700da,_0x2cf81d)=>{const _0x1a2679=_0x5b250d;this[_0x1a2679(0x209)][_0x1a2679(0x1ee)](_0x4700da)[_0x1a2679(0x225)](),this[_0x1a2679(0x209)][_0x1a2679(0x259)](_0x4700da),_0x16c924[_0x1a2679(0x21a)]({'removedAnnotation':_0x4700da,'previousAnnotation':_0x21b485[_0x1a2679(0x1ee)](_0x2cf81d-0x1),'nextAnnotation':_0x21b485[_0x1a2679(0x1ee)](_0x2cf81d+0x1)}),_0x4700da===this[_0x1a2679(0x1f3)]&&this[_0x1a2679(0x247)](null);},{'priority':_0x5b250d(0x25d)}),this[_0x5b250d(0x217)](_0x21b485,_0x5b250d(0x24f),(_0xa6e4c5,_0x531009)=>{const _0x533fd8=_0x5b250d;this[_0x533fd8(0x247)](_0x531009);}),this[_0x5b250d(0x217)](_0x21b485,_0x5b250d(0x237),()=>{const _0x58222d=_0x5b250d;this[_0x58222d(0x247)](null);}),this[_0x5b250d(0x249)][_0x5b250d(0x217)](document,_0x5b250d(0x246),(_0x4c56be,_0x4310f5)=>{const _0x1e7680=_0x5b250d;_0x4310f5[_0x1e7680(0x239)]===_0x7d75fa[_0x1e7680(0x214)]&&_0xfbded[_0x1e7680(0x1f7)]&&(this[_0x1e7680(0x242)][_0x1e7680(0x208)](_0xfbded[_0x1e7680(0x220)][_0x1e7680(0x24c)]),this[_0x1e7680(0x20e)](),_0x4310f5[_0x1e7680(0x248)](),_0x4310f5[_0x1e7680(0x255)]());}),this[_0x5b250d(0x249)][_0x5b250d(0x217)](document,_0x5b250d(0x1fc),(_0x28f2ee,_0x375699)=>{const _0x5e7fde=_0x5b250d,_0x358f7c=_0x375699[_0x5e7fde(0x227)];_0xfbded[_0x5e7fde(0x1f7)]&&_0xfbded[_0x5e7fde(0x230)][_0x5e7fde(0x218)](_0x358f7c)||_0x16c924[_0x5e7fde(0x204)][_0x5e7fde(0x230)][_0x5e7fde(0x218)](_0x358f7c)||_0x28f2ee[_0x5e7fde(0x1fe)]||this[_0x5e7fde(0x1f3)]&&this[_0x5e7fde(0x1f3)][_0x5e7fde(0x21f)][_0x5e7fde(0x1f2)](_0x1c2818=>_0x1c2818[_0x5e7fde(0x218)](_0x358f7c))||(this[_0x5e7fde(0x242)][_0x5e7fde(0x233)](),this[_0x5e7fde(0x20e)](),this[_0x5e7fde(0x247)](null));});const _0x395fa1=this[_0x5b250d(0x25f)]instanceof _0x70923?this[_0x5b250d(0x25f)][_0x5b250d(0x21c)]:new _0x56d086([this[_0x5b250d(0x25f)]]);for(const _0x246636 of _0x395fa1)this[_0x5b250d(0x23e)](_0x246636);this[_0x5b250d(0x217)](_0x395fa1,_0x5b250d(0x208),(_0x19cd0a,_0x2f33b4)=>{const _0x75a2e8=_0x5b250d;this[_0x75a2e8(0x217)](_0x2f33b4,_0x75a2e8(0x22a),()=>{const _0x597655=_0x75a2e8;this[_0x597655(0x23e)](_0x2f33b4);});}),this[_0x5b250d(0x217)](_0x395fa1,_0x5b250d(0x254),(_0x17017b,_0x431f5d)=>{const _0xaf301f=_0x5b250d;_0x431f5d[_0xaf301f(0x1f9)][_0xaf301f(0x243)](_0xaf301f(0x213))&&this[_0xaf301f(0x25e)](_0x431f5d[_0xaf301f(0x1f9)][_0xaf301f(0x1ee)](_0xaf301f(0x213)));}),window[_0x5b250d(0x24a)](_0x5b250d(0x20a),this[_0x5b250d(0x1ef)]),this[_0x5b250d(0x206)]();}[_0x2cf1cc(0x247)](_0x35d54c){const _0x46c15b=_0x2cf1cc;if(_0x35d54c===this[_0x46c15b(0x1f3)])return;const _0x19b618=this[_0x46c15b(0x25f)][_0x46c15b(0x1f9)][_0x46c15b(0x1ee)](_0x46e844);if(_0x19b618[_0x46c15b(0x1fa)]({'blurredAnnotation':this[_0x46c15b(0x1f3)],'activatedAnnotation':_0x35d54c,'disableAnimationOnActivatedAnnotation':!0x0}),_0x35d54c)_0x19b618[_0x46c15b(0x20f)](_0x35d54c)?this[_0x46c15b(0x211)](_0x35d54c):this[_0x46c15b(0x20e)]();else this[_0x46c15b(0x20e)]();this[_0x46c15b(0x1f3)]=_0x35d54c;}[_0x2cf1cc(0x1ff)](){const _0x506d8d=_0x2cf1cc;if(!this[_0x506d8d(0x210)])throw new _0xe22948(_0x506d8d(0x235),this);this[_0x506d8d(0x247)](null);const _0x6e036=this[_0x506d8d(0x25f)][_0x506d8d(0x1f9)][_0x506d8d(0x1ee)](_0x46e844);this[_0x506d8d(0x20e)](),Array[_0x506d8d(0x260)](this[_0x506d8d(0x209)][_0x506d8d(0x1f8)](),_0x23519c=>_0x23519c[_0x506d8d(0x225)]()),this[_0x506d8d(0x209)][_0x506d8d(0x233)](),_0x6e036[_0x506d8d(0x205)](this[_0x506d8d(0x229)]),this[_0x506d8d(0x1fb)](),this[_0x506d8d(0x249)][_0x506d8d(0x1fb)](),this[_0x506d8d(0x25f)]instanceof _0x70923&&this[_0x506d8d(0x1fb)](this[_0x506d8d(0x25f)][_0x506d8d(0x21c)]);for(const _0xc3b4fc of Array[_0x506d8d(0x260)](this[_0x506d8d(0x240)]))this[_0x506d8d(0x25e)](_0xc3b4fc);window[_0x506d8d(0x22b)](_0x506d8d(0x20a),this[_0x506d8d(0x1ef)]),this[_0x506d8d(0x1ef)][_0x506d8d(0x231)](),this[_0x506d8d(0x25c)]=[],this[_0x506d8d(0x210)]=!0x1,this[_0x506d8d(0x229)]=null;}[_0x2cf1cc(0x225)](){const _0x498936=_0x2cf1cc;this[_0x498936(0x210)]&&this[_0x498936(0x1ff)](),this[_0x498936(0x23d)][_0x498936(0x21b)]();}[_0x2cf1cc(0x23e)](_0x5c9c4e){const _0x51ef31=_0x2cf1cc,_0x2841c6=_0x5c9c4e[_0x51ef31(0x1f9)][_0x51ef31(0x1ee)](_0x1aa536),_0x399097=this[_0x51ef31(0x25f)][_0x51ef31(0x1f9)][_0x51ef31(0x1ee)](_0x46e844),_0x4fd518=this[_0x51ef31(0x229)],_0x377e34=this[_0x51ef31(0x1ea)],_0x409457=()=>{const _0x207cf6=_0x51ef31,_0x59447e=_0x2841c6[_0x207cf6(0x251)]({'annotations':this[_0x207cf6(0x229)],'activeAnnotation':this[_0x207cf6(0x1f3)]});this[_0x207cf6(0x1eb)](_0x59447e),this[_0x207cf6(0x247)](_0x59447e[0x0]||null);};this[_0x51ef31(0x217)](_0x2841c6,_0x51ef31(0x1fa),_0x409457),this[_0x51ef31(0x217)](_0x2841c6,_0x51ef31(0x237),(_0x1c1651,{isAnnotationTracked:_0x3523d3})=>{const _0x49035d=_0x51ef31;this[_0x49035d(0x1f3)]&&_0x3523d3(this[_0x49035d(0x1f3)])&&(this[_0x49035d(0x1eb)]([]),this[_0x49035d(0x247)](null));}),this[_0x51ef31(0x217)](_0x2841c6,_0x51ef31(0x1ed),()=>{const _0x417cbe=_0x51ef31;this[_0x417cbe(0x1ef)]();}),this[_0x51ef31(0x217)](_0x4fd518,_0x51ef31(0x237),_0x114fe0=>{const _0x5a9730=_0x51ef31;_0x2841c6[_0x5a9730(0x226)]()&&_0x114fe0[_0x5a9730(0x238)]();},{'priority':_0x51ef31(0x22f)}),this[_0x51ef31(0x217)](this[_0x51ef31(0x249)],_0x51ef31(0x1fc),(_0x49ccd5,_0x383be5)=>{const _0x226017=_0x51ef31,_0x585001=_0x383be5[_0x226017(0x227)];_0x377e34[_0x226017(0x1f7)]&&_0x377e34[_0x226017(0x230)][_0x226017(0x218)](_0x585001)||_0x399097[_0x226017(0x204)][_0x226017(0x230)][_0x226017(0x218)](_0x585001)||this[_0x226017(0x1f3)]&&_0x2841c6[_0x226017(0x226)]()&&(_0x409457(),_0x49ccd5[_0x226017(0x1fe)]=!0x0);},{'priority':_0x51ef31(0x22f)}),this[_0x51ef31(0x240)][_0x51ef31(0x208)](_0x2841c6);}[_0x2cf1cc(0x25e)](_0x35346f){const _0x3a7b01=_0x2cf1cc;_0x35346f&&(this[_0x3a7b01(0x1fb)](_0x35346f),this[_0x3a7b01(0x240)][_0x3a7b01(0x254)](_0x35346f));}[_0x2cf1cc(0x1eb)](_0x153e78){const _0x287000=_0x2cf1cc;for(const _0x4a32f9 of this[_0x287000(0x25c)])_0x153e78[_0x287000(0x1e8)](_0x4a32f9)||this[_0x287000(0x242)][_0x287000(0x259)](_0x4a32f9[_0x287000(0x204)]);this[_0x287000(0x25c)]=_0x153e78;}[_0x2cf1cc(0x206)](){const _0x30ecd9=_0x2cf1cc,_0x3390cc=this[_0x30ecd9(0x1ea)];this[_0x30ecd9(0x229)][_0x30ecd9(0x203)](),_0x3390cc[_0x30ecd9(0x1f7)]&&this[_0x30ecd9(0x252)]();}[_0x2cf1cc(0x211)](_0xcdd812){const _0x19df10=_0x2cf1cc;if(this[_0x19df10(0x242)][_0x19df10(0x243)](_0xcdd812[_0x19df10(0x204)]))return;const _0x38c2e0=this[_0x19df10(0x1ea)][_0x19df10(0x220)][_0x19df10(0x24c)];_0x38c2e0!==_0xcdd812[_0x19df10(0x204)]?(_0x38c2e0&&this[_0x19df10(0x253)](_0x38c2e0),this[_0x19df10(0x245)](_0xcdd812[_0x19df10(0x204)]),this[_0x19df10(0x1ea)][_0x19df10(0x220)][_0x19df10(0x233)](),this[_0x19df10(0x1ea)][_0x19df10(0x220)][_0x19df10(0x208)](_0xcdd812[_0x19df10(0x204)]),this[_0x19df10(0x252)]()):this[_0x19df10(0x252)]();}[_0x2cf1cc(0x252)](){const _0x43a30c=_0x2cf1cc,_0x1b6e1a=this[_0x43a30c(0x1ea)][_0x43a30c(0x220)][_0x43a30c(0x24c)],_0x21ea90=_0x1b6e1a&&this[_0x43a30c(0x229)][_0x43a30c(0x22e)](_0x1b6e1a);if(!_0x21ea90||!this[_0x43a30c(0x209)][_0x43a30c(0x243)](_0x21ea90))return;const _0x21d3a0=this[_0x43a30c(0x209)][_0x43a30c(0x1ee)](_0x21ea90)[_0x43a30c(0x230)],_0x5ec34c=(function(){const _0x5d96ae=_0x43a30c,_0x512de3=_0x4c98f3[_0x5d96ae(0x1f4)];return[_0x512de3[_0x5d96ae(0x262)],_0x512de3[_0x5d96ae(0x1f1)],_0x512de3[_0x5d96ae(0x23b)],_0x512de3[_0x5d96ae(0x224)],_0x512de3[_0x5d96ae(0x207)],_0x512de3[_0x5d96ae(0x1f5)]];}());this[_0x43a30c(0x1ea)][_0x43a30c(0x24d)]({'target':_0x21d3a0,'positions':_0x5ec34c});}[_0x2cf1cc(0x20e)](){const _0x290553=_0x2cf1cc,_0x4df620=this[_0x290553(0x1ea)],_0x1d926f=_0x4df620[_0x290553(0x220)][_0x290553(0x24c)];_0x1d926f&&(this[_0x290553(0x253)](_0x1d926f),_0x4df620[_0x290553(0x1fd)](),_0x4df620[_0x290553(0x220)][_0x290553(0x233)]());}[_0x2cf1cc(0x245)](_0x5dc3ce){const _0x4f6ef0=_0x2cf1cc;this[_0x4f6ef0(0x217)](_0x5dc3ce,_0x4f6ef0(0x222),()=>this[_0x4f6ef0(0x252)]()),this[_0x4f6ef0(0x217)](_0x5dc3ce,_0x4f6ef0(0x25b),(_0x472022,_0x5c2585)=>{const _0x1faaa9=_0x4f6ef0;this[_0x1faaa9(0x242)][_0x1faaa9(0x208)](_0x5dc3ce),this[_0x1faaa9(0x20e)](),_0x5c2585();});}[_0x2cf1cc(0x253)](_0x52760b){const _0x477574=_0x2cf1cc;this[_0x477574(0x1fb)](_0x52760b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x13db8c=_0x154d;function _0x154d(_0x104f38,_0x40f9bd){const _0x488c11=_0x488c();return _0x154d=function(_0x154deb,_0x446ebd){_0x154deb=_0x154deb-0x12b;let _0x241bb4=_0x488c11[_0x154deb];return _0x241bb4;},_0x154d(_0x104f38,_0x40f9bd);}(function(_0x227a5f,_0x550e6b){const _0x4e5827=_0x154d,_0x111122=_0x227a5f();while(!![]){try{const _0x39bf60=parseInt(_0x4e5827(0x139))/0x1*(-parseInt(_0x4e5827(0x17e))/0x2)+-parseInt(_0x4e5827(0x182))/0x3+-parseInt(_0x4e5827(0x17a))/0x4+parseInt(_0x4e5827(0x17f))/0x5*(parseInt(_0x4e5827(0x179))/0x6)+-parseInt(_0x4e5827(0x131))/0x7*(-parseInt(_0x4e5827(0x12d))/0x8)+parseInt(_0x4e5827(0x15c))/0x9*(-parseInt(_0x4e5827(0x15a))/0xa)+parseInt(_0x4e5827(0x156))/0xb;if(_0x39bf60===_0x550e6b)break;else _0x111122['push'](_0x111122['shift']());}catch(_0x440012){_0x111122['push'](_0x111122['shift']());}}}(_0x488c,0x51c01));import{ContextPlugin as _0x4c51f0}from'ckeditor5/src/core.js';import{Rect as _0x29c212,CKEditorError as _0x26e59a}from'ckeditor5/src/utils.js';import _0x2e190a from'./view/sidebarview.js';import _0x28275d from'./view/sidebaritemview.js';function _0x488c(){const _0x55acd8=['_getTargetTop','listenTo','unbind','set','_attachToContainer','stopListening','isAnimationDisabled','18256040MkMGfu','target','sidebar.container','content','110sXulRZ','_getMaxAvailableTop','308061xGtyHN','get','push','_activeAnnotation','_createSidebarView','length','context','_alignForTopChange','_recalculate','_sidebarItemViewToAnnotation','change:_lastItem','appendChild','max','_annotationToSidebarItemView','setContainer','addAnnotation','_setItemTop','updateHeight','_alignToTargetRect','sidebar-attachtocontainer-missing-container','locale','_destroySidebarItemView','init','_recalculateBuffer','_lastItem','bottom','sidebar-setcontainer-invalid-element','object','height','7962gLUngS','2557676tWakEa','remove','pluginName','view','122uOyCSD','2505zROroP','getSidebarItemView','_alignForBottomChange','1822212Izokmm','list','config','targetRect','clear','2144504Fgomqy','class','_targetTop','getIndex','7fhmcMz','change:targetRect','_spaceBetweenItems','bind','_alignBeforeItem','delete','minHeight','refresh','10399IESfXS','define','_getItemBefore','element','container','isActive','change:bottom','rearrange','_annotations','top','last','render','_detachFromContainer','sidebar.preventScrollOutOfView','_updateLastItem','nodeType','add','_getItemAfter','_alignAfterItem','destroy','change:top','Sidebar'];_0x488c=function(){return _0x55acd8;};return _0x488c();}export default class z extends _0x4c51f0{static get[_0x13db8c(0x17c)](){const _0x110d7e=_0x13db8c;return _0x110d7e(0x14e);}constructor(_0x494c6b){const _0x5973d8=_0x13db8c;super(_0x494c6b),this[_0x5973d8(0x152)](_0x5973d8(0x174),void 0x0),this[_0x5973d8(0x17d)]=this[_0x5973d8(0x160)](),this[_0x5973d8(0x152)](_0x5973d8(0x13d),null),this[_0x5973d8(0x133)]=0x19,this[_0x5973d8(0x165)]=new Map(),this[_0x5973d8(0x169)]=new Map(),this[_0x5973d8(0x162)][_0x5973d8(0x184)][_0x5973d8(0x13a)](_0x5973d8(0x146),!0x1),this[_0x5973d8(0x141)]=null,this[_0x5973d8(0x15f)]=null,this[_0x5973d8(0x173)]=[];}[_0x13db8c(0x172)](){const _0x490683=_0x13db8c,_0x21e60e=this[_0x490683(0x162)][_0x490683(0x184)][_0x490683(0x15d)](_0x490683(0x158));_0x21e60e&&this[_0x490683(0x16a)](_0x21e60e);}[_0x13db8c(0x16a)](_0x932988){const _0xc495cb=_0x13db8c;if(!y(_0x932988))throw new _0x26e59a(_0xc495cb(0x176));this[_0xc495cb(0x13d)]=_0x932988;}[_0x13db8c(0x153)]({viewClass:_0x3253af='',spaceBetweenItems:_0x20f7fa=0x19}={}){const _0x3b0999=_0x13db8c;if(!y(this[_0x3b0999(0x13d)]))throw new _0x26e59a(_0x3b0999(0x16f),this);this[_0x3b0999(0x13d)][_0x3b0999(0x167)](this[_0x3b0999(0x17d)][_0x3b0999(0x13c)]),this[_0x3b0999(0x17d)][_0x3b0999(0x12e)]=_0x3253af,this[_0x3b0999(0x133)]=_0x20f7fa;}[_0x13db8c(0x140)]({removedAnnotation:_0x3d8ac9,previousAnnotation:_0x3c8fa2,nextAnnotation:_0x1a38ba}){const _0xa0fcd6=_0x13db8c,_0x23f6d0=this[_0xa0fcd6(0x180)](_0x3d8ac9);this[_0xa0fcd6(0x17d)][_0xa0fcd6(0x183)][_0xa0fcd6(0x17b)](_0x23f6d0),this[_0xa0fcd6(0x171)](_0x3d8ac9),_0x3c8fa2&&this[_0xa0fcd6(0x16e)](this[_0xa0fcd6(0x180)](_0x3c8fa2)),_0x1a38ba&&this[_0xa0fcd6(0x16e)](this[_0xa0fcd6(0x180)](_0x1a38ba)),this[_0xa0fcd6(0x147)]();}[_0x13db8c(0x138)]({blurredAnnotation:_0x38bc34,activatedAnnotation:_0x27f80c,disableAnimationOnActivatedAnnotation:_0x4dc16b}){const _0x40b429=_0x13db8c;if(this[_0x40b429(0x15f)]=_0x27f80c,_0x38bc34){_0x38bc34[_0x40b429(0x13e)]=!0x1;const _0x2e3b03=this[_0x40b429(0x180)](_0x38bc34);_0x2e3b03&&_0x4dc16b&&(_0x2e3b03[_0x40b429(0x155)]=!0x1);}if(_0x27f80c){const _0x4f99f7=this[_0x40b429(0x180)](_0x27f80c);_0x4f99f7&&(_0x27f80c[_0x40b429(0x13e)]=!0x0,_0x4dc16b&&(_0x4f99f7[_0x40b429(0x155)]=!0x0,_0x4f99f7[_0x40b429(0x142)]+=0x1),this[_0x40b429(0x16e)](_0x4f99f7));}}[_0x13db8c(0x145)](_0x12d83b){const _0x382a73=_0x13db8c;if(this[_0x382a73(0x17d)][_0x382a73(0x13c)][_0x382a73(0x17b)](),_0x12d83b){for(const _0x287678 of _0x12d83b)this[_0x382a73(0x171)](_0x287678);}this[_0x382a73(0x17d)][_0x382a73(0x183)][_0x382a73(0x12c)](),this[_0x382a73(0x17d)][_0x382a73(0x12e)]='',this[_0x382a73(0x174)]=null;}[_0x13db8c(0x16b)](_0x4544d7,_0x35757d){const _0x37d897=_0x13db8c;_0x35757d||(_0x35757d=_0x4544d7[_0x37d897(0x17d)]);const _0x6abe49=new _0x28275d(this[_0x37d897(0x162)][_0x37d897(0x170)]);this[_0x37d897(0x165)][_0x37d897(0x152)](_0x6abe49,_0x4544d7),this[_0x37d897(0x169)][_0x37d897(0x152)](_0x4544d7,_0x6abe49),_0x6abe49[_0x37d897(0x159)][_0x37d897(0x149)](_0x35757d),this[_0x37d897(0x150)](_0x4544d7[_0x37d897(0x17d)],_0x37d897(0x132),(_0x4e22a8,_0x3239e5,_0x1d5985)=>{const _0x243042=_0x37d897,_0x33da08=this[_0x243042(0x14f)](_0x4544d7,_0x1d5985);_0x6abe49[_0x243042(0x12f)]!=_0x33da08&&(_0x6abe49[_0x243042(0x12f)]=_0x33da08,this[_0x243042(0x16c)](_0x6abe49,_0x33da08));}),this[_0x37d897(0x150)](_0x6abe49,_0x37d897(0x14d),()=>{const _0x196293=_0x37d897;this[_0x196293(0x164)](_0x6abe49,_0x196293(0x142));}),this[_0x37d897(0x150)](_0x6abe49,_0x37d897(0x13f),()=>{const _0x4d8079=_0x37d897;this[_0x4d8079(0x164)](_0x6abe49,_0x4d8079(0x175));}),this[_0x37d897(0x16e)](_0x6abe49);const _0x56101d=this[_0x37d897(0x13b)](_0x6abe49);if(_0x56101d)this[_0x37d897(0x14b)](_0x56101d,_0x6abe49)||this[_0x37d897(0x16e)](_0x6abe49);else this[_0x37d897(0x16e)](_0x6abe49);return this[_0x37d897(0x147)](),this[_0x37d897(0x17d)][_0x37d897(0x183)][_0x37d897(0x149)](_0x6abe49),_0x6abe49;}[_0x13db8c(0x163)](_0x5e1472){const _0x23da51=_0x13db8c;if(!_0x5e1472[_0x23da51(0x159)][_0x23da51(0x161)])return;const _0x27a946=this[_0x23da51(0x13b)](_0x5e1472);if(!_0x27a946)return;const _0x5461dd=this[_0x23da51(0x165)][_0x23da51(0x15d)](_0x27a946),_0x40b22b=this[_0x23da51(0x15f)];_0x40b22b&&_0x40b22b===_0x5461dd?this[_0x23da51(0x14b)](_0x27a946,_0x5e1472):this[_0x23da51(0x135)](_0x5e1472,_0x27a946);}[_0x13db8c(0x181)](_0x540a25){const _0x4617d0=_0x13db8c;if(!_0x540a25[_0x4617d0(0x159)][_0x4617d0(0x161)])return;const _0x446e67=this[_0x4617d0(0x14a)](_0x540a25);if(!_0x446e67)return;const _0x4722e7=this[_0x4617d0(0x165)][_0x4617d0(0x15d)](_0x446e67),_0x1f65c8=this[_0x4617d0(0x162)][_0x4617d0(0x184)][_0x4617d0(0x15d)](_0x4617d0(0x146)),_0x42a674=this[_0x4617d0(0x15f)];_0x42a674&&_0x42a674===_0x4722e7&&_0x1f65c8?(this[_0x4617d0(0x135)](_0x446e67,_0x540a25),this[_0x4617d0(0x14b)](_0x540a25,_0x446e67)):_0x42a674&&_0x42a674===_0x4722e7?this[_0x4617d0(0x135)](_0x446e67,_0x540a25):this[_0x4617d0(0x14b)](_0x540a25,_0x446e67);}[_0x13db8c(0x164)](_0x20b00d,_0x2f1d3d){const _0x1f6322=_0x13db8c;0x0===this[_0x1f6322(0x173)][_0x1f6322(0x161)]&&setTimeout(()=>{const _0x5e926f=_0x1f6322;for(const {sidebarItemView:_0x179335,changedProp:_0x1d29b7}of this[_0x5e926f(0x173)])_0x5e926f(0x142)===_0x1d29b7?this[_0x5e926f(0x163)](_0x179335):this[_0x5e926f(0x181)](_0x179335);this[_0x5e926f(0x173)]=[];},0xa),this[_0x1f6322(0x173)][_0x1f6322(0x15e)]({'sidebarItemView':_0x20b00d,'changedProp':_0x2f1d3d});}[_0x13db8c(0x180)](_0x106c60){const _0x36605d=_0x13db8c;return this[_0x36605d(0x169)][_0x36605d(0x15d)](_0x106c60);}[_0x13db8c(0x14c)](){const _0x4dd285=_0x13db8c;this[_0x4dd285(0x154)](),this[_0x4dd285(0x17d)][_0x4dd285(0x14c)]();}[_0x13db8c(0x171)](_0x356728){const _0x2892f1=_0x13db8c,_0x8809d1=this[_0x2892f1(0x180)](_0x356728);this[_0x2892f1(0x154)](_0x8809d1),this[_0x2892f1(0x154)](_0x356728[_0x2892f1(0x17d)]),_0x8809d1[_0x2892f1(0x14c)](),this[_0x2892f1(0x169)][_0x2892f1(0x136)](_0x356728),this[_0x2892f1(0x165)][_0x2892f1(0x136)](_0x8809d1);}[_0x13db8c(0x160)](){const _0x38ee75=_0x13db8c,_0x2cf22e=new _0x2e190a(this[_0x38ee75(0x162)][_0x38ee75(0x170)]);return _0x2cf22e[_0x38ee75(0x144)](),this['on'](_0x38ee75(0x166),(_0x832148,_0x275369,_0x4f0d34,_0x213b96)=>{const _0x512659=_0x38ee75;_0x213b96&&_0x2cf22e[_0x512659(0x151)](_0x512659(0x137)),_0x4f0d34?_0x2cf22e[_0x512659(0x134)](_0x512659(0x137))['to'](_0x4f0d34,_0x512659(0x175)):_0x2cf22e[_0x512659(0x137)]=null;}),_0x2cf22e;}[_0x13db8c(0x147)](){const _0x4592f0=_0x13db8c;var _0x57e8e7;this[_0x4592f0(0x174)]=(null===(_0x57e8e7=this[_0x4592f0(0x141)])||void 0x0===_0x57e8e7?void 0x0:_0x57e8e7[_0x4592f0(0x143)])?this[_0x4592f0(0x180)](this[_0x4592f0(0x141)][_0x4592f0(0x143)]):null;}[_0x13db8c(0x13b)](_0xc40ae7){const _0x25f0a0=_0x13db8c;var _0x555eea;const _0x336566=this[_0x25f0a0(0x165)][_0x25f0a0(0x15d)](_0xc40ae7),_0x4b37dd=_0x336566&&(null===(_0x555eea=this[_0x25f0a0(0x141)])||void 0x0===_0x555eea?void 0x0:_0x555eea[_0x25f0a0(0x15d)](this[_0x25f0a0(0x141)][_0x25f0a0(0x130)](_0x336566)-0x1));return _0x4b37dd&&this[_0x25f0a0(0x180)](_0x4b37dd)||null;}[_0x13db8c(0x14a)](_0x457bf4){const _0x1cf7d4=_0x13db8c;var _0x46c817;const _0x3a449e=this[_0x1cf7d4(0x165)][_0x1cf7d4(0x15d)](_0x457bf4),_0x44ef44=_0x3a449e&&(null===(_0x46c817=this[_0x1cf7d4(0x141)])||void 0x0===_0x46c817?void 0x0:_0x46c817[_0x1cf7d4(0x15d)](this[_0x1cf7d4(0x141)][_0x1cf7d4(0x130)](_0x3a449e)+0x1));return _0x44ef44&&this[_0x1cf7d4(0x180)](_0x44ef44)||null;}[_0x13db8c(0x135)](_0x4aaa7d,_0xe58cfa){const _0x41ef5b=_0x13db8c;_0x4aaa7d[_0x41ef5b(0x16d)]();const _0x433e85=M(_0xe58cfa[_0x41ef5b(0x175)]+this[_0x41ef5b(0x133)],_0x4aaa7d[_0x41ef5b(0x142)]);return!!_0x433e85&&(this[_0x41ef5b(0x16c)](_0xe58cfa,_0xe58cfa[_0x41ef5b(0x142)]-_0x433e85),!0x0);}[_0x13db8c(0x14b)](_0x20062d,_0x28c02f){const _0x419bcd=_0x13db8c;_0x20062d[_0x419bcd(0x16d)]();const _0x4313f4=M(_0x20062d[_0x419bcd(0x175)]+this[_0x419bcd(0x133)],_0x28c02f[_0x419bcd(0x142)]);return!!_0x4313f4&&(this[_0x419bcd(0x16c)](_0x28c02f,_0x28c02f[_0x419bcd(0x142)]+_0x4313f4,!0x1),!0x0);}[_0x13db8c(0x16e)](_0xa4afc){const _0x521fec=_0x13db8c,_0x7a987=this[_0x521fec(0x165)][_0x521fec(0x15d)](_0xa4afc);if(!_0x7a987||!_0x7a987[_0x521fec(0x157)]||!_0x7a987[_0x521fec(0x12b)])return;const _0x24bc5f=this[_0x521fec(0x14f)](_0x7a987,_0x7a987[_0x521fec(0x12b)]);this[_0x521fec(0x16c)](_0xa4afc,_0x24bc5f);}[_0x13db8c(0x14f)](_0xd59597,_0x36c854){const _0x2d6eca=_0x13db8c;if(null===_0x36c854)return 0x0;if(_0xd59597[_0x2d6eca(0x157)]instanceof _0x29c212)return _0x36c854[_0x2d6eca(0x142)];{const _0x4876c9=new _0x29c212(this[_0x2d6eca(0x17d)][_0x2d6eca(0x13c)])[_0x2d6eca(0x142)];return _0x36c854[_0x2d6eca(0x142)]-_0x4876c9;}}[_0x13db8c(0x16c)](_0x36c6d7,_0x29bed3,_0x476e6d=this[_0x13db8c(0x162)][_0x13db8c(0x184)][_0x13db8c(0x15d)](_0x13db8c(0x146))){const _0x3af411=_0x13db8c;_0x476e6d&&(_0x29bed3=Math[_0x3af411(0x168)](_0x29bed3,this[_0x3af411(0x15b)](_0x36c6d7))),_0x36c6d7[_0x3af411(0x142)]=_0x29bed3;}[_0x13db8c(0x15b)](_0x4021cd){const _0xc55148=_0x13db8c;let _0x18eadb=this[_0xc55148(0x13b)](_0x4021cd),_0xd1d938=0x0;for(;_0x18eadb;)_0x18eadb[_0xc55148(0x16d)](),_0xd1d938+=this[_0xc55148(0x133)]+_0x18eadb[_0xc55148(0x178)],_0x18eadb=this[_0xc55148(0x13b)](_0x18eadb);return _0xd1d938;}}function M(_0x4d8c84,_0x4769ae){const _0x46841a=_0x13db8c;return Math[_0x46841a(0x168)](_0x4d8c84-_0x4769ae,0x0);}function y(_0x312532){const _0xcf4245=_0x13db8c;return null!==_0x312532&&_0xcf4245(0x177)==typeof _0x312532&&0x1===_0x312532[_0xcf4245(0x148)];}
|
|
23
|
+
const _0x3e0b8a=_0x2bc4;function _0x3f74(){const _0x2f641d=['config','define','sidebar-setcontainer-invalid-element','152pLgEvn','get','bind','1115qKklIn','_createSidebarView','set','rearrange','_updateLastItem','change:top','_getMaxAvailableTop','stopListening','_getItemAfter','init','pluginName','updateHeight','_recalculate','container','length','locale','_getItemBefore','7EBcwWk','destroy','_destroySidebarItemView','175736XDHquI','21228WytbIn','context','targetRect','last','_alignBeforeItem','isActive','setContainer','render','_activeAnnotation','_setItemTop','getIndex','class','259310QVKzeS','sidebar.preventScrollOutOfView','delete','bottom','max','isAnimationDisabled','sidebar.container','_detachFromContainer','_sidebarItemViewToAnnotation','remove','list','top','2199852tVGoUs','_spaceBetweenItems','push','refresh','Sidebar','unbind','_recalculateBuffer','addAnnotation','view','_attachToContainer','add','change:bottom','change:_lastItem','target','height','clear','_alignForTopChange','_alignToTargetRect','333210RKZUtn','_alignForBottomChange','_lastItem','appendChild','_annotationToSidebarItemView','minHeight','1314bEeobV','_getTargetTop','content','listenTo','nodeType','change:targetRect','1588280yOQXxb','_targetTop','getSidebarItemView','object','element','sidebar-attachtocontainer-missing-container','_alignAfterItem','_annotations'];_0x3f74=function(){return _0x2f641d;};return _0x3f74();}(function(_0x1cb7a0,_0x3689fa){const _0x10456f=_0x2bc4,_0x19661d=_0x1cb7a0();while(!![]){try{const _0x1bea70=parseInt(_0x10456f(0x1ac))/0x1+parseInt(_0x10456f(0x1d7))/0x2+-parseInt(_0x10456f(0x1ad))/0x3*(-parseInt(_0x10456f(0x1ee))/0x4)+-parseInt(_0x10456f(0x1f1))/0x5*(parseInt(_0x10456f(0x1dd))/0x6)+parseInt(_0x10456f(0x1a9))/0x7*(-parseInt(_0x10456f(0x1e3))/0x8)+-parseInt(_0x10456f(0x1c5))/0x9+parseInt(_0x10456f(0x1b9))/0xa;if(_0x1bea70===_0x3689fa)break;else _0x19661d['push'](_0x19661d['shift']());}catch(_0x1c9ee2){_0x19661d['push'](_0x19661d['shift']());}}}(_0x3f74,0x237d0));import{ContextPlugin as _0x1a19e5}from'ckeditor5/src/core.js';function _0x2bc4(_0x5758ee,_0x3bb705){const _0x3f7484=_0x3f74();return _0x2bc4=function(_0x2bc478,_0x2ff45c){_0x2bc478=_0x2bc478-0x1a8;let _0xfba27f=_0x3f7484[_0x2bc478];return _0xfba27f;},_0x2bc4(_0x5758ee,_0x3bb705);}import{Rect as _0x234961,CKEditorError as _0x40e15a}from'ckeditor5/src/utils.js';import _0x2a5eb3 from'./view/sidebarview.js';import _0x552569 from'./view/sidebaritemview.js';export default class z extends _0x1a19e5{static get[_0x3e0b8a(0x1fb)](){const _0x149323=_0x3e0b8a;return _0x149323(0x1c9);}constructor(_0x3cb668){const _0x2bccdd=_0x3e0b8a;super(_0x3cb668),this[_0x2bccdd(0x1f3)](_0x2bccdd(0x1d9),void 0x0),this[_0x2bccdd(0x1cd)]=this[_0x2bccdd(0x1f2)](),this[_0x2bccdd(0x1f3)](_0x2bccdd(0x1fe),null),this[_0x2bccdd(0x1c6)]=0x19,this[_0x2bccdd(0x1c1)]=new Map(),this[_0x2bccdd(0x1db)]=new Map(),this[_0x2bccdd(0x1ae)][_0x2bccdd(0x1eb)][_0x2bccdd(0x1ec)](_0x2bccdd(0x1ba),!0x1),this[_0x2bccdd(0x1ea)]=null,this[_0x2bccdd(0x1b5)]=null,this[_0x2bccdd(0x1cb)]=[];}[_0x3e0b8a(0x1fa)](){const _0x5d7938=_0x3e0b8a,_0x5cd003=this[_0x5d7938(0x1ae)][_0x5d7938(0x1eb)][_0x5d7938(0x1ef)](_0x5d7938(0x1bf));_0x5cd003&&this[_0x5d7938(0x1b3)](_0x5cd003);}[_0x3e0b8a(0x1b3)](_0x216be3){const _0x583050=_0x3e0b8a;if(!y(_0x216be3))throw new _0x40e15a(_0x583050(0x1ed));this[_0x583050(0x1fe)]=_0x216be3;}[_0x3e0b8a(0x1ce)]({viewClass:_0x14bfce='',spaceBetweenItems:_0x3724e4=0x19}={}){const _0x3ef437=_0x3e0b8a;if(!y(this[_0x3ef437(0x1fe)]))throw new _0x40e15a(_0x3ef437(0x1e8),this);this[_0x3ef437(0x1fe)][_0x3ef437(0x1da)](this[_0x3ef437(0x1cd)][_0x3ef437(0x1e7)]),this[_0x3ef437(0x1cd)][_0x3ef437(0x1b8)]=_0x14bfce,this[_0x3ef437(0x1c6)]=_0x3724e4;}[_0x3e0b8a(0x1f4)]({removedAnnotation:_0x3ae36e,previousAnnotation:_0x98c3aa,nextAnnotation:_0x2e3d53}){const _0x181287=_0x3e0b8a,_0x492eb0=this[_0x181287(0x1e5)](_0x3ae36e);this[_0x181287(0x1cd)][_0x181287(0x1c3)][_0x181287(0x1c2)](_0x492eb0),this[_0x181287(0x1ab)](_0x3ae36e),_0x98c3aa&&this[_0x181287(0x1d6)](this[_0x181287(0x1e5)](_0x98c3aa)),_0x2e3d53&&this[_0x181287(0x1d6)](this[_0x181287(0x1e5)](_0x2e3d53)),this[_0x181287(0x1f5)]();}[_0x3e0b8a(0x1c8)]({blurredAnnotation:_0x46eeef,activatedAnnotation:_0xc3c09a,disableAnimationOnActivatedAnnotation:_0xef25a}){const _0x137771=_0x3e0b8a;if(this[_0x137771(0x1b5)]=_0xc3c09a,_0x46eeef){_0x46eeef[_0x137771(0x1b2)]=!0x1;const _0x474072=this[_0x137771(0x1e5)](_0x46eeef);_0x474072&&_0xef25a&&(_0x474072[_0x137771(0x1be)]=!0x1);}if(_0xc3c09a){const _0x5c575f=this[_0x137771(0x1e5)](_0xc3c09a);_0x5c575f&&(_0xc3c09a[_0x137771(0x1b2)]=!0x0,_0xef25a&&(_0x5c575f[_0x137771(0x1be)]=!0x0,_0x5c575f[_0x137771(0x1c4)]+=0x1),this[_0x137771(0x1d6)](_0x5c575f));}}[_0x3e0b8a(0x1c0)](_0x291b22){const _0x1d4737=_0x3e0b8a;if(this[_0x1d4737(0x1cd)][_0x1d4737(0x1e7)][_0x1d4737(0x1c2)](),_0x291b22){for(const _0x1b3cff of _0x291b22)this[_0x1d4737(0x1ab)](_0x1b3cff);}this[_0x1d4737(0x1cd)][_0x1d4737(0x1c3)][_0x1d4737(0x1d4)](),this[_0x1d4737(0x1cd)][_0x1d4737(0x1b8)]='',this[_0x1d4737(0x1d9)]=null;}[_0x3e0b8a(0x1cc)](_0x27db9f,_0x690880){const _0x3849c9=_0x3e0b8a;_0x690880||(_0x690880=_0x27db9f[_0x3849c9(0x1cd)]);const _0x4fe523=new _0x552569(this[_0x3849c9(0x1ae)][_0x3849c9(0x200)]);this[_0x3849c9(0x1c1)][_0x3849c9(0x1f3)](_0x4fe523,_0x27db9f),this[_0x3849c9(0x1db)][_0x3849c9(0x1f3)](_0x27db9f,_0x4fe523),_0x4fe523[_0x3849c9(0x1df)][_0x3849c9(0x1cf)](_0x690880),this[_0x3849c9(0x1e0)](_0x27db9f[_0x3849c9(0x1cd)],_0x3849c9(0x1e2),(_0x3d023e,_0x500878,_0x46db27)=>{const _0x1e4607=_0x3849c9,_0x276a8e=this[_0x1e4607(0x1de)](_0x27db9f,_0x46db27);_0x4fe523[_0x1e4607(0x1e4)]!=_0x276a8e&&(_0x4fe523[_0x1e4607(0x1e4)]=_0x276a8e,this[_0x1e4607(0x1b6)](_0x4fe523,_0x276a8e));}),this[_0x3849c9(0x1e0)](_0x4fe523,_0x3849c9(0x1f6),()=>{const _0x2cdddd=_0x3849c9;this[_0x2cdddd(0x1fd)](_0x4fe523,_0x2cdddd(0x1c4));}),this[_0x3849c9(0x1e0)](_0x4fe523,_0x3849c9(0x1d0),()=>{const _0x3e32bf=_0x3849c9;this[_0x3e32bf(0x1fd)](_0x4fe523,_0x3e32bf(0x1bc));}),this[_0x3849c9(0x1d6)](_0x4fe523);const _0x260e92=this[_0x3849c9(0x1a8)](_0x4fe523);if(_0x260e92)this[_0x3849c9(0x1e9)](_0x260e92,_0x4fe523)||this[_0x3849c9(0x1d6)](_0x4fe523);else this[_0x3849c9(0x1d6)](_0x4fe523);return this[_0x3849c9(0x1f5)](),this[_0x3849c9(0x1cd)][_0x3849c9(0x1c3)][_0x3849c9(0x1cf)](_0x4fe523),_0x4fe523;}[_0x3e0b8a(0x1d5)](_0x15c265){const _0x13986a=_0x3e0b8a;if(!_0x15c265[_0x13986a(0x1df)][_0x13986a(0x1ff)])return;const _0x3d078e=this[_0x13986a(0x1a8)](_0x15c265);if(!_0x3d078e)return;const _0x465460=this[_0x13986a(0x1c1)][_0x13986a(0x1ef)](_0x3d078e),_0xa1d945=this[_0x13986a(0x1b5)];_0xa1d945&&_0xa1d945===_0x465460?this[_0x13986a(0x1e9)](_0x3d078e,_0x15c265):this[_0x13986a(0x1b1)](_0x15c265,_0x3d078e);}[_0x3e0b8a(0x1d8)](_0x181d61){const _0x3979cb=_0x3e0b8a;if(!_0x181d61[_0x3979cb(0x1df)][_0x3979cb(0x1ff)])return;const _0xf31255=this[_0x3979cb(0x1f9)](_0x181d61);if(!_0xf31255)return;const _0xa8bc0a=this[_0x3979cb(0x1c1)][_0x3979cb(0x1ef)](_0xf31255),_0x7e76af=this[_0x3979cb(0x1ae)][_0x3979cb(0x1eb)][_0x3979cb(0x1ef)](_0x3979cb(0x1ba)),_0x392ec6=this[_0x3979cb(0x1b5)];_0x392ec6&&_0x392ec6===_0xa8bc0a&&_0x7e76af?(this[_0x3979cb(0x1b1)](_0xf31255,_0x181d61),this[_0x3979cb(0x1e9)](_0x181d61,_0xf31255)):_0x392ec6&&_0x392ec6===_0xa8bc0a?this[_0x3979cb(0x1b1)](_0xf31255,_0x181d61):this[_0x3979cb(0x1e9)](_0x181d61,_0xf31255);}[_0x3e0b8a(0x1fd)](_0xe637eb,_0x46db7d){const _0x529e8a=_0x3e0b8a;0x0===this[_0x529e8a(0x1cb)][_0x529e8a(0x1ff)]&&setTimeout(()=>{const _0x23974f=_0x529e8a;for(const {sidebarItemView:_0x222b90,changedProp:_0x5f4819}of this[_0x23974f(0x1cb)])_0x23974f(0x1c4)===_0x5f4819?this[_0x23974f(0x1d5)](_0x222b90):this[_0x23974f(0x1d8)](_0x222b90);this[_0x23974f(0x1cb)]=[];},0xa),this[_0x529e8a(0x1cb)][_0x529e8a(0x1c7)]({'sidebarItemView':_0xe637eb,'changedProp':_0x46db7d});}[_0x3e0b8a(0x1e5)](_0x34ed55){const _0xdc2633=_0x3e0b8a;return this[_0xdc2633(0x1db)][_0xdc2633(0x1ef)](_0x34ed55);}[_0x3e0b8a(0x1aa)](){const _0x53f774=_0x3e0b8a;this[_0x53f774(0x1f8)](),this[_0x53f774(0x1cd)][_0x53f774(0x1aa)]();}[_0x3e0b8a(0x1ab)](_0x436028){const _0x2d5dd7=_0x3e0b8a,_0x570831=this[_0x2d5dd7(0x1e5)](_0x436028);this[_0x2d5dd7(0x1f8)](_0x570831),this[_0x2d5dd7(0x1f8)](_0x436028[_0x2d5dd7(0x1cd)]),_0x570831[_0x2d5dd7(0x1aa)](),this[_0x2d5dd7(0x1db)][_0x2d5dd7(0x1bb)](_0x436028),this[_0x2d5dd7(0x1c1)][_0x2d5dd7(0x1bb)](_0x570831);}[_0x3e0b8a(0x1f2)](){const _0x1e8331=_0x3e0b8a,_0x32612b=new _0x2a5eb3(this[_0x1e8331(0x1ae)][_0x1e8331(0x200)]);return _0x32612b[_0x1e8331(0x1b4)](),this['on'](_0x1e8331(0x1d1),(_0xa48848,_0x2b6265,_0x1a6ee3,_0x44bbeb)=>{const _0x381040=_0x1e8331;_0x44bbeb&&_0x32612b[_0x381040(0x1ca)](_0x381040(0x1dc)),_0x1a6ee3?_0x32612b[_0x381040(0x1f0)](_0x381040(0x1dc))['to'](_0x1a6ee3,_0x381040(0x1bc)):_0x32612b[_0x381040(0x1dc)]=null;}),_0x32612b;}[_0x3e0b8a(0x1f5)](){const _0x44e04d=_0x3e0b8a;var _0x206151;this[_0x44e04d(0x1d9)]=(null===(_0x206151=this[_0x44e04d(0x1ea)])||void 0x0===_0x206151?void 0x0:_0x206151[_0x44e04d(0x1b0)])?this[_0x44e04d(0x1e5)](this[_0x44e04d(0x1ea)][_0x44e04d(0x1b0)]):null;}[_0x3e0b8a(0x1a8)](_0xbc925d){const _0x4d8ec3=_0x3e0b8a;var _0x515e05;const _0x118e94=this[_0x4d8ec3(0x1c1)][_0x4d8ec3(0x1ef)](_0xbc925d),_0x53d873=_0x118e94&&(null===(_0x515e05=this[_0x4d8ec3(0x1ea)])||void 0x0===_0x515e05?void 0x0:_0x515e05[_0x4d8ec3(0x1ef)](this[_0x4d8ec3(0x1ea)][_0x4d8ec3(0x1b7)](_0x118e94)-0x1));return _0x53d873&&this[_0x4d8ec3(0x1e5)](_0x53d873)||null;}[_0x3e0b8a(0x1f9)](_0x42f50f){const _0x550f5a=_0x3e0b8a;var _0x467258;const _0x47d2ef=this[_0x550f5a(0x1c1)][_0x550f5a(0x1ef)](_0x42f50f),_0x3762c2=_0x47d2ef&&(null===(_0x467258=this[_0x550f5a(0x1ea)])||void 0x0===_0x467258?void 0x0:_0x467258[_0x550f5a(0x1ef)](this[_0x550f5a(0x1ea)][_0x550f5a(0x1b7)](_0x47d2ef)+0x1));return _0x3762c2&&this[_0x550f5a(0x1e5)](_0x3762c2)||null;}[_0x3e0b8a(0x1b1)](_0x5b9a76,_0x376e97){const _0x1e481b=_0x3e0b8a;_0x5b9a76[_0x1e481b(0x1fc)]();const _0x304375=M(_0x376e97[_0x1e481b(0x1bc)]+this[_0x1e481b(0x1c6)],_0x5b9a76[_0x1e481b(0x1c4)]);return!!_0x304375&&(this[_0x1e481b(0x1b6)](_0x376e97,_0x376e97[_0x1e481b(0x1c4)]-_0x304375),!0x0);}[_0x3e0b8a(0x1e9)](_0x32598e,_0xda7eaa){const _0x34e8a3=_0x3e0b8a;_0x32598e[_0x34e8a3(0x1fc)]();const _0x58b940=M(_0x32598e[_0x34e8a3(0x1bc)]+this[_0x34e8a3(0x1c6)],_0xda7eaa[_0x34e8a3(0x1c4)]);return!!_0x58b940&&(this[_0x34e8a3(0x1b6)](_0xda7eaa,_0xda7eaa[_0x34e8a3(0x1c4)]+_0x58b940,!0x1),!0x0);}[_0x3e0b8a(0x1d6)](_0x10b363){const _0x26ba70=_0x3e0b8a,_0x1313bf=this[_0x26ba70(0x1c1)][_0x26ba70(0x1ef)](_0x10b363);if(!_0x1313bf||!_0x1313bf[_0x26ba70(0x1d2)]||!_0x1313bf[_0x26ba70(0x1af)])return;const _0x2bee4e=this[_0x26ba70(0x1de)](_0x1313bf,_0x1313bf[_0x26ba70(0x1af)]);this[_0x26ba70(0x1b6)](_0x10b363,_0x2bee4e);}[_0x3e0b8a(0x1de)](_0x46ed2f,_0x2894ee){const _0xe66623=_0x3e0b8a;if(null===_0x2894ee)return 0x0;if(_0x46ed2f[_0xe66623(0x1d2)]instanceof _0x234961)return _0x2894ee[_0xe66623(0x1c4)];{const _0x15da65=new _0x234961(this[_0xe66623(0x1cd)][_0xe66623(0x1e7)])[_0xe66623(0x1c4)];return _0x2894ee[_0xe66623(0x1c4)]-_0x15da65;}}[_0x3e0b8a(0x1b6)](_0x1d595d,_0x103dec,_0x3436d0=this[_0x3e0b8a(0x1ae)][_0x3e0b8a(0x1eb)][_0x3e0b8a(0x1ef)](_0x3e0b8a(0x1ba))){const _0x412ca0=_0x3e0b8a;_0x3436d0&&(_0x103dec=Math[_0x412ca0(0x1bd)](_0x103dec,this[_0x412ca0(0x1f7)](_0x1d595d))),_0x1d595d[_0x412ca0(0x1c4)]=_0x103dec;}[_0x3e0b8a(0x1f7)](_0x1f15bf){const _0x13e2e3=_0x3e0b8a;let _0x3c063b=this[_0x13e2e3(0x1a8)](_0x1f15bf),_0x5c37eb=0x0;for(;_0x3c063b;)_0x3c063b[_0x13e2e3(0x1fc)](),_0x5c37eb+=this[_0x13e2e3(0x1c6)]+_0x3c063b[_0x13e2e3(0x1d3)],_0x3c063b=this[_0x13e2e3(0x1a8)](_0x3c063b);return _0x5c37eb;}}function M(_0x1fdddf,_0x1c463d){const _0x1353c4=_0x3e0b8a;return Math[_0x1353c4(0x1bd)](_0x1fdddf-_0x1c463d,0x0);}function y(_0x12d2bd){const _0x46b57=_0x3e0b8a;return null!==_0x12d2bd&&_0x46b57(0x1e6)==typeof _0x12d2bd&&0x1===_0x12d2bd[_0x46b57(0x1e1)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3e3880,_0x23c794){const _0x2b2367=_0x1081,_0xa567cd=_0x3e3880();while(!![]){try{const _0xbb6361=parseInt(_0x2b2367(0x164))/0x1+parseInt(_0x2b2367(0x16f))/0x2+-parseInt(_0x2b2367(0x174))/0x3*(parseInt(_0x2b2367(0x15a))/0x4)+-parseInt(_0x2b2367(0x16e))/0x5*(parseInt(_0x2b2367(0x169))/0x6)+parseInt(_0x2b2367(0x16c))/0x7*(-parseInt(_0x2b2367(0x159))/0x8)+parseInt(_0x2b2367(0x16a))/0x9+-parseInt(_0x2b2367(0x166))/0xa;if(_0xbb6361===_0x23c794)break;else _0xa567cd['push'](_0xa567cd['shift']());}catch(_0x3651db){_0xa567cd['push'](_0xa567cd['shift']());}}}(_0x723b,0x2f2d0));import{ButtonView as _0x1475c1,View as _0x3527fc}from'ckeditor5/src/ui.js';function _0x723b(){const _0x3e8ee8=['setTemplate','counterView','add','icon','ck-annotation-counter__badge','extendTemplate','bindTemplate','annotationType','ck-annotation-counter__badge--edit-mode','345468bNpiAH','ck-annotation-counter','2682040kaCYLI','number','toString','169374TMgOLq','3122712qOAiSN','_badge','175JyRwTw','isDirty','5EPpgqo','579964fUgDPV','children','bind','...','set','723UHbXII','span','ck-annotation-counter__badge--','60664eOvdWq','5032nyJZvN'];_0x723b=function(){return _0x3e8ee8;};return _0x723b();}import _0x51f28c from'../../../theme/icons/add-comment.svg';function _0x1081(_0x6b9f06,_0x8cc2f3){const _0x723bee=_0x723b();return _0x1081=function(_0x1081e9,_0x4198a1){_0x1081e9=_0x1081e9-0x158;let _0x3d33eb=_0x723bee[_0x1081e9];return _0x3d33eb;},_0x1081(_0x6b9f06,_0x8cc2f3);}export default class D extends _0x1475c1{constructor(_0x210033){const _0x4fb7d6=_0x1081;super(_0x210033);const _0x77ee91=this[_0x4fb7d6(0x161)];this[_0x4fb7d6(0x173)](_0x4fb7d6(0x16d),!0x1),this[_0x4fb7d6(0x173)](_0x4fb7d6(0x167),0x0),this[_0x4fb7d6(0x171)](_0x4fb7d6(0x16b))['to'](this,_0x4fb7d6(0x16d),this,_0x4fb7d6(0x167),(_0x5ab7bb,_0x3e3a40)=>_0x5ab7bb?_0x4fb7d6(0x172):_0x3e3a40[_0x4fb7d6(0x168)]()),this[_0x4fb7d6(0x173)](_0x4fb7d6(0x162),''),this[_0x4fb7d6(0x15e)]=_0x51f28c,this[_0x4fb7d6(0x160)]({'attributes':{'class':[_0x4fb7d6(0x165)]}}),this[_0x4fb7d6(0x15c)]=new _0x3527fc(),this[_0x4fb7d6(0x15c)][_0x4fb7d6(0x15b)]({'tag':_0x4fb7d6(0x175),'attributes':{'class':[_0x4fb7d6(0x15f),_0x77ee91['to'](_0x4fb7d6(0x162),_0x11278c=>_0x4fb7d6(0x158)+_0x11278c),_0x77ee91['if'](_0x4fb7d6(0x16d),_0x4fb7d6(0x163))]},'children':[{'text':_0x77ee91['to'](_0x4fb7d6(0x16b))}]}),this[_0x4fb7d6(0x170)][_0x4fb7d6(0x15d)](this[_0x4fb7d6(0x15c)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x269829=_0x1bd4;function _0x1bd4(_0xcabf5e,_0x140f85){const _0x3eb749=_0x3eb7();return _0x1bd4=function(_0x1bd458,_0x52e1a){_0x1bd458=_0x1bd458-0x181;let _0x80252a=_0x3eb749[_0x1bd458];return _0x80252a;},_0x1bd4(_0xcabf5e,_0x140f85);}(function(_0x3ec9d0,_0xf76c8a){const _0x33ceac=_0x1bd4,_0x3ce356=_0x3ec9d0();while(!![]){try{const _0x1870d4=parseInt(_0x33ceac(0x18e))/0x1+-parseInt(_0x33ceac(0x194))/0x2+-parseInt(_0x33ceac(0x1aa))/0x3*(-parseInt(_0x33ceac(0x1a5))/0x4)+-parseInt(_0x33ceac(0x189))/0x5*(-parseInt(_0x33ceac(0x198))/0x6)+parseInt(_0x33ceac(0x1a4))/0x7+-parseInt(_0x33ceac(0x19b))/0x8*(parseInt(_0x33ceac(0x185))/0x9)+-parseInt(_0x33ceac(0x199))/0xa;if(_0x1870d4===_0xf76c8a)break;else _0x3ce356['push'](_0x3ce356['shift']());}catch(_0x36ee9a){_0x3ce356['push'](_0x3ce356['shift']());}}}(_0x3eb7,0xe399b));import{View as _0xb57a93}from'ckeditor5/src/ui.js';import{FocusTracker as _0x184d81,KeystrokeHandler as _0x2f316d,uid as _0x4daa1b}from'ckeditor5/src/utils.js';function _0x3eb7(){const _0x2a5019=['detach','ck-rounded-corners','_updateHeight','clear','397922PJdeqO','13048aTcXtT','listenTo','height','focusTracker','set','1341vDjdKM','Esc','destroy','clientHeight','attach','7026408SxCNgV','element','div','keystrokes','770515paIfQv','length','bindTemplate','targetRect','add','792978upLgqI','content','render','mainView','ck-annotation-wrapper','_mutationObserver','3482050NEAhOe','focus','isActive','isDirty','48reBrdn','867740MNMtON','ck-annotation-wrapper--active','8LJtnIc','setTemplate','fire','createCollection','type'];_0x3eb7=function(){return _0x2a5019;};return _0x3eb7();}import _0x53993a from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0xb57a93{constructor(_0x39a17d,_0x201619){const _0x367e49=_0x1bd4;super(_0x39a17d),this['id']=_0x4daa1b(),this[_0x367e49(0x1a8)]=new _0x184d81(),this[_0x367e49(0x188)]=new _0x2f316d(),this[_0x367e49(0x188)][_0x367e49(0x1a9)](_0x367e49(0x181),(_0x40c1a4,_0x236bf3)=>this[_0x367e49(0x19d)](_0x367e49(0x181),_0x236bf3)),this[_0x367e49(0x1a9)](_0x367e49(0x18c),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x367e49(0x1a9)](_0x367e49(0x1a7),0x0),this[_0x367e49(0x1a9)](_0x367e49(0x196),!0x1),this[_0x367e49(0x1a9)](_0x367e49(0x197),!0x1),this[_0x367e49(0x1a9)](_0x367e49(0x18a),0x0),this[_0x367e49(0x1a9)](_0x367e49(0x19f),''),this[_0x367e49(0x193)]=_0x53993a(()=>this[_0x367e49(0x1a2)]()),this[_0x367e49(0x18f)]=this[_0x367e49(0x19e)](),this[_0x367e49(0x18f)][_0x367e49(0x18d)](_0x201619),this[_0x367e49(0x191)]=_0x201619;const _0x35d756=this[_0x367e49(0x18b)];this[_0x367e49(0x19c)]({'tag':_0x367e49(0x187),'attributes':{'class':['ck',_0x367e49(0x192),_0x367e49(0x1a1),_0x35d756['if'](_0x367e49(0x196),_0x367e49(0x19a))],'tabindex':-0x1},'children':this[_0x367e49(0x18f)]});}[_0x269829(0x190)](){const _0x248221=_0x269829;super[_0x248221(0x190)](),this[_0x248221(0x1a8)][_0x248221(0x18d)](this[_0x248221(0x186)]),this[_0x248221(0x188)][_0x248221(0x1a6)](this[_0x248221(0x186)]),this[_0x248221(0x193)][_0x248221(0x184)](this[_0x248221(0x186)]);}[_0x269829(0x182)](){const _0x11aaf9=_0x269829;this[_0x11aaf9(0x18f)][_0x11aaf9(0x1a3)](),this[_0x11aaf9(0x188)][_0x11aaf9(0x182)](),this[_0x11aaf9(0x1a8)][_0x11aaf9(0x182)](),this[_0x11aaf9(0x193)][_0x11aaf9(0x1a0)](),super[_0x11aaf9(0x182)]();}[_0x269829(0x195)](){const _0x50b856=_0x269829;this[_0x50b856(0x186)][_0x50b856(0x195)]();}[_0x269829(0x1a2)](){const _0x39cff8=_0x269829,_0x4490ec=this[_0x39cff8(0x186)][_0x39cff8(0x183)];_0x4490ec&&(this[_0x39cff8(0x1a7)]=_0x4490ec);}}
|