@ckeditor/ckeditor5-list-multi-level 48.2.0-alpha.3 → 48.2.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x880ff0,Plugin as _0x42ef4e}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x1e1b5c,ViewUpcastWriter as _0x20bae6}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x5eba4a,_isFirstBlockOfListItem as _0x3a0b77}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x128c54,createElement as _0x497652,uid as _0x5c24cc,FocusTracker as _0x2c43a5,KeystrokeHandler as _0x46bfad,global as _0x1a0ee5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x457396}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x492565,ViewCollection as _0x256ecf,FocusCycler as _0x2c2227,addKeyboardHandlingForGrid as _0x2aa305,CollapsibleView as _0x25c9b8,LabeledFieldView as _0x2ce337,createLabeledInputNumber as _0xb018dd,MenuBarMenuListItemButtonView as _0x1ff54c,ButtonView as _0x39e61c,createDropdown as _0x2ac8d3,SplitButtonView as _0x3498ad}from'@ckeditor/ckeditor5-ui/dist/index.js';class MultiLevelListCommand extends _0x880ff0{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x2574cb,_0xac9b93,_0x3b042f){super(_0x2574cb),this['defaultListMarkerStyle']=_0xac9b93,this['_listDefinitions']=_0x3b042f,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0xd6a3d3={}){const _0x5b2587=this['editor']['model'],_0x11e552=_0xd6a3d3['listMarkerStyle']||this['defaultListMarkerStyle'];_0x5b2587['change'](()=>{const _0x53899b=this['_getListTypeFromListMarkerStyle'](_0x11e552);if(!_0x53899b)return;const _0x297890=_0x53899b+'List';this['editor']['execute'](_0x297890,{'additionalAttributes':{'listMarkerStyle':_0x11e552}});});}['_getValue'](){const _0x49d876=_0x128c54(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x49d876)?_0x49d876['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x3a9ce9=this['editor'],_0x30e639=_0x3a9ce9['commands']['get']('customNumberedList'),_0x309464=_0x3a9ce9['commands']['get']('customBulletedList');return _0x30e639['isEnabled']||_0x309464['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x19eec1){const _0x4e55d0=this['_listDefinitions']['find'](_0x23000a=>_0x23000a['listMarkerStyle']==_0x19eec1);return _0x4e55d0?_0x4e55d0['listType']:null;}}class MultiLevelListEditing extends _0x42ef4e{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5eba4a];}constructor(_0x569359){super(_0x569359);const _0x48f5dd=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x54f551=>_0x54f551+'.'}]},..._0x48f5dd];}['init'](){const _0x3635d9=this['editor'],_0x1ed0a1=_0x3635d9['model'],_0x347cbb=_0x3635d9['editing']['view'],_0x2e50f5=_0x3635d9['plugins']['get'](_0x5eba4a);_0x3635d9['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x3635d9,'legal',this['_listDefinitions'])),_0x1ed0a1['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x1ed0a1['schema']['addAttributeCheck']((_0x4770de,_0x5386f8)=>{const _0x46b695=_0x4770de['last'];if('listMarker'==_0x5386f8||'listMarkerStyle'==_0x5386f8)return!(!_0x46b695['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0xa570df=>_0xa570df['listType']==_0x46b695['getAttribute']('listType')))&&void 0x0;});for(const _0x164074 of this['_listDefinitions'])_0x3635d9['conversion']['for']('upcast')['add'](_0x19af10=>{_0x19af10['on']('element:'+('customNumbered'==_0x164074['listType']?'ol':'ul'),N(_0x164074,_0x1ed0a1['schema']),{'priority':'low'});}),_0x2e50f5['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x3aca68,_0x101b8f,_0x39e9fe){_0x101b8f==_0x164074['listMarkerStyle']?(_0x3aca68['addClass'](['multi-level-list',_0x164074['className']],_0x39e9fe),_0x3aca68['setStyle']('list-style-type','none',_0x39e9fe)):(_0x3aca68['removeClass'](['multi-level-list',_0x164074['className']],_0x39e9fe),_0x3aca68['removeStyle']('list-style-type',_0x39e9fe));}}),_0x2e50f5['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x4036cb,_0x473462,{dataPipeline:_0x23f9e4}){if(!_0x473462['hasAttribute']('listMarker'))return null;if(_0x473462['getAttribute']('listType')!=_0x164074['listType']||_0x473462['getAttribute']('listMarkerStyle')!=_0x164074['listMarkerStyle'])return null;const _0x170c92=String(_0x473462['getAttribute']('listMarker')),_0x39e87b=this['canInjectMarkerIntoElement'](_0x473462);return _0x4036cb['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x23f9e4&&{'contenteditable':'false','data-multi-level-list-marker':_0x170c92}},function(_0x2599b2){const _0x56a52d=this['toDomElement'](_0x2599b2);return _0x39e87b?(_0x56a52d['appendChild'](_0x497652(_0x2599b2,'span',{},_0x23f9e4?_0x2599b2['createTextNode'](_0x170c92):[])),_0x56a52d['appendChild'](_0x2599b2['createTextNode']('\u00a0'))):_0x23f9e4&&_0x56a52d['appendChild'](_0x2599b2['createTextNode'](_0x170c92)),_0x56a52d;});},'canInjectMarkerIntoElement':_0x2c7f87=>_0x1ed0a1['schema']['checkChild'](_0x2c7f87,'$text')&&_0x1ed0a1['schema']['checkChild'](_0x2c7f87,'$inlineObject')&&!_0x1ed0a1['schema']['isLimit'](_0x2c7f87)&&_0x2c7f87['getAttribute']('listType')==_0x164074['listType']&&_0x2c7f87['getAttribute']('listMarkerStyle')==_0x164074['listMarkerStyle']});_0x3635d9['conversion']['for']('upcast')['add'](_0xe0cf87=>{_0xe0cf87['on']('element:span',function(_0x22f3de){return(_0xe86d3c,_0x1f5e1e,{writer:_0x5b0bad,consumable:_0x167da5})=>{const _0x161e98=_0x1f5e1e['modelCursor'],_0x2d31fc=_0x161e98['parent'],_0x4f72b8=_0x1f5e1e['viewItem'];if(_0x167da5['consume'](_0x4f72b8,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x161e98['isAtStart']&&_0x2d31fc['hasAttribute']('listType')&&_0x4f72b8['childCount']>0x0){const _0xbd16d6=_0x22f3de['createRangeIn'](_0x4f72b8);let _0x4b3a9a='';for(const _0x240ce2 of _0xbd16d6['getItems']())_0x240ce2['is']('$textProxy')?(_0x4b3a9a+=_0x240ce2['data']['trim'](),_0x167da5['consume'](_0x240ce2['textNode'])):_0x167da5['consume'](_0x240ce2,{'name':!0x0});_0x5b0bad['setAttribute']('listMarker',_0x4b3a9a['trim'](),_0x2d31fc);}};}(_0x347cbb));}),_0x2e50f5['on']('postFixer',(_0x26cba4,{listNodes:_0x58fca1,writer:_0x457343})=>{const _0x4a5557=[];for(const {node:_0x40eac0,previousNodeInList:_0x4bb7a8}of _0x58fca1){const _0x3876a8=_0x40eac0['getAttribute']('listType'),_0x58dd53=_0x40eac0['getAttribute']('listMarkerStyle')||('customNumbered'==_0x3876a8?'legal':void 0x0),_0x168645=this['_listDefinitions']['find'](_0x432fd5=>_0x432fd5['listType']==_0x3876a8&&_0x432fd5['listMarkerStyle']==_0x58dd53);if('customNumbered'!=_0x3876a8&&'customBulleted'!=_0x3876a8&&(_0x40eac0['hasAttribute']('listMarker')&&(_0x457343['removeAttribute']('listMarker',_0x40eac0),_0x26cba4['return']=!0x0),_0x40eac0['hasAttribute']('listMarkerStyle')&&(_0x457343['removeAttribute']('listMarkerStyle',_0x40eac0),_0x26cba4['return']=!0x0)),!_0x168645){'customBulleted'!=_0x3876a8||_0x58dd53||(_0x457343['setAttribute']('listType','bulleted',_0x40eac0),_0x26cba4['return']=!0x0);continue;}_0x40eac0['hasAttribute']('listMarkerStyle')||(_0x457343['setAttribute']('listMarkerStyle',_0x58dd53,_0x40eac0),_0x26cba4['return']=!0x0);const _0x2c0fbc=_0x40eac0['getAttribute']('listIndent');if(_0x4bb7a8&&_0x4bb7a8['getAttribute']('listItemId')==_0x40eac0['getAttribute']('listItemId'))continue;if(_0x4a5557['length']=_0x2c0fbc+0x1,_0x3635d9['config']['get']('list.enableSkipLevelLists')){for(let _0x65b73=0x0;_0x65b73<_0x2c0fbc;_0x65b73++)void 0x0===_0x4a5557[_0x65b73]&&(_0x4a5557[_0x65b73]=0x1);}_0x4bb7a8||_0x4a5557[_0x2c0fbc]?_0x4bb7a8&&_0x4bb7a8['getAttribute']('listType')!=_0x168645['listType']?_0x4a5557[_0x2c0fbc]=0x1:_0x4a5557[_0x2c0fbc]++:_0x4a5557[_0x2c0fbc]=_0x40eac0['getAttribute']('listStart')||0x1;const _0x371422=I(_0x2c0fbc,_0x168645,_0x4a5557);_0x40eac0['getAttribute']('listMarker')!=_0x371422&&(_0x457343['setAttribute']('listMarker',_0x371422,_0x40eac0),_0x26cba4['return']=!0x0);}}),_0x2e50f5['on']('checkElement',(_0x47334a,{modelElement:_0x4dd010,viewElement:_0x279909})=>{const _0x140ada=_0x4dd010['getAttribute']('listType');if('customNumbered'!=_0x140ada&&'customBulleted'!=_0x140ada)return;if(_0x1ed0a1['schema']['checkChild'](_0x4dd010,'$text'))return;const _0x5cc47c=_0x3a0b77(_0x4dd010);let _0x12adae=!0x1;const _0x474709=_0x347cbb['createPositionBefore'](_0x279909)['getWalker']({'direction':'backward'});for(const {item:_0x26ed4d}of _0x474709)if(_0x26ed4d['is']('element')){if(_0x3635d9['editing']['mapper']['toModelElement'](_0x26ed4d))break;if(_0x26ed4d['getCustomProperty']('listItemMarker')){_0x12adae=!0x0;break;}}_0x12adae!=_0x5cc47c&&(_0x47334a['return']=!0x0,_0x47334a['stop']());});const _0x367a56=_0x3635d9['editing']['view']['document'];this['listenTo'](_0x367a56,'clipboardOutput',(_0x2e072d,_0x3ac3db)=>{const _0x624d7b=new _0x1e1b5c({'name':'span','classes':'multi-level-list__marker'}),_0x1af3bb=new _0x1e1b5c({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x4c5e70=new _0x20bae6(_0x3ac3db['content']['document']),_0x428ff9=[];for(const _0x3a12a of _0x4c5e70['createRangeIn'](_0x3ac3db['content'])['getItems']())_0x3a12a['is']('element')&&_0x624d7b['match'](_0x3a12a)&&_0x428ff9['push'](_0x3a12a),_0x3a12a['is']('element')&&_0x1af3bb['match'](_0x3a12a)&&_0x4c5e70['removeStyle']('list-style-type',_0x3a12a);for(const _0x1bdeaf of _0x428ff9)_0x4c5e70['remove'](_0x1bdeaf);});}['afterInit'](){!async function(_0x202d03){const _0x2af940=_0x5b6cd5([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]),_0x1f0b2d=0xf46a94a,_0x39168e=0xf4122c2^_0x1f0b2d,_0x201e80=window[_0x5b6cd5([0x44,0x61,0x74,0x65])][_0x5b6cd5([0x6e,0x6f,0x77])](),_0x1c3184=_0x202d03[_0x5b6cd5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46eefb=new window[(_0x5b6cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a0ad8=>{_0x1c3184[_0x5b6cd5([0x6f,0x6e,0x63,0x65])](_0x5b6cd5([0x72,0x65,0x61,0x64,0x79]),_0x2a0ad8);}),_0x3a9957={[_0x5b6cd5([0x6b,0x74,0x79])]:_0x5b6cd5([0x45,0x43]),[_0x5b6cd5([0x75,0x73,0x65])]:_0x5b6cd5([0x73,0x69,0x67]),[_0x5b6cd5([0x63,0x72,0x76])]:_0x5b6cd5([0x50,0x2d,0x32,0x35,0x36]),[_0x5b6cd5([0x78])]:_0x5b6cd5([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]),[_0x5b6cd5([0x79])]:_0x5b6cd5([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]),[_0x5b6cd5([0x61,0x6c,0x67])]:_0x5b6cd5([0x45,0x53,0x32,0x35,0x36])},_0x2b7d18=_0x1c3184[_0x5b6cd5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b6cd5([0x67,0x65,0x74])](_0x5b6cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6c968b(){let _0x540fe3,_0x152a34=null,_0x4a185b=null;try{if(_0x2b7d18==_0x5b6cd5([0x47,0x50,0x4c]))return _0x5b6cd5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x540fe3=_0x3e31fa(),!_0x540fe3)return _0x5b6cd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x540fe3[_0x5b6cd5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a185b=_0xa97aed(_0x540fe3[_0x5b6cd5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x540fe3[_0x5b6cd5([0x6a,0x74,0x69])])),await _0x3fcff1()?_0x4a2e9b()?_0x1d9452()?_0x5b6cd5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x626854()?(_0x540fe3[_0x5b6cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b6cd5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x152a34=_0x5ecfb2(_0x5b6cd5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1981a3()):_0x5b6cd5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b6cd5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b6cd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b6cd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d9452(){const _0x125452=[_0x5b6cd5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b6cd5([0x74,0x72,0x69,0x61,0x6c])][_0x5b6cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x540fe3[_0x5b6cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x201e80/0x3e8:0xe10*_0x39168e;return _0x540fe3[_0x5b6cd5([0x65,0x78,0x70])]<_0x125452;}function _0x4a2e9b(){const _0x47c8d0=_0x540fe3[_0x5b6cd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47c8d0&&(!!_0x47c8d0[_0x5b6cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b6cd5([0x2a]))||!!_0x47c8d0[_0x5b6cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b6cd5([0x4d,0x4c,0x4c])));}function _0x626854(){const _0x2e1617=_0x540fe3[_0x5b6cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e1617||0x0==_0x2e1617[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b727a}=new URL(window[_0x5b6cd5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2e1617[_0x5b6cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b727a))return!0x0;const _0x2224c0=_0x3b727a[_0x5b6cd5([0x73,0x70,0x6c,0x69,0x74])](_0x5b6cd5([0x2e]));return _0x2e1617[_0x5b6cd5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e9e15=>_0x3e9e15[_0x5b6cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b6cd5([0x2a])))[_0x5b6cd5([0x6d,0x61,0x70])](_0x49a443=>_0x49a443[_0x5b6cd5([0x73,0x70,0x6c,0x69,0x74])](_0x5b6cd5([0x2e])))[_0x5b6cd5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x387618=>_0x387618[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2224c0[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b6cd5([0x6d,0x61,0x70])](_0x26d942=>Array(_0x2224c0[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x26d942[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b6cd5([0x66,0x69,0x6c,0x6c])](_0x26d942[0x0]===_0x5b6cd5([0x2a])?_0x5b6cd5([0x2a]):'')[_0x5b6cd5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x26d942))[_0x5b6cd5([0x73,0x6f,0x6d,0x65])](_0x143638=>_0x2224c0[_0x5b6cd5([0x65,0x76,0x65,0x72,0x79])]((_0x4ca9be,_0x4cb729)=>_0x143638[_0x4cb729]===_0x4ca9be||_0x143638[_0x4cb729]===_0x5b6cd5([0x2a])));}function _0x1981a3(){return _0x152a34&&_0x4a185b?new window[(_0x5b6cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x581e1f,_0x6c5cc2)=>{_0x152a34[_0x5b6cd5([0x74,0x68,0x65,0x6e])](_0x581e1f,_0x6c5cc2),_0x4a185b[_0x5b6cd5([0x74,0x68,0x65,0x6e])](_0x78b406=>{_0x78b406!=_0x5b6cd5([0x56,0x61,0x6c,0x69,0x64])&&_0x581e1f(_0x78b406);},_0x6c5cc2);}):_0x152a34||_0x4a185b||_0x5b6cd5([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa97aed(_0x5c0f52,_0x4126db){return new window[(_0x5b6cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x229238=>{if(_0x4c9dd2())return _0x229238(_0x5b6cd5([0x56,0x61,0x6c,0x69,0x64]));_0x7fdc73(),_0x1c3184[_0x5b6cd5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b6cd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x32d982=!0x1;const _0x59c174=_0x5c24cc();function _0x40ef72(_0x91ecf6){return!!_0x91ecf6&&(typeof _0x91ecf6===_0x5b6cd5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x91ecf6===_0x5b6cd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x91ecf6[_0x5b6cd5([0x74,0x68,0x65,0x6e])]===_0x5b6cd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x91ecf6[_0x5b6cd5([0x63,0x61,0x74,0x63,0x68])]===_0x5b6cd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x532805(_0x50ad1a){_0x1a6639(_0x50ad1a)[_0x5b6cd5([0x74,0x68,0x65,0x6e])](_0x5d3479=>{if(!_0x5d3479||_0x5d3479[_0x5b6cd5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b6cd5([0x6f,0x6b]))return _0x5b6cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x470442(_0x210b95(_0x59c174+_0x4126db))!=_0x5d3479[_0x5b6cd5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b6cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b6cd5([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b6cd5([0x74,0x68,0x65,0x6e])](_0x31d8f7=>(_0x33b228(),_0x31d8f7),()=>{const _0x2a107c=_0x17cf2e();return null==_0x2a107c?(_0x33b228(),_0x5b6cd5([0x56,0x61,0x6c,0x69,0x64])):_0x5b6cd5(_0x201e80-_0x2a107c>(0x2b4a2d4a^_0x1f0b2d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b6cd5([0x74,0x68,0x65,0x6e])](_0x229238)[_0x5b6cd5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x229238(_0x5b6cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x190095=0xf7047ca^_0x1f0b2d;function _0x33b228(){const _0x37f77f=_0x5b6cd5([0x6c,0x6c,0x63,0x74,0x2d])+_0x470442(_0x210b95(_0x5c0f52)),_0x4a3ef0=_0x21354c(_0x470442(window[_0x5b6cd5([0x4d,0x61,0x74,0x68])][_0x5b6cd5([0x63,0x65,0x69,0x6c])](_0x201e80/_0x190095)));window[_0x5b6cd5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b6cd5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37f77f,_0x4a3ef0);}function _0x17cf2e(){const _0x2648f1=_0x5b6cd5([0x6c,0x6c,0x63,0x74,0x2d])+_0x470442(_0x210b95(_0x5c0f52)),_0x2b4a7e=window[_0x5b6cd5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b6cd5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2648f1);return _0x2b4a7e?window[_0x5b6cd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21354c(_0x2b4a7e),0x10)*_0x190095:null;}function _0x1a6639(_0x14c44c){return new window[(_0x5b6cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbf23a1,_0x4953b5)=>{_0x14c44c[_0x5b6cd5([0x74,0x68,0x65,0x6e])](_0xbf23a1,_0x4953b5),window[_0x5b6cd5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4953b5,0xf477d8a^_0x1f0b2d);});}}_0x1c3184[_0x5b6cd5([0x6f,0x6e])](_0x5b6cd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd0416a,_0x19f47b)=>{if(_0x19f47b[0x0]!=_0x5c0f52)return _0x229238(_0x5b6cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x19f47b[0x1]={..._0x19f47b[0x1],[_0x5b6cd5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x59c174};},{[_0x5b6cd5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b6cd5([0x68,0x69,0x67,0x68])}),_0x1c3184[_0x5b6cd5([0x6f,0x6e])](_0x5b6cd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x128174=>{_0x40ef72(_0x128174[_0x5b6cd5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x32d982=!0x0,_0x532805(_0x128174[_0x5b6cd5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b6cd5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b6cd5([0x6c,0x6f,0x77])}),_0x46eefb[_0x5b6cd5([0x74,0x68,0x65,0x6e])](()=>{_0x32d982||_0x229238(_0x5b6cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c9dd2(){return _0x1c3184[_0x5b6cd5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b6cd5([0x76,0x69,0x65,0x77])][_0x5b6cd5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b6cd5([0x61,0x75,0x74,0x6f]);}function _0x7fdc73(){_0x1c3184[_0x5b6cd5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b6cd5([0x76,0x69,0x65,0x77])][_0x5b6cd5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b6cd5([0x61,0x75,0x74,0x6f]);}}function _0x5ecfb2(_0x13f9d7){const _0x2208ce=[new window[(_0x5b6cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d495e=>setTimeout(_0x3d495e,0xf4f9786^_0x1f0b2d)),_0x46eefb[_0x5b6cd5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b6cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3eb482=>{let _0x74615a=0x0;_0x1c3184[_0x5b6cd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b6cd5([0x6f,0x6e])](_0x5b6cd5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d082b,_0x51c330)=>{_0x51c330[0x0][_0x5b6cd5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x74615a++,_0x74615a==(0xf46aca2^_0x1f0b2d)&&(_0x3eb482(),_0x2d082b[_0x5b6cd5([0x6f,0x66,0x66])]());});}))];return window[_0x5b6cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b6cd5([0x72,0x61,0x63,0x65])](_0x2208ce)[_0x5b6cd5([0x74,0x68,0x65,0x6e])](()=>_0x13f9d7);}async function _0xb5a9b8(){await _0x46eefb,_0x1c3184[_0x5b6cd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b6cd5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2dc318,_0x1c3184[_0x5b6cd5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b6cd5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2dc318,_0x1c3184[_0x5b6cd5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b6cd5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x74cb95(_0x1a5108){const _0x1dcec8=_0x114ddd();_0x1c3184[_0x1dcec8]=_0x5b6cd5([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a5108,_0x1a5108!=_0x5b6cd5([0x56,0x61,0x6c,0x69,0x64])&&_0xb5a9b8();}function _0x114ddd(){const _0x187efd=window[_0x5b6cd5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b6cd5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b6cd5([0x6e,0x6f,0x77])]())[_0x5b6cd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b6cd5([0x2e]),'');let _0x4c967d=_0x5b6cd5([0x75]);for(let _0x2f1363=0x0;_0x2f1363<_0x187efd[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f1363+=0x2){let _0x326095=window[_0x5b6cd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x187efd[_0x5b6cd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f1363,_0x2f1363+0x2));_0x326095>=_0x2af940[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x326095-=_0x2af940[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c967d+=_0x2af940[_0x326095];}return _0x4c967d;}function _0x3e31fa(){const _0x1689a7=_0x2b7d18[_0x5b6cd5([0x73,0x70,0x6c,0x69,0x74])](_0x5b6cd5([0x2e]));if(0x3!=_0x1689a7[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x384f4d(_0x1689a7[0x1]);function _0x384f4d(_0x17e37b){const _0x18d8ea=_0x385341(_0x17e37b);return _0x18d8ea&&_0x51ab8c()?_0x18d8ea:null;function _0x51ab8c(){const _0x175a2e=_0x18d8ea[_0x5b6cd5([0x6a,0x74,0x69])],_0x2a2a4a=window[_0x5b6cd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x175a2e[_0x5b6cd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x175a2e[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1febb1={..._0x18d8ea,[_0x5b6cd5([0x6a,0x74,0x69])]:_0x175a2e[_0x5b6cd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x175a2e[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1febb1[_0x5b6cd5([0x76,0x63])],_0x210b95(_0x1febb1)==_0x2a2a4a;}}}async function _0x3fcff1(){let _0x3ea468=!0x0;try{const _0x1b9d40=_0x2b7d18[_0x5b6cd5([0x73,0x70,0x6c,0x69,0x74])](_0x5b6cd5([0x2e])),[_0x242edd,_0x58fda8,_0x25580e]=_0x1b9d40;return _0x4a8ac7(_0x242edd),await _0x335944(_0x242edd,_0x58fda8,_0x25580e),_0x3ea468;}catch{return!0x1;}function _0x4a8ac7(_0x3bd5c2){const _0x53b1ac=_0x385341(_0x3bd5c2);_0x53b1ac&&_0x53b1ac[_0x5b6cd5([0x61,0x6c,0x67])]==_0x5b6cd5([0x45,0x53,0x32,0x35,0x36])||(_0x3ea468=!0x1);}async function _0x335944(_0x426241,_0x7adce0,_0x3b3cbe){const _0x1f7d2b=window[_0x5b6cd5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b6cd5([0x66,0x72,0x6f,0x6d])](_0x21abfe(_0x3b3cbe),_0x2047de=>_0x2047de[_0x5b6cd5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x33b008=new window[(_0x5b6cd5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b6cd5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x426241+_0x5b6cd5([0x2e])+_0x7adce0),_0x58a124=window[_0x5b6cd5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b6cd5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58a124)return;const _0x13993c=await _0x58a124[_0x5b6cd5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b6cd5([0x6a,0x77,0x6b]),_0x3a9957,{[_0x5b6cd5([0x6e,0x61,0x6d,0x65])]:_0x5b6cd5([0x45,0x43,0x44,0x53,0x41]),[_0x5b6cd5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b6cd5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b6cd5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58a124[_0x5b6cd5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b6cd5([0x6e,0x61,0x6d,0x65])]:_0x5b6cd5([0x45,0x43,0x44,0x53,0x41]),[_0x5b6cd5([0x68,0x61,0x73,0x68])]:{[_0x5b6cd5([0x6e,0x61,0x6d,0x65])]:_0x5b6cd5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x13993c,_0x1f7d2b,_0x33b008)||(_0x3ea468=!0x1);}}function _0x385341(_0x4391cc){return _0x4391cc[_0x5b6cd5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b6cd5([0x65,0x79]))?JSON[_0x5b6cd5([0x70,0x61,0x72,0x73,0x65])](_0x21abfe(_0x4391cc)):null;}function _0x21abfe(_0xa96222){return window[_0x5b6cd5([0x61,0x74,0x6f,0x62])](_0xa96222[_0x5b6cd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b6cd5([0x2b]))[_0x5b6cd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b6cd5([0x2f])));}function _0x210b95(_0xa564bd){let _0x1ec8ac=0x1505;function _0xbe3b78(_0x121333){for(let _0x11b200=0x0;_0x11b200<_0x121333[_0x5b6cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11b200++){const _0x3031a3=_0x121333[_0x5b6cd5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11b200);_0x1ec8ac=(_0x1ec8ac<<0x5)+_0x1ec8ac+_0x3031a3,_0x1ec8ac&=_0x1ec8ac;}}function _0x2805e6(_0x4df5fb){Array[_0x5b6cd5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4df5fb)?_0x4df5fb[_0x5b6cd5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2805e6):_0x4df5fb&&typeof _0x4df5fb==_0x5b6cd5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b6cd5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4df5fb)[_0x5b6cd5([0x73,0x6f,0x72,0x74])]()[_0x5b6cd5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38605a,_0x403706])=>{_0xbe3b78(_0x38605a),_0x2805e6(_0x403706);}):_0xbe3b78(window[_0x5b6cd5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4df5fb));}return _0x2805e6(_0xa564bd),_0x1ec8ac>>>0x0;}function _0x470442(_0x2c7817){return _0x2c7817[_0x5b6cd5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b6cd5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b6cd5([0x30]));}function _0x21354c(_0x287655){return _0x287655[_0x5b6cd5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b6cd5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b6cd5([0x6a,0x6f,0x69,0x6e])]('');}function _0x2dc318(){}function _0x5b6cd5(_0x58ed59){return _0x58ed59['map'](_0x58d9b6=>String['fromCharCode'](_0x58d9b6))['join']('');}_0x74cb95(await _0x6c968b());}(this);}}function I(_0x163177,_0x45913e,_0x3b7467){let _0xda579b=_0x45913e['listMarkers'][_0x163177%_0x45913e['listMarkers']['length']];if(void 0x0===_0xda579b['showMarkerPath']||_0xda579b['showMarkerPath'])return _0x3b7467['slice'](0x0,_0x163177+0x1)['map']((_0x1f424b,_0x3f69bf)=>(_0xda579b=_0x45913e['listMarkers'][_0x3f69bf%_0x45913e['listMarkers']['length']],S(_0xda579b['marker'],_0x1f424b)))['join']('');{const _0x5a5130=_0x3b7467[_0x3b7467['length']-0x1];return S(_0xda579b['marker'],_0x5a5130);}}function S(_0x5c2c75,_0x36321d){return'function'==typeof _0x5c2c75?_0x5c2c75(_0x36321d):_0x5c2c75;}function N(_0x4be16f,_0x52c095){return(_0x4ca8b7,_0x5afa71,_0x5137c5)=>{const _0x543de5=_0x5afa71['viewItem'];if(_0x5afa71['modelRange']||Object['assign'](_0x5afa71,_0x5137c5['convertChildren'](_0x5afa71['viewItem'],_0x5afa71['modelCursor'])),!_0x5137c5['consumable']['test'](_0x543de5,{'classes':_0x4be16f['className']}))return;const _0x4ad638=Array['from'](_0x5afa71['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x504cf2=>_0x52c095['checkAttribute'](_0x504cf2,'listItemId'));if(!_0x4ad638['length'])return;_0x5137c5['consumable']['consume'](_0x543de5,{'classes':_0x4be16f['className']}),_0x5137c5['consumable']['consume'](_0x543de5,{'classes':'multi-level-list'}),_0x5137c5['consumable']['consume'](_0x543de5,{'styles':'list-style-type'});const _0x1cf762=_0x4ad638[0x0]['getAttribute']('listIndent');for(const _0x4d5fe5 of _0x4ad638)_0x4d5fe5['getAttribute']('listIndent')==_0x1cf762&&(_0x5137c5['writer']['setAttribute']('listType',_0x4be16f['listType'],_0x4d5fe5),_0x5137c5['writer']['setAttribute']('listMarkerStyle',_0x4be16f['listMarkerStyle'],_0x4d5fe5));};}function _(_0x37b60a,_0x16a867){const _0x3da1de=_0x37b60a['t'],t=_0x37b60a['t'];switch(_0x16a867){case'Start\x20at':return _0x3da1de('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x3da1de('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x3da1de('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x3da1de('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 _0x16a867;}}class MultiLevelListView extends _0x492565{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x2c43a5();['keystrokes']=new _0x46bfad();['focusables']=new _0x256ecf();['focusCycler'];constructor(_0x5da7f8,{enabledProperties:_0x41ff72,styleButtonViews:_0x345ec1,styleGridAriaLabel:_0x2b5154}){super(_0x5da7f8);const _0x3aa814=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x2c2227({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x41ff72['styles']?(this['stylesView']=this['_createStylesView'](_0x345ec1,_0x2b5154),this['children']['add'](this['stylesView'])):_0x3aa814['push']('ck-multi-level-list-properties_without-styles'),_0x41ff72['startIndex']&&(this['_addListPropertyViews'](_0x41ff72),_0x3aa814['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x3aa814},'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 _0x7d9ba0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x7d9ba0['element']);_0x2aa305({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x1a0ee5['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 _0xb354b1=_0x537d68=>_0x537d68['stopPropagation']();this['keystrokes']['set']('arrowright',_0xb354b1),this['keystrokes']['set']('arrowleft',_0xb354b1),this['keystrokes']['set']('arrowup',_0xb354b1),this['keystrokes']['set']('arrowdown',_0xb354b1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x48d415,_0xe4fc93){const _0x2bf0e9=new _0x492565(this['locale']);return _0x2bf0e9['children']=_0x2bf0e9['createCollection'](),_0x2bf0e9['children']['addMany'](_0x48d415),_0x2bf0e9['setTemplate']({'tag':'div','attributes':{'aria-label':_0xe4fc93,'class':['ck','ck-multi-level-list-styles']},'children':_0x2bf0e9['children']}),_0x2bf0e9['children']['delegate']('execute')['to'](this),_0x2bf0e9['focus']=function(){this['children']['first']['focus']();},_0x2bf0e9['focusTracker']=new _0x2c43a5(),_0x2bf0e9['keystrokes']=new _0x46bfad(),_0x2bf0e9['render'](),_0x2bf0e9['keystrokes']['listenTo'](_0x2bf0e9['element']),_0x2bf0e9;}['_addListPropertyViews'](_0x8047f2){const _0x1d8ee2=[];_0x8047f2['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x1d8ee2['push'](this['startIndexFieldView'])),_0x8047f2['styles']?(this['additionalPropertiesCollapsibleView']=new _0x25c9b8(this['locale'],_0x1d8ee2),this['additionalPropertiesCollapsibleView']['set']({'label':_(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x1d8ee2,'isEnabled',(..._0x7176ea)=>_0x7176ea['some'](_0x235f21=>_0x235f21)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x1bd0a6,_0x3f2ac6,_0xd89d28)=>{_0xd89d28||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x1d8ee2);}['_createStartIndexField'](){const _0x5a4530=new _0x2ce337(this['locale'],_0xb018dd);return _0x5a4530['set']({'label':_(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x5a4530['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5a4530['fieldView']['on']('input',()=>{const _0x205fa5=_0x5a4530['fieldView']['element'],_0x38ec11=_0x205fa5['valueAsNumber'];Number['isNaN'](_0x38ec11)?_0x5a4530['errorText']=_(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x205fa5['checkValidity']()?this['fire']('listStart',{'startIndex':_0x38ec11}):_0x5a4530['errorText']=_(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x5a4530;}}class MultiLevelListUI extends _0x42ef4e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe95138=this['editor'];_0xe95138['ui']['componentFactory']['add']('multiLevelList',function({editor:_0xbf9f81,parentCommandName:_0x30edcc,buttonLabel:_0x439ee5,buttonIcon:_0xcf0bf1,styleGridAriaLabel:_0x3c3e3b,styleDefinitions:_0x131d41}){const _0xfa2f16=_0xbf9f81['commands']['get'](_0x30edcc),_0x191c47=_0xbf9f81['config']['get']('list.properties')||{},_0x4cd318=_0xbf9f81['plugins']['has']('ListProperties'),_0x4cfc8f=_0x191c47['startIndex'];if(!_0x4cd318||!_0x4cfc8f)return _0xf67db7=>{const _0x2d7343=new _0x39e61c(_0xf67db7);return _0x2d7343['set']({'label':_0x439ee5,'icon':_0xcf0bf1,'tooltip':!0x0,'isToggleable':!0x0}),_0x2d7343['bind']('isOn')['to'](_0xfa2f16,'value',_0x488e83=>!!_0x488e83),_0x2d7343['on']('execute',()=>{_0xbf9f81['execute'](_0x30edcc),_0xbf9f81['editing']['view']['focus']();}),_0x2d7343;};return _0x7cc345=>{const _0x5451e1=_0x2ac8d3(_0x7cc345,_0x3498ad),_0x26f622=_0x5451e1['buttonView'];return _0x5451e1['bind']('isEnabled')['to'](_0xfa2f16),_0x5451e1['class']='ck-list-styles-dropdown',_0x26f622['on']('execute',()=>{_0xbf9f81['execute'](_0x30edcc),_0xbf9f81['editing']['view']['focus']();}),_0x26f622['set']({'label':_0x439ee5,'icon':_0xcf0bf1,'tooltip':!0x0,'isToggleable':!0x0}),_0x26f622['bind']('isOn')['to'](_0xfa2f16,'value',_0x305a0f=>!!_0x305a0f),_0x5451e1['once']('change:isOpen',()=>{const _0x2741be=function({editor:_0x427f5a,dropdownView:_0x1b0994,styleDefinitions:_0x35648e,styleGridAriaLabel:_0x1762c0}){const _0x53fd68=_0x427f5a['locale'],_0x2aa0eb=_0x427f5a['config']['get']('list.properties'),_0x3755b2=null;_0x2aa0eb['reversed']=!0x1,_0x35648e['length']||(_0x2aa0eb['styles']=!0x1);const _0x2a62c2=new MultiLevelListView(_0x53fd68,{'styleGridAriaLabel':_0x1762c0,'enabledProperties':_0x2aa0eb,'styleButtonViews':_0x3755b2});if(_0x2aa0eb['startIndex']){const _0x417e54=_0x427f5a['commands']['get']('listStart');_0x2a62c2['startIndexFieldView']['bind']('isEnabled')['to'](_0x417e54),_0x2a62c2['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x417e54),_0x2a62c2['on']('listStart',(_0x30f838,_0x1d03f4)=>_0x427f5a['execute']('listStart',_0x1d03f4));}return _0x2a62c2['delegate']('execute')['to'](_0x1b0994),_0x2a62c2;}({'editor':_0xbf9f81,'dropdownView':_0x5451e1,'styleGridAriaLabel':_0x3c3e3b,'styleDefinitions':_0x131d41});_0x5451e1['panelView']['children']['add'](_0x2741be);}),_0x5451e1['on']('execute',()=>{_0xbf9f81['editing']['view']['focus']();}),_0x5451e1;};}({'editor':_0xe95138,'parentCommandName':'multiLevelList','buttonLabel':_(_0xe95138['locale'],'Multi-level\x20List'),'buttonIcon':_0x457396,'styleGridAriaLabel':_(_0xe95138['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0xe95138['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x1fa4bd=_0xe95138['commands']['get']('multiLevelList'),_0x96a356=new _0x1ff54c(_0xe95138['locale']);return _0x96a356['set']({'label':_(_0xe95138['locale'],'Multi-level\x20List'),'icon':_0x457396}),_0x96a356['bind']('isEnabled')['to'](_0x1fa4bd),_0x96a356['bind']('isOn')['to'](_0x1fa4bd,'value',_0x3372a8=>!!_0x3372a8),_0x96a356['on']('execute',()=>{_0xe95138['execute']('multiLevelList'),_0xe95138['editing']['view']['focus']();}),_0x96a356;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x23b693=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1a2307;for(const _0x31df52 in _0x23b693){const _0x1f5206=_0x31df52,_0x1fb259=_0x23b693[_0x1f5206];if('multiLevelListLicenseKeyValid'==_0x1fb259||'multiLevelListLicenseKeyInvalid'==_0x1fb259||'multiLevelListLicenseKeyExpired'==_0x1fb259||'multiLevelListLicenseKeyDomainLimit'==_0x1fb259||'multiLevelListLicenseKeyNotAllowed'==_0x1fb259||'multiLevelListLicenseKeyEvaluationLimit'==_0x1fb259||'multiLevelListLicenseKeyUsageLimit'==_0x1fb259){delete _0x23b693[_0x1f5206],_0x1a2307=_0x1fb259,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x1a2307&&_0x23b693['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x1a2307&&_0x23b693['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x1a2307&&_0x23b693['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x1a2307&&_0x23b693['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x1a2307&&_0x23b693['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x1a2307&&_0x23b693['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x42ef4e{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 _0x597392,Plugin as _0x502acf}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x522deb,ViewUpcastWriter as _0x247e2b}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x475dc3,_isFirstBlockOfListItem as _0x1f52fe}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x5e0b00,createElement as _0x4e0556,uid as _0x454d96,FocusTracker as _0x3f3235,KeystrokeHandler as _0xfa3ba4,global as _0x2ba46e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x5a5ee3}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x5b1584,ViewCollection as _0x151297,FocusCycler as _0x37b0b4,addKeyboardHandlingForGrid as _0x158c5c,CollapsibleView as _0x4bf5aa,LabeledFieldView as _0x5b376e,createLabeledInputNumber as _0x1689f4,MenuBarMenuListItemButtonView as _0x9dcdf0,ButtonView as _0x371ea6,createDropdown as _0x5a9c8e,SplitButtonView as _0x33955d}from'@ckeditor/ckeditor5-ui/dist/index.js';class MultiLevelListCommand extends _0x597392{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x4964ce,_0x33c587,_0x40e6cc){super(_0x4964ce),this['defaultListMarkerStyle']=_0x33c587,this['_listDefinitions']=_0x40e6cc,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x569880={}){const _0x56a742=this['editor']['model'],_0x29b57a=_0x569880['listMarkerStyle']||this['defaultListMarkerStyle'];_0x56a742['change'](()=>{const _0x163b30=this['_getListTypeFromListMarkerStyle'](_0x29b57a);if(!_0x163b30)return;const _0x4716c2=_0x163b30+'List';this['editor']['execute'](_0x4716c2,{'additionalAttributes':{'listMarkerStyle':_0x29b57a}});});}['_getValue'](){const _0x37f280=_0x5e0b00(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x37f280)?_0x37f280['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x441a73=this['editor'],_0x4f4eb7=_0x441a73['commands']['get']('customNumberedList'),_0xe8a6fa=_0x441a73['commands']['get']('customBulletedList');return _0x4f4eb7['isEnabled']||_0xe8a6fa['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x142330){const _0x41ae1e=this['_listDefinitions']['find'](_0x3ee7e5=>_0x3ee7e5['listMarkerStyle']==_0x142330);return _0x41ae1e?_0x41ae1e['listType']:null;}}class MultiLevelListEditing extends _0x502acf{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x475dc3];}constructor(_0x16986b){super(_0x16986b);const _0xd14ee1=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x48e88a=>_0x48e88a+'.'}]},..._0xd14ee1];}['init'](){const _0x79f255=this['editor'],_0x219bb1=_0x79f255['model'],_0x5d777b=_0x79f255['editing']['view'],_0x52911b=_0x79f255['plugins']['get'](_0x475dc3);_0x79f255['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x79f255,'legal',this['_listDefinitions'])),_0x219bb1['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x219bb1['schema']['addAttributeCheck']((_0x482499,_0x203c72)=>{const _0x202359=_0x482499['last'];if('listMarker'==_0x203c72||'listMarkerStyle'==_0x203c72)return!(!_0x202359['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x28d6b9=>_0x28d6b9['listType']==_0x202359['getAttribute']('listType')))&&void 0x0;});for(const _0x58246c of this['_listDefinitions'])_0x79f255['conversion']['for']('upcast')['add'](_0xb8648f=>{_0xb8648f['on']('element:'+('customNumbered'==_0x58246c['listType']?'ol':'ul'),N(_0x58246c,_0x219bb1['schema']),{'priority':'low'});}),_0x52911b['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0xdbcb21,_0x2a9b19,_0x19740e){_0x2a9b19==_0x58246c['listMarkerStyle']?(_0xdbcb21['addClass'](['multi-level-list',_0x58246c['className']],_0x19740e),_0xdbcb21['setStyle']('list-style-type','none',_0x19740e)):(_0xdbcb21['removeClass'](['multi-level-list',_0x58246c['className']],_0x19740e),_0xdbcb21['removeStyle']('list-style-type',_0x19740e));}}),_0x52911b['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x309063,_0x5206dd,{dataPipeline:_0x2f3022}){if(!_0x5206dd['hasAttribute']('listMarker'))return null;if(_0x5206dd['getAttribute']('listType')!=_0x58246c['listType']||_0x5206dd['getAttribute']('listMarkerStyle')!=_0x58246c['listMarkerStyle'])return null;const _0x1b0dee=String(_0x5206dd['getAttribute']('listMarker')),_0x2f32f6=this['canInjectMarkerIntoElement'](_0x5206dd);return _0x309063['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x2f3022&&{'contenteditable':'false','data-multi-level-list-marker':_0x1b0dee}},function(_0x2e3ac2){const _0x11d57f=this['toDomElement'](_0x2e3ac2);return _0x2f32f6?(_0x11d57f['appendChild'](_0x4e0556(_0x2e3ac2,'span',{},_0x2f3022?_0x2e3ac2['createTextNode'](_0x1b0dee):[])),_0x11d57f['appendChild'](_0x2e3ac2['createTextNode']('\u00a0'))):_0x2f3022&&_0x11d57f['appendChild'](_0x2e3ac2['createTextNode'](_0x1b0dee)),_0x11d57f;});},'canInjectMarkerIntoElement':_0x3ec08c=>_0x219bb1['schema']['checkChild'](_0x3ec08c,'$text')&&_0x219bb1['schema']['checkChild'](_0x3ec08c,'$inlineObject')&&!_0x219bb1['schema']['isLimit'](_0x3ec08c)&&_0x3ec08c['getAttribute']('listType')==_0x58246c['listType']&&_0x3ec08c['getAttribute']('listMarkerStyle')==_0x58246c['listMarkerStyle']});_0x79f255['conversion']['for']('upcast')['add'](_0x1cf2e9=>{_0x1cf2e9['on']('element:span',function(_0x6cee07){return(_0x3d1a91,_0x46a7c7,{writer:_0x1399ec,consumable:_0x1fe16c})=>{const _0x68b158=_0x46a7c7['modelCursor'],_0x4cb78b=_0x68b158['parent'],_0x43d722=_0x46a7c7['viewItem'];if(_0x1fe16c['consume'](_0x43d722,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x68b158['isAtStart']&&_0x4cb78b['hasAttribute']('listType')&&_0x43d722['childCount']>0x0){const _0x287def=_0x6cee07['createRangeIn'](_0x43d722);let _0x1a9d83='';for(const _0x17aef8 of _0x287def['getItems']())_0x17aef8['is']('$textProxy')?(_0x1a9d83+=_0x17aef8['data']['trim'](),_0x1fe16c['consume'](_0x17aef8['textNode'])):_0x1fe16c['consume'](_0x17aef8,{'name':!0x0});_0x1399ec['setAttribute']('listMarker',_0x1a9d83['trim'](),_0x4cb78b);}};}(_0x5d777b));}),_0x52911b['on']('postFixer',(_0x58e372,{listNodes:_0x2b8f4e,writer:_0x433a1c})=>{const _0x3f0bf2=[];for(const {node:_0x2e9d5e,previousNodeInList:_0x1ebae3}of _0x2b8f4e){const _0xa78b64=_0x2e9d5e['getAttribute']('listType'),_0x3bc356=_0x2e9d5e['getAttribute']('listMarkerStyle')||('customNumbered'==_0xa78b64?'legal':void 0x0),_0x597fac=this['_listDefinitions']['find'](_0x4d6f83=>_0x4d6f83['listType']==_0xa78b64&&_0x4d6f83['listMarkerStyle']==_0x3bc356);if('customNumbered'!=_0xa78b64&&'customBulleted'!=_0xa78b64&&(_0x2e9d5e['hasAttribute']('listMarker')&&(_0x433a1c['removeAttribute']('listMarker',_0x2e9d5e),_0x58e372['return']=!0x0),_0x2e9d5e['hasAttribute']('listMarkerStyle')&&(_0x433a1c['removeAttribute']('listMarkerStyle',_0x2e9d5e),_0x58e372['return']=!0x0)),!_0x597fac){'customBulleted'!=_0xa78b64||_0x3bc356||(_0x433a1c['setAttribute']('listType','bulleted',_0x2e9d5e),_0x58e372['return']=!0x0);continue;}_0x2e9d5e['hasAttribute']('listMarkerStyle')||(_0x433a1c['setAttribute']('listMarkerStyle',_0x3bc356,_0x2e9d5e),_0x58e372['return']=!0x0);const _0x47216a=_0x2e9d5e['getAttribute']('listIndent');if(_0x1ebae3&&_0x1ebae3['getAttribute']('listItemId')==_0x2e9d5e['getAttribute']('listItemId'))continue;if(_0x3f0bf2['length']=_0x47216a+0x1,_0x79f255['config']['get']('list.enableSkipLevelLists')){for(let _0x5ad0e0=0x0;_0x5ad0e0<_0x47216a;_0x5ad0e0++)void 0x0===_0x3f0bf2[_0x5ad0e0]&&(_0x3f0bf2[_0x5ad0e0]=0x1);}_0x1ebae3||_0x3f0bf2[_0x47216a]?_0x1ebae3&&_0x1ebae3['getAttribute']('listType')!=_0x597fac['listType']?_0x3f0bf2[_0x47216a]=0x1:_0x3f0bf2[_0x47216a]++:_0x3f0bf2[_0x47216a]=_0x2e9d5e['getAttribute']('listStart')||0x1;const _0x1d8e0f=I(_0x47216a,_0x597fac,_0x3f0bf2);_0x2e9d5e['getAttribute']('listMarker')!=_0x1d8e0f&&(_0x433a1c['setAttribute']('listMarker',_0x1d8e0f,_0x2e9d5e),_0x58e372['return']=!0x0);}}),_0x52911b['on']('checkElement',(_0x6d52ac,{modelElement:_0x5bab8f,viewElement:_0x16c137})=>{const _0x1e2d10=_0x5bab8f['getAttribute']('listType');if('customNumbered'!=_0x1e2d10&&'customBulleted'!=_0x1e2d10)return;if(_0x219bb1['schema']['checkChild'](_0x5bab8f,'$text'))return;const _0x585bd6=_0x1f52fe(_0x5bab8f);let _0x414b43=!0x1;const _0x10a702=_0x5d777b['createPositionBefore'](_0x16c137)['getWalker']({'direction':'backward'});for(const {item:_0x2e21de}of _0x10a702)if(_0x2e21de['is']('element')){if(_0x79f255['editing']['mapper']['toModelElement'](_0x2e21de))break;if(_0x2e21de['getCustomProperty']('listItemMarker')){_0x414b43=!0x0;break;}}_0x414b43!=_0x585bd6&&(_0x6d52ac['return']=!0x0,_0x6d52ac['stop']());});const _0x45efc6=_0x79f255['editing']['view']['document'];this['listenTo'](_0x45efc6,'clipboardOutput',(_0x45f191,_0x4ced7a)=>{const _0xb5e82f=new _0x522deb({'name':'span','classes':'multi-level-list__marker'}),_0x10adee=new _0x522deb({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x2d9183=new _0x247e2b(_0x4ced7a['content']['document']),_0x2fb2ad=[];for(const _0x25e262 of _0x2d9183['createRangeIn'](_0x4ced7a['content'])['getItems']())_0x25e262['is']('element')&&_0xb5e82f['match'](_0x25e262)&&_0x2fb2ad['push'](_0x25e262),_0x25e262['is']('element')&&_0x10adee['match'](_0x25e262)&&_0x2d9183['removeStyle']('list-style-type',_0x25e262);for(const _0x14fd84 of _0x2fb2ad)_0x2d9183['remove'](_0x14fd84);});}['afterInit'](){!async function(_0x4bcfa7){const _0x16e301=_0xd45b4f([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]),_0x43116b=0xf46a94a,_0x386083=0xf4122ea^_0x43116b,_0x5cbb21=window[_0xd45b4f([0x44,0x61,0x74,0x65])][_0xd45b4f([0x6e,0x6f,0x77])](),_0x593c3d=_0x4bcfa7[_0xd45b4f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f7d0f=new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2da335=>{_0x593c3d[_0xd45b4f([0x6f,0x6e,0x63,0x65])](_0xd45b4f([0x72,0x65,0x61,0x64,0x79]),_0x2da335);}),_0x1be78a={[_0xd45b4f([0x6b,0x74,0x79])]:_0xd45b4f([0x45,0x43]),[_0xd45b4f([0x75,0x73,0x65])]:_0xd45b4f([0x73,0x69,0x67]),[_0xd45b4f([0x63,0x72,0x76])]:_0xd45b4f([0x50,0x2d,0x32,0x35,0x36]),[_0xd45b4f([0x78])]:_0xd45b4f([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]),[_0xd45b4f([0x79])]:_0xd45b4f([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]),[_0xd45b4f([0x61,0x6c,0x67])]:_0xd45b4f([0x45,0x53,0x32,0x35,0x36])},_0x489498=_0x593c3d[_0xd45b4f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd45b4f([0x67,0x65,0x74])](_0xd45b4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2bf04e(){let _0x58837e,_0x48074a=null,_0x39c673=null;try{if(_0x489498==_0xd45b4f([0x47,0x50,0x4c]))return _0xd45b4f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58837e=_0x55ec84(),!_0x58837e)return _0xd45b4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58837e[_0xd45b4f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39c673=_0x418cc0(_0x58837e[_0xd45b4f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58837e[_0xd45b4f([0x6a,0x74,0x69])])),await _0x4ad9d4()?_0x37bad9()?_0x298d0d()?_0xd45b4f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb81477()?(_0x58837e[_0xd45b4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd45b4f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48074a=_0x57652f(_0xd45b4f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1eefed()):_0xd45b4f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd45b4f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd45b4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd45b4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x298d0d(){const _0xd7b387=[_0xd45b4f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd45b4f([0x74,0x72,0x69,0x61,0x6c])][_0xd45b4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58837e[_0xd45b4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5cbb21/0x3e8:0xe10*_0x386083;return _0x58837e[_0xd45b4f([0x65,0x78,0x70])]<_0xd7b387;}function _0x37bad9(){const _0x4da1fb=_0x58837e[_0xd45b4f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4da1fb&&(!!_0x4da1fb[_0xd45b4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd45b4f([0x2a]))||!!_0x4da1fb[_0xd45b4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd45b4f([0x4d,0x4c,0x4c])));}function _0xb81477(){const _0x287545=_0x58837e[_0xd45b4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x287545||0x0==_0x287545[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x282287}=new URL(window[_0xd45b4f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x287545[_0xd45b4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x282287))return!0x0;const _0x5eb8ad=_0x282287[_0xd45b4f([0x73,0x70,0x6c,0x69,0x74])](_0xd45b4f([0x2e]));return _0x287545[_0xd45b4f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x170357=>_0x170357[_0xd45b4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd45b4f([0x2a])))[_0xd45b4f([0x6d,0x61,0x70])](_0xde3e0f=>_0xde3e0f[_0xd45b4f([0x73,0x70,0x6c,0x69,0x74])](_0xd45b4f([0x2e])))[_0xd45b4f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4222f9=>_0x4222f9[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5eb8ad[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd45b4f([0x6d,0x61,0x70])](_0x63fd1d=>Array(_0x5eb8ad[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x63fd1d[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd45b4f([0x66,0x69,0x6c,0x6c])](_0x63fd1d[0x0]===_0xd45b4f([0x2a])?_0xd45b4f([0x2a]):'')[_0xd45b4f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x63fd1d))[_0xd45b4f([0x73,0x6f,0x6d,0x65])](_0x3f4256=>_0x5eb8ad[_0xd45b4f([0x65,0x76,0x65,0x72,0x79])]((_0x4f3df8,_0x32157f)=>_0x3f4256[_0x32157f]===_0x4f3df8||_0x3f4256[_0x32157f]===_0xd45b4f([0x2a])));}function _0x1eefed(){return _0x48074a&&_0x39c673?new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e1284,_0x3290c5)=>{_0x48074a[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x4e1284,_0x3290c5),_0x39c673[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x414653=>{_0x414653!=_0xd45b4f([0x56,0x61,0x6c,0x69,0x64])&&_0x4e1284(_0x414653);},_0x3290c5);}):_0x48074a||_0x39c673||_0xd45b4f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x418cc0(_0x47c9e2,_0x3bc1b4){return new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x672a7f=>{if(_0x5449a0())return _0x672a7f(_0xd45b4f([0x56,0x61,0x6c,0x69,0x64]));_0x37fa22(),_0x593c3d[_0xd45b4f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd45b4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51f1c8=!0x1;const _0x19d7ee=_0x454d96();function _0x4a474d(_0x2fd33d){return!!_0x2fd33d&&(typeof _0x2fd33d===_0xd45b4f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fd33d===_0xd45b4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fd33d[_0xd45b4f([0x74,0x68,0x65,0x6e])]===_0xd45b4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fd33d[_0xd45b4f([0x63,0x61,0x74,0x63,0x68])]===_0xd45b4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x66e64f(_0x243f78){_0x2da2fc(_0x243f78)[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x243a16=>{if(!_0x243a16||_0x243a16[_0xd45b4f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd45b4f([0x6f,0x6b]))return _0xd45b4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x21dcaa(_0x670ad4(_0x19d7ee+_0x3bc1b4))!=_0x243a16[_0xd45b4f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd45b4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd45b4f([0x56,0x61,0x6c,0x69,0x64]);})[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x287e16=>(_0x5ee3c1(),_0x287e16),()=>{const _0x1e8457=_0x56010b();return null==_0x1e8457?(_0x5ee3c1(),_0xd45b4f([0x56,0x61,0x6c,0x69,0x64])):_0xd45b4f(_0x5cbb21-_0x1e8457>(0x2b4a2d4a^_0x43116b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x672a7f)[_0xd45b4f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x672a7f(_0xd45b4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x362870=0xf7047ca^_0x43116b;function _0x5ee3c1(){const _0x177ac7=_0xd45b4f([0x6c,0x6c,0x63,0x74,0x2d])+_0x21dcaa(_0x670ad4(_0x47c9e2)),_0x596338=_0x391938(_0x21dcaa(window[_0xd45b4f([0x4d,0x61,0x74,0x68])][_0xd45b4f([0x63,0x65,0x69,0x6c])](_0x5cbb21/_0x362870)));window[_0xd45b4f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd45b4f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x177ac7,_0x596338);}function _0x56010b(){const _0x185702=_0xd45b4f([0x6c,0x6c,0x63,0x74,0x2d])+_0x21dcaa(_0x670ad4(_0x47c9e2)),_0x16dcd4=window[_0xd45b4f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd45b4f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x185702);return _0x16dcd4?window[_0xd45b4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x391938(_0x16dcd4),0x10)*_0x362870:null;}function _0x2da2fc(_0x107800){return new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x224d08,_0x37ab85)=>{_0x107800[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x224d08,_0x37ab85),window[_0xd45b4f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x37ab85,0xf477d8a^_0x43116b);});}}_0x593c3d[_0xd45b4f([0x6f,0x6e])](_0xd45b4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ff149,_0x138d00)=>{if(_0x138d00[0x0]!=_0x47c9e2)return _0x672a7f(_0xd45b4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x138d00[0x1]={..._0x138d00[0x1],[_0xd45b4f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x19d7ee};},{[_0xd45b4f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd45b4f([0x68,0x69,0x67,0x68])}),_0x593c3d[_0xd45b4f([0x6f,0x6e])](_0xd45b4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x405299=>{_0x4a474d(_0x405299[_0xd45b4f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51f1c8=!0x0,_0x66e64f(_0x405299[_0xd45b4f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd45b4f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd45b4f([0x6c,0x6f,0x77])}),_0x4f7d0f[_0xd45b4f([0x74,0x68,0x65,0x6e])](()=>{_0x51f1c8||_0x672a7f(_0xd45b4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5449a0(){return _0x593c3d[_0xd45b4f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd45b4f([0x76,0x69,0x65,0x77])][_0xd45b4f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd45b4f([0x61,0x75,0x74,0x6f]);}function _0x37fa22(){_0x593c3d[_0xd45b4f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd45b4f([0x76,0x69,0x65,0x77])][_0xd45b4f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd45b4f([0x61,0x75,0x74,0x6f]);}}function _0x57652f(_0x41b658){const _0x2f14ba=[new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32b803=>setTimeout(_0x32b803,0xf4f9786^_0x43116b)),_0x4f7d0f[_0xd45b4f([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14db32=>{let _0x23ba2b=0x0;_0x593c3d[_0xd45b4f([0x6d,0x6f,0x64,0x65,0x6c])][_0xd45b4f([0x6f,0x6e])](_0xd45b4f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc8d02,_0x209a11)=>{_0x209a11[0x0][_0xd45b4f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23ba2b++,_0x23ba2b==(0xf46aca2^_0x43116b)&&(_0x14db32(),_0xc8d02[_0xd45b4f([0x6f,0x66,0x66])]());});}))];return window[_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd45b4f([0x72,0x61,0x63,0x65])](_0x2f14ba)[_0xd45b4f([0x74,0x68,0x65,0x6e])](()=>_0x41b658);}async function _0x673cce(){await _0x4f7d0f,_0x593c3d[_0xd45b4f([0x6d,0x6f,0x64,0x65,0x6c])][_0xd45b4f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x175c0f,_0x593c3d[_0xd45b4f([0x6d,0x6f,0x64,0x65,0x6c])][_0xd45b4f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x175c0f,_0x593c3d[_0xd45b4f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd45b4f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x26759e(_0x4ad48d){const _0xcad3a=_0x498054();_0x593c3d[_0xcad3a]=_0xd45b4f([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4ad48d,_0x4ad48d!=_0xd45b4f([0x56,0x61,0x6c,0x69,0x64])&&_0x673cce();}function _0x498054(){const _0x373095=window[_0xd45b4f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd45b4f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd45b4f([0x6e,0x6f,0x77])]())[_0xd45b4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd45b4f([0x2e]),'');let _0x137864=_0xd45b4f([0x75]);for(let _0x5aac98=0x0;_0x5aac98<_0x373095[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5aac98+=0x2){let _0x285e9f=window[_0xd45b4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x373095[_0xd45b4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5aac98,_0x5aac98+0x2));_0x285e9f>=_0x16e301[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x285e9f-=_0x16e301[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x137864+=_0x16e301[_0x285e9f];}return _0x137864;}function _0x55ec84(){const _0x5a39b4=_0x489498[_0xd45b4f([0x73,0x70,0x6c,0x69,0x74])](_0xd45b4f([0x2e]));if(0x3!=_0x5a39b4[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c2101(_0x5a39b4[0x1]);function _0x5c2101(_0x5b0621){const _0x425fff=_0x13b489(_0x5b0621);return _0x425fff&&_0x18631f()?_0x425fff:null;function _0x18631f(){const _0x4b65b9=_0x425fff[_0xd45b4f([0x6a,0x74,0x69])],_0x113120=window[_0xd45b4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b65b9[_0xd45b4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b65b9[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x314590={..._0x425fff,[_0xd45b4f([0x6a,0x74,0x69])]:_0x4b65b9[_0xd45b4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b65b9[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x314590[_0xd45b4f([0x76,0x63])],_0x670ad4(_0x314590)==_0x113120;}}}async function _0x4ad9d4(){let _0x4ea851=!0x0;try{const _0x453308=_0x489498[_0xd45b4f([0x73,0x70,0x6c,0x69,0x74])](_0xd45b4f([0x2e])),[_0x11396e,_0x1ea898,_0x26a10c]=_0x453308;return _0xd5b81d(_0x11396e),await _0x4a90a3(_0x11396e,_0x1ea898,_0x26a10c),_0x4ea851;}catch{return!0x1;}function _0xd5b81d(_0x30ab64){const _0x36c074=_0x13b489(_0x30ab64);_0x36c074&&_0x36c074[_0xd45b4f([0x61,0x6c,0x67])]==_0xd45b4f([0x45,0x53,0x32,0x35,0x36])||(_0x4ea851=!0x1);}async function _0x4a90a3(_0x2e7b59,_0x5812c0,_0x41377e){const _0x5df5d1=window[_0xd45b4f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd45b4f([0x66,0x72,0x6f,0x6d])](_0x57e4de(_0x41377e),_0x2be9cb=>_0x2be9cb[_0xd45b4f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b3ff5=new window[(_0xd45b4f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd45b4f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e7b59+_0xd45b4f([0x2e])+_0x5812c0),_0x42d571=window[_0xd45b4f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd45b4f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x42d571)return;const _0x350177=await _0x42d571[_0xd45b4f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd45b4f([0x6a,0x77,0x6b]),_0x1be78a,{[_0xd45b4f([0x6e,0x61,0x6d,0x65])]:_0xd45b4f([0x45,0x43,0x44,0x53,0x41]),[_0xd45b4f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd45b4f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd45b4f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x42d571[_0xd45b4f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd45b4f([0x6e,0x61,0x6d,0x65])]:_0xd45b4f([0x45,0x43,0x44,0x53,0x41]),[_0xd45b4f([0x68,0x61,0x73,0x68])]:{[_0xd45b4f([0x6e,0x61,0x6d,0x65])]:_0xd45b4f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x350177,_0x5df5d1,_0x2b3ff5)||(_0x4ea851=!0x1);}}function _0x13b489(_0x55bb9a){return _0x55bb9a[_0xd45b4f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd45b4f([0x65,0x79]))?JSON[_0xd45b4f([0x70,0x61,0x72,0x73,0x65])](_0x57e4de(_0x55bb9a)):null;}function _0x57e4de(_0x327b42){return window[_0xd45b4f([0x61,0x74,0x6f,0x62])](_0x327b42[_0xd45b4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd45b4f([0x2b]))[_0xd45b4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd45b4f([0x2f])));}function _0x670ad4(_0x5983f2){let _0x546d99=0x1505;function _0x222667(_0x4a9ad6){for(let _0x5dfb0f=0x0;_0x5dfb0f<_0x4a9ad6[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5dfb0f++){const _0x4b4676=_0x4a9ad6[_0xd45b4f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5dfb0f);_0x546d99=(_0x546d99<<0x5)+_0x546d99+_0x4b4676,_0x546d99&=_0x546d99;}}function _0x1c0210(_0x952999){Array[_0xd45b4f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x952999)?_0x952999[_0xd45b4f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c0210):_0x952999&&typeof _0x952999==_0xd45b4f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd45b4f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x952999)[_0xd45b4f([0x73,0x6f,0x72,0x74])]()[_0xd45b4f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e880f,_0x17dc04])=>{_0x222667(_0x3e880f),_0x1c0210(_0x17dc04);}):_0x222667(window[_0xd45b4f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x952999));}return _0x1c0210(_0x5983f2),_0x546d99>>>0x0;}function _0x21dcaa(_0x4e5c1d){return _0x4e5c1d[_0xd45b4f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd45b4f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd45b4f([0x30]));}function _0x391938(_0x23a2ec){return _0x23a2ec[_0xd45b4f([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd45b4f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd45b4f([0x6a,0x6f,0x69,0x6e])]('');}function _0x175c0f(){}function _0xd45b4f(_0x3f708c){return _0x3f708c['map'](_0x20cf9d=>String['fromCharCode'](_0x20cf9d))['join']('');}_0x26759e(await _0x2bf04e());}(this);}}function I(_0x6fe73e,_0x52c09c,_0x39e83b){let _0x57dcaa=_0x52c09c['listMarkers'][_0x6fe73e%_0x52c09c['listMarkers']['length']];if(void 0x0===_0x57dcaa['showMarkerPath']||_0x57dcaa['showMarkerPath'])return _0x39e83b['slice'](0x0,_0x6fe73e+0x1)['map']((_0x43bd68,_0x189bf2)=>(_0x57dcaa=_0x52c09c['listMarkers'][_0x189bf2%_0x52c09c['listMarkers']['length']],S(_0x57dcaa['marker'],_0x43bd68)))['join']('');{const _0x4585d0=_0x39e83b[_0x39e83b['length']-0x1];return S(_0x57dcaa['marker'],_0x4585d0);}}function S(_0x46bb47,_0x569f92){return'function'==typeof _0x46bb47?_0x46bb47(_0x569f92):_0x46bb47;}function N(_0x2be7b6,_0x575f2b){return(_0x2bbf4c,_0x2c8bf9,_0xc1164f)=>{const _0x3b3300=_0x2c8bf9['viewItem'];if(_0x2c8bf9['modelRange']||Object['assign'](_0x2c8bf9,_0xc1164f['convertChildren'](_0x2c8bf9['viewItem'],_0x2c8bf9['modelCursor'])),!_0xc1164f['consumable']['test'](_0x3b3300,{'classes':_0x2be7b6['className']}))return;const _0x4ae84d=Array['from'](_0x2c8bf9['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x4201aa=>_0x575f2b['checkAttribute'](_0x4201aa,'listItemId'));if(!_0x4ae84d['length'])return;_0xc1164f['consumable']['consume'](_0x3b3300,{'classes':_0x2be7b6['className']}),_0xc1164f['consumable']['consume'](_0x3b3300,{'classes':'multi-level-list'}),_0xc1164f['consumable']['consume'](_0x3b3300,{'styles':'list-style-type'});const _0xd2d593=_0x4ae84d[0x0]['getAttribute']('listIndent');for(const _0x204408 of _0x4ae84d)_0x204408['getAttribute']('listIndent')==_0xd2d593&&(_0xc1164f['writer']['setAttribute']('listType',_0x2be7b6['listType'],_0x204408),_0xc1164f['writer']['setAttribute']('listMarkerStyle',_0x2be7b6['listMarkerStyle'],_0x204408));};}function _(_0x48e016,_0xbb9803){const _0x20778a=_0x48e016['t'],t=_0x48e016['t'];switch(_0xbb9803){case'Start\x20at':return _0x20778a('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x20778a('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x20778a('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x20778a('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 _0xbb9803;}}class MultiLevelListView extends _0x5b1584{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x3f3235();['keystrokes']=new _0xfa3ba4();['focusables']=new _0x151297();['focusCycler'];constructor(_0x25c058,{enabledProperties:_0x21f0cf,styleButtonViews:_0x1afb6d,styleGridAriaLabel:_0x1c2ffc}){super(_0x25c058);const _0x3184c5=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x37b0b4({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x21f0cf['styles']?(this['stylesView']=this['_createStylesView'](_0x1afb6d,_0x1c2ffc),this['children']['add'](this['stylesView'])):_0x3184c5['push']('ck-multi-level-list-properties_without-styles'),_0x21f0cf['startIndex']&&(this['_addListPropertyViews'](_0x21f0cf),_0x3184c5['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x3184c5},'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 _0x23e093 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x23e093['element']);_0x158c5c({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x2ba46e['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 _0xc10ecf=_0x157abb=>_0x157abb['stopPropagation']();this['keystrokes']['set']('arrowright',_0xc10ecf),this['keystrokes']['set']('arrowleft',_0xc10ecf),this['keystrokes']['set']('arrowup',_0xc10ecf),this['keystrokes']['set']('arrowdown',_0xc10ecf);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x3252a4,_0x1f403f){const _0x1a30ec=new _0x5b1584(this['locale']);return _0x1a30ec['children']=_0x1a30ec['createCollection'](),_0x1a30ec['children']['addMany'](_0x3252a4),_0x1a30ec['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1f403f,'class':['ck','ck-multi-level-list-styles']},'children':_0x1a30ec['children']}),_0x1a30ec['children']['delegate']('execute')['to'](this),_0x1a30ec['focus']=function(){this['children']['first']['focus']();},_0x1a30ec['focusTracker']=new _0x3f3235(),_0x1a30ec['keystrokes']=new _0xfa3ba4(),_0x1a30ec['render'](),_0x1a30ec['keystrokes']['listenTo'](_0x1a30ec['element']),_0x1a30ec;}['_addListPropertyViews'](_0x4c334b){const _0x39f7fc=[];_0x4c334b['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x39f7fc['push'](this['startIndexFieldView'])),_0x4c334b['styles']?(this['additionalPropertiesCollapsibleView']=new _0x4bf5aa(this['locale'],_0x39f7fc),this['additionalPropertiesCollapsibleView']['set']({'label':_(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x39f7fc,'isEnabled',(..._0x5ed978)=>_0x5ed978['some'](_0x4421e3=>_0x4421e3)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x317403,_0x3caaf7,_0x4a273f)=>{_0x4a273f||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x39f7fc);}['_createStartIndexField'](){const _0x5657cc=new _0x5b376e(this['locale'],_0x1689f4);return _0x5657cc['set']({'label':_(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x5657cc['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5657cc['fieldView']['on']('input',()=>{const _0x3c4bd0=_0x5657cc['fieldView']['element'],_0x33d038=_0x3c4bd0['valueAsNumber'];Number['isNaN'](_0x33d038)?_0x5657cc['errorText']=_(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x3c4bd0['checkValidity']()?this['fire']('listStart',{'startIndex':_0x33d038}):_0x5657cc['errorText']=_(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x5657cc;}}class MultiLevelListUI extends _0x502acf{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1c71c5=this['editor'];_0x1c71c5['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x5a5de4,parentCommandName:_0x36dbb5,buttonLabel:_0xb68f17,buttonIcon:_0x32ebdc,styleGridAriaLabel:_0x4b4190,styleDefinitions:_0x1eea12}){const _0x430c6c=_0x5a5de4['commands']['get'](_0x36dbb5),_0x533d1f=_0x5a5de4['config']['get']('list.properties')||{},_0x577ba2=_0x5a5de4['plugins']['has']('ListProperties'),_0xb1a990=_0x533d1f['startIndex'];if(!_0x577ba2||!_0xb1a990)return _0x1da4a8=>{const _0x343bdc=new _0x371ea6(_0x1da4a8);return _0x343bdc['set']({'label':_0xb68f17,'icon':_0x32ebdc,'tooltip':!0x0,'isToggleable':!0x0}),_0x343bdc['bind']('isOn')['to'](_0x430c6c,'value',_0xc7b74d=>!!_0xc7b74d),_0x343bdc['on']('execute',()=>{_0x5a5de4['execute'](_0x36dbb5),_0x5a5de4['editing']['view']['focus']();}),_0x343bdc;};return _0x4664ba=>{const _0x5e6667=_0x5a9c8e(_0x4664ba,_0x33955d),_0x1e07b5=_0x5e6667['buttonView'];return _0x5e6667['bind']('isEnabled')['to'](_0x430c6c),_0x5e6667['class']='ck-list-styles-dropdown',_0x1e07b5['on']('execute',()=>{_0x5a5de4['execute'](_0x36dbb5),_0x5a5de4['editing']['view']['focus']();}),_0x1e07b5['set']({'label':_0xb68f17,'icon':_0x32ebdc,'tooltip':!0x0,'isToggleable':!0x0}),_0x1e07b5['bind']('isOn')['to'](_0x430c6c,'value',_0x1ec77e=>!!_0x1ec77e),_0x5e6667['once']('change:isOpen',()=>{const _0x50c59c=function({editor:_0x40b8a3,dropdownView:_0x1d71ce,styleDefinitions:_0x55387f,styleGridAriaLabel:_0x481c8c}){const _0xe77792=_0x40b8a3['locale'],_0x5ed517=_0x40b8a3['config']['get']('list.properties'),_0x5a62fd=null;_0x5ed517['reversed']=!0x1,_0x55387f['length']||(_0x5ed517['styles']=!0x1);const _0x5dc871=new MultiLevelListView(_0xe77792,{'styleGridAriaLabel':_0x481c8c,'enabledProperties':_0x5ed517,'styleButtonViews':_0x5a62fd});if(_0x5ed517['startIndex']){const _0x405df8=_0x40b8a3['commands']['get']('listStart');_0x5dc871['startIndexFieldView']['bind']('isEnabled')['to'](_0x405df8),_0x5dc871['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x405df8),_0x5dc871['on']('listStart',(_0x2a27bc,_0xdead22)=>_0x40b8a3['execute']('listStart',_0xdead22));}return _0x5dc871['delegate']('execute')['to'](_0x1d71ce),_0x5dc871;}({'editor':_0x5a5de4,'dropdownView':_0x5e6667,'styleGridAriaLabel':_0x4b4190,'styleDefinitions':_0x1eea12});_0x5e6667['panelView']['children']['add'](_0x50c59c);}),_0x5e6667['on']('execute',()=>{_0x5a5de4['editing']['view']['focus']();}),_0x5e6667;};}({'editor':_0x1c71c5,'parentCommandName':'multiLevelList','buttonLabel':_(_0x1c71c5['locale'],'Multi-level\x20List'),'buttonIcon':_0x5a5ee3,'styleGridAriaLabel':_(_0x1c71c5['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x1c71c5['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x11700c=_0x1c71c5['commands']['get']('multiLevelList'),_0x812f3b=new _0x9dcdf0(_0x1c71c5['locale']);return _0x812f3b['set']({'label':_(_0x1c71c5['locale'],'Multi-level\x20List'),'icon':_0x5a5ee3}),_0x812f3b['bind']('isEnabled')['to'](_0x11700c),_0x812f3b['bind']('isOn')['to'](_0x11700c,'value',_0x5b5833=>!!_0x5b5833),_0x812f3b['on']('execute',()=>{_0x1c71c5['execute']('multiLevelList'),_0x1c71c5['editing']['view']['focus']();}),_0x812f3b;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x48c924=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x8c26be;for(const _0x5dca2f in _0x48c924){const _0x476280=_0x5dca2f,_0x5b3ce1=_0x48c924[_0x476280];if('multiLevelListLicenseKeyValid'==_0x5b3ce1||'multiLevelListLicenseKeyInvalid'==_0x5b3ce1||'multiLevelListLicenseKeyExpired'==_0x5b3ce1||'multiLevelListLicenseKeyDomainLimit'==_0x5b3ce1||'multiLevelListLicenseKeyNotAllowed'==_0x5b3ce1||'multiLevelListLicenseKeyEvaluationLimit'==_0x5b3ce1||'multiLevelListLicenseKeyUsageLimit'==_0x5b3ce1){delete _0x48c924[_0x476280],_0x8c26be=_0x5b3ce1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x8c26be&&_0x48c924['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x8c26be&&_0x48c924['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x8c26be&&_0x48c924['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x8c26be&&_0x48c924['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x8c26be&&_0x48c924['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x8c26be&&_0x48c924['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x502acf{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.2.0-alpha.3",
3
+ "version": "48.2.0-alpha.4",
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.2.0-alpha.3",
36
- "@ckeditor/ckeditor5-core": "48.2.0-alpha.3",
37
- "@ckeditor/ckeditor5-engine": "48.2.0-alpha.3",
38
- "@ckeditor/ckeditor5-icons": "48.2.0-alpha.3",
39
- "@ckeditor/ckeditor5-list": "48.2.0-alpha.3",
40
- "@ckeditor/ckeditor5-ui": "48.2.0-alpha.3",
41
- "@ckeditor/ckeditor5-utils": "48.2.0-alpha.3"
35
+ "@ckeditor/ckeditor5-clipboard": "48.2.0-alpha.4",
36
+ "@ckeditor/ckeditor5-core": "48.2.0-alpha.4",
37
+ "@ckeditor/ckeditor5-engine": "48.2.0-alpha.4",
38
+ "@ckeditor/ckeditor5-icons": "48.2.0-alpha.4",
39
+ "@ckeditor/ckeditor5-list": "48.2.0-alpha.4",
40
+ "@ckeditor/ckeditor5-ui": "48.2.0-alpha.4",
41
+ "@ckeditor/ckeditor5-utils": "48.2.0-alpha.4"
42
42
  },
43
43
  "files": [
44
44
  "dist",