@ckeditor/ckeditor5-list-multi-level 48.8.1-alpha.0 → 48.8.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x4e8890,Plugin as _0x273b5d}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x13ebae,ViewUpcastWriter as _0x298e9f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x22e227,_isFirstBlockOfListItem as _0x8b6414}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x1c110d,createElement as _0x3af0f0,uid as _0x3e6f20,FocusTracker as _0x36ed20,KeystrokeHandler as _0x59bf42,global as _0x37cc8c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x1c5039}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1cd80b,ViewCollection as _0x2a4fdb,FocusCycler as _0x25ed82,addKeyboardHandlingForGrid as _0x36c8ed,CollapsibleView as _0x131269,LabeledFieldView as _0x490308,createLabeledInputNumber as _0x357ad3,MenuBarMenuListItemButtonView as _0x3eadef,ButtonView as _0x2141d9,createDropdown as _0xb14c0d,SplitButtonView as _0x26b3bc}from'@ckeditor/ckeditor5-ui/dist/index.js';class MultiLevelListCommand extends _0x4e8890{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x411685,_0x59b368,_0x39d272){super(_0x411685),this['defaultListMarkerStyle']=_0x59b368,this['_listDefinitions']=_0x39d272,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x7a556c={}){const _0x47b766=this['editor']['model'],_0x2f096c=_0x7a556c['listMarkerStyle']||this['defaultListMarkerStyle'];_0x47b766['change'](()=>{const _0x536c57=this['_getListTypeFromListMarkerStyle'](_0x2f096c);if(!_0x536c57)return;const _0x4f4ecd=_0x536c57+'List';this['editor']['execute'](_0x4f4ecd,{'additionalAttributes':{'listMarkerStyle':_0x2f096c}});});}['_getValue'](){const _0x3118d6=_0x1c110d(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x3118d6)?_0x3118d6['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x5d9aed=this['editor'],_0x2fab64=_0x5d9aed['commands']['get']('customNumberedList'),_0x5b06a8=_0x5d9aed['commands']['get']('customBulletedList');return _0x2fab64['isEnabled']||_0x5b06a8['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x5b657c){const _0x358a31=this['_listDefinitions']['find'](_0x126152=>_0x126152['listMarkerStyle']==_0x5b657c);return _0x358a31?_0x358a31['listType']:null;}}class MultiLevelListEditing extends _0x273b5d{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x22e227];}constructor(_0x5b9719){super(_0x5b9719);const _0x5033fa=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x1293aa=>_0x1293aa+'.'}]},..._0x5033fa];}['init'](){const _0x21faf1=this['editor'],_0x19dcee=_0x21faf1['model'],_0x31f1ec=_0x21faf1['editing']['view'],_0x3c562f=_0x21faf1['plugins']['get'](_0x22e227);_0x21faf1['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x21faf1,'legal',this['_listDefinitions'])),_0x19dcee['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x19dcee['schema']['addAttributeCheck']((_0x20f6aa,_0x4b6be7)=>{const _0x1d21ec=_0x20f6aa['last'];if('listMarker'==_0x4b6be7||'listMarkerStyle'==_0x4b6be7)return!(!_0x1d21ec['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x2595e9=>_0x2595e9['listType']==_0x1d21ec['getAttribute']('listType')))&&void 0x0;});for(const _0x2452bf of this['_listDefinitions'])_0x21faf1['conversion']['for']('upcast')['add'](_0x5f266b=>{_0x5f266b['on']('element:'+('customNumbered'==_0x2452bf['listType']?'ol':'ul'),N(_0x2452bf,_0x19dcee['schema']),{'priority':'low'});}),_0x3c562f['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x33e377,_0x454090,_0x2978ca){_0x454090==_0x2452bf['listMarkerStyle']?(_0x33e377['addClass'](['multi-level-list',_0x2452bf['className']],_0x2978ca),_0x33e377['setStyle']('list-style-type','none',_0x2978ca)):(_0x33e377['removeClass'](['multi-level-list',_0x2452bf['className']],_0x2978ca),_0x33e377['removeStyle']('list-style-type',_0x2978ca));}}),_0x3c562f['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x14b3e8,_0xc6a4b9,{dataPipeline:_0x2709c7}){if(!_0xc6a4b9['hasAttribute']('listMarker'))return null;if(_0xc6a4b9['getAttribute']('listType')!=_0x2452bf['listType']||_0xc6a4b9['getAttribute']('listMarkerStyle')!=_0x2452bf['listMarkerStyle'])return null;const _0x25c78f=String(_0xc6a4b9['getAttribute']('listMarker')),_0x59d7b3=this['canInjectMarkerIntoElement'](_0xc6a4b9);return _0x14b3e8['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x2709c7&&{'contenteditable':'false','data-multi-level-list-marker':_0x25c78f}},function(_0x1fa777){const _0x53d62f=this['toDomElement'](_0x1fa777);return _0x59d7b3?(_0x53d62f['appendChild'](_0x3af0f0(_0x1fa777,'span',{},_0x2709c7?_0x1fa777['createTextNode'](_0x25c78f):[])),_0x53d62f['appendChild'](_0x1fa777['createTextNode']('\u00a0'))):_0x2709c7&&_0x53d62f['appendChild'](_0x1fa777['createTextNode'](_0x25c78f)),_0x53d62f;});},'canInjectMarkerIntoElement':_0x207496=>_0x19dcee['schema']['checkChild'](_0x207496,'$text')&&_0x19dcee['schema']['checkChild'](_0x207496,'$inlineObject')&&!_0x19dcee['schema']['isLimit'](_0x207496)&&_0x207496['getAttribute']('listType')==_0x2452bf['listType']&&_0x207496['getAttribute']('listMarkerStyle')==_0x2452bf['listMarkerStyle']});_0x21faf1['conversion']['for']('upcast')['add'](_0x262671=>{_0x262671['on']('element:span',function(_0x1898b0){return(_0x189eb4,_0x12f0d6,{writer:_0xa2d182,consumable:_0x4677ef})=>{const _0x27abd2=_0x12f0d6['modelCursor'],_0x1d0b9f=_0x27abd2['parent'],_0x525d31=_0x12f0d6['viewItem'];if(_0x4677ef['consume'](_0x525d31,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x27abd2['isAtStart']&&_0x1d0b9f['hasAttribute']('listType')&&_0x525d31['childCount']>0x0){const _0x1e937e=_0x1898b0['createRangeIn'](_0x525d31);let _0x28bf33='';for(const _0xf66598 of _0x1e937e['getItems']())_0xf66598['is']('$textProxy')?(_0x28bf33+=_0xf66598['data']['trim'](),_0x4677ef['consume'](_0xf66598['textNode'])):_0x4677ef['consume'](_0xf66598,{'name':!0x0});_0xa2d182['setAttribute']('listMarker',_0x28bf33['trim'](),_0x1d0b9f);}};}(_0x31f1ec));}),_0x3c562f['on']('postFixer',(_0x3f3357,{listNodes:_0x58ed9e,writer:_0x3b4a39})=>{const _0x53fb47=[];for(const {node:_0x3c7d5b,previousNodeInList:_0x1324b0}of _0x58ed9e){const _0x125d21=_0x3c7d5b['getAttribute']('listType'),_0x326d=_0x3c7d5b['getAttribute']('listMarkerStyle')||('customNumbered'==_0x125d21?'legal':void 0x0),_0xeff0a9=this['_listDefinitions']['find'](_0x4e4349=>_0x4e4349['listType']==_0x125d21&&_0x4e4349['listMarkerStyle']==_0x326d);if('customNumbered'!=_0x125d21&&'customBulleted'!=_0x125d21&&(_0x3c7d5b['hasAttribute']('listMarker')&&(_0x3b4a39['removeAttribute']('listMarker',_0x3c7d5b),_0x3f3357['return']=!0x0),_0x3c7d5b['hasAttribute']('listMarkerStyle')&&(_0x3b4a39['removeAttribute']('listMarkerStyle',_0x3c7d5b),_0x3f3357['return']=!0x0)),!_0xeff0a9){'customBulleted'!=_0x125d21||_0x326d||(_0x3b4a39['setAttribute']('listType','bulleted',_0x3c7d5b),_0x3f3357['return']=!0x0);continue;}_0x3c7d5b['hasAttribute']('listMarkerStyle')||(_0x3b4a39['setAttribute']('listMarkerStyle',_0x326d,_0x3c7d5b),_0x3f3357['return']=!0x0);const _0x448fa8=_0x3c7d5b['getAttribute']('listIndent');if(_0x1324b0&&_0x1324b0['getAttribute']('listItemId')==_0x3c7d5b['getAttribute']('listItemId'))continue;_0x53fb47['length']=_0x448fa8+0x1,_0x1324b0||_0x53fb47[_0x448fa8]?_0x1324b0&&_0x1324b0['getAttribute']('listType')!=_0xeff0a9['listType']?_0x53fb47[_0x448fa8]=0x1:_0x53fb47[_0x448fa8]++:_0x53fb47[_0x448fa8]=_0x3c7d5b['getAttribute']('listStart')||0x1;const _0x119cab=I(_0x448fa8,_0xeff0a9,_0x53fb47);_0x3c7d5b['getAttribute']('listMarker')!=_0x119cab&&(_0x3b4a39['setAttribute']('listMarker',_0x119cab,_0x3c7d5b),_0x3f3357['return']=!0x0);}}),_0x3c562f['on']('checkElement',(_0x222e3f,{modelElement:_0x3cb271,viewElement:_0x27ca03})=>{const _0x3e4b3d=_0x3cb271['getAttribute']('listType');if('customNumbered'!=_0x3e4b3d&&'customBulleted'!=_0x3e4b3d)return;if(_0x19dcee['schema']['checkChild'](_0x3cb271,'$text'))return;const _0x23ce19=_0x8b6414(_0x3cb271);let _0x42d524=!0x1;const _0x366240=_0x31f1ec['createPositionBefore'](_0x27ca03)['getWalker']({'direction':'backward'});for(const {item:_0x40a381}of _0x366240)if(_0x40a381['is']('element')){if(_0x21faf1['editing']['mapper']['toModelElement'](_0x40a381))break;if(_0x40a381['getCustomProperty']('listItemMarker')){_0x42d524=!0x0;break;}}_0x42d524!=_0x23ce19&&(_0x222e3f['return']=!0x0,_0x222e3f['stop']());});const _0x70a123=_0x21faf1['editing']['view']['document'];this['listenTo'](_0x70a123,'clipboardOutput',(_0x33e9bc,_0x2145d8)=>{const _0x36075b=new _0x13ebae({'name':'span','classes':'multi-level-list__marker'}),_0x36664c=new _0x13ebae({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x4a7e91=new _0x298e9f(_0x2145d8['content']['document']),_0x58dd83=[];for(const _0x5cba8f of _0x4a7e91['createRangeIn'](_0x2145d8['content'])['getItems']())_0x5cba8f['is']('element')&&_0x36075b['match'](_0x5cba8f)&&_0x58dd83['push'](_0x5cba8f),_0x5cba8f['is']('element')&&_0x36664c['match'](_0x5cba8f)&&_0x4a7e91['removeStyle']('list-style-type',_0x5cba8f);for(const _0x1dfed5 of _0x58dd83)_0x4a7e91['remove'](_0x1dfed5);});}['afterInit'](){!async function(_0x21e49a){const _0x2af4d8=_0x175715([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x15c7d1=0xf46a94a,_0x5fae53=0xf41236a^_0x15c7d1,_0x3e3242=window[_0x175715([0x44,0x61,0x74,0x65])][_0x175715([0x6e,0x6f,0x77])](),_0x4e32ba=_0x21e49a[_0x175715([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2087be=new window[(_0x175715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ca635=>{_0x4e32ba[_0x175715([0x6f,0x6e,0x63,0x65])](_0x175715([0x72,0x65,0x61,0x64,0x79]),_0x4ca635);}),_0x15cf54={[_0x175715([0x6b,0x74,0x79])]:_0x175715([0x45,0x43]),[_0x175715([0x75,0x73,0x65])]:_0x175715([0x73,0x69,0x67]),[_0x175715([0x63,0x72,0x76])]:_0x175715([0x50,0x2d,0x32,0x35,0x36]),[_0x175715([0x78])]:_0x175715([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x175715([0x79])]:_0x175715([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x175715([0x61,0x6c,0x67])]:_0x175715([0x45,0x53,0x32,0x35,0x36])},_0x583a71=_0x4e32ba[_0x175715([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x175715([0x67,0x65,0x74])](_0x175715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x129fd1(){let _0x2332ea,_0xf617=null,_0x57176c=null;try{if(_0x583a71==_0x175715([0x47,0x50,0x4c]))return _0x175715([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2332ea=_0x1d60aa(),!_0x2332ea)return _0x175715([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2332ea[_0x175715([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57176c=_0x2a1d69(_0x2332ea[_0x175715([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2332ea[_0x175715([0x6a,0x74,0x69])])),await _0x45914c()?_0x1566fe()?_0x583d98()?_0x175715([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e661f()?(_0x2332ea[_0x175715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x175715([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf617=_0x1535d7(_0x175715([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d76a3()):_0x175715([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x175715([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x175715([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x175715([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x583d98(){const _0x4eed3f=[_0x175715([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x175715([0x74,0x72,0x69,0x61,0x6c])][_0x175715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2332ea[_0x175715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e3242/0x3e8:0xe10*_0x5fae53;return _0x2332ea[_0x175715([0x65,0x78,0x70])]<_0x4eed3f;}function _0x1566fe(){const _0x214d59=_0x2332ea[_0x175715([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x214d59&&(!!_0x214d59[_0x175715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x175715([0x2a]))||!!_0x214d59[_0x175715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x175715([0x4d,0x4c,0x4c])));}function _0x3e661f(){const _0xa683ac=_0x2332ea[_0x175715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa683ac||0x0==_0xa683ac[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x342322}=new URL(window[_0x175715([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa683ac[_0x175715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x342322))return!0x0;const _0x499629=_0x342322[_0x175715([0x73,0x70,0x6c,0x69,0x74])](_0x175715([0x2e]));return _0xa683ac[_0x175715([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x123f34=>_0x123f34[_0x175715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x175715([0x2a])))[_0x175715([0x6d,0x61,0x70])](_0x3a9c0a=>_0x3a9c0a[_0x175715([0x73,0x70,0x6c,0x69,0x74])](_0x175715([0x2e])))[_0x175715([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbce04=>_0xbce04[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x499629[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x175715([0x6d,0x61,0x70])](_0x29f418=>Array(_0x499629[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x29f418[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x175715([0x66,0x69,0x6c,0x6c])](_0x29f418[0x0]===_0x175715([0x2a])?_0x175715([0x2a]):'')[_0x175715([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x29f418))[_0x175715([0x73,0x6f,0x6d,0x65])](_0x5960fa=>_0x499629[_0x175715([0x65,0x76,0x65,0x72,0x79])]((_0x296893,_0x5a4322)=>_0x5960fa[_0x5a4322]===_0x296893||_0x5960fa[_0x5a4322]===_0x175715([0x2a])));}function _0x1d76a3(){return _0xf617&&_0x57176c?new window[(_0x175715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c307c,_0x30df05)=>{_0xf617[_0x175715([0x74,0x68,0x65,0x6e])](_0x4c307c,_0x30df05),_0x57176c[_0x175715([0x74,0x68,0x65,0x6e])](_0x2b2286=>{_0x2b2286!=_0x175715([0x56,0x61,0x6c,0x69,0x64])&&_0x4c307c(_0x2b2286);},_0x30df05);}):_0xf617||_0x57176c||_0x175715([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a1d69(_0x12a8df,_0x283686){return new window[(_0x175715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ae60c=>{if(_0x2eef9a())return _0x3ae60c(_0x175715([0x56,0x61,0x6c,0x69,0x64]));_0x474ead(),_0x4e32ba[_0x175715([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x175715([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x568f3d=!0x1;const _0x10576f=_0x3e6f20();function _0x5dadfe(_0x324ef7){return!!_0x324ef7&&(typeof _0x324ef7===_0x175715([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x324ef7===_0x175715([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x324ef7[_0x175715([0x74,0x68,0x65,0x6e])]===_0x175715([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x324ef7[_0x175715([0x63,0x61,0x74,0x63,0x68])]===_0x175715([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d21bc(_0x380839){_0x40b4c1(_0x380839)[_0x175715([0x74,0x68,0x65,0x6e])](_0x3d167a=>{if(!_0x3d167a||_0x3d167a[_0x175715([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x175715([0x6f,0x6b]))return _0x175715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c66e1(_0xeafb00(_0x10576f+_0x283686))!=_0x3d167a[_0x175715([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x175715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x175715([0x56,0x61,0x6c,0x69,0x64]);})[_0x175715([0x74,0x68,0x65,0x6e])](_0x246fbf=>(_0xf28bf0(),_0x246fbf),()=>{const _0x102444=_0x35789e();return null==_0x102444?(_0xf28bf0(),_0x175715([0x56,0x61,0x6c,0x69,0x64])):_0x175715(_0x3e3242-_0x102444>(0x2b4a2d4a^_0x15c7d1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x175715([0x74,0x68,0x65,0x6e])](_0x3ae60c)[_0x175715([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ae60c(_0x175715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4bcba9=0xf7047ca^_0x15c7d1;function _0xf28bf0(){const _0x15f58e=_0x175715([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c66e1(_0xeafb00(_0x12a8df)),_0x39e45c=_0x11291f(_0x2c66e1(window[_0x175715([0x4d,0x61,0x74,0x68])][_0x175715([0x63,0x65,0x69,0x6c])](_0x3e3242/_0x4bcba9)));window[_0x175715([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x175715([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15f58e,_0x39e45c);}function _0x35789e(){const _0x493397=_0x175715([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c66e1(_0xeafb00(_0x12a8df)),_0x17f83c=window[_0x175715([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x175715([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x493397);return _0x17f83c?window[_0x175715([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11291f(_0x17f83c),0x10)*_0x4bcba9:null;}function _0x40b4c1(_0x4e7b5f){return new window[(_0x175715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f008b,_0x332ba0)=>{_0x4e7b5f[_0x175715([0x74,0x68,0x65,0x6e])](_0x2f008b,_0x332ba0),window[_0x175715([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x332ba0,0xf477d8a^_0x15c7d1);});}}_0x4e32ba[_0x175715([0x6f,0x6e])](_0x175715([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ff776,_0x3d63d7)=>{if(_0x3d63d7[0x0]!=_0x12a8df)return _0x3ae60c(_0x175715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d63d7[0x1]={..._0x3d63d7[0x1],[_0x175715([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10576f};},{[_0x175715([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x175715([0x68,0x69,0x67,0x68])}),_0x4e32ba[_0x175715([0x6f,0x6e])](_0x175715([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34f972=>{_0x5dadfe(_0x34f972[_0x175715([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x568f3d=!0x0,_0x4d21bc(_0x34f972[_0x175715([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x175715([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x175715([0x6c,0x6f,0x77])}),_0x2087be[_0x175715([0x74,0x68,0x65,0x6e])](()=>{_0x568f3d||_0x3ae60c(_0x175715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2eef9a(){return _0x4e32ba[_0x175715([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x175715([0x76,0x69,0x65,0x77])][_0x175715([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x175715([0x61,0x75,0x74,0x6f]);}function _0x474ead(){_0x4e32ba[_0x175715([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x175715([0x76,0x69,0x65,0x77])][_0x175715([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x175715([0x61,0x75,0x74,0x6f]);}}function _0x1535d7(_0x4fbb0e){const _0x59da47=[new window[(_0x175715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x488271=>setTimeout(_0x488271,0xf4f9786^_0x15c7d1)),_0x2087be[_0x175715([0x74,0x68,0x65,0x6e])](()=>new window[(_0x175715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x195b6e=>{let _0x5c268a=0x0;_0x4e32ba[_0x175715([0x6d,0x6f,0x64,0x65,0x6c])][_0x175715([0x6f,0x6e])](_0x175715([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2787d5,_0x4097df)=>{_0x4097df[0x0][_0x175715([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c268a++,_0x5c268a==(0xf46aca2^_0x15c7d1)&&(_0x195b6e(),_0x2787d5[_0x175715([0x6f,0x66,0x66])]());});}))];return window[_0x175715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x175715([0x72,0x61,0x63,0x65])](_0x59da47)[_0x175715([0x74,0x68,0x65,0x6e])](()=>_0x4fbb0e);}async function _0xa1c7d2(){await _0x2087be,_0x4e32ba[_0x175715([0x6d,0x6f,0x64,0x65,0x6c])][_0x175715([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f2982,_0x4e32ba[_0x175715([0x6d,0x6f,0x64,0x65,0x6c])][_0x175715([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f2982,_0x4e32ba[_0x175715([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x175715([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x271466(_0x954b73){const _0x1b4a63=_0x160095();_0x4e32ba[_0x1b4a63]=_0x175715([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x954b73,_0x954b73!=_0x175715([0x56,0x61,0x6c,0x69,0x64])&&_0xa1c7d2();}function _0x160095(){const _0x3b2316=window[_0x175715([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x175715([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x175715([0x6e,0x6f,0x77])]())[_0x175715([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x175715([0x2e]),'');let _0x5901d0=_0x175715([0x75]);for(let _0x5f4126=0x0;_0x5f4126<_0x3b2316[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f4126+=0x2){let _0x48507e=window[_0x175715([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b2316[_0x175715([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f4126,_0x5f4126+0x2));_0x48507e>=_0x2af4d8[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48507e-=_0x2af4d8[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5901d0+=_0x2af4d8[_0x48507e];}return _0x5901d0;}function _0x1d60aa(){const _0x64cad4=_0x583a71[_0x175715([0x73,0x70,0x6c,0x69,0x74])](_0x175715([0x2e]));if(0x3!=_0x64cad4[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9332a4(_0x64cad4[0x1]);function _0x9332a4(_0x21f40b){const _0x27f325=_0x24cd12(_0x21f40b);return _0x27f325&&_0x118ca8()?_0x27f325:null;function _0x118ca8(){const _0x11df53=_0x27f325[_0x175715([0x6a,0x74,0x69])],_0x2c7c7c=window[_0x175715([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11df53[_0x175715([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11df53[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1a5176={..._0x27f325,[_0x175715([0x6a,0x74,0x69])]:_0x11df53[_0x175715([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x11df53[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1a5176[_0x175715([0x76,0x63])],_0xeafb00(_0x1a5176)==_0x2c7c7c;}}}async function _0x45914c(){let _0x3d5d59=!0x0;try{const _0x198fc1=_0x583a71[_0x175715([0x73,0x70,0x6c,0x69,0x74])](_0x175715([0x2e])),[_0x5b2410,_0x4ed0cd,_0x1bb426]=_0x198fc1;return _0x128831(_0x5b2410),await _0x4b33c9(_0x5b2410,_0x4ed0cd,_0x1bb426),_0x3d5d59;}catch{return!0x1;}function _0x128831(_0x40253d){const _0x221d19=_0x24cd12(_0x40253d);_0x221d19&&_0x221d19[_0x175715([0x61,0x6c,0x67])]==_0x175715([0x45,0x53,0x32,0x35,0x36])||(_0x3d5d59=!0x1);}async function _0x4b33c9(_0x52b7eb,_0x1cb64b,_0xe04bd2){const _0x215e12=window[_0x175715([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x175715([0x66,0x72,0x6f,0x6d])](_0x4867d8(_0xe04bd2),_0x2d64c2=>_0x2d64c2[_0x175715([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x208c2c=new window[(_0x175715([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x175715([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x52b7eb+_0x175715([0x2e])+_0x1cb64b),_0x33739c=window[_0x175715([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x175715([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33739c)return;const _0x5081e5=await _0x33739c[_0x175715([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x175715([0x6a,0x77,0x6b]),_0x15cf54,{[_0x175715([0x6e,0x61,0x6d,0x65])]:_0x175715([0x45,0x43,0x44,0x53,0x41]),[_0x175715([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x175715([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x175715([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33739c[_0x175715([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x175715([0x6e,0x61,0x6d,0x65])]:_0x175715([0x45,0x43,0x44,0x53,0x41]),[_0x175715([0x68,0x61,0x73,0x68])]:{[_0x175715([0x6e,0x61,0x6d,0x65])]:_0x175715([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5081e5,_0x215e12,_0x208c2c)||(_0x3d5d59=!0x1);}}function _0x24cd12(_0x26886f){return _0x26886f[_0x175715([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x175715([0x65,0x79]))?JSON[_0x175715([0x70,0x61,0x72,0x73,0x65])](_0x4867d8(_0x26886f)):null;}function _0x4867d8(_0x1640dd){return window[_0x175715([0x61,0x74,0x6f,0x62])](_0x1640dd[_0x175715([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x175715([0x2b]))[_0x175715([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x175715([0x2f])));}function _0xeafb00(_0x5257e2){let _0x5ac608=0x1505;function _0x4d80fa(_0x6eecd4){for(let _0x4cabe5=0x0;_0x4cabe5<_0x6eecd4[_0x175715([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cabe5++){const _0x5ef29b=_0x6eecd4[_0x175715([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cabe5);_0x5ac608=(_0x5ac608<<0x5)+_0x5ac608+_0x5ef29b,_0x5ac608&=_0x5ac608;}}function _0x322546(_0x5b8fd1){Array[_0x175715([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b8fd1)?_0x5b8fd1[_0x175715([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x322546):_0x5b8fd1&&typeof _0x5b8fd1==_0x175715([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x175715([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b8fd1)[_0x175715([0x73,0x6f,0x72,0x74])]()[_0x175715([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27acc4,_0x426c45])=>{_0x4d80fa(_0x27acc4),_0x322546(_0x426c45);}):_0x4d80fa(window[_0x175715([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b8fd1));}return _0x322546(_0x5257e2),_0x5ac608>>>0x0;}function _0x2c66e1(_0x1e946e){return _0x1e946e[_0x175715([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x175715([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x175715([0x30]));}function _0x11291f(_0x3eb442){return _0x3eb442[_0x175715([0x73,0x70,0x6c,0x69,0x74])]('')[_0x175715([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x175715([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f2982(){}function _0x175715(_0x6020c6){return _0x6020c6['map'](_0x53c911=>String['fromCharCode'](_0x53c911))['join']('');}_0x271466(await _0x129fd1());}(this);}}function I(_0x40e329,_0x5470ca,_0x5a5415){let _0x5a00d3=_0x5470ca['listMarkers'][_0x40e329%_0x5470ca['listMarkers']['length']];if(void 0x0===_0x5a00d3['showMarkerPath']||_0x5a00d3['showMarkerPath'])return _0x5a5415['slice'](0x0,_0x40e329+0x1)['map']((_0x2fa561,_0x3e040f)=>(_0x5a00d3=_0x5470ca['listMarkers'][_0x3e040f%_0x5470ca['listMarkers']['length']],S(_0x5a00d3['marker'],_0x2fa561)))['join']('');{const _0x54b174=_0x5a5415[_0x5a5415['length']-0x1];return S(_0x5a00d3['marker'],_0x54b174);}}function S(_0x1b589b,_0x3dc946){return'function'==typeof _0x1b589b?_0x1b589b(_0x3dc946):_0x1b589b;}function N(_0x3d91d8,_0x8e34db){return(_0x6e7cdc,_0x4af5,_0x1570a2)=>{const _0x44aa08=_0x4af5['viewItem'];if(_0x4af5['modelRange']||Object['assign'](_0x4af5,_0x1570a2['convertChildren'](_0x4af5['viewItem'],_0x4af5['modelCursor'])),!_0x1570a2['consumable']['test'](_0x44aa08,{'classes':_0x3d91d8['className']}))return;const _0x4dbbb4=Array['from'](_0x4af5['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0xb4a44b=>_0x8e34db['checkAttribute'](_0xb4a44b,'listItemId'));if(!_0x4dbbb4['length'])return;_0x1570a2['consumable']['consume'](_0x44aa08,{'classes':_0x3d91d8['className']}),_0x1570a2['consumable']['consume'](_0x44aa08,{'classes':'multi-level-list'}),_0x1570a2['consumable']['consume'](_0x44aa08,{'styles':'list-style-type'});const _0x4699eb=_0x4dbbb4[0x0]['getAttribute']('listIndent');for(const _0x320638 of _0x4dbbb4)_0x320638['getAttribute']('listIndent')==_0x4699eb&&(_0x1570a2['writer']['setAttribute']('listType',_0x3d91d8['listType'],_0x320638),_0x1570a2['writer']['setAttribute']('listMarkerStyle',_0x3d91d8['listMarkerStyle'],_0x320638));};}function _(_0x448475,_0x5df8d6){const _0x40bb43=_0x448475['t'],t=_0x448475['t'];switch(_0x5df8d6){case'Start\x20at':return _0x40bb43('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x40bb43('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x40bb43('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x40bb43('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0x5df8d6;}}class MultiLevelListView extends _0x1cd80b{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x36ed20();['keystrokes']=new _0x59bf42();['focusables']=new _0x2a4fdb();['focusCycler'];constructor(_0x1d4d51,{enabledProperties:_0x64d272,styleButtonViews:_0x635fce,styleGridAriaLabel:_0x312958}){super(_0x1d4d51);const _0x1f23a0=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x25ed82({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x64d272['styles']?(this['stylesView']=this['_createStylesView'](_0x635fce,_0x312958),this['children']['add'](this['stylesView'])):_0x1f23a0['push']('ck-multi-level-list-properties_without-styles'),_0x64d272['startIndex']&&(this['_addListPropertyViews'](_0x64d272),_0x1f23a0['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x1f23a0},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0x1b38d4 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1b38d4['element']);_0x36c8ed({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x37cc8c['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x2f43fa=_0x40ce3a=>_0x40ce3a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2f43fa),this['keystrokes']['set']('arrowleft',_0x2f43fa),this['keystrokes']['set']('arrowup',_0x2f43fa),this['keystrokes']['set']('arrowdown',_0x2f43fa);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x402614,_0xda9cbd){const _0xd0d4da=new _0x1cd80b(this['locale']);return _0xd0d4da['children']=_0xd0d4da['createCollection'](),_0xd0d4da['children']['addMany'](_0x402614),_0xd0d4da['setTemplate']({'tag':'div','attributes':{'aria-label':_0xda9cbd,'class':['ck','ck-multi-level-list-styles']},'children':_0xd0d4da['children']}),_0xd0d4da['children']['delegate']('execute')['to'](this),_0xd0d4da['focus']=function(){this['children']['first']['focus']();},_0xd0d4da['focusTracker']=new _0x36ed20(),_0xd0d4da['keystrokes']=new _0x59bf42(),_0xd0d4da['render'](),_0xd0d4da['keystrokes']['listenTo'](_0xd0d4da['element']),_0xd0d4da;}['_addListPropertyViews'](_0x5633c5){const _0x155897=[];_0x5633c5['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x155897['push'](this['startIndexFieldView'])),_0x5633c5['styles']?(this['additionalPropertiesCollapsibleView']=new _0x131269(this['locale'],_0x155897),this['additionalPropertiesCollapsibleView']['set']({'label':_(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x155897,'isEnabled',(..._0x16e2d7)=>_0x16e2d7['some'](_0x2975b7=>_0x2975b7)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0xb8afb7,_0x20978a,_0x29df50)=>{_0x29df50||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x155897);}['_createStartIndexField'](){const _0x517e1c=new _0x490308(this['locale'],_0x357ad3);return _0x517e1c['set']({'label':_(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x517e1c['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x517e1c['fieldView']['on']('input',()=>{const _0x297e4e=_0x517e1c['fieldView']['element'],_0x34ed62=_0x297e4e['valueAsNumber'];Number['isNaN'](_0x34ed62)?_0x517e1c['errorText']=_(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x297e4e['checkValidity']()?this['fire']('listStart',{'startIndex':_0x34ed62}):_0x517e1c['errorText']=_(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x517e1c;}}class MultiLevelListUI extends _0x273b5d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5b715f=this['editor'];_0x5b715f['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x26afe8,parentCommandName:_0x2c85b1,buttonLabel:_0x56de9b,buttonIcon:_0x55d76a,styleGridAriaLabel:_0x1d91e7,styleDefinitions:_0xacf763}){const _0x3e052a=_0x26afe8['commands']['get'](_0x2c85b1),_0x365dad=_0x26afe8['config']['get']('list.properties')||{},_0xc5ec3c=_0x26afe8['plugins']['has']('ListProperties'),_0x4068e7=_0x365dad['startIndex'];if(!_0xc5ec3c||!_0x4068e7)return _0x54fdc4=>{const _0x40797c=new _0x2141d9(_0x54fdc4);return _0x40797c['set']({'label':_0x56de9b,'icon':_0x55d76a,'tooltip':!0x0,'isToggleable':!0x0}),_0x40797c['bind']('isOn')['to'](_0x3e052a,'value',_0x25830c=>!!_0x25830c),_0x40797c['on']('execute',()=>{_0x26afe8['execute'](_0x2c85b1),_0x26afe8['editing']['view']['focus']();}),_0x40797c;};return _0x288b56=>{const _0x341f21=_0xb14c0d(_0x288b56,_0x26b3bc),_0x291f18=_0x341f21['buttonView'];return _0x341f21['bind']('isEnabled')['to'](_0x3e052a),_0x341f21['class']='ck-list-styles-dropdown',_0x291f18['on']('execute',()=>{_0x26afe8['execute'](_0x2c85b1),_0x26afe8['editing']['view']['focus']();}),_0x291f18['set']({'label':_0x56de9b,'icon':_0x55d76a,'tooltip':!0x0,'isToggleable':!0x0}),_0x291f18['bind']('isOn')['to'](_0x3e052a,'value',_0x2f1c71=>!!_0x2f1c71),_0x341f21['once']('change:isOpen',()=>{const _0x328912=function({editor:_0x5c13fd,dropdownView:_0x1c62d1,styleDefinitions:_0x222dee,styleGridAriaLabel:_0x143892}){const _0x3cf68f=_0x5c13fd['locale'],_0x1f7770=_0x5c13fd['config']['get']('list.properties'),_0x47f31c=null;_0x1f7770['reversed']=!0x1,_0x222dee['length']||(_0x1f7770['styles']=!0x1);const _0x403de8=new MultiLevelListView(_0x3cf68f,{'styleGridAriaLabel':_0x143892,'enabledProperties':_0x1f7770,'styleButtonViews':_0x47f31c});if(_0x1f7770['startIndex']){const _0x4a39c4=_0x5c13fd['commands']['get']('listStart');_0x403de8['startIndexFieldView']['bind']('isEnabled')['to'](_0x4a39c4),_0x403de8['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4a39c4),_0x403de8['on']('listStart',(_0x409326,_0x201509)=>_0x5c13fd['execute']('listStart',_0x201509));}return _0x403de8['delegate']('execute')['to'](_0x1c62d1),_0x403de8;}({'editor':_0x26afe8,'dropdownView':_0x341f21,'styleGridAriaLabel':_0x1d91e7,'styleDefinitions':_0xacf763});_0x341f21['panelView']['children']['add'](_0x328912);}),_0x341f21['on']('execute',()=>{_0x26afe8['editing']['view']['focus']();}),_0x341f21;};}({'editor':_0x5b715f,'parentCommandName':'multiLevelList','buttonLabel':_(_0x5b715f['locale'],'Multi-level\x20List'),'buttonIcon':_0x1c5039,'styleGridAriaLabel':_(_0x5b715f['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x5b715f['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x444f23=_0x5b715f['commands']['get']('multiLevelList'),_0x5e35b0=new _0x3eadef(_0x5b715f['locale']);return _0x5e35b0['set']({'label':_(_0x5b715f['locale'],'Multi-level\x20List'),'icon':_0x1c5039}),_0x5e35b0['bind']('isEnabled')['to'](_0x444f23),_0x5e35b0['bind']('isOn')['to'](_0x444f23,'value',_0x2141cb=>!!_0x2141cb),_0x5e35b0['on']('execute',()=>{_0x5b715f['execute']('multiLevelList'),_0x5b715f['editing']['view']['focus']();}),_0x5e35b0;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3027c7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1eb4f5;for(const _0x578cb2 in _0x3027c7){const _0x250d89=_0x578cb2,_0x230814=_0x3027c7[_0x250d89];if('multiLevelListLicenseKeyValid'==_0x230814||'multiLevelListLicenseKeyInvalid'==_0x230814||'multiLevelListLicenseKeyExpired'==_0x230814||'multiLevelListLicenseKeyDomainLimit'==_0x230814||'multiLevelListLicenseKeyNotAllowed'==_0x230814||'multiLevelListLicenseKeyEvaluationLimit'==_0x230814||'multiLevelListLicenseKeyUsageLimit'==_0x230814){delete _0x3027c7[_0x250d89],_0x1eb4f5=_0x230814,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x1eb4f5&&_0x3027c7['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x1eb4f5&&_0x3027c7['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x1eb4f5&&_0x3027c7['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x1eb4f5&&_0x3027c7['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x1eb4f5&&_0x3027c7['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x1eb4f5&&_0x3027c7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x273b5d{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}export{MultiLevelList,MultiLevelListCommand,MultiLevelListEditing,MultiLevelListUI};
|
|
23
|
+
import{Command as _0x476497,Plugin as _0x103050}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x42743a,ViewUpcastWriter as _0x4cbf6b}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0xeb5206,_isFirstBlockOfListItem as _0x2d1119}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x575ae7,createElement as _0x36c2c2,uid as _0x4e3e6f,FocusTracker as _0x5cc76e,KeystrokeHandler as _0x2b1fb1,global as _0xa3cedc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x59df2c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x3049b7,ViewCollection as _0x5113b3,FocusCycler as _0x496134,addKeyboardHandlingForGrid as _0x4a77f9,CollapsibleView as _0x2a670f,LabeledFieldView as _0x128bca,createLabeledInputNumber as _0x49076c,MenuBarMenuListItemButtonView as _0x404926,ButtonView as _0x12b144,createDropdown as _0x3eaa2e,SplitButtonView as _0x272624}from'@ckeditor/ckeditor5-ui/dist/index.js';class MultiLevelListCommand extends _0x476497{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x48302f,_0x5ca9b1,_0x1e79f6){super(_0x48302f),this['defaultListMarkerStyle']=_0x5ca9b1,this['_listDefinitions']=_0x1e79f6,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x33f171={}){const _0x3ba80a=this['editor']['model'],_0x404577=_0x33f171['listMarkerStyle']||this['defaultListMarkerStyle'];_0x3ba80a['change'](()=>{const _0xd7efe=this['_getListTypeFromListMarkerStyle'](_0x404577);if(!_0xd7efe)return;const _0x56646d=_0xd7efe+'List';this['editor']['execute'](_0x56646d,{'additionalAttributes':{'listMarkerStyle':_0x404577}});});}['_getValue'](){const _0x239d09=_0x575ae7(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x239d09)?_0x239d09['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x374005=this['editor'],_0xe0f7e9=_0x374005['commands']['get']('customNumberedList'),_0x3badee=_0x374005['commands']['get']('customBulletedList');return _0xe0f7e9['isEnabled']||_0x3badee['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x33593d){const _0x3cd7a5=this['_listDefinitions']['find'](_0x4469f6=>_0x4469f6['listMarkerStyle']==_0x33593d);return _0x3cd7a5?_0x3cd7a5['listType']:null;}}class MultiLevelListEditing extends _0x103050{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xeb5206];}constructor(_0x30cc82){super(_0x30cc82);const _0x9ea0bd=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x11d98f=>_0x11d98f+'.'}]},..._0x9ea0bd];}['init'](){const _0x238275=this['editor'],_0xd7f772=_0x238275['model'],_0x4884c4=_0x238275['editing']['view'],_0x4f870b=_0x238275['plugins']['get'](_0xeb5206);_0x238275['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x238275,'legal',this['_listDefinitions'])),_0xd7f772['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0xd7f772['schema']['addAttributeCheck']((_0x384ea6,_0x5d2cf0)=>{const _0x442d62=_0x384ea6['last'];if('listMarker'==_0x5d2cf0||'listMarkerStyle'==_0x5d2cf0)return!(!_0x442d62['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x7f4ef8=>_0x7f4ef8['listType']==_0x442d62['getAttribute']('listType')))&&void 0x0;});for(const _0xa6462a of this['_listDefinitions'])_0x238275['conversion']['for']('upcast')['add'](_0x20c224=>{_0x20c224['on']('element:'+('customNumbered'==_0xa6462a['listType']?'ol':'ul'),N(_0xa6462a,_0xd7f772['schema']),{'priority':'low'});}),_0x4f870b['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x4d2c40,_0x1bb3a2,_0x593263){_0x1bb3a2==_0xa6462a['listMarkerStyle']?(_0x4d2c40['addClass'](['multi-level-list',_0xa6462a['className']],_0x593263),_0x4d2c40['setStyle']('list-style-type','none',_0x593263)):(_0x4d2c40['removeClass'](['multi-level-list',_0xa6462a['className']],_0x593263),_0x4d2c40['removeStyle']('list-style-type',_0x593263));}}),_0x4f870b['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x2853d0,_0x39a141,{dataPipeline:_0x5b2a62}){if(!_0x39a141['hasAttribute']('listMarker'))return null;if(_0x39a141['getAttribute']('listType')!=_0xa6462a['listType']||_0x39a141['getAttribute']('listMarkerStyle')!=_0xa6462a['listMarkerStyle'])return null;const _0x30385a=String(_0x39a141['getAttribute']('listMarker')),_0x49caf7=this['canInjectMarkerIntoElement'](_0x39a141);return _0x2853d0['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x5b2a62&&{'contenteditable':'false','data-multi-level-list-marker':_0x30385a}},function(_0xaa0405){const _0x280697=this['toDomElement'](_0xaa0405);return _0x49caf7?(_0x280697['appendChild'](_0x36c2c2(_0xaa0405,'span',{},_0x5b2a62?_0xaa0405['createTextNode'](_0x30385a):[])),_0x280697['appendChild'](_0xaa0405['createTextNode']('\u00a0'))):_0x5b2a62&&_0x280697['appendChild'](_0xaa0405['createTextNode'](_0x30385a)),_0x280697;});},'canInjectMarkerIntoElement':_0x25a3ad=>_0xd7f772['schema']['checkChild'](_0x25a3ad,'$text')&&_0xd7f772['schema']['checkChild'](_0x25a3ad,'$inlineObject')&&!_0xd7f772['schema']['isLimit'](_0x25a3ad)&&_0x25a3ad['getAttribute']('listType')==_0xa6462a['listType']&&_0x25a3ad['getAttribute']('listMarkerStyle')==_0xa6462a['listMarkerStyle']});_0x238275['conversion']['for']('upcast')['add'](_0x2e0640=>{_0x2e0640['on']('element:span',function(_0x342652){return(_0x35bd4f,_0xae8e7c,{writer:_0x430b8d,consumable:_0xfaeba5})=>{const _0x1b6d81=_0xae8e7c['modelCursor'],_0x5e4729=_0x1b6d81['parent'],_0x1c4600=_0xae8e7c['viewItem'];if(_0xfaeba5['consume'](_0x1c4600,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x1b6d81['isAtStart']&&_0x5e4729['hasAttribute']('listType')&&_0x1c4600['childCount']>0x0){const _0x1a074b=_0x342652['createRangeIn'](_0x1c4600);let _0x5d8bfe='';for(const _0x39b8f4 of _0x1a074b['getItems']())_0x39b8f4['is']('$textProxy')?(_0x5d8bfe+=_0x39b8f4['data']['trim'](),_0xfaeba5['consume'](_0x39b8f4['textNode'])):_0xfaeba5['consume'](_0x39b8f4,{'name':!0x0});_0x430b8d['setAttribute']('listMarker',_0x5d8bfe['trim'](),_0x5e4729);}};}(_0x4884c4));}),_0x4f870b['on']('postFixer',(_0x3eb4d9,{listNodes:_0x5dcfe2,writer:_0x1b04ca})=>{const _0x519b9f=[];for(const {node:_0x51eb6b,previousNodeInList:_0x4492b4}of _0x5dcfe2){const _0x16fa96=_0x51eb6b['getAttribute']('listType'),_0x2e42c2=_0x51eb6b['getAttribute']('listMarkerStyle')||('customNumbered'==_0x16fa96?'legal':void 0x0),_0x48df16=this['_listDefinitions']['find'](_0x2ffb04=>_0x2ffb04['listType']==_0x16fa96&&_0x2ffb04['listMarkerStyle']==_0x2e42c2);if('customNumbered'!=_0x16fa96&&'customBulleted'!=_0x16fa96&&(_0x51eb6b['hasAttribute']('listMarker')&&(_0x1b04ca['removeAttribute']('listMarker',_0x51eb6b),_0x3eb4d9['return']=!0x0),_0x51eb6b['hasAttribute']('listMarkerStyle')&&(_0x1b04ca['removeAttribute']('listMarkerStyle',_0x51eb6b),_0x3eb4d9['return']=!0x0)),!_0x48df16){'customBulleted'!=_0x16fa96||_0x2e42c2||(_0x1b04ca['setAttribute']('listType','bulleted',_0x51eb6b),_0x3eb4d9['return']=!0x0);continue;}_0x51eb6b['hasAttribute']('listMarkerStyle')||(_0x1b04ca['setAttribute']('listMarkerStyle',_0x2e42c2,_0x51eb6b),_0x3eb4d9['return']=!0x0);const _0x8b790b=_0x51eb6b['getAttribute']('listIndent');if(_0x4492b4&&_0x4492b4['getAttribute']('listItemId')==_0x51eb6b['getAttribute']('listItemId'))continue;_0x519b9f['length']=_0x8b790b+0x1,_0x4492b4||_0x519b9f[_0x8b790b]?_0x4492b4&&_0x4492b4['getAttribute']('listType')!=_0x48df16['listType']?_0x519b9f[_0x8b790b]=0x1:_0x519b9f[_0x8b790b]++:_0x519b9f[_0x8b790b]=_0x51eb6b['getAttribute']('listStart')||0x1;const _0x274d4c=I(_0x8b790b,_0x48df16,_0x519b9f);_0x51eb6b['getAttribute']('listMarker')!=_0x274d4c&&(_0x1b04ca['setAttribute']('listMarker',_0x274d4c,_0x51eb6b),_0x3eb4d9['return']=!0x0);}}),_0x4f870b['on']('checkElement',(_0x3513e6,{modelElement:_0x1b3d0f,viewElement:_0x3f20da})=>{const _0x1f130d=_0x1b3d0f['getAttribute']('listType');if('customNumbered'!=_0x1f130d&&'customBulleted'!=_0x1f130d)return;if(_0xd7f772['schema']['checkChild'](_0x1b3d0f,'$text'))return;const _0x109041=_0x2d1119(_0x1b3d0f);let _0xcc007=!0x1;const _0x2ea25a=_0x4884c4['createPositionBefore'](_0x3f20da)['getWalker']({'direction':'backward'});for(const {item:_0x26e63d}of _0x2ea25a)if(_0x26e63d['is']('element')){if(_0x238275['editing']['mapper']['toModelElement'](_0x26e63d))break;if(_0x26e63d['getCustomProperty']('listItemMarker')){_0xcc007=!0x0;break;}}_0xcc007!=_0x109041&&(_0x3513e6['return']=!0x0,_0x3513e6['stop']());});const _0x2a808e=_0x238275['editing']['view']['document'];this['listenTo'](_0x2a808e,'clipboardOutput',(_0x5134ef,_0x4fb821)=>{const _0x2efc96=new _0x42743a({'name':'span','classes':'multi-level-list__marker'}),_0x24498f=new _0x42743a({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x1f5ee5=new _0x4cbf6b(_0x4fb821['content']['document']),_0x34c6ec=[];for(const _0x688ade of _0x1f5ee5['createRangeIn'](_0x4fb821['content'])['getItems']())_0x688ade['is']('element')&&_0x2efc96['match'](_0x688ade)&&_0x34c6ec['push'](_0x688ade),_0x688ade['is']('element')&&_0x24498f['match'](_0x688ade)&&_0x1f5ee5['removeStyle']('list-style-type',_0x688ade);for(const _0x4d0835 of _0x34c6ec)_0x1f5ee5['remove'](_0x4d0835);});}['afterInit'](){!async function(_0x391158){const _0x353679=_0x57653c([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x2555e4=0xf46a94a,_0x1be7f3=0xf41231a^_0x2555e4,_0xa832cc=window[_0x57653c([0x44,0x61,0x74,0x65])][_0x57653c([0x6e,0x6f,0x77])](),_0x272e90=_0x391158[_0x57653c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x121dd5=new window[(_0x57653c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12ce0e=>{_0x272e90[_0x57653c([0x6f,0x6e,0x63,0x65])](_0x57653c([0x72,0x65,0x61,0x64,0x79]),_0x12ce0e);}),_0x3aed9c={[_0x57653c([0x6b,0x74,0x79])]:_0x57653c([0x45,0x43]),[_0x57653c([0x75,0x73,0x65])]:_0x57653c([0x73,0x69,0x67]),[_0x57653c([0x63,0x72,0x76])]:_0x57653c([0x50,0x2d,0x32,0x35,0x36]),[_0x57653c([0x78])]:_0x57653c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x57653c([0x79])]:_0x57653c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x57653c([0x61,0x6c,0x67])]:_0x57653c([0x45,0x53,0x32,0x35,0x36])},_0x308e4c=_0x272e90[_0x57653c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x57653c([0x67,0x65,0x74])](_0x57653c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ebc95(){let _0x5148bf,_0x5013b0=null,_0x27ef75=null;try{if(_0x308e4c==_0x57653c([0x47,0x50,0x4c]))return _0x57653c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5148bf=_0x371094(),!_0x5148bf)return _0x57653c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5148bf[_0x57653c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27ef75=_0x3d1dd0(_0x5148bf[_0x57653c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5148bf[_0x57653c([0x6a,0x74,0x69])])),await _0xfd0cce()?_0x1d6766()?_0x163310()?_0x57653c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1901ca()?(_0x5148bf[_0x57653c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57653c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5013b0=_0x5edb72(_0x57653c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ac984()):_0x57653c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x57653c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x57653c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x57653c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x163310(){const _0x583dde=[_0x57653c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x57653c([0x74,0x72,0x69,0x61,0x6c])][_0x57653c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5148bf[_0x57653c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa832cc/0x3e8:0xe10*_0x1be7f3;return _0x5148bf[_0x57653c([0x65,0x78,0x70])]<_0x583dde;}function _0x1d6766(){const _0x1d1e7f=_0x5148bf[_0x57653c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d1e7f&&(!!_0x1d1e7f[_0x57653c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57653c([0x2a]))||!!_0x1d1e7f[_0x57653c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57653c([0x4d,0x4c,0x4c])));}function _0x1901ca(){const _0x4a2662=_0x5148bf[_0x57653c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4a2662||0x0==_0x4a2662[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xbfedcd}=new URL(window[_0x57653c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4a2662[_0x57653c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbfedcd))return!0x0;const _0x5f180a=_0xbfedcd[_0x57653c([0x73,0x70,0x6c,0x69,0x74])](_0x57653c([0x2e]));return _0x4a2662[_0x57653c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ee8fb=>_0x4ee8fb[_0x57653c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57653c([0x2a])))[_0x57653c([0x6d,0x61,0x70])](_0x3cd815=>_0x3cd815[_0x57653c([0x73,0x70,0x6c,0x69,0x74])](_0x57653c([0x2e])))[_0x57653c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56c2d7=>_0x56c2d7[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5f180a[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57653c([0x6d,0x61,0x70])](_0x570e8a=>Array(_0x5f180a[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x570e8a[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57653c([0x66,0x69,0x6c,0x6c])](_0x570e8a[0x0]===_0x57653c([0x2a])?_0x57653c([0x2a]):'')[_0x57653c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x570e8a))[_0x57653c([0x73,0x6f,0x6d,0x65])](_0x4fb217=>_0x5f180a[_0x57653c([0x65,0x76,0x65,0x72,0x79])]((_0x138ca9,_0x4f7014)=>_0x4fb217[_0x4f7014]===_0x138ca9||_0x4fb217[_0x4f7014]===_0x57653c([0x2a])));}function _0x3ac984(){return _0x5013b0&&_0x27ef75?new window[(_0x57653c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6b0105,_0x205f03)=>{_0x5013b0[_0x57653c([0x74,0x68,0x65,0x6e])](_0x6b0105,_0x205f03),_0x27ef75[_0x57653c([0x74,0x68,0x65,0x6e])](_0x26dd47=>{_0x26dd47!=_0x57653c([0x56,0x61,0x6c,0x69,0x64])&&_0x6b0105(_0x26dd47);},_0x205f03);}):_0x5013b0||_0x27ef75||_0x57653c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d1dd0(_0x12cdfc,_0x220829){return new window[(_0x57653c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39950f=>{if(_0x375f25())return _0x39950f(_0x57653c([0x56,0x61,0x6c,0x69,0x64]));_0x3b0f54(),_0x272e90[_0x57653c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x57653c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x277eb6=!0x1;const _0x40a495=_0x4e3e6f();function _0x2679e8(_0x3ea1dd){return!!_0x3ea1dd&&(typeof _0x3ea1dd===_0x57653c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ea1dd===_0x57653c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ea1dd[_0x57653c([0x74,0x68,0x65,0x6e])]===_0x57653c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ea1dd[_0x57653c([0x63,0x61,0x74,0x63,0x68])]===_0x57653c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x82b0b(_0x2f6595){_0x239d3a(_0x2f6595)[_0x57653c([0x74,0x68,0x65,0x6e])](_0x2fe1d1=>{if(!_0x2fe1d1||_0x2fe1d1[_0x57653c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x57653c([0x6f,0x6b]))return _0x57653c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x428bf5(_0x218ac7(_0x40a495+_0x220829))!=_0x2fe1d1[_0x57653c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x57653c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x57653c([0x56,0x61,0x6c,0x69,0x64]);})[_0x57653c([0x74,0x68,0x65,0x6e])](_0x2b1424=>(_0x4fcb3a(),_0x2b1424),()=>{const _0x1a19dc=_0x142400();return null==_0x1a19dc?(_0x4fcb3a(),_0x57653c([0x56,0x61,0x6c,0x69,0x64])):_0x57653c(_0xa832cc-_0x1a19dc>(0x2b4a2d4a^_0x2555e4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x57653c([0x74,0x68,0x65,0x6e])](_0x39950f)[_0x57653c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x39950f(_0x57653c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc62598=0xf7047ca^_0x2555e4;function _0x4fcb3a(){const _0x56d010=_0x57653c([0x6c,0x6c,0x63,0x74,0x2d])+_0x428bf5(_0x218ac7(_0x12cdfc)),_0x3ac498=_0x25e63e(_0x428bf5(window[_0x57653c([0x4d,0x61,0x74,0x68])][_0x57653c([0x63,0x65,0x69,0x6c])](_0xa832cc/_0xc62598)));window[_0x57653c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57653c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56d010,_0x3ac498);}function _0x142400(){const _0x2a3085=_0x57653c([0x6c,0x6c,0x63,0x74,0x2d])+_0x428bf5(_0x218ac7(_0x12cdfc)),_0x5d7400=window[_0x57653c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57653c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a3085);return _0x5d7400?window[_0x57653c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25e63e(_0x5d7400),0x10)*_0xc62598:null;}function _0x239d3a(_0x3a4118){return new window[(_0x57653c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5be280,_0x3ca031)=>{_0x3a4118[_0x57653c([0x74,0x68,0x65,0x6e])](_0x5be280,_0x3ca031),window[_0x57653c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ca031,0xf477d8a^_0x2555e4);});}}_0x272e90[_0x57653c([0x6f,0x6e])](_0x57653c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x497a62,_0x5a6605)=>{if(_0x5a6605[0x0]!=_0x12cdfc)return _0x39950f(_0x57653c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a6605[0x1]={..._0x5a6605[0x1],[_0x57653c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40a495};},{[_0x57653c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57653c([0x68,0x69,0x67,0x68])}),_0x272e90[_0x57653c([0x6f,0x6e])](_0x57653c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x39ccdd=>{_0x2679e8(_0x39ccdd[_0x57653c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x277eb6=!0x0,_0x82b0b(_0x39ccdd[_0x57653c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x57653c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57653c([0x6c,0x6f,0x77])}),_0x121dd5[_0x57653c([0x74,0x68,0x65,0x6e])](()=>{_0x277eb6||_0x39950f(_0x57653c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x375f25(){return _0x272e90[_0x57653c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57653c([0x76,0x69,0x65,0x77])][_0x57653c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x57653c([0x61,0x75,0x74,0x6f]);}function _0x3b0f54(){_0x272e90[_0x57653c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57653c([0x76,0x69,0x65,0x77])][_0x57653c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x57653c([0x61,0x75,0x74,0x6f]);}}function _0x5edb72(_0x4f8570){const _0x479993=[new window[(_0x57653c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59a1ac=>setTimeout(_0x59a1ac,0xf4f9786^_0x2555e4)),_0x121dd5[_0x57653c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x57653c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9bb9fb=>{let _0x27f16f=0x0;_0x272e90[_0x57653c([0x6d,0x6f,0x64,0x65,0x6c])][_0x57653c([0x6f,0x6e])](_0x57653c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e3376,_0xfe7bbd)=>{_0xfe7bbd[0x0][_0x57653c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27f16f++,_0x27f16f==(0xf46aca2^_0x2555e4)&&(_0x9bb9fb(),_0x1e3376[_0x57653c([0x6f,0x66,0x66])]());});}))];return window[_0x57653c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x57653c([0x72,0x61,0x63,0x65])](_0x479993)[_0x57653c([0x74,0x68,0x65,0x6e])](()=>_0x4f8570);}async function _0x322450(){await _0x121dd5,_0x272e90[_0x57653c([0x6d,0x6f,0x64,0x65,0x6c])][_0x57653c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a7e69,_0x272e90[_0x57653c([0x6d,0x6f,0x64,0x65,0x6c])][_0x57653c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a7e69,_0x272e90[_0x57653c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57653c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8df7b(_0x3e5932){const _0x16632b=_0x308313();_0x272e90[_0x16632b]=_0x57653c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e5932,_0x3e5932!=_0x57653c([0x56,0x61,0x6c,0x69,0x64])&&_0x322450();}function _0x308313(){const _0x1eab80=window[_0x57653c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x57653c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x57653c([0x6e,0x6f,0x77])]())[_0x57653c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x57653c([0x2e]),'');let _0x3792e5=_0x57653c([0x75]);for(let _0x1018d9=0x0;_0x1018d9<_0x1eab80[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1018d9+=0x2){let _0x185cc1=window[_0x57653c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1eab80[_0x57653c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1018d9,_0x1018d9+0x2));_0x185cc1>=_0x353679[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x185cc1-=_0x353679[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3792e5+=_0x353679[_0x185cc1];}return _0x3792e5;}function _0x371094(){const _0x421549=_0x308e4c[_0x57653c([0x73,0x70,0x6c,0x69,0x74])](_0x57653c([0x2e]));if(0x3!=_0x421549[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55d8ec(_0x421549[0x1]);function _0x55d8ec(_0x14a40e){const _0x40ffb9=_0x219a76(_0x14a40e);return _0x40ffb9&&_0x3429c9()?_0x40ffb9:null;function _0x3429c9(){const _0x266a1d=_0x40ffb9[_0x57653c([0x6a,0x74,0x69])],_0x9afbc6=window[_0x57653c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x266a1d[_0x57653c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x266a1d[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b6663={..._0x40ffb9,[_0x57653c([0x6a,0x74,0x69])]:_0x266a1d[_0x57653c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x266a1d[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b6663[_0x57653c([0x76,0x63])],_0x218ac7(_0x5b6663)==_0x9afbc6;}}}async function _0xfd0cce(){let _0x23ffd6=!0x0;try{const _0x7d3f8d=_0x308e4c[_0x57653c([0x73,0x70,0x6c,0x69,0x74])](_0x57653c([0x2e])),[_0xa1980f,_0x10893b,_0x91ea9a]=_0x7d3f8d;return _0x599359(_0xa1980f),await _0x58318b(_0xa1980f,_0x10893b,_0x91ea9a),_0x23ffd6;}catch{return!0x1;}function _0x599359(_0x57ef6a){const _0x1aef7f=_0x219a76(_0x57ef6a);_0x1aef7f&&_0x1aef7f[_0x57653c([0x61,0x6c,0x67])]==_0x57653c([0x45,0x53,0x32,0x35,0x36])||(_0x23ffd6=!0x1);}async function _0x58318b(_0x3d1f98,_0x4568d9,_0x1d77c2){const _0x142c85=window[_0x57653c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x57653c([0x66,0x72,0x6f,0x6d])](_0x200228(_0x1d77c2),_0x50c173=>_0x50c173[_0x57653c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x512b82=new window[(_0x57653c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x57653c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d1f98+_0x57653c([0x2e])+_0x4568d9),_0x12c3c9=window[_0x57653c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x57653c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x12c3c9)return;const _0x1e9127=await _0x12c3c9[_0x57653c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x57653c([0x6a,0x77,0x6b]),_0x3aed9c,{[_0x57653c([0x6e,0x61,0x6d,0x65])]:_0x57653c([0x45,0x43,0x44,0x53,0x41]),[_0x57653c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x57653c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x57653c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x12c3c9[_0x57653c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x57653c([0x6e,0x61,0x6d,0x65])]:_0x57653c([0x45,0x43,0x44,0x53,0x41]),[_0x57653c([0x68,0x61,0x73,0x68])]:{[_0x57653c([0x6e,0x61,0x6d,0x65])]:_0x57653c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e9127,_0x142c85,_0x512b82)||(_0x23ffd6=!0x1);}}function _0x219a76(_0x5ac367){return _0x5ac367[_0x57653c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x57653c([0x65,0x79]))?JSON[_0x57653c([0x70,0x61,0x72,0x73,0x65])](_0x200228(_0x5ac367)):null;}function _0x200228(_0xf0dd93){return window[_0x57653c([0x61,0x74,0x6f,0x62])](_0xf0dd93[_0x57653c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x57653c([0x2b]))[_0x57653c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x57653c([0x2f])));}function _0x218ac7(_0x457e4e){let _0x33719c=0x1505;function _0x5aa06c(_0x376d43){for(let _0x53e389=0x0;_0x53e389<_0x376d43[_0x57653c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53e389++){const _0x47a60e=_0x376d43[_0x57653c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53e389);_0x33719c=(_0x33719c<<0x5)+_0x33719c+_0x47a60e,_0x33719c&=_0x33719c;}}function _0x1be82c(_0x29a5f1){Array[_0x57653c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x29a5f1)?_0x29a5f1[_0x57653c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1be82c):_0x29a5f1&&typeof _0x29a5f1==_0x57653c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x57653c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x29a5f1)[_0x57653c([0x73,0x6f,0x72,0x74])]()[_0x57653c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x155e8c,_0x3ad5b9])=>{_0x5aa06c(_0x155e8c),_0x1be82c(_0x3ad5b9);}):_0x5aa06c(window[_0x57653c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x29a5f1));}return _0x1be82c(_0x457e4e),_0x33719c>>>0x0;}function _0x428bf5(_0x1e5891){return _0x1e5891[_0x57653c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x57653c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x57653c([0x30]));}function _0x25e63e(_0xd96d9a){return _0xd96d9a[_0x57653c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x57653c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x57653c([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a7e69(){}function _0x57653c(_0x2ada13){return _0x2ada13['map'](_0x422cb4=>String['fromCharCode'](_0x422cb4))['join']('');}_0x8df7b(await _0x4ebc95());}(this);}}function I(_0xde9fa4,_0x35906c,_0x4d6065){let _0x4c0c7a=_0x35906c['listMarkers'][_0xde9fa4%_0x35906c['listMarkers']['length']];if(void 0x0===_0x4c0c7a['showMarkerPath']||_0x4c0c7a['showMarkerPath'])return _0x4d6065['slice'](0x0,_0xde9fa4+0x1)['map']((_0x3af168,_0x22d204)=>(_0x4c0c7a=_0x35906c['listMarkers'][_0x22d204%_0x35906c['listMarkers']['length']],S(_0x4c0c7a['marker'],_0x3af168)))['join']('');{const _0x5c8b5a=_0x4d6065[_0x4d6065['length']-0x1];return S(_0x4c0c7a['marker'],_0x5c8b5a);}}function S(_0x390428,_0x41b761){return'function'==typeof _0x390428?_0x390428(_0x41b761):_0x390428;}function N(_0x52eda5,_0x364a9e){return(_0x1ea0ba,_0x3e4895,_0x1b26f2)=>{const _0x42ed49=_0x3e4895['viewItem'];if(_0x3e4895['modelRange']||Object['assign'](_0x3e4895,_0x1b26f2['convertChildren'](_0x3e4895['viewItem'],_0x3e4895['modelCursor'])),!_0x1b26f2['consumable']['test'](_0x42ed49,{'classes':_0x52eda5['className']}))return;const _0x58d704=Array['from'](_0x3e4895['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x1a98d1=>_0x364a9e['checkAttribute'](_0x1a98d1,'listItemId'));if(!_0x58d704['length'])return;_0x1b26f2['consumable']['consume'](_0x42ed49,{'classes':_0x52eda5['className']}),_0x1b26f2['consumable']['consume'](_0x42ed49,{'classes':'multi-level-list'}),_0x1b26f2['consumable']['consume'](_0x42ed49,{'styles':'list-style-type'});const _0x298e79=_0x58d704[0x0]['getAttribute']('listIndent');for(const _0x290e83 of _0x58d704)_0x290e83['getAttribute']('listIndent')==_0x298e79&&(_0x1b26f2['writer']['setAttribute']('listType',_0x52eda5['listType'],_0x290e83),_0x1b26f2['writer']['setAttribute']('listMarkerStyle',_0x52eda5['listMarkerStyle'],_0x290e83));};}function _(_0x264bcf,_0x20e002){const _0x3837f4=_0x264bcf['t'],t=_0x264bcf['t'];switch(_0x20e002){case'Start\x20at':return _0x3837f4('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x3837f4('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x3837f4('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x3837f4('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0x20e002;}}class MultiLevelListView extends _0x3049b7{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x5cc76e();['keystrokes']=new _0x2b1fb1();['focusables']=new _0x5113b3();['focusCycler'];constructor(_0x4c4a70,{enabledProperties:_0x5ec537,styleButtonViews:_0x58b255,styleGridAriaLabel:_0xb21a5e}){super(_0x4c4a70);const _0x3bfde9=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x496134({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x5ec537['styles']?(this['stylesView']=this['_createStylesView'](_0x58b255,_0xb21a5e),this['children']['add'](this['stylesView'])):_0x3bfde9['push']('ck-multi-level-list-properties_without-styles'),_0x5ec537['startIndex']&&(this['_addListPropertyViews'](_0x5ec537),_0x3bfde9['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x3bfde9},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0x38f6f5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x38f6f5['element']);_0x4a77f9({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0xa3cedc['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x2a8e55=_0x26d80b=>_0x26d80b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2a8e55),this['keystrokes']['set']('arrowleft',_0x2a8e55),this['keystrokes']['set']('arrowup',_0x2a8e55),this['keystrokes']['set']('arrowdown',_0x2a8e55);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x35aa67,_0x169ae1){const _0x185409=new _0x3049b7(this['locale']);return _0x185409['children']=_0x185409['createCollection'](),_0x185409['children']['addMany'](_0x35aa67),_0x185409['setTemplate']({'tag':'div','attributes':{'aria-label':_0x169ae1,'class':['ck','ck-multi-level-list-styles']},'children':_0x185409['children']}),_0x185409['children']['delegate']('execute')['to'](this),_0x185409['focus']=function(){this['children']['first']['focus']();},_0x185409['focusTracker']=new _0x5cc76e(),_0x185409['keystrokes']=new _0x2b1fb1(),_0x185409['render'](),_0x185409['keystrokes']['listenTo'](_0x185409['element']),_0x185409;}['_addListPropertyViews'](_0x247085){const _0x210025=[];_0x247085['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x210025['push'](this['startIndexFieldView'])),_0x247085['styles']?(this['additionalPropertiesCollapsibleView']=new _0x2a670f(this['locale'],_0x210025),this['additionalPropertiesCollapsibleView']['set']({'label':_(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x210025,'isEnabled',(..._0x3a233f)=>_0x3a233f['some'](_0x328573=>_0x328573)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x2fce67,_0x4137c1,_0x3006c0)=>{_0x3006c0||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x210025);}['_createStartIndexField'](){const _0x3ae812=new _0x128bca(this['locale'],_0x49076c);return _0x3ae812['set']({'label':_(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x3ae812['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3ae812['fieldView']['on']('input',()=>{const _0x5006eb=_0x3ae812['fieldView']['element'],_0xd1135f=_0x5006eb['valueAsNumber'];Number['isNaN'](_0xd1135f)?_0x3ae812['errorText']=_(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x5006eb['checkValidity']()?this['fire']('listStart',{'startIndex':_0xd1135f}):_0x3ae812['errorText']=_(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x3ae812;}}class MultiLevelListUI extends _0x103050{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x968ee6=this['editor'];_0x968ee6['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x16d770,parentCommandName:_0x386e4e,buttonLabel:_0x3192eb,buttonIcon:_0x1c3b52,styleGridAriaLabel:_0x11bee7,styleDefinitions:_0x39e9ed}){const _0x203583=_0x16d770['commands']['get'](_0x386e4e),_0x5f5b56=_0x16d770['config']['get']('list.properties')||{},_0x2fb2a0=_0x16d770['plugins']['has']('ListProperties'),_0x3611ae=_0x5f5b56['startIndex'];if(!_0x2fb2a0||!_0x3611ae)return _0x585c86=>{const _0x403043=new _0x12b144(_0x585c86);return _0x403043['set']({'label':_0x3192eb,'icon':_0x1c3b52,'tooltip':!0x0,'isToggleable':!0x0}),_0x403043['bind']('isOn')['to'](_0x203583,'value',_0x3f3f07=>!!_0x3f3f07),_0x403043['on']('execute',()=>{_0x16d770['execute'](_0x386e4e),_0x16d770['editing']['view']['focus']();}),_0x403043;};return _0x346c05=>{const _0x342c9f=_0x3eaa2e(_0x346c05,_0x272624),_0x18986b=_0x342c9f['buttonView'];return _0x342c9f['bind']('isEnabled')['to'](_0x203583),_0x342c9f['class']='ck-list-styles-dropdown',_0x18986b['on']('execute',()=>{_0x16d770['execute'](_0x386e4e),_0x16d770['editing']['view']['focus']();}),_0x18986b['set']({'label':_0x3192eb,'icon':_0x1c3b52,'tooltip':!0x0,'isToggleable':!0x0}),_0x18986b['bind']('isOn')['to'](_0x203583,'value',_0x5a680b=>!!_0x5a680b),_0x342c9f['once']('change:isOpen',()=>{const _0x123153=function({editor:_0x2f1d1e,dropdownView:_0x3d0b79,styleDefinitions:_0x4b6f29,styleGridAriaLabel:_0x2e8029}){const _0x19256f=_0x2f1d1e['locale'],_0x1dd7ea=_0x2f1d1e['config']['get']('list.properties'),_0x224607=null;_0x1dd7ea['reversed']=!0x1,_0x4b6f29['length']||(_0x1dd7ea['styles']=!0x1);const _0x372791=new MultiLevelListView(_0x19256f,{'styleGridAriaLabel':_0x2e8029,'enabledProperties':_0x1dd7ea,'styleButtonViews':_0x224607});if(_0x1dd7ea['startIndex']){const _0x15e871=_0x2f1d1e['commands']['get']('listStart');_0x372791['startIndexFieldView']['bind']('isEnabled')['to'](_0x15e871),_0x372791['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x15e871),_0x372791['on']('listStart',(_0x16edb7,_0x49718d)=>_0x2f1d1e['execute']('listStart',_0x49718d));}return _0x372791['delegate']('execute')['to'](_0x3d0b79),_0x372791;}({'editor':_0x16d770,'dropdownView':_0x342c9f,'styleGridAriaLabel':_0x11bee7,'styleDefinitions':_0x39e9ed});_0x342c9f['panelView']['children']['add'](_0x123153);}),_0x342c9f['on']('execute',()=>{_0x16d770['editing']['view']['focus']();}),_0x342c9f;};}({'editor':_0x968ee6,'parentCommandName':'multiLevelList','buttonLabel':_(_0x968ee6['locale'],'Multi-level\x20List'),'buttonIcon':_0x59df2c,'styleGridAriaLabel':_(_0x968ee6['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x968ee6['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x4d032b=_0x968ee6['commands']['get']('multiLevelList'),_0x5615cf=new _0x404926(_0x968ee6['locale']);return _0x5615cf['set']({'label':_(_0x968ee6['locale'],'Multi-level\x20List'),'icon':_0x59df2c}),_0x5615cf['bind']('isEnabled')['to'](_0x4d032b),_0x5615cf['bind']('isOn')['to'](_0x4d032b,'value',_0x55fb72=>!!_0x55fb72),_0x5615cf['on']('execute',()=>{_0x968ee6['execute']('multiLevelList'),_0x968ee6['editing']['view']['focus']();}),_0x5615cf;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x843d62=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a0ddd;for(const _0x21450e in _0x843d62){const _0x281e92=_0x21450e,_0x625e1f=_0x843d62[_0x281e92];if('multiLevelListLicenseKeyValid'==_0x625e1f||'multiLevelListLicenseKeyInvalid'==_0x625e1f||'multiLevelListLicenseKeyExpired'==_0x625e1f||'multiLevelListLicenseKeyDomainLimit'==_0x625e1f||'multiLevelListLicenseKeyNotAllowed'==_0x625e1f||'multiLevelListLicenseKeyEvaluationLimit'==_0x625e1f||'multiLevelListLicenseKeyUsageLimit'==_0x625e1f){delete _0x843d62[_0x281e92],_0x3a0ddd=_0x625e1f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x3a0ddd&&_0x843d62['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x3a0ddd&&_0x843d62['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x3a0ddd&&_0x843d62['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x3a0ddd&&_0x843d62['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x3a0ddd&&_0x843d62['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x3a0ddd&&_0x843d62['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x103050{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}export{MultiLevelList,MultiLevelListCommand,MultiLevelListEditing,MultiLevelListUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-list-multi-level",
|
|
3
|
-
"version": "48.8.1-alpha.
|
|
3
|
+
"version": "48.8.1-alpha.2",
|
|
4
4
|
"description": "Multi-level list feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"./package.json": "./package.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ckeditor/ckeditor5-clipboard": "48.8.1-alpha.
|
|
36
|
-
"@ckeditor/ckeditor5-core": "48.8.1-alpha.
|
|
37
|
-
"@ckeditor/ckeditor5-engine": "48.8.1-alpha.
|
|
38
|
-
"@ckeditor/ckeditor5-icons": "48.8.1-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-list": "48.8.1-alpha.
|
|
40
|
-
"@ckeditor/ckeditor5-ui": "48.8.1-alpha.
|
|
41
|
-
"@ckeditor/ckeditor5-utils": "48.8.1-alpha.
|
|
35
|
+
"@ckeditor/ckeditor5-clipboard": "48.8.1-alpha.2",
|
|
36
|
+
"@ckeditor/ckeditor5-core": "48.8.1-alpha.2",
|
|
37
|
+
"@ckeditor/ckeditor5-engine": "48.8.1-alpha.2",
|
|
38
|
+
"@ckeditor/ckeditor5-icons": "48.8.1-alpha.2",
|
|
39
|
+
"@ckeditor/ckeditor5-list": "48.8.1-alpha.2",
|
|
40
|
+
"@ckeditor/ckeditor5-ui": "48.8.1-alpha.2",
|
|
41
|
+
"@ckeditor/ckeditor5-utils": "48.8.1-alpha.2"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"dist",
|