@ckeditor/ckeditor5-list-multi-level 48.2.0-alpha.3 → 48.2.0-alpha.5
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 _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 _0x588e21,Plugin as _0x54e2a1}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x2ff2a7,ViewUpcastWriter as _0x5f1dcf}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x54d0a8,_isFirstBlockOfListItem as _0xf4ade6}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x36bd9a,createElement as _0x346cb8,uid as _0x533b9a,FocusTracker as _0x3560cd,KeystrokeHandler as _0x104f18,global as _0x56e66e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x51d8b6}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x4c8f1c,ViewCollection as _0x277142,FocusCycler as _0x4ed2d4,addKeyboardHandlingForGrid as _0x435eb3,CollapsibleView as _0x81dff5,LabeledFieldView as _0x5965f2,createLabeledInputNumber as _0x123cc6,MenuBarMenuListItemButtonView as _0x32836d,ButtonView as _0x260de9,createDropdown as _0x10bd32,SplitButtonView as _0x2c995f}from'@ckeditor/ckeditor5-ui/dist/index.js';class MultiLevelListCommand extends _0x588e21{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x4f9cbc,_0x42d970,_0x309696){super(_0x4f9cbc),this['defaultListMarkerStyle']=_0x42d970,this['_listDefinitions']=_0x309696,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x31fba6={}){const _0x155ec3=this['editor']['model'],_0x563791=_0x31fba6['listMarkerStyle']||this['defaultListMarkerStyle'];_0x155ec3['change'](()=>{const _0xa9a93d=this['_getListTypeFromListMarkerStyle'](_0x563791);if(!_0xa9a93d)return;const _0x287ea2=_0xa9a93d+'List';this['editor']['execute'](_0x287ea2,{'additionalAttributes':{'listMarkerStyle':_0x563791}});});}['_getValue'](){const _0x2ef45e=_0x36bd9a(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x2ef45e)?_0x2ef45e['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x563550=this['editor'],_0x467e30=_0x563550['commands']['get']('customNumberedList'),_0x64533c=_0x563550['commands']['get']('customBulletedList');return _0x467e30['isEnabled']||_0x64533c['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x3cf80a){const _0x3743f4=this['_listDefinitions']['find'](_0x49ad8c=>_0x49ad8c['listMarkerStyle']==_0x3cf80a);return _0x3743f4?_0x3743f4['listType']:null;}}class MultiLevelListEditing extends _0x54e2a1{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x54d0a8];}constructor(_0x2819dd){super(_0x2819dd);const _0x49d4b3=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x1c65ba=>_0x1c65ba+'.'}]},..._0x49d4b3];}['init'](){const _0x2dbc8c=this['editor'],_0x4c3d21=_0x2dbc8c['model'],_0x2fb8b0=_0x2dbc8c['editing']['view'],_0x3f7855=_0x2dbc8c['plugins']['get'](_0x54d0a8);_0x2dbc8c['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x2dbc8c,'legal',this['_listDefinitions'])),_0x4c3d21['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x4c3d21['schema']['addAttributeCheck']((_0x140619,_0x4bde6d)=>{const _0x1fbfb1=_0x140619['last'];if('listMarker'==_0x4bde6d||'listMarkerStyle'==_0x4bde6d)return!(!_0x1fbfb1['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x35e3a5=>_0x35e3a5['listType']==_0x1fbfb1['getAttribute']('listType')))&&void 0x0;});for(const _0x294097 of this['_listDefinitions'])_0x2dbc8c['conversion']['for']('upcast')['add'](_0x642aed=>{_0x642aed['on']('element:'+('customNumbered'==_0x294097['listType']?'ol':'ul'),N(_0x294097,_0x4c3d21['schema']),{'priority':'low'});}),_0x3f7855['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0xd61c66,_0x592c25,_0x58d7da){_0x592c25==_0x294097['listMarkerStyle']?(_0xd61c66['addClass'](['multi-level-list',_0x294097['className']],_0x58d7da),_0xd61c66['setStyle']('list-style-type','none',_0x58d7da)):(_0xd61c66['removeClass'](['multi-level-list',_0x294097['className']],_0x58d7da),_0xd61c66['removeStyle']('list-style-type',_0x58d7da));}}),_0x3f7855['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x3a8f35,_0x1665fb,{dataPipeline:_0x4728c0}){if(!_0x1665fb['hasAttribute']('listMarker'))return null;if(_0x1665fb['getAttribute']('listType')!=_0x294097['listType']||_0x1665fb['getAttribute']('listMarkerStyle')!=_0x294097['listMarkerStyle'])return null;const _0x37b73=String(_0x1665fb['getAttribute']('listMarker')),_0x15b8cf=this['canInjectMarkerIntoElement'](_0x1665fb);return _0x3a8f35['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x4728c0&&{'contenteditable':'false','data-multi-level-list-marker':_0x37b73}},function(_0x2ad0a9){const _0x348638=this['toDomElement'](_0x2ad0a9);return _0x15b8cf?(_0x348638['appendChild'](_0x346cb8(_0x2ad0a9,'span',{},_0x4728c0?_0x2ad0a9['createTextNode'](_0x37b73):[])),_0x348638['appendChild'](_0x2ad0a9['createTextNode']('\u00a0'))):_0x4728c0&&_0x348638['appendChild'](_0x2ad0a9['createTextNode'](_0x37b73)),_0x348638;});},'canInjectMarkerIntoElement':_0x4bcaeb=>_0x4c3d21['schema']['checkChild'](_0x4bcaeb,'$text')&&_0x4c3d21['schema']['checkChild'](_0x4bcaeb,'$inlineObject')&&!_0x4c3d21['schema']['isLimit'](_0x4bcaeb)&&_0x4bcaeb['getAttribute']('listType')==_0x294097['listType']&&_0x4bcaeb['getAttribute']('listMarkerStyle')==_0x294097['listMarkerStyle']});_0x2dbc8c['conversion']['for']('upcast')['add'](_0x112db6=>{_0x112db6['on']('element:span',function(_0x421838){return(_0xa5ef3d,_0x35e31d,{writer:_0x17b73c,consumable:_0x5d248c})=>{const _0x1a29aa=_0x35e31d['modelCursor'],_0x306d20=_0x1a29aa['parent'],_0x83c2cd=_0x35e31d['viewItem'];if(_0x5d248c['consume'](_0x83c2cd,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x1a29aa['isAtStart']&&_0x306d20['hasAttribute']('listType')&&_0x83c2cd['childCount']>0x0){const _0x57b9d=_0x421838['createRangeIn'](_0x83c2cd);let _0x5b5a14='';for(const _0x5eafa9 of _0x57b9d['getItems']())_0x5eafa9['is']('$textProxy')?(_0x5b5a14+=_0x5eafa9['data']['trim'](),_0x5d248c['consume'](_0x5eafa9['textNode'])):_0x5d248c['consume'](_0x5eafa9,{'name':!0x0});_0x17b73c['setAttribute']('listMarker',_0x5b5a14['trim'](),_0x306d20);}};}(_0x2fb8b0));}),_0x3f7855['on']('postFixer',(_0x328330,{listNodes:_0x5e7b5d,writer:_0x493be1})=>{const _0x14a4eb=[];for(const {node:_0xec471a,previousNodeInList:_0x2f9de8}of _0x5e7b5d){const _0x3a940a=_0xec471a['getAttribute']('listType'),_0x10385f=_0xec471a['getAttribute']('listMarkerStyle')||('customNumbered'==_0x3a940a?'legal':void 0x0),_0x3e172e=this['_listDefinitions']['find'](_0x12de3a=>_0x12de3a['listType']==_0x3a940a&&_0x12de3a['listMarkerStyle']==_0x10385f);if('customNumbered'!=_0x3a940a&&'customBulleted'!=_0x3a940a&&(_0xec471a['hasAttribute']('listMarker')&&(_0x493be1['removeAttribute']('listMarker',_0xec471a),_0x328330['return']=!0x0),_0xec471a['hasAttribute']('listMarkerStyle')&&(_0x493be1['removeAttribute']('listMarkerStyle',_0xec471a),_0x328330['return']=!0x0)),!_0x3e172e){'customBulleted'!=_0x3a940a||_0x10385f||(_0x493be1['setAttribute']('listType','bulleted',_0xec471a),_0x328330['return']=!0x0);continue;}_0xec471a['hasAttribute']('listMarkerStyle')||(_0x493be1['setAttribute']('listMarkerStyle',_0x10385f,_0xec471a),_0x328330['return']=!0x0);const _0x3ab10f=_0xec471a['getAttribute']('listIndent');if(_0x2f9de8&&_0x2f9de8['getAttribute']('listItemId')==_0xec471a['getAttribute']('listItemId'))continue;if(_0x14a4eb['length']=_0x3ab10f+0x1,_0x2dbc8c['config']['get']('list.enableSkipLevelLists')){for(let _0x3404f0=0x0;_0x3404f0<_0x3ab10f;_0x3404f0++)void 0x0===_0x14a4eb[_0x3404f0]&&(_0x14a4eb[_0x3404f0]=0x1);}_0x2f9de8||_0x14a4eb[_0x3ab10f]?_0x2f9de8&&_0x2f9de8['getAttribute']('listType')!=_0x3e172e['listType']?_0x14a4eb[_0x3ab10f]=0x1:_0x14a4eb[_0x3ab10f]++:_0x14a4eb[_0x3ab10f]=_0xec471a['getAttribute']('listStart')||0x1;const _0x1c2106=I(_0x3ab10f,_0x3e172e,_0x14a4eb);_0xec471a['getAttribute']('listMarker')!=_0x1c2106&&(_0x493be1['setAttribute']('listMarker',_0x1c2106,_0xec471a),_0x328330['return']=!0x0);}}),_0x3f7855['on']('checkElement',(_0x3f5393,{modelElement:_0x3a8a65,viewElement:_0x6445d0})=>{const _0x4c086b=_0x3a8a65['getAttribute']('listType');if('customNumbered'!=_0x4c086b&&'customBulleted'!=_0x4c086b)return;if(_0x4c3d21['schema']['checkChild'](_0x3a8a65,'$text'))return;const _0xc1496e=_0xf4ade6(_0x3a8a65);let _0x3b7e92=!0x1;const _0x5af49b=_0x2fb8b0['createPositionBefore'](_0x6445d0)['getWalker']({'direction':'backward'});for(const {item:_0x36ffff}of _0x5af49b)if(_0x36ffff['is']('element')){if(_0x2dbc8c['editing']['mapper']['toModelElement'](_0x36ffff))break;if(_0x36ffff['getCustomProperty']('listItemMarker')){_0x3b7e92=!0x0;break;}}_0x3b7e92!=_0xc1496e&&(_0x3f5393['return']=!0x0,_0x3f5393['stop']());});const _0x77001c=_0x2dbc8c['editing']['view']['document'];this['listenTo'](_0x77001c,'clipboardOutput',(_0x100803,_0x526a3b)=>{const _0x21ea6e=new _0x2ff2a7({'name':'span','classes':'multi-level-list__marker'}),_0x536c15=new _0x2ff2a7({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x2c38d3=new _0x5f1dcf(_0x526a3b['content']['document']),_0x3e991d=[];for(const _0x11e1e5 of _0x2c38d3['createRangeIn'](_0x526a3b['content'])['getItems']())_0x11e1e5['is']('element')&&_0x21ea6e['match'](_0x11e1e5)&&_0x3e991d['push'](_0x11e1e5),_0x11e1e5['is']('element')&&_0x536c15['match'](_0x11e1e5)&&_0x2c38d3['removeStyle']('list-style-type',_0x11e1e5);for(const _0x1b7c40 of _0x3e991d)_0x2c38d3['remove'](_0x1b7c40);});}['afterInit'](){!async function(_0x2ff57f){const _0x873526=_0x4a753c([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]),_0x510762=0xf46a94a,_0x2db00a=0xf4122f2^_0x510762,_0x36731e=window[_0x4a753c([0x44,0x61,0x74,0x65])][_0x4a753c([0x6e,0x6f,0x77])](),_0x4c2c3c=_0x2ff57f[_0x4a753c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x337b50=new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x537f75=>{_0x4c2c3c[_0x4a753c([0x6f,0x6e,0x63,0x65])](_0x4a753c([0x72,0x65,0x61,0x64,0x79]),_0x537f75);}),_0x1d2fb7={[_0x4a753c([0x6b,0x74,0x79])]:_0x4a753c([0x45,0x43]),[_0x4a753c([0x75,0x73,0x65])]:_0x4a753c([0x73,0x69,0x67]),[_0x4a753c([0x63,0x72,0x76])]:_0x4a753c([0x50,0x2d,0x32,0x35,0x36]),[_0x4a753c([0x78])]:_0x4a753c([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]),[_0x4a753c([0x79])]:_0x4a753c([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]),[_0x4a753c([0x61,0x6c,0x67])]:_0x4a753c([0x45,0x53,0x32,0x35,0x36])},_0x416e92=_0x4c2c3c[_0x4a753c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a753c([0x67,0x65,0x74])](_0x4a753c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x57e283(){let _0x15b9ea,_0x19e750=null,_0x43c97b=null;try{if(_0x416e92==_0x4a753c([0x47,0x50,0x4c]))return _0x4a753c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x15b9ea=_0x19720c(),!_0x15b9ea)return _0x4a753c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x15b9ea[_0x4a753c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43c97b=_0x9103a0(_0x15b9ea[_0x4a753c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x15b9ea[_0x4a753c([0x6a,0x74,0x69])])),await _0x5c91d0()?_0x1bf7b0()?_0xc4599c()?_0x4a753c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x578422()?(_0x15b9ea[_0x4a753c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a753c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19e750=_0x21ef31(_0x4a753c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1be46c()):_0x4a753c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a753c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a753c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a753c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc4599c(){const _0x197b75=[_0x4a753c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a753c([0x74,0x72,0x69,0x61,0x6c])][_0x4a753c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15b9ea[_0x4a753c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36731e/0x3e8:0xe10*_0x2db00a;return _0x15b9ea[_0x4a753c([0x65,0x78,0x70])]<_0x197b75;}function _0x1bf7b0(){const _0xde0bd3=_0x15b9ea[_0x4a753c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xde0bd3&&(!!_0xde0bd3[_0x4a753c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a753c([0x2a]))||!!_0xde0bd3[_0x4a753c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a753c([0x4d,0x4c,0x4c])));}function _0x578422(){const _0x62007d=_0x15b9ea[_0x4a753c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x62007d||0x0==_0x62007d[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46104a}=new URL(window[_0x4a753c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x62007d[_0x4a753c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46104a))return!0x0;const _0x11fae2=_0x46104a[_0x4a753c([0x73,0x70,0x6c,0x69,0x74])](_0x4a753c([0x2e]));return _0x62007d[_0x4a753c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3519ea=>_0x3519ea[_0x4a753c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a753c([0x2a])))[_0x4a753c([0x6d,0x61,0x70])](_0x1b3c92=>_0x1b3c92[_0x4a753c([0x73,0x70,0x6c,0x69,0x74])](_0x4a753c([0x2e])))[_0x4a753c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a11ba=>_0x1a11ba[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x11fae2[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a753c([0x6d,0x61,0x70])](_0x23d793=>Array(_0x11fae2[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23d793[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a753c([0x66,0x69,0x6c,0x6c])](_0x23d793[0x0]===_0x4a753c([0x2a])?_0x4a753c([0x2a]):'')[_0x4a753c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23d793))[_0x4a753c([0x73,0x6f,0x6d,0x65])](_0x2c4477=>_0x11fae2[_0x4a753c([0x65,0x76,0x65,0x72,0x79])]((_0x5aab80,_0x244760)=>_0x2c4477[_0x244760]===_0x5aab80||_0x2c4477[_0x244760]===_0x4a753c([0x2a])));}function _0x1be46c(){return _0x19e750&&_0x43c97b?new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x122829,_0x30cc56)=>{_0x19e750[_0x4a753c([0x74,0x68,0x65,0x6e])](_0x122829,_0x30cc56),_0x43c97b[_0x4a753c([0x74,0x68,0x65,0x6e])](_0xf193cf=>{_0xf193cf!=_0x4a753c([0x56,0x61,0x6c,0x69,0x64])&&_0x122829(_0xf193cf);},_0x30cc56);}):_0x19e750||_0x43c97b||_0x4a753c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x9103a0(_0x80ed6d,_0x349517){return new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcb29fb=>{if(_0x3f260a())return _0xcb29fb(_0x4a753c([0x56,0x61,0x6c,0x69,0x64]));_0x201c35(),_0x4c2c3c[_0x4a753c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a753c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ec705=!0x1;const _0x44d059=_0x533b9a();function _0x303661(_0x31bc97){return!!_0x31bc97&&(typeof _0x31bc97===_0x4a753c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31bc97===_0x4a753c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31bc97[_0x4a753c([0x74,0x68,0x65,0x6e])]===_0x4a753c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31bc97[_0x4a753c([0x63,0x61,0x74,0x63,0x68])]===_0x4a753c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7639a8(_0x579597){_0x2acc2c(_0x579597)[_0x4a753c([0x74,0x68,0x65,0x6e])](_0x45b791=>{if(!_0x45b791||_0x45b791[_0x4a753c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a753c([0x6f,0x6b]))return _0x4a753c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x203883(_0x344c19(_0x44d059+_0x349517))!=_0x45b791[_0x4a753c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a753c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a753c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a753c([0x74,0x68,0x65,0x6e])](_0x3ae584=>(_0x90fc28(),_0x3ae584),()=>{const _0x39ca76=_0x28cea5();return null==_0x39ca76?(_0x90fc28(),_0x4a753c([0x56,0x61,0x6c,0x69,0x64])):_0x4a753c(_0x36731e-_0x39ca76>(0x2b4a2d4a^_0x510762)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a753c([0x74,0x68,0x65,0x6e])](_0xcb29fb)[_0x4a753c([0x63,0x61,0x74,0x63,0x68])](()=>{_0xcb29fb(_0x4a753c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x279094=0xf7047ca^_0x510762;function _0x90fc28(){const _0x30cfc0=_0x4a753c([0x6c,0x6c,0x63,0x74,0x2d])+_0x203883(_0x344c19(_0x80ed6d)),_0x3c89df=_0xfa3e10(_0x203883(window[_0x4a753c([0x4d,0x61,0x74,0x68])][_0x4a753c([0x63,0x65,0x69,0x6c])](_0x36731e/_0x279094)));window[_0x4a753c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a753c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30cfc0,_0x3c89df);}function _0x28cea5(){const _0x559b28=_0x4a753c([0x6c,0x6c,0x63,0x74,0x2d])+_0x203883(_0x344c19(_0x80ed6d)),_0x53280b=window[_0x4a753c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a753c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x559b28);return _0x53280b?window[_0x4a753c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfa3e10(_0x53280b),0x10)*_0x279094:null;}function _0x2acc2c(_0x220581){return new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d829b,_0x55d703)=>{_0x220581[_0x4a753c([0x74,0x68,0x65,0x6e])](_0x3d829b,_0x55d703),window[_0x4a753c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55d703,0xf477d8a^_0x510762);});}}_0x4c2c3c[_0x4a753c([0x6f,0x6e])](_0x4a753c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x90c866,_0x4b180b)=>{if(_0x4b180b[0x0]!=_0x80ed6d)return _0xcb29fb(_0x4a753c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b180b[0x1]={..._0x4b180b[0x1],[_0x4a753c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44d059};},{[_0x4a753c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a753c([0x68,0x69,0x67,0x68])}),_0x4c2c3c[_0x4a753c([0x6f,0x6e])](_0x4a753c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x43662d=>{_0x303661(_0x43662d[_0x4a753c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ec705=!0x0,_0x7639a8(_0x43662d[_0x4a753c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a753c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a753c([0x6c,0x6f,0x77])}),_0x337b50[_0x4a753c([0x74,0x68,0x65,0x6e])](()=>{_0x3ec705||_0xcb29fb(_0x4a753c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f260a(){return _0x4c2c3c[_0x4a753c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a753c([0x76,0x69,0x65,0x77])][_0x4a753c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a753c([0x61,0x75,0x74,0x6f]);}function _0x201c35(){_0x4c2c3c[_0x4a753c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a753c([0x76,0x69,0x65,0x77])][_0x4a753c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a753c([0x61,0x75,0x74,0x6f]);}}function _0x21ef31(_0x31a037){const _0x36dbcc=[new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56c02f=>setTimeout(_0x56c02f,0xf4f9786^_0x510762)),_0x337b50[_0x4a753c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x153cef=>{let _0x1bacaa=0x0;_0x4c2c3c[_0x4a753c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a753c([0x6f,0x6e])](_0x4a753c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xb30f92,_0x3bab07)=>{_0x3bab07[0x0][_0x4a753c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1bacaa++,_0x1bacaa==(0xf46aca2^_0x510762)&&(_0x153cef(),_0xb30f92[_0x4a753c([0x6f,0x66,0x66])]());});}))];return window[_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a753c([0x72,0x61,0x63,0x65])](_0x36dbcc)[_0x4a753c([0x74,0x68,0x65,0x6e])](()=>_0x31a037);}async function _0x22d5b9(){await _0x337b50,_0x4c2c3c[_0x4a753c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a753c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24cf8f,_0x4c2c3c[_0x4a753c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a753c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24cf8f,_0x4c2c3c[_0x4a753c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a753c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x505712(_0x24e2e0){const _0x14102f=_0x28154e();_0x4c2c3c[_0x14102f]=_0x4a753c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24e2e0,_0x24e2e0!=_0x4a753c([0x56,0x61,0x6c,0x69,0x64])&&_0x22d5b9();}function _0x28154e(){const _0x460152=window[_0x4a753c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a753c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a753c([0x6e,0x6f,0x77])]())[_0x4a753c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a753c([0x2e]),'');let _0x3cfd94=_0x4a753c([0x75]);for(let _0x3f59e2=0x0;_0x3f59e2<_0x460152[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f59e2+=0x2){let _0x312765=window[_0x4a753c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x460152[_0x4a753c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f59e2,_0x3f59e2+0x2));_0x312765>=_0x873526[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x312765-=_0x873526[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3cfd94+=_0x873526[_0x312765];}return _0x3cfd94;}function _0x19720c(){const _0x590b4b=_0x416e92[_0x4a753c([0x73,0x70,0x6c,0x69,0x74])](_0x4a753c([0x2e]));if(0x3!=_0x590b4b[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3fb3fa(_0x590b4b[0x1]);function _0x3fb3fa(_0x517d4d){const _0x5578ec=_0x3ed5f0(_0x517d4d);return _0x5578ec&&_0x2a62d5()?_0x5578ec:null;function _0x2a62d5(){const _0x20a760=_0x5578ec[_0x4a753c([0x6a,0x74,0x69])],_0x39d34f=window[_0x4a753c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20a760[_0x4a753c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20a760[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c19fe={..._0x5578ec,[_0x4a753c([0x6a,0x74,0x69])]:_0x20a760[_0x4a753c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20a760[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c19fe[_0x4a753c([0x76,0x63])],_0x344c19(_0x3c19fe)==_0x39d34f;}}}async function _0x5c91d0(){let _0x3d189e=!0x0;try{const _0x230fa7=_0x416e92[_0x4a753c([0x73,0x70,0x6c,0x69,0x74])](_0x4a753c([0x2e])),[_0x52d3ad,_0x53a533,_0x169712]=_0x230fa7;return _0x47195f(_0x52d3ad),await _0x4ed10a(_0x52d3ad,_0x53a533,_0x169712),_0x3d189e;}catch{return!0x1;}function _0x47195f(_0x2abc18){const _0x29d1eb=_0x3ed5f0(_0x2abc18);_0x29d1eb&&_0x29d1eb[_0x4a753c([0x61,0x6c,0x67])]==_0x4a753c([0x45,0x53,0x32,0x35,0x36])||(_0x3d189e=!0x1);}async function _0x4ed10a(_0x3417c6,_0x5b9d27,_0x45d74d){const _0x97896e=window[_0x4a753c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a753c([0x66,0x72,0x6f,0x6d])](_0x27b569(_0x45d74d),_0x22a4fb=>_0x22a4fb[_0x4a753c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d707e=new window[(_0x4a753c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a753c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3417c6+_0x4a753c([0x2e])+_0x5b9d27),_0x24ec5f=window[_0x4a753c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a753c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24ec5f)return;const _0x23135e=await _0x24ec5f[_0x4a753c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a753c([0x6a,0x77,0x6b]),_0x1d2fb7,{[_0x4a753c([0x6e,0x61,0x6d,0x65])]:_0x4a753c([0x45,0x43,0x44,0x53,0x41]),[_0x4a753c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a753c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a753c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24ec5f[_0x4a753c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a753c([0x6e,0x61,0x6d,0x65])]:_0x4a753c([0x45,0x43,0x44,0x53,0x41]),[_0x4a753c([0x68,0x61,0x73,0x68])]:{[_0x4a753c([0x6e,0x61,0x6d,0x65])]:_0x4a753c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23135e,_0x97896e,_0x2d707e)||(_0x3d189e=!0x1);}}function _0x3ed5f0(_0x5d57f7){return _0x5d57f7[_0x4a753c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a753c([0x65,0x79]))?JSON[_0x4a753c([0x70,0x61,0x72,0x73,0x65])](_0x27b569(_0x5d57f7)):null;}function _0x27b569(_0x4bb4a7){return window[_0x4a753c([0x61,0x74,0x6f,0x62])](_0x4bb4a7[_0x4a753c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a753c([0x2b]))[_0x4a753c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a753c([0x2f])));}function _0x344c19(_0x1ebcf7){let _0x50ea97=0x1505;function _0x106832(_0x2caab8){for(let _0x1fcf25=0x0;_0x1fcf25<_0x2caab8[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fcf25++){const _0xacc416=_0x2caab8[_0x4a753c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1fcf25);_0x50ea97=(_0x50ea97<<0x5)+_0x50ea97+_0xacc416,_0x50ea97&=_0x50ea97;}}function _0x2b0096(_0x190547){Array[_0x4a753c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x190547)?_0x190547[_0x4a753c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b0096):_0x190547&&typeof _0x190547==_0x4a753c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a753c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x190547)[_0x4a753c([0x73,0x6f,0x72,0x74])]()[_0x4a753c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x43f744,_0x151b4a])=>{_0x106832(_0x43f744),_0x2b0096(_0x151b4a);}):_0x106832(window[_0x4a753c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x190547));}return _0x2b0096(_0x1ebcf7),_0x50ea97>>>0x0;}function _0x203883(_0x10f234){return _0x10f234[_0x4a753c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a753c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a753c([0x30]));}function _0xfa3e10(_0x36eb06){return _0x36eb06[_0x4a753c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a753c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a753c([0x6a,0x6f,0x69,0x6e])]('');}function _0x24cf8f(){}function _0x4a753c(_0x1e16fd){return _0x1e16fd['map'](_0x5685d3=>String['fromCharCode'](_0x5685d3))['join']('');}_0x505712(await _0x57e283());}(this);}}function I(_0x183fe1,_0x3b6406,_0x354fcf){let _0x352c0d=_0x3b6406['listMarkers'][_0x183fe1%_0x3b6406['listMarkers']['length']];if(void 0x0===_0x352c0d['showMarkerPath']||_0x352c0d['showMarkerPath'])return _0x354fcf['slice'](0x0,_0x183fe1+0x1)['map']((_0x1537dd,_0x2d6fb5)=>(_0x352c0d=_0x3b6406['listMarkers'][_0x2d6fb5%_0x3b6406['listMarkers']['length']],S(_0x352c0d['marker'],_0x1537dd)))['join']('');{const _0x26e371=_0x354fcf[_0x354fcf['length']-0x1];return S(_0x352c0d['marker'],_0x26e371);}}function S(_0x584c88,_0x2f1cdd){return'function'==typeof _0x584c88?_0x584c88(_0x2f1cdd):_0x584c88;}function N(_0x5d0003,_0x370509){return(_0x2fd185,_0x45312f,_0x42b625)=>{const _0x5a7078=_0x45312f['viewItem'];if(_0x45312f['modelRange']||Object['assign'](_0x45312f,_0x42b625['convertChildren'](_0x45312f['viewItem'],_0x45312f['modelCursor'])),!_0x42b625['consumable']['test'](_0x5a7078,{'classes':_0x5d0003['className']}))return;const _0xb71feb=Array['from'](_0x45312f['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x3cd449=>_0x370509['checkAttribute'](_0x3cd449,'listItemId'));if(!_0xb71feb['length'])return;_0x42b625['consumable']['consume'](_0x5a7078,{'classes':_0x5d0003['className']}),_0x42b625['consumable']['consume'](_0x5a7078,{'classes':'multi-level-list'}),_0x42b625['consumable']['consume'](_0x5a7078,{'styles':'list-style-type'});const _0x3269f8=_0xb71feb[0x0]['getAttribute']('listIndent');for(const _0x52a187 of _0xb71feb)_0x52a187['getAttribute']('listIndent')==_0x3269f8&&(_0x42b625['writer']['setAttribute']('listType',_0x5d0003['listType'],_0x52a187),_0x42b625['writer']['setAttribute']('listMarkerStyle',_0x5d0003['listMarkerStyle'],_0x52a187));};}function _(_0x3e2aeb,_0x1cddda){const _0x4ba5ee=_0x3e2aeb['t'],t=_0x3e2aeb['t'];switch(_0x1cddda){case'Start\x20at':return _0x4ba5ee('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x4ba5ee('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x4ba5ee('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x4ba5ee('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 _0x1cddda;}}class MultiLevelListView extends _0x4c8f1c{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x3560cd();['keystrokes']=new _0x104f18();['focusables']=new _0x277142();['focusCycler'];constructor(_0x71b0f8,{enabledProperties:_0x26ae98,styleButtonViews:_0x1240b2,styleGridAriaLabel:_0x3b6791}){super(_0x71b0f8);const _0xc55213=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x4ed2d4({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x26ae98['styles']?(this['stylesView']=this['_createStylesView'](_0x1240b2,_0x3b6791),this['children']['add'](this['stylesView'])):_0xc55213['push']('ck-multi-level-list-properties_without-styles'),_0x26ae98['startIndex']&&(this['_addListPropertyViews'](_0x26ae98),_0xc55213['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0xc55213},'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 _0x159e0f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x159e0f['element']);_0x435eb3({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x56e66e['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 _0x53066f=_0x432021=>_0x432021['stopPropagation']();this['keystrokes']['set']('arrowright',_0x53066f),this['keystrokes']['set']('arrowleft',_0x53066f),this['keystrokes']['set']('arrowup',_0x53066f),this['keystrokes']['set']('arrowdown',_0x53066f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x113e3c,_0xe9a128){const _0x149ac2=new _0x4c8f1c(this['locale']);return _0x149ac2['children']=_0x149ac2['createCollection'](),_0x149ac2['children']['addMany'](_0x113e3c),_0x149ac2['setTemplate']({'tag':'div','attributes':{'aria-label':_0xe9a128,'class':['ck','ck-multi-level-list-styles']},'children':_0x149ac2['children']}),_0x149ac2['children']['delegate']('execute')['to'](this),_0x149ac2['focus']=function(){this['children']['first']['focus']();},_0x149ac2['focusTracker']=new _0x3560cd(),_0x149ac2['keystrokes']=new _0x104f18(),_0x149ac2['render'](),_0x149ac2['keystrokes']['listenTo'](_0x149ac2['element']),_0x149ac2;}['_addListPropertyViews'](_0x54aca8){const _0x340c1e=[];_0x54aca8['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x340c1e['push'](this['startIndexFieldView'])),_0x54aca8['styles']?(this['additionalPropertiesCollapsibleView']=new _0x81dff5(this['locale'],_0x340c1e),this['additionalPropertiesCollapsibleView']['set']({'label':_(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x340c1e,'isEnabled',(..._0x4b45e7)=>_0x4b45e7['some'](_0x44c773=>_0x44c773)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x5996cb,_0x4a7091,_0x467ae7)=>{_0x467ae7||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x340c1e);}['_createStartIndexField'](){const _0x23ccc0=new _0x5965f2(this['locale'],_0x123cc6);return _0x23ccc0['set']({'label':_(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x23ccc0['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x23ccc0['fieldView']['on']('input',()=>{const _0x9a854c=_0x23ccc0['fieldView']['element'],_0xef0653=_0x9a854c['valueAsNumber'];Number['isNaN'](_0xef0653)?_0x23ccc0['errorText']=_(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x9a854c['checkValidity']()?this['fire']('listStart',{'startIndex':_0xef0653}):_0x23ccc0['errorText']=_(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x23ccc0;}}class MultiLevelListUI extends _0x54e2a1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x271049=this['editor'];_0x271049['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x9ef9de,parentCommandName:_0x4ed216,buttonLabel:_0x497d90,buttonIcon:_0x3db777,styleGridAriaLabel:_0x4e6449,styleDefinitions:_0xf54752}){const _0xd0b51=_0x9ef9de['commands']['get'](_0x4ed216),_0x233267=_0x9ef9de['config']['get']('list.properties')||{},_0x4e06de=_0x9ef9de['plugins']['has']('ListProperties'),_0x9d09de=_0x233267['startIndex'];if(!_0x4e06de||!_0x9d09de)return _0x1412b1=>{const _0x5dd46e=new _0x260de9(_0x1412b1);return _0x5dd46e['set']({'label':_0x497d90,'icon':_0x3db777,'tooltip':!0x0,'isToggleable':!0x0}),_0x5dd46e['bind']('isOn')['to'](_0xd0b51,'value',_0x3ba315=>!!_0x3ba315),_0x5dd46e['on']('execute',()=>{_0x9ef9de['execute'](_0x4ed216),_0x9ef9de['editing']['view']['focus']();}),_0x5dd46e;};return _0x3e8bbc=>{const _0x444796=_0x10bd32(_0x3e8bbc,_0x2c995f),_0x390b9b=_0x444796['buttonView'];return _0x444796['bind']('isEnabled')['to'](_0xd0b51),_0x444796['class']='ck-list-styles-dropdown',_0x390b9b['on']('execute',()=>{_0x9ef9de['execute'](_0x4ed216),_0x9ef9de['editing']['view']['focus']();}),_0x390b9b['set']({'label':_0x497d90,'icon':_0x3db777,'tooltip':!0x0,'isToggleable':!0x0}),_0x390b9b['bind']('isOn')['to'](_0xd0b51,'value',_0x2db887=>!!_0x2db887),_0x444796['once']('change:isOpen',()=>{const _0x1fed96=function({editor:_0x1d4225,dropdownView:_0x380a8d,styleDefinitions:_0xf14f3e,styleGridAriaLabel:_0x4891ab}){const _0x817b45=_0x1d4225['locale'],_0x14d857=_0x1d4225['config']['get']('list.properties'),_0x199f12=null;_0x14d857['reversed']=!0x1,_0xf14f3e['length']||(_0x14d857['styles']=!0x1);const _0x4e9306=new MultiLevelListView(_0x817b45,{'styleGridAriaLabel':_0x4891ab,'enabledProperties':_0x14d857,'styleButtonViews':_0x199f12});if(_0x14d857['startIndex']){const _0x266a42=_0x1d4225['commands']['get']('listStart');_0x4e9306['startIndexFieldView']['bind']('isEnabled')['to'](_0x266a42),_0x4e9306['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x266a42),_0x4e9306['on']('listStart',(_0x14cdc4,_0x31b04c)=>_0x1d4225['execute']('listStart',_0x31b04c));}return _0x4e9306['delegate']('execute')['to'](_0x380a8d),_0x4e9306;}({'editor':_0x9ef9de,'dropdownView':_0x444796,'styleGridAriaLabel':_0x4e6449,'styleDefinitions':_0xf54752});_0x444796['panelView']['children']['add'](_0x1fed96);}),_0x444796['on']('execute',()=>{_0x9ef9de['editing']['view']['focus']();}),_0x444796;};}({'editor':_0x271049,'parentCommandName':'multiLevelList','buttonLabel':_(_0x271049['locale'],'Multi-level\x20List'),'buttonIcon':_0x51d8b6,'styleGridAriaLabel':_(_0x271049['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x271049['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0xd8f7be=_0x271049['commands']['get']('multiLevelList'),_0x249e2a=new _0x32836d(_0x271049['locale']);return _0x249e2a['set']({'label':_(_0x271049['locale'],'Multi-level\x20List'),'icon':_0x51d8b6}),_0x249e2a['bind']('isEnabled')['to'](_0xd8f7be),_0x249e2a['bind']('isOn')['to'](_0xd8f7be,'value',_0x5d9d65=>!!_0x5d9d65),_0x249e2a['on']('execute',()=>{_0x271049['execute']('multiLevelList'),_0x271049['editing']['view']['focus']();}),_0x249e2a;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x575d7a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x508e35;for(const _0x132f2f in _0x575d7a){const _0x4315e0=_0x132f2f,_0x6cda11=_0x575d7a[_0x4315e0];if('multiLevelListLicenseKeyValid'==_0x6cda11||'multiLevelListLicenseKeyInvalid'==_0x6cda11||'multiLevelListLicenseKeyExpired'==_0x6cda11||'multiLevelListLicenseKeyDomainLimit'==_0x6cda11||'multiLevelListLicenseKeyNotAllowed'==_0x6cda11||'multiLevelListLicenseKeyEvaluationLimit'==_0x6cda11||'multiLevelListLicenseKeyUsageLimit'==_0x6cda11){delete _0x575d7a[_0x4315e0],_0x508e35=_0x6cda11,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x508e35&&_0x575d7a['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x508e35&&_0x575d7a['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x508e35&&_0x575d7a['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x508e35&&_0x575d7a['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x508e35&&_0x575d7a['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x508e35&&_0x575d7a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x54e2a1{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
|
+
"version": "48.2.0-alpha.5",
|
|
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.
|
|
36
|
-
"@ckeditor/ckeditor5-core": "48.2.0-alpha.
|
|
37
|
-
"@ckeditor/ckeditor5-engine": "48.2.0-alpha.
|
|
38
|
-
"@ckeditor/ckeditor5-icons": "48.2.0-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-list": "48.2.0-alpha.
|
|
40
|
-
"@ckeditor/ckeditor5-ui": "48.2.0-alpha.
|
|
41
|
-
"@ckeditor/ckeditor5-utils": "48.2.0-alpha.
|
|
35
|
+
"@ckeditor/ckeditor5-clipboard": "48.2.0-alpha.5",
|
|
36
|
+
"@ckeditor/ckeditor5-core": "48.2.0-alpha.5",
|
|
37
|
+
"@ckeditor/ckeditor5-engine": "48.2.0-alpha.5",
|
|
38
|
+
"@ckeditor/ckeditor5-icons": "48.2.0-alpha.5",
|
|
39
|
+
"@ckeditor/ckeditor5-list": "48.2.0-alpha.5",
|
|
40
|
+
"@ckeditor/ckeditor5-ui": "48.2.0-alpha.5",
|
|
41
|
+
"@ckeditor/ckeditor5-utils": "48.2.0-alpha.5"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"dist",
|